Correct way to upgrade base system?

Hello!
Sorry to come back for another question, but reading this thread from the forum, I feel quite unsure as to the correct way to upgrade the base system.
Is it reliable to use, as in FreeBSD, freebsd-update fetch and freebsd-update install? If not, what is the way to do this?

You can run freebsd-update fetch install as in a regular FreeBSD installation.

Thank you very much!!


Add support for redis cluster

I once expanded the Redis support so that you can also use messaging with a Redis cluster.
I only made addresses from the adress in the config and a string list where you can specify the IP addresses and ports of your Redis nodes.

I'm happy to merge this change in, but it needs to be backwards compatible please! (people's existing config files should keep working as they did before)

Do you think it makes more sense to create another config key for the multiple addresses or that I offer support for a string & a string list from the old config entry?

Do you think it makes more sense to create another config key for the multiple addresses or that I offer support for a string & a string list from the old config entry?

Should check if address exists and use that (and possibly migrate that to addresses), if it doesn't exists use addresses

I changed something. Does that correspond to such an idea?

Yep much better, can we keep the config how it was before? (most people I assume will only be using a single instance)

Do you mean that in the default config there is only address instead of addresses and that addresses then only says in the wiki that this is available?

Yea :)

I'll do it for you right away. But I also write that in the comment above the section so that you can read it directly in the config that you can add multiple nodes.

Is now back with before!

The unit/integration tests are failing, I think probably just an import that needs to be updated in the standalone module

The old Jedis version doesn't include some features that I used. I think it was because of that.

That's fine, you'll also need to update this file https://github.com/LuckPerms/LuckPerms/blob/master/common/src/main/java/me/lucko/luckperms/common/dependencies/Dependency.java
and run the DependencyChecksumTest to figure out the new hash

I have adjusted.
I tested it on Velocity 3.2.0-SNAPSHOT and Paper 1.19.4 with two Redis Nodes (7.0.11).

I can not understand. My tests pass at my place?

I refresh my whole local project. I'm very confused right now, sorry.

By default the docker integration tests are skipped, try commenting out this line
https://github.com/LuckPerms/LuckPerms/blob/master/standalone/src/test/java/me/lucko/luckperms/standalone/MessagingIntegrationTest.java#L56
and running the redis test :)

Sorry, I've been looking for the problem all this time.
I didn't consider that normal Redis instances logically don't work in a cluster.
Since the cluster support is also disabled in the test, the test (fortunately) does not pass. Since I tested it in a Redis cluster, I was always wondering why it works for me. I'll work on it and add additional support for it when cluster support is disabled.

No problem - the tests did their job then! :)

The tests pass and now it also works for non-Redis cluster setups. I also tested it again myself, for single node setups, with the latest Redis Docker Version, Velocity 3.2.0-SNAPSHOT and Paper 1.19.4.
Please have a look again 👍

Turns out there is a new version of JedisPool called JedisPooled which implements a common interface to JedisCluster, which makes things a bit tidier I think :)
I've re-ran the tests and everything looks good! Thanks for the PR :)


Fix ProblematicPackageJsonTests.

Exceptions are expected for MissingTralingBrace and MissingTrailingListBrace tests.

This fixes the tests in VS2015, but breaks them in VS2013.
The exception only began ocurring in VS2015, which depends on Newtonsoft.Json 6.0, not 4.5 - see this commit comment for more info. https://github.com/Microsoft/nodejstools/commit/155a3411e813d79af7a92c71f0e41bcd9621ca02#diff-783b0bc1c65b5cb6b1ee09a119cd29eb
As mentioned in the comment, Newtonsoft.Json 6.0 reliance in NTVS was only supposed to be temporary, but unfortunately VS 2015 never fixed their binding redirect issue. At this point, we may as well bite the bullet and move to Newtonsoft.Json 6.0 everywhere rather than conditionally in VS2015 to keep our codepaths more predictable across VS versions.

Closing this PR, as it's not the right way to go about addressing the issue. Opened #645 to track.


fix: update deps, fix some vuls

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

v1.1.6
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Issues with the .bat file

In task manager, the task is called "R for Windows front-end". Is there a way to rename it?
After attempting to load data into the app and closing it before completion, the app breaks and does not allow to access it again until it finishes loading the data (in case of an error this could take hours). Running the script again does not open another instance of the app. Is there a way to circumvent such a case?
I have the same exact issue as #19  on another laptop. It does not open, and if I run it as administrator, I get the wsj error. I have
session$onSessionEnded(function() {stopApp()})
Included, and from what I understand the need to set path with cd has been fixed. So I don't understand what's causing the issue.

Try putting session$onSessionEnded(function() {stopApp()}) inside the server function.

Is in your config file the paths are as below?
Defaults to:
"dist\R-Portable\App\R-Portable\bin\"
		To use a system installed R set to something like:
			"dist\\R-Portable\\App\\R-Portable\\bin\\"

			"r_exec": {
	"home": "dist\\R-Portable\\App\\R-Portable\\bin\\"
},

Is in your config file the paths are same as below?
Defaults to: "dist\R-Portable\App\R-Portable\bin"
		To use a system installed R set to something like:
			"dist\\R-Portable\\App\\R-Portable\\bin\\"

			"r_exec": {
	"home": "dist\\R-Portable\\App\\R-Portable\\bin\\"
},

Yes, they are; I have actually figured the "run.wsf" part since I posted this, thank you :) the problem was that the laptop that I was I testing it on had non-Latin characters in the computer name. Once we tried on another drive, it worked.

Did you figure out the "R for front end" part?


Update WebRequest help with correct way to format JSON (fixes #7760)

@Hazzamanic, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

I fixed what I think was a mistake. Is ok with you now?

I don't think so, it should be double brackets like this (( ... ))
The line in the web request activity is:
var json = formValues.Replace("((", "{").Replace("))", "}");

And I wrote this code ;) sorry, I will fix and merge. But they are not called brackets, but parens, or parenthesis.

Ah okay, sorry for the confusion. In British English brackets generally refers to (), quite rare to hear the term parentheses.


Proposal: Issue Template

Github provides a way for repos to specify a template for issues. I think this might be a good way to standardize the way things get reported.
I propose some form of the following:
<!---
Please attempt to fit your report into 1 of 3 categories and include the following information:
1. Bug Reports:
    A) Expected Behavior
    B) Actual Behavior
    C) Steps to Reproduce
2. Feature Request:
    A) Desired Feature
    B) Justification for Addition
3. Help Request/Question:
    A) Clearly state your problem
    B) Include your code
    C) If Applicable, attach a JSFiddle or CodePen
-->

<!--- Begin Report Below This Line -->

The comments would not be rendered in the posted issue, but would be visible when reporting a new issue. Just an idea!

Great idea! Perfectly makes sense!
Thank you for the suggestion!


Added internal documentation and minor cleanup

All internal functions now have documentation describing what they are,
what arguments they take, and what external variables are set in an effort
to help others understand the codebase more quickly

Changed a few lines where grep | wc -l occurred, as grep has a built-in
option to do this: grep -c

Removed a $* where the suggestReviewers function expected a string but
never received one during the life of the program

Adjusted some lines so they weren't quite as long, adjusted some variable
names, and other minor cleanup

@tomice, thank you for your time, effort, and energy. I appreciate it.


Include 'UTF8ToString' function in exported

Fixes #54

@w-vi can you add a CHANGELOG entry please. Otherwise good to merge.


Basic state persistence for the alertmanager silences

Extends the silences.json model to have the memoryAlertManager persist its state to an on-disk JSON file. This allows restarts to avoid re-dispatching sent notifications. The persistence file can be disabled by setting it to a blank string "".

Hey, thanks for sending this! Since we're planning on rewriting the Alertmanager completely (which will include features like this), I'm thinking whether to make this ready for merging. On the other hand, it doesn't have to be perfect then if it gets replaced soon anyways.
Besides minor issues (and lack of tests, which is a general AM problem), there are at least some things that make me unsure about the full correctness here: a restart should at least be treated like a configuration reload to make sure aggregates are (re)associated with the correct (potentially new) rules, so alertManager.SetAggregationRules(conf.AggregationRules()) should be called after loading the persisted file. In general, just serializing and deserializing whole datastructures including pointered objects that weren't initially designed for that makes me a bit nervous - I couldn't immediately see a problem with that though. Are you reasonably confident that's all ok and no references will be broken after reload?

In my (limited) testing it all seemed fine but I'll run it through it's paces a bit more extensively in the next few days. Good point about the rule changes - I'll test that to see what the damage is.
I pulled this together to solve an immediate short term problem (namely, when I do a config reload I inevitably have to take down the alertmanager anyway, so saving my alert emits stops me spamming out a whole bunch of new notifications).

Also noticed that alertManager.Run(), which does the loading, is called asynchronously in main.go, so it's possible for the web interface to start up and accept alerts already and those would be removed again when the alertstates are loaded afterwards...

Since it looks like the new alertmanager is ramping up for roll out, and I'm moving over to it myself, I'm going to close this off for the time being since it won't apply to it.


Expand extension abstractions

I played around a bit with building some more abstractions around CodeMirror's Extensions-model following your example with createTheme and the theme-attribute in the component: I added attributes for linter, language and keymap.
 Keymap is a bit more elaborate, as it also allows for KeyBindings[] besides Extension: KeyBindings[] are checked for inside createKeymap and transformed into Extension by keymap.of(theKeyBinding).
with these abstractions I managed to transform
<CodeMirror
   extensions={[
      basicSetup,
      keymap.of(defaultKeymap),
      keymap.of(indentWithTab),
      xml(),
      lintGutter(),
      xmlLinter,
   ]}
   theme={oneDark}
/>

to
<CodeMirror
   language={xml()}
   keymap={[basicSetup, defaultKeymap, indentWithTab]}
   linter={[xmlLinter, lintGutter()]}
   theme={oneDark}
/>

Drastically improving readability imo.

Maybe some 'magic' could be removed by not allowing KeyBindings[] in keymap={}, but instead have an explicit keybinding-attribute that will always transform KeyBindings[] to Extension.
So something like
<CodeMirror
   language={xml()}
   keymap={[basicSetup]}
   keybinding={[defaultKeymap, indentWithTab]}
   linter={[xmlLinter, lintGutter()]}
   theme={oneDark}
/>`
``

I am not too sure about the last commit myself.
I don't know if there is that much added value to being able to add straight away linter-functions. As there is then no simple way of including any options to it and then we would have to add @codemirror/lint to the peerDependencies as well.

Hey, thanks for making a pull request for this feature. I gave it some thought and I do agree it might be a good idea to have a language prop (seems quite vital to any editor), but I think having separate props for both linter and keymap might cause too much bloat to the component (like you mentioned with having @codemirror/linter as peer dependency). So, for the time being, I'd do the following to improve readabilty:
const keymaps = [keymap.of(defaultKeymap), keymap.of(indentWithTab)]
const linters = [lintGutter(), xmlLinter];

<CodeMirror
   extensions={[
      basicSetup,
      keymaps,
      linters,
   ]}
/>

I'd also like to have some discussion on how to accept a language prop. I can think of couple ways:

Accept a string that represents the language to be used in the editor (e.g. "javascript", "typescript", "python") and figure out the mapping of those strings to the corresponding CodeMirror language Extension. Sounds quite nice to the end user but at the expense of customizability and more work on our end.
Accept an Extension object that would represent the language to be used. Customizable for end users but is somewhat vague since it can accept any Extension object (similar to the theme prop).

That I can understand. keymap/keybindings wouldn't need any additional libraries tho. I think it's a bit the general question of this CodeMirror-component: how true does it stay to the original API?
I think my personal motivation why i want to subdivide it into attributes is so I would be able to see from investigating the component what are all the different config possibilities. That's what attributes are all about imo. I personally see merit in p.ex the theme-attribute, even if it just takes whatever Extension. There is nothing particular functional about it, but it acts more like a docs.
There is also just something about CodeMirror's modular architecture that makes that you end up with a situation like

where you sort of need to know where all these packages are. It really feels like a barrier when interacting with this amazing piece of technology, and I wonder if this component could simplify that process a bit.
I like the proposal for the language with the string, but then you will have to import all language-libraries, which will drastically increase the peerDependencies. Personally something like importing the language and then having to call it like import { xml } from "@codemirror/lang-xml"; return <CodeMirror language={xml()}/> is sort of fine to me personally. I mean, return <CodeMirror language="xml"/> is beautiful for sure, but, if anything, the whole language-package idea was pretty intuitive to me in my initial experiments. It really depends, if we want to abstract CodeMirror completely it would make absolute sense.


Added a new example.

I added a new example from the initial website Processing.org to p5.js

Hi, please see comment on #502. Thanks.

closing this for organizational purposes. please reopen if you are able to make the requested changes. thanks!


Disable dragging of nodes

Hello,
Thank you for that awesome component. I realize I can maintain the state of my tree if I simply do not update the state on change, but is it possible to disable the dragging of nodes?

You could create a CSS rule for the drag handle, something like:
.rst__moveHandle {
    display: none;
}

.rst__rowContents {
    border-left: 1px solid #bbb;
}

The above will hide the handle, making dragging impossible. An alternative would be to apply pointer-events: none; to the handle, but that would leave you with a UI that suggests you can drag stuff around even though you can't.
If you want to apply this to only a few nodes in the tree, I would recommend (>= v0.1.5) adding something like data-hide-handle: 'true' in generateNodeProps to nodes that fit the hiding conditions, and then a css selector to the css above (something like [data-hide-handle="true"] .rst__moveHandle {...).

Ok, thank you. That is a workaround, but ideally, I would prefer to disable the dragging functionality entirely (and not attach the relevant event handlers).
Will consider for a future application. Right now, I feel too constrained in my possibilities.

Ok, thank you for the feedback. I can see this being important to other people as well, so I'll keep it in mind for future releases.


[LIBCLOUD-802] Add drivers for Aliyun cloud

https://issues.apache.org/jira/browse/LIBCLOUD-802

First thanks for the contribution! We will look into it as soon as possible.
In the mean time, since this is a larger contribution, please make sure you file an ICLA with Apache - https://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes and please let us know when you have done so.

@Kami I have signed icla and email the pdf to<EMAIL_ADDRESS>BTW, I fixed the failed test, but FORCE pushed it to my fork branch. How to trigger the ci to test it again?

@samsong8610 Great, thanks!
It seems like that build was already triggered on force push (https://travis-ci.org/apache/libcloud - last build was started an hour ago).
It looks like there are still same unicode related issues in Python 3.2, I will look into it later.

I've added some comments. Overall, very nice work :+1:
After you look into / address those comments, could you please also add some documentation for those drivers?

@samsong8610 Did you select to notify Libcloud project on the ICLA form?
I still didn't receive an email notification about the signed ICLA, maybe ASF secretary is just busy...

@Kami It's my fault. I didn't fill the 'notify project' field. I will re-sign the ICLA.

@samsong8610 Sorry for the delay, I was traveling.
I will look into reviewing it again and merging it ASAP (tomorrow).

I went ahead and merged changes into trunk.
Thanks again for this very complete and high-quality contribution!

Glad to help the libcloud. Thanks for your review.


Add the new exit this page component

The Exit this page component allows users who are at risk to immedaitely and safely leave a page.

[x] Add a guide page
[x] Add a component helper
[x] Add specs that cover the configuration options
[x] Add entry to the README

Looking very decent now, thanks @paulrobertlloyd and @frankieroberto
One weird thing is that on the example for the secondary link, hitting tab then enter takes me to Wikipedia even though it's a link to BBC Weather.
The JavaScript must expect the component to be used once per page.

The JavaScript must expect the component to be used once per page.

Might be worth filing this issue upstream; while it should only be used once, perhaps an indication that the underlying JavaScript could be more robust.

If you look at the Nunjucks component, the HTML is intended to be used within the button (i.e. you can have a button with strong text). This component is basically a button that lives inside a
.
Can govuk_button_link_to accept HTML content?

Looking at the component code:
def exit_this_page_content
  content.presence || govuk_button_link_to(text, redirect_url, **link_attributes)
end

This should probably be something like (but most likely not) this:
def exit_this_page_content
  govuk_button_link_to(text || content.presence, redirect_url, **link_attributes)
end

You were pretty much bang on 😅  [Amended here] and updated the guide example accordingly (strong text on the inside of the button seems like a fair example).

You were pretty much bang on

My powers in Ruby must be growing in strength 🦹♂

Taking of supervillains, being super nit-picky, but can/should the ERB example be this:
<%= govuk_exit_this_page(redirect_url: "https://www.wikipedia.org") do %>
  Exit this page now
<% end %>

(i.e. content on a new line. Would this introduce white space issues?)

I can definitely take a look at making the ERB output nicer, but that'd be a separate change. You can take a look at the steps involved to get it to where it is here - warning, it's not the prettiest code I ever wrote.

Added one more minor(ish) change - now the assistive text that can be configured in the Nunjucks macros can be configured here too via the keywords:

activated_text
timed_out_text
press_two_more_times_text
press_one_more_time_text

And of course these can be configured app-wide in the usual fashion. This is now done unless there are any bugs or things missing.


Retrieving the key from MAC?

Hey there,
I'm currently working on a new system for decoding and encoding JSON Web Keys (JWK).
In order to encode a symmetric key back to a JWK format, I need to access the internal MAC key, which I don't see it being exposed in ironclad.
For example:
(make-mac :hmac key digest-name)

Once I get the instance from MAKE-MAC, is there a way to get it back? Or should I just keep the key around when I need it?
Thanks!
References:

https://datatracker.ietf.org/doc/html/rfc7517
https://datatracker.ietf.org/doc/html/rfc7518

Got it, thanks @glv2 !


Object of type bytes is not JSON serializable

Hello, just encountered a problem.  Any operation, e.g. when selecting the operating mode or when activating hot water push, I get an error.  The current version 1.5.7 is in use.  Mode is set to both.  Thank you very much for the support.
[140294619314448] Object of type bytes is not JSON serializable

Thank you for letting me know. I think I introduced an error in release 1.5.4, so you can roll back to 1.5.3 or wait for me to release a fix tomorrow.

New release is available. Please reopen if it does not fix the issue for you.


Register multiple interfaces for the same type

In Unity 4.0 you used to be able to register multiple interfaces for the same type and they'd share registrations like lifetime manager and injection members. I can't get the same to work in 5.8.6.
How could I accomplish the same with Unity 5.x?
A simple test case that fails with Unity 5.8.6 but didn't with Unity 4.

    [TestClass]
    public class SampleFixture
    {
        [TestMethod]
        public void MultipleInterfaces()
        {
            var container = new UnityContainer();
            container.RegisterType<ISomeInterface, WithInterface>("a name");

            container.RegisterType<IInterface1, WithMultipleInterfaces>(new InjectionConstructor(new ResolvedParameter<ISomeInterface>("a name")));
            container.RegisterType<IInterface2, WithMultipleInterfaces>();

            Assert.IsNotNull(container.Resolve<IInterface2>());
        }
    }

    public interface ISomeInterface
    {
    }

    public class WithInterface : ISomeInterface
    {
    }

    public interface IInterface1
    {
    }

    public interface IInterface2
    {
    }

    public class WithMultipleInterfaces : IInterface1, IInterface2
    {
        public WithMultipleInterfaces(ISomeInterface someInterface)
        {
        }
    }

https://github.com/unitycontainer/unity/wiki/Upgrading-to-Release-v5.2.1
https://github.com/unitycontainer/unity/releases?after=<IP_ADDRESS>3

Thanks, don't know how I managed to miss that when searching.


chore: update to electron 14

Closes #1902.
Blocked by Spectron, not yet compatible with Electron 14: https://github.com/electron-userland/spectron/issues/1027.

Continued in #1902


highlight bug

Suppose that when marking up a document I highlight DEF in the text ABCDEFGHI. When I go to preview the exported HTML file, only DE is highlighted.

@dcoles-bloomu Can you provide an example, such as a file I can use to reproduce this issue.

@dcoles-bloomu The result of testing granularity of highlighting was as expected. See attached file (cannot directly drop HTML)
grainularity_check.zip


Add Cloudflare

https://github.com/irazasyed/awesome-cloudflare

Curated list of Cloudflare worker recipes, open-source projects, guides, blogs, and other resources.

Unicorn 🦄
PRs Reviewed:

https://github.com/sindresorhus/awesome/pull/1582#issuecomment-515718228
https://github.com/sindresorhus/awesome/pull/1589#issuecomment-515718627
https://github.com/sindresorhus/awesome/pull/1579#issuecomment-515718762

Looks awesome! The way you positioned the logo looks cool to me. Running awesome-lint gave me the following error:
readme.md:23:3
×  23:3  Link to https://twitter.com/cloudflare is dead  remark-lint:no-dead-urls
1 error

It looks like the link works though, so you might report it if it's a false positive.

Thanks, and yes, it's some issue with the linter and I get the same error. Tried with other repos too and its the same thing.
At first, I thought it could be my network issue but looks like it is not.
I've reported the issue now: https://github.com/sindresorhus/awesome-lint/issues/88 Thanks for the suggestion.

Had a review of this and looks good to me!

Examples Collection - Collection of Recipes.

Don't use title casing for the descriptions. Same applies to many other descriptions too.

Includes a succinct description of the project/theme at the top of the readme. (Example) - https://github.com/sindresorhus/awesome/blob/master/pull_request_template.md

Not done

@sindresorhus Updated. Do I need to also lowercase company names and short-forms (Ex: PHP/Facebook or Google)?

@sindresorhus Is there anything else I can do to get this merged? Please let me know. Thanks!

Do I need to also lowercase company names and short-forms (Ex: PHP/Facebook or Google)?

No

Tweet: https://twitter.com/awesome__re/status/1157656030924464128

Thank you 👍 :)


line-pattern wrongly drawn

As you can see a line pattern is really wrongly drawn.
You can see the svg at the very top left. It is the one from OSM

Thanks. Is the cliff2.svg the same as this one: https://github.com/gravitystorm/openstreetmap-carto/blob/master/symbols/cliff2.svg ?
There seems to be stretching issue. In addition, the artifacts are related to issue #316. I will try to fix this in final 4.3.0, but no promises.

@mtehver yes they are coming from that repo. Let me know if you want a full style.
Also cliffs are not part of OpenMapTiles packages ;)
Let me know if you want a mbtiles with it.
However you should be able to have the same issue with roads for example.


Adds docker container customization example to docs

This PR specifies that the EXTRA_*_PACKAGES environment variables should be set inside the docker container and adds an example of how to do so.

Thanks for the review @TomAugspurger!


node_manager crashes on startup due to missing MessageFrame.ui

Since updating node_manager_fkie from 0.7.8 to 0.8, I can no longer open the node manager without it crashing. The traceback is as shown below.
[INFO] [1533888798.773351]: listen for logs on /rosout
[INFO] [1533888799.061694]: Start RPC-XML Server at ('<IP_ADDRESS>', 22622)
[INFO] [1533888799.062469]: Subscribe to parameter `/roslaunch/uris`
Traceback (most recent call last):
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/main_window.py", line 779, in on_master_state_changed
    self.getMaster(msg.master.uri).master_state = msg.master
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/main_window.py", line 572, in getMaster
    self.masters[masteruri] = MasterViewProxy(masteruri, self)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/master_view_proxy.py", line 358, in __init__
    self.message_frame = MessageFrame()
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/message_frame.py", line 137, in __init__
    loadUi(ui_file, self.frameui)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 247, in loadUi
    return _loadUi(uifile, baseinstance, custom_widgets)
  File "/opt/ros/kinetic/lib/python2.7/dist-packages/python_qt_binding/binding_helper.py", line 151, in _loadUi
    return uic.loadUi(uifile, baseinstance=baseinstance)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/__init__.py", line 222, in loadUi
    return DynamicUILoader(package).loadUi(uifile, baseinstance, resource_suffix)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/Loader/loader.py", line 72, in loadUi
    return self.parse(filename, resource_suffix, basedir)
  File "/usr/lib/python2.7/dist-packages/PyQt5/uic/uiparser.py", line 972, in parse
    document = parse(filename)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
    tree.parse(source, parser)
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 647, in parse
    source = open(source, "rb")
IOError: [Errno 2] No such file or directory: '/opt/ros/kinetic/lib/python2.7/dist-packages/node_manager_fkie/MessageFrame.ui'

Thank you for reporting and sorry for trouble!
I released a new version, which should fix this problem.

I hope, the issue is solved.
If not, please reopen!


build(gradle): upgrade to latest gradle

Also need to upgrade Pegasus due to https://github.com/linkedin/rest.li/issues/354
Also need to change gradle-node plugin as the old one is no longer maintained and not compatible with gradle 6
This originally requested by users as part of https://github.com/linkedin/datahub/issues/1701
Checklist

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable)

Kind of scary :p
fwiw we use 5.6.4 at LI. Could this end up causing incompatibilities? While our build files are separate, if we end up relying on some plugin that only works on 5 (or 6) and its specific 5/6 variant behavior, that could be an issue. Probably won't happen, but worth thinking about?

Actually looks like the old node plugin is broken already and is breaking our build. Will split that out to a separate PR.

Splitted node plugin change to https://github.com/linkedin/datahub/pull/1838


RecursiveCraft integration: extreme lag

With a large amount of recipes using the crafting interface with RecursiveCraft enabled becomes extremely laggy.
What I gathered from brief testing is that the recursive recipes are generated on the fly only based on what the player has available in storage (uncraftable recipes aren't broken down)
That means that every time items are added, removed, or crafted, all recipes need to be refreshed, tanking performance. This also happens every time a filter is changed, which makes searching extremely slow.
It would be greatly appreciated if this could be addressed someway.
Maybe only regenerating the recipes when the interface is reopened would be an appropriate solution.
Alternatively, instead of generating and modifying recipes on the fly with recursivecraft, maybe the 'craft' button could just perform an actual recursive crafting operation?

An idea that might help with the lag is to have the recursive calculations only run on favorited recipes.  That way it's not calculating every single potential crafting recipe every time the crafting interface needs to recalculate.

I don't know how the code is implement but if it's currently handled that ALL recipes are recalculated if someone stores a new item, the obvious solution would be:

Item gets stored: Only recalculate items that have the new item as ingredients (Also recursive higher recipes if crafting is possible).
Item gets removed: Same thing, check if recipes that have this item as ingredient can still be crafted.
Item gets crafted: Same thing as new item but with the addition to check all the ingredients as 'removed item'.
Bulk crafting: Only check recipes at the end of the crafting process, like wait 1s after the last craft

Another option may be to set a minimum depth for recursive crafting to
apply, so it only applies to the few items that have very deep crafting
trees, like Terra Blade or Ankh Shield. As long as mods don't add or remove
recipes on the fly, this could then be cached and only those recipes
updated.
On Mon, 6 Sep 2021, 10:22 studkid, @.***> wrote:

An idea that might help with the lag is to have the recursive calculations
only run on favorited recipes. That way it's not calculating every single
potential crafting recipe every time the crafting interface needs to
recalculate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ExterminatorX99/MagicStorageExtra/issues/49#issuecomment-913449418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJI55ITG7N64B2ELFEM3BPTUAR24BANCNFSM5CR6H3GQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Maybe instead of waiting for everything to recalc, it could still let you craft things outside recursive and then just add the recursive crafting recipes it calcs them in real-time

This is one of those CS-Textbook problems. The way recursivecraft works is it has to recalculate every possible recipe for every item every time anything changes. I'd bet it's also doing this linearly and consecutively. Unfortunately given the sheer quantity of interrelated items, combinations, and steps I don't think there is a way to optimize this without fundamentally limiting the player in some way.

Could the recipe calculation be run on another thread? To prevent excessive lock contention, maybe calculate recipes in chunks of N and send them over. Invalidation through inventory changes would need to be accounted for, naively through some "start over" signal.
Also, recipes are basically a directed graph / dependency tree, I'm sure there would be a way to only recalculate recipes that involve added/removed items, with maybe a small delay thrown in so that when crafting large quantities of items at once, it doesn't immediately try recalculating everything
Beyond that I agree there isn't really a perfect solution that isn't either memory or cpu intensive, but I think there's ways to make it impact game performance less.

I think it all depends on what kind of libraries are available to use and just how much access modders have to the game, as well as the host machine. I'm running Thorium, Shadows of Abaddon, Mod of Redemption, and all of the big Fargo content mods together and while I do get some hitches here and there for the most part it's quite playable in realtime. I've also got 32gb of ram, tmodloader64, and a Ryzen 5.


How to test on nuscenes?

Hi, I saw testing script for semantic KITTI is provided, could I kindly ask how to test on nuscenes? Or are they sharing the same testing script?

We have not used the nuScenes test set. You can have a try.


[SPARK-13170] [STREAMING] Investigate replacing SynchronizedQueue as it is deprecated

Replace SynchronizeQueue with synchronized access to a Queue

Test build #50903 has started for PR 11111 at commit 5aebf71.

Test build #50903 has finished for PR 11111 at commit 5aebf71.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/50903/
Test PASSed.

Merged build finished. Test PASSed.

This looks good to me, and it looks like we synchronize on the same object that the deprecated SynchronizedQueue did so it should still be ok for peoples code that was written using that.

Agreed, I also just compared it with the SynchronizedQueue sources and behaviour should be identical. looks good

Test build #50964 has started for PR 11111 at commit 75bafe6.

Test build #50964 has finished for PR 11111 at commit 75bafe6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/50964/
Test PASSed.

Merged to master


Add documentation for recommended install steps + basic usage for developers on Windows

Progress so far:

Installation
Windows
# Install pipx (used to install Poetry in it's own isolated venv)
py -m pip install --user pipx  # if you installed Python using Microsoft Store, replace `py` with `python3`
# FIXME: %userprofile% doesn't work, find env var templating equiv. or use `~`
%userprofile%\AppData\Local\pipx ensurepath  # add pipx to the path
# manual step: IMPORTANT - open a fresh terminal so path changes take effect reopen terminal
pipx install poetry  # install poetry
poetry -V  # test install worked

Almost finished writing steps on prerequisite installation and dev installation now after some user testing. Usage still todo.


fix(masthead): fix to search input not closing

Related Ticket(s)
Fixes: #597
Description
This is a fix for the search field not closing. The overall fix was to get rid of useState and just use useReducer for all of the interactions.
Changelog
Changed

Fixed handling of states in the Masthead search

Looks good. only comment I see is you got some extra commits previously merged showing up for some reason. This seemed like an easy fix the other day though.

Yeah I noticed the same thing. I cleaned it up with a squash commit on my end, waiting for it to rebuild to see how it goes.


Docker version timeout when publishing to internal CA'd certificate tableau server

What do I need to get LogShark to publish to a tableau server using an unknown CA certificate, I assume that it's timing out because of the unknown CA issuer ?
I'm trying to use my docker built version of Logshark to publish to a Tableau 2018 server which has its certificate signed by a CA for the company, when I try to publish it receives a timeout.
dbug: Tools.TableauServerRestApi.TableauServerRestApi[0]
      =><PHONE_NUMBER>0943-server-20210920-apache
      Initializing TableauServerRestApi for site `` on `https://xxxx.xxxxx.xxx/`
dbug: LogShark.Writers.WorkbookPublisher[0]
      =><PHONE_NUMBER>0943-server-20210920-apache
      WorkbookPublisher -> Init TS API had to retry its action. This is retry number 1. Exception was: Timeout occurred while sending the request

If I test the RESTAPI via curl command I see the message: Peer's Certificate issuer is not recognized.  But if I add the -k to turnoff certificate checks on the curl command I get a tableau session.
Here's the curl REST API test output..
[root@random XXXX]# curl https://xxxx.xxxxx.xxx/api/3.2/auth/signin -X POST -d @signin-restapi.xml
curl: (60) Peer's Certificate issuer is not recognized.
More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). If the default
 bundle file isn't adequate, you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

[root@random XXXX]# curl https://xxxx.xxxxx.xxx/api/3.2/auth/signin -X POST -k -d @signin-restapi.xml
<?xml version='1.0' encoding='UTF-8'?><tsResponse xmlns="http://tableau.com/api" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://tableau.com/api http://tableau.com/api/ts-api-3.2.xsd"><credentials token="xxxxxx"><site id="xxxx" contentUrl=""/><user id="xxxxx"/></credentials></tsResponse>

If it fails because of the certificate error, I would expect the error message to say so instead of timeout, but it's hard to tell for sure. Even if timeout is caused by something else though (i.e. blocked port), certificate will be required sooner or later as default docker image doesn't have it.
The process to add certificate usually looks like this (add this line somewhere after second FROM statement)
RUN curl --speed-time 1 --retry 5 --connect-timeout 1 https://certs.company.com/root-ca.crt > /usr/local/share/ca-certificates/root-ca.crt && update-ca-certificates
This command downloads a certificate file from given URL, copies it into the directory where update-ca-certificates command can find it and then runs the command to add new certificate to the storage.

Just FYI I worked around the issue using a script tabcmd linux to publish my workbooks up to the server and added the --no-certcheck flag.


Changes bootconfig build to use linux/amd vs arm codebuild instances

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/lgtm


added css purifier to grunt serve

Adds css purifier grunt task

[x] Check that you pass the basic compilation and unit tests by running grunt

Coverage increased (+0.02%) to 8.315% when pulling 3172a77994e06e96d49290d78e20beadf3f25a04 on feature/css_purifier into 20ad6f006bec6f2bf302b47bce90dac88bb8f4d1 on develop.

Coverage remained the same at 7.896% when pulling 6f947dff04916a7f3ce85b71e2071dbacf4b57fd on feature/css_purifier into 6eb808d8dd6447e1d84c49db92f56edbdd2c4708 on develop.


Gradle: Add plug-in net.ltgt.apt-idea.

So that Intellij would recognize the AutoValue classes.
/cc @dhaval24

Codecov Report

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

@@           Coverage Diff            @@
##             master   #1523   +/-   ##
========================================
  Coverage      82.5%   82.5%
  Complexity     1668    1668
========================================
  Files           251     251
  Lines          7770    7770
  Branches        759     759
========================================
  Hits           6411    6411
  Misses         1128    1128
  Partials        231     231

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 ed54574...bcb7240. Read the comment docs.


RTCRtpReceiver.Stop() better teardown

Closes the channels it creates and the underlying connections.
This is a contribution towards #180.
It would be appreciated it someone with more experience/knowledge than me could review.
Thanks!

Pull Request Test Coverage Report for Build 1939

5 of 6 (83.33%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.1%) to 79.289%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

rtcrtpreceiver.go
5
6
83.33%

Files with Coverage Reduction
New Missed Lines
%

internal/mux/mux.go
2
92.5%

Totals

Change from base Build 1937:
0.1%

Covered Lines:
3859

Relevant Lines:
4867

💛  - Coveralls

Hey @rob-deutsch thanks for the PR!
The downside is that this makes it possible for users to create a panic when using the public API. I eventually want to add Read and Write to the RTCTrack (then it can handle these errors gracefully) we should probably add those methods and then make these members private before closing them (@backkem agree/disagree?)
I would love to see https://github.com/pions/webrtc/blob/master/rtcrtpsender.go#L31 torn down properly (and add some tests around that) would be happy to merge that right away!

Closed in favor of #389
Thanks for all the work on this! I added you as a co-author on that commit, I used some of your work on that one.
thanks


Upgrade circe to 0.6

Thanks for the PR. Released in 0.9.2

Thank you so much! Now I can upgrade all my projects to circe 0.6 😄


asyncserver doesn't start on python3.10: "TypeError: As of 3.10, the loop parameter was removed from Lock() since it is no longer necessary"

What version of gRPC and what language are you using?
grpcio-1.41.1,  grpcio-1.41.0
What operating system (Linux, Windows,...) and version?

Linux 5.11.0-38-generic # 42~20.04.1-Ubuntu SMP Tue Sep 28 20:41:07 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
macOS 11.6

What runtime / compiler are you using (e.g. python version or version of gcc)
python 3.10
What did you do?
try start server under python3.10, install lates version from python.org
What did you expect to see?
running grpc server
What did you see instead?
Traceback (most recent call last):
  File "/Users/pavelafanasev/work/proto/test.py", line 132, in <module>
    asyncio.run(grpc_serve([DecisionMakerInterface]))
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/base_events.py", line 641, in run_until_complete
    return future.result()
  File "/Users/pavelafanasev/work/proto/test.py", line 115, in grpc_serve
    rpc_server = aio.server()
  File "/Users/pavelafanasev/work/.venv10/lib/python3.10/site-packages/grpc/aio/_server.py", line 207, in server
    return Server(migration_thread_pool, () if handlers is None else handlers,
  File "/Users/pavelafanasev/work/.venv10/lib/python3.10/site-packages/grpc/aio/_server.py", line 54, in __init__
    self._server = cygrpc.AioServer(
  File "src/python/grpcio/grpc/_cython/_cygrpc/aio/server.pyx.pxi", line 857, in grpc._cython.cygrpc.AioServer.__init__
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/locks.py", line 77, in __init__
    super().__init__(loop=loop)
  File "/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/asyncio/mixins.py", line 17, in __init__
    raise TypeError(
TypeError: As of 3.10, the *loop* parameter was removed from Lock() since it is no longer necessary

Anything else we should know about your project / environment?

@afanasevps Thanks for reporting this. We fixed this issue in #27635, but it's the released with v1.41.x.

Backport merged. This fix is in v1.42.0rc1. I will try to propose a patch to v1.41.x, but not sure if it will go through.


Stacked Bar chart as "Progress Par"

Hi, i have this chart. As you can see, the Budget value of Ilustrador is 5 and burned value is 20.
However, the bar in this chart sum up 25, which causes some confusions and misunderstandment.
Is it possible to make this chart sum up 20?

Hi,
The issue queue is to be used for reporting defects and problems with C3.js, in addition to feature requests and ideas.
It is not a catch-all support forum.
For general support enquiries, please use the Google Group at https://groups.google.com/forum/#!forum/c3js.
All questions involving the interplay between C3.js and any other library (such as AngularJS) should be posted there first!
Thank you!


[BUG] The Google translate popup is visible in recordings

Describe the bug
If I start a Room Composite Egress with a custom recorder template that does not use English as document language, the Chrome browser's translate popup is shown and it is also be part of a recording.
https://github.com/user-attachments/assets/56e697c5-1584-4d42-b0f4-4dc393b6a27e
Egress Version
1.8.4
Additional context
To reproduce, you only need to change from <html lang="en"> to <html lang="de"> in the official template
After searching around and testing, we mitigated this problem by adding <meta name="google" content="notranslate" /> to the html head of our custom recorder template.
According to https://issues.chromium.org/issues/41347677#comment12 the flag  --disable-features=TranslateUI  should be used to start the headless browser, which is done as instructed in https://github.com/livekit/egress/blob/main/pkg/pipeline/source/web.go#L233
And even the old flag was added with https://github.com/livekit/egress/pull/494 so it seems strange why it would not work.
Logs
2024-09-12T08:19:23.989Z	INFO	egress	server/server_rpc.go:71	request validated	{"nodeID": "NE_9EJdjEsEzMzB", "clusterID": "", "egressID": "EG_BxUc7R3Vm2AE", "requestType": "room_composite", "outputType": "file", "room": "1234", "request": {"RoomComposite":{"room_name":"1234","custom_base_url":"{internal}","Output":{"File":{"file_type":1,"filepath":"/out/recordings/20240912T081923.334295746Z-996328170.0.mp4","Output":null}},"Options":{"Advanced":{"width":1280,"height":720,"depth":24,"framerate":30,"audio_codec":2,"audio_bitrate":128,"audio_frequency":44100,"video_codec":2,"video_bitrate":240}}}}}
2024-09-12T08:19:24.082Z	DEBUG	egress	source/web.go:202	launching chrome	{"nodeID": "NE_9EJdjEsEzMzB", "handlerID": "EGH_cZ2aJi36eLDa", "clusterID": "", "egressID": "EG_BxUc7R3Vm2AE", "url": "http://ingressroutes?layout=&token=<...>&url=wss%3A%2F%2Flivekit.<...>", "sandbox": false, "insecure": true}

thank you for the report. This is fixed in #775


LLM Strategy

Sub

[x] LLM Strategy 1: Build our falcon model
[ ] LLM Strategy 2: Implement AutoGPT
[ ] LLM Strategy 3: Implement an interface to configure model

Cc: @posix4e @tukpsyche

It includes autogpt and it will be done in the next milestones(9, 10)

Autogpt task dependency:
https://github.com/ttt246/Brain/issues/9


Regression finding libNVVM in 0.46.0

Since 0.46.0 I get the following error. 0.45.0 was fine (both packages from conda-forge):
Traceback (most recent call last):
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 111, in __new__
    inst.driver = open_cudalib('nvvm', ccc=True)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/cudadrv/libs.py", line 47, in open_cudalib
    raise OSError('library %s not found' % lib)
OSError: library nvvm not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/antoine/arrow/dev/python/pyarrow/tests/test_cuda_numba_interop.py", line 232, in test_pyarrow_jit
    increment_by_one[blockspergrid, threadsperblock](darr)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 799, in __call__
    kernel = self.specialize(*args)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 810, in specialize
    kernel = self.compile(argtypes)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 829, in compile
    kernel.bind()
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 543, in bind
    self._func.get()
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 421, in get
    ptx = self.ptx.get()
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/compiler.py", line 392, in get
    **self._extra_options)
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 468, in llvm_to_ptx
    cu = CompilationUnit()
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 146, in __init__
    self.driver = NVVM()
  File "/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/cudadrv/nvvm.py", line 116, in __new__
    raise NvvmSupportError(errmsg % e)
numba.cuda.cudadrv.error.NvvmSupportError: libNVVM cannot be found. Do `conda install cudatoolkit`:
library nvvm not found

I am on Ubuntu 18.04 with the nvidia-cuda-dev package installed.
$ locate nvvm
[ ... ]
/usr/include/nvvm.h
/usr/lib/cuda/nvvm
/usr/lib/cuda/nvvm/libdevice
/usr/lib/x86_64-linux-gnu/libnvvm.so
/usr/lib/x86_64-linux-gnu/libnvvm.so.3
/usr/lib/x86_64-linux-gnu/libnvvm.so.3.2.0
[ ... ]

Can you confirm that it worked in 0.45.0? IIRC, last change in the cuda library finding logic is in 0.44.  Since then, you can use the following to test the library loading:
from numba.cuda import cudadrv
cudadrv.libs.test()

On my ubuntu 18.04 + nvidia-cuda-dev setup, i can confirm that numba can't find nvvm since 0.44.

In the past, the convention is that cuda on linux is located at /usr/local/cuda and the libnvvm library is in a subdirectory named nvvm/lib64. The nvidia-cuda-dev package is completely different and puts the libraries in /usr/lib/x86_64-linux-gnu/ without any subdirectories for libnvvm. It can now be loaded with just ctypes.CDLL('libnvvm.so'), but that has never worked before.
@gmarkall, do you know if there is a new recommended load path?

Yes, it works with 0.45.0. I am using the following variables (apparently they are deprecated?):
export NUMBAPRO_LIBDEVICE=/usr/lib/cuda/nvvm/libdevice
export NUMBAPRO_NVVM=/usr/lib/x86_64-linux-gnu/libnvvm.so

>>> import numba
>>> numba.__version__
'0.45.0'
>>> from numba.cuda import cudadrv
>>> cudadrv.libs.test()
/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/envvars.py:16: NumbaDeprecationWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated, found use of NUMBAPRO_NVVM=/usr/lib/x86_64-linux-gnu/libnvvm.so.

For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-numbapro-environment-variables
  warnings.warn(errors.NumbaDeprecationWarning(msg))
/home/antoine/miniconda3/envs/pyarrow/lib/python3.7/site-packages/numba/cuda/envvars.py:16: NumbaDeprecationWarning:
Environment variables with the 'NUMBAPRO' prefix are deprecated, found use of NUMBAPRO_LIBDEVICE=/usr/lib/cuda/nvvm/libdevice.

For more information visit http://numba.pydata.org/numba-doc/latest/reference/deprecation.html#deprecation-of-numbapro-environment-variables
  warnings.warn(errors.NumbaDeprecationWarning(msg))
Finding cublas from <unavailable>
	ERROR: can't locate lib
Finding cusparse from <unavailable>
	ERROR: can't locate lib
Finding cufft from <unavailable>
	ERROR: can't locate lib
Finding curand from <unavailable>
	ERROR: can't locate lib
Finding nvvm from NUMBAPRO_NVVM
	located at /usr/lib/x86_64-linux-gnu/libnvvm.so
Finding libdevice from NUMBAPRO_LIBDEVICE
	searching for compute_20...	ok
	searching for compute_30...	ok
	searching for compute_35...	ok
	searching for compute_50...	ok
False
>>>

Just catching up on recent history with this deprecation (I don't have an Ubuntu 18.04 system handy to try with) - @pitrou does setting CUDA_HOME (http://numba.pydata.org/numba-doc/latest/cuda/overview.html#setting-cuda-installation-path) allow you to provide the correct location of libNVVM? If not, perhaps we need to add a NUMBA_NVVM env var that provides the same function as the old NUMBAPRO_NVVM?

CUDA_HOME does not work, no. Perhaps Numba should simply detect the Ubuntu layout?

I think we can do that by falling back to the system loader; i.e. ctypes.CDLL('libnvvm.so'). It looks like the debian packages are putting all cuda libraries in the default search both.  However, just having libnvvm is not enough. We need to find where the libdevice bitcode files are located.

I also noticed that the CUDA linux installation guide (https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) has no mentioning of the debian package.

I also noticed that the CUDA linux installation guide (https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html) has no mentioning of the debian package.

There are debian packages that you will reach from the link to the downloads - e.g. https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=1804&target_type=debnetwork - however, I don't think the nvidia-cuda-dev package from Debian NVIDIA Maintainers (which I think @pitrou is using) is one of those. IIRC the packages from developer.nvidia.com do install into /usr/local/cuda.

However, just having libnvvm is not enough. We need to find where the libdevice bitcode files are located.

Right now I have the nvidia-cuda-dev package installed on 18.04 and I can't find the libdevice bitcode files anywhere - I only see:
$ locate libdevice
/usr/lib/llvm-10/lib/clang/10.0.0/include/__clang_cuda_libdevice_declares.h

Are they included in nvidia-cuda-dev?

I think we can do that by falling back to the system loader; i.e. ctypes.CDLL('libnvvm.so'). It looks like the debian packages are putting all cuda libraries in the default search both.

Falling back to the system loader seems reasonable, and what I'd expect / hope for as a "normal" user - in general, having shared libs on the library search path results in them being found once other options have been exhausted.

However, just having libnvvm is not enough. We need to find where the libdevice bitcode files are located.

Right now I have the nvidia-cuda-dev package installed on 18.04 and I can't find the libdevice bitcode files anywhere...

I now noticed they're in the nvidia-cuda-toolkit package, which places them at /usr/lib/nvidia-cuda-toolkit/libdevice. Maybe that would need adding as another location to search for it, in addition to falling back to the system loader for shared objects.

Just to clarify, I'd be happy to make a PR that:

Falls back to the system loader for shared objects if they're not otherwise found.
Also looks for libdevice in /usr/lib/nvidia-cuda-toolkit.

if there's agreement that this is an acceptable way to solve the problem - @sklam would you be happy with this?

@gmarkall, that should solve the problem.


GNOME session crashes when launching certain apps

Describe the bug
When I attempt to run certain applications (Steam, Lutris, Floorp), my session crashes. The screen goes black for a moment and I am kicked back to login. When I log back in, I find my GNOME extensions disabled (I haven't added any beyond what is pre-installed), and have to re-enable them manually.
Many applications do work fine. The terminal, the file manager, LibreOffice, OBS, Librewolf Flatseal...
Strangely, sometimes the troublesome apps do inexplicably work. Usually this happens after an amount of time troubleshooting. After I find that one is working, the rest will then work as well. This resets after I log out and back in.
What did you expect to happen?
I expect the applications to launch successfully
Output of rpm-ostree status
State: idle
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:stable
                   Digest: sha256:c1f38315eafd55f2b32131bf0935471d202bb54c5cb0224a9ada6b243489ef98
                  Version: 40.20240607.0 (2024-06-07T17:00:02Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bazzite-gnome-nvidia:stable
                   Digest: sha256:87e4f12efc521dfe97440043b72ce3fdd043af96e64b56d07e30c16c4da15cf0
                  Version: 40.20240605.0 (2024-06-05T16:39:46Z)

Hardware

Motherboard: Gigabyte H97M-D3H
CPU: Intel Core i7-4790
GPU: GeForce GTX 1060 3GB

The motherboard and CPU are getting on in age I suppose. About 10 years old.
Extra information or context
journalctl /usr/bin/gnome-shell output from one such crash and re-login (is this the right thing to be looking at?):

Jun 09 18:37:46 fedora gnome-shell[36253]: Device '/dev/dri/card1' prefers shadow buffer
Jun 09 18:37:46 fedora gnome-shell[36253]: Added device '/dev/dri/card1' (i915) using atomic mode setting.
Jun 09 18:37:46 fedora gnome-shell[36253]: Created gbm renderer for '/dev/dri/card0'
Jun 09 18:37:46 fedora gnome-shell[36253]: Created gbm renderer for '/dev/dri/card1'
Jun 09 18:37:46 fedora gnome-shell[36253]: Boot VGA GPU /dev/dri/card0 selected as primary
Jun 09 18:37:46 fedora gnome-shell[36253]: Obtained a high priority EGL context
Jun 09 18:37:46 fedora gnome-shell[36253]: Obtained a high priority EGL context
Jun 09 18:37:46 fedora gnome-shell[36253]: Using public X11 display :1024, (using :1025 for managed services)
Jun 09 18:37:46 fedora gnome-shell[36253]: Using Wayland display name 'wayland-0'
Jun 09 18:37:46 fedora gnome-shell[36253]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.

Jun 09 18:37:52 fedora gnome-shell[37034]: Device '/dev/dri/card1' prefers shadow buffer
Jun 09 18:37:52 fedora gnome-shell[37034]: Added device '/dev/dri/card1' (i915) using atomic mode setting.
Jun 09 18:37:52 fedora gnome-shell[37034]: Created gbm renderer for '/dev/dri/card0'
Jun 09 18:37:52 fedora gnome-shell[37034]: Created gbm renderer for '/dev/dri/card1'
Jun 09 18:37:52 fedora gnome-shell[37034]: Boot VGA GPU /dev/dri/card0 selected as primary
Jun 09 18:37:52 fedora gnome-shell[37034]: Obtained a high priority EGL context
Jun 09 18:37:52 fedora gnome-shell[37034]: Obtained a high priority EGL context
Jun 09 18:37:53 fedora gnome-shell[37034]: Using public X11 display :0, (using :1 for managed services)
Jun 09 18:37:53 fedora gnome-shell[37034]: Using Wayland display name 'wayland-0'
Jun 09 18:37:53 fedora gnome-shell[37034]: Unset XDG_SESSION_ID, getCurrentSessionProxy() called outside a user session. Asking logind directly.

Wow great timing. An system upgrade has indeed fixed it this time.


Ensure that all images installed by the quickstart will be updated

We should ensure that all images downloaded and started by the quickstart script, will be updated by watchtower. For this we need to use a tag that we will update.

Currently the updating is broken, because the api version used by watchtower (1.24) is not enough for the features we use like grace period(1.25)

What have I done:

setup the machine for a validator node with the quickstart script
wait until both nodes have fully synced
verify that netstats, monitor and bridge run fine:

the netstats client successfully reports and is shown as online on the webpage
the monitor gets fully synced, reporting offline validators from the past, he catches up syncing all the time
I run without actual validator privileges, so the bridge got into the stage that it theoretically schedules transfers, but warn me that I'm not a validator and have also not enough ETH to confirm transfers, I consider this running state as running fine

I shut the network down with the exported docker-compose configuration
I build the parity node image on my own and uploaded into a custom DockerHub repository
I adjusted the trustlines-node service to use this image instead of the original one
I restarted the whole network and verify that all services run well
I changed the parity config and build a new image version with it, that I pushed
I waited for watchtower to update the trustlines node

Result:

the bridge client remains stable, reporting that it can't connect to the trustlines node, but reconnects after a while
the netstats crashes due to the missing connection, but the container restarts and after a while it works again
the monitor crashes due to the missing connection, but the container restarts and after a while it works again

I would call this a success. @berndbohmeier what is your opinion? Closable?

I would open issues to fix at least the monitor and maybe also the netstats. They should not crash.
But yeah, overall it is a success.
Close it after you created the two tasks.

Issues have been created. :+1:

So, let me clarify the confusion here:
This issue was mixed with #442. So the results commented here are actually the solution for the former issue. Thereby I will close #442.
The introduction of the to update tasks is handled in PR #488. So I will not reopen this issue here, to avoid even more confusion.


[SPARK-8168] [MLLIB] Add Python friendly constructor to PipelineModel

This makes the constructor callable in Python. @dbtsai

Merged build triggered.

Merged build started.

Test build #34463 has started for   PR 6709 at commit f871de4.

Test build #34463 has finished for   PR 6709 at commit f871de4.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
      logInfo(s"Using user defined output committer class $
      logInfo(s"Using output committer class $

Merged build finished. Test PASSed.

LGTM

Thanks. Merged in master.


denols: current status (meta issue)

This issue is meant to keep track of the current status of denols, this should help us to focus on whats missing  to bring denols on par with vscode-deno.
bugs:

[x] jumping to definition then returning breaks lsp https://github.com/neovim/nvim-lspconfig/issues/1998
[ ] relative dependencies inside virtual text document is not resolved correctly https://github.com/neovim/neovim/pull/19773

[x] codelens fails to call denolscache https://github.com/neovim/nvim-lspconfig/pull/2016

[x] DenolsCache works but it throws an error method not found https://github.com/neovim/nvim-lspconfig/pull/2009

[ ] the lsp log always shows this line

[ERROR][2022-07-15 07:12:55] .../vim/lsp/rpc.lua:420	"rpc"	"deno"	"stderr"	"Error converting specifier settings (file:///home/mrcool/dev/deno/lab/deno:/https/deno.land/x/simple_shell/mod.ts): Error converting specifier settings: invalid type: null, expected struct SpecifierSettings\n"

missing features:
commands: https://deno.land/manual/language_server/overview#commands

[ ] deno.test

requests: https://deno.land/manual/language_server/overview#requests

[ ] deno/performance
[ ] deno/reloadImportRegistries
[ ] deno/task https://deno.land/manual/tools/task_runner https://github.com/neovim/nvim-lspconfig/pull/2014

notification:: https://deno.land/manual/language_server/overview#notifications

[ ] deno/registryState https://github.com/neovim/nvim-lspconfig/pull/2027

Regarding

relative dependencies inside virtual text document is not resolved correctly

The problem is in virtual text nvim automatically adds the current file-path to deno schema so
deno:/https/deno.land/x/simple_shell%400.13.0/mod.ts becomes /home/user/dev/deno:/https/deno.land/x/simple_shell%400.13.0/mod.ts

Currently there is only one bug remaining https://github.com/neovim/neovim/pull/19967 with that fixed the experience is equivalent to vscode-deno
The missing features can be implemented in a separate plugins once this bug is fixed.

I wrote a plugin for this https://github.com/sigmaSd/deno-nvim

@sigmaSd nice! Feel free to reference that from the docs here.

done thanks!
I think I can close this issue now, the remaining bug have issues upstream already.

FWIW, https://github.com/neovim/nvim-lspconfig/issues/1937 is still open because I think it makes sense to have very thin (1-2 lines per command) or auto-generated commands if there's a way for the client to "discover" LSP server capabilities and generate commands for (custom) server actions. But for non-trivial commands and features, separate plugins are appropriate.

I see thanks for the heads up.

if there's a way for the client to "discover" LSP server capabilities and generate commands for (custom) server actions.

Short answer: it's not possible
Long answer: although it's possible to discover what kind of commands the server supports (They're listed as part of the server_capabilities), the arguments the commands require are not described. That makes sensible auto generation of client commands pretty much impossible

Thanks @mfussenegger . That leaves the "very thin" option. But that's probably not possible to do in a generic way.

Hello, I have a problem when importing dependencies from esm.sh, Deno Intelissense in NeoVim do not work for esm.sh imported packages. It works for deno.land & npm: packages, but not for esm.sh.
I still can run my program with Deno, but the types are not loaded by denols, even so there are present in the cache folder.

Can you provide typescript example that reproduce the issue

Ok, the problem was coming from the fact that I did not run the deno cache before running my program.
Actually, the deno cache command downloaded all the types from esm.sh 😄


⚠ Text Filter API Endpoint has degraded performance

In e6e97c4, Text Filter API Endpoint (http://textfilter.roblox.com/) experienced degraded performance:

HTTP code: 200
Response time: 1582 ms

Resolved: Text Filter API Endpoint performance has improved in 4ddd8c1.


Event on ID3 timed metadata over HLS

Hi, I'm evaluating Plyr as a substitute to JWPlayer but I absolutely need to be notified when ID3 metadata arrive with the HLS stream (typically the streaming server sends one metadata packet every 2 seconds). Does Plyr have an event for this? I couldn't find it in the documentation.
See the equivalent documentation page in JWPlayer's website.
https://developer.jwplayer.com/jw-player/docs/javascript-api-reference/#jwplayeronmeta

Plyr doesn't handle streams. You can handle streams with Plyr and other libraries which have events for these things.
https://github.com/sampotts/plyr/wiki/FAQ#1-does-plyr-work-with--

Understood, thank you!

jwplayer probably handles this aspect better. Plyr works with captions for dash.js and hls.js (not Shaka Player). Quality switching isn't implemented yet. Plyr is also not well tested, and doesn't have the same resources, so I would expect jwplayer to be more stable if the price and licence works for you.


[Bug] Button UI inconsistency with scanZone/scanNext

When using scanZone/scanNext the buttons don’t follow custom colour schemes and also cause the buttons above to turn transparent.
images show this better than I could ever hope to describe -

Fixed in #900. The transparent icons are intentional though to indicate that they're disabled when one of the Scan on Demand are enabled.


Getting Started with Modin and Benchmark

Hi,
I am new to Modin, and I am very interested in the benchmark in this figure.
https://raw.githubusercontent.com/modin-project/modin/master/docs/img/read_csv_benchmark.png
Could I get more information in getting started by replicating this benchmark?
Thank You,
Vibhatha.

Hi @vibhatha thanks for posting!
Here is a simple self contained set of calls you can use:
In [1]: import numpy as np

In [2]: arr = np.random.randint(0, 100, size=(2**20, 2**7))

In [3]: np.savetxt("foo.csv", arr, delimiter=",")

In [4]: import pandas

In [5]: %%time
   ...: pandas_df = pandas.read_csv("foo.csv")
   ...:
   ...:
CPU times: user 20.8 s, sys: 1.51 s, total: 22.3 s
Wall time: 22.3 s

In [6]: import modin.pandas as pd

In [7]: %%time
   ...: modin_df = pd.read_csv("foo.csv")
   ...:
   ...:
CPU times: user 1.59 s, sys: 1.27 s, total: 2.86 s
Wall time: 8.44 s

The performance is hardware dependent, so the more CPU cores you have, the better the performance will be.

Hi @devin-petersohn, when we use the backends Ray or Dask, is there an effect from these APIs for the performance or it is entirely independent.

@vibhatha There will be some performance differences, they may be minor for some operations. Dask and Ray are implemented using the same mechanisms internally, so the differences you would see would be due to their implementation differences.


Dev unit tests

This is the start of a very basic unit test system. I can also be used to assist in development efforts. Over time, more python files can have unit tests files created for them. Additional unit tests within unit test files will likely also be add (especially for "fail" conditions where one wants to ensure that bad data is being handled correctly in the code.
Additions

A new unit_tests folder which has the following:

clip_vectors_to_wbd_params.json:  A set of default "happy path" values that are expected to pass validation for the   clip_vectors_to_wbd.py -> clip_vectors_to_wbd (function).

clip_vectors_to_wbd_unittests.py: A unit test file for src/clip_vectors_to_wbd.py. This file has only one test in it for happy path, but more are expected as "fail" test conditions are added later.

README.md:  Some information about how to create unit tests and how to use them.

unit_tests_utils.py: A python file where methods that are common to all tests can be placed. At this point, only one is included to create consistancy in unit path output print headers.

gms/derive_level_paths_params.json: A set of default "happy path" values that are expected to pass validation for the   derive_level_paths_params.py -> Derive_level_paths (function).  Note: the original method started with an upper case "D", so it used here as well.

gms/derive_level_paths_unittests.py: A unit test file for src/derive_level_paths.py. This file has only one test in it for happy path, but more are expected as "fail" test conditions are added later. Also, the "happy path (success)" function is not complete. it currently is evaluating the output only.

Notes
This is a very basic "starting" system. Even the two included unit test files are incomplete, but they have value even now for development purposes. This will hopefully create some precedence's that evolve. Eventually, the unit test system can become a tool that is triggered based on git checkin's to validate that a change has not broken other code functionality in other places.

@RobHanna-NOAA Please update the Changelog. I assume these additions have no impact on the GMS model, but are simply additional tools?

Correct, it does not affect functionality at all. Just a simple start to a unit test system but can be used for development purposes as well.
Change Log now updated.


Multi-package repo

Instead of generating the puppeteer-core package based on the puppeteer package, we should separate the two packages and make puppeteer to depend on puppeteer-core.

https://docs.npmjs.com/cli/v8/using-npm/workspaces
https://github.com/googleapis/release-please/blob/main/docs/manifest-releaser.md


Questions for Population on August 2022 Build

New Questions
Archived Questions
 Data engineers should put questions for population division here and population can respond when convenient

@SashaWeinstein can this be closed?

Sure, closing now


rclone http listener

I was thinking about how to give cache an easy way to purge specific paths or objects from its storage. Plus all the work around polling with drive gave me an idea on how to do this better.
What would you think about adding an http listener which can receive requests and proxy them to the remotes that subscribe to it?
Some of the things I thought about:

would start up on first subscription from a remote (similar to atexit)
remotes can subscribe with a callback and specify parameters to compound the URL for it
the http listener will transform GET query parameters to a simple map[string]string
.... when there's a POST or PUT it will callback with a Reader for the body
try to keep it lightweight, get the request and pass it down to the subscribed remote
could open a way for cloud providers to push notifications to rclone directly rather than polling (but there are complications for this use case)

My usage would first be to have a cache purge command that checks if there's a rclone process listening and push a request to purge something to the long running rclone process. More experienced folks could curl rclone directly :)
Is it a niche topic? I know cache is probably the only remote that has the limitation of running in parallel (bolt db lock).

I like the Idea!!!
I was thinking about something like that in order to change parameters on the fly, without having to stop and start again rclone. Just like a signal but from http, that way it could work on every SO and have more flexibility and options than just a signal.

https://forum.rclone.org/t/cache-ability-to-purge-directory-cache-without-purging-cached-files/4839
May be related content to add to this discussion.

To go a little further, today I've noticed some old entries in the upload cache directory that don't seem to have been deleted, that is to say, files not directories - I confirmed they were on the remote via the webUI and stopped the mount and deleted the cache upload files and remounted but wondering what happened.
I'd add it'd be great to be able to do one off force uploads via webhooks. Given there's a lot of potential things to trigger or alter during runtime, using SIGHUPs and similar was going to be a losing battle.

@daniel-loader
The Sonarr/Radarr issues (or better said, cache expiration related) should be improved after https://github.com/ncw/rclone/pull/2094 gets in as long as the cloud provider is drive or amazon as those are using change notifications.
But sure, giving the ability to other tools to expire cache on their demand will make things work better together

That's great, I'll give it a go once it hits beta.
Can you give a tiny bit more detail as to what the difference would look like from the end user POV so I can test it before/after?

I have made a proposal for discussion with some ideas that I've had floating about for a while!
The overview docs give an explanation of how things fit together.  The rclone rc command describes the rclone client for the remote control.  You can use curl too if you want.
How to use the internal API is described in the rc.go and there are some examples of simple APIs which I implemented to get the ball rolling!
It is strictly an RPC style interface so no streaming or web pages.  The latter would be relatively easy to add though.
@remusb let me know what you think - is this sufficient for your use?
Any comments gratefully received!

@ncw oh wow, you move too fast. I was still at starting the refactorization of the PR I did.
This all looks great. A couple of questions:

do we want other commands than mount to start up on --rc? I can only think of sync being useful if it's done on expected long running syncs
seems to be ready for use. I'll open a new PR to add this in cache

do we want other commands than mount to start up on --rc? I can only think of sync being useful if it's done on expected long running syncs

I think potentially any rclone command could use it.  sync, copy, move, copyto, moveto are all good candidates.  I don't see a disadvantage for enabling it for all commands particularly.

This got in master and it's available as a beta: https://beta.rclone.org/v1.39-241-g67797164/ (should be complete soon)
Please read the docs about RC mode and cache support for it:

https://github.com/ncw/rclone/blob/master/docs/content/rc.md
https://github.com/ncw/rclone/blob/master/docs/content/cache.md#cache-and-remote-control---rc

One thing I noticed while testing:
If you are using rclone with cache & and crypt (gd/cache/crypt) and you want to invalidate a file/dir though the new rc api, you must use use the encrypted filenames. This really makes things complicated from a user perspective.

Oh and one more little detail:
Invalidating a directory via the rc api only invalidates the cache remote DB, the mount dir cache will still have the old entries until dir cache time expires... I bet there will be some people scratching there heads about this 😉

Both options are supported in the latest master @seuffert
I realized another problem will be absolute paths in the case of a mount. They won't work as the backends will not have the context of where they're running in and how. Paths will always have to be relative from the mount point.
This isn't something that can be changed though at this point.

@remusb great, thx! :) will test it later
i added one comment on your commit

Can anyone help me work out how to use rc to purge a directory? An example or two would be great!

example to expire a relative sub-folder in mount:
 rclone rc cache/expire remote=path/to/sub/folder/

Thanks, I'll go try it out now.
Any example for the curl request alternative?
Once I get it all sorted I'll do a PR to update the documentation page a bit more.

i updated the above example to include curl

How does one dictate which cached remote is being purged? The curl string sent doesn't indicate which remote it is?

the port can not be shared, every rclone mount must run on its own port number

Ah right, as I left it default rather than dictating a port on the http listener I hadn't considered the issue. Glad to have it cleared up!

from the rclone rc documentation:
--url string   URL to connect to rclone remote control. (default "http://localhost:5572/")


Selector for classes and functions not working when file is part of a project

Spyder 5.0, MacOs 11.2.1
Problem Description
The selector for classes and functions dropdown remain empty when the file is part of a project
What steps reproduce the problem?

Edit a file that is not part of a project, from the file>Open menu. The dropdowns are filled OK.
Make a project from the directory where the file is. Open the file by double-clicking on the project pane treeview. The dropdown remain empty.

I create a new issue since #13131 has been closed, and my title is more descriptive.

Hi @yves-surrel,
Can you please update to the latest version of Spyder 5.0.2 via conda-forge or one of our installers and see if the error is still happening? Also, can you recall when was the previous version where this wasn't an issue?

Hi Stephannie
No change with Spyder 5.0.2.
However, my own investigations lead to an important information. The problem is only indirectly related to project creation. It seems to be more related to the PYTHONPATH content. When a project is created, a PYTHONPATH entry is created, as seen in the PYTHONPATH manager. When the project is deleted, the entry is automatically removed.
If I manually add an entry in the PYTHONPATH manager, the problem arises, but not always. In my case, although I do not know if it is a general rule, adding the parent or grandparent directory of the open file rises the problem.
I checked that the result param in DocumentProvider.process_document_symbol_request (spyder/plugins/completion/providers/languageserver/providers/document.py) returned different contents with and without an entry in PYTHONPATH. AFAIU it may be related to filling the symbols from the document, but I could not figure out where this is done (something to do with 'Langage Server Protocol' that I know nothing about).

The thing broke between spyder versions 4.1.5 and 4.2.0
Output of conda install spyder=4.2.0
The following NEW packages will be INSTALLED:

  pyls-spyder        pkgs/main/noarch::pyls-spyder-0.3.2-pyhd3eb1b0_0

The following packages will be UPDATED:

  jedi                                        0.17.1-py38_0 --> 0.17.2-py38hecd8cb5_1
  python-language-s~                            0.35.1-py_0 --> 0.36.2-pyhd3eb1b0_0
  spyder                                       4.1.5-py38_0 --> 4.2.0-py38hecd8cb5_0
  spyder-kernels                               1.9.4-py38_0 --> 1.10.2-py38hecd8cb5_0

Hey @yves-surrel, thanks a lot for digging into this! That's really helpful.
This information will allow us to better debug and finally solve this problem.

Feel free to ask for any other test ;-)

This may be related, but I've also noticed that the class and function selector is empty for second editor panes.

@yves-surrel, the OP issue may already be resolved; I cannot reproduce from bootstrap using the latest commit (d22f4591404185165cb5490ccee7e49cc59a1c5a). However, there are a couple of visible issues unrelated to the OP:

When creating a new project, the previously open file is closed and temp.py is opened. This is a result of closing open files when a project is opened, but the opened project doesn't have project files designated yet, so it defaults to temp.py
For conda bootstrapping, opening (or switching) a project can sometimes cause a traitlets kernel to die, causing a long delay for the console to restart.

We're working to fix this problem in our next version (5.1.0), to be released at the end of the month.


Added support for additional tls certs to custom services

fix #2555
Similar to the support for certs by export to OCI registries.
Difference:

cert data is in the main secret holding repo credentials
export has the data in a separate secret referenced by name from the cred secret

might be better to adjust code here to use a separate secret as well, allow for sharing with export, and between services

Testing:

The helmrepo field of  service specs names a kube secret A.
The keys username and password of A are used to hold the credentials for accessing the helm repo in question.
This is how #2530 has made it.
This PR extends this:

The secret A gains a new optional key certs.
When certs is set, it holds the name of a kube secret C.
The key tls.crt of C is used to hold the PEM-encoded data of the additional certs.
This means that C has the same format as the cert secrets used by the export to OCI registries.
Like these secrets the certs held by C are provided as CAFile to the repo setup/login functions.

See PR https://github.com/mittwald/go-helm-client/pull/182 for a possible fix in the mittwald client to expose the necessary information to change by the caller.
The upstream PR is approved and waiting for merging since Aug 30, i.e. 1.5 months as of the time of writing this here.
Decision: Suspending work on this PR and associated ticket until the upstream PR is merged and usable.


Is Ceph Jewel version compatible with existed CentOS 7.2 based ZStack?

According to http://docs.ceph.com/docs/master/releases/schedule/ , Ceph hammer has been EOL for more than one year. CentOS 7.4 based ISO provides a Jewel version repo, which provides more useful functionality and performance improvements.
If we upgrade ceph nodes, which are also compute nodes and being used by zstack primary storage, from Hammer to Jewel version by the method that provided by ceph official documents, will we encounter any compatibility problems (e.g. cephx) ?

ZStack has moved to Centos7.4 base for a while. Cephx is supported (you
will see the checkbox enabling cephx when adding primary storage), so I
don't think there will be compatibility issues
On Mon, Aug 6, 2018 at 2:11 PM mchtech<EMAIL_ADDRESS>wrote:

According to http://docs.ceph.com/docs/master/releases/schedule/
http://url , Ceph hammer has been EOL for more than one year. CentOS
7.4 based ISO provides a Jewel version repo, which provides more useful
functionality and performance improvements.
If we upgrade ceph cluster, which is being used for zstack primary
storage, from Hammer to Jewel version by the method that provided by
ceph official documents, will we encounter any compatibility problems (e.g.
cephx) ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zstackio/zstack/issues/1245, or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQR5WG_xGPzo5i_HggsJV8oRi_r-d0rks5uN94tgaJpZM4Vvzme
.

We have upgraded Ceph from Hammer to Jewel for 9 months. During the upgrade process, we only encountered a very small number of problems, because we have verified the solution many time on test environment. This is the script that we used for upgrading.
This script can only be used as a reference, because each Ceph environment and architecture may be different.
我们已经将Ceph从Hammer升级到Jewel 9个月了，由于先前在测试环境中验证升级了很多次，所以升级过程中只遇到了少量问题。下面的脚本是升级过程中使用的。
这个脚本只能用作参考，因为每个Ceph环境和架构可能是不同的。
#!/bin/bash

// Upgrade
yum -y install centos-release-ceph-jewel
sed -i "s/mirror.centos.org/mirrors.aliyun.com/g" /etc/yum.repos.d/CentOS-Ceph-Jewel.repo
yum -y install ceph

ceph osd set noout

// MON : upgrade one by one
chown -R ceph:ceph /var/lib/ceph
chown -R ceph:ceph /var/run/ceph
systemctl stop $(systemctl | grep ceph-mon | grep running|awk '{print $1}')
sleep 1
systemctl start ceph-mon@$(hostname)
systemctl enable ceph-mon@$(hostname)

// OSD : upgrade one by one
osdnums=$(ls /var/lib/ceph/osd/|sed 's/ceph-//g')
if [[ ! -z $osdnums ]];then
    for i in $osdnums;do
        srv=$(systemctl |grep "ceph-osd\.$i"|grep running|awk '{print $1}')
        if [[ ! -z $srv ]];then
            systemctl stop $srv
            echo "set permissions"
            chown -R ceph:ceph /var/lib/ceph
            chown -R ceph:ceph /var/run/ceph
            echo "end set permissions"
            sdx=$(readlink -f /var/lib/ceph/osd/ceph-$i/journal | sed "s/[0-9]//g")
            if [[ ! -z $sdx ]];then
                chown ceph:ceph ${sdx} ${sdx}1 ${sdx}2
                ceph osd down $i
                sleep 2
                systemctl start ceph-osd@$i
                systemctl enable ceph-osd@$i
                cnt=1
                while [ $cnt -gt 0 ];do
                    sleep 2
                    ceph osd tree
                    cnt1=$(ceph osd tree | grep down | wc -l)
                    cnt2=$(ceph -s | grep -E "activating|degraded|undersize|recove|stale|scrub" | wc -l)
                    cnt=$(($cnt1+$cnt2))
                    echo "wait $cnt"
                done
            else
                echo "bug2"
            fi
        else
            echo "bug1"
        fi
    done
else
    echo "bug0"
fi

chown -R ceph:ceph /var/lib/ceph
chown -R ceph:ceph /var/run/ceph

# After upgrade
# n1
ceph osd set require_jewel_osds
# n2
ceph osd set sortbitwise
# n3
ceph osd crush tunables optimal
ceph osd unset noout

⚠Before running n1, n2, n3, we must entrue that all VMs on physical servers have been restarted by "shut down and start" or migrated to other physical servers(use ZStack) so as to force QEMU to use new Ceph client library. Otherwise, Vms will stuck. (n1/n2/n3: I forget which command will lead to this issue. It should be n3)
需要注意的是，在运行n1/n2/n3前（大概率是n3，时间太久了记不清了），所有的虚拟机都应该关机再开机，或者在管理中将虚拟机迁移到其它主机上，这样qemu才会使用新升级的ceph客户端库，否则虚拟机会卡住。


Create LICENSE

MITライセンスを設定する。

Codecov Report

Merging #33 (3d2d0eb) into licence (bd7a646) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           licence      #33   +/-   ##
========================================
  Coverage    75.23%   75.23%
========================================
  Files            4        4
  Lines          105      105
========================================
  Hits            79       79
  Misses          14       14
  Partials        12       12

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 bd7a646...3d2d0eb. Read the comment docs.


Psychopomp spirit touch should apply appropriate damage dice

not sure it's only PCs, but when rolling dmg with psychopomps vs undead PCs, it rolls negative dmg instead of positive; their spirit touch should do pos vs undead, neg vs living
note: still on the latest V10 version atm

There are quite a few psychopomp creatures. Are you referring to one in particular?

no, it's the common feature called spirit touch that's i think shared by all of them?

I checked the Catrina, and it's a roll note delivered via attack effect. So no problems there except there being better toys available now.

Reframing this as a feature request to deal damage according to target

just spotted that the shabti slayers have exactly the same problem as the same rule element, that doesn't work, is used - except theirs is only 1/2 of the rule elements - they do extra dmg to only undead

I tested Shabti Slayer against a Skeleton PC, and it behaves correctly. What sort of undead PC are you testing against? Can you reproduce with a fresh PC? Have you tried replacing the feature that's granting undead?

just tried against the 4 PCs in my game from last night, lich, mummy, zombie & skeleton - skeleton was the only one it worked on and did positive dmg - might be due to all those having humanoid and undead traits?
just deleted the lich's dedication feat and then gave it back, nothing changed

just tried the vanth warrior i orginally found the problem with, on the skeleton PC, it did positive dmg too

A mummy PC has "self:mode:living", which is incorrect. It's possible that modeOfBeing() is called too early, as traits appear to be empty.
@stwlam?

I tested the mentioned creatures & PC types and this appears to have been resolved at some point. Undead PCs have the correct self:mode now and Spirit Touch is applying the correct damage types.


Can't copy to /var/www directory

Hey, thanks for providing this plugin.
When trying to scp a directory from host machine to guest vm I get error Permission denied.
I can confirm that, I can copy files to another directory like tmp but not /var/www
Do you know any reason for this behaviour?
Also how to prevent this permission error from happening?
Host machine is Windows 10 and vagrant is run on VirtualBox

At the moment you are acting as vagrant user, not root therefore you do not have write access to /var/www/ by default. You need to scp to other location and then vagrant ssh + sudo -s and do the move the files. This is perhaps not what you wish but this is how it works now.


Mode to call Update/Draw not by timings but by events for relatively static applications

Requested by @nadimkobeissi
glfwWaitEvents is the key https://www.glfw.org/docs/3.3/group__window.html#ga554e37d781f0a997656c26b2c56c835e

Desktops: glwWaitEvents
Browsers: Probably handling various event handlers would work
Mobiles: Hmm 🤔

Could the eventual SetMaxFPS be part of this new design ? https://github.com/hajimehoshi/ebiten/discussions/1563

I think I'll add a new option for vsync

Vsync off
Vsync on
Vsync off but waits for events

FPS and TPS values would not make sense in the last mode.

@nadimkobeissi Hi, is this an urgent task (i.e., if I implemented this, will you use this asap)? If not, I'll de-prioritize this.

I'd love to see this feature in order to release a new project I've been working on - normally I'd submit a PR, but this is outside of my area of expertise - happy to help witt any testing etc. if required though!

Note to myself
GLFW: glfwWaitEvents
browsers: setTimeout?
Android: RENDERMODE_WHEN_DIRTY
iOS: ?
Nintendo Switch: cannot have this mode (I think)

@hajimehoshi Thanks for this, it works great. It makes KeyPressDuration being measured in frames... interesting for this scenario, but that's my problem to solve and shouldn't be too difficult. Really appreciate the work, thank you! :+1:


pip install instructlab -C cmake.args="..." does not work reliable

Describe the bug
I have had multiple occasions where pip install instructlab -C cmake.args="..." did not pass CMAKE_ARGS correctly to llama-cpp-python. Most recently I ran into the issue in PR #1826.
To Reproduce
unclear
Expected behavior
Our installation instructions should work all the time and produce reliable results.
Additional context
Maybe we should abandon the cleaner but less reliable  -C cmake.args="..." approach and use CMAKE_ARGS env var?

Closing in favor of #1873


SharedGraphicsTools Missing Documentation

Which package(s) are showing incorrect data?

https://swiftpackageindex.com/computer-graphics-tools/shared-graphics-tools

Please explain what data is incorrect and what you expected to see
The iOS build failed for some reason. Also, the documentation is missing on the SPI.
Screenshots

Additional context
Maybe SPM cache should be cleaned?

Thanks for the report, @eugenebokhan . It looks like the configured scheme name is incorrect. I've opened a PR to fix it.


chore: added badges

Pull Request Test Coverage Report for Build 30
Details

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

Totals

Change from base Build 29:
0.0%

Covered Lines:
126

Relevant Lines:
133

💛  - Coveralls


[Shaman] Some tweaks and a couple fixes

fixes for unleash elements
fix elemental oath earthquake bug Fixes: #117 Fixes: #118
fix lavalash cd
fix searing totem tick time and enable searing and magma totem to get totemic focus bonuses
remove some todo comments
fix elemental fury crit
add shaman tests
update gear sets, apl, talent presets, and defaults for ele and enhance
fix fire nova
fix flame shock dot so it can crit
fix the spell masks on elemental fury crit

Thanks guys. This should be ready to go with the latest commit fixing a few other things as well.


MergeQueryHs fails when hydrogen is one of atoms on list

Describe the bug
When calling MergeQueryHs on a template which contains a list of atoms with hydrogen, e.g.[C,H], the hydrogen is parsed as an atom with at least one hydrogen atom attached - [C,H1].
To Reproduce
from rdkit import Chem
print(Chem.MolToSmarts(Chem.MergeQueryHs(Chem.MolFromSmarts('[C,H]'))))
>>>[C,H1]

Expected behavior
I'm not sure. I've been trying to produce a valid testcase, but hydrogen parsing and matching seems to be bugged and I was not able to produce anything that makes sense (#8071, #8072).
Configuration (please complete the following information):

RDKit version: 2024.3.6
OS: macOS Sonoma 14.7.1
Python version (if relevant): 3.11.10
Are you using conda? Not
If you are not using conda: how did you install the RDKit? uv pip install rdkit

I guess this is correct behavior. [C,H] should be read as [C,*H1]. My guess is that you wish to query with [C,#1] so carbon or hydrogen atom.

[H] correctly matches explicit hydrogen and [C] does so for carbon. There's no reason why or operator (,) should change the way [H] is interpreted.

This is correct, the paren "," means or in a smarts pattern, so this query matches Carbon OR Hydrogen.
Example:
>>> smi = "[C,O]"
>>> m = Chem.MolFromSmarts(smi)
>>> Chem.MolFromSmiles("O").HasSubstructMatch(m)
True
>>> Chem.MolFromSmiles("C").HasSubstructMatch(m)
True

MergeQueryHs is intended to take explicit hydrogens and remove them from the graph but keep their meaning.  I.e.
>>> params = Chem.SmilesParserParams()
>>> params.removeHs = False
>>> m = Chem.MolFromSmiles("C([H])([H])[H]", params)
>>> Chem.MolToSmiles(m)
'[H]C([H])[H]'
>>> Chem.MolToSmarts(m)
'[#6](-[H])(-[H])-[H]'
>>> merged = Chem.MergeQueryHs(m)
>>> Chem.MolToSmarts(merged)
'[#6&!H0&!H1&!H2]'

@hadoth note that SMARTS specs call [H] explicitly as an exception from the "H in SMARTS mean the number of implicit hydrogens" rule. In any other case it means the latter.

This is the same thing as #8072: H in a list is, correctly, interpreted as "an atom that has 1 attached hydrogen"