Reference Error

After installing MJML globally via npm, I get the following error message when running any command in the cli:
$ mjml -r input.mjml
ReferenceError: engine is not defined
at /usr/local/lib/node_modules/mjml/lib/cli.js:86:12
I do not get any sort of error messages while installing. I also tried running the installer with sudo and the cli commands with sudo and both situations reproduced the error above.

Hi @Scott-Fischer,
Thanks for reaching out and sorry your first experience with MJML was not a successful one. There was a typo in a code we merged before the release that we just managed to identify. The fix is almost ready and will be released shortly.
Keep you posted.
Thanks for your patience.

Thanks man! I'm actually just glad it wasn't an issue with my local node/npm installation.
As a full time email developer, you have no idea how excited I am to get this up and running!

Haha, can feel some bad past experience here.
I'm glad to read that you're at least as excited as we are to have released MJML :)!

@Scott-Fischer, there it is https://github.com/mjmlio/mjml/tree/v1.0.2
Hope it works for you and apologies for the false start..

This resolved the issue. Thanks for the quick response!

@Scott-Fischer glad to hear. Can you please close this issue? Happy MJML-ing!


Added notTranslatedIn scopes

Added a scope (notTranslatedIn) for fetching by those who doesn't have a specific translation.
Useful for creating a view to translate content and filtering by missing translations.

@dimsav - I added two checks with counting the return and I squashed the new commits into one.

Thanks!


Setting up an Elixir app with a dependency on khepri does not start

What does not work?
When running an elixir app with khepri as a dependency, app crashes with the following crashlog:
[notice] Application khepri exited: exited in: :khepri_app.start(:normal, [])
    ** (EXIT) an exception was raised:
        ** (MatchError) no match of right hand side value: :undefined
            (khepri 0.7.0) src/khepri_utils.erl:258: anonymous fn/3 in :khepri_utils.init_list_of_modules_to_skip/0
            (stdlib 5.0.2) lists.erl:1594: :lists.foldl/3
            (khepri 0.7.0) src/khepri_utils.erl:252: :khepri_utils.init_list_of_modules_to_skip/0
            (khepri 0.7.0) src/khepri_app.erl:26: :khepri_app.start/2
            (kernel 9.0.2) application_master.erl:293: :application_master.start_it_old/4

Expected behavior
It should be able to run with khepri as a dependency
How to reproduce
Create a mix app, add khepri as a dep, run  with iex -S mix

Nevermind, got it to work by adding :mnesia to the list of :extra_applications

Hi! I think this is a real bug: khepri_utils assumes that applications such as mnesia and ssl are available. This might not be the case in a release for instance. Instead of asserting the return value of application:get_key/2, we should handle the case where the application is unavailable.


How do we pronounce "Oughter?"

@oughter, please settle an office debate. @JackMorganNZ and I cannot decide if your username is aww-ter or otter
:)

Haha :p Well I think each one of you otter decide how you want to pronounce it!
https://i.imgur.com/YaLBv6X.gifv

This settled the dispute and provided quality lols 👍


High cpu and memory usage

On some of our servers the lwsmd service is using a lot of cpu and slows down the whole system. When activating the lsass debug log it constantly writes, so much that it filled up the whole disk.
This is the debug output:
20170627094152:VERBOSE:lsass:AD_OnlineGetGroupMemberSids():lsass/server/auth-providers/ad-open-provider/online.c:4714: Cache entry for group membership for sid <sid> is incomplete<PHONE_NUMBER>4152:DEBUG:lsass:AD_EnumMembers():lsass/server/auth-providers/ad-open-provider/provider-main.c:5263: Error code: 259 (symbol: ERROR_NO_MORE_ITEMS)<PHONE_NUMBER>4152:DEBUG:LwKrb5SetThreadDefaultCachePath():lwadvapi/threaded/lwkrb5.c:474: Switched gss krb5 credentials path from <null> to FILE:/var/lib/pbis/krb5cc_lsass.DOMAIN.LOCAL<PHONE_NUMBER>4152:DEBUG:lsass:LsaSrvEnumMembers():lsass/server/api/api2.c:1149: Error code: 259 (symbol: ERROR_NO_MORE_ITEMS)<PHONE_NUMBER>4152:DEBUG:LwKrb5SetThreadDefaultCachePath():lwadvapi/threaded/lwkrb5.c:474: Switched gss krb5 credentials path from <null> to FILE:/var/lib/pbis/krb5cc_lsass.DOMAIN.LOCAL
We tried the newest version 8.5.4, but the error still occured. Is this a configuration error or a bug?

We have seen some performance issues where there is a large number of entries in the PBIS group membership cache. For now the simplest mechanism to work around this limitation is to enable the name service cache daemon (nscd) for passwd and group on platforms that support it.

We already tried that, but it did not resolve the problem. The problem only occurs on one server, other servers in the same domain do not have such a problem.

What is the operating system and version?
How many users/groups are members of the sid that fails to complete?

RHEL 6.9
The lookup fails for multiple groups. The groups have between 0 and over 100 members.

This has been improved a lot in the recent releases. I would recommend upgrading to BeyondTrust Active Directory Bridge for continued support.  https://www.beyondtrust.com/privilege-management/active-directory-bridge
pbis-open will longer receive updates and will be archive. Closing all outstanding issues.


What's the uv equivalent of tool.hatch.build.include = [...]?

I want to include extra non-code files into my package (ie. JSON configuration files), and access them in code as import resources; config_path = resources.files("config"). In hatch I can do stuff this:
[tool.hatch.build]
include = ["config/**/*.json", "src/mypackage/**/*.py"]

[tool.hatch.build.targets.wheel]
packages = ["src/package"]

[tool.hatch.build.targets.wheel.force-include]
"config/" = "/config"

Is there an equivalent for uv?

If I'm not mistaken, [tool.hatch.build] refers to the backend settings of hatchling.build, right? uv doesn't have its own officially released backend yet, so you might consider continuing to use hatchling.build, as it can still be used.
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

uv build supports other build backends, not just uv's build backend.
Here are the supported backends during uv init.
--build-backend build-backend
Initialize a build-backend of choice for the project.

Implicitly sets --package.

How would I be able to use uv to build though? It would be nice if I can eliminate one more extra tool.

You can use uv build with the hatchling build backend. Like, you should be able to run uv build in your project even with those settings (unless they're specific to hatch rather than hatchling).

Awesome exactly what I was looking for

I'm using uv 0.5.8, is this the correct way to do it:
[build-system]
requires = ["uv>=0.5,<0.6"]
build-backend = "uv"

[tool.uv.build-backend.data]
data = "config/"

I can't seem to be able to access it as importlib.resources.files("config") in my code.


avoid deadlock when using compile cache with blocking executors

avoid taking cache lock in compile task destructor
avoid holding cache lock while posting compile task
add unit test trying to provoke deadlock
bonus: fix blocking executor implementation
(did not work with threads <= task limit)

I confirm that this contribution is made under the terms of the license found in the root directory of this repository's source tree and that I have the authority necessary to make this contribution on behalf of its copyright owner.
@baldersheim please review

edit: did not work with threads >= task limit


Fix selectedItemColor customization

Changes the base URL on the setActiveLink function to match the one on the history object, which was preventing the selectedItemColor branding customization from working.

LGTM


Admin: 404 Issue on Some Books, Chapters

Attempted Debugging

[X] I have read the debugging page

Searched GitHub Issues

[X] I have searched GitHub for the issue.

Describe the Scenario
I have recently updated the Bookstack from 2.09 to 2.11 resulting in some books, chapters, and pages no longer being visible even though I am the admin. If I navigate to one of the pages directly it could work but click on the chapter will direct me to 404. Same issue with some books where the book is visible but the chapters and pages will not.
Some of the content of the error logs are from me attempting to fix it but was not successful.
A full restore of the VM back to 2.09 will be done to resolve the issue in meantime. Any assistance for why the error occurred in the first place would be most helpful.
Exact BookStack Version
2.11
Log Content
laravel.log
Uploading error.log…
PHP Version
7.4
Hosting Environment
VM running RHEL 8.7 with Nginx

This has previously been found in scenarios where the database was not being migrated upon certain updates.
Running the php artisan bookstack:regenerate-permissions command, from the bookstack install directory, has usually solved this.

Thanks that worked!


Sharing recipes

Is your feature request related to a problem? Please describe.
When you share a recipe, the text is copied to the clipboard on your smartphone. You then share a huge text. This is good if you share a recipe with people who don't have access to the Nextcloud server.
Describe the solution you'd like
It should also be possible to share the recipe in such a way that recipients are automatically taken to the recipe within the app.

Hi @Markoise, thanks for the suggestion. As there isn't an official way to share recipes with other users, I won't implement such a feature.
In the near future, my app will support deep links which kind of fulfills your request. However, this will only work if you log in with the same account or share the recipe folder, as mentioned in the docs.
So in the future, when you click a link like lneugebauer.github.io/recipe/<RECIPE_ID>, the app will open.
https://nextcloud.github.io/cookbook/user/#sharing-with-another-nextcloud-user
https://lneugebauer.github.io/nextcloud-cookbook/faqs.html#how-can-i-share-recipes

Wonderful. That's exactly what I meant.
I look forward to the update one day


[FEAT] Support building or writing graph from/to GAR format data

What do these changes do?
The GAR format is a data format for graph that keeps the CSR/CSC structure information. And so it is easy to building the CSR/CSC of graph from the GAR format data.
This PR changes bring the support of loading property graph or writing the in-memory property graph from/to GAR format data. The PR mainly includes:

Add GARFragmentLoader and GARArrowFragmentBuilder to support loading arrow property fragment from GAR format data.
Add ArrowFragmentWriter to support dumping arrow property graph to GAR format data.
Make GraphAr project as submodule to provide API to access GAR format data

There are some items need to do:

[x] Add GraphAr as submodule and use compile option to check if compile with GraphAr
[x] Add test to check the correctness of loading and writing

Related issue number
https://github.com/alibaba/GraphAr/issues/40
https://github.com/alibaba/GraphAr/issues/39

cc/ @sighingnow

Requires https://github.com/alibaba/GraphAr/pull/91 and bump up the submodule after that PR get merged.


_getElementRect returns an new object

I was doing some digging around the code and noticed the _getElementRect method returns a new object. For this particular method/instance, it runs this method EVERY frame the mouse/touch moves. This is poor practice, see the test here.
Creating some kind of static object like _lastElementRect with the properties top, left, right, and bottom and reseting those values every time the _getElementRect is called instead of the newly created object will help performance a lot.

Wouldn't that make it a reference type suddenly and be a breaking change?
On May 7, 2015 5:23 PM, "Gregory Athons"<EMAIL_ADDRESS>wrote:

I was doing some digging around the code and noticed the _getElementRect
method returns a new object. For this particular method/instance, it runs
this method EVERY frame the mouse/touch moves. This is poor practice, see
the test here http://jsperf.com/object-set/2.
Creating some kind of static object like _lastElementRect with the
properties top, left, right, and bottom and reseting those values every
time the _getElementRect is called instead of the newly created object will
help performance a lot.
—
Reply to this email directly or view it on GitHub
https://github.com/CreateJS/EaselJS/issues/611.

At quick glance, I don't see how this change would break anything currently. _getElementRect only gets called from the stage._updatePointerPosition function and only keeps that object for that function closure. But if _getElementRect is meant to be used on other elements in other situations, then returning a new object makes sense. However seems like it would be nice to prevent object creation in a place like _updatePointerPosition.

Well, it's marked a protected rather than private so in theory somebody could have obeyed the documentation, extended Stage and made use of it directly, although I doubt that's common and the proposed change would only break it if the caller is trying to hang on to and reuse the returned object.  Another option is to have an optional second parameter, and have _getElementRect use the provided object if it's supplied.   This would leave the maintenance of the object up to the calling function.

We can consider this for the next version. It could be a valuable optimization.


Support for RHEL 8 in FIPS mode

VSCode Version: 1.39.1
OS Version: RHEL 8 (Red Hat Enterprise Linux 8)

Steps to Reproduce:

Enable FIPS in RHEL 8
Attempt to install VS Code

Does this issue occur when all extensions are disabled?: n/a
Most likely causes:

VS Code may not officially support RHEL 8
VS Code's RPM uses a non-FIPS algorithm for the per-file digest and other cryptographic operations, most likely MD5.

[root@rhel8 ~]# dnf install code
Updating Subscription Management repositories.
Dependencies resolved.
==========================================================================================================================================================================
 Package                             Arch                                  Version                                              Repository                           Size
==========================================================================================================================================================================
Installing:
 code                                x86_64                                1.39.1-1570750844.el7                                code                                 77 M

Transaction Summary
==========================================================================================================================================================================
Install  1 Package

Total download size: 77 M
Installed size: 77 M
Is this ok [y/N]: y
Downloading Packages:
code-1.39.1-1570750844.el7.x86_64.rpm                                                                                5.6 MB/s |  77 MB     00:13
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                5.6 MB/s |  77 MB     00:13
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction check error:
  package code-1.39.1-1570750844.el7.x86_64 does not verify: no digest

Error Summary
-------------

Workaround (with RPM in current directory):
[root@rhel8 ~]# rpm --nofiledigest --nodigest --install code-1.39.1-1570750844.el7.x86_64.rpm

What is FIPS and why do we want to support it?

https://en.wikipedia.org/wiki/Federal_Information_Processing_Standards
https://kennethghartman.com/fips-140-2-in-a-nutshell/
FIPS is a standard for cryptographic operations that is generally required for US Government machines.
RHEL 8 builds of VS Code should use at least sha256 checksums.
Related: https://bugzilla.redhat.com/show_bug.cgi?id=1728031

Thanks, I'll pass this on to the linux admin team

They got back to me, this is done at rpm creation time, not signing or upload so it would be in our codebase:
https://github.com/microsoft/vscode/blob/ed31ffc1b54d401ec6d023c5c06663991ee9b610/build/gulpfile.vscode.linux.js#L123
https://stackoverflow.com/questions/24062375/how-to-build-the-rpm-package-with-sha-256-checksum-for-files
https://starlab.io/adding-sha256-digests-to-rpms/

I was wondering why this was closed.
It might have to be a separate RPM from the RHEL7 RPM.

How is this a 'feature request' and why has it not been resolved?

It was apparently deemed not a priority. Shame. I had to create a whole workaround on my RHEL 8 machine.

This is killing me also - Microsoft, bringing their lack of security knowledge and patch management to the entire stack - Cannot run a simple yum / dnf update because their packaging is well below even a standard junior coders punch out these days!

Here's my workaround:
rpm-fips --verbose --upgrade $(find /var/cache/dnf/ -iname '*google-chrome*.rpm') --nodeps

Where rpm-fips is an alias for rpm --nodigest --nofiledigest.

There is a special place reserved for ppl like you my friend - Legendary stuff!

The issue got 4 up votes in 6 months, so it clearly is not a priority compared to other issues. If you have expertise in this area we would welcome a patch to fix it. This is where the rpm is built:
https://github.com/microsoft/vscode/blob/ed31ffc1b54d401ec6d023c5c06663991ee9b610/build/gulpfile.vscode.linux.js#L123-L197
To build it:
yarn gulp "vscode-linux-x64-build-rpm"

I believe you run this before that to build the right VS Code bits:
yarn gulp vscode-linux-x64-min-ci

You guys use Ubuntu Xenial, right? 16.04 ?

Our minimum is 14.04 whose EOL is April 2022 https://code.visualstudio.com/docs/supporting/requirements

Okay, I'll see if I can work with that.

Okay, as far as I can tell, we'll have to build the RPM with rpm-v4.14 or later.  However, I believe an RPM built  with rpm-v4.14 is still backwards-compatible with some earlier versions. I did some rudimentary testing with the rpm package from RHEL6, RHEL7, and RHEL8 - checking it in RHEL6, RHEL7, and RHEL8. Check command is rpm --checksig --verbose <rpm>:
RHEL 8 (rpm-v4.14):
rpm-4.14.2-37.el8.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID fd431d51: OK
    Header SHA256 digest: OK
    Header SHA1 digest: OK
    Payload SHA256 digest: OK
    V3 RSA/SHA256 Signature, key ID fd431d51: OK

RHEL 6 (rpm-v4.8):
rpm-4.14.2-37.el8.x86_64.rpm:
    Header V3 RSA/SHA256 Signature, key ID fd431d51: OK
    Header SHA1 digest: OK (ea671092fba8a91b8aaf3475e89904bd91ac19e3)
    V3 RSA/SHA256 Signature, key ID fd431d51: OK
    MD5 digest: OK (19d282636e4d5fe51ac060c1bac2d797)

Given this, how likely is it that we can get a signed VS code RPM, built with rpm-4.14, for testing?
Ubuntu 14.04 LTS (the one we're using) only provides rpm-4.11.x (4.11.1-3ubuntu0.1 [amd64, i386]).
Ubuntu 16.04 LTS provides rpm-4.12.x (<IP_ADDRESS>+dfsg1-3build3), which is still too old.
Ubuntu 18.04 LTS provides a new enough rpm-4.14.x (4.14.1+dfsg1-2).
The newer Ubuntu versions will probably break a few things, so building with them is not recommended. (In fact, I think building in Ubuntu 16.04 LTS has a high chance of breaking dependencies in RHEL7.) It may also be possible to get rpm-v4.14 in Ubuntu 14.04 LTS, with some trickey.

checking it in RHEL6, RHEL7, and RHEL8

We only support RHEL7+ FYI.

You guys use Ubuntu Xenial, right? 16.04 ?

To clarify, if you meant our build machines we build the product rpm with 16.04:
https://github.com/microsoft/vscode/blob/d62c642e3f148c2957116b42eb933990dd89e9ec/build/azure-pipelines/product-build.yml#L39-L43
I'm also not that concerned about actual rpm support in 14.04, the deb needs to work until EOL though.

Given this, how likely is it that we can get a signed VS code RPM, built with rpm-4.14, for testing?

If you make a (draft?) PR I can do a product build out of it and let you know the result and/or paste in a link to the signed rpm.

Ubuntu 16.04 LTS provides rpm-4.12.x (<IP_ADDRESS>+dfsg1-3build3), which is still too old.

I can't seem to find where build deps are installed, maybe they're just all included with that image? 🤔 We may need to add a step to https://github.com/microsoft/vscode/blob/d62c642e3f148c2957116b42eb933990dd89e9ec/build/azure-pipelines/linux/product-build-linux.yml that installs the needed versions.

I was using RHEL6 because it's the oldest RHEL I have (that I'm willing to spin up), having rpm-v4.8. I forgot RHEL6 wasn't supported, though, thanks for the reminder. One less thing for me to worry about 😄.
I'll see if I can get a fake PR later today - not for merging.

What's the status of this?  Did that PR ever happen?


Cannot control the reference id of collection entry

Problem explanation
add an entry to collection with specified id, collection entry should be created with that id.
Steps to reproduce
stored_data = stream_client.collections.add(collection_name="name", data=data,
                                                      id="ABC")
stored_data
{'duration': '4.08ms', 'id': 'd1dab993-a5f2-4c2d-b8e8-b670204f95c2', 'collection': 'name',...}

I expect that stored_data['id'] = 'ABC'
gz#5609

Agent comment from Stephen Hodgetts in Zendesk ticket #5609:Thanks for the report

I just realized that I passed the id as an object, not an actual string "ABC". (example code is simplified). I tested again and it worked.


no matching manifest for linux/arm64/v8 in the manifest list entries

I'm getting the following message when I attempt to pull the Swift Docker image:
➜ docker pull swift
Using default tag: latest
latest: Pulling from library/swift
no matching manifest for linux/arm64/v8 in the manifest list entries

I'm using the following:

Apple M1 Max 15" MacBook Pro
macOS 12.3.1
Xcode 13.3.1

Finally, my goal here is to run everything natively on Apple Silicon.

same here, anyone found a workaround for this already?

I'm not sure if it's the best solution for every use case -- let alone a permanent one -- but I switched to manually specifying swift:5.6-focal and haven't had issues.
docker pull swift:5.6-focal

Perhaps there's some delay?... or the latest image itself is missing some kind of platform specification? Not quite sure 🤔

Just to note what the problem was: when this issue was opened, the latest tag did not specify support for arm64v8, so it was not built in Docker Official Images. See the library/swift file and note that no architectures are specified, so the default of amd64 would be used: https://github.com/docker-library/official-images/pull/12215/files#diff-7077506a2e33dccfe04067c214e487097a88497efd08c9ffcfb573f04e1bd86cL10-R12
But arm64v8 was added in September 2022 via https://github.com/docker-library/official-images/pull/13145 so this issue can be closed.

@yosifkit Yes, things are working as expected now. Thus, I'm going to close this issue.


ProtoBuf Descriptor

Hello
I am trying to communicate from a microservice written with Go via grpc.
In some operators, to send a request, it is necessary that I type the message I am sending in the request. I read some sources in golang and python languages. This is how they determine the type of messages.
I have a namespace with TypedMessage in typescript to keeping message type and message value :
export namespace TypedMessage {
    export type AsObject = {
        type: string,
        value: Uint8Array | string,
    }
}

I need to convert every message to this type, so I wrote such a function :
function toTypedMessage(message: proto.Message) {
  const typedMessage = new TypedMessage();
  typedMessage.setType("Its not complete");
  typedMessage.setValue(message.serializeBinary());
  return typedMessage;
}

I inspired this from the Python and Go resources :
Go :
func GetMessageType(message proto.Message) string {
  return string(message.ProtoReflect().Descriptor().FullName())
}

func ToTypedMessage(message proto.Message) *TypedMessage {
  if message == nil {
    return nil
  }
  settings, _ := proto.Marshal(message)
  return &TypedMessage{
    Type:  GetMessageType(message),
    Value: settings,
  }
}

Python :
class Message:
    def __new__(cls, message) -> TypedMessage:
        return TypedMessage(
            type=message.DESCRIPTOR.full_name,
            value=message.SerializeToString()
        )

My problem in this part is the function I wrote typedMessage.setType(""); .
As it is known, this value must be a string. According to Go and Python sources, a descriptor is needed to return the message to the proto name like message.ProtoReflect().Descriptor().FullName() in go and like message.DESCRIPTOR.full_name in python. But it seems that there is no such thing in nodeJS google-protobuf.
Is there another solution or not?

We do not support reflection for code size and information leakage reasons. You will need to explicitly include the name in your source code.
Also, if I'm understanding correctly, your use case sounds a lot like the built-in protobuf Any type (i.e. a type URL and corresponding payload). You may want to take a look at  https://github.com/protocolbuffers/protobuf-javascript/blob/main/docs/index.md#any .

We do not support reflection for code size and information leakage reasons. You will need to explicitly include the name in your source code.
Also, if I'm understanding correctly, your use case sounds a lot like the built-in protobuf Any type (i.e. a type URL and corresponding payload). You may want to take a look at https://github.com/protocolbuffers/protobuf-javascript/blob/main/docs/index.md#any .

Thank you ❤.


OData functions implementation (now only CONTAINS())

Hi there!
I've needed the CONTAINS OData filter for my application, so i've impleneted it.
Now, it's able to handle any methods you put in the code.
I think you're going to like it.

That's awesome, thanks for your work!
If you could add some tests to describe how to use it that would be great!
You can add them to the file specs/OdataResourcesTest.js and follow what has already been done.


elm make refuses to write to standard output

Quick Summary:
It would be nice for elm make to be able to write to standard output.
SSCCE
$elm make src/Main.elm --output=/dev/stdout
This flag was given a bad value:

    --output=/dev/stdout

I need a valid <output-file> value. For example:

    --output=elm.js
    --output=index.html
    --output=/dev/null

Elm: 0.19.0
Browser: n/a
Operating System: macOS 10.14.3

Additional Details
I found the error message confusing, in that it was not clear why --output=/dev/null was ok but --output=/dev/stdout was not. It looks like /dev/null is treated as a special case here: https://github.com/elm/compiler/blob/76e90792bc166eab2fe45ec475fe32d2cc320902/builder/src/Generate/Output.hs#L234-L238
Aside from potentially adding another case (e.g. Stdout), I think it would be helpful for the error message to be more explicit about the restrictions on <output-file> values. I, at least, didn't manage to infer them correctly from the examples alone.

Why are you interested in having the output go to stdout? Do you want JS or HTML? More details on the root motivation would be really helpful in assessing an ideas like this!

Thanks for looking at this!
This has come up for me a few times when I've been running elm make programmatically as part of larger projects that are mostly not in Elm. In these cases, I've wanted to generate JS. For example, as part of the process for building a complete application that consists of mostly back-end code, I would like to be able to run essentially elm make Main.elm --optimize --output /dev/stdout | uglifyjs --compress "pure_funcs='F2,F3,F4,F5,F6,F7,F8,F9,A2,A3,A4,A5,A6,A7,A8,A9',pure_getters,keep_fargs=false,unsafe_comps,unsafe" | uglifyjs --mangle | <… do more work …> (but not in Bash, and with my script supplying a few Elm files to compile, not just Main.elm). In one case where I'm actually doing something like this, <… do more work …> does another simple pass to turn the output of elm make into an ES6 module, then places the output in the directory where the back-end part of the project (which is most of the project) expects to find static files to serve. I also check for problems at each step in the pipeline and either fall back gracefully (e.g. if uglifyjs isn't available) or report the error in terms of what my collaborator ultimately running the build process (who may know nothing about Elm) needs to do. I'm happy to get into as much more detail as would be useful!
Does elm make decide whether to generate JS or HTML based on the extension of the --output file? I guess it seems like it might, though I hadn't totally put that together until now. If so, I could imagine that supporting stdout might be a bigger change than it had seemed at first. I certainly wouldn't object if it seems better not to address potentially supporting stdout until/unless more people emerge who would actually want that. For me personally, at least, working around this by making a temporary file is not a big deal: it definitely took less time than stubbornly trying to figure out why I couldn't write to stdout :)
(I also just wanted to say that I've really enjoyed working with Elm, and I especially appreciate the thoughtful and deliberate design approach you've taken both for the language itself and for the surrounding environment. Thank you for all of your work!)

Yes, the file extension of --output will decide what get's generated.
So you basically want to keep the content of the file in memory and do some postprocessing? The only benefit I can think of (if I understood you) would be that you skip a write to disk? Anything else I'm missing?

That's basically right. Keeping the output in memory can also make it easier to avoid overwriting old output until you know if the whole pipeline succeeds, but obviously that can be worked around.
I guess another way to say mostly the same thing is that some interfaces (e.g. for other command-line tools) are oriented more toward piping stdin and stdout around than working with intermediate files. While it's always possible to bridge that gap, having to do so adds an inconvenience factor to those workflows.

I can think of cases where I'd want this to produce JS, but are there cases where it'd make sense to produce HTML? I think it's worth brainstorming on that.
From there, it'd need some special logic to avoid printing out progress when that kind of output is chosen. That probably should match what happens with --output=/dev/null though. Not sure if it makes sense to have that output no progress messages.

Hi,
First of all, the current behavior goes against the unix principle "Expect the output of every program to become the input to another, as yet unknown, program." This is bad and should be fixed.

From there, it'd need some special logic to avoid printing out progress when that kind of output is chosen.

No, the progress and any other side-channel information should go on stderr. That is what stderr was designed for.
In general, it's nice towards beginners to provide a flag for specifying the output file path, but

Don't make it hard for people to use the output of your program via stdout and
It's customary to accept the filename - as a shorthand for stdout.
I'd suggest providing a flag for specifying the format like --output-format=js|html possibly with a default format and/or the current filename detecting logic if --output is specified.

Some ideas:

Print all non-output data to stderr
Accept --output=- as a shorthand to stdout
Accept a flag for specifying the format like --output-format=js|html
Emit an error message and halt if neither --output-format nor a filename with a  .html or .js extension was specified

These ideas would be a step towards upholding the Unix principle "Expect the output of every program to become the input to another, as yet unknown, program."

Another issue with the special handling of --output=/dev/null is that in conjunction with --optimize it doesn't emit the debug remnants warning, because it doesn't run code generation. Maybe this special case should be renamed to elm typecheck while lifting the restriction on output filenames. @evancz would you be okay with a pull request in that vein?

@ggPeti Alternatively, maybe we should consider that behaviour of --output=/dev/null --optimize to be a bug? https://github.com/elm/compiler/issues/2324

@dave4420 yeah totally, but @evancz is incompetent as a maintainer, therefore it won't happen in elm. Go look elsewhere, maybe Zokka, Gren, elm-janitor?


Last Week in Pony - April 30, 2023

The ponylang organization SSL builder docker images are being updated this week. Every few months we add new builders to support the latest versions of various OpenSSL and LibreSSL API versions.
OpenSSL builder changes

3.1.0 builder added
3.0.7 deprecated. It will stop receiving updates the next time we add a new 3.x OpenSSL builder.

LibreSSL builder changes

The 'Static arrays of numbers' RFC has been updated to 'new'
See the RFC for more details.

Version 1.2.2 of ponylang/crypto has been released.
See the release notes for more details.

Version 0.4.5 of ponylang/http_server has been released.
See the release notes for more details.

Version 0.5.4 of ponylang/http has been released.
See the release notes for more details.

Version 0.1.2 of ponylang/github_rest_api has been released.
See the release notes for more details.


Nit-pick: add a bit of space between keyword boxes

The keyword boxes' borders sometimes touch.
To my brain, this creates an optical illusion-like warping (e.g, see the localizer keyword box in the screenshot below).

Would it be easy to make the box height smaller, such that there is a bit of deliberate space between borders?

Suprise optical illusion, cool! 😄
I agree, it makes sense to add a small margin between rows of the tags. Should be a minor change in css.


number has currency but not unit

I wonder why the number type in json table schema can have a currency but not a unit for more general data.

Hi @domoritz
Currency was driven by a clear use case when it was added. I guess that no one felt strongly enough about a unit for more general data. Can you flesh this out with an example of wording for the spec and some data?

DUPLICATE. We have an issue for exactly this in #216 so I will close this as a DUPLICATE.
@pwalsh + @domoritz note units is a great idea so please comment in that issue :-)


Maintainer: fr-FR

I know this language and would like to help improve it by being added as a maintainer. As a maintainer I will be automatically added as a reviewer to pull requests from AI and other contributors.

Thank you @thierryteyssier !


Kafka source config

Description

Created Kafka Source Plugin with all the configurations
Added READEME.md file
Added Multithreaded Kafka consumer logic

Issues Resolved

Github issue https://github.com/opensearch-project/data-prepper/issues/254

Check List

[ ] New functionality Kafka Source Plugin.
[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

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

Closing this PR, because we have decided to raise incremental PRs for the better readability and maintainability.


healthcare=psychotherapist is described as Psychotherapist but it is for clinical psychologists in general

See https://community.openstreetmap.org/t/how-can-i-mark-doctor-office-as-office-of-psychologist/98121
See https://wiki.openstreetmap.org/wiki/Tag:healthcare%3Dpsychotherapist
It looks like a really poor tagging scheme, but as it is not searching "psychology" or "psychologist" in iD editors finds nothing and apparently should find this.
Maybe proper fix would be healthcare=psychologists (and would need to happen outside iD presets) ? Or is healthcare=psychotherapist reasonable for all clinical psychologists?

Am I seeing it correctly that adding Clinical Psychologist as an alias to the Psychotherapist preset (and adding psychology as a search term to both that preset and the one for Psychiatrist) would resolve this issue?

I think so.

Could you please try to summarize the result of the discussion here?

After more research of English: "psychotherapy" is a general term (see https://en.wikipedia.org/wiki/Psychotherapy ) and applies to

psychiatrists, psychologists, mental health nurses, clinical social workers, marriage and family therapists, or professional counselors

So healthcare=psychotherapist covers all of them. And people mapping this object (for example me) may be unaware about term "psychotherapist" and its meaning and they may be trying to tag  psychologist office, so searching for at least psycholog should find it.
Not sure is "mental health nurses, clinical social workers, marriage and family therapists, or professional counselors" also covered by healthcare=psychotherapist but this issue is solely about only

searching "psychology" or "psychologist" in iD editors finds nothing and apparently should find this


Document how to use tuples with numba.typed.List and numba.typed.Dict

Feature request
Right now, the docs for numba.typed.Dict say that:

Acceptable key/value types include but are not limited to: unicode strings, arrays, scalars, tuples.

But there are no examples of how to actually use it with tuples! I couldn't find how to construct a numba "tuple" class -- i had hoped that:
numba.typed.Dict.empty(
    key_type=(numba.types.unicode_type, numba.types.int32),
    value_type=numba.types.float32,
)

would work, but that fails at runtime (constructing the dictionary works fine, but actually inserting anything into it fails).
I ended up just using numba.typeof instead, but it'd be nice to have an example in the documentation!
(Thanks for this great feature BTW! This massively expands the places where I can use Numba!)

xref https://github.com/numba/numba/issues/3349 and https://github.com/numba/numba/issues/4497


Compatible with another plugin lineage

I am using another plugin at the same time https://github.com/ycnmhd/obsidian-lineage
When two plugins are turned on simultaneously, once I start typing, the input box will run to the top and I cannot see the text I am typing
I've raised an issue with that plugin https://github.com/ycnmhd/obsidian-lineage/issues/41
maybe  typewriter-mode should ignore editor instances that are within lineage view

Encountering compatibility issues as well, currently can only use one of them 😢

Thank you for opening the issue. Since the plugin causes issues with several plugins (e.g. canvas, kanban, lineage) and it is out of scope to make it compatible with all plugins, I decided to only enable it in markdown files from the next version on. Please report if any issues remain.


Full slide images with metropolis theme, break out of margins.

Maybe I just don't know how to do this in Typst, but I'm using the metropolis theme for preparing lecture slides and every so often I want to have a image take up the full slide (or full height if it's part of a column). The default margins for slides are pretty aggressive (and good for text!) but they make images look too small.
Is there a way for an image to breakout of the margins and take up a full dimension of the slide?

From the top of my head, can you try #image("path", width: 110%) or something like that?

One suggestion from the discord was using it as a background image, or manually calculating the positiong with the pad command.


Deluxe Options Op

Better types, better ergonomics, better everything
(we don't know if it works yet though)

Aside from what's already here, I'm going to add the following:

Keypad-based floating-point entry
Option subsections
I wanted to include hardware manipulation as well, but that involves a much deeper refactor with very far-reaching consequences, so for now less is more.


Refactoring: set the client within the constructor

The API client is declared in the constructor of the class, so that it can be used in the API endpoints.

I'm also thinking about putting the address in the Config.

I'm also thinking about putting the address in the Config.

Should I wait before merge?

I'm also thinking about putting the address in the Config.

Should I wait before merge?

You can merge now. I think the change would be very trivial.


HDDS-4029. Recon unable to add a new container which is in CLOSED state.

What changes were proposed in this pull request?
Whenever there is a state change (OPEN -> CLOSING/CLOSED) while Recon is down, when it starts up again, it is not able to process reports for that container.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4029
How was this patch tested?
Manually tested.
Added unit tests.

/retest

+1. Thanks @avijayanhwx  for the patience. The latest LGTM, +1.

Thank you for the review @xiaoyuyao.


MaptilerNavigationControl not available in the maptiler-sdk.d.ts

MaptilerNavigationControl is not defined in the maptiler-sdk.d.ts so it can't be used in the TypeScript file like is shown in the example: https://docs.maptiler.com/sdk-js/api/controls/#navigationcontrol
My code:
import * as MapTilerSDK from '@maptiler/sdk';

const map = new MapTilerSDK.Map({
    container: element,
    center: new MapTilerSDK.LngLat(this.center.longitude, this.center.latitude),
    zoom: this.zoomLevel,
    style: MapTilerSDK.MapStyle.STREETS,
    navigationControl: false,
});

const nav = new MapTilerSDK.MaptilerNavigationControl(); // TS2551: Property 'MaptilerNavigationControl' does not exist on type 'typeof import(".../node_modules/@maptiler/sdk/dist/maptiler-sdk")'. Did you mean 'NavigationControl'?
map.addControl(nav, 'top-left');

Can you please add MaptilerNavigationControl to the maptiler-sdk.d.ts?

Hello @StazriN ,
thanks for reporting that! You're right, it's not there! I will add that asap and let you know.

Hey @StazriN ,
this is now fixed as part of this commit. Version v1.0.11 pushed on NPM.

Hi @jonathanlurie,
Thank you so much for the fast fix! You're awesome!


⚠ Avatar API Endpoint has degraded performance

In 09364de, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5792 ms

Resolved: Avatar API Endpoint performance has improved in fc0b698 after 3 minutes.


Permission Management for Role #46

@iammukeshm @fretje Make new commit with the changes, can you review them please?


fix: hide pets in navbar

Fixes https://canary.discord.com/channels/738971489411399761/738990246825427084/1196068465488957604

most biggest pr


"Memory access out of bounds" error with WebGL and Chrome

StandaloneFileBrowser.SaveFilePanel and StandaloneFileBrowser.OpenFilePanel calls seem to give Chrome on Windows 10 a "Memory access out of bounds" error that freezes the WebGL player for Unity and, obviously, doesn't open a file panel for usage.

I got the same error when I wrongly used the 'StandaloneFileBrowser.OpenFilePanel' for the WebGL platform. After I read and implemented the sample code ('CanvasSampleOpenFileText.cs' and 'CanvasSampleSaveFileText.cs') in my app, it did work with no errors.

Any Updates here? Got the same issue, but only with saving.


Sections about integrations: Go Client, Proxy endpoint

I think it's nowhere mentioned that we have a Go client for the API. Also, the proxy endpoint is only mentioned in the context of composite clusters but it's very useful without them.
We need either a full section about integrations, or (possibly better), several pages about it (one for the go-api client, one for proxy, one for using cluster as a go-library). With code examples.

And finishing/doing rest API docs.


Show button "neuen Inhalt hinzufügen" only on the lowest topic level

We want articles, course, etc. only to be created in the "topic" which is on the lowest taxonomy level.
We want exercises and exercise-groups only to be created in a topic folder.
Thus it would be nice to have the corresponding buttons shown only in the respective folders.

@yolo-bird It is okay to only implement it in the new frontend?

Sure!


Only set INSTALLATION environment variables when doing injection

What does this PR do?
https://datadoghq.atlassian.net/browse/APMS-14061
We no longer set the environment variables when there is no library to inject (disabled namespace or otherwise).
Motivation
https://docs.google.com/document/d/1PHDp652AmVmNG--cJf0JpV_5OB6evtHZ_qxoZI2z0Pk/edit?tab=t.0
Describe how to test/QA your changes
Tests updated.

/merge


[docs] Ensure HTML key is a string

@ljharb
This is to ensure that the HTML key is not null and that this stuff happens before afterResponse and onSuccess is called.

LGTM


Improve logout behavior

Suggestions to improve logout behavior (version 4.0.7)

Try to push changes when any and not just indicate unsynced changes in "not force" mode.
Improve logout sync behavior.

https://github.com/dexie/Dexie.js/blob/795f60c8104317f3b2d9ddcd0c20c84fb74fe83e/addons/dexie-cloud/src/authentication/logout.ts#L62
when not online an 'error in syncIfPossible()' exception will be thrown here
https://github.com/dexie/Dexie.js/blob/795f60c8104317f3b2d9ddcd0c20c84fb74fe83e/addons/dexie-cloud/src/sync/syncIfPossible.ts#L93
but not propagated upstream in order to catch and inform user that logout is not possible.

I worked around both issues client side, bu having something working out of the box would be nicer.

Thanks!
Basically a logout should be a client action only - it deletes the database and then tries to do an initial sync based on anonymous user to get schema and public data in sync. If this sync fails, user is still technically logged out but hasn't got public data from the server yet. But as soon as the app goes online again it should do the initial sync.
Is the bug happening when client is offline, there are unsynced changes, and user choose to log out? Does it leave the db in a buggy state?

I have a solution for my request #1986, which requires writing some database entries when the user is about to log out. Actually I could solve this client side, but when inspecting the cloud add-on code, I thought it would be nice to push any pending changes before the actual logout. This may be necessary if a table write is immediately followed by the logout request.
In fact, the bug happens when offline. Again, this could be solved client-side, but I think it might be good practice not to block an asynchronous operation when a potentially valid state occurs. I suggest propagating the described error upstream to catch and inform the user.


How does BindSignals to a Monobehaviour work ?

Hello,
I try to use the Command: BindSignal
to Bind a Signal from my InputManager to my Player ( MonoBehaviour ). But the Player never receives the call. What am I missing ?
This is the Installer:
public class MainInstaller : MonoInstaller {

   public override void InstallBindings () {
       Container.DeclareSignal<ChangeWeaponSignal>();
       Container.Bind<ITickable> ().To<InputManager> ().AsSingle ().NonLazy();
   }
}

When game starts the Player gets loaded ( from a Bundle ). After loading is finished I try to Bind the Signal. This bind happens inside the Factory that loads and Instantiates the Player ( ... and since its a Factory it knows the Container )
// Load from Bundle and Instantiate GameObject and store to this.LoadedPlayer
this.Container.BindSignal<ChangeWeaponSignal>().To<Player>(x => x.IncreaseWeaponIndex ).FromInstance(this.LoadedPlayer) ;

If I Inject the Signal and attach like a normal event, everything works fine - but I would love to use the Bind Signal instead, to avoid Injecting tons of Signals to the Player.
Thanks for your help!

Is there any reason not to simply [Inject] the required signals in your Player class? This works out of the box when declaring a signal.

The Inject is working fine.
But I like to have the wiring of events in the installer. First reason: Not clutter the GameCode with event Injection ( otherwise your game elements can easy end up with 10 or more event injections.
Second: Its easier to change the event flow per level to adjust the game play, if the binding is in the installer.

This is because the way BindSignal works, it need to be executing during the "install phase" and not at some point during runtime.  Under the hood, BindSignal binds a class to IInitializable and IDisposable so that the listening event can be de-registered when the container is destroyed.
It's bad practice to use Container.Bind during runtime.  You should only execute those methods during the install phase.  Otherwise, for example, some classes might already have been instantiated with constructor arguments that haven't been bound yet.
Have you thought about using a sub container with your player class?  That would solve this problem.

Hello, thanks for the answer, understood.
Unfortunatly SubContainer wont help - since  Sender and Receiver dont use the same Context.
Or do I miss something ?
The task I try to solve is the following ( maybe someone has an idea how to solve this ):
InputManager : Receives input and sends Signals ( my example: WeaponChangeSignal ).
Input Manager is installed in ProjectContext since its used project wide.
So I also need to declare the Signals in the ProjectContext.
Player: Is loaded when the Level is loaded - so only available while the level is played.
Question: How can I bind the Signal from the ProjectContext ( Installphase of the InputManager ) to a SceneContext of the Level ( Installphase of the player )

I think this kind of thing works better in zenject 6 with the new signal system


GIgabyte Brix GB BLCE-4105 fails to boot (blank screen)

Hello!
I am have builded image with yocto for genericx86-64 and tried to boot my Gigabyte Brix GB BLCE-4105 with Intel Gemini Lake CPU J4105 but when i tried boot this box, i saw blank screen with cursor at the left top of screen. I tried build with compress option of barys and without it, but this is was without any success for me.
I use dd for flashing it to the SD card and HDD and tried to boot with USB and SATA, but without success. Can anybody help me, which step i can do wrong ?

this is was with new brix, old brix working well


fix(controller): add finalizer to claimed BD

Signed-off-by: Akhil Mohan<EMAIL_ADDRESS>Pull Request template
Why is this PR required? What issue does it fix?:
When a user deletes a BD that is claimed, the BD will be automatically recreated by NDM daemon pod. But the recreated BD will be in Unclaimed state. Thus another claim can get bound to the same BD resulting in data corruption.
What this PR does?:

add openebs.io/bd-protection finalizer to BDs that are in Claimed state

Does this PR require any upgrade changes?:
No
If the changes in this PR are manually verified, list down the scenarios covered::

claimed a BD, try to delete the BD, the delete should not happen. the BD should get deleted only after it is Unclaimed. (after cleanup)
old BDs already in claimed state should get this finalizer on the first reconciliation

Any additional information for your reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:

[ ] Fixes #
[x] PR Title follows the convention of  <type>(<scope>): <subject>
[x] Has the change log section been updated?
[ ] Commit has unit tests
[ ] Commit has integration tests
[x] (Optional) Are upgrade changes included in this PR? If not, mention the issue/PR to track:
[ ] (Optional) If documentation changes are required, which issue on https://github.com/openebs/openebs-docs is used to track them:

Codecov Report

Merging #416 into master will increase coverage by 0.54%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##           master     #416      +/-   ##
==========================================
+ Coverage   44.24%   44.78%   +0.54%
==========================================
  Files          59       59
  Lines        2839     2869      +30
==========================================
+ Hits         1256     1285      +29
- Misses       1479     1482       +3
+ Partials      104      102       -2

Impacted Files
Coverage Δ

...g/controller/blockdevice/blockdevice_controller.go
15.38% <0.00%> (-2.80%)
:arrow_down:

...er/blockdeviceclaim/blockdeviceclaim_controller.go
41.31% <50.00%> (+0.35%)
:arrow_up:

pkg/features/util.go
100.00% <0.00%> (ø)

pkg/features/features.go
100.00% <0.00%> (ø)

cmd/ndm_daemonset/probe/eventhandler.go
12.56% <0.00%> (+1.57%)
:arrow_up:

cmd/ndm_daemonset/probe/udevprobe.go
63.82% <0.00%> (+2.83%)
:arrow_up:

Continue to review full report at Codecov.

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


Http IIS 502.5 Error after migrating from ASP.NET Core 1.0 to 1.1

Steps to reproduce
I used these official ASP.NET Articles and to upgrade my ASP.NET Core 1.0 app to 1.1. The app compiles fine but when I run the app using F5, I get the following error
The issue

Common causes of this issue:

The application process failed to start
The application process started but then stopped
The application process started but failed to listen on the configured port

NOTE:
My app is on development machine(windows 10)  running on default built-in IIS express. No server or migration to a different sever is involved.
Windows Event Log:
Failed to start process with commandline '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\Extensions\Microsoft\Web Tools\ProjectSystem\VSIISExeLauncher.exe" -p "C:\Program Files\dotnet\dotnet.exe" -a "C:\DotNet2015\src\ABCTest\bin\Debug\netcoreapp1.1\ABCTest.dll" -wd "C:\DotNet2015\src\ABCTest" -wbe Global\Build30603dd4-5933-4547-8aff-af488d42458c -lse Global\Launchf9d250ad-37e9-4e5b-8375-46f63c747deb', ErrorCode = '0x80004005'.

Further technical details
EF Core version: 1.1
Operating system: Windows 10
Visual Studio version: 2015-Update 3 (with latest updates)
Other details about my project setup:
project.json File:
{
"userSecretsId": "aspnet-ABCTest-6af8ade3-87ff-4468-a9ce-8bb69c696ab8",
"dependencies": {
"Microsoft.NETCore.App": {
"version": "1.1.0",
"type": "platform"
},
"Microsoft.EntityFrameworkCore.SqlServer": "1.1.0",
"Microsoft.EntityFrameworkCore.Tools": "1.1.0-preview4-final",
"Microsoft.AspNetCore.Mvc": "1.1.0",
"Microsoft.AspNetCore.Mvc.Core": "1.1.0",
"Microsoft.AspNetCore.Server.Kestrel": "1.1.0",
"Microsoft.EntityFrameworkCore.SqlServer.Design": "1.1.0",
"Microsoft.AspNetCore.Authentication.Cookies": "1.1.0",
"Microsoft.AspNetCore.Diagnostics": "1.1.0",
"Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore": "1.1.0",
"Microsoft.AspNetCore.Identity": "1.1.0",
"Microsoft.AspNetCore.Identity.EntityFrameworkCore": "1.1.0",
"Microsoft.AspNetCore.Razor.Tools": "1.1.0-preview4-final",
"Microsoft.AspNetCore.Server.IISIntegration": "1.1.0",
"Microsoft.AspNetCore.Server.IISIntegration.Tools": "1.1.0-preview4-final",
"Microsoft.AspNetCore.StaticFiles": "1.1.0",
"Microsoft.Extensions.Configuration.EnvironmentVariables": "1.1.0",
"Microsoft.Extensions.Configuration.Json": "1.1.0",
"Microsoft.Extensions.Configuration.UserSecrets": "1.1.0",
"Microsoft.Extensions.Logging": "1.1.0",
"Microsoft.Extensions.Logging.Console": "1.1.0",
"Microsoft.Extensions.Logging.Debug": "1.1.0",
"Microsoft.Extensions.Options.ConfigurationExtensions": "1.1.0",
"Microsoft.VisualStudio.Web.BrowserLink.Loader": "14.1.0",
"Microsoft.VisualStudio.Web.CodeGeneration.Tools": "1.1.0-preview4-final",
"Microsoft.VisualStudio.Web.CodeGenerators.Mvc": "1.1.0-preview4-final"  },
"tools": {
"BundlerMinifier.Core": "2.0.238"  },
"frameworks": {
"netcoreapp1.1": {
"imports": [
"dotnet5.6",
"portable-net45+win8"
]
}
},
"buildOptions": {
"emitEntryPoint": true,
"preserveCompilationContext": true
},
"runtimeOptions": {
"configProperties": {
"System.GC.Server": true
}
},
"publishOptions": {
"include": [
"wwwroot",
"Views",
"Areas/**/Views",
"appsettings.json",
"web.config"
]
},
"scripts": {
"prepublish": [ "bower install", "dotnet bundle" ],
"postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
}
}

Try deleting all the files in the publish folder before running it again. If publishing to Azure use a new slot.

I would also try to enable stdout/stderror logging in your web.config. That output should show you what exception is causing the process to crash.
You can probably get the same info by navigating to your project directory in a shell and doing dotnet run.

@AndriySvyryd My app is on development machine running on Visual Studio 2015 with built-in IIS Express on Windows 10 . There is no Publish folder since I've not yet published it to anywhere.

@saf-itpro In your case the app runs from the bin folder under your project, so delete it to make sure everything gets updated

@AndriySvyryd I deleted the bin folder ran the clean solution, compiled the app and ran again. Still the same error.

@saf-itpro Then please post the log as @halter73 suggested

@AndriySvyryd I ran dotnet run command from the src directory and got the following error:
[Project ABCTest (.NETCoreApp,Version=v1.1) was previously compiled. Skipping compilation.
The specified framework 'Microsoft.NETCore.App', version '1.1.0' was not found.

Check application dependencies and target a framework version installed at:
C:\Program Files\dotnet\shared\Microsoft.NETCore.App
The following versions are installed:
1.0.0
1.0.1
Alternatively, install the framework version '1.1.0'.](url)

@saf-itpro You need to install .NET Core 1.1 SDK https://go.microsoft.com/fwlink/?LinkID=835014

@AndriySvyryd Let me do that. I thought when I got a notification in VS about the release of 1.1, it had downloaded an exe that I had already ran; and hence that was enough along with the instructions in the two above mentioned articles.

@saf-itpro Unfortunately the current VS Tools only include the .NET Core 1.0.1 SDK

@AndriySvyryd Thank you for coming to my rescue. It's working now after I installed .NET Core 1.1 SDK that you sent the link of. Your team may want to update the articles I mentioned above with the the instructions of installing .NET Core 1.1 SDK as a pre-requisite.

I have hit a very similar issue with ASP.net Core 2.0.  I had copied my VS project to a new one, and i was getting this error message.  After doing some research, I was able to determine that the nlog.config file was not copied into the bin > Debug > net461 folder.  Once I did this, I was able to run my application.  I found it by running dotnet run from the command line on my project where the csproj files live.  I hope it helps any future people with this issue.


Implement tui-viewer with body content

Resolved #107

Changes Unknown when pulling b0fbcf0844e8a24e056cfb279f35d94d923b0310 on viewer-body-#107 into ** on master**.

LGTM, merged.


Upgrade Asciidoctor core to 1.5.5

This PR bumps the version of Asciidoctor to 1.5.5 for the AsciidoctorJ 1.6.x branch.
Additionally it removes the asciidoctorj-pdf module as it lives in its own repo now.
Once this is merged I could release a new 1.6.0-alpha.4 so that there is a 1.6.0 release with the latest and greatest Asciidoctor core released again.

I could definitely see us doing the same for epub3 and diagram. But let's do pdf first and just get used to how that works.

Hmm.... build failed on Java 8.
I will check tomorrow. I also built with java 8 locally on OSX but with an older version (_91)

Seems like there's really a problem with the test.
I couldn't reproduce it locally and for some reason Gradle on Travis thinks it's a bad idea to write out the assertion messages.
Will retry.

Working fine on Windows 8.1 with Java 1.8.0_121.

All fine on MacOS 1.8.0_60, however on Windows 7 with Java 1.8.0_111 I got an error on 'should_be_able_to_read_asset'
org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- asciidoctor

	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:961)
	at RUBY.require(uri:classloader:/META-INF/jruby.home/lib/ruby/stdlib/rubygems/core_ext/kernel_require.rb:55)
	at RUBY.<main>(<script>:9)

Oo...
Didn't try yet on Win, but will also do that.
Is it just an impression or is it really so fragile?

Is it just an impression or is it really so fragile?

Being honest, the whole thing of running ruby gems in Java + Java extensions that get hooked into Ruby + compatibility with Java 6, 7, 8 and several OS is quite a feat. So some issues should not be unexpected, however this must never be discouraging.
Back the topic, the only issue that really concerns me is the one with Java 7, I tested more and it only happens from shell, not from IntelliJ....overall...excluding the Travis issue, the others don't worry me enough to block the release:

The Windows 81. is a path thing, so an assertion that takes that into consideration could be added.
The PDF issue, is the known one about not being able to find rouge.
The Windows 7 is odd but the fact that it only happens form shell makes me think could be something with the order of execution or environment get polluted after some tests.

Yes, you're right. Maybe I am just in a pessimistic phase right now ;)

Tomorrow I will have a look at the first and third issue in more detail. But still no idea about the Travis issue :/
Maybe we can use this to store the tests reports? https://docs.travis-ci.com/user/uploading-artifacts/

Is it just an impression or is it really so fragile?

Being honest, the whole thing of running ruby gems in Java + Java extensions that get hooked into Ruby + compatibility with Java 6, 7, 8 and several OS is quite a feat.

I think this can be even further simplified. JRuby is not sufficiently tested on Windows. I have yet to see a recurring problem of JRuby running on *nix. And most of the time, it has to do with handling of paths. I think this is a valid criticism of JRuby. But we need to keep in mind that we can only offer as much as what JRuby affords. In other words, I don't think we should burden ourselves trying to fix problems outside of our own scope. We can do it to a point...but at some point we have to say "we are waiting on upstream to fix that"

I also wonder whether if there's a difference when using Bash vs command vs PowerShell on Windows. So "windows" isn't just one environment.

The jbake gradle plugin is using the following configuration to output what tests are executed and what's going on.
https://github.com/jbake-org/jbake-gradle-plugin/blob/master/build.gradle#L113-L130
I'll prepare a pull request. Maybe that helps debugging the problem.

I can reproduce the failing tests running test-asciidoctor-upstream.sh on my local machine with java 8.

Good point!
I didn't run against upstream.
I'll also try that!
Awesome!

OK, think I have the test errors now.
The initial error is due to a recent fix in the way the data uris are encoded, change from : to ; as a separator.
That's easy to fix so that it builds with both versions.
The new errors come from the renaming of Treeprocessor to TreeProcessor in ::Asciidoctor::Extensions in https://github.com/asciidoctor/asciidoctor/commit/f1dd816ade9db457b899581841e4cf7b788aa26d.
I'll try to fix it now so that we keep the old Java class name but are able to build and run with Asciidoctor 1.5.5 and 1.5.6.
But I wonder if we also want to rename that class in to TreeProcessor in the AsciidoctorJ 1.6.x branch.
Imo we shouldn't change the name in the Asciidoctor 1.5.5 line as we don't have that simple way of aliasing class names in Java and I'm not a fan of having 2 classes Treeprocessor and TreeProcessor in AsciidoctorJ.

I noticed AppVeyor is not launching on PRs.
Btw, I can confirm the error with Windows 8 is a problem with the assert. In this change https://github.com/asciidoctor/asciidoctorj/commit/41a6d5ab8bc766d6d67907027c9c4d2782b8fab4 a full path validation was introduced that is only valid for Unix like systems.
Is as simple as doing this in WhenDitaaDiagramIsRendered
if (Platform.getNativePlatform().OS == Platform.OS.WINDOWS)
    result.contains("""src="${imagesOutDir.absolutePath.replaceAll("\\\\", "//")}/${imageFileName}.png""")
else
    result.contains("""src="${imagesOutDir.absolutePath}/${imageFileName}.png""")

I can send a PR after merge.

Strange, it looks rather that Github doesn't show the build result.
Because Appveyor actually built this PR:
https://ci.appveyor.com/project/asciidoctor/asciidoctorj/build/526
I would be super-happy if you could create a PR to fix this test for Windows.

The new errors come from the renaming of Treeprocessor to TreeProcessor in ::Asciidoctor::Extensions in asciidoctor/asciidoctor@f1dd816.

I'm confused. I already added that alias so it should have 0 impact. Why doesn't AsciidoctorJ see the alias?
https://github.com/asciidoctor/asciidoctor/blob/master/lib/asciidoctor/extensions.rb#L302

But I wonder if we also want to rename that class in to TreeProcessor in the AsciidoctorJ 1.6.x branch.

Yes, this is an official change. We did the same in Asciidoctor.js.

Also keep in mind that it's no longer valid to use a backend name that doesn't resolve to a converter. We now check eagerly whether a converter can be resolved. Otherwise, we have the risk of a NilClass exception later on. I think one of the tests was using a bogus backend name, but not checking for an exception early enough.

I'll try to fix (Treeprocessor) now so that we keep the old Java class name but are able to build and run with Asciidoctor 1.5.5 and 1.5.6.

I really want this to work without a change to AsciidoctorJ.

I'm not too happy about this either. If we find another way I would be more than happy, because it's really a hack, but is related to the fact that we support 2 versions of Asciidoctor in every build (latest release plus upstream).
Additionally I'd really like to avoid this name change in AsciidoctorJ 1.5.x.


Add using closure in modules.conf to process directives that use params.*

Updates docs to include that process directives which include params.* should be supplied as closures.

@nf-core-bot fix linting


Abort error

I'm getting an Abort error similar to the previous issues but I have no idea how to fix it:
Via USB, all I'm seeing when I run 'scrcpy' from with fresh copies is (USB Debugging enabled & authorized)
cmd:
scrcpy-server.jar: 1 file pushed. 1.2 MB/s (19178 bytes in 0.016s)
Aborted (Hangs until Ctrl-C)
I'm running everything in a new extracted folder.
Not the same issue as https://github.com/Genymobile/scrcpy/issues/315

Turns out this was my issue: #268
Steps to fix (Windows):

Open cmd in folder containing adb.exe
Execute adb shell in cmd
Traverse to data/local/tmp cd data/local/tmp
Execute rm -rf scrcpy-server.jar to remove directory (Idk why this path is made...)
4a. I deleted all environment variables (such as adding adb path to PATH) that I had configured previously for this process (You likely won't need to do this step)
Restart computer

Thanks all for those who helped me above.

Tried and worked. No need to restart computer btw.

Tried and worked. No need to restart computer btw.
For good measure. 😆

If @rom1v could fix this and/or post an update to this, that'd be great.

@ryalia44 I have no idea how scrcpy-server.jar ends up being a folder sometimes. I never reproduced it, and it seems very rare. It might be a bug in how adb push is handled on some versions of the adb server…

@ryalia44
I faced the problem and finally resloved it following @f4th4n guide.
I think I know what might be the cause of the problem in the first place,
I noticed things went wrong just after I added new windows environment variable : SCRCPY_SERVER_PATH. I did it because I wanted to be able to run "scrcpy" from every where, but obviously it ends up with the app aborting.
Now I run the app from within install directory, I just send a shortcut to desktop.
hope this helps. thank you everyone. cheers ;)

I have no idea how scrcpy-server.jar ends up being a folder sometimes

Now, I know: https://github.com/Genymobile/scrcpy/issues/278#issuecomment-491578503

@ryanliang88 your suggestion works for me. thanks.


Add Sacraficial Altar and new method of creating totems.

Originally Suggested by demon_games on CurseForge.
Configure it so instead of manually creating the recipes, it could instead automatically generate the Totems of Summoning by scanning a list of all NPCs in the game, then crafting the totems would require you to "sacrifice" the mob by killing it near a Sacrificial Altar, which has a chance of dropping a soul of the mob you killed.
Then you could craft a Totem of Summoning by creating a T-shape recipe of wood and a soul (the soul would go in the center). You could even setup a blacklist system so players could configure what mob/mobs would not have a Totem generate for that mob.

Not doing this one. Closing


multiple table folder locations

for VPX I have a TABLES and TABLES_PUP folder -- Any way to incorporate both into the the software?

I had a similar request from a VR player. How do you setup the second tables folder in PinUP Popper? You add VPX twice, but with a different tables folder?

I had a similar request from a VR player. How do you setup the second tables folder in PinUP Popper? You add VPX twice, but with a different tables folder?

I have two emulators - one for the regular VPX and the second for the PUPs.  I pointed both to the same ROM and media folder, so that overlaps.

I see. Ok, I will take care of that.

Fixed with version 2.1.1


fix scrubber layout for convenient use on iphones with safe area fix image glitching (when try to dismiss when animation unfinished)

fix scrubber layout for convenient use on iphones with safe area
fix image glitching (when try to dismiss when animation unfinished)


Implement an auto-whitelist system

I have been learning some git commands and how to use branches. I'd prefer to have different pull requests and commit names since now, that's why I'm separating in "pieces" #726.
About this PR, it just delete the current players from the whitelist (at the start of every match) and whitelist all online players, also it turn on. And, when the match end, the whitelist is set to off. This feature is totally toggleable, as shown in the config.yml.
Tell me if you have any thoughts about this implementation.
Here's an example of how it looks: http://gyazo.com/389a6efc92d76295f4c226be1a5aa3dc

@Alfalik What about a team with players on it where not every player played. Wouldn't they be removed from the whitelist?

@dentmaged Sorry, but can't understand what you mean. Could you write one example?

@Alfalik I'm in the team Implosion. If my team is whitelisted and the game starts, they will be re-added. When the game ends, they'll be unwhitelisted.

@Alfalik This PR should be rebased

@TiTo-418 If anyone can make an opinion, I'll rebase it, if not, no.

Closing as this seems to be useless.

@Alfalik @twizmwazin Could we keep this opened?


Make it clear in README that ACCESS_NETWORK_STATE and BLUETOOTH permissions are optional for installation

Currently README.md makes it looks like all three permissions (INTERNET, ACCESS_NETWORK_STATE and BLUETOOTH) are required. ACCESS_NETWORK_STATE and BLUETOOTH are optional, so README.md should make it clear that only INTERNET is required for installation of the SDK.

Done :)


Stop audio and video when offscreen in ListView

Any recommendations how I can stop the audio and video when it scrolls offscreen? I tried removeClippedSubviews on the ListView but it seems to have no effect on playing videos as I can still hear the audio.

Subscribed to onChangeVisibleRows to manipulate the volume prop.

Thanks for the followup @blairvanderhoof!


Create core bundle

Create a core bundle that can contain common/utility classes that are used throughout the plugin, e.g.:

Activator for plugin (or at least the constant for the plugin ID as it is needed to create proper Status objects)
common helper classes to wrap Eclipse's SDK to allow unit testing

I might call it util instead of core, but either way this is a good idea. We may need a separate bundle for test-only code that shouldn't find its way into the plugin binary.

#372 #371


Downloaded extension doesn't contain any templates error

I am attempting to create a new Serenity project in VS 2017. I am getting this error when I try to create a new project using the template: "Downloaded extension doesn't contain any templates". I have uninstalled and reinstalled VS 2017 in the event something was an issue with my install. I also am starting VS 2017 as administrator. I have Googled the error to see if I can find some tips on resolving this. So far no success. Any help is appreciated.

I can't reproduce this. Your VS2017 installation might be lacking some optional parts, e.g. .NET Core, Web Development, Desktop Development etc.

Also uninstall the extension and install it from New Project => Online, VS should restart

I have tried that - I will run through the steps again. I also uninstalled and reinstalled VS 2017 and made sure I had the correct optional parts. Looks like I have a very localized issue.

I am getting the same issue.

I have this issue if I try to create through Online -> Templates -> Serene

But it's template is actually listed in Installed -> Templates ->Visual C#

So it works:

Best Regards

Thanks @edson, can you share your VS About dialog so i could check what is different than my VS2017?

Hi @volkanceylan
Sure. There it is:
Microsoft Visual Studio Enterprise 2017
Version 15.0.26228.9 D15RTWSVC
Microsoft .NET Framework
Version 4.6.01586
Installed Version: Enterprise
Architecture Diagrams and Analysis Tools   00369-60000-00001-AA780
Microsoft Architecture Diagrams and Analysis Tools
Visual Basic 2017   00369-60000-00001-AA780
Microsoft Visual Basic 2017
Visual C# 2017   00369-60000-00001-AA780
Microsoft Visual C# 2017
Visual C++ 2017   00369-60000-00001-AA780
Microsoft Visual C++ 2017
Visual F# 4.1   00369-60000-00001-AA780
Microsoft Visual F# 4.1
Application Insights Tools for Visual Studio Package   8.6.00209.10
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2017   15.0.30223.0
ASP.NET and Web Tools 2017
ASP.NET Web Frameworks and Tools 2017   5.2.50127.0
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   15.0.30209.0
Azure App Service Tools v3.0.0
Common Azure Tools   1.9
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
JavaScript Language Service   2.0
JavaScript Language Service
JavaScript Project System   2.0
JavaScript Project System
KofePackagePackage Extension   1.0
KofePackagePackage Visual Studio Extension Detailed Info
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 2017 - v2.9.50131.1
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
Node.js Tools   1.3.50201.08
Adds support for developing and debugging Node.js apps in Visual Studio
NuGet Package Manager   4.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.
SQL Server Data Tools   15.1.61702.140
Microsoft SQL Server Data Tools
TypeScript   <IP_ADDRESS>
TypeScript tools for Visual Studio

Best Regards

Version is similar, i'm using Community though, can you uninstall Serene and try with <IP_ADDRESS>?

Here is what i get when i download Serene from Visual Studio => New Project => Online => Templates section

This causes Visual Studio 2017 to close and install Serene. VS2017 requires itself to close to install extensions. This is not specific to Serene.
After installation, i have to open Visual Studio again manually and if you go to Online section again, i see this error message:

So i think this is a Visual Studio 2017 bug. For now, you should use Installed section to create projects after installing Serene, not Online again...

@volkanceylan The results from installing again are the same as you posted. (Using Enterprise Trial)
Seems like a VS2017 bug to me too. I have no problem with that... but newcomers from VS2015 may see this as confusing...
Best Regards

Yes, not just ones from VS2015 but also ones who are trying it first time, finding it under Online section by luck. Hope MS will fix it soon or i'll be able to find a workaround.

We can catch their attention by emailing to<EMAIL_ADDRESS>( as per http://stackoverflow.com/questions/40656621/how-to-feedback-in-visual-studio-2017-when-report-a-crash-crashes)
(i did not send email, please do)
or
filing an issue (which may take some time =( )
https://connect.microsoft.com/VisualStudio/Feedback
Hope this does not affect Serene's VS Gallery rating.


Workflow for using React

Hi there,
I'm trying out skpm with react, and I'm not sure if I'm going about it the right way. Listing the steps I followed below. Appreciate any feedback.

Run skpm init and follow the setup
Add react npm install --save react react-dom
Add web view module for sketch npm i -S sketch-module-web-view
Add a command that creates the web view. Code here
In the Resources folder, create the react component that will be included in the web view. Code here

I couldn't figure out how/where to include the react component in the webview. So I manually added a HTML file in the plugin's Resources folder. Code here

Yeah that's how I do it as well. Any insights on how to make it more streamlined?

I was hoping to use react-router and have a single entry point instead of adding those HTML files in the Resources folder. But no luck so far.

@amin-nas I personally develop the UI as a separate (Vue) project. During development I point the webView to my local dev server (possible since yesterday : ). This way I have changes to my UI auto reload right within Sketch. For production I build the UI in the Resource directory and switch back to loading it as a html file. Feels really smooth.

Much better workflow! Thanks for sharing.

@amin-nas I personally develop the UI as a separate (Vue) project. During development I point the webView to my local dev server (possible since yesterday : ). This way I have changes to my UI auto reload right within Sketch. For production I build the UI in the Resource directory and switch back to loading it as a html file. Feels really smooth.

It a great solution! Thank you!

@amin-nas I personally develop the UI as a separate (Vue) project. During development I point the webView to my local dev server (possible since yesterday : ). This way I have changes to my UI auto reload right within Sketch. For production I build the UI in the Resource directory and switch back to loading it as a html file. Feels really smooth.

It's a great solution! Thank you!


Separate amm/ into separate modules regarding concerns

Currently, amm/ is a...

REPL
Scala compiler
Bytecode evaluator and runtime

These three things are all mashed together inside the Repl/Interpreter/Evaluator objects. While that layering served its purpose in the past when Ammonite was only a REPL, it is outdated now it has what is really three different use cases.
Furthermore, this confusion has real consequences: it took a great deal of fiddling to remove the Scala-compiler/parser dependency from the "Bytecode evaluator and runtime" portion of Ammonite, and it's still only barely removed: someone could accidentally re-introduce it at any time by using the wrong method in the wrong place, where "wrong method" and "wrong place" is totally not-obvious from the code. While tests like https://github.com/lihaoyi/Ammonite/issues/424 could help us catch this, it would be better to have the code actually be broken out such that "wrong method" and "wrong place" becomes obvious.
As I imagine it, this effort would break amm/ into five separate modules, with dependencies that look like:
            +-- amm-runtime  <-------------------+
            |        ^                           |
            |        |                           |
            |        +-------+                   |
            |                |                   |
amm-core <--+---------- amm-compiler <-----------+-- amm
            |                ^                   |
            |                |                   |
            |                +---------+         |
            |                          |         |
            +----------------------- amm-repl <--+

In this world, amm would be a relatively small wrapper, that delegates to the relevant code in amm-runtime/amm-compiler/amm-repl as needed. amm-core would contain all the miscellaneous stuff everything shares (e.g. definitions of Name, Imports, Res, ...).
Each of the sub-modules would have only the dependencies they need: e.g. trying to use scala.tools.nsc within amm-runtime would be a compilation error, and thus we can ensure that we do not accidentally pull in unwanted dependencies into amm-runtime code which runs when all the code has already been compiled and is available from the cache, avoiding performance regressions. While in theory amm could do the wrong thing, if we have the discipline to keep it relatively small while the bulk of implementations go into amm-runtime/amm-compiler/amm-repl, that already greatly reduces the chance of using the wrong thing in the wrong place

This has happened in master, using the following layout:
             +-- amm/runtime <----------------+          +---------- shell
             |        ^                       |          |
             |        |                       |          |
             |        +-----+                 |          |
             |               |                |          |
 amm/util <--+--------- amm/interp <--------+-- amm <--+---------- sshd
             |               ^                |
             |               |                |
             |               +-----+          |
             |                     |          |
             +------------------- amm/repl <--+
                                  |
                                  |
                                  |
                                  |
                   terminal <-----+


udev rule causes occasional failure on launch

I occasionally get an error launching my A2 indicating that ROS can't establish a connection with it, the same error as when the lidar isn't plugged in:
[ERROR] [1538678043.322231936]: Error, operation time out. RESULT_OPERATION_TIMEOUT!
[rplidar-2] process has died [pid 21040, exit code 255, cmd /opt/ros/kinetic/lib/rplidar_ros/rplidarNode __name:=rplidar __log:=/home/user/.ros/log/10be304a-c804-11e8-a5ac-646e69630aab/oil-navigation-lidar-rplidar-2.log].
log file: /home/user/.ros/log/10be304a-c804-11e8-a5ac-646e69630aab/oil-navigation-lidar-rplidar-2*.log

The problem is resolved when the USB is unplugged and replugged. This made me suspect that the problem is due to the udev rule in the scripts folder and indeed, when I directly specify the portname using the ttyUSB* name, I never get the error. I tested this by repeatedly launching through the symlink 'rplidar' and continuously failing and the specifying the direct portname instead and it immediately working.
I also opened this issue on the slamtec repo as I only saw this seemingly more active one later

may be the device port rplidar is blocked by OS(because of other node process) ,  it is fine when you replugged.
when you happen again, give some message in detail by the following command:
ls -la /dev/ttyUSB*


Run IATA code processing over POIs to include airports.

Requires mapzen/TileStache#103. Connects to #398.
@rmarianski could you review, please?

:+1:


19 DEC 2022 - InnerSource SIG License Working Group Meeting #4

Date
Monday 19 DEC 2022 - 11:00AM EST / 4:00pm UK
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS SIG Leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS SIG meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[ ] Convene & roll call (5mins)
[ ] Display
FINOS Antitrust Policy summary slide
[ ] Review Meeting Notices (see above)
[ ] Approve past meeting minutes (https://github.com/finos/InnerSource/issues/80)
[ ] Review Tidied up Clauses.md (https://github.com/chamindra/InnerSource/blob/master/docs/licenses/clauses.md)
[ ] Review approach for Deep Dive on Inner Source License, Clauses, Background and Lessons Learned
[ ] Ideitify projects and owners to run Deep Dives
[ ] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

Zoom Details

https://zoom.us/j/94949043746?pwd=WnBFQjhpUnBjMWE0OUhqUGhhb0ZOdz09
Meeting ID: 949 4904 3746
Passcode: 067897

Join by phone
Find your local number: https://zoom.us/u/adJnH9JOiY
Mailing List
Email<EMAIL_ADDRESS>to subscribe to the InnerSource SIG
mailing list.

👋

Hello 👋🏻

Hello :)

hello!

Hi everyone :)


Dvidied the Header.JSX file in components & tabs

Divided the Header.JSX file into multiple tabs and components.
Tabs:

XR
Character
World
Claims

Components

Location
Tab

This PR caused major regressions due to lack of testing, and was reverted in https://github.com/webaverse/app/commit/64d64c8b111746b6a29ad31936b5fdfce986191f


[SP-6648][PPP-4864] Vulnerable Component: JDom -- backport to 10.2 su…

…ite for <IP_ADDRESS>

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 19m 3s
Build command:
mvn clean verify -B -e -Daudit -Djs.no.sandbox -pl \
assemblies/lib,engine,plugins/rss/impl,plugins/salesforce/core

:ok_hand: All tests passed!
Tests run: 2415, Failures: 0, Skipped: 13    Test Results

:information_source:  This is an automatic message


added ability to use a workserver.

since you expect a public node to have the pow generation disabled, you would have to rely on a self hosted node.
hosting the https://github.com/nanocurrency/nano-work-server itself is cheaper and easier, so you still can use public nodes.

Thanks fior the PR, but this is already possible with the current implementation. The way to approach this is to simply create another RpcClient instance which has its URL property set to the address of the work server, and call WorkGenerateAsync.

you are right, but dont you think this solution could get quite inconvenient?
because having 2 rpcClients, one doing work, the other one doing the rest could get kinda messy on bigger projects.
but im not mad if you decide it that way. ill just implement it so :D

I can imagine this being a small inconvenience when using dependency injection, but even then I don't think it's worth it to have a just single rpc method which takes in a url and ignores the URL property, unlike all the other methods.


update »Europa« organization

Due to acquiring of Distelli by Puppet [1] the organization changed of
GitHub too.
Fixes [TravisCI#1270].
[1] https://puppet.com/blog/welcome-distelli-to-puppet-family
[TravicCI#1270] https://travis-ci.org/veggiemonk/awesome-docker/builds/319122631

@agebhar1 Good job! Thanks


Iosevka-SS08: init at v6.1.3

Motivation for this change
Iosevka-SS08: init at v6.1.3
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Added a release notes entry if the change is major or breaking
[ ] Fits CONTRIBUTING.md.

I did a lot of mess, can we delete this PR please?


TLS handshake timeout While Listing CodeStarProject

level=error msg="Listing CodeStarProject failed:\n    RequestError: send request failed\n    caused by: Post \"https://codestar.us-east-1.amazonaws.com/\": net/http: TLS handshake timeout" error="RequestError: send request failed\ncaused by: Post \"https://codestar.us-east-1.amazonaws.com/\": net/http: TLS handshake timeout"

On almost half of the accounts I've tried to nuke, this timeout error has caused aws-nuke to stop and cannot complete a dry-run. To the best of my knowledge, we've never used CodeStar and I do not understand why this happens on some accounts but not all accounts.

If you don't use it, just exclude it in your configuration. See if that allows it to complete.

Please provide your configuration. You should exclude any resource you know you don't ever use. Unless you know you want it, you should also exclude S3Object

Excluding S3Object appears to have worked.
configuration:
regions:
  - global
  - us-east-1
  - us-east-2
  - us-west-1
  - us-west-2

accounts:
<PHONE_NUMBER>11:
   presets:
     - common

bypass-alias-check-accounts:
  -<PHONE_NUMBER>11

settings:
  EC2Instance:
    DisableDeletionProtection: true
  RDSInstance:
    DisableDeletionProtection: true

resource-types:
  excludes:
    - S3Object
    - CodeStarProject
    - CodeStarConnection
    - CodeStarNotificationRule
    - OpsWorksLayer
    - OpsWorksInstance
    - OpsWorksCMServerState
    - OpsWorksApp
    - OpsWorksCMBackup
    - OpsWorksCMServer
    - OpsWorksUserProfile
    - FMSPolicy
    - FMSNotificationChannel
    - CloudSearchDomain
    - MachineLearningEvaluation
    - MachineLearningMLModel
    - MachineLearningDataSource
    - MachineLearningBranchPrediction
    - RoboMakerSimulationApplication
    - RoboMakerRobotApplication
    - RoboMakerSimulationJob

presets:
  common:
    filters:
      IAMRole:
        - aws-nuke-role
      IAMRolePolicyAttachment:
        - "aws-nuke-role -> AdministratorAccess"


Copy dev-config.yml to config.yml at image build time

This preserves the previously documented mountpoint for the
configuration file.
Signed-off-by: Aaron Lehmann<EMAIL_ADDRESS>

LGTM


Added ImageData support

Adding support for ImageData (raw pixeldata) according to #3.

Adding support to convert ImageData (as returned from canvases and webgl texture buffers) to ASCII.
Adding some sample code in main.
Adding unit test.

Please add a brief description of ImageDataReader in README.md


python310Packages.schwifty: 2022.9.0 -> 2023.2.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.schwifty is: Validate/generate IBANs and BICs
meta.homepage for python310Packages.schwifty is: https://github.com/mdomke/schwifty
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2023.2.0 with grep in /nix/store/7w0039d4fsyxsyc6gvmkk0gyak77qpmk-python3.10-schwifty-2023.2.0
found 2023.2.0 in filename of file in /nix/store/7w0039d4fsyxsyc6gvmkk0gyak77qpmk-python3.10-schwifty-2023.2.0

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
banking
python310Packages.schwifty
python311Packages.schwifty

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7w0039d4fsyxsyc6gvmkk0gyak77qpmk-python3.10-schwifty-2023.2.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7w0039d4fsyxsyc6gvmkk0gyak77qpmk-python3.10-schwifty-2023.2.0
ls -la /nix/store/7w0039d4fsyxsyc6gvmkk0gyak77qpmk-python3.10-schwifty-2023.2.0/bin

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

3 packages built:

banking
python310Packages.schwifty
python311Packages.schwifty

Maintainer pings
cc @milibopp for testing.

@ofborg build python311Packages.schwifty banking

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

3 packages built:

banking
python310Packages.schwifty
python311Packages.schwifty