Recall intended route when manually clicking login

Currently, for a non-public BookStack instance, the Authenticate Middleware sets the url.intended session key when accessing any link while not logged in, which tells the login procedure to redirect there after login.
A public BookStack instance will not exhibit this behavior for pages which require additional permissions, as a common 404 is returned (which is the correct thing to do). With these changes, the view at /login recognizes an optional query parameter intended and sets the intended redirect URL when present.
Our use-case is sharing links to a partially public BookStack instance with our team via E-Mail which they currently need to click twice if they are not already logged in.
In the future it may also be useful to redirect a not-logged-in user to the login page with intended set instead of the root when accessing URLs like /settings.

Thank you for providing this pull request @Xiphoseer, and sorry it has taken me a few months to respond. This is now merged to be part of the next patch release.
I made some tweaks in 7f6cbead333415c9ead093827942a0e08116847a, just to add tests & to take the intended URL from the previous page instead of needing to pass as a query param.


HODLER app requires non-obvious permissions

It is not at all obvious to me why does the app require location settings or access to the phone status/identity.
The app should require the least permissions it can work with and if possible ask for user permission when those permissions are actually needed. When I see an app that during installation asks to get all the weird permissions all in one go, I get very cautious and think twice if I want it on my phone.
For example: it would be more user-friendly if the app asked for the permission to take pictures/video only if the user decides to use the QR code scanner - otherwise the permission is not needed and the user should not be bothered.

Good suggestion, thank you


Remove Aaron Lehmann from maintainers file

I want to thank @aaronlehmann for all the contributions he has made this project. He is a big reason this project has been high quality and stable.


added a way to run the app instantly

Hello, we are TeamCode. We have created a Tin application for this app, which help users to quickly run and try the app without installing and configuring the environment. Users don't need to pay for this service. Hope it can help you better promote the app. Thx.

Guidance: https://www.teamcode.com/docs/en-US/tin/clone-tin
This is the entire usage process：
Users click the badge Run in Cloud (teamcode demo).
Sign up first if they have not logged in.
After that, they will be directed to the Clone page and start to build & run this app.

Hi @fangdajiang,
StackEdit is unmaintained and scaffolding another instance looked promising. So I did a quick test:

Did you test the UX of your registration form?
After the registration, I'm redirected to this page:

Problem: Hitting Clone has no effect.

I disabled my browser extensions
Hit Clone again. still nothing.
gave a second look to the page. and stopped there.

Questions:

What is the Tag field about?
I can't alter the Workspace stuff. So I guess I don't need to see this info now.
Why do I get red stars next to CPU and Memory? (users should get more info on hover / in the footer.)

Your service comes with a generous free tier (That's why I'm writing this quick review for free ;)  Maybe you should rethink this div. I did navigate to your pricing page, I guess most users won't).

The doc was not enlightening, sorry
[...]

Hi @fangdajiang,
StackEdit is unmaintained and scaffolding another instance looked promising. So I did a quick test:

Did you test the UX of your registration form?
After the registration, I'm redirected to this page:

Problem: Hitting Clone has no effect.

I disabled my browser extensions
Hit Clone again. still nothing.
gave a second look to the page. and stopped there.

Questions:

What is the Tag field about?
I can't alter the Workspace stuff. So I guess I don't need to see this info now.
Why do I get red stars next to CPU and Memory? (users should get more info on hover / in the footer.)

Your service comes with a generous free tier (That's why I'm writing this quick review for free ;)  Maybe you should rethink this div. I did navigate to your pricing page, I guess most users won't).

The doc was not enlightening, sorry [...]

Thanks for your kind reply. You really gave me precious information and help me to dig more about the page, the whole workflow...
Thank you again.


[BUG] error in grabManifestJsonFromRepository

Not sure when issue started, but now under Obsidian v0.16.0, the following errors are appearing;
error in grabManifestJsonFromRepository for https://raw.githubusercontent.com/Quorafind/Obsidian-Bionic-Reading/HEAD/manifest-beta.json Error: Request failed, status 404
    at new t (app.js:1:722395)
    at Nw (app.js:1:722587)
    at app.js:1:723264
    at app.js:1:235192
    at Object.next (app.js:1:235297)
    at a (app.js:1:234036)

This is same for any plugins added.
Impact seems to be the -beta in the manifest.json filename - all repos listed as failing have a manifest.json, but none have manifest-beta.json

Maybe I have jumped gun - is there supposed to be a manifest-beta.json file?
Am wondering now if this is why some plugins added dont 'work' 😛

no this is a bug, thanks for reporting it. It seems to be something new for sure. but I have a solution. Will be posting today a beta of BRAT, and hopefully posting to public soon.
if you update brat with brat :-), you should get the fix.

How very meta 😀

This is now resolved with 0.6.35 update to BRAT.


UHF-8676 Add components for tpr service

UHF-8676

What was done

Added multiple new paragraphs available for the TPR service node:

Upper content: contact_card_listing, map, event_list
Lower content: text, contact_card_listing, map
Fixed contact card listing paragraph title field from "Job title" -> "Title"

How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-8676_add_components_for_tpr_service

Update the HDBT theme

composer require drupal/hdbt:dev-UHF-8676_add_components_for_tpr_service

Run make drush-updb drush-cr

How to test

[ ] Go to edit a TPR service page.
[ ] Add contact_card_listing, map and event_list paragraphs for the upper content and make sure they work if there is sidebar on the page or not. The layout should look good and the blocks work normally. Notice that you can't have two event_list paragraphs on the same page.
[ ] Add text, contact_card_listing and map paragraphs for the lower content and make sure they work correctly.
[ ] Check that code follows our standards

Other PRs

https://github.com/City-of-Helsinki/drupal-hdbt/pull/731

Codecov Report

Merging #563 (cfb1a0b) into main (7e25a55) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head cfb1a0b differs from pull request most recent head e956f28. Consider uploading reports for the commit e956f28 to get more accurate results

@@            Coverage Diff            @@
##               main     #563   +/-   ##
=========================================
  Coverage     12.74%   12.74%
  Complexity      236      236
=========================================
  Files            30       30
  Lines           902      902
=========================================
  Hits            115      115
  Misses          787      787

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Add pin option to dag.put

Right now you can stick a boolean pin property in the options argument to ipfs.add (and addReadableStream, etc), but there's no equivalent for ipfs.dag.put. This is awkward if you want to selectively pin or not pin your IPLD nodes and amounts to two-step ipfs.dag.put(object, options).then(cid => shouldWePinThis && ipfs.pin.add(cid.toString()) construction.
Not sure if this is the appropriate place to raise this issue but thought I'd bring it up here.

This was implemented in https://github.com/ipfs/js-ipfs/pull/2521


3.3.7 - Issue where most buttons will not work on mobile

I have seen where randomly buttons will not function on mobile depending on their placement within the grid. If the button is wrapped in class input-group-btn it will function in mobile. Have not been able to identify which property of input-group-btn remedies this issue.

If not properly nesting .row .col-x-x you get overlap on mobile devices


some builds are failing because of ntpdate doesnt work on bootstrap1

It seems ntpdate to pool.ntp.org is not working sometimes which is causing the build failures.
I see a solution to run ntpdate on all but bootstrap1 which is the local ntp server for the build or may be we could sync the time with any other internal node (may be httpproxy node?).

what changed that is causing this, what was the symptom? I haven't been seeing this.

I have seen at least 3 times from yesterday and today in different builds - 2 in undercloud builds and one on gates - the symptom is ntpdate (to pool.ntp.org) just dont work on bootstrap and thus ntp.service.consul never get registered in consul which is causing build failures.

resolved via PR, closing.


Type 'string' is not assignable to type 'Rule[]'

Thank you for raising the issue. It is fixed and published in version 1.1.13


warnings from DataFrames.jl with Julia 0.4.0-rc3

I've started getting a lot of warnings in the Travis-CI output for my software from the calls to DataFrames.jl.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/abstractdataframe.jl, in expression starting on line 234
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/abstractdataframe.jl, in expression starting on line 237
WARNING: Base.None is deprecated, use Union{} instead.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl, in expression starting on line 228
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl, in expression starting on line 274
WARNING: Base.Nothing is deprecated, use Void instead.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl, in expression starting on line 680
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl, in expression starting on line 764
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/dataframe/dataframe.jl, in expression starting on line 769
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/groupeddataframe/grouping.jl, in expression starting on line 362
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/groupeddataframe/grouping.jl, in expression starting on line 362
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/join.jl, in expression starting on line 192
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/reshape.jl, in expression starting on line 451
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/reshape.jl, in expression starting on line 452
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.FloatingPoint is deprecated, use AbstractFloat instead.
in anonymous at null:419
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Base.String is deprecated, use AbstractString instead.
in anonymous at /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/show.jl:41
WARNING: Base.String is deprecated, use AbstractString instead.
in anonymous at /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/show.jl:41
WARNING: Base.String is deprecated, use AbstractString instead.
in anonymous at /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/show.jl:41
WARNING: Base.String is deprecated, use AbstractString instead.
in anonymous at /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/show.jl:41
WARNING: Base.String is deprecated, use AbstractString instead.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/sort.jl, in expression starting on line 58
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/sort.jl, in expression starting on line 58
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/sort.jl, in expression starting on line 58
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/abstractdataframe/sort.jl, in expression starting on line 306
WARNING: Base.Nothing is deprecated, use Void instead.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 14
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 14
WARNING: Base.Nothing is deprecated, use Void instead.
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 14
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 14
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 42
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 42
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/formula.jl, in expression starting on line 42
WARNING: Union(args...) is deprecated, use Union{args...} instead.
 in depwarn at deprecated.jl:73
 in call at deprecated.jl:50
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from /home/travis/.julia/v0.4/DataFrames/src/DataFrames.jl:112
 in anonymous at no file:0
 in include at ./boot.jl:261
 in include_from_node1 at ./loading.jl:304
 [inlined code] from none:2
 in anonymous at no file:0
 in process_options at ./client.jl:284
 in _start at ./client.jl:411
while loading /home/travis/.julia/v0.4/DataFrames/src/statsmodels/statsmodel.jl, in expression starting on line 61

Yes, we need a big push to clean this up. I'll try to do it this weekend if no one beats me to it.

Fixed in #872  I think, would be great to push a release soon (before 0.4 final)! :)

If we're all set with the changes merged to DataArrays and DataFrames, anyone who wants to can tag some new releases. I'll try to get to it, but am swamped with other tasks.

As we are nearing the first release candidate of v0.5.0 I will close this issue relate


Add st2chatops

Currently K8s/Helm is missing st2chatops deployment.
Making it Docker and K8s-friendly to read ENV vars outside of st2chatops.env will take some work, (see blocker https://github.com/StackStorm/st2chatops/issues/50).
And so running 1 replica of st2chatops would be doable and nice to have, but having st2chatops in HA is a story for a new dedicated issue and research.

As per documentation, st2chatops can work in HA as a shared component. Trying to the best way to accomplish that, How valid is following a scenario?

Deploy native st2chatops container found here to the cluster.
Setup environment variable st2chatops to communicate with st2.

Any feedback on the feasibility of this approach and/or whether this can be considered as a viable chatops addition to Stackstorm HA.  If we have a positive answer for the above, the next stop is how we can automate this flow using the existing chart to include chatops as well.

https://github.com/afoninsky/stackstorm-chatops-playground
I played with implementing chatops into existing stackstorm kubernetes instance with additional telegram adapter.
As I remember everything worked fine. But can't promise it works for now. Could be a good point to start.

@mosn st2chatops (which relies on hubot) is currently not HA-friendly.
See:

https://www.reddit.com/r/chatops/comments/2qi0cx/how_to_multiplex_hubot_for_ha/
https://www.reddit.com/r/chatops/comments/6irq20/how_to_run_hubot_in_ha_highly_available/
https://github.com/slackapi/hubot-slack/issues/382

What we want to do is just having 1 normally installed instance of st2chatops to have minimal functionality present in K8s deployment.

As for implementation, ideally to start with defining a Dockerfile for st2chatops here: https://github.com/stackstorm/st2-dockerfiles so we can start deploying it to Docker Hub (https://hub.docker.com/u/stackstorm).
st2chatops configuration could be controlled by passing ENV variables to override defaults from https://github.com/StackStorm/st2chatops/blob/master/st2chatops.env.
Once that's done next step would be creating a K8s resource for st2chatops as well as corresponding Helm values for stackstorm-ha (this repo).
We're definitely very open to contributions and happy if someone can work on that before we'll reach this task ourselves :+1:  We'll provide feedback & help along the way.

My approach so far and possibly calls for comments:

using docker-in-docker, I pull st2chatops to create a new image and based on the value provider in values.yaml. This should leave room for further expansion through st2chatops and prevents duplications.

I decided on taking the standalone approach, rather than combining it with the  st2 container. This was one of the pain points I felt first hand after using chatops in production.

My next step:

I see st2chatops as a component similar to st2web. I assume my next step is to look at how st2web is linked to the components it communicates with and replicates that for st2chatops

Things I still haven't figured out:

Whether to expose st2chatops through using ingress or having a loadbalancer with the goal of total isolation.

@mosn
st2chatops is designed to work in standalone mode. That sounds about right if you install only that package without st2. I don't think service/load-balancer is needed for st2chatops as it just connects to ST2 via APIs.
I think docker-to-docker and building st2chatops Docker image every time on runtime (if I understand you correctly) sounds like overcomplication and goes against the immutable approach where result can vary depending on build results.
Ideally is to build and deploy produced st2chatops image to some Docker repository and refer to it in K8s deployment. Passing Hubot adapter & settings via ENV variables like it happens https://github.com/StackStorm/st2chatops/blob/master/st2chatops.env should be good enough.
At this point if you want, you can contribute your st2chatops Dockerfile to: https://github.com/stackstorm/st2-dockerfiles so we can review, provide feedback, merge and potentially start building & shipping it to Docker Hub.

@armab Thank for the info. I will publish my changes as soon as I have it in good shape. I hope the community finding useful.
re. building the image every time, our st2chatop has lots of custom components that we need in our use case. Custom images are needed in our case but definitely not a common one.  |

@mosn Got it.
So in future when we'll have official st2chatops image, you could use FROM stackstorm/st2chatops to build your modified Docker image on top of that + deploy it.
That also means it will be a good idea for us to allow pointing to custom chatops Docker image in Helm values, similar as st2packs:
https://github.com/StackStorm/stackstorm-ha/blob/f7498be460bfc3df50aab75318b1af8f7c05350c/values.yaml#L78-L87

Is there a chatops branch where we can submit progression on this?
There's an example here which is what we tried in our testing. We choose to do go with st2chatops docker image because it offered almost everything out of the box.
I cannot promise for it to work since this was meant for internal use and I had to replace most of the values with what was in the template, But it's a better starting point hopefully. Hope it helps.

I faced following questions while working on this

Should chatops component work as as separate container or Integrated inside the StackStorm as we know it? a good example of this can be seen in custom_pack implementation.
Packaged distributions or ready container:  st2chaops package distribution offers an easy to integrate solutions and reduces deployment step but is more error prone to customization in this environment; On the other hand, building from dockers can take time and is not as straight forward but offers better customization.
values.yaml file: There are a lot of parameters that users need/do not need to watch out for which will impact user experience and ease of use- current values.yaml fine is one of the cleanest I've ever seen. I hope it remains like that post chatops integration :-)

@mosn Sure, as you already created a Github fork with custom changes, just fill a "Work in Progress" PR against this stackstorm/stackstorm-ha repository and we'll provide feedback/help there.

@armab I'd like to take a few moments to reflect on our current progress.
#55 received good feedback that I can use to proceed with the rest of the template files.  I am also testing the implementation in my setup internally with no issues.
st2-dockerfiles # 19 I am blocked here and I would like to hand it over to someone with more experience than me to handle this part. There are lot's of questions but I am sure those are because of my lack of experience in this field and if someone with the right set of skills joins us, we'll have it ready in no time.
Is anyone interested? you are more than welcome to join. If you have questions about the current stage, I'd be happy to answer any questions.

@mosn Based on latest commits, that's a good progress towards official st2chatops implementation in K8s/Helm.
We can return anytime to it as you wish and there is no rush. Someone else could fork it and work further or just provide comments/ideas. Additionally, with time we, per our plans can finally hit this task and commit directly to your branch/fork. The bootstrap you did in that PR is already very helpful.
Overall I think it's all good work and valuable, thank you for doing this :+1:
We can collectively move that into a good state earlier or later.

Biggest unknown for me how to implement the executable in the dockerfile in such way that it works. Cannot get /bin/hubot/ to work due to not incorrect or missing PATH. Following is where I stand currently. (Will update repository later today)

installing st2chatops was independent docker container without dependency to st2chatops.env
deploying stackstorm charts  with the st2chaops  container on top.
this is where ctaopd pod keeps crashing because of not finding the exec command.

I discussed this matter with the community and we concluded staying with the original plan is the right approach. If that’s the case It would be great if we can find support on following

In light of the new setup where the st2chatops.env is no longer needed to exists in the docker container, what’s a practical  to pass around these values.

Given that we do not want to have a separate entry point for the st2chatops, what is  the best approach towards container  initialization.

on the helm side of things, are there dependencies for st2chatops that we must know of.

Sent from my iPhone

On 28. Mar 2019, at 17:42, Eugen C<EMAIL_ADDRESS>wrote:
@mosn Based on latest commits, that's a good progress towards official st2chatops implementation in K8s/Helm.
We can return anytime to it as you wish and there is no rush. Someone else could fork it and work further or just provide comments/ideas. Additionally, with time we, per our plans can finally hit this task and commit directly to your branch/fork. The bootstrap you did in that PR is already very helpful.
Overall I think it's all good work and valuable, thank you for doing this 👍
We can collectively move that into a good state earlier or later.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@mosn Based on latest commits, that's good progress towards official st2chatops implementation in K8s/Helm.
We can return anytime to it as you wish and there is no rush. Someone else could fork it and work further or just provide comments/ideas. Additionally, with time we, per our plans can finally hit this task and commit directly to your branch/fork. The bootstrap you did in that PR is already very helpful.
Overall I think it's all good work and valuable, thank you for doing this 👍
We can collectively move that into a good state earlier or later.

Absolutely! I'll try to open source as much as I can on our implementation but I am experimenting with Terraform to see if that can make it bit uncluttered for us.
I was working on #6  with auto-DNS and cert-manager  but really I still find myself wondering if there's anything to add to help unclutter things. It all boils down on the scale and who StackStrom is good for. a well-automized cluster can really contribute to that image but that's a huge challenge that's not easy to overlook.


IDP: allow using cs3 api to authenticate users

The IDP now directly authenticates users using the CS3 API instead of LDAP.

Do we have any documentation relevant changes?

@rhafer changed back to ldap backend by default
@mmattel added a few desc: for the idp, no relevant changes as we stay with ldap for now. I'll submut a PR to update the docs for a parallel deployment.

:boom: Acceptance test Core-API-Tests-ocis-storage-7 failed. Further test are cancelled...


Always Logged in on Web UI

Maybe I just didn't notice it in earlier releases, but it seems like once I upgraded to v1.5.2 I have remained logged in to the web ui. I've tested this on Chrome and Firefox with the same result. I can close my browser and even restart my computer, but I remain logged in. I do, however, land on the login page when I first navigate to the URL, but everything else appears the same (admin access to everything and the option to log out). The only way I can actually log out is to click log out. It seems to me like this shouldn't be happening, so maybe it is user error or just expected behavior for this platform?
Currently, I have LOGIN_REQUIRED = True, but I did have it set to False for a period of time. I started noticing this behavior while login was not required, so I set it back to True, sudo supervisorctl restart netbox, no change in behavior.

Not sure I understand the problem. The authentication cookie issued upon login is valid for 15 days; you will continue to stay logged in across browser restarts until the cookie expires or you log out manually.

Fair enough. If that is the expected behavior, there is no problem then.


Support installing dotnet runtime and SDK using package manager on non-x64 systems.

Is possible make dotnet-runtime and dotnet-sdk packages (deb) availaible for non-x64 architectures like arm64 and armhf?
According to https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian (or the same page for Ubuntu), there are restriction

Package manager installs are only supported on the x64 architecture. Other architectures, such as ARM, must manually install the .NET Core SDK or .NET Core Runtime. For more information, see the manually install section.

What is reason for that restriction? Is possible to make dotnet availabile for install on non-x64 systems? Repositories looks like they supports other platforms but dotnet packages is not present for that platforms. Installing using package manager has lot of advantages including simplified updates which brings more security to hosting dotnet apps.

It is possible, it's just a matter of development time now. ARM64 is tracked by https://github.com/dotnet/runtime/issues/3298, and armhf ("ARM32") is tracked by https://github.com/dotnet/runtime/issues/3263.

Closing: this is covered by https://github.com/dotnet/runtime/issues/3298 / https://github.com/dotnet/runtime/issues/3263.


please see if the reward values are correct

We got the below results of reward after training rl model
And rl+llm model (we used llama instead of gpt 4 as u suggested)
Here it executed until 41 step and finally got the reward when training with llm but it accepted every decision of rl considering it as reasonable always
But the reward reduced from
-187165.8(rl) to -2.29(rl+llm).
Is the reward we getting is correct?
And also how do we get the mean travel time, mean waiting time and mean speed values?

The final output of the program is the cumulative reward, so I believe the value of -2.29 is problematic. Regarding the training, the code I provided does not incorporate the large model into the training process. The idea behind this code is to first train the reinforcement learning (RL) model, and then, during usage, attach the large language model (LLM). In other words, you need to train the RL model weights first and then combine the trained RL model with the LLM.


Esaggese's updates to the Data workshop materials

Finished updates and review (incl. spelling and consistency with spreadsheet)


Duplicate policy and role names can be used

This is seemingly a limitation from the API, if multiple policy or role resources are created with the same name argument, the provider executes the commands so quickly multiple policies and roles with the same name will exist.

yes this is a api issue, we are addressing it internally.


Data Preparation of Step2 Tokenization

Thank you very much for sharing all the codes on your brilliant work.
I would like to replicate the result by using the below dataset in hugginface.

The resulting synthetic data will be saved in data/dataset/raw/quality_entigraph_gpt-4-turbo/. We release the generated synthetic data at https://huggingface.co/datasets/zitongyang/entigraph-quality-corpus.

I copied the above (parquet files) in data/dataset/raw/quality_entigraph_gpt-4-turbo/ and run the following commands.

mkdir -p data/dataset/bins/
python data/tokenize_entigraph.py

I have got the following error messages:
Writing to data/dataset/bins/quality_all-entigraphgpt-4-turbo.bin with length 0
Traceback (most recent call last):
  File "/Workspace/Users/<user>/Synthetic_Continued_Pretraining/data/tokenize_entigraph.py", line 59, in <module>
    tokenize_quality_graph('gpt-4-turbo')
  File "/Workspace/Users/<user>/Synthetic_Continued_Pretraining/data/tokenize_entigraph.py", line 55, in tokenize_quality_graph
    write_to_memmap_single(tokenize_list(quality), f'quality_all-entigraph{model_name}.bin')
  File "/Workspace/Users/<user>/Synthetic_Continued_Pretraining/data/tokenize_entigraph.py", line 38, in write_to_memmap_single
    arr = np.memmap(filename, dtype=dtype, mode='w+', shape=(arr_len,))
  File "/databricks/python/lib/python3.10/site-packages/numpy/core/memmap.py", line 267, in __new__
    mm = mmap.mmap(fid.fileno(), bytes, access=acc, offset=start)
ValueError: cannot mmap an empty file

It looks like we need the input files in json format. Is it correct?
If so, could you tell me how to convert the parquet file to json format?

Hi,
Yes, the huggingface format is not in json format. We briefly describe huggingface format here
https://huggingface.co/datasets/zitongyang/entigraph-quality-corpus/blob/main/README.md?code=true#L55.
To convert the huggingface format:

Create a json file for each article with the name <article_uid>.json
In each json file, we have a list. The 0-th element of the list is the entity field of the huggingface dataset, separated by the <|entityseptoekn|> token.
The rest elements of the list are from the entigraph field of the huggingface dataset, separated by the <\|entigraphseptoekn\|> token.

I hope this helps!

Thanks!


[AutoPR] graphrbac/data-plane

Created to accumulate context: graphrbac/data-plane

Closing PRs that have been open for more than 1 month.


Changing Config file properties

Hello,
I have been trying to train an image segmentation neural network with your library. To increase precision I'm using pointrend as well. My present accuracy is generally good but still objects borders are not detected properly. Some images are below:

As can be seen card edges are not straight with those images. Moreover in the first image, mask is restricted with the bounding box. So I have been trying to fine tune config file to increase precision. My current config file is as below:
_base_ = '../point_rend/point_rend_r50_caffe_fpn_mstrain_1x_coco_downloaded.py'
model = dict(
    backbone=dict(
        depth=101,
        init_cfg=dict(type='Pretrained',
                      checkpoint='torchvision://resnet101')),
    roi_head=dict(
        bbox_head=dict(
            num_classes=1,
        ),
        mask_head=dict(
            num_classes=1,
            loss_mask=dict(
                type='CrossEntropyLoss', use_mask=True, loss_weight=1.1)),
        point_head=dict(
            num_classes=1,
            loss_point=dict(
                type='CrossEntropyLoss', use_mask=True, loss_weight=1.1))),
    test_cfg=dict(
        rpn=dict(
            nms_pre=1000,
            max_per_img=100,
            nms=dict(type='nms', iou_threshold=0.7),
            min_bbox_size=0),
        rcnn=dict(
            score_thr=0.05,
            nms=dict(type='nms', iou_threshold=0.5),
            max_per_img=10,
            mask_thr_binary=0.5,
            subdivision_steps=5,
            subdivision_num_points=784,
            scale_factor=2))
)

dataset_type = 'COCODataset'
classes = ('card',)
log_config = dict(interval=4)
checkpoint_config = dict(interval=10)
runner = dict(type='EpochBasedRunner', max_epochs=64)

# optimizer = dict(type='Adam', lr=0.0002, weight_decay=0.0001)
optimizer = dict(lr=0.0002, weight_decay=0.0001)
optimizer_config = dict(grad_clip=None)

data = dict(
    samples_per_gpu=1,
    workers_per_gpu=1,
    train=dict(
        img_prefix='data/base_set/training/',
        classes=classes,
        ann_file='data/base_set/training/training_labels.json'),
    test=dict(
        img_prefix='data/base_set/testing/',
        classes=classes,
        ann_file='data/base_set/testing/testing_labels.json'),
    val=dict(
        img_prefix='data/base_set/testing/',
        classes=classes,
        ann_file='data/base_set/testing/testing_labels.json'),
    # val=dict(
    #     img_prefix='data/base_set/validation/',
    #     classes=classes,
    #     ann_file='data/base_set/validation/val_labels.json'),
)

load_from = 'checkpoints/point_rend_r50_caffe_fpn_mstrain_1x_coco-1bcb5fb4.pth'

So I have two questions:

By changing which config properties I can increase precision?
When I try to change for instance size of in_channels or out_channels, I always encounter shape mismatch errors. I try to change other layers channels size to match subsequent layers size but always fail. So to change such channel sizes, which document or reference can I check to see which other properties I shall change to prevent size mismatch errors?

Best wishes,

You may try to use AdamW as optimizer, which may help you increase the performance. Also, learning rate, batch size, weight decay may increase the precision.
For the second question, you may have a look at the https://github.com/open-mmlab/mmdetection/blob/master/docs/en/tutorials/config.md. in and out channels may also change in other blocks(e.g. if you want to change the in_channel in head, you may also need to change in neck)


Build app into image and load on boot

This commit builds the app into the image and introduces a service to run (and keep running) it.
Fixes https://github.com/dp0/arachne/issues/10

This was tested by building the image and booting up. The app starts automatically as expected, but it should be noted that it doesn't stay on top (some windows that start up are on top of the app), so this will need to be fixed: https://github.com/dp0/arachne/issues/14 has been raised for this


Correction to the year on the FL entry for Dec. 14 (2010 -> 2020)

Correction to a small typo in the year field (2010 -> 2020) for FL data from Dec. 14

Hello @wadefagen! We corrected the typo, thanks for the help.


[HUDI-6893] Copy the trino bundle to override the one in the image

Change Logs
Copy the trino bundle at run time so that locally built bundle overrides the one that is present in the image.
Impact
Docker-based integ test to use snapshot version of hudi-trino-bundle.
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@codope Thanks for the fix!
Apply the fix and rebuild trinobase and trinocoordinator.
Start the containers with local build image:
docker/setup_demo.sh dev
Confirmed that the new jar are used:
root@trino-coordinator-1:/usr/local/trino-server-368# md5sum plugin/hive/hudi-trino-bundle.jar
63525185e836e22d0012ab6e72a3089a  plugin/hive/hudi-trino-bundle.jar

(base) hui.an@mac hudi-community % md5 docker/hoodie/hadoop/trinobase/target/hudi-trino-bundle.jar
MD5 (docker/hoodie/hadoop/trinobase/target/hudi-trino-bundle.jar) = 63525185e836e22d0012ab6e72a3089a

After I changed the hudi-trino-bundle.jar under docker/hoodie/hadoop/trinobase/target/, and restart the image, the jar can still matched:
root@trino-coordinator-1:/usr/local/trino-server-368# md5sum plugin/hive/hudi-trino-bundle.jar
8abf85f098e69fd1eaa96333392032c7  plugin/hive/hudi-trino-bundle.jar

(base) hui.an@mac hudi-community % md5 docker/hoodie/hadoop/trinobase/target/hudi-trino-bundle.jar
MD5 (docker/hoodie/hadoop/trinobase/target/hudi-trino-bundle.jar) = 8abf85f098e69fd1eaa96333392032c7

Thanks @boneanxs. I was missing the dev option while running setup_demo.sh. I will update the image in the dockerhub and land this PR soon. Then you can rebase your PR.


First steps as tutorial. Data Sources sub-section done

First steps" is now a tutorial that walks them through the code by doing and then explains what the
code did while making sure that they are exposed to enough CliMetLab APIs that they start to get
comfortable and ready to use it.
It assumes not prior knowledge from the reader except basic Python programming.
E.g. reader doesn't have to know about GRIB or NetCDF format.
Have not taken away any of previous content. Only modified and added new.
Your feedback and request for modifications are most welcome!
PS:

I pushed the CSV download example to the middle instead of start because it is 34 MB file and takes a
while to download on a slower network (like mine). So a new reader can easily get distracted in the meantime

Removed the links to example notebooks (they were giving 404 anyway) in the table of Data Sources section.
As this can overwhelm the new user who is just getting started, with so many links to follow and read.

Tried to incorporate some important lessons from What nobody tells you about documentation

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi Florian, I've made changes as you suggested. Please feel free to let me know if something else needs to be modified.
In the case of link to test.grib files from ECMWF servers, there was an error, so I didn't change those links.


Fix bookmark component in menu mode

this came up in https://github.com/boundlessgeo/qgis-webappbuilder-plugin/issues/254
@wnordmann looks like the css gets applied in menu mode as well, which can't be your intention in the rewrite probably, so I changed the css class
I also changed the button implementation to get rid of a warning about iconStyle on div

Coverage decreased (-0.07%) to 70.589% when pulling 9911e663b8ac58bcff74a2e5f765c9f3db5e7151 on bookmark-menu-fix into ed24b4c24f8530476a57c48614263b6d2f4c6f39 on master.


Doesn't work

Describe the bug
Install the extension, open a vlang project, it shows this error:
Connection to server got closed. Server will not be restarted.
Expected Behavior
Being able to use the extension in vscode
Current Behavior
when installed and opened a vlang project, just doesnt work, the error messages I have are:
signal 11: segmentation fault
0x7f430651b61c | /lib/x86_64-linux-gnu/libc.so.6(+0x10961c)
[Error - 5:11:53 PM] Connection to server got closed. Server will not be restarted.

Reproduction Steps
Open vscode, install the extension, open a vlang project
Possible Solution
No response
Additional Information/Context
O.S.: Debian 12
Vlang version: V 0.4.2 561fd94
Environment details (v doctor output)
V full version: V 0.4.2 561fd94
OS: linux, Debian GNU/Linux 12 (bookworm)
Processor: 6 cpus, 64bit, little endian, Intel(R) Core(TM) i5-8400 CPU @ 2.80GHz
getwd: /home/{user}/dev/projects/vlang
vexe: /opt/v/v
vexe mtime: 2023-10-20 18:45:08
vroot: OK, value: /opt/v
VMODULES: OK, value: /home/{user}/.vmodules
VTMP: OK, value: /tmp/v_1000
Git version: git version 2.39.2
Git vroot status: weekly.2023.42-18-g561fd947
.git/config present: true
CC version: cc (Debian 12.2.0-14) 12.2.0
thirdparty/tcc status: thirdparty-linux-amd64 12f392c3
Editor name
vscode
v-analyzer Version
v-analyzer version: 0.0.1-beta.1
VS Code Extension Version
v0.0.2

There is a new release https://github.com/v-analyzer/v-analyzer/releases/tag/0.0.3-beta.1 .
@enzonun can you please try it, and see if it will work for you now?


dashboard: don't enable buttons that would fail

With gamma users saving the dashboard model would fail if they
are not owner of the dashboard.
So just disable the "Add a new slice to the dashboard" and "Save
the current positioning and CSS" so just keep them disabled.
Refs #359

Coverage decreased (-0.1%) to 81.349% when pulling e9cc186d63321b356f4c71e8a1a28ed6aedcc67c on xrmx:disablebuttons into 7c810dbd20ef394c073ec78c0c46380f471fff4d on airbnb:master.

Coverage decreased (-0.1%) to 81.379% when pulling 5b8fd8593ab02220c2c6351b682e5bd45a8e5be4 on xrmx:disablebuttons into 7c810dbd20ef394c073ec78c0c46380f471fff4d on airbnb:master.


[Bug] [Alert] The Alarm Failure policy does not trigger sending an alarm

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened

What you expected to happen
Timeout failures can trigger an alarm
How to reproduce

Configure timeout failure alarms
Check whether the alert table is logged

Anything else
No response
Version
[dev](dev: ds3.1.0-prepare)
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@SbloodyS @welsh-wen  first , Have you configured an alert group? second , is duplicate with  #11751  ?

@SbloodyS @welsh-wen first , Have you configured an alert group? second , is duplicate with #11751 ?

Not actually. #11751 targets the implementation of parameter passing across tasks. See Pass Parameter From Upstream Task to Downstream section: https://dolphinscheduler.apache.org/en-us/docs/latest/user_doc/guide/parameter/context.html

@welsh-wen Could you please provide a screenshot of how your set the alert for your workflow? As well as the log of your alert server. Thanks : )


Ropro plus server filters not working

When I try to use any ropro plus server filters, (Best connection, server region, etc) it doesn't show the servers I chose. For example, if I select my server region to be in Mumbai India then click on the dot for that region, it will not show any servers. Here are some screenshots.

Duplicate of #31


Update DailyOptions Model

At the Moment it's not possible to approve or mark a time entry as invoiced. According to the following page (http://help.getharvest.com/api/timesheets-api/timesheets/adding-updating-time/), it should be a really small change: to the UpdateDaily Method and DailyOptions Model.
Can you add that  functionality?

I'm looking at that page and it looks like it the update method only supports the following fields:
<request>
  <notes>New notes.</notes>
  <hours>1.07</hours>
  <spent_at type="date">Tue, 17 Oct 2016</spent_at>
  <project_id>52234</project_id>
  <task_id>67567</task_id>
</request>

We already have all these in the DailyOptions class


Debugger attached. Waiting for the debugger to disconnect

Issue Type: Bug
Write any simple nodeJS program, and put a debugger statement or a breakpoint anywhere, and debug -> click the Launch Program button..
This worked for some time, and then it just doesn't work. Restarting machine, reinstalling VS Code didnt help
VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4710HQ CPU @ 2.50GHz (8 x 2494)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
7.91GB (3.66GB free)

Process Argv
C:\Users\Renu\AppData\Local\Programs\Microsoft VS Code\Code.exe

Screen Reader
no

VM
0%

Extensions: none

it's not really covered anywhere. I will switch to Sublime Text until this is addressed and fixed.

Very frustrating!!!!  I'm still getting this issue even after updating to version 1.30.1.  All vscodebot robot does is refer you to previously unresolved and closed issues.

I can not reproduce.
Please file with exact reproducable steps please. For example post a minimal GitHub sample repo for which you can reproduce this

Thanks I'll figured it out. I had to manually add code to a launch.json
file; what a shame, I'd've thought VS would do it for you automatically.
On Thu, Dec 27, 2018, 8:47 AM Isidor Nikolic<EMAIL_ADDRESS>wrote:

I can not reproduce.
Please file with exact reproducable steps please. For example post a
minimal GitHub sample repo for which you can reproduce this
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/60022#issuecomment-450105966,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQbxNaz1QoP-1iViyOqeLhEhYhQqLSRBks5u9IksgaJpZM4XKF4a
.

Will reopen this issue once somebody provides exact steps


Script Based Tokenizer

Title: Script Based Tokenizer
Start Date: 2020-10-27

Tokenizer's principal role is to split documents into words (tokens) so each document can be indexed by it's contained words. It is also needed to split a search a query into token, and search on the work index.

Implemented by https://github.com/meilisearch/MeiliSearch/pull/1091


Fix normal/capped collection tests

Previously, the capped collection document was never used. This also revises both tests to assign mapped fields on the documents for consistency.
Just fixing something I noticed while investigating https://github.com/doctrine/mongodb-odm/issues/1745.

Thanks @jmikola!


Selected dates only showing after I click a date

Here is my situation I have a 5 months on the page, and each points to the same array of selected dates (coming from the DB, ones that have already been selcted).  But the Calendar shows up normal, nothing is selected.  I also have the weekends set to off.  If I select a date, all of the dates in the array display properly and then the weekend dates turn off....  but I would think they should start that way.  Here is my relevant code...
<multiple-date-picker month="item"
                      week-days-off="[0, 6]"
                      disallow-back-past-months="true"
                      disallow-go-futur-months="true"
                      ng-model="mmc.selectedDates"
                      sunday-first-day="true">
</multiple-date-picker>

item is the first day of the month, this block is a repeater for X number of months.  In my code, the dates are selected, we show the months and populate the dates like this...
    this.selectedDates = new Array<moment.Moment>();
    for (var x of this.menuAssign.SpecificDates) {
        this.selectedDates.push(moment(x));
    }

It is correctly populated.  The calender displays blank, lets say I have 4 dates in the selected array.  If I select any other date.. those 4 automatically show up as selected, and the weekends turn off.. but it should display that way on first display....

If I try your piece of code on my demo page, it's working well.
Can you provide a working jsfiddle showing your problem ?
Are you using a angular beta version ?

Another point, you should use disableNavigation instead of disallowBackPastMonths and disallowGoFuturMonths to disable navigation properly, or you'll be able to navigate in calendars until you are on current month

Actually, I noticed I was 3 or 4 minor versions behind, so I upgraded and that solved the problem.  I noticed it because one of the other issues mentioned the disableNavigation property and I thought.. hmm that's not in my version...  Thanks for the quick response.

You are welcome, we add similar issue this week :)


Received NPE when configuring a single Filename (i.e. target/myapp.war)

This change enables users to configure URL's, Directories and Single Filenames as well. Configuration of a single filename resulted in a nasty NPE in the Logs and no deployment happened. I have added a Testcase to make sure the deployments are found in the future and a reference to powermock, because the method in question was findDeployments which was declared as private. If you are happy with the change, please accept the PR.
Buddy

:thumbsup:


Fixes OLM template for configmap

Updates the olm template to use strings instead of integers.

Codecov Report

Merging #686 (5b78c56) into master (f7c4b87) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #686   +/-   ##
=======================================
  Coverage   31.00%   31.00%
=======================================
  Files          48       48
  Lines        5200     5200
=======================================
  Hits         1612     1612
  Misses       3473     3473
  Partials      115      115

/lgtm


Draft: Rename @allow_skipped built-in tag to @allow.skipped

Synopsis
For now, fixes from gherkin 0.11.1 are tested only inside gherkin crate.
Solution
Test those fixes here too, as this crate ha more robust test suit.
Checklist

Created PR:

[x] In draft mode
[x] Name contains Draft:  prefix
[x] Name contains issue reference
[x] Has assignee

[x] Documentation is updated (if required)
[x] Tests are updated (if required)
[x] Changes conform code style
[x] CHANGELOG entry is added (if required)
[ ] FCM (final commit message) is posted

[ ] and approved

[ ] Review is completed and changes are approved
Before merge:

[ ] Milestone is set
[ ] PR's name and description are correct and up-to-date
[ ] Draft:  prefix is removed
[ ] All temporary labels are removed

@ilslv 0.11.1 released.

FCM
Rename `@allow_skipped` built-in tag to<EMAIL_ADDRESS>(#181)

- cover `gherkin` `0.11.1` fixes with tests


Is it possible to leave a group?

I'd like to see if I can make my bot leave certain groups and super groups based on their chat.id
I see that it is somehow available in the telegram API this feature, but I can't seem to find it in this lib. Is it already implemented? will it be?
Thanks

@jaimehrubiks They are not implemented yet. But keep an eye on this PR https://github.com/yagop/node-telegram-bot-api/pull/158. It implements some of the new API methods (but not leaveChat, yet).

https://www.npmjs.com/package/node-telegram-bot-api-latest

PR was merged in. See TelegramBot#leaveChat().


Can't install push-jobs-client on CentOS 6

Cookbook version
3.3.0
Chef-client version
12.17.44
Platform Details
CentOS 6.8 64bit
Scenario:
Trying to install and run push-jobs-client
Steps to Reproduce:
Run the push-jobs cookbook on the server and attempt to install push-jobs
Expected Result:
Expecting to install and run push-jobs client.
Actual Result:
The rpm installs but the runit files and symlinks in /etc/service/ and /etc/sv are not being created thus push-jobs-client fails to start:
     ESC[31mError executing action `start` on resource 'push_jobs_service_runit[push-jobs]'ESC[0m
     ================================================================================ESC[0m

 ESC[0m    Mixlib::ShellOut::ShellCommandFailedESC[0m
     ------------------------------------ESC[0m
     runit_service[opscode-push-jobs-client] (/var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb line 72) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0, 100], but received '1'
 ESC[0m    ---- Begin output of /sbin/sv status /etc/service/opscode-push-jobs-client ----
 ESC[0m    STDOUT: fail: /etc/service/opscode-push-jobs-client: unable to change to service directory: file does not exist
 ESC[0m    STDERR:
 ESC[0m    ---- End output of /sbin/sv status /etc/service/opscode-push-jobs-client ----
 ESC[0m    Ran /sbin/sv status /etc/service/opscode-push-jobs-client returned 1ESC[0m

 ESC[0m    Cookbook Trace:ESC[0m
     ---------------ESC[0m
     /var/chef/cache/cookbooks/runit/libraries/helpers.rb:162:in `safe_sv_shellout'
 ESC[0m    /var/chef/cache/cookbooks/runit/libraries/helpers.rb:97:in `running?'
 ESC[0m    /var/chef/cache/cookbooks/runit/libraries/provider_runit_service.rb:343:in `block in <class:RunitService>'ESC[0m

 ESC[0m    Resource Declaration:ESC[0m
     ---------------------ESC[0m
     # In /var/chef/cache/cookbooks/push-jobs/recipes/service.rb
 ESC[0m
 ESC[0m     29:   push_jobs_service 'push-jobs' do
 ESC[0m     30:     action [:start, :enable]
 ESC[0m     31:     subscribes :restart, "template[#{PushJobsHelper.config_path}]"
 ESC[0m     32:   end
 ESC[0m     33: end
 ESC[0m
 ESC[0m    Compiled Resource:ESC[0m
     ------------------ESC[0m
     # Declared in /var/chef/cache/cookbooks/push-jobs/recipes/service.rb:29:in `from_file'
 ESC[0m
 ESC[0m    push_jobs_service_runit("push-jobs") do
 ESC[0m      action [:start, :enable]
 ESC[0m      retries 0
 ESC[0m      retry_delay 2
 ESC[0m      default_guard_interpreter :default
 ESC[0m      declared_type :push_jobs_service
 ESC[0m      cookbook_name "push-jobs"
 ESC[0m      recipe_name "service"
 ESC[0m    end
 ESC[0m
 ESC[0m    Platform:ESC[0m
     ---------ESC[0m
     x86_64-linuxESC[0m

 ESC[0mESC[0m
 Running handlers:ESC[0m
 [2017-01-14T00:18:58+11:00] ERROR: Running exception handlers
 Running handlers complete
 ESC[0m[2017-01-14T00:18:58+11:00] ERROR: Exception handlers complete
 Chef Client failed. 3 resources updated in 46 secondsESC[0m

FWIW it looks like Debian 7 is having very similar problems: https://travis-ci.org/chef-cookbooks/push-jobs/jobs/187770811

jessebolson, any luck fixing this?
Please let me know
Thanks

@izghitu No luck yet. I'm going to hold off on writing my own cookbook for now (until Chef responds), but if that isn't done soon I'll fork this for RHEL6/7 and let you know.

@jessebolson still no luck?

Hey folks,
Apologies in the delay in responding to this issue. What version of push-jobs are you installing?

@iennae it was latest version at that time, 2.something

@iennae is there any testing that you need done? I'll be in the office soon and can get you whatever. Information would be helpful.
@izghitu sorry for the radio silence! I must have missed your response. I just whipped up a quick bash script that does the install, I can get that to you if you're still interested.

@jessebolson yes, please, I am still interested. Thanks in advance

Any additional information would be helpful @jessebolson. I'm working on getting this working for folks and trying to understand what is broken. There was a missing version attribute for travis which is why the build was failing before.

@izghitu @iennae
This is all that I had to do to get this working. I am using the latest version of push-jobs. It looks like there is some weird directory munging going on.
#!/bin/bash

mkdir /etc/sv
mkdir /etc/service

ln -s /etc/sv/chef-push-jobs-client/ /etc/sv/opscode-push-jobs-client
ln -s /etc/service/chef-push-jobs-client /etc/service/opscode-push-jobs-client

chef-client -o push-jobs

Please take a look at version 5.0.0 of this cookbook. I've added a new sysvinit resource. The init script needs additional polishing but this should get push jobs installed on centos 6.

@jessebolson @iennae sorry for the delays, I was no longer able to reproduce the same results and am getting this instead:
<IP_ADDRESS>     ================================================================================
<IP_ADDRESS>     Error executing action `start` on resource 'push_jobs_service_runit[push-jobs]'
<IP_ADDRESS>     ================================================================================
<IP_ADDRESS>
<IP_ADDRESS>     RuntimeError
<IP_ADDRESS>     ------------
<IP_ADDRESS>     No info for version '2.2.0'
<IP_ADDRESS>
<IP_ADDRESS>     Cookbook Trace:
<IP_ADDRESS>     ---------------
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/libraries/helpers.rb:55:in `family_by_version'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/libraries/helpers.rb:43:in `names_by_version'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/libraries/helpers.rb:69:in `linux_install_path'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/libraries/helpers.rb:137:in `cli_command'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:88:in `block in create_init'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:87:in `create_init'
<IP_ADDRESS>     /var/chef/cache/cookbooks/push-jobs/resources/service_runit.rb:26:in `block in class_from_file'
<IP_ADDRESS>
<IP_ADDRESS>     Resource Declaration:
<IP_ADDRESS>     ---------------------
<IP_ADDRESS>     # In /var/chef/cache/cookbooks/push-jobs/recipes/service.rb
<IP_ADDRESS>
<IP_ADDRESS>      29:   push_jobs_service 'push-jobs' do
<IP_ADDRESS>      30:     action [:start, :enable]
<IP_ADDRESS>      31:     subscribes :restart, "template[#{PushJobsHelper.config_path}]"
<IP_ADDRESS>      32:   end
<IP_ADDRESS>      33: end
<IP_ADDRESS>
<IP_ADDRESS>     Compiled Resource:
<IP_ADDRESS>     ------------------
<IP_ADDRESS>     # Declared in /var/chef/cache/cookbooks/push-jobs/recipes/service.rb:29:in `from_file'
<IP_ADDRESS>
<IP_ADDRESS>     push_jobs_service_runit("push-jobs") do
<IP_ADDRESS>       action [:start, :enable]
<IP_ADDRESS>       retries 0
<IP_ADDRESS>       retry_delay 2
<IP_ADDRESS>       default_guard_interpreter :default
<IP_ADDRESS>       declared_type :push_jobs_service
<IP_ADDRESS>       cookbook_name "push-jobs"
<IP_ADDRESS>       recipe_name "service"
<IP_ADDRESS>     end
<IP_ADDRESS>
<IP_ADDRESS>     Platform:
<IP_ADDRESS>     ---------
<IP_ADDRESS>     x86_64-linux

I then updated all the cookbooks to the latest and still getting same error.

@izghitu I haven't touched the runit aspect of this cookbook. Can you provide more information about how you are using the cookbook? By default it should be using the sysvinit resource.

@iennae by default it always used runit for me.
I just use this in my cookbook:
include_recipe 'push-jobs'
It then automatically tries to install runit, it has always done so and it was always working. It stopped working starting with the 3.3.0 version of the push-jobs cookbook.

^ same issue here, CentOS/6 resolves to runit.

Please use push-jobs cookbook version 5.1.1. Issue is fixed in https://github.com/chef-cookbooks/push-jobs/pull/124

Fixed as stated above, if not we can open a new issue.


docker extension fails to load if expanded on startup

clone the vscode-docker extension
git clone https://github.com/microsoft/vscode-docker
cd vscode-docker && npm install && vsce package
code-insiders --install-extension vscode-docker-0.0.21.vsix

start vs code
expand the docker sash, note you can see "images", "containers", and "registries"
close VS Code
open VS code
note that the docker explorer is empty
click on refresh on the docker sash, get an error that the command is not found
open chrome dev tools, extension host shows an error that this._state.then is not a function...

@sandy081 maybe a 1.18 candidate?

@chrisdias Is this the issue you were mentioning yesterday?
I am not able to reproduce this on latest insiders after following the steps you mentioned. If you are seeing this issue, we can do screen share and investigate.


hi, I want make this

I want make this , this app is VN on App store , How to make this UI ?

You can use CustomPaint widget and GestureDetector for creating this UI. I have a similar implementation in my package, you can take inspiration from that. You can also use my package and make modifications in that to achieve this UI, as this is quite similar to it.

Hi , I set viewerWidth  in
TrimEditor
but I can't edit
------------------ 原始邮件 ------------------
发件人: "Souvik<EMAIL_ADDRESS>发送时间: 2020年5月12日(星期二) 下午4:05
收件人<EMAIL_ADDRESS>抄送: "James<EMAIL_ADDRESS><EMAIL_ADDRESS>主题: Re: [sbis04/video_trimmer] hi, I want make this  (#4)
You can use CustomPaint widget and GestureDetector for creating this UI. I have a similar implementation in my package, you can take inspiration from that. You can also use my package and make modifications in that to achieve this UI, as this is quite similar to it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Currently, the package does not allow you to specify a maximum output video length. I already have this functionality in the list for an upcoming improvement and working on it.

Please, is there any update on this? It's been almost 2 months, we need this feature.

Currently, the package does not allow you to specify a maximum output video length. I already have this functionality in the list for an upcoming improvement and working on it.

If there isn't a limit for maximum output video length then this package isn't useful for most people trying to trim videos especially for an instant messaging app wherein videos have to be trimmed to predetermined maximum. I don't think this is an incredibly hard feature to role out.  I'm looking at the trim_editor.dart where the code has to be written, but I don't have knowledge of how _endPos and _videoEndPos should be updated when _setVideoStartPosition is called. Can you take an hour to add this functionality?

Hey @AxesandGrinds, you could try fix it and send a PR. ?

@wilfredonoyola , I'm not able to fix it. I don't understand the Offset and deltas from DragUpdateDetails enough to make the change. Sorry.

OK @AxesandGrinds , We are waiting by @sbis04

Sorry for not releasing this feature for so long. As I was busy with some other projects, I wasn't getting much time to work on this. Though I had started working on this feature, it's not ready to be released and some work is left.
Please wait for some more time @AxesandGrinds @wilfredonoyola @JamesBondPc

Any new update.

hello. any updates

Finally, the most awaited feature is here! (v0.2.7)  🎉
Sorry for this huge delay.
I have added a new property called maxVideoLength for specifying the max length of the output video.
Refer: 53ddb9f0c63b8312f0cf10fa19d64beee4a4552a


Rebuild LICENSE

For some reasons we would like to change the LICENSE of this repository in order to better provide a wider range of services. The LICENSE change will not affect other files, and we hope that you can approve to it. Thank you!

Agree
iPhoneから送信
2023/12/07 9:54、Yerong @.***>のメール:

@chiyi4488https://github.com/chiyi4488 @dekthaiinchinahttps://github.com/dekthaiinchina @igorruckerthttps://github.com/igorruckert @akio1321https://github.com/akio1321 @VenusGirlhttps://github.com/VenusGirl @Berny23https://github.com/Berny23 @AnomSanjayahttps://github.com/AnomSanjaya @iDolmatovhttps://github.com/iDolmatov @yaeyayahttps://github.com/yaeyaya
—
Reply to this email directly, view it on GitHubhttps://github.com/YerongAI/Office-Tool/pull/771#issuecomment-1844040870, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGMQX6AKT2YR7IFRAZDJQMTYIEOUZAVCNFSM6AAAAABAKJG2K2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBUGA2DAOBXGA.
You are receiving this because you were mentioned.Message ID: @.***>

Agree

I see no reason to refuse. Currently the repository is localized (by third parties), so changing the license type should not be a problem. The updated license does not restrict the distribution and modification of translations.
However, if this applies to the entire product (OTP), then check the terms of distribution. For example, the implied context is about the sale of a copy of the program by any person, as well as modification of the software.

The LICENSE change will not affect other files

You can clarify what exactly the license covers. Without this, the paragraph above would have turned out.

Thank you for this info. Now I should understand that the LICENSE only apply to this translations, not Office Tool Plus itself. When users run Office Tool Plus at first time, they will be asked for accepting a Use Terms, instead of the LICENSE. I think the two should be unrelated.
That's how I understand it, please point out if there are any problems.

Note: I don't suggest anyone to change preferences data! This data is provided by Microsoft.

Pay attention to this. Is your license option consistent with the original Microsoft license? The original license may prohibit the listed actions, and the text of the license does not include a clause about borrowing third-party objects.

The applications preferences was collected from MS server, not a public zone. Maybe I should not upload the json here?

I'm not familiar with the intricacies of licensing relationships, particularly with GitHub. Therefore, be sure to study all the nuances so as not to find yourself in litigation with Microsoft and/or GitHub.
The source code of the program is closed, but, as I understand it, checking for updates is associated with your domain (not GitHub). Therefore, transferring non-editable data to its source can eliminate a license conflict, although it will transfer the load to another source of files.

I agree to the change.

i dont know if LICENSE will affected to me, since i didn't really care about that

In fact, change LICENSE will not make any effects on you. You can also modify translations, or do anything you did before.
If you agree the change, please let me know.

I agree with this license change. If there is no impact on the creators and users of this program.

I'd like to understand why you want to change your License. What is your motivation?
我想理解為何你想變更授權許可書。你的動機是什麼。

不变更会不符合镜像站的协议约束，会导致无法上传到镜像站服务


[BUG]  Breaking / Sensitivity Label error message when attempting to open Lab 01 Sales Analysis.pbix file

Priority
Breaking
Lab/Demo Number/Name
Lab 1 (possible others)
Describe the bug
When attempting to load the starter lab 01 Sales Analysis.pbix, a sensitivity label error message pops up and prevents students from loading the .pbix file. This is affecting around half the students in my class using Skillable PL_300 labs and also outside of the Skillable sandbox on my own personal machine.
Screenshots

To Reproduce
Steps to reproduce the behavior:

Open Power Bi Desktop
File>Open Report
Select load Allfiles\Labs\01-prepare-data-with-power-query-in-power-bi-desktop\Starter\Sales Analysis.pbix
See error Sensitivity label error as above screenshot.

Expected behavior/Suggested Change
The selected .pbix file should load as normal with all elements viewable with no sensitivity label error.
Additional context
It is not clear to me why only some of my students are experiencing this issue in the PL-300 Skillable labs environment, however I also experience it on my own personal machine using the files from the Github repo. Skillable labs also download the lab files directly from the repo.
Note: To share feedback for the slides, please use the MCT Courseware Forum.

I'll close this one down as resolved. The sensitivity label message that pops up when opening- Allfiles\Labs\01-prepare-data-with-power-query-in-power-bi-desktop\Starter\Sales Analysis.pbix - does not cause any apparent issues when progressing through to completion of the lab.

@DerekFoster1976 thanks for the feedback. This is not a breaking bug, however it is in the backlog to resolve.


DCOS-44053: added Modal components

Re: "hold merge"

I need the button PR to merge so I can correctly render the buttons in the footer of the DialogModalWithFooter and in the header for FullscreenModal

Currently, the header of the modal only renders whatever string is passed into title. I'd love some feedback on we might handle additional content that sometimes appears in the header of a fullscreen modal. For example, the JSON switch in the Create Service modal:

I'd like to merge https://github.com/dcos-labs/ui-kit/pull/264 before merging this

@mperrotti  I'm wondering why do we have the "What is Lorem Ipsum?" heading? It seems redundant since we have the header above it. Also, there is be only 24 px of space between the header and the copy below. Right now, it seems greater than 24 px.

Ok @lsamimi, I'll update the examples. I think the extra space is just coming from the browser default styles for the <h2> tag that wraps that heading

Looks good! Quick question - is this spacing intentional on the fullscreen modal with additional header content?

Nope, I just forgot to add it back after https://github.com/dcos-labs/ui-kit/pull/260 merged 😅

For me in Firefox it has a gray square in the bottom right corner.

In Chrome has the square plus unusable scrollbars.

It's the same for all modals. I use Ubuntu 18.04, Firefox Quantum 64.0 (64-bit) and Google Chrome
Version 69.0.3497.100 (Official Build) (64-bit). Another minor thing is that the close button does not have a hover style.

@mperrotti This has currently a merge conflict :)

@GeorgiSTodorov - I think both cases are an OS-specific thing, and I'm not doing anything to override OS scrollbar behavior.
I'll look into a non-hacky way to only show scrollbars when necessary and report back

Also, the "close" button purposely doesn't have styles for hover, but I'll make sure we're at least giving it cursor: pointer

@mperrotti flicts!

@GeorgiSTodorov - Sorry about that, I forgot to re-check all the browsers after I made changes.
That issue was actually from a flexbox/overflow bug in IE11 and Firefox - I've fixed it in the flexbox style util

Not merging to give @mperrotti the chance to address the feedback if it is important.

@DanielMSchmidt @GeorgiSTodorov ✅ means approve. Please use comments for non-blocking comments or request changes.

Okay.

:tada: This PR is included in version 1.24.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

@GeorgiSTodorov - this is expected behavior.
Unless you specify initialFocus, the first focusable element in the modal will get focus. The underline is the focus style for SecondaryButton

@natmegs - that was working for me when I added the story 🤔
I'll investigate and see if something broke


Change fleet add repository TLS certification options to a dropdown

Detailed Description

Context
Change the radio button group for TLS Certificate options to a dropdown. This is part of the change related to rancher/dashboard#5197. No functionality change to the form. Only change is the how the options are selected.

This was tested in the scope of validation of a security issue.
Also this was tested during upgrade testing as part of the release tasks for 2.6.4
Upgrade was done from 2.6.3 to 2.6.4-rc8


the autojson can't correctly handle chinese

whatever the response.charset or the charset of response.content_type I set, the chinese characters are always converted to unicode characters.
so I  can only turn of the autojson, and output the json string by myself.
json.dumps(<dict_to_convert>, ensure_ascii=True) performs like the autojson(unicode)
json.dumps(<dict_to_convert>, ensure_ascii=False) is what i want.(bytestring)
maybe bottle needs to provide a choose.

response.content_type = 'application/json; charset=' + response.charset
result_data = json.dumps({"code": "1", "message": "ok", "data": response_data},encoding=response.charset,ensure_ascii=False)
return result_data

response.content_type = 'application/json; charset=' + response.charset
result_data = json.dumps({"code": "1", "message": "ok", "data": response_data},encoding=response.charset,ensure_ascii=False)
return result_data

Can you give some example code that shows what the problem is? What do you mean "converted to unicode characters"? Chinese characters only exist as unicode characters.

@app.route('/api/hello', method='GET')
def hello():
    return {"hello": "世界"}

the output is

{"hello": "\u4e16\u754c"}

@app.route('/api/hello', method='GET')
def hello():
    response.content_type = 'application/json; charset=UTF-8'
    return {"hello": "世界"}

the output is

{"hello": "\u4e16\u754c"}

the Content-Type in response header:

Content-Type:application/json

this place?
https://github.com/bottlepy/bottle/blob/master/bottle.py#L1928

Python 2 or 3?
You realize that that output is perfectly acceptable behavior, right? Any reasonable json parser will parse {"hello": "世界"} and {"hello": "\u4e16\u754c"} to the same thing.

As a hack, you can currently do:
app = bottle.default_app()  # or your app object
app.plugins[0].json_dumps = lamba: *args, **kwargs: json.dump(*args, ensure_ascii=True, **kwargs)

python2.
I know the two things is the same thing.I prefer to output the content in bytestring('\xe4\xb8\x96\xe7\x95\x8c')("世界"),the unicode('\u4e16\u754c') in output of API is not readable, and this makes me feel not very good.
I use a decorator with json.dumps(xxx,  ensure_ascii=True) temporarily sovled this.
your solution is also very good.
tks.  ^.^

By that you presumably meant to say "I'd prefer to output UTF-8 encoded characters than \u-escaped characters. In both cases the output is a bytestring

JSON is defined as UTF-8 encoded text, so it should be fine to include non-ascii characters in JSON strings and there is no need for these unicode escape sequences. It would certainly save some bytes and be easier to read for humans, and human readable API responses are a good thing in my opinion.
If both representations are equal and the human readable one actually saves some bytes and involves no additional overhead, I'd say we should switch the default to the human readable representation.

I'd like to introduce two new config parameters:

autojson.ascii (default: false). If true, convert all non-ascii characters to escape sequences.
autojson.compact (default: false) If true, return compact (but less readable) JSON with less whitespace.

And a new default behavior: The autojson plugin should return human readable and developer friendly JSON by default (indented, with unicode characters in strings).
This might break (broken) tests that test against hard-coded JSON strings, but should not break any real world applications or integrations. We can still discuss if the default values for the configuration should reflect the current behavior, and warn about the changing defaults with depr(0,13) so we can change it in 0.14.

http://i.imgur.com/0PVtmcG.gif

tks for reply. @defnull
I'm glad my idea can be adopt.Bottle is quite good to use.

I just committed a long overdue ConfigDict patch and a more sophisticated autojson config to master. This feature request should now be quite straight forward to implement. See Bottle.init() and JsonPlugin.


errcheck no longer works

Hi,
I'm not sure if I did something wrong or gometalinter do not run errcheck on files
My output from example folder:
gometalinter .
stutter.go:22::error: Repeating defer a.Close() inside function duplicateDefer
stutter.go:9::warning: unused global variable unusedGlobal
stutter.go:13::warning: unused struct field MyStruct.Unused
stutter.go:12:6:warning: exported type MyStruct should have comment or be unexported
stutter.go:16:6:warning: exported type PublicUndocumented should have comment or be unexported
stutter.go:29::error: unreachable code
stutter.go:26::error: missing argument for Printf("%d"): format reads arg 1, have only 0 args

It should show error/warning also for line 27.
Can be related to https://github.com/kisielk/errcheck/issues/45

If you do a gometalinter --update --install you will get my forked version of errcheck that should work.

It's working now. Thank you!


Update screenshot to include 'Controller' suffix

This is a fix for #642.
My IDE doesn't look like yours (syntax highlighting wise), so if you're not cool with that, no big deal.

works for me
thanks!


Update substrate_client_java.md

Project Abstract

We would like to renew  our activities and propose the following modifications to the amendment:

to update the address of the company
to update estimated delivery
to swap milestones 4 and 5
to update team members

The application is a follow-up to Substrate Client for Java.

Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[ ] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (bank details via email or BTC, Ethereum (USDC/DAI) or Polkadot/Kusama (USDT) address in the application).
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

@strategyobjectadmin what's the reason you've replaced @Query and @EventHandles with @Storage and @Event in the annotation support section?

hi @takahser,
During the implementation we decided to rename these annotations in accordance with Substrate's attributes (#[pallet::storage] and #[pallet::event]), that was done in scope of the first and second milestones.


issue #295 reload sessions and locks when restart

Ⅰ. Describe what this PR did
issue #295 reload sessions and locks when restart
Ⅱ. Does this pull request fix one issue?

issue #295 reload sessions and locks when restart
Ⅲ. Why don't you add test cases (unit test/integration test)?
NA
Ⅳ. Describe how to verify it
Kill the working server, restart server, check transactions to be finished.
Ⅴ. Special notes for reviews

Codecov Report

Merging #389 into develop will increase coverage by 1.28%.
The diff coverage is 73.91%.

@@              Coverage Diff              @@
##             develop     #389      +/-   ##
=============================================
+ Coverage       29.3%   30.59%   +1.28%
- Complexity       572      615      +43
=============================================
  Files            165      166       +1
  Lines           6589     6727     +138
  Branches         786      806      +20
=============================================
+ Hits            1931     2058     +127
- Misses          4454     4457       +3
- Partials         204      212       +8

Impacted Files
Coverage Δ
Complexity Δ

...alibaba/fescar/core/service/ConfigurationKeys.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...rotocol/transaction/AbstractBranchEndResponse.java
52% <0%> (ø)
3 <0> (ø)
:arrow_down:

...scar/server/store/FileTransactionStoreManager.java
53.47% <100%> (+1.06%)
14 <0> (+3)
:arrow_up:

...rotocol/transaction/AbstractGlobalEndResponse.java
100% <100%> (ø)
6 <0> (ø)
:arrow_down:

...aba/fescar/server/lock/DefaultLockManagerImpl.java
84% <100%> (+5.91%)
17 <1> (+3)
:arrow_up:

...m/alibaba/fescar/server/session/BranchSession.java
86.95% <100%> (+2.39%)
34 <0> (+2)
:arrow_up:

...core/protocol/transaction/BranchReportRequest.java
81.94% <100%> (ø)
14 <0> (ø)
:arrow_down:

...m/alibaba/fescar/server/session/GlobalSession.java
84.82% <100%> (+0.32%)
40 <6> (ø)
:arrow_down:

...alibaba/fescar/server/coordinator/DefaultCore.java
27.46% <62.5%> (-3.4%)
11 <0> (-1)

...fescar/server/session/FileBasedSessionManager.java
64.55% <63.15%> (-35.45%)
16 <15> (+15)

... and 11 more

Continue to review full report at Codecov.

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


msolve: 0.6.4 -> 0.6.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/algebraic-solving/msolve/releases.
meta.description for msolve is: Library for polynomial system solving through algebraic methods
meta.homepage for msolve is: https://msolve.lip6.fr
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.5 with grep in /nix/store/6d3min3h4z3mym5a11hyx0nx9h0iqg98-msolve-0.6.5
found 0.6.5 in filename of file in /nix/store/6d3min3h4z3mym5a11hyx0nx9h0iqg98-msolve-0.6.5

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
msolve

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6d3min3h4z3mym5a11hyx0nx9h0iqg98-msolve-0.6.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A msolve https://github.com/r-ryantm/nixpkgs/archive/be792ef3b4f205e6b25b3c46d829da5b7bbfa644.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/be792ef3b4f205e6b25b3c46d829da5b7bbfa644#msolve

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6d3min3h4z3mym5a11hyx0nx9h0iqg98-msolve-0.6.5
ls -la /nix/store/6d3min3h4z3mym5a11hyx0nx9h0iqg98-msolve-0.6.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

msolve

Maintainer pings
cc @wegank for testing.

Result of nixpkgs-review pr 291675 run on aarch64-darwin 1

1 package built:

msolve


[Feature Request] In-app effects reference

Is your feature request related to a problem? Please describe.
I would like to have a reference to the available effects within WaveTracker, so that I can quickly see the available effects and how to use them.
Describe the solution you'd like
Add a Help menu which includes an option to list the effects, which includes the same information available at https://wavetracker.org/documentation/effect-list/
Describe alternatives you've considered
Go to https://wavetracker.org/documentation/effect-list/ in a browser
Additional context
Having this information available quickly within the app will reduce friction when using effects. As an added bonus, this info can also be available offline when the user doesn't have internet access or the website is down. However, in the interim a menu option that simply opens a browser window to the online documentation is also a good incremental feature.
For reference, this is how bambootracker implements the same thing:

A Help menu with links to documentation has been added to the and will be out in the next update, as well as a tooltip in the bottom information bar that displays what the current effect does whenever you edit an effect in the pattern editor.


Add group change hooks.

Was making a addon and realised that xAdmin had no group change hooks. Would help add compatibility with other addons.

Perfect, thanks