Way to specify the seed on creation?

Is there a way to specify the seed of the world maybe in the environment variables or something?

WORLD_NAME

WORLD_NAME

Isn't that the name of the world?  I've specified the same WORLD_NAME in every one of my container tests and I get a different world everytime.
If the WORLD_NAME was the seed, then wouldn't I see the same world everytime I create a new container if I use the same name??

WORLD_NAME

Isn't that the name of the world?  I've specified the same WORLD_NAME in every one of my container tests and I get a different world everytime.
If the WORLD_NAME was the seed, then wouldn't I see the same world everytime I create a new container if I use the same name??

Good point. Up until now I thought the world name was also the seed. Sorry if this cause any confusion 🙂

You will have to create the world in client and then copy the world file. I don't know of any cli arg that would allow specifying the seed.

You will have to create the world in client and then copy the world file. I don't know of any cli arg that would allow specifying the seed.

 Thanks 😊👍🏻

Sorry if i ask, i'm new on using Docker... how to do that? I already volume mounted into /config, and with "docker cp" i can copy files from volume to pc but how to do the opposite (overwriting them obviously, otherwhise there will be 2 worlds in the folder)? Thank u

You can also use docker cp to copy from your file system into the container, just check out the docs. Depending on your setup, you can also just copy your world files to the mounted volume.

You can also use docker cp to copy from your file system into the container, just check out the docs. Depending on your setup, you can also just copy your world files to the mounted volume.

Thank you


Actor isolation not respected or warned when conforming to a delegate from an extension

Describe the bug
Actor isolation is not respected or warned when conforming to a delegate from an extension on an @MainActor class. For example, the below code compiles without warnings or errors:
protocol MyDelegate {
  func doThing()
}

@MainActor
class MyClass {
  var myCounter = 0
}

extension MyClass: MyDelegate {
  func doThing() {
    print("Is on main: \(Thread.isMainThread)") // prints 'false'
    myCounter += 1
  }
}

var v: MyDelegate?
Task { @MainActor in
  v = MyClass()
}

Task.detached {
  sleep(1)
  v?.doThing()
}

If I move the conformance up within the type definition scope, I get a "Main actor-isolated instance method 'doThing()' cannot be used to satisfy nonisolated protocol requirement" warning. Explicitly marking the extension as @MainActor also causes the same warning to surface, but it's not clear to me why that isn't implicitly happening.
Steps To Reproduce
Run the above swift code an notice it executes without any warnings or errors.
Expected behavior
Expect the following warning on the doThing() declaration:

⚠ Main actor-isolated static property 'value' cannot be used to satisfy nonisolated protocol requirement

Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please fill out the following information)

OS: macOS 12.5.1 (21G83)
Xcode Version/Tag/Branch: Version 14.0 (14A309), Swift 5.7

Additional context
See this conversation in the Swift forums for more discussion.

Possibly related to #61300

The warning in extensions was hidden under -strict-concurrency=complete. I've made the diagnostic more discoverable in https://github.com/apple/swift/pull/70153


Christopher Stowe?

Not super critical at all, but in the "Inspired by" section of the README you incorrectly attribute Jonathan Stowe's work to Christopher Stowe.
Cheers

Oops - now fixed!
~ p6steve
<EMAIL_ADDRESS>
On 13 May 2019, at 18:07, thundergnat<EMAIL_ADDRESS>wrote:
Not super critical at all, but in the "Inspired by" section of the README you incorrectly attribute Jonathan Stowe's work to Christopher Stowe.
Cheers
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/p6steve/perl6-Math-Polygons/issues/6?email_source=notifications&email_token=AJSEHETHMTSCUTLS7JEQP7TPVGN5PA5CNFSM4HMRYLMKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GTPMZ7A, or mute the thread https://github.com/notifications/unsubscribe-auth/AJSEHET6RQIJO4B2ZIX2AB3PVGN5PANCNFSM4HMRYLMA.


Select-apps - No warning is displayed if the user has selected 0 games in total

Released in v1.9.0


Native async integration

Summary
Fixes #3228.
Also uses yarn instead of npm to install deps in integration tests. Results in up to 40% faster runs each now.
Test plan
jest

this is awesome! thank you


[Snyk] Security upgrade govuk-components from 4.1.1 to 5.0.2

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `rubygems` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

Gemfile
Gemfile.lock

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Breaking Change
Exploit Maturity

591/1000  Why? Recently disclosed, Has a fix available, CVSS 6.1
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') SNYK-RUBY-VIEWCOMPONENT-6144786
Yes
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Closing as the non-trivial fixes required for upgrade in hand.


chore(samples): add creating managing windows instances samples

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open an issue as a bug/issue before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@savijatv Could you please review the PR?


backup browser is inaccessible with voiceover

When a user wants to browse for files and they  hit command O the backup browser is totally inaccessible to voiceover users. I personally cannot make heads or tales of this. QT I heard thugh has some accessibility issues with voiceove. Still though can this please be looked into?
Macbook air, 8 gigs of ram, , 256 gig ssd drive.. Os is El Capitan.

marrie,
Thanks for reaching out to us. I'm trying to wrap my head around the Accessibility tools and techniques, so please be patient with me while I try to figure out how we can improve on this.
Quick question, can you navigate any of the ListViews in the application? These include the File Browser you posted, the Archives list and the Jobs list.
Another one, how can you read text that can't be focused on?

No actually I couldn't.  There's some wonderful documentation at applevis.com I don't know where exactly  on the site but there are wonderful articles, some linked from apple discussing voiceover. QT has had problems in apple and windows though. I know this as I use other clients with QT5 and even that has issues. I hope the QT devs fix those for all platforms of QT. Anyway I hope that helps someone. I'll look  on applevis's site, unless someone beats me to it. This is a wonderful community of visually impaired people who would love to help you test.

Graham, after some investigation I think we might need to implement QAccessibleInterface, QAccessibleTableInterface for some of the custom widgets used in the FilePicker and Backup/Jobs list views in order to make them browsable/accessible via Voice Over. Testing/Improving Accessibility is quite the undertaking and I've only played with OS X so far. Here are the resources I found most useful so far:
http://doc.qt.io/qt-5/accessible.html
http://doc.qt.io/qt-5/accessible-qwidget.html
https://www.apple.com/voiceover/info/guide/
Besides the commonly agreed usability good practices like sticking to existing widgets, having descriptive tooltips&titles for every element, making sure focus is available for every action and in the proper order, etc.. going one step towards improving accessibility requires some planning. Can you please share your plan or insights you have so far in regards to handling this, since you've assigned both issues to yourself?

Certainly, but I'm leaving for BSDCan tomorrow so today I'm preparing my laptop and packing.  I'll get back to you within a week.

Take your time. I really appreciate the staff looking into this. I'm right now using the command line as I need  practice, but yeah can't wait to test once the accessibility has ben improved. If I can't for some reason you can reach out to the applevis community. You should be able to find some who are willing and able to give you constructive feedback.

@marrie Do you think it would help if I would add 2 actions "Add File" and "Add Directory" to the system menu bar and keyboard shortcuts that pop the native Open File dialogs, as an interim solution at least? The reasons I don't have that and use only the custom File Browser are:

You can't select both files and directories from the same dialog, thus the need for two separate actions;
You can't select multiple directories at the same time;
You can't control what's being displayed, in regards to hidden, system, symlink files;
Every OS has a combination of those issues with the native dialogs, including OS X.

That could work as an interim solution. I see that actually with many apps. Add files, and add folders, etc. Both of which are separate actions.

See comment https://github.com/Tarsnap/tarsnap-gui/issues/82#issuecomment-308757340.


Multiple waveguides

Currently, to model multiple waveguides, we use the specialized basis LeftRightCavityWaveguide:
https://github.com/mabuni1998/CavityWaveguide/blob/cf094c5e8fff16ba9c52084e2134065311f49abc/src/LeftRightWaveguide.jl#L4-L26
However, one could easily imagine that one instead extended the implementation of WaveguideBasis to something like (Np for number of photons, Nw for number of waveguides):
mutable struct WaveguideBasis{Np,Nw} <: QuantumOptics.Basis
    shape::Vector{Int}
    N::Int
    offset::Int
    nsteps::Int
    function WaveguideBasis(Np,Nw,times)
    if Nw==1
      dim = 0
          for i in 1:Np
              dim = dim + length(times)^i - (length(times)^i-length(times))÷2
          end
          new{Np,Nw}([dim+1], dim, 0,length(times))
      end
    elseif Nw == 2
        dim = 0
        if Np==1
            dim = 1+2*length(times)
        elseif Np==2
            dim = 1+2*length(times)+ length(times)^2 + 2*(length(times)^2 - (length(times)^2-length(times))÷2)
        else
            error("Currently Nw larger than 2 is not supported in WaveguideBasis")
        end
        new{Np,Nw}([dim+1], dim, 0,length(times))
    end
end

Now the waveguide basis would have an additional type, that decides how many waveguides are encoded. This extension would also allow for more than two waveguides, where instead of using :left and :right to index one just uses 1, 2, 3 etc.
Obviously, the above implementation is clunky and not generalized to multiple waveguides, but that could be polished. However, before I make the above implementation, I would like inputs on design options. Should Nw, for example, be an optional argument rather than required since it might be complicated for new users to also specify this? And are there other suggestions?

@Krastanov


Upgrade "View components" doc samples to csproj/MSBuild with VS 2017

The View components doc uses project.json and *.xproj for VS 2015. The sample code should be updated to reflect using VS 2017.
@Rick-Anderson Is anyone working on this? If not, I'll take care of it.

@scottaddie  that would be great, thanks.


Give persistence keys a synchronous update interface

Adding an async sequence around persistence updates caused a bunch of synchronization issues, so let's change things to use a synchronous API instead.

@oliverfoggin I think you were seeing some issues with app storage. Want to point to this branch instead of the beta and see if it clears things up?

Perfect! Will do and I'll report back. Thanks 👍🏻

Hey @stephencelis I've updated to this branch but the compiler seems to be having difficulties with it.
I'm getting a few...

/.../BlahView.swift:15:29 The compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions

That I haven't seen before with no code changes.

I'll have a look in a bit.

@oliverfoggin Nothing in this PR should have affected a view builder, but we did just merge some updates from main that include an overload that could have an impact on some views, especially those with lots of case key path scoping in them.
We can also chat in Slack if it helps get to the bottom of things quicker.

@oliverfoggin Going to merge this back into the beta since we think it's the right direction to go, but would still love to know if the issues you were seeing earlier are now fixed!


Getting TypeScript errors in JavaScript files

getTSConfig might return a string or an object. I get a red squiggly saying that there is no common type between all return values.

Your "red squiggly" doesn't look as bad as mine :smile:

Aside from the TS error, is it really intended behavior to underline every single line on errors? Or is this maybe another issue? I'm using 0.10.1 btw

The error range is given by TypeScript, so that you can definitely file in their repo. :+1:

Alright, will do! I also just noticed that this only happens for methods inside a class, but not for plain, standalone functions.

() => {} vs function() {} gives different red/error-highlighting, but both get the error.

I having the same issue with my JavaScript in VSCode. I use a common pattern where a function does something and returns an object with a method/property. Its an object factory. I use this pattern a lot, but once in a while I get the same error and red squigglies for No best common types exists among return expressions. Even though the TypeScript declaration file and the function graph are identical to other uses of this pattern.

Is it possible to filter out this error with a comment?
I have a function that does indeed return different types, because the data returned is used to populate a drop down via Backbone Stickit. Depending on the drop having options groups or not, the data format will be a bit different.
I like that VS Code warns me about this, but in this particular this is actually expected.

We are migrating to a new version of the JS infrastructure called Salsa, please give it a try. The issue above should is addressed by Salsa. To try out Salsa:
Install the insiders build: https://blogs.msdn.microsoft.com/vscode/2016/02/01/introducing-insiders-builds/
Enable Salsa: https://github.com/Microsoft/vscode-docs/blob/master/release-notes/latest.md#javascript---salsa-preview
Closing - if there are still JS problems pls file them against https://github.com/Microsoft/TypeScript/issues and mention that you are using Salsa.

Just confirming that using VS Code 0.10.7-insider, TypeScript 1.9.0-dev.20160208 and Salsa did indeed fix my issue. Thanks.

@janaagaard75 thanks for the confirmation.

@janaagaard75 Are you running Version 0.10.9 by chance? I seem to be running into this on the latest vscode, not using any typescript. Curious if you updated something else independently?

I don't have the issue in 0.10.9 either. I stil think you need to install the typescript@next npm package in order to use the Salsa engine to analyze the JavaScript - maybe that's your issue?


Update circleci to 2.1 api and fix dockerfile

Took a quick and dirty pass to see if I could update the old broken circle.yml that used circleci api 1.0 to the current circle api 2.1.
closes #50

good idea, we did this recently in BIDS-Apps/SPM and BIDS-Apps/example as well :+1:

@sappelhoff Any chance you know what's up with all of the colons at the ends of the lines as in:
https://github.com/BIDS-Apps/freesurfer/blob/753bd76ad1cf835f1a1fe38236f9261155fd6b04/circle.yml#L32
    - docker run -ti --rm --read-only -v $PWD/license.txt:/license.txt -v /tmp:/tmp -v /var/tmp:/var/tmp -v ${HOME}/data/ds114_test1:/bids_dataset bids/${CIRCLE_PROJECT_REPONAME,,} --version
    - docker run -ti --rm --read-only -v $PWD/license.txt:/license.txt -v /tmp:/tmp -v /var/tmp:/var/tmp -v ${HOME}/data/ds114_test1:/bids_dataset bids/${CIRCLE_PROJECT_REPONAME,,} -h
    - docker run -ti --rm --read-only -v $PWD/license.txt:/license.txt -v /tmp:/tmp -v /var/tmp:/var/tmp -v ${HOME}/data/ds114_test1:/bids_dataset -v ${HOME}/outputs1:/outputs bids/${CIRCLE_PROJECT_REPONAME,,} /bids_dataset /outputs participant --participant_label 01 --license_file=/license.txt --stages autorecon1 && cat ${HOME}/outputs1/sub-01/scripts/recon-all.done :

@PeerHerholz This is ready for you to review. @sappelhoff, or @leej3 I'm not exactly an expert at CircleCI so any suggestions are welcom.

Thx a lot @Shotgunosine, @sappelhoff and @leej3 for the work and comments! One thing I thought about was to include neurodocker for the creation of docker and singularity files. WDYT? We can also discuss it in a different issue/PR as it would introduce a substantial change.

I think moving to neurodocker is a good idea, should probably be a new PR though.

Alright, I think this is good to go.

You need to modify the deploy step a little. You need to restore the image cache and use docker load as you have done in the test step.
Also I think you should change the save key for the image to v_0-image_cache-{{ checksum "Dockerfile" }}-{{ .Revision }}-{{ epoch }}. The build restore key can be kept the same but test and deploy steps should probably restore using v_0-image_cache-{{ checksum "Dockerfile" }}-{{ .Revision }} to avoid funny bugs where you build a new image but can't save it (and so repeatedly test and deploy the same thing).

Yep, good catch. Are the fixes in that last commit what you had in mind?

Yes, except the restore cache keys. The restore key will match all caches that start with the provided key. So a restore key of v_0-image_cache-{{ checksum "Dockerfile" }}-{{ .Revision }} will match all image caches for the current git commit (and dockerfile version). It loads the cache that was most recently saved. We don't know (or need to know) the exact name of the save key at runtime: we use a unique and arbitrary suffix of epoch time in seconds when the cache was written. I don't think the key you have used will match anything.

@leej3 good now?

Looks good

@sappelhoff I think this is good to merge if you're happy with it.

Thanks a lot @Shotgunosine and @leej3 + @PeerHerholz  for the review!


Big Integer encoding

What
Adding support of BigInteger for encoding params in RPC

Is there a unit test for this?  Is this using JSON-RPC?  Are there any issues with BigInt's and JSON? I seem to recall there isn't a native representation so strings are used.


First Person or Third Person?

As Source is a First Person Shooter I expected this module to be as well, however when I open it in my editor it's third-person!
I am unsure if it's intentional since in Element Viewer the camera is postioned in First-Person perspective (pictured below):

however when opening the project the perspective is from the third person (pictured below):

While investigating I found that code metioned "spring" attachements (pictured below):

which are characteristic of third person games and seems intentional.
Can you provide any clarification if this module is meant to be used in third or first person?

It is supposed to be third person. You can make it 1st person by changing the player prefab by removing the spring component, adding back in the camera, and removing the related spring code.
Another solution would be to set the spring's length to 0. This is generally bad practice as I would recommend you edit to learn more of how godot works, but it will get you results.
You can edit this by finding player.tscn and editing it.

I would recommend learning more about how godot deals with prefabs and common components.
https://docs.godotengine.org/en/stable/classes/class_springarm3d.html


Token '1614408909' doesn't match specifier '%x'

Hello, I'm trying to use GoAccess v1.4.5 to parse log files generated by Caddy v2.3.0 (latest) using the default CADDY JSON Structured log format:
{"ts":"%x.%^","request":{"remote_addr":"%h:%^","proto":"%H""method":"%m","host":"%v","uri":"%U","headers":{"User-Agent":["%u"]},"tls":{"cipher_suite":"%k","proto":"%K"}},"duration":"%T","size":"%b","status":"%s","resp_headers":{"Content-Type":["%M"]}}

But I'm receiving errors like Token '1614408909' doesn't match specifier '%x' for log messages like:
{"level":"info","ts":1614408909.3341959,"logger":"http.log.access.log0","msg":"handled request","request":{"remote_addr":"<IP_ADDRESS>:46556","proto":"HTTP/2.0","method":"GET","host":"ipfs.foxgirl.dev","uri":"/QmcniBv7UQ4gGPQQW2BwbD4ZZHzN3o3tPuNLZCbBchd1zh","headers":{"Range":["bytes=24903680-"],"Te":["trailers"],"Accept":["text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"],"Accept-Encoding":["gzip, deflate, br"],"Dnt":["1"],"Upgrade-Insecure-Requests":["1"],"User-Agent":["Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0"],"Accept-Language":["en-CA,en-US;q=0.7,en;q=0.3"],"Referer":["https://t.co/WV8GcwDZVy?amp=1"],"If-Range":["\"QmcniBv7UQ4gGPQQW2BwbD4ZZHzN3o3tPuNLZCbBchd1zh\""]},"tls":{"resumed":false,"version":772,"cipher_suite":4865,"proto":"h2","proto_mutual":true,"server_name":"ipfs.foxgirl.dev"}},"common_log":"<IP_ADDRESS> - - [27/Feb/2021:06:55:09 +0000] \"GET /QmcniBv7UQ4gGPQQW2BwbD4ZZHzN3o3tPuNLZCbBchd1zh HTTP/2.0\"<PHONE_NUMBER>6","duration":408.211730412,"size":14483456,"status":206,"resp_headers":{"Date":["Sat, 27 Feb 2021 06:48:21 GMT"],"Content-Length":["22399601"],"Last-Modified":["Thu, 01 Jan 1970 00:00:01 GMT"],"Server":["Caddy"],"Access-Control-Allow-Methods":["GET"],"Content-Type":["video/mp4"],"X-Ipfs-Path":["/ipfs/QmcniBv7UQ4gGPQQW2BwbD4ZZHzN3o3tPuNLZCbBchd1zh"],"Access-Control-Expose-Headers":["Content-Range","X-Chunked-Output","X-Stream-Output"],"Accept-Ranges":["bytes"],"Cache-Control":["public, max-age=29030400, immutable"],"Access-Control-Allow-Headers":["*","Content-Type","Range","User-Agent","X-Requested-With"],"Access-Control-Allow-Origin":["ipfs.foxgirl.dev"],"Etag":["\"QmcniBv7UQ4gGPQQW2BwbD4ZZHzN3o3tPuNLZCbBchd1zh\""],"Content-Range":["bytes 24903680-47303280/47303281"]}}

This log message was generated with the log directive:
log {
  output file /logs/ipfs--foxgirl--dev.log {
    roll_size 1gb
    roll_keep 10
    roll_keep_for 2160h
  }
  format json
  level DEBUG
}

Any ideas? Thank you for your time!

Are you configuring the log-format in goaccess.conf? Seems like the default config line for Caddy is outdated. It should be:
{ "ts": "%x.%^", "request": { "remote_addr": "%h:%^", "proto":"%H", "method": "%m", "host": "%v", "uri": "%U", "headers": {"User-Agent": ["%u"], "Referer": ["%R"] }, "tls": { "cipher_suite":"%k", "proto": "%K" } }, "duration": "%T", "size": "%b","status": "%s", "resp_headers": { "Content-Type": ["%M"] } }

I am using a fresh install of GoAccess with no configuration changes, running on an almost-fresh install of Alpine Linux edge.

I have an idea of what may be causing the issue! Take a look at the code for parsing %x tokens:
https://github.com/allinurl/goaccess/blob/057d65683cdc3e25d943abf264375ec6d2021a9c/src/parser.c#L1233-L1249
I'm pretty sure the problem lies in the call to str_to_time, and I'll explain why. Take a look at str_to_time's code:
https://github.com/allinurl/goaccess/blob/057d65683cdc3e25d943abf264375ec6d2021a9c/src/util.c#L496-L541
See all those comments / preprocessor conditions about having glibc? Well, Alpine linux doesn't have glibc! It uses the musl C stdlib instead. Could that be the problem?

I have pretty much confirmed that it is a problem with the lack of glibc, see this video for a demonstration:
https://youtu.be/rCyjoA7jUH0
TL;DR: GoAccess fails to parse timestamps correctly on systems using stdlibs other than glibc.
Both of these goaccess binaries are the exact same version of GoAccess (v1.4.5 tarball from https://tar.goaccess.io/goaccess-1.4.5.tar.gz) compiled with the same options and the same toolchain (gcc, GNU make).

Thanks a lot for reporting this and sharing those details. I believe this has been addressed upstream on this commit. Can I ask you to please build from development and let me know if that fixes the issue on your end?

Confirmed fixed when building master, thanks!

Awesome, thanks for the update. The next release will be pushed out soon.


use class instead of popperClass

Just like in ember-popper. This can be done by making the component tagless and simply passing the class to the ember-popper instance.

I have a working branch that both makes ember-attacher tagless and switches popperClass to class. Blocked on https://github.com/kybishop/ember-popper/pull/31

Implemented in #45


Update TurfJS 6.x - fixes #228

Update 3 modules from TurfJS to 6.x
Fixes #228

amazing! Thank you @DenisCarriere and the whole turf team!


Updates MA.M font namespaces to be more uniform

Describe the changes you have made to improve this project

MA.M font namespacing was inconsistent between sizes and families
This commit places "MahApps.Fonts" first, followed by "Size" or "Family"
Further granularity is applied for specificity (e.g. "Content", "Header")
Items previously named "Default" are now "Base"
"Default" is added to the end of all items except Win10 ToggleSwitches to allow for future styles
Items such as "DialogTitle" and "FlyoutHeader" are separated (e.g. "Dialog.Title", "Flyout.Header")

Unit Test
N/A
Additional Context
N/A
Closed Issues

Resolves #3584

Just a heads up, the easiest place to view the changes is in Fonts.xaml - all changes were based on this file and propagated to the other projects and files in the solution.

@punker76 I saw that I missed converting WindowTitle to Window.Title - should I do this for consistency with the rest of the font names?

@amkuchta your changes have been merged, thanks for your contribution 👍


Autoplay should be true for videos, otherwise you need to click twice to play a video

https://github.com/plone/volto/blob/267181c1eaeb450844392b3be13b1f0aa308f5ef/src/components/manage/Blocks/Video/Body.jsx#L62-L63
Maybe the other setting needs to be toggled. But now the situation is that you need to click twice on the video play button to be able to view a video.

can you tell me, how to reproduce this issue?


Create "Local" authentication filter

Create a new authentication filter that only validate the request on the same local network.

Commited


Dendron: Group Notes into Hierarchy

Context
https://github.com/dendronhq/dendron/issues/657 describes a use case where notes are written at a hierarchy that is fairly close to the top, but later needs to be refactored into a deeper hierarchy.
This is possible with the existing Refactor Hierarchy command, but in limited situations where it is trivial to come up with the right regular expression to match all the notes you want.
This proposal generalizes this use case so that the user can look up and select multiple notes they want to group into a specific hierarchy.
Proposal
Add a new command Dendron: Group Notes into Hierarchy (name pending)
When triggered, prompt the user with a note lookup with multiSelect enabled. Here the user can choose which notes should be grouped.
on accept, prompt again with another note lookup with multiSelect disabled. Here the user can choose an existing note to be the parent of the previously selected notes, or create a new note to be the parent.
Lastly display a webview with what the changes are going to be, before proceeding with the grouping.
Rationale
This eliminates the need for the user to come up with the right regular expression, which in a lot of cases isn't a good user experience.
This separates the intent of the user from what the (refactor) command can do, and better aligns with the user's expectation.
It also significantly reduces the complexity of the implementation as well as possible future troubleshooting.
Limitations
Any number of notes over the pagination limit of lookup could not be grouped with a single trigger of this command.
manually clicking multiple notes could be annoying.
Possible enhancements (and any other related items not in scope of this work item)

use active selection in editor as grouping parent note
enhance Refactor Hierarchy so that it accepts the full range of regular expression beyond wildcards (e.g. lookaheads and lookbehinds)

this has a bit of overlap with advanced querying of notes, and is mostly intended for advanced usage / bulk operations, so it will need to be specced out a bit more beforehand.

I think this command makes sense but would add this to our backlog. Meanwhile, having a general refactor that has full regex support is desirable because it handles a fuller spectrum of cases

Sounds good. Was mainly concerned about addressing #657 in a simpler way with my proposal.
I think once refactor can support full regex, we should consider adding easier ways to manipulate the note hierarchy similar to how this proposal does (focusing on one specific intent, and making it user friendly). Being hierarchy-based is something that differentiates us from other tools so doing so will strengthen what we are trying to do.


Exercise: master to main

in the exercise session there is a codebox git push origin master, which now should be git push origin main (from october workshop hackmd)

resolved by PR #98


Calling dataframe column produces an ndarray not a series as in stock pandas

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Modin version (modin.__version__): 0.10.1
Python version:  3.7.11 Intel distribution
Code we can use to reproduce:
Please contact<EMAIL_ADDRESS>for more information regarding code and dataset.
sub.retweet = (1-wt2[0]) * sub.retweet.values + wt2[0] * sub0.iloc[:,2].values

Describe the problem
When we have a dataframe with column name of retweet, calling dataframe.retweet in stock pandas produces a series object while this same call in modin.pandas produces an np.ndarray object. These objects have different methods, and as such, the implementation breaks.
Source code / logs

Traceback (most recent call last):
File "deeplearning/RecSys2020/02_ModelsCompetition/XX_Ensemble/Ensemble.py", line 77, in
sub.retweet = (1-wt2[0]) * sub.retweet.values + wt2[0] * sub0.iloc[:,2].values
AttributeError: 'numpy.ndarray' object has no attribute 'values'

Hi @aunell1 , thanks for the report! I guess the error either occurs earlier or when calling sub0.iloc[:,2].values because the following snippet works as it should.
import modin.pandas as pd
df = pd.DataFrame({"a": [1,2], "b": [3,4]})
df.a
0    1
1    2
Name: a, dtype: int64
df.a.values
array([1, 2], dtype=int64)
df.b
0    3
1    4
Name: b, dtype: int64
df.b.values
array([3, 4], dtype=int64)

Can you clarify the place of the error, please?

It would appear that the operations produce an np.ndarray, but in stock pandas, when this new array gets assigned to sub.retweet, future references to sub.retweet still are of the type series but in modin.pandas, future references are of the type np.ndarray.

@aunell1 , thanks for clarification! I can see the issue on master. We will look into it.
import modin.pandas as pd
df = pd.DataFrame({"a": [1,2], "b": [3,4]})
df.a
0    1
1    2
Name: a, dtype: int64
df.a = np.arange(2)
df.a
array([0, 1])

@aunell1 , as a workaround for now you can replace appealing to a DF column via .retweet to ["retweet"], That should work.
import modin.pandas as pd
import numpy as np
df = pd.DataFrame({"a": [1,2], "b": [3,4]})
df["a"] = np.arange(2)
df["a"]
0    0
1    1
Name: a, dtype: int32

Resolved by #4621


Home Page And Other Pages Edits

Home Screen

QR Configuration Static

QR Configuration Supplier

Working On This:
I am going to write a script to test the UI, with different inputs and data. I just realized that the UI might have problems when the input data scales. Then I will fix the UI issues.

New Offer Modal

Place New Bid Modal

Add New QR Code Modal

View Bid and View Offer Modals

Edit Configuration Modal Landscape

View Configuration Modal Landscape

Add New QR Code Attribute

Add New Produce Modal Header - produce.ejs

Edit Produce Modal Header - produce.ejs

Edits Produce Price Modal Header - produce_price.ejs


[WIP] Better CLI

related to #250
Example usages:
$ ./bin/pythainlp --help
usage: pythainlp [-h] command

positional arguments:
  command     [corpus|tokenization|soundex]

optional arguments:
  -h, --help  show this help message and exit

$  ./bin/pythainlp tokenization word  --text "ผมร<0e31>กประเทศไทย? สามารถ" --engine newmm
Using engine=newmm
ผม|รัก|ประเทศไทย|?| |สามารถ

$ ./bin/pythainlp tokenization syllable  --text "ผมร<0e31>กประเทศไทย? สามารถ"
Using engine=ssg
ผม~รัก~ประ~เทศ~ไทย~? ~สา~มารถ

$ ./bin/pythainlp soundex  --text "บ<0e39>รณการ" --engine lk82
บE419

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

In the file pythainlp/cli/__init__.py:

Line 2:27: W292 no newline at end of file

In the file pythainlp/cli/corpus.py:

Line 5:1: E302 expected 2 blank lines, found 1
Line 9:13: E128 continuation line under-indented for visual indent
Line 10:13: E128 continuation line under-indented for visual indent
Line 11:9: E124 closing bracket does not match visual indentation
Line 14:13: E128 continuation line under-indented for visual indent
Line 15:13: E128 continuation line under-indented for visual indent
Line 16:9: E124 closing bracket does not match visual indentation

In the file pythainlp/cli/tokenization.py:

Line 5:1: E302 expected 2 blank lines, found 1
Line 9:13: E128 continuation line under-indented for visual indent
Line 10:13: E128 continuation line under-indented for visual indent
Line 11:9: E124 closing bracket does not match visual indentation
Line 14:13: E128 continuation line under-indented for visual indent
Line 15:13: E128 continuation line under-indented for visual indent
Line 16:9: E124 closing bracket does not match visual indentation

Coverage decreased (-1.8%) to 91.757% when pulling 57e5a59507042df6dc385a8cc20febf259292fff on cli-improvement into 0dd822f39349131d9c6b640c150410881805d802 on dev.

Colab : https://colab.research.google.com/drive/1HQ8cK_SnVaGmxHCblffmZg_nsJVsbks6

Can you add Part-of-Speech (POS) tags ?

Sure! My local code was outdated, so that was why I didn't implement POS. I'm going to fix it.

POS added.
./bin/pythainlp tagging pos --text "ผม|ไม่|กิน|เผ็ด"

@wannaphongcom What do you think if we slightly change the interface of commands requiring text?
In particular, it would be better if these commands receive a file instead of just a text, and write a result into another file. For example,
./bin/pythainlp tagging pos --input some text.txt \
 --output pos-tagged.txt \
 --engine ...

./bin/pythainlp tokenization word --input some text.txt \
 --output tokenised-word.txt \
 --engine ...

IMHO, this is the way I would use CLIs.

@heytitle I agree. It will greatly facilitate the use of the CLIs.

Do you happen to know how many people use PyThaiNLP's CLI?
I'm wondering whether we should create another PR for the receiving input as a file feature.
What do you think?

@heytitle I not know number of CLI users.  I agree.  We should create PR for the receiving input as a file feature.

Now, Can i merge this pull request?

@wannaphongcom  yes


[Feature Request] Flag To Automatically Place Files In Subfolders

Requesting the ability for Youtube-dl to automatically place files in subfolders.
For example, if I download a playlist of 300 videos, it downloads video.mkv and thumbnail, then goes onto the next. Instead of just moving on, it would create then move the file to a subdirectory titled the same as the file itself root/video/video.mkv, thumb.jpg.
Otherwise it just dumps all 300 videos + thumbnails (so 600 files) into the root directory (where you download). You then have to manually go make the subfolders which is EXTREMELY tedious manually. Maybe there's an automated way to do it, or a shell script, but it would be amazing to have this built in as a simple flag.

Read FAQ on output template.


custom claims not return in userinfo endpoint

Describe the issue:
In the wso2 identity server, 5.10.0 WUM updated pack, the added custom claims to the JWT token using the Default Token Issuer is returned in the response of token endpoint but not in userinfo endpoint.
In the fresh pack, it is working as expected.
How to reproduce:

Create a secondary user store  (UniqueIdJDBC)
Create a custom local claim called http://wso2.org/claims/nationality.
Create a custom OIDC claim (Add External Claim) by mapped the above created local claim. Give External Claim Uri as 'nationality'
Add a custom claim to ID token (Select the claim 'nationality' from the drop-down menu while Add OIDC Claim)
Configure OAuth/OpenID Connect and configure the claim configurations with the created local claim as Requested Claims and mark it as Mandatory Claim
Create a user in secondary user store and have value for the custom claim.
Invoke the token endpoint with created OIDC scope (say sample)

curl -u : -k -d "grant_type=password&username=&password=" -H "Content-Type:application/x-www-form-urlencoded" https://localhost:9443/oauth2/token?scope=openid+sample

Invoke the userinfo endpoint

curl --location --request GET 'https://localhost:944/oauth2/userinfo?scope=openid+sample'
--header 'Authorization: Bearer access_token'

This will return the response as follows:
{
"sub"<EMAIL_ADDRESS>}
Expected behavior:

It should return the custom claim as well
{
"nationality": "SL",
"sub"<EMAIL_ADDRESS>}
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
5.10.0 latest wum pack
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

This issue has been introduced with the fix for https://github.com/wso2/product-is/issues/8217
username = accessTokenDO.getAuthzUser().getUserName();
...
Map<String, String> userClaims = userstore.getUserClaimValues(MultitenantUtils.getTenantAwareUsername
                (username), claimURIList.toArray(new String[claimURIList.size()]), null);

We have not used the fully qualified username here and it always tired to fetch user claims from the primary domain.

Fixed with

https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1396
https://github.com/wso2-extensions/identity-inbound-auth-oauth/pull/1405


Multi-line messages make last entry on screen not display properly

The message display renders correctly if there only are single-line messages in it.
If there is at least one multi-line message, however, the display will not always render the bottom-most element. Example screenshot attached. Notice the dark-grey region at the bottom of the messages pane; that region should display the first line of a partially-visible log message. The bottom-most message begins displaying when the invisible section is less than 1 line of text in height.

Once we fix https://github.com/bbbscarter/UberLogger/issues/13 all messages will be single-line, and this visual glitch will no longer show.

This will be fixed by #21.


Fix travis file to get OE_LICENSE working

@jmaat or @vtlim tests are passing now, so the travis file is finally correct, could one of your merge this and then @jmaat you should pull the changes into master.


[AMBARI-23726] Mpack Installation Response is not Updating State - missed commit

What changes were proposed in this pull request?
Missed two changed files for AMBARI-23726
How was this patch tested?
Compiled and ran unit tests.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/2076/
Test FAILed.
Test FAILured.


RD needs to fail gracefully on WSL-less Windows

On a Windows 10 VM, I uninstall wsl and ran npm run dev. I get a message box saying Error Starting Kubernetes with a smaller line spanw wsl.exe ENOENT.
The second line should be translated to something friendlier like It looks like WSL (the Windows Subsystem for Linux) is not installed.  See <link to instructions on installing it>. and then the app should shut down.
Even worse
I can't quit the (debug) app by right-clicking PC Cow and selecting Quit Rancher Desktop, probably related to this output:
2: Child exited with code undefined
Kubernetes was unable to start with exit code: undefined

The Even worse section is related to #258, combined with Electron not letting you interact with the tray while the dialog box is up (presumably because they have blocked the main message queue while the dialog box is up, so the JS can't handle the tray icon menu or something).  Going to ignore that for this PR.

I have a branch with this work, but it makes no sense to merge it before #261 - it changes approximately the same code.


Add sklearn 1.4 version to CI matrix

Sklearn has recently released 1.4 into conda/pip and the CI matrix should be updated.

#1640 has the fix for the lof test fail in it.

#1640 has the fix for the lof test fail in it.

Is it possible to move that fix into separate branch and merge it asap?

#1640 has the fix for the lof test fail in it.

@icfaust Is it possible to move that fix into separate branch and merge it asap?

#1640 has the fix for the lof test fail in it.

@icfaust Is it possible to move that fix into separate branch and merge it asap?

Will do.

PR #1657 has now been added to this PR, passes tests here and will now be closed.

Looks like the last test failure is due to dual="auto" in this: https://github.com/scikit-learn/scikit-learn/blob/1.4.X/sklearn/svm/tests/test_svm.py#L669
older versions of sklearn do not have this in the test

It looks like [svm/tests/test_svm.py::test_auto_weight] is an RNG fail as the random_seed isn't set in the test for SVC or LogisticRegression, and the value has likely changed due to additional tests.

/intelci: run


Upgrade React 16 - FINAL

Description of changes
Added commands to clean node_modules in the Docker Image as well as the CI build. Went through a merge conflict from hell, and just need to add the Dockerfile to this PR. The package.json and yarn.lock are correct.
Issue Resolved
Fixes #510 and #532

Confirmed that this will remove the node_modules folder.
https://travis-ci.org/OperationCode/operationcode_frontend/builds/282092720#L529


[ui] vpn -> alternating icons looks messy

The alternating locked, unlocked icons give the sub menu a messy look.
Maybe just use the same (locked?) icon for all?

The idea behind that is to distinguish between "secure" and "insecure" VPNs, i.e. VPNs that use strong encryption and authenticity, and VPNs that don't. See also #807.

Yes, fixing the alignment is probably all that's needed.

Has been reordered (2x locked, 2x unlocked) by @fabianfrz .  Closing. Thanks!

@fichtner @fabianfrz  Regaring unified icon size, I just stumbled upon the fixed with icon class of FontAwesome: fa-fw.

Looks very good, this should be in all submenus :)
(not the top menu, it still has a glyphicon)

Pushed, many thanks to @8191

nice... :)


Bitcoin Price Prediction

ML-Crate Repository (Proposing new issue)
:red_circle: Project Title : Bitcoin Price Prediction
:red_circle: Aim : Create a ML model which will predict the prices of the Bitcoin.
:red_circle: Dataset : https://www.kaggle.com/vikramjeetsinghs/bitcoin-dataset
:red_circle: Approach : Try to use 3-4 algorithms to implement the models and compare all the algorithms to find out the best fitted algorithm for the model by checking the accuracy scores. Also do not forget to do a exploratory data analysis before creating any model.
Hello, ML-Crate contributors, this issue is only for the contribution purposes and allocated only to the participants of SWOC 2.0 Open Source Program.

📍 Follow the Guidelines to Contribute in the Project :

You need to create a separate folder named as the Project Title.
Inside that folder, there will be four main components.

Images - To store the required images.
Dataset - To store the dataset or, information/source about the dataset.
Model - To store the machine learning model you've created using the dataset.
requirements.txt - This file will contain the required packages/libraries to run the project in other machines.

Inside the Model folder, the README.md file must be filled up properly, with proper visualizations and conclusions.
A Demo Project has been created to guide you about the whole structure of presenting the Project in this repository. Here's the link of the Demo Project - https://github.com/abhisheks008/ML-Crate/tree/main/Project-Demo-Folder

:red_circle::yellow_circle: Points to Note :

The issues will be assigned on a first come first serve basis, 1 Issue == 1 PR.
"Issue Title" and "PR Title should be the same. Include issue number along with it.
Follow Contributing Guidelines & Code of Conduct before start Contributing.
This issue is only for 'SWOC' contributors of 'ML-Crate' project.

:white_check_mark: To be Mentioned while taking the issue :

Full name :
GitHub Profile Link :
Participant ID :
Approach for this Project :
Are you a participant of SWOC 2.0?

[ ] YES
[ ]  No

Happy Contributing 🚀
All the best. Enjoy your open source journey ahead. 😎

Full name: Tandrima Singha
GitHub Profile Link: https://github.com/tandrimasingha
Approach for this Project: Creating an ML model which will predict the prices of Bitcoin using regression algorithms.
What is your participant role?
[x]SWOC 2.0 Participant.
[x]JWOC 2022 Participant.
[x]Contributor

Full name: Tandrima Singha
GitHub Profile Link: https://github.com/tandrimasingha
Approach for this Project: Creating an ML model which will predict the prices of Bitcoin using regression algorithms.
What is your participant role?


Make it clear that semconv metric attributes can be extended by users

Context: https://github.com/open-telemetry/opentelemetry-js/issues/5051
In OTel JS, there are users requesting mechanisms to "extend" HTTP server metrics with custom attributes. The SIG was a bit unclear if this was something that would be "allowed" IRT to these metrics being defined by OTel and emitted by official OTel instrumentations.
During the semconv SIG meeting on 10-14-2024, we discussed it and the agreement of the group was that yes, users should be allowed to do that and in fact, we already allow for that today, via Views and such.
There's still the philosophical question/topic of: instrumentations that emit telemetry following OTel semconv, also publishes the schema version and what happens then if we allow users to modify? But this again, is already a problem today with views and such. So, semconv officially 'allowing' this, won't open up for new problems.
Given that, we should add some wording that explicitly mention that adding custom attributes to semconv metrics is fine. It just needs to be clear that users must do this themselves and it mustn't be something that is "automatic".

@joaopgrassi hi, I'm new here. If this is a beginner friendly issue can I work on it?

Hi @Annosha hum tricky to say. It needs some context and knowledge of the problem, so I'm afraid not.


Second set of interview questions with the client

Craft second set of questions for group 3 before integrating the questions with the module.


[Feature Request] List windows sensors as Windows Service?

Hello @lukasroegner
In Homebridge UI latest update, it was mentioned that they added the "Window" accessory type.
I performed a quick search in Homekit documentation and I found out that there is a "Windows" Service Type in Homekit.
Wouldn't it make sense to list the Tado's windows sensor as "Windows" rather than "Contact sensors"?

Closing as I understood one can change the way it is displayed in the Home app.


Docs: Updates to README

Who is this PR for?
team
What problem does this PR fix?
This does an update pass on the README and the docs folder.

selfie


Add student school years to data quality check

Notes

Also make IntegrityCheck throw real errors when it hits a problem instead of swallowing them

Should help prevent future issues like #274.

awesome!


Image Automation Controller is reformatting inline blocks in a single line (Flux 2.2.0)

related to https://github.com/fluxcd/image-automation-controller/issues/528
@stefanprodan we just upgraded to Flux 2.2.0 and problem is still occurring.
All our HelmRelease files getting picked up by the Image Automation Controller are getting inline blocks reformatted to single line blocks.
When a HelmRelease manifest has a block configuration like below and is updated by image automation controller, blocks are overwritten as a single line of code making it unreadable. Code blocks should not be reformatted.
For example, this is pipe block
  config: |
    _format_version: "2.1"
    _transform: true
    services:
    - name: example
      url: https://example.org
      routes:
      - name: example
        paths:
        - /example

After image automation controller commit becomes
  config: "_format_version: \"2.1\"\n    _transform: true\n    services:\n    - name: example\n      url: https://example.org\n      routes:\n      - name: example\n        paths:\n        - /example\n"

This behaviour is unexpected, we would like blocks to stay exactly as they were before.

Can you post here flux check for the cluster where you are running image-automation-controller.

 In fact it's when there is a space after a : when non needed in your deployment file.
For example if you have  :
annotations:    something:""
If you have a space after annotations:  flux will commit and add \n everywhere

config: |
_format_version: "2.1"
_transform: true
services:
- name: example
url: https://example.org
routes:
- name: example
paths:
- /example

Please find below a extract of the HelmRelease.
Essentially we have an umbrella chart with couple subcharts, let's say subchart A and subchart B. Subchart A has a inline block config and no image automation markers. Subchart B doesn't have inline block configs but has image automation markers.
When image automation controller picks a change on subchart B, it also changes subchart A inline block config to single line.
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
spec:
  releaseName: <release>
  values:
    subchart-a:
      config: |
        _format_version: "2.1"
        _transform: true
        services:
        - name: example
          url: https://example.org
          routes:
          - name: example
            paths:
            - /example
    subchart-b:
      enabled: true
      image:
        repository: <repo> # {"$imagepolicy": "flux-system:repo:name"}
        tag: <tag> # {"$imagepolicy": "flux-system:repo:tag"}

PS: We also have inline configs in annotations, but those are always kept OK.

@ruiengana do you mixed indentation in your YAML, tabs and spaces? If so, then that will trigger a full reformat.

We may very well have. Isn't that supported? Which one should we adopt to avoid the full reformat, tab or spaces?

I've used tabs to write a test for these issues https://github.com/fluxcd/image-automation-controller/commit/05021967b0b80aea5d7519e542d73238655fc1fd

In our case, the use of space is strictly necessary. Is there any intention to add support for yaml files with tabs and spaces mixed?

Is there any intention to add support for yaml files with tabs and spaces mixed?

No, this restriction comes from Kubernetes Go YAML package, Flux does not uses it's own YAML formatter.

@cimillas I suggest moving the subchart-a values to a ConfigMap, and use valuesFrom, this way you can format the HelmRelease properly.

Reformat which causes merge multiple line to one line is still being triggered if there is space/whitespace at the end of any line, so make sure you don't have it to avoid this issue


stuff for orthosie testnet release

Preparing the allocations etc for the next testnet, comment if anything looks odd
Towards #452

LGTM!


set default_process_limit to a simple value

This is the simplest way to unbreak readable_bash.py.  With this change, it runs to completion and good docs are generated.
I'm not sure about a heuristic based on the number of cores anyway...  My 8GB dedicated box shows 2 cores and my 1GB VPS shows 4.
This PR is speculative.  If you do want to keep the computation, I can try to figure out how to make modgrammar happy with the $(...) construct.  But it's going to take longer.  :)

wtf, meant to be against mail-in-a-box/mailinabox


the error when i build the project

Hi
When i build the project using this commond:
catkin build srrg_proslam
The first 6 packages have built successfully,but when it built the 7th package,
it will have a error:
`Errors     << srrg_proslam:cmake /home/crf/slam/pro/catkin_ws_pro/logs/srrg_proslam/build.cmake.005.log
srrg_proslam|build type: 'RELEASE'
srrg_proslam|adding flags for 'RELEASE': '-std=c++11 -Wall -Werror -pedantic -Ofast -DNDEBUG'
srrg_proslam|using Eigen version: '3' (/usr/include/eigen3)
srrg_proslam|using ROS version: 'melodic' (building nodes)
srrg_proslam|using ROS OpenCV version: '3.2.0' (ROS)
srrg_proslam|xfeatures2d library not found, using ORB instead of BRIEF descriptors
srrg_cmake_modules|searching for g2o in: /home/crf/source/libraries/g2o
srrg_cmake_modules|g2o not found
srrg_proslam|found CMake 3+: assuming new g2o ownership model
srrg_proslam|using catkin g2o
CMake Error at /opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:305 (message):
catkin_package() include dir 'CSPARSE_INCLUDE_DIR-NOTFOUND' does not exist
relative to '/home/crf/slam/pro/catkin_ws_pro/src/srrg_proslam'
Call Stack (most recent call first):
/opt/ros/melodic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package)
CMakeLists.txt:177 (catkin_package)
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CSPARSE_INCLUDE_DIR
used as include directory in directory /home/crf/slam/pro/catkin_ws_pro/src/srrg_proslam
`
how can i solve this problem?
thank you very much

I fixed it with:
sudo apt-get install libsuitesparse-dev

Thank you for your reply.
But after solved this problem，another problem arised.
The following is the error：
Errors     << srrg_proslam:make /home/crf/slam/pro/catkin_ws_pro/logs/srrg_proslam/build.make.006.log
/home/crf/slam/pro/catkin_ws_pro/devel/.private/srrg_proslam/lib/libsrrg_proslam_map_optimization_library.so: undefined reference to g2o::csparse_extension::cs_chol_workspace(cs_di_sparse const*, cs_di_symbolic const*, int*, double*)' /home/crf/slam/pro/catkin_ws_pro/devel/.private/srrg_proslam/lib/libsrrg_proslam_map_optimization_library.so: undefined reference to g2o::csparse_extension::writeCs2Octave(char const*, cs_di_sparse const*, bool)'
/home/crf/slam/pro/catkin_ws_pro/devel/.private/srrg_proslam/lib/libsrrg_proslam_map_optimization_library.so: undefined reference to `g2o::csparse_extension::cs_cholsolsymb(cs_di_sparse const*, double*, cs_di_symbolic const*, double*, int*)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/crf/slam/pro/catkin_ws_pro/devel/.private/srrg_proslam/lib/srrg_proslam/srrg_proslam_app] Error 1
make[1]: *** [executables/CMakeFiles/srrg_proslam_app.dir/all] Error 2
make: *** [all] Error 2
I am a green hand，thanks for your patient.
------------------ 原始邮件 ------------------
发件人<EMAIL_ADDRESS>发送时间: 2020年3月15日(星期天) 中午12:17
收件人<EMAIL_ADDRESS>抄送: "陈瑞锋"<765886113<EMAIL_ADDRESS>主题: Re: [NamDinhRobotics/proSLAM] the error when i build the project (#1)
I fixed it with:
sudo apt-get install libsuitesparse-dev
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.


Support for multiple-instance types mapped into partitions

We are using parallelcluster w/ slurm, but have a requirement for multiple ComputeFleets that are mapped into slurm partitions, so we can distribute the various kinds of jobs.
Yes, we could use multiple clusters, but this is dissimilar to our existing non-cloud environment, and is considered unacceptable overhead.

@steveisoft Thanks for the feature request!

Duplicate of https://github.com/aws/aws-parallelcluster/issues/1066


Texas Appleseed Award Post

@mscarey, can you give this a look over before I merge? I took a lot of the language straight from the dinner program.

Looks good!


enable_splink() in databricks fails

What happens?
A change in Databricks has broken the enable_splink() call to auto attach the jar.
I would suggest yanking the enable_splink() calls in the spark linker.py at lines 182, 183, 184
To Reproduce
Run Splink in Databricks.
OS:
Databricks
Splink version:
3.7.9
Have you tried this on the latest master branch?

[X] I agree

Have you tried the steps to reproduce? Do they include all relevant data and configuration? Does the issue you report still appear there?

[X] I agree

closing as this can be solved by using a different runtime.

Hey Robert, thanks for this.  Unfortunately we don't have access to databricks but I know that others have struggled with this.  I wondered if you would be willing just to add just a little bit more detail about how you solved this - how do you change the runtime and databricks and what runtime works for you?
Thanks so much!

yes, was going to PR but this is a better fix - we just need to add to the docs that it requires 12.2LTS ML DB Runtime.


Fix greek - locale was missing, strings regenerated

This PR adds the 'el' (Greek) locale to i18n, which then allows correct generation of translate strings.  No new translations, just fixing the missing locale.

Hello @nikostzoras and @paligiannis !
I fixed the missing locale for Greek translations, which should (once merged) allow the already present translations to appear for you.  If you'd like to add the translations for search.json and a few missing strings in the other json files, that'd be great!

Thanks @nikostzoras for working on this.


Work on general purpose JSONB support

Note to self: add the things that the simplified, eJSON path doesn't support.


TypeError: Can't instantiate abstract class SqliteDatabase with abstract methods get_tick_overview

环境

操作系统: Linux Deepin
Python版本: Python 3.8.5
VeighNa版本: VNPY 3.3.0

Issue类型   Bug
Faile to import cython option pricing model, please rebuild with cython in cmd.
Traceback (most recent call last):
  File "run.py", line 99, in <module>
    main()
  File "run.py", line 76, in main
    main_engine.add_app(CtaStrategyApp)
  File "/home/william/miniconda3/lib/python3.8/site-packages/vnpy/trader/engine.py", line 101, in add_app
    engine: BaseEngine = self.add_engine(app.engine_class)
  File "/home/william/miniconda3/lib/python3.8/site-packages/vnpy/trader/engine.py", line 72, in add_engine
    engine: BaseEngine = engine_class(self, self.event_engine)
  File "/home/william/miniconda3/lib/python3.8/site-packages/vnpy_ctastrategy/engine.py", line 110, in __init__
    self.database: BaseDatabase = get_database()
  File "/home/william/miniconda3/lib/python3.8/site-packages/vnpy/trader/database.py", line 158, in get_database
    database = module.Database()
TypeError: Can't instantiate abstract class SqliteDatabase with abstract methods get_tick_overview

重现步骤
vnpy/examples/veighna_trader$ python run.py

请升级核心库到3.3.0版本接口
pip install vnpy --upgrade

Already upgraded to 3.3.0
Requirement already satisfied: vnpy in /home/william/miniconda3/lib/python3.8/site-packages (3.3.0) Requirement already satisfied: pyqtgraph in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (0.12.3) Requirement already satisfied: ta-lib in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (0.4.24) Requirement already satisfied: plotly in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (5.5.0) Requirement already satisfied: qdarkstyle in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (3.0.3) Requirement already satisfied: numpy in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (1.21.5) Requirement already satisfied: pyzmq in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (22.3.0) Requirement already satisfied: matplotlib in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (3.5.1) Requirement already satisfied: pandas in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (1.3.5) Requirement already satisfied: seaborn in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (0.11.2) Requirement already satisfied: PySide6 in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (6.2.3) Requirement already satisfied: tzlocal in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (4.2) Requirement already satisfied: deap in /home/william/miniconda3/lib/python3.8/site-packages (from vnpy) (1.3.3) Requirement already satisfied: pyparsing>=2.2.1 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (2.4.7) Requirement already satisfied: kiwisolver>=1.0.1 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (1.3.1) Requirement already satisfied: cycler>=0.10 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (0.10.0) Requirement already satisfied: python-dateutil>=2.7 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (2.8.1) Requirement already satisfied: pillow>=6.2.0 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (8.0.1) Requirement already satisfied: fonttools>=4.22.0 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (4.33.3) Requirement already satisfied: packaging>=20.0 in /home/william/miniconda3/lib/python3.8/site-packages (from matplotlib->vnpy) (20.8) Requirement already satisfied: pytz>=2017.3 in /home/william/miniconda3/lib/python3.8/site-packages (from pandas->vnpy) (2020.5) Requirement already satisfied: tenacity>=6.2.0 in /home/william/miniconda3/lib/python3.8/site-packages (from plotly->vnpy) (8.0.1) Requirement already satisfied: six in /home/william/miniconda3/lib/python3.8/site-packages (from plotly->vnpy) (1.15.0) Requirement already satisfied: shiboken6==6.2.3 in /home/william/miniconda3/lib/python3.8/site-packages (from PySide6->vnpy) (6.2.3) Requirement already satisfied: qtpy>=1.9 in /home/william/miniconda3/lib/python3.8/site-packages (from qdarkstyle->vnpy) (2.1.0) Requirement already satisfied: scipy>=1.0 in /home/william/miniconda3/lib/python3.8/site-packages (from seaborn->vnpy) (1.5.4) Requirement already satisfied: pytz-deprecation-shim in /home/william/miniconda3/lib/python3.8/site-packages (from tzlocal->vnpy) (0.1.0.post0) Requirement already satisfied: backports.zoneinfo in /home/william/miniconda3/lib/python3.8/site-packages (from tzlocal->vnpy) (0.2.1) Requirement already satisfied: tzdata in /home/william/miniconda3/lib/python3.8/site-packages (from pytz-deprecation-shim->tzlocal->vnpy) (2022.1)

更新vnpy_sqlite 之后解决了。
有没有脚本可以把这些vnpy插件一起更新？  因为实在太多了

更新vnpy_sqlite 之后解决了。 有没有脚本可以把这些vnpy插件一起更新？ 因为实在太多了

VeighNa Studio中的Station提供了环境管理维护的功能，包括【一键更新】等


Shader Model 6 tutorial

Need to add a tutorial topic on the basics of SM6 and using DXC.EXE with DirectX Tool Kit for DX12

Building SM 6 shaders with CompileShaders.cmd
Building SM 6 shaders with Visual Studio HLSL properties
Building SM 6 shaders using DXC API
Internal vs. external debug symbols
Simple shader reflection

All there is so far is this

Started the doc page here


fix(sdk-adapter): upgrade to ^1.64.0

Updated adapter version to latest and verified that widget-spaces and widget-recents widgets are working correctly.

Tested demo page widgets for recent with all options checked.
Tested demo page spaces with options checked.

This doesn't look good at all. Did you add the components CSS? You also need to add the class wcx-theme-light to the widget meet (or whichever is the parent div for where the components render)

Should the consumer of the component set the base theme class?

This doesn't look good at all. Did you add the components CSS? You also need to add the class wcx-theme-light to the widget meet (or whichever is the parent div for where the components render)

Should the consumer of the component set the base theme class?

Also for the css variables theming, there should be fallback colors incase browsers that do not support CSS vars.

This PR updates adapter and fixes styling issues when upgrading.

You missed this update on the meeting object setup

Fixed


docs(website): move datasync docs to the new website layout

Just minor comments, Thanks!

Thanks, and well spotted.


added isJson method

Coverage increased (+0.02%) to 96.782% when pulling d8ed9571ebbcbb280501f74f79a00a6942efbfa4 on szymonskirgajllo:master into 5b60fd49873e72c83604d14c65525000776ee929 on jashkenas:master.


Fix user-agent & iOS Crash

Current implementation for setting User-Agent was case sensitive so user-agent didn't work
Tested Google Sign In on both iOS & Android
Also fixes a crash on iOS caused by bottomPadding being null

/claim #66

I also can test this these days and see if the Issue is gone for me.


Will it ever be possible for the update function to update the options of the chart as well?

Hi,
i'm looking to switch between a regular bar chart and a stacked bar chart on the fly. At the moment this is only possible by destroying and re-creating the chart but this causes a flicker when doing so (as the chart is essentially being removed and put back onto the web page). I thought it would be much more efficient to be able to update the options seeing as we are only looking to toggle stacked and the title of the chart. Just wondering if this will ever be possible?
Thanks

@dibsyjr1 this is not currently supported in either version 1 or version 2. It should be possible, the most annoying thing would be the performance decrease caused by re-merging the config with the global config.

Hi, thanks for the reply.
I understand that it would cause a performance decrease. Was just thinking you could have a prototype method (hardUpdate for example) that people can choose to call as an alternative to the update function, which would as a result update the entire chart, including options. Kind of like how when update is called, render is subsequently called, but instead it'd be hardUpdate, calling update which in turn calls render (so hardUpdate would only contain the required code to update the options). Just so the functionality is there if someone were to require it without forcing the performance decrease on everyone who wanted to call update.
Thanks again :)

Yup, I think we can provide this functionality though it won't make the 2.0.0 release

Okay that's cool, thanks very much

Why not just add another function for this? And don't use update() as God-function, but divide it by steps, or even remove it leaving something like updateConfig(), updateData() and render().


IntervalNode.range should be Range | null

Unfortunately, this is not feasable due to IModelDecoration.range being not-null.


update ALPINE JENKINS_VERSION to 2.60.3

just upgrading the jenkins version to 2.60.3

both should need to be updated to 2.60.3

@carlossg will do! update incoming

@carlossg done, and done :)

trigger docker-hub build, thanks


Capitalize node.buffer-option

Since webpack 1.5 the casing of buffer has been changed to Buffer (because it refers to the global Buffer variable)

@jhnns Thank you!

Actually you might not need this anymore since you depend on new version of qs that doesn't use Buffer.


Office Add In - customize tabs/menu dynamically ERROR!!!

I tried to add a custom tab in Microsoft 365 Word using a project created using yo and I get a big error. I tried on an Excel and it works, but in a Word document I get this error:

My code is:

This is the Office Javascript API that I use:

Ok. Thank you for your answer.
But aren't there other technologies (.NET, etc) that I can use to create custom tabs and dynamic command buttons for a Word document?


Remove space from IlpOverHttpConstants.BEARER

The constant IlpOverHttpConstants.BEARER should not have a space in it. The only usage is in IlpOverHttpLink, which should insert a space near line 244.

I will fix it.

Hi @Sjshekhar that sounds great! Please submit a PR at your convenience.


[WIP] Onnx export API optional args and additional operator support

Description
ONNX export api takes optional arguments out_label and out_shapes
Adding operators - LogisticRegressionOutput, MakeLoss, BlockGrad, _rminus_scalar, r_div_scalar, identity
https://github.com/apache/incubator-mxnet/issues/12925
WIP - Need to add:

Test Cases for additional operators
Test case for multiple output model
Add comments

Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[ ] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

@mxnet-label-bot [ONNX, pr-work-in-progress]

@Roshrini please add

Fixes https://github.com/apache/incubator-mxnet/issues/12682

in the PR description to automatically close the issue when PR is merged.

@Roshrini thanks for you contribution. There appears to be build failure could you take a look?

@Roshrini ping again to address CI and description

Will update and create new PR


Another round of pylint fixes

Getting close to what I can fix...

@ticoann please review. Should be OK with this missing import fixed. Once you approve, I will squash.

Eric, patch looks good to me. Could you squash the commit?

Done. Please merge


Add feedback command.

A command for giving feedback to developers/sysadmins.

This should probably wait for #38.


osmium craches with gdb

where I try to run osmium tags-filter planet-latest.osm.pbf wr/highway=path -o highways.pbf (osmium-tool v1.7.1-1), it works fine.
however, when I run the same command from gdb or run osrm-extract -p oma-car.lua planet-latest.osm.pbf (see, OSRM v5.12 - this one says it's out of memory) libosmium fails with
Thread 5 "_osmium_pbf_in" hit Catchpoint 1 (exception thrown), 0x00007ffff6ff1bad in __cxa_throw () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
bt is
#1  0x00005555555d430f in osmium::io::detail::PBFParser::read_from_input_queue[abi:cxx11](unsigned long) ()
#2  0x00005555555d9d40 in osmium::io::detail::PBFParser::parse_data_blobs() ()
#3  0x00005555555e4e73 in osmium::io::detail::PBFParser::run() ()
#4  0x00005555555f95be in osmium::io::Reader::parser_thread(osmium::thread::Pool&, std::function<std::unique_ptr<osmium::io::detail::Parser, std::default_delete<osmium::io::detail::Parser> > (osmium::io::detail::parser_arguments&)> const&, osmium::thread::Queue<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, osmium::thread::Queue<std::future<osmium::memory::Buffer> >&, std::promise<osmium::io::Header>&&, osmium::osm_entity_bits::type, osmium::io::read_meta) ()
#5  0x00005555555f26c9 in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(osmium::thread::Pool&, std::function<std::unique_ptr<osmium::io::detail::Parser, std::default_delete<osmium::io::detail::Parser> > (osmium::io::detail::parser_arguments&)> const&, osmium::thread::Queue<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, osmium::thread::Queue<std::future<osmium::memory::Buffer> >&, std::promise<osmium::io::Header>&&, osmium::osm_entity_bits::type, osmium::io::read_meta), osmium::thread::Pool&, std::function<std::unique_ptr<osmium::io::detail::Parser, std::default_delete<osmium::io::detail::Parser> > (osmium::io::detail::parser_arguments&)>&, osmium::thread::Queue<std::future<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, osmium::thread::Queue<std::future<osmium::memory::Buffer> >&, std::promise<osmium::io::Header>, osmium::osm_entity_bits::type, osmium::io::read_meta> > >::_M_run() ()
#6  0x00007ffff701c72f in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#7  0x00007ffff772a494 in start_thread (arg=0x7ffff4c9e700) at pthread_create.c:333
#8  0x00007ffff6792abf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

there is plenty of RAM (some 10GB still left at peak usage), SWAP is not touched at all. PBF file is the latest from planet.osm.org (36GB) or europe from geofabrik (20GB) or 4GB DACH or 8GB north america file from geofabrik. even small 200MB files fail (but osrm runs fine). I have latest debian testing.
any hints?

Found this in the GDB docs. Maybe it has something to do with interrupted system calls. I just committed a change that tries to handle this case, but I can not test it, because the problem you describe doesn't happen on my system. Please try the newest master and see whether that changes something.
If this doesn't help it would be good if you can find out which exception was thrown at that point.

@MichalPP Anything new here?

upgrade seems to solve it. sorry, my compiling skills are very low... thank you


No Project error during references request

Present in 4.7.4. and main.

git clone https://github.com/mui/material-ui
cd material-ui
git reset --hard 89617ef683d2bcd2c870e9c1bd58ad4d55247fd5
cd ..
npm install @typescript/server-replay
Download replay.txt
npx tsreplay ./material-ui path/to/replay.txt path/to/tsserver.js

replay.txt
{"rootDirPlaceholder":"@PROJECT_ROOT@","serverArgs":["--disableAutomaticTypingAcquisition"]}
{"seq":1,"type":"request","command":"configure","arguments":{"preferences":{"includePackageJsonAutoImports":"off"},"watchOptions":{"excludeDirectories":["**/node_modules"]}}}
{"seq":2,"type":"request","command":"updateOpen","arguments":{"changedFiles":[],"closedFiles":[],"openFiles":[{"file":"@PROJECT_ROOT@/examples/gatsby/src/components/ProTip.js","projectRootPath":"@PROJECT_ROOT@"}]}}
{"seq":3,"type":"request","command":"references","arguments":{"file":"@PROJECT_ROOT@/examples/gatsby/src/components/ProTip.js","line":2,"offset":19}}

Error: No Project.
    at Object.ThrowNoProject (built/local/tsserver.js:167629:23)
    at IOSession.Session.getProjects (built/local/tsserver.js:176152:42)
    at IOSession.Session.getReferences (built/local/tsserver.js:176207:37)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (built/local/tsserver.js:175048:61)
    at built/local/tsserver.js:177179:88
    at IOSession.Session.executeWithRequestId (built/local/tsserver.js:177170:28)
    at IOSession.Session.executeCommand (built/local/tsserver.js:177179:33)
    at IOSession.Session.onMessage (built/local/tsserver.js:177205:35)

On opening the example file, we walk up to the root tsconfig.json, which doesn't obviously exclude the examples file.  Even if it did, it should be in an inferred project?

Fascinating: it is in the root project but the root project's LS is disabled (found more than 20MB of JS?).  Unclear whether there'd be any UI indicator for this state (VS Code might detect it and fall back to partial mode?).

Presumably, it's indicated by this dialog

This is an unhelpful error message, but things are otherwise working as expected.


Add the EDD-Remote-Installer on the admin page

Now that we have an "addons" tab on the admin page, we should implement the edd-remote-installer plugin from https://github.com/aristath/edd-remote-installer and allow for future addons to be downloaded from the press.codes site.

See https://github.com/presscodes/maera/pull/125


Adding IAM parameters to redshift adapter

Describe the feature
I would the arguments to get_cluster_credentials to be added to the dbt profile configuration. In particular DbGroups to allow the temporary user to be added to a group and AutoCreate to allow auto creation of users that do not exist.
Describe alternatives you've considered
Since these are IAM specific configurations the only other alternative is to not use the temporary credentials.
Additional context
This is a feature specifically for redshift users.
Who will this benefit?
This feature will be useful for dbt users who want to use temporary and dynamic credentials with redshift.

Thanks for making this issue @gfeldman!
If you're interested in contributing a code change for this feature, the relevant code should be around here:
https://github.com/fishtown-analytics/dbt/blob/40839c79fcf1854942f8db44d1a2648bffe0a2ab/plugins/redshift/dbt/adapters/redshift/connections.py#L39-L57
and here https://github.com/fishtown-analytics/dbt/blob/40839c79fcf1854942f8db44d1a2648bffe0a2ab/plugins/redshift/dbt/adapters/redshift/connections.py#L87-L128
It sounds like we'll just need to state these two configs (DbGroups and AutoCreate) in the set of whitelisted RedshiftCredentials, then pass them through to boto_client.get_cluster_credentials.


Add Deep Linking (plugins)

Closes #697
Initial implementation of adding deep linking to Kap, as discussed in #785
Will be updating kap-dropbox to test this PR's build

The kap-dropbox plugin has been updated to use the deep linking functionality and it worked as expected.
https://github.com/karaggeorge/kap-dropbox
I've undeprecated it, but set minimum version to 3.0.2 since it won't work with the current released version. Once this is released it can be used in Kap

@jsejcksn I think this will simplify authentication for you as you could probably use: https://developers.gfycat.com/api/#browser-based-authentication

@sindresorhus Thanks. It looks like the gfycat browser auth flow still requires utilizing a registered API key (client_id). Does Kap provide the default API keys for plugins?

I've undeprecated it, but set minimum version to 3.0.2

Nitpick, but this is a new feature, so the Kap version would be 3.1.0.

It looks like the gfycat browser auth flow still requires utilizing a registered API key (client_id). Does Kap provide the default API keys for plugins?

I'm not sure. I guess we could register a client_id or you could.

I'm not sure. I guess we could register a client_id or you could.

I can register one, but I think it's better for user trust if the Kap project owner is the one managing the default API keys. I suppose that would need to be a part of the process of integrating each new service as a plugin.

I don't think it's a bad thing for the plugin owner to register the API keys. The whole point about having support for plugins is that the community can create them independent from Kap's team. Similar to how if there was an issue with the plugin, the issue would open in that repo and not this one (not controlled by the Kap team). We love to help with developing and debugging the plugins as much as possible, but I don't know if we have a central locations that we would manage API keys

@sindresorhus this should be good after it's built

We love to help with developing and debugging the plugins as much as possible, but I don't know if we have a central location that we would manage API keys

So if a plugin author wants to contribute a plugin that requires API keys, but does not want to be associated to unknown user activity by providing an API key with the plugin, should the author simply leave the fields required and empty?

I don't think it's a bad thing for the plugin owner to register the API keys. The whole point about having support for plugins is that the community can create them independent from Kap's team. Similar to how if there was an issue with the plugin, the issue would open in that repo and not this one (not controlled by the Kap team). We love to help with developing and debugging the plugins as much as possible, but I don't know if we have a central location that we would manage API keys

I agree, but we should definitely document that fact in the plugins docs.

So if a plugin author wants to contribute a plugin that requires API keys, but does not want to be associated to unknown user activity by providing an API key with the plugin, should the author simply leave the fields required and empty?

I think we are confusing two different things here. If the user needs an API key to make the upload, then there's two ways to obtain that (usually):

They generate and find an API key themselves. In which case, you can add the API key as a required and empty field with instructions on where to get it. The user will see a message saying the plugin requires configuration.
There's an OAuth flow of some sort, in which case when the plugin runs, you can check if you have the key, and if not trigger the browser flow. On return, save that key in the config without the user ever seeing or having to enter it.

For the latter, most OAuth APIs required a registered "App". This app has a client and secret key used for the code <-> token exchange. Those client/secret keys should be maintained by the author of the plugin.
The API keys (or tokens) should only be maintained in the app locally (either by the user or the plugin), but not by the author or the Kap team.
For an example of the first flow you can look at kap-giphy, and for an example of the second flow check kap-dropbox
I hope this makes sense 😄

@karaggeorge Almost forgot, this will need some docs additions too.

@sindresorhus Added 😄

If you want I can create a new repo, and try to explore the browser api of gfycat, and how it would work, so I can get a much more detailed flow

The gfycat browser auth uses the second flow described above, which requires registering an "app" with them to obtain a client_id that it uses in the auth requests.
Alternatively, a user can generate an id and secret (which is how the plugin works now).
I do not want to have any connections with the use of the plugin beyond the code that I write for it. I simply want to contribute the functionality of the plugin because I like Kap.

which is how the plugin works now

@jsejcksn I think that's fine. Especially since the deep linking flow is not released yet. If you don't mind, I can open a PR with the OAuth flow after we release the deep linking feature, and I can generate the app keys myself

If you don't mind, I can open a PR with the OAuth flow after we release the deep linking feature, and I can generate the app keys myself

I'd like that. I anticipate that it will be an improved experience in two ways:

the user won't have to generate keys, and
the current auth flow doesn't associate uploads to the user's account unless a username/password are provided that match the account which generated the keys (and I don't think that's a good idea #637)

Can you fix the Yarn conflict?

🕺✨


[BUG] lsp-ui flycheck checker stops working after save

Describe the issue
lsp-ui flycheck checker stops working after save
When lsp-mode is enabled saving the python buffers causes the linting warnings to disappear
Steps to reproduce

Configure flycheck to check syntax automatically using

(after! flycheck
 (setq
  flycheck-check-syntax-automatically '(mode-enabled save idle-change)))

Use lsp-mode with the microsoft python language server
Make sure to have linting erros like unused variables in python code, note the underlined warnings
Make a random change and save the buffer.
Flycheck does not check errors anymore and the existing warnings disappeared even though you did not fix them
Describe variable flycheck-check-syntax-automatically is now nil

@hlissner  As a workaround how can I permanently disable the lsp-ui checker so that the other checkers like flake8 work fine?

Try
(after! lsp-ui
  (setq lsp-prefer-flymake :none))

cool that seems to have worked.

I also have this issue.
However, I have not configured flycheck to check syntax automatically. Whenever I open a python file, I see all the errors reported. When I modify and save, the errors go away.
Also, the workaround doesn't have any effect for me.

I also tried with pyls and am getting the same behavior

@ashkan-leo I had a similar problem and it turned out that flycheck was calling pylint on opening the file and then it didn't call pyls at all.
I don't know if you're experiencing the same, but you can see what's being run by running ps aux | grep 'pyls' and ps aux | grep 'pylint'` in a terminal.

I am also facing the same issue, where the flycheck errors disappear as soon as I modify the buffer.
My temp workaround is to run M-x flycheck-verify-setup and select a checker for the buffer.
https://www.flycheck.org/en/latest/user/troubleshooting.html
I need to rerun it every time I re-open a buffer though..

Facing the same issue, with Golang

Did anyone found a workaround?

Closing, since this issue is no longer relevant with so many changes to lsp and doom.


@zattoo/publish

Replace zploy with @zattoo/publish. Maybe it gonna work.

@z-merge it

cmon, @z-merge it


New gpg keys for build.ros.org

The keys used to build ROS packages we're swapped in the ROS build farm after a security incident.
The old key 421C365BD9FF1F717815A3895523BAEEB01FA116 should be replaced by the new key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654. The Dockerfile generated by ROSLab should also import that key in order for the image to build.
Thank you for this awesome framework that makes my life easier and for considering this issue. :)

Thank you for pointing it out. I will take care of it as soon as possible.
Glad to know that you use the software ;)

I have updated the keys in the "develop" and "web" branches.
Thanks again!


[INF2][CI] switch the model to pythia

Description
Switch the model to smaller pythia 2.8b

passing test: https://github.com/deepjavalibrary/djl-serving/actions/runs/6398885707


How to tell fleet to manage Units in cloud-config / fleet path to store Units ?

I'm trying the launching containers with fleet guide.
I have added this to my cloud-config in the coreos.units section :
  - name: hello.service
    command: start
    content: |
      [Unit]
      Description=MyApp
      After=docker.service
      Requires=docker.service

      [Service]
      TimeoutStartSec=0
      ExecStartPre=-/usr/bin/docker kill busybox1
      ExecStartPre=-/usr/bin/docker rm busybox1
      ExecStartPre=/usr/bin/docker pull busybox
      ExecStart=/usr/bin/docker run --name busybox1 busybox /bin/sh -c "while true; do echo Hello World; sleep 1; done"
      ExecStop=/usr/bin/docker stop busybox1

docker ps shows that the containers starts
systemctl status report ok for the units

but fleetctl says it doesn't know that unit :
core@core ~ $ docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS               NAMES
eb37786711ca        busybox            /bin/sh -c while t     37 seconds ago      Up 37 seconds                           busybox1

core@core ~ $ fleetctl list-units
UNIT	MACHINE	ACTIVE	SUB

core@core ~ $ fleetctl list-unit-files
UNIT	HASH	DSTATE	STATE	TARGET

The unit file is created in /etc/systemd/system/hello.service
core@core ~ $ sudo systemctl stop hello

core@core ~ $ docker ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

core@core ~ $ fleetctl start hello
Error creating units: unable to find Unit(hello.service) in Registry or on filesystem

So I try with the path to the service file :
core@core ~ $ fleetctl start /etc/systemd/system/hello.service
Unit hello.service launched on ddbd5481.../<IP_ADDRESS>

core@core ~ $ docker ps
CONTAINER ID        IMAGE               COMMAND                CREATED             STATUS              PORTS               NAMES
8c444fe3655f        busybox             "/bin/sh -c 'while t   40 seconds ago      Up 39 seconds                           busybox1

core@core ~ $ fleetctl list-unit-files
UNIT		HASH	DSTATE		STATE		TARGET
hello.service	391d247	launched	launched	ddbd5481.../<IP_ADDRESS>

core@core ~ $ fleetctl list-units
UNIT		MACHINE			ACTIVE	SUB
hello.service	ddbd5481.../<IP_ADDRESS>	active	running

It seems that /etc/systemd/sytem is not the good path and writing unit files in cloud-config session can't make fleet manage this units.
For now, I can't find the how to in the documentation

The misunderstanding here is that you're putting your fleet units (which follow systemd syntax, and may use systemd as an implementation detail) in the area that is under management of systemd itself. systemd then sees these units and dutifully starts them when the machine boots.
What you probably want to do us write them out as a file somewhere outside of systemd's purview, i.e. https://coreos.com/os/docs/latest/cloud-config.html#write_files
Use a path which is somewhere else on the filesystem, not /etc/systemd/system. Then, loading them into fleet becomes the way that you tell fleet about the unit files. These files don't have to be on the machine at all when it boots up!


Add website image to README.md

I've captured the website and added it in the README.md via relative path
PS. This is my very first time pull request to the open source 😅

Hey @bloodzmoon! Thank you for creating the PR.
I am glad that Gitzilla helped you in your very first open source PR :tada: :smile:.
Though I would like to have a few more enhancements -

Adding mobile view screenshot as well.
It will be great if you can add a screenshot template (for mobile and web both) :sweat_smile:
Can refer to this for that - https://www.labnol.org/internet/take-mobile-screenshots/28167/

Hey @bloodzmoon! Thank you for creating the PR.
I am glad that Gitzilla helped you in your very first open source PR :tada: :smile:.
Though I would like to have a few more enhancements -

Adding mobile view screenshot as well.
It will be great if you can add a screenshot template (for mobile and web both) :sweat_smile:
Can refer to this for that - https://www.labnol.org/internet/take-mobile-screenshots/28167/

Hey @bloodzmoon! Thank you for creating the PR.
I am glad that Gitzilla helped you in your very first open source PR 🎉 😄.
Though I would like to have a few more enhancements -

Adding mobile view screenshot as well.
It will be great if you can add a screenshot template (for mobile and web both) 😅
Can refer to this for that - https://www.labnol.org/internet/take-mobile-screenshots/28167/

Okay I'll do this! By the way thank you for the opportunity 😉

Hey @bloodzmoon! Thank you for creating the PR.
I am glad that Gitzilla helped you in your very first open source PR 🎉 😄.
Though I would like to have a few more enhancements -

Adding mobile view screenshot as well.
It will be great if you can add a screenshot template (for mobile and web both) 😅
Can refer to this for that - https://www.labnol.org/internet/take-mobile-screenshots/28167/

Okay I'll do this! By the way thank you for the opportunity 😉

Is this image okay? I'm not sure haha if it's not I can change it.

Is this image okay? I'm not sure haha if it's not I can change it.

Is this image okay? I'm not sure haha if it's not I can change it.

It looks good, but I guess, the background stuff is just taking too much attention, the mobile is not even visible that much.
Having just the screens would also work.

Is this image okay? I'm not sure haha if it's not I can change it.

It looks good, but I guess, the background stuff is just taking too much attention, the mobile is not even visible that much.
Having just the screens would also work.

Is this image okay? I'm not sure haha if it's not I can change it.

It looks good, but I guess, the background stuff is just taking too much attention, the mobile is not even visible that much.
Having just the screens would also work. 😅

Okay I'll change it to cleaner template 😄

Is this image okay? I'm not sure haha if it's not I can change it.

It looks good, but I guess, the background stuff is just taking too much attention, the mobile is not even visible that much.
Having just the screens would also work. 😅

Okay I'll change it to cleaner template 😄

Is this image okay now? Sorry for my bad art sense 😓 I can change again and again If this image isn't okay

Is this image okay now? Sorry for my bad art sense 😓 I can change again and again If this image isn't okay

Is this image okay now? Sorry for my bad art sense  I can change again and again If this image isn't okay

No need to be sorry @bloodzmoon! We all learn! Thank you for updating the requested changes!
And welcome to open source :partying_face:!

Is this image okay now? Sorry for my bad art sense  I can change again and again If this image isn't okay

No need to be sorry @bloodzmoon! We all learn! Thank you for updating the requested changes!
And welcome to open source :partying_face:!


Automatically change contentType to auto if none provided.

Fixes #1184  🦕
In a rush, I didn't have time to edit tests.ts file. It would be appreciated if someone could!

@googlebot I signed it!

Thank you! I will take it over :)

@googlebot I consent.


Adds support for “plugin packs” to 0.5.0

A plugin pack is an addon with the keyword “ember-cli-deploy-plugin-pack”
and one or more dependent addons that are ember-cli-deploy-plugins.
Note that the plugin pack’s dependent addons should be listed as
dependencies in the pack’s package.json, not as devDependencies.
I expect that plugin packs may also implement a config/deploy.js
blueprint that is auto-executed upon ember install of the pack.

The world's first ember-cli-deploy-plugin-pack: https://github.com/lukemelia/ember-cli-deploy-lightning-pack

Love it!


Cannot build untitled scene

Happens with 1.0.0 and 1.0.1 with Unity versions 2021.3.15f1 and 2021.3.16f1. We are using GitLab and as a build command we are using this. The project is a default 3D one with a sample scene already in the scene settings. Locally builds fine with the previous mentioned unity versions.
Cannot build untitled scene.

(process:116): Gdk-CRITICAL **: 13:55:16.179: gdk_display_beep: assertion 'GDK_IS_DISPLAY (display)' failed
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)
Unloading 22 unused Assets / (0 B). Loaded Objects now: 3763.
Memory consumption went from 82.0 MB to 82.0 MB.
Total: 4.576912 ms (FindLiveObjects: 0.283580 ms CreateObjectMapping: 0.260173 ms MarkObjects: 3.972945 ms  DeleteObjects: 0.059577 ms)

Works fine with 0.17.2 and older unity versions, i.e. 2020.1.13f1.
error-logs.txt

I looked up this error message in previous issues, and I found this: https://github.com/game-ci/unity-request-activation-file/issues/85#issuecomment-1126089965
In particular, this was cause:

Can you confirm that the link to the scene is still intact if you open a fresh clone of your project?

Indeed, cloning the project again and opening a fresh copy the scene is deleted. Exactly as @davidmfinol described.

Seems that 2021.3.20f1 is also affected. Upgraded to that version, cloned a fresh copy opened the project locally and the scene is still shown as deleted.

Hi, any updates on how to solve this?
I'm having this error on Unity 2023.1.3f1

Hi, any updates on how to solve this? I'm having this error on Unity 2023.1.3f1

Solved! Just needed to click on Add Open Scenes.

Even after clicking the "Add Open Scenes" button and reopening the project, nothing changed.
The list of scenes is still empty

Same thing happens with project settings, after making any changes I see nothing in git status
Has anyone encountered anything like this?

I've had that issue once as well. What I did to solve it was add the scenes and then run a local build. Finally restart the editor. The file was then adjusted.

I had trouble finding this Add Open Scenes option, but it's in the Build Settings (File > Build Settings... on Mac).


Bug: Buf setup action failing from v1.30 for self hosted runners

Setting up buf version "1.31.0"
Resolving the download URL for the current platform...
Error: Connect Timeout Error

Possible root cause and the solution is:
https://github.com/peter-evans/create-pull-request/pull/2867

Do versions earlier than v1.30 work for you on self hosted runners? Just trying to understand if this is a new issue or not.

Do versions earlier than v1.30 work for you on self hosted runners? Just trying to understand if this is a new issue or not.

last working version is 1.15.0

Hey @dipjyotimetia-anz , could you please provide more details about the runner, what arch and os are you using? And if you're able to could you re-run the workflow with debug logging enabled copying the relevant logs around download? Would like to see what the resolved URL was.

@dipjyotimetia-anz closing in favor of [buf-action`](https://github.com/bufbuild/buf-action). Support for self hosted runners has been tested. Please open an issue there if this issue continues.


feat(deno): Use owned values future

Removes the need of keeping a mutable hold when invoking call using the deno engine

Any reason why this PR is closed? Is the purpose for making the future Send?

I was trying to make it send to avoid the usage of futures::block_on, but it did not work


Emitting errors crashes the program

Write some code where the plugin emits error.
For example empty expression or children prop.
The whole program panicsa and message is not shown

Fixed in 0.0.6