Multiple avro schema support

Reason/Context
Please try answering few of those questions

Why we need this improvement?
Typically .avsc are broken down into multiple files that will contain various types however they lack import ability of the schemas. Typically compiler processes a whole folder of schemas.
This makes it hard to import multiple schemas into single async.yaml file by forcing manual inlining of those schemas
How will this change help?
Explicit references to used schemas
What is the motivation?
Simplify working with avro schemas from the interface

Description
Please try answering few of those questions

What changes have to be introduced?
Potentially the $ref for avro schema can be a schema list separated by : or ;
Will this be a breaking change?
No
How could it be implemented/designed?
Schema parser could inline all resources by parsing from last schema to first e.g.
a.avsc;common.avsc would parse common.avsc and replace all type refs by looking at common.avsc

Alternative for this change I saw mentioned in one of avro JIRAs - basically to include an imports file array at top level however I am unclear how this could translate into JSON schema.
Possibly just output a schema that contains a list of types (records) and force the AsyncAPI definition to specify the type that is referring to?

Thanks for commenting again, @michaelpro1. I totally missed this issue at first. I think what you're pointing to is a limitation of the Avro schema format specification and should be addressed by them. Just like JSON Schema provides $ref, Avro should provide their own mechanism.
Regarding the changes you propose, here's my feedback:

Potentially the $ref for avro schema can be a schema list separated by : or ;

Hacking on $ref to add semantics would not be possible. $ref is defined to accept a valid URL and : or ; are not valid URL characters. Making an exception here would be big hack just to solve a problem that's not of AsyncAPI but of Avro instead.

Alternative for this change I saw mentioned in one of avro JIRAs - basically to include an imports file array at top level however I am unclear how this could translate into JSON schema.

This is not possible because the imports keyword is not part of the Avro spec but of the Avro IDL, which are totally different things.

My suggestion is that you introduce some intermediate step to compile your Avro files into a single one with all the references resolved. Or maybe schema registries do this job already, I'm unsure.
Furthermore, open a Jira ticket on their side so they add this once and for all. I'll support you there as well.

I was trying to use the schemas without a compiler, mainly to visualise topics + schemas from design. Doesn't look like there is anyway to do it with avro, even .avpr files do not support imports.
Schema registry would have been OK if it didn't require baked in credentials. Avro team in that ticket don't want to have any external reference either.
Oh well, that was just an idea.


Add estimation of energy from trace

This allows using the data in the EAS energy model to estimate the
power usage of the system at any given moment. The hope is that this
can be used as a weak proxy for power performance on systems where
measuring real power consumption is not possible.
CC: @joelaf

This is another PR that looks huge but it's pretty much all docstrings, comments, and test..
I had some performance issues, and rather than doing any 'real' optimisation I just memoized away the slow code. That got me to 20s for a 78Mb trace on my slow laptop (2nd gen i5), so let's see if that's fast enough. If not I can optimise it. Unfortunately there isn't really a single critical component that's slowing it down (I've profiled it), the whole module is just full of slow code.

Oh, forgot to say I updated it responding to the comments I said I'd respond to


Class Property Initialisers Containing Functions Throw Errors

atom-ternjs 0.8.4
I'm not sure if this is atom-ternjsrelated or a general ternjs issue so apologies if this is on the wrong repo.
When using class property Initialisers that contain functions, the following error appears:
atom-ternjs
    TypeError: this.proto.gatherProperties is not a function
    at extend.gatherProperties (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:681:34)
    at Object.exports.forAllLocalsAt (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:2112:11)
    at Object.findCompletions [as run] (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:747:13)
    at run (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:254:30)
    at Object.exports.withContext (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/infer.js:862:18)
    at /Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:262:13
    at analyzeAll (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:376:15)
    at doRequest (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:245:5)
    at Object.signal.mixin.request (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/lib/tern.js:159:7)
    at respond (/Users/me/Atom/packages/atom-ternjs/node_modules/tern/bin/tern:239:10)

This can be reproduced with the following example (original):
class Video extends React.Component {
	static propTypes = {
		videoSrc: React.PropTypes.string.isRequired,
		customProp: function(props, propName, componentName) {
			if (!/matchme/.test(props[propName])) {
				return new Error('Validation failed!');
			}
		}
	}
}

To trigger the error, try typing anywhere inside the customProp function.

Class properties are not in ES6, and are thus not supported by Tern. Still, the expected behavior would be for the parser to ignore them and Tern to continue working. I could not reproduce the crash by using the example code you gave in a file and running Tern on it. Could you provide me with more precise instructions for reproducing this?

Ah ok, maybe it is atom-ternjs related then.
Steps to reproduce:

Open Atom editor (v1.1.0)
Create and save a new file containing the example code:

class Video extends React.Component {
    static propTypes = {
        videoSrc: React.PropTypes.string.isRequired,
        customProp: function(props, propName, componentName) {
            if (!/matchme/.test(props[propName])) {
                return new Error('Validation failed!');
            }
        }
    }
}

Reload Atom editor from View -> Reload
Place your cursor inside the 'Validation failed!' string on line 6
The error should appear

I'm on a different machine and the error is different when placing the cursor inside the string:
TypeError: Cannot read property 'Error' of undefined at extend.hasProp

To get the original error (gatherProperties is not a function) follow the steps above but instead of placing the cursor inside the string on line 6, delete line 6 and type anything into that line.

This was a bug in the parser. Attached patch fixes it. I've published a new version to npm, doing npm update wherever Tern ended up being installed should help. (The content of these properties still won't be analyzed, but at least the crash should be gone.)

Thanks! :+1:


Extend generation and template.extract producing empty fields and malformed outputs.

The extend generation logic in dsp/primitives/predict.py is producing the behaviour illustrated below.
The example uses an artificially low max_tokens to illustrate the bug with real LM calls.
import dspy

llm = dspy.OpenAI(model='gpt-3.5-turbo', max_tokens=10)
dspy.settings.configure(lm=llm)
class SciGen(dspy.Signature):
    """context and answer on science questions"""
    question = dspy.InputField(desc="Input question")
    sun_context = dspy.OutputField(desc="sun_context")
    moon_context = dspy.OutputField(desc="moon_context")
    earth_context = dspy.OutputField(desc="earth_context")
    relative_distances_context = dspy.OutputField(desc="relative_distances_context")
    answer = dspy.OutputField(desc="Answer only when you have all the context fields.")

context_generator = dspy.Predict(SciGen, n=1)
response = context_generator(question="Why do we have solar eclipse?")

response

# Prediction(
#     sun_context='During a solar eclipse, the Moon passes between the',
#     moon_context='',
#     earth_context="Earth and the Sun, blocking the Sun's light",
#     relative_distances_context='',
#     answer='Answer: A solar eclipse occurs when the Moon'.
# )

Explanation
When the model does not generate all the correct field prefixes in the correct order, logic in dsp/primitives/predict.py is used to continue the generation until the signature is completed.
https://github.com/stanfordnlp/dspy/blob/55510eec1b83fa77f368e191a363c150df8c5b02/dsp/primitives/predict.py#L95
The "Last field"'s value is set to "" - presumably to throw away a partial completion?
https://github.com/stanfordnlp/dspy/blob/55510eec1b83fa77f368e191a363c150df8c5b02/dsp/primitives/predict.py#L98
And a further call to the LM is made with the updated prompt - with the "last field" as the trailing prefix - ie
"""
...
Moon Context: """

Whilst the prompt is rendered correctly,template.extract compares the field value to None to decide where the new completion from the LM is meant to go in the signature:
https://github.com/stanfordnlp/dspy/blob/55510eec1b83fa77f368e191a363c150df8c5b02/dsp/templates/template_v2.py#L156
Since the value of the last field is "" the new completion is instead attached to a field which is still None. This logic stands in contrast to how the prompt was built - where the field value is compared to "" to determine if it is "complete".
https://github.com/stanfordnlp/dspy/blob/55510eec1b83fa77f368e191a363c150df8c5b02/dsp/templates/template_v2.py#L81
The bug can be fixed by either

updating the extend generation logic to assign None to the partial field
updating the TemplateV2.extract logic to check for "" when assigning outputs
updating the TemplateV2.query logic to exclude fields with empty-string values as completed when determining which field to leave as the trailing prefix.

Speculation
I think the bug makes Dspy fail more quietly when the LM does not generate the fields as specified in the "Follow the following format" section of the prompt - as reported by https://github.com/stanfordnlp/dspy/pull/1169#issuecomment-2179472268 after a now reverted change to the extend generation logic (#920). The current logic means that at least one extra OutputField is added to the results for every recursion in generate - independent of what the LM produces. I think this means complex signatures will be reliably completed (up to the user-provided recursion depth) even if the LM is not actually generating the required field prefixes.
I think a "fix" to this bug might cause some examples to start to "fail" more loudly when the extend generation logic reaches its maximum recursion depth.
A more atomised fix to this bug would ensure that the last incomplete field is skipped correctly when the generation is extended, with appropriate documentation.
Cheers

@okhat @arnavsinghvi11 have you been able to reproduce this issue at all? Would be great to get this fixed!

Would be great to get a view on how best to fix this! Cheers :)

Think https://github.com/stanfordnlp/dspy/issues/1312 could be links?

Thanks for opening this! We released DSPy 2.5 yesterday. I think the new dspy.LM and the underlying dspy.ChatAdapter will probably resolve this problem.
Here's the (very short) migration guide, it should typically take you 2-3 minutes to change the LM definition and you should be good to go: https://github.com/stanfordnlp/dspy/blob/main/examples/migration.ipynb
Please let us know if this resolves your issue. I will close for now but please feel free to re-open if the problem persists.


Create dir for coursework docs, remove needless rst-files for module …

…docs, fix minor issues
Make license not show in manual examples pulled straight from the .py-file

Codecov Report

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

@@           Coverage Diff           @@
##           master     #199   +/-   ##
=======================================
  Coverage   66.58%   66.58%
=======================================
  Files          20       20
  Lines        1284     1284
=======================================
  Hits          855      855
  Misses        429      429

Impacted Files
Coverage Δ

dpemu/filters/image.py
82.43% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Add support for Infinite map

This pull request adds support for infinite maps and would resolve #76
It adds a breaking change to the Layer struct.

Cool, thank you!


Broken @import

when I have @import in css, this module broken :(
you want add support to this?
is css3 import (I believe), the doc of this feature, I found here https://developer.mozilla.org/pt-BR/docs/Web/CSS/@import
@import url(https://fonts.googleapis.com/css?family=Fira+Mono);

Can you clarify what you mean by broken? Can't see any issue here. I'd also suspect if there is indeed any issue, it'll be related to clean-css

Maybe it is related to this?
Issue 865 in clean-css


KeeWeb

I have write KeeWeb manifest but i am unable to push it, Can i ask why ?
Or what is correct step by step procedure of adding a new manifest ?

Go to https://github.com/lukesampson/scoop-extras/tree/master/bucket
Click create new file

KeeWeb already exists https://github.com/lukesampson/scoop-extras/blob/master/bucket/keeweb.json


Fix Inconsistency with IsSharedQLoRA Setting

What does this PR do?

In https://github.com/huggingface/transformers/pull/33154, logic was introduced to fix low_cpu_mem_mode, in which the weights will be accordingly moved to either cpu or meta device depending on device rank. However, this causes a problem here as is_sharded_qlora could then be potentially set to True on device 0 and False on all others.
This PR fixes this problem which will be experienced in the upcoming transformers release.

Fixes transformers#33154
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[x] Did you read the contributor guideline,
Pull Request section?
[ ] Was this discussed/approved via a GitHub issue? Please add a link
to it if that's the case.
[ ] Did you make sure to update the documentation with your changes? Here are the
documentation guidelines.
[ ] Did you write any new necessary tests?

Who can review?
@mdouglas
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


DSWx-HLS SAS CalVal Acceptance Test

Ticket to track the acceptance testing for the CalVal release of the DSWx-HLS SAS.
As per usual, a wiki page should be created detailing the test procedure at completion of this ticket.

Wiki instructions now available here
https://github.com/nasa/opera-sds-pge/wiki/DSWx-HLS-CalVal-Acceptance-Testing-Instructions


fix(startup): fix app freeze on startup when there is no schedule

:tada: This PR is included in version 1.7.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use Redux Hooks instead of Redux HOC

Project should follow new React Hooks model.

Decided not to use Redux Hooks because it's not as good as HOC for now and use of Thunk would be compromised. Read more here: https://react-redux.js.org/next/api/hooks


add support for IPs API

This issue is to add support for it in the library.
https://documentation.mailgun.com/en/latest/api-ips.html#

Done in v3.1

Done in v3.1


[BEAM-11377] Add retries to mvn command.

Snapshot quickstart tasks are failing due to a connection reset error from the mvn command. There are a few potential solutions to this, the first is what this PR covers:

add retries using wagon to add resilience for transient network issues
disable http keep alives which mvn has had trouble with in the past (was apparently fixed in an earlier maven version than our current one: 3.5.4) using -Dmaven.wagon.http.pool=false OR -Dhttp.keepAlive=false.

If this doesn't work, we can try the latter. I was unable to repro locally.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: altay@

R: @kennknowles

Run Dataflow PostRelease


vsl.plot: Convert .sh files to .vsh

Seems that is it working on windows for users that have bash installed. So we need to figure out a way to know if bash is installed. Otherwise we need to provide another way of running the scripts that it provides
One way is to migrate all the .sh files in the plot/ dir to .vsh instead. That way VSL plot will be using V for mostly everything and just using python to run the plot server, which is a better way of doing it
Originally posted by @ulises-jeremias in https://github.com/vlang/vsl/issues/78#issuecomment-1272656331

I think, for this case, we must use platform independent APIs to translate the .sh files. I am actually trying to figure out how to translate the whole thing in such a way that it does not break in some particular operating systems. Hopefully, soon I will be on the task.

Me myself had to actually struggled with windows. Then, I moved on wsl.

The beauty of .vsh files it that they are V script files, so they will do everything V will do in the same cross-platform manner as regular V programs.

@AmitPress do you want me to assign this issue to you? we can also split it into different smaller tasks so we can migrate the scripts one by one 👌🏻


Extend parser template to create an ELN-ready entry from a file

Hey,
as we have already discussed last week, there is an urgent need for a template (or think of it as a best practice guide) on how to write an ELN-ready entry from a measurement file (e.g. a simple two-column csv file with possibly a header with metadata).
I think employing this in this plugin template would go long way.
I think reading from files into ELN entries is THE thing in the experimental area of how data gets into Nomad, and unfortunately the current parser template does not help with that at all.

In my (admittedly lay) view, instead of having this be part of the template, this sounds more like something that we should provide more examples of - similar to what's done here. If area C is writing a parser, this measurements stuff is probably not very helpful then. What do you think @lauri-codes?

Hey, thanks for the feedback!
I agree the current parser template is slanted toward simulation data and doesn’t address the needs of experimental workflows, which basically always require ELN capabilities for their entries. While I don’t know the balance of users working with simulation vs. experimental data, in my opinion experimentalists need better support. Right now, the parser template is rather useless for them.
Maybe it would be good to split the parser template into two types: Simulation Parser/no ELN-mode/as is and Experimental Parser/ELN-mode. This would better cater to both groups and make the templates more useful across the board. Thoughts?

I agree that we should cater to experimentalists better here, just not sure if a more complicated template is the way to go here. The goal of the template was to have a very minimal package.
@hampusnasstrom and I discussed having more examples for different kind of plugins, which show cases plugin functionality at different difficulty levels. We could then have examples there for multiple categories of plugins (simulation/ experimental/ etc). It'd also be easier to maintain all of the examples in a separate repo.

I'm not sure what you want to have in the template @fabianschoeppach? I think I agree with @blueraft that we should provide more examples.


Add config for stage activation keys

This adds the config to use activation-keys-ui's deployment instead of sed-frontend. This is part of the effort to decouple those two applications.
Navigation should not have to change I think - as the routes are staying the same. Just the location of the code is changing.

@Hyperkid123 do you mind taking a look at this when you have a minute?

The config looks good. I assume the JS assets are not available yet? We can merge this as a prep as it won't really change much until the assets are accessible.

The js assets should be available - I have the app deploying to stage already via app-interface. The old app is also still deploying so I'm not totally sure how they will work when they are both deployed, but I have a PR approved and ready to merge to remove the routes for this app so they no longer conflict.

@jlgre the URL currently throws 404. Have you requested Akamai routing changes yet?

I have not - I didn't see that step in the docs. Do you mind pointing me to where the information about that is?

Hello! here's the doc on it
https://inscope.corp.redhat.com/docs/default/Component/consoledot-pages/containerized-frontends/deploy-stage-and-prod/#akamai-configuration
But really, just clone https://issues.redhat.com/browse/RHCLOUD-25708 for stage, and we will take care of it :)
Here's the one for prod too, for when you have it deployed there https://issues.redhat.com/browse/RHCLOUD-25710

@justinorringer thank you! Cloned!

The assets are in stage now so I believe this should be ready to go - I see the Konflux build is failing but am not sure that has anything to do with my new changes

@jlgre the konflux failure is fine, we have switched konflux namespace while this PR was opened so I think its just confused.


Update dependency typedoc-plugin-markdown to v3.17.1

This PR contains the following updates:

Package
Type
Update
Change

typedoc-plugin-markdown (source)
devDependencies
minor
3.15.3 -> 3.17.1

Release Notes

typedoc2md/typedoc-plugin-markdown (typedoc-plugin-markdown)
v3.17.1
Compare Source

Prevent escaping of angle brackets in toc (#495)

v3.17.0
Compare Source
Features

Support MDXv2

v3.16.0
Compare Source

TypeDoc 0.25.0 compatibility fixes

v3.15.4
Compare Source
Fixes

Split out comment summary and tags for signatures (#451) .

Configuration
📅 Schedule: Branch creation - "before 4am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Self-Hosted Renovate Bot. Find all logs here.

 You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.
If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.


Suggestion: Regex supporting search/replace function

I have been wishing NBTExplorer could do search and replace with Regex.  I made a mistake on 836 command blocks and wish I could search/replace just what I need to change, as each command is unique.  I will have managed to manually update these commands by the time something can be coded, but for future users of these programs I offer this suggestion.
In my example, I made an item sorter that will sort every item including the 1.16 items.  When I created it, I thought it was a nice idea to make it whisper the player what it has sorted.  Now I realize that this causes endless chat spam and need to remove that portion of it.
I need to remove the run tell command
/execute if block ~ ~1 ~4 hopper{Items:[{id:"minecraft:oak_sign", Count:1b, Slot:0b}]} run tell @p Oak Sign Sorted
so it is
/execute if block ~ ~1 ~4 hopper{Items:[{id:"minecraft:oak_sign", Count:1b, Slot:0b}]}
But neither WorldObserver nor NBTExplorer can search for a keyword and perform a regex operation, such as to truncate everything after the last "}".

https://github.com/thebigsmileXD/WorldObserver#information
Maybe request it for Univeral Minecraft Editor?

I did.  I offered the same suggestion on all projects for MC editors I could find.  I didn't notice this one was discontinued, my bad there.
Have a good one!


Property group with underscore in name doesn't work

import com.natpryce.konfig.*
import org.junit.Test

class KonfigUnderscoreTest {

    object db_server : PropertyGroup() {
        val port by intType
        val host by stringType
    }

    val config = ConfigurationProperties.fromResource("db_server.properties")

    val port = config[db_server.port]
    val host = config[db_server.host]

    @Test
    fun konfig_test(){
        println("$host:$port")
    }

}

com.natpryce.konfig.Misconfiguration: db-server.port property not found; searched:

db-server.port in resource db_server.properties

It seems to silently convert underscores to dashes somewhere.

Yes.   This should be better documented.
Konfig uses "-" to separate words within property levels, and "." to separate property levels.
It translates names in the code to that naming convention.  And also translates that naming convention to the naming conventions used by different configuration sources (e.g. it translates to upper-case names with underscores to look up environment variables).

Raised documentation issue #12


[RFC] The Future of Next Starter Tailwind

Hey, reader! 👋 I’ve been thinking a lot lately about where I want to go with this starter in the future. I initially created the starter, because I wasn’t satisfied with the example in the Next.js repository. Over the past year, contributions from myself and other people have made the example more or less in line with what I provide in this starter.
So... now I’m working what I can add to this starter that would add value past what’s already in the with-tailwindcss example in the Next.js repo.
Here’s some ideas I have:

Add fully fleshed-out example pages like:

A landing page for a SaaS app
A landing page for a brick-and-mortar business
An app dashboard
A sign-in page for a SaaS app
An edit profile page for a SaaS app
A sign-up page for a SaaS app

Add Prettier with the default settings
Add documentation on how to use the starter with Tailwind UI
Add ESLint with the following plugins:

eslint-plugin-import
eslint-plugin-react
eslint-plugin-react-hooks
eslint-plugin-prettier

Add husky and lint-staged and do the following on every commit:

Fix linting errors
Format using Prettier
Sort Tailwind CSS classes using rustywind
Sort imports using import-sort

Some questions I have for you:

Do you think baking in opinions like these would be useful to you when starting a new project that uses Tailwind CSS and Next.js?
What ideas seem good to you? Which ones seem bad?
What’s something you might find useful in this starter that’s missing?
What kind of examples would you like to see added?

Thanks for your time! 👍🏻

I would love all the prettier config's to be in a starter project, also wouldn't mind to have Typescript baked in!

Hi, I know this couple of months old but is this still someting you are maintaining? If so, I would be more than happy to help and contribute as I see this template to be the foundation of my future projects

@krystian-mw Yes, I'm still actively maintaining the project. I plan to start on the next iteration here soon! I'm going to open some issues for all of the things mentioned in this issue. Once I do that, you're welcome to tackle any of them you want! Contributions are welcome! I appreciate you.

@taylorbryant I have been using Next for a few months, and would like to start getting into learning Tailwind. I was hoping to contribute by starting with one of the fully fleshed-out example pages.
I would design it up in Figma first, submit the design for approval maybe? Then start on development if that suited you?
I think maybe a discussion about how to best structure starters also. You don't want to have to delete to much out of a starter, I think Nextjs does a good job with their massive example of starters, but maybe adding a little more polish?


Version up

What does this PR do?
Update version in python package

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

0.1.8 was released because of https://github.com/openvinotoolkit/model_api/pull/146


Detailed instructions for creating permanent network aliases on Mac OSX.

Setting up permanent network aliases on Mac OSX is painful and a lot of examples on the web work only for older OSX versions. This PR includes detailed steps tested on OSX Sierra 10.12.6.
In the first commit I moved all the OSX-specific instructions to the new NETWORK_ALIASES.md, but then I realized the original instructions for temporary aliases were still useful in README.md as a quick-start guide to get new users running quickly.

@ptnapoleon, thanks! Yes, please feel free to squash.


Add Posthog

Adds PostHog tracking. The required environment variable values have already been added.

I just double checked this again, and looks good to go! Gonna merge 🚁

Awesomeness


navigator is not managing LSP servers

I had navigator working perfectly on another laptop, got a new job and a new work laptop, installed my nvim config and now navigator isn't working. I have a MBP running MacOS 12.2, Intel-chip. Neovim is v0.6.1 (the default Brew version w/ LuaJIT 2.1.0-beta3 compiled with +acl, +iconv, and +tui).
Here is the relevant part of my packer setup:
  -- LSP
  use {
    "neovim/nvim-lspconfig", -- Language Server Protocol stuff
    config = "require'lsp-config'",
    requires = {
      -- Language Server Protocol installer
      { "williamboman/nvim-lsp-installer", opt = false },
      -- Better quickfix and diagnostic window
      { "folke/trouble.nvim", opt = false },
      -- LSP powered function signatures
      { "ray-x/lsp_signature.nvim",  opt = false },
      { "glepnir/lspsaga.nvim",  opt = false },
    },
  }

  use { -- TODO: Figure out how to make this an optional plugin
    'ray-x/guihua.lua',
    run = 'cd lua/fzy && make'
  }
  use {
    "ray-x/navigator.lua", -- We use this to manage LSP setup
    -- config = "require'navigator-config'",
    -- requires = {'ray-x/guihua.lua', run = 'cd lua/fzy && make'},
    opt = false,
  }

And the relevant portion of my LSP/navigator setup:
function M.setup()
  require('navigator').setup({
    -- default_mapping = false,
    lsp_installer = true,
  })
  require('lsp_signature').setup()
  require('lspsaga').init_lsp_saga()
  setup_trouble()
end

M.setup()

I am using the lsp-installer -- however I have also attempted to get navigator to work without the lsp-installer package. Neither way works.
I expected navigator to install my LSP servers for me, instead it's done nothing. I manually have installed some servers and a few do work, including gopls and clangd. Most are not working at all. When I say not working the manually installed servers (through lsp-installer) are either not being picked up, like for sumenko_lua, or are not attaching to the client.
Any advice?

I think it because of the $PATH setup.
Check this part:
https://github.com/ray-x/navigator.lua#integrat-with-lsp_installer-williambomannvim-lsp-installer

Same issue here for neovim 0.6.1, do not working with nvim-lsp-intaller

Lsp installer does not install the servers in $PATH, you have to set it up explicitly.

Ah that would make sense.  I have that lsp_servers directory in my PATH, not sure why it would be that this was working on my old computer and not on this new one though. I'll poking away at it. Thanks for the help!

Any idea why it doesn't work without the nvim-lsp-installer? I'd be happy to drop it if I can get "it just works" functionality out of the box. Without it I don't have any servers installed at all though.

I do not use lspinstaller. So I can only try my best.

Check the lsp you are using is in PATH, e.g. ccls, try :!ccls in command mode inside vim and see if the command can be executed
If you do setup path, you can also check https://github.com/ray-x/navigator.lua#integrat-with-lsp_installer-williambomannvim-lsp-installer. And as it depends on installer API, please check if the following command return the correct path

local path = require 'nvim-lsp-installer.path'
print(path.concat{vim.fn.stdpath 'data', 'lsp_servers'})
local  install_root_dir = path.concat{vim.fn.stdpath 'data', 'lsp_servers'}
last check in your setup, e.g with ccls:

ccls = {
cmd = { install_root_dir .. '/cpp/ccls' }
}

Feel free to comment on the README or provide your minium vimrc.

I do not use lspinstaller. So I can only try my best.
1. Check the lsp you are using is in PATH, e.g. ccls, try `:!ccls` in command mode inside vim and see if the command can be executed

2. If you do setup path, you can also check https://github.com/ray-x/navigator.lua#integrat-with-lsp_installer-williambomannvim-lsp-installer. And as it depends on installer API, please check if the following command return the correct path

local path = require 'nvim-lsp-installer.path'
print(path.concat{vim.fn.stdpath 'data', 'lsp_servers'})
local  install_root_dir = path.concat{vim.fn.stdpath 'data', 'lsp_servers'}

last check in your setup, e.g with ccls:
ccls = {
      cmd = { install_root_dir .. '/cpp/ccls' }
    }

Feel free to comment on the README or provide your minium vimrc.

Hello, rust_analyzer is in the $PATH I've checked into :!echo $PATH or :echo $PATH, but when execute :!rust_analizer I got "command not found". For apps outside nvim example :!python --version, works well.. :(

Would be good to enforce the setup cmd to the following:
rust_analyzer = {
  cmd={rust_analyzer_full_path, argument}
}

For me, I installed rust_analyzer with brew/apt/yay so it is located in /usr/local/bin
the neovim lsp need to access rust_analysizer and startup the service with cmd setup. So if :!rust_analyzer failed, I think lua may also fail to launch it as well.


Create a Delivery Interface

Figure out more brainstorming in mid to end Oct on what this look likes.
Create Routing
Distributes order to people

dup of #122


CPU Usage when battery animation is active

When battery animation is active (default battery module), there's quite a constant increased usage of cpu resources. Waybar and Sway both jump to 7% and 9% respectively and stay there. If i remove the battery animation, They both go down to 0.7%!!! So a really big difference!
Waybar Version: v0.9.0
Sway Version: v1.4
Laptop Specs: i5-7200U CPU @ 2.50GHz

Some notes after investigating this.
Removing the CSS code for the blinking effect reduces the CPU footprint (though not completely):
/* comment this code */
@keyframes blink {
  to {
    background-color: #ffffff;
    color: black;
  }
}

It looks like the responsibility is on the transform CSS3 attribute. Although supported by GTK is not accepted in a Waybar CSS file. The rotate Waybar attribute seems to be ineffective at neutralizing the CPU usage.

@Alexays is there an FPS limiter? I've just noticed the same thing causing my GPU usage to show in nvtop between 60 and 80% whenever the charger icon is pulsing. I've had to disable it, I don't want to be a bigger climate criminal than taylor swift.

@apiraino Thank you for pointing this out.
After going down the rabbit hole yesterday, I found something very interesting, the animation-timing-function: linear;. This function is responsible for updating the animation, when using linear, it causes high cpu usage.
Therefore, we can use steps() MDN
Example can be:
animation: generic-animation 1.5s steps(12) infinite;

In the above example, the animation can have only 12 steps in the 1.5 seconds duration, this will reduce the cpu usage for my device.
Kindly check and inform if this reduces cpu usage.

Ohh interesting @chntllh
Can you open a PR to update the base config with this change? :)

@Alexays yes! It might take some time as I am very new at this. I will add a section in the Styling section about animations

Fixed with new sample configuration by @chntllh on master!

@apiraino Yes, this aligns with my initial testing. The update on wiki looks good.
Animations seem to be cpu dependent, or to be precise gtk based animations. Are there other ways to implement hardware accelerated animations in gtk?

@chntllh thanks for the rectifying my wording (I have no great context about CSS voodoo magic :smile: ). And by the way I'm linking here for reference a Stack Overflow answer supporting your suggestion about using steps() to reduce CU usage.
About implementing hardware acceleration to improve perf.: it's tricky but I think with a bit of legwork it can be achieved using the transform: translateZ(0) property. Here is an example generated by the MDN AI assistant (sorry for using ChatGPT but CSS is not my thing!). Feel free to investigate further if you are inclined to do so!
(and apologies to @Alexays for hijacking this issue with unrelated comments, please let us know if we should move the discussion elsewhere)


Add example of using reporterOptions in readme.md

It took me quite a while to figure out how to add reporterOptions since the readme.md just says to pass an array so I made a small update to give an example to others.

oops I forked the wrong repo


Crash in ZoneStatusRetrieveAjaxView views from getlist()

In staging we observed a crash in ZoneStatusRetrieveAjaxView, dump below in comments.
Looks like we're trying to use getlist() on a dict, which is generally not a good idea :)
I didn't yet check how to reproduce this, but I will.

Dump (UUID is from an imaginary project on our staging server so no secret info here):
Internal Server Error: /landingzones/ajax/status/retrieve/874ca631-05c1-4232-8491-9b9d0fbfd2bc

AttributeError at /landingzones/ajax/status/retrieve/874ca631-05c1-4232-8491-9b9d0fbfd2bc
'dict' object has no attribute 'getlist'

(...)

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
    response = get_response(request)
  File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
    return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 509, in dispatch
    response = self.handle_exception(exc)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 469, in handle_exception
    self.raise_uncaught_exception(exc)
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
    raise exc
  File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "/usr/src/app/landingzones/views_ajax.py", line 25, in post
    zone_uuids = request.data.getlist('zone_uuids[]')

Fixed by @gromdimon.


Promise may not be fulfilled with 'undefined' when statusCode is not 204

Environment
react-native 0.64.2
@callstack/repack 2.5.1
Description
I seem to get this error a lot and I'm not sure why, as there's no other information. It only happens when bundling ios, not android. Here's the full console log.
ℹ [21:46:13.025Z][DevServerProxy] Starting compiler worker { platform: 'ios', port: 64743 }
ℹ [21:46:13.074Z][DevServerProxy] Hermes device connected { deviceId: 2 }
ℹ [21:46:14.087Z][DevServer@ios] Server listening at http://[::]:64743
ℹ [21:46:14.088Z][DevServerProxy] fetching from remote server {
  source: 'http://localhost:64743/index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.coinbase.OnboardingMobile'
}
ℹ [21:46:14.094Z][DevServerProxy] fetching from remote server { source: 'http://localhost:64743/api/dashboard/stats?platform=ios' }
ℹ [21:46:14.129Z][webpack-dev-middleware] wait until bundle finished: /index.bundle?platform=ios&dev=true&minify=false&modulesOnly=false&runModule=true&app=com.coinbase.OnboardingMobile
ℹ [21:46:14.130Z][DevServer@ios] Dashboard client connected { clientId: 'client#0' }
ℹ [21:46:14.132Z][webpack-dev-middleware] wait until bundle finished: /api/dashboard/stats?platform=ios
✖ [21:47:13.971Z][DevServerProxy] Promise may not be fulfilled with 'undefined' when statusCode is not 204 {
  err: {
    type: 'FastifyError',
    message: "Promise may not be fulfilled with 'undefined' when statusCode is not 204",
    stack: "FastifyError: Promise may not be fulfilled with 'undefined' when statusCode is not 204\n" +
      '    at /Users/milesjohnson/Projects/react-native/node_modules/fastify/lib/wrapThenable.js:30:30',
    name: 'FastifyError',
    code: 'FST_ERR_PROMISE_NOT_FULFILLED',
    statusCode: 500
  }
}

Reproducible Demo

Does this happen on a fresh project as well?

No, just ours. I think our project may be too big. With metro, our bundle is 25mb+. When trying to use repack, our bundle is about 50mb, and almost always runs out of memory while trying to bundle.

Also happening in one of my project. The bundle size is big for me too.

Same issue here

me too, I refresh the project and this run ok

Any clue on how ti solve this bug.? Any help would be appreciated

Unfortunately, I don't have any clues. Unless someone provides a reproduction project and I can use, the chances of fixing it are slim.

This happens to me also on our relatively large project but I don't run out of memory. It seems like a timeout is being hit in the dev server as the build process continues (as seen in the dashboard). When I wait for the build to finish and reload the app everything is fine.
This case might be simple to fix by simply removing/extending a timeout?

This happens to me also on our relatively large project but I don't run out of memory. It seems like a timeout is being hit in the dev server as the build process continues (as seen in the dashboard). When I wait for the build to finish and reload the app everything is "fine". (quotes because I have issues with some modules, will create a separate issue for these)
This case might be simple to fix by removing/extending a timeout?

This case might be simple to fix by removing/extending a timeout?

It's worth a shot. I can provide a diff what to edit and alter the timeout and I'd appreciate if someone can apply it and see if the issue still persists.

Sure, I can try this on our codebase 👍
Just to note tho, we're not currently running repack in production. It's only implemented on a WIP/POC branch right now.

Ok I think I found a solution.
I've checked the code and the timeout is set for 5mins so it's not the timeout inside Re.Pack than might be causing the issue, but then I've added short timeout to the request for a bundle: curl "http://localhost:8081/index.bundle?platform=ios" --max-time 10 - the bundle compilation takes around 20+s in TesterApp so curl should terminate the connection due to timeout  and it did and I was finally able to see the infamous Promise may not be fulfilled with 'undefined' when statusCode is not 204.
As for the solution:
Could someone add return reply; to the end of the forwardRequest (line 234) function inside<EMAIL_ADDRESS>  async forwardRequest(platform, request, reply) {
    if (!this.workers[platform]) {
      await this.runWorker(platform);
    }

    const {
      port
    } = await this.workers[platform];
    const host = request.headers[':authority'] || request.headers.host;
    const url = request.headers[':path'] || request.raw.url;

    if (!url || !host) {
      reply.code(500).send();
    } else {
      const compilerWorkerUrl = `http://localhost:${port}${url}`;
      this.fastify.log.debug({
        msg: 'Fetching from worker',
        url: compilerWorkerUrl,
        method: request.method,
        body: request.body
      });
      reply.from(compilerWorkerUrl);
    }
+   return reply;
  }

@zamotany This didn't fix it for me unfortunately, i receive the exact same error.

Ok I think I found a solution.
I've checked the code and the timeout is set for 5mins so it's not the timeout inside Re.Pack than might be causing the issue, but then I've added short timeout to the request for a bundle: curl "http://localhost:8081/index.bundle?platform=ios" --max-time 10 - the bundle compilation takes around 20+s in TesterApp so curl should terminate the connection due to timeout and it did and I was finally able to see the infamous Promise may not be fulfilled with 'undefined' when statusCode is not 204.
As for the solution: Could someone add return reply; to the end of the forwardRequest (line 234) function inside<EMAIL_ADDRESS>  async forwardRequest(platform, request, reply) {
    if (!this.workers[platform]) {
      await this.runWorker(platform);
    }

    const {
      port
    } = await this.workers[platform];
    const host = request.headers[':authority'] || request.headers.host;
    const url = request.headers[':path'] || request.raw.url;

    if (!url || !host) {
      reply.code(500).send();
    } else {
      const compilerWorkerUrl = `http://localhost:${port}${url}`;
      this.fastify.log.debug({
        msg: 'Fetching from worker',
        url: compilerWorkerUrl,
        method: request.method,
        body: request.body
      });
      reply.from(compilerWorkerUrl);
    }
+   return reply;
  }

returning the reply works for me!


MinIO bundled chart does not support Ingress networking.k8s.io/v1

Summary
Sorry cypress Helm chart bundles MinIO v8.0.9 which does not support Ingresses version networking.k8s.io/v1 for Kubernetes 1.24+
This is caused by the following block in the MinIO _helpers.tpl:
{{/*
Return the appropriate apiVersion for ingress.
*/}}
{{- define "minio.ingress.apiVersion" -}}
{{- if semverCompare "<1.14-0" .Capabilities.KubeVersion.GitVersion -}}
{{- print "extensions/v1beta1" -}}
{{- else -}}
{{- print "networking.k8s.io/v1beta1" -}}
{{- end -}}
{{- end -}}

Environment

sorry-cypress version: 2.4.2
cypress version: various
helm chart version: 1.7.10

I can patch the MinIO _helpers.tpl and create a PR with the new .tgz but I'm not convinced it's a good practice.
WDYT?

I think the chart needs to update the dependencies and use the new minio chart, that should solve the issues "permanently" and in a more "best-practice" oriented manner...


UI: Disable live upgrade for now

The live upgrade feature is not ready and the upgrade from v0.6.2 to v0.7.0 should use the offline upgrade for the engine image.
If the volume is not detached, the upgrade button shouldn't be visible.(drop-down button, the batch button, the button inside volume detail page)
The button should only be visible when the volume is detached.

Test steps:

Upgrade from v0.6.2 using either yaml or chart.
After upgrade, try to upgrade engine for an attached volume - this step should error out.
Shutdown the workload. Now volume should be detached. Upgrade the engine again - now it should success.
Start the workload. The data should be there.

Verified


Single Server spawned with multicluster giving 404 Not Found

Hey @yuvipanda first of all really thanks for writing this multicluster which is great use case for us and really works for our use case.
We are using our own image for single server and it runs fine on JupyterHub itself but while deploying to a separate cluster using multicluster kubespawner it just gives 404 for the UI. Was wondering if you could give any insight on this?

I tried just running jupyter lab there and it runs fine but running jupyterhub-singleuser --ip=<IP_ADDRESS> --port=8888 --SingleUserNotebookApp.default_url=/lab  just makes it give 404 error like above

Thanks for opening this and trying the project out! Can you provide me logs from both the hub pod as well as the user pod? That would help!

@yuvipanda I am trying to make it similar to singlespawner in terms of env variables and few overrides. But getting 404 constantly both from hub and when doing port forward on singleserver
multikubespawner server pod logs -
[D 2022-05-24 13:36:44.937 SingleUserNotebookApp handlers:836] Path components/jquery-ui/themes/smoothness/jquery-ui.min.css served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css
[D 2022-05-24 13:36:44.937 SingleUserNotebookApp handlers:836] Path components/jquery-typeahead/dist/jquery.typeahead.min.css served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/jquery-typeahead/dist/jquery.typeahead.min.css
[D 2022-05-24 13:36:44.938 SingleUserNotebookApp handlers:836] Path style/style.min.css served from /opt/conda/lib/python3.9/site-packages/notebook/static/style/style.min.css
[D 2022-05-24 13:36:44.939 SingleUserNotebookApp handlers:836] Path components/es6-promise/promise.min.js served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/es6-promise/promise.min.js
[D 2022-05-24 13:36:44.939 SingleUserNotebookApp handlers:836] Path components/react/react.production.min.js served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/react/react.production.min.js
[D 2022-05-24 13:36:44.939 SingleUserNotebookApp handlers:836] Path components/react/react-dom.production.min.js served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/react/react-dom.production.min.js
[D 2022-05-24 13:36:44.940 SingleUserNotebookApp handlers:836] Path components/create-react-class/index.js served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/create-react-class/index.js
[D 2022-05-24 13:36:44.940 SingleUserNotebookApp handlers:836] Path components/requirejs/require.js served from /opt/conda/lib/python3.9/site-packages/notebook/static/components/requirejs/require.js
[W 2022-05-24 13:36:44.941 SingleUserNotebookApp log:189] 404 GET / (@<IP_ADDRESS>) 28.35ms
[D 2022-05-24 13:36:45.015 SingleUserNotebookApp auth:505] No user identified
[D 2022-05-24 13:36:45.017 SingleUserNotebookApp log:189] 200 GET /user/danilo_ferreira1/static/components/jquery-ui/themes/smoothness/jquery-ui.min.css?v=fb45616eef2c454960f91fcd2a04efeda84cfacccf0c5d741ba2793dc1dbd6d3ab01aaae6485222945774c7d7a9a2e9fb87e0d8ef1ea96893aa6906147a371bb (@<IP_ADDRESS>) 2.70ms
[D 2022-05-24 13:36:45.127 SingleUserNotebookApp auth:505] No user identified
[D 2022-05-24 13:36:45.128 SingleUserNotebookApp log:189] 200 GET /user/danilo_ferreira1/static/style/style.min.css?v=b092d0a2da5df36f2b073ddb4eafcd6c8094c4fa21b6dcd3f7185ce16c04ad66424083d785b81607a26b4b85b69a560574ada7db75262c886655f99d651c482e (@<IP_ADDRESS>) 2.12ms
[D 2022-05-24 13:36:45.129 SingleUserNotebookApp auth:505] No user identified
[D 2022-05-24 13:36:45.130 SingleUserNotebookApp auth:505] No user identified
[D 2022-05-24 13:36:45.134 SingleUserNotebookApp handlers:836] Path custom.css served from /opt/conda/lib/python3.9/site-packages/notebook/static/custom/custom.css
[D 2022-05-24 13:36:45.135 SingleUserNotebookApp log:189] 200 GET /user/danilo_ferreira1/custom/custom.css (@<IP_ADDRESS>) 5.97ms
[D 2022-05-24 13:36:45.136 SingleUserNotebookApp log:189] 200 GET /user/danilo_ferreira1/static/components/jquery-typeahead/dist/jquery.typeahead.min.css?v=5edf53bf6bb9c3b1ddafd8594825a7e2ed621f19423e569c985162742f63911c09eba2c529f8fb47aebf27fafdfe287d563347f58c1126b278189a18871b6a9a (@<IP_ADDRESS>) 5.97ms
[D 2022-05-24 13:36:45.137 SingleUserNotebookApp auth:505] No user identified
[D 2022-05-24 13:36:45.137 SingleUserNotebookApp auth:505] No user identified

hub logs -
[D 2022-05-24 13:40:19.706 JupyterHub base:328] Refreshing auth for danilo_ferreira1
[D 2022-05-24 13:40:19.711 JupyterHub users:783] Not updating activity for <User(danilo_ferreira1 1/1 running)>: 2022-05-24T13:35:31.916202Z < 2022-05-24T13:35:33.143000Z
[D 2022-05-24 13:40:19.711 JupyterHub users:804] Not updating server activity on danilo_ferreira1/: 2022-05-24T13:35:31.916202Z < 2022-05-24T13:35:33.143000Z
[I 2022-05-24 13:40:19.713 JupyterHub log:189] 200 POST /hub/api/users/danilo_ferreira1/activity<EMAIL_ADDRESS>10.71ms
[D 2022-05-24 13:40:20.946 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 1.60ms
[D 2022-05-24 13:40:20.946 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 1.47ms
pod/jupyter-sujan-aryal condition met
[D 2022-05-24 13:40:22.945 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 1.20ms
[D 2022-05-24 13:40:24.944 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 0.72ms
[D 2022-05-24 13:40:26.944 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 0.89ms
[D 2022-05-24 13:40:28.944 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 0.83ms
[D 2022-05-24 13:40:30.945 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 1.35ms
[D 2022-05-24 13:40:30.946 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 1.29ms
[D 2022-05-24 13:40:32.944 JupyterHub log:189] 200 GET /hub/health (@<IP_ADDRESS>) 0.83ms
pod/jupyter-danilo-ferreira1 condition met

All the env variables are provided and there's no particular error message. On the single server pod, it does say No user identified so I assumed it was due to some env or token but couldn't really find the answer. If you have any clue please do help.
Also we are adding somethings to multicluster so it works similar to single, can create a PR if you think its beneficial.
Thank you

@yuvipanda  any chance we can get on a quick call? We are trying to use this multicluster because its really simple and helps us, but we are in this last hurdle. Looking at your demo its really what we want and move to azure or sth..
It'd be nice to get your insights. Please let me know


Groups 7.1 Prerequisite Issues

there is an issue with Groups 7.1, depending on the status of 6.1
If 6.1 is disabled (compliant), then 7.1 will automatically be compliant.
If 6.1 is enabled (warning), then 7.1 must be disabled to be compliant, otherwise it is non-compliant (warning).

Will affect #87


Retrieve compute assets from assetstore instead of passing them to the workflow

Make data asset-specific properties of MetaData optional


IBC Crash after succesful login

Bug
version of ib-gateway 10.24.1f
After succesfull Login and 2FA. IBC shuts down the docker with an error
To Reproduce
Steps to reproduce the behavior:

Cloned the repo
changed the version in \latest\Dockerfile to 10.24.1f in two places in the file , as needed.
The build is ok
I ran the docker (I had to get in with VNC and had to manually enter password and userid but this is for another issue)
gave 2FA
login successfully
CRASH

Expected behavior
After login I should be able to trade
Container logs
2023-09-05 17:16:26:958 IBC: Detected dialog entitled:  U11XXXXXX TWS Configuration; event=Focused
2023-09-05 17:16:26:958 IBC: Detected frame entitled: Starting application...; event=Closed
2023-09-05 17:16:26:958 IBC: Login has completed
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2023-09-05 17:16:26:958 IBC: An exception has occurred:
java.lang.NullPointerException
at ibcalpha.ibc.LoginManager.setLoginState(Unknown Source)
at ibcalpha.ibc.SplashFrameHandler.handleWindow(Unknown Source)
at ibcalpha.ibc.TwsListener.lambda$eventDispatched$0(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
2023-09-05 17:16:26:959 IBC: Exiting with exit code=1100
IBC returned exit status 76
Renaming TWS or Gateway .exe file to original name
Gateway finished
Versions (please complete the following information):

OS: linux
Docker version: [e.g. chrome, safari]

Additional context
Add any other context about the problem here.

Changed to version 3.18 for IBC and it works

Relating to this bug. The current latest ib-gateway version on this github is 1022. It does not work with IBC version 3.16. It should at least be updated to version 3.17 or 3.18.
As well as adding the latest verfion 1024.1f.
All prior version cannot be used as of 30/8/2023.

@eyalco  looks like this image is not been maintained any more.
I have cloned it and done a few changes needed to support latest features in IB gateway and IBC
you can find it here --> https://github.com/gnzsnz/ib-gateway-docker/pkgs/container/ib-gateway


Change profile endpoint on Carbon Masthead for signed in state

This work must be done by the end of Jan 2021
IDaaS is being replaced with new ISV.  This change will impact the endpoint that is currently part of the Profile Icon on the masthead which displays if a user is signed out or signed in.
Describe the solution you'd like
Rick McCarty has provided the solution here:
With respect to the status API calls made by the masthead, these will need some changes  for ISV.
Currently, if the current page is under www.ibm.com, the masthead makes a request to the following endpoint:
https://idaas.iam.ibm.com/v1/mgmt/idaas/user/status/
If the page is under another domain, for example myibm.ibm.com, etc, the call is a bit different - it adds a callback parameter for JSONP to avoid CORS issues:
https://idaas.iam.ibm.com/v1/mgmt/idaas/user/status/?callback=__jp1
With the change to ISV, the new endpoint will be:
https://login.ibm.com/v1/mgmt/idaas/user/status/
Also, ISV will no longer support the "callback=" parameter, meaning that JSONP can no longer be used to get around CORS issues. Instead, we will have to include a more comprehensive list of domains in our ISV configuration to handle CORS.
Original request is here: https://jsw.ibm.com/browse/IRFC-8

@ljcarot Can you let us know when this ISV change is being made and when our change is required?  Thanks.

This change is needed now.  The Carbon change should be in January release and v18 can be any time before end of January.  It needs to be done in advance of ISV cut over tentatively set for late January.

@RobertaJHahn can you add to the next engineering refinement meeting to size? I also will need to get back to Rick McCarty on a whitelist for lower environment testing.

@jeffchew Done

@jeffchew has provided Ricky with a list of domains we need whitelisted. Waiting for those domains to be whitelisted so we can test the new endpoint locally.

@jeffchew has provided Ricky with a list of domains we need whitelisted. Waiting for those domains to be whitelisted so we can test the new endpoint locally.


ISPN-14659 STRLEN command

STRLEN command
https://issues.redhat.com/browse/ISPN-14659

Integrated into main, thanks @rigazilla !


Fixed a code comment

I fixed the comment above FirebaseRemove::FirebaseRemove.  You probably don't need the comment, but since it's there, it should be right :)

Sorry for the late followup and thanks for the fix!


PostgreSQL extension Accessibility issues

Set role of Advanced section to list: https://msdata.visualstudio.com/Database Systems/_workitems/edit/1278548

Set header for column in search table:
https://msdata.visualstudio.com/Database Systems/_workitems/edit/1276734

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.0005%) to 41.703%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/browser/modal/optionsDialog.ts
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.0005%

Covered Lines:
26434

Relevant Lines:
57518

💛  - Coveralls


Create iesluisbraille.txt

@Alejosm7 The first verification stage is complete: the official domain for  IES LUIS BRAILLE is www.educa2.madrid.org, to the best of my knowledge. This is just an informational note. The pull request is still under review. The review may take some more time. I greatly appreciate your patience. Here is the proof of domain ownership: https://www.educa2.madrid.org/web/centro.ies.luisbraille.coslada/profesores/-/visor/recursos-del-centro

@Alejosm7 Thank you for your patience while waiting for a review and processing your request. Pull request merged.
Please start requesting the licenses in about an hour, to let the changes to propagate through our system.


[MATLAB] Add function handle to fromMATLAB static construction methods to TypeTraits classes

Describe the usage question you have. Please include as many useful details as  possible.
Each concrete arrow.array.Array subclass has an associated fromMATLAB static construction method. It would be helpful if the TypeTraits classes had access to these corresponding fromMATLAB methods.
This would involve adding a new property like StaticConstructionFcn to the TypeTraits classes.
For example:
>> arrow.type.traits.Int8Traits

ans =

  Int8Traits with properties:

       ArrayConstructor: @arrow.array.Int8Array
         ArrayClassName: "arrow.array.Int8Array"
    ArrayProxyClassName: "arrow.array.proxy.Int8Array"
  StaticConstructionFcn: @arrow.array.Int8Array.fromMATLAB
        TypeConstructor: @arrow.type.Int8Type
          TypeClassName: "arrow.type.Int8Type"
     TypeProxyClassName: "arrow.type.proxy.Int8Type"
      MatlabConstructor: @int8
        MatlabClassName: "int8"

Component(s)
MATLAB

take


docs: remember sidebar scroll state

Fixes #302

@all-contributors please add @Dafnik for doc

Thank you for your contribution


Avoid samp obs

Use of observation class to pass sampling options to fits writer

avoid astropy versions >6.1.0


[oneDNN] Add BFloat16 Specialization Functor for Mean Op

Resubmitting changes in PR #61331. Not sure why they were reverted.
Currently BFloat16 Mean Op causes BFloat16 accumulation which may result in incorrect output. This prevents Mean to be used with the lower BFloat16 precision. This PR:
Just like the existing implementation of the Sum op, ensures BFloat16 Mean accumulation happens in FP32 by adding a Casting Specialization registration.
Adds Benchmark and Kernel tests to verify the implementation.
Adds Mean back to the Infer List from Deny List and fixes a typo in the Infer List initialization.

@ezhulenev - the amd rocm failure is not related to changes in this PR.

Hi @ezhulenev, Can you please review this PR ? Thank you!

@cantonios Can you please review this PR also? Thanks! Looks like the tests passed. Let me know if you need anything?

It was originally reverted because it broke a set of internal tests across Google back in August.  But those logs are now purged, so I can't see why exactly.
We can try again to see if it triggers the same errors.


Feat/objectarium store already exist

This PR begins a behavioural change when storing an already existing object.
Details
Instead of considering an already existing object a failure, we now act as a no-op, but still managing the pinning if required.
This will help instantiating law-stone smart contracts with the same code without failing.
This change is considered breaking.

Summary by CodeRabbit

New Features

Enhanced object storage integrity by ensuring duplicates are not stored.
Refined object pinning process for better association.

Bug Fixes

Adjusted error handling logic by removing unnecessary error types.

Documentation

Updated StoreObject function behavior description and tooling information.

size-limit report 📦

Path
Size

target/wasm32-unknown-unknown/release/okp4_objectarium.wasm
394.5 KB (+0.02% 🔺)

target/wasm32-unknown-unknown/release/okp4_law_stone.wasm
596.17 KB (0%)

target/wasm32-unknown-unknown/release/okp4_cognitarium.wasm
759.8 KB (0%)

target/wasm32-unknown-unknown/release/okp4_dataverse.wasm
620.88 KB (0%)


Replace raw pointers with Ref/Scope

Replace raw pointers with Ref/Scope across the entire engine where applicable.

Completed in Commit: 5911f0b565b026c6d23c4704f84549f3bf8345fe


How to add a feature layer to KAN class object?

Thanks for the awesome work!
I am working on solving PDEs with KAN in Cartesian coordinates.
I have defined a model with model = KAN(width=[3,3,2,1], grid=6, k=6, device=device_name).to(device).
However, the exact solution u exhibits good symmetry, depending almost exclusively on r and scarcely on theta and phi in the spherical coordinate system. So, I want the network to learn the PDE in the spherical system.
Therefore, I want to add a feature layer before the x, y, z inputs go into the model. Specifically, I want to add a layer that converts x, y, z to r, theta, phi, and then input r, theta, phi into the model.
I apologize if this is a simple trick, but I really don't know how to do this.
P.S. I am not solving the PDE in spherical coordinates because $\Delta u$ in spherical coordinates has a factor of $\frac{1}{r}$, which may cause NaN. If I multiply both sides of the equation by $r$, the weights for different points will become unfair and difficult to control.

Thanks, I finally find that I can re-define the call method to add such a layer.


Node crash if dimension mismatch in I.seeVisualDiff

codeceptjs-resemblehelper: 1.6.0
codeceptjs: 2.1.5
node: 10.14.0

When using release 1.6.0 of this helper, node crashes with the following error if the dimension of the screenshots is not the same:

This is most likely due to the version of resemblejs being used. In the package.json the version specified is: ^3.0.0 which installs 3.2.0. A simple fix would be to always use 3.0.0, which worked for me.

That error is set by choice. Because if the dimensions aren't same then the tool behaves a bit unpredictably.

That error is set by choice. Because if the dimensions aren't same then the tool behaves a bit unpredictably.

I get that the diff-image produced by resemblejs with two images of different size isn't meaningful. But NODE crashes completely... which isn't a good thing. The error thrown should just cause the scenario to fail and then codeceptjs should get on with the next scenario. You still have the error in your tests about size mismatch in the end.

Instead of throwing error here, also reject(throw new Error(...)) with error... then it will also work with version 3.2.0 of resemblejs.

Which node version are you using?

To quote myself here:

* codeceptjs-resemblehelper: 1.6.0

* codeceptjs: 2.1.5

* node: 10.14.0

I ran into the same today.


fixing issue:- table Creator - Web design #32 #383

As per the isuue created a pricing table template provided,
Below is the ss of the same

Hope, it is as per your consideration,
Would request you to accept it under the hacktoberfest, and marker under the label of hacktoerfest-accepted.
Thanks

hi @NtemKenyor please go through the revised changes, and accept the PR


Can't compile go programs on solaris i386: undefined sigset

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.6.1 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"

What did you do?
main.go
package main

import (
    "fmt"
)

func main () {
    fmt.Println ("Hello There!")
}

Solaris + i386 fails to compile?
%> GOOS=solaris GOARCH=386 go build
# runtime
/usr/lib/go-1.6/src/runtime/runtime2.go:287: undefined: sigset

Sorry, the Solaris port only supports amd64.
I believe Solaris itself only runs on amd64 nowadays,
so there is no reason for a solaris/i386 port.

Closing because this is not a bug as such.

The go tool should probably reject this combination. Possibly it already
does, can you please try again with 1.7.4 or the 1.8beta
On Sun, 8 Jan 2017, 17:41 Aaron Lewis<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.6.1 linux/amd64
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH=""
GORACE=""
GOROOT="/usr/lib/go-1.6"
GOTOOLDIR="/usr/lib/go-1.6/pkg/tool/linux_amd64"
GO15VENDOREXPERIMENT="1"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0"
CXX="g++"
CGO_ENABLED="1"
What did you do?
main.go
package main
import (
"fmt"
)
func main () {
fmt.Println ("Hello There!")
}
Solaris + i386 fails to compile?
%> GOOS=solaris GOARCH=386 go build
runtime
/usr/lib/go-1.6/src/runtime/runtime2.go:287: undefined: sigset
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/18565, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA9keB4807vTdPBBag7Z1H4MWMfm4ks5rQIUKgaJpZM4LdnzK
.

@davecheney yap it rejects that combination at least for go1.8
$ GOOS=solaris GOARCH=386 go build
cmd/go: unsupported GOOS/GOARCH pair solaris/386
$ go version
go version devel +8fa2344 Sat Jan 7 06:37:46 2017 +0000 darwin/amd64

Excellent. Nothing to do then.
On Sun, 8 Jan 2017, 18:13 Emmanuel T Odeke<EMAIL_ADDRESS>wrote:

@davecheney https://github.com/davecheney yap it rejects that
combination at least for go1.8
$ GOOS=solaris GOARCH=386 go build
cmd/go: unsupported GOOS/GOARCH pair solaris/386
$ go version
go version devel +8fa2344 Sat Jan 7 06:37:46 2017 +0000 darwin/amd64
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/18565#issuecomment-271134762, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcAwSerzdpG1yQ4miN_90QiwA0QQXqks5rQIyHgaJpZM4LdnzK
.

So .. any plan to add support for i386 solaris?

@minux Actually there's lots of solaris 10 (i386) running. If I'm to build the runtime libraries for solaris i386, is there any guides?

There are no plans as Solaris is not supported on i386 any more.
On Sun, 8 Jan 2017, 19:29 Aaron Lewis<EMAIL_ADDRESS>wrote:

So .. any plan to add support for i386 solaris?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/18565#issuecomment-271137860, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA7Uwr6lz6JIQruNASSvfS1_F04E3ks5rQJ5igaJpZM4LdnzK
.

Okay, Let's keep it closed then ... I'll rewrite the program with another programming language ..

Hi, I don't understand well. Illumos kernel or openindiana distribution has both 32-bit releases. I'm using it in some old hardware without problems.

@juaningan, yes, but Go does not support Solaris/i386 and nobody has committed to working on it.


:fire: Remove Front End IP Address restriction

User Story
As a user
I expect to be able to access the front end without using my VPN
So that I do not have to contend with the connectivity issues associated with Global Protect.
Value / Purpose
Now that we have Azure auth enabled access is secured to authenticated users only therefore there is no longer any need for the ip address restriction.
Useful Contacts
Mitch Dawson, Matt Laverty
User Types
No response
Hypothesis
If we remove the ip restriction
Then the user & developer experience will be improved by not being subject to the connectivity issues caused by Global Protect
Proposal

Remove the IP address restriction
Test

Considerations
We need to ensure that we dont expose the metrics endpoint to the internet as this is not protected by Azure auth. We therefore need to investigate ingress level protection for the metrics route.
Possibly solutions
K8's
Definition of Done
Example - [ ] Documentation has been written / updated

[ ] README has been updated
[ ] User docs have been updated
[ ] Another team member has reviewed
[ ] Tests are green

Awaiting confirmation of the prometheus ip address ranges


Support issue refs and emojis in use-first-commit-message-for-new-prs

Fixes https://github.com/refined-github/refined-github/issues/5694

Missing:

[x] Support backticks, currently lost

Test URLs
https://github.com/refined-github/sandbox/compare/linked-commit-title?expand=1
https://github.com/refined-github/sandbox/compare/rendered-commit-title?expand=1
Screenshot


Updated data in example and support for nodes with no processor information

Coverage remained the same at 98.492% when pulling dae57383b2bc43507557165b96a0df19417a1673 on thongsav-usgs:master into 35aeb7227466377caedeb06a4c0d064f6c788b5f on USGS-R:master.


Run eslint through travis

Currently disabled because of incompatibility with earlier versions of node. Use something like https://www.npmjs.com/package/check-node-version to bypass this.

where are we calling eslint in the build process?

Oh wait sorry, I misread that :)

To answer your question, currently, nowhere. Ideally, before the mocha tests.

https://github.com/travis-ci/travis-ci/issues/2877

Could run this as a prepublish script

Could run this as a prepublish script

https://github.com/segmentio/metalsmith/issues/231


No query params in http requests

I created a nodejs app to service the requests of the http plugin but I'm not get any of the variables in a query string or request body...
Using the latest emqtt deb version server and the config file is correct as the node app gets the request but without any params, what am I doing wrong?
EDIT:
Helps when you have body parser setup correctly in your node app...

Hi, strangely we seem to be getting this issue as well and the bodyParser seems to be defined correctly as below but we are not getting any variables in the request body. Anything else we could be missing?
import { Router } from 'express';
import bodyParser from 'body-parser';
const router = new Router();
router.use(bodyParser.json({ limit: '20mb' }));
router.use(bodyParser.urlencoded({ limit: '20mb', extended: true }));

@dreamcatcha would you be able to help with this one?

I have:
const app 	= express(),
router    = express.Router(),
server 	= http.createServer(app);
app.use(bodyParser.json({ limit: '10mb' }));
app.use(bodyParser.urlencoded({ limit: '10mb', extended: true }));
app.use('/', router);
router.use(function(req, res, next) {
// your stuff
});
router.route('/mqtt/acl').get();
router.route('/mqtt/auth').post();
router.route('/mqtt/superuser').post();
server.listen(3000, function() {
// Server running
});
and it works fine


Switching computations disregards defaults in UI

Switching from single-shot to multi-shot in the consortium view causes multi-shot’s default computation input values to not be set in the UI. Note the empty “Lambda” field:

This causes problems when users re-map their covariates, and computation run attempts – via “Run Computation” button clicks – don’t appear to work correctly.

These run complications likely contributed to the extraneous dashboard items discovered on our 2017-03-22 run:


[RAL] add more RAL function registrations

add all registrations for rank <= 8

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Monitor processing of uploads

There are two phases to uploading a file to Mapbox:

Uploading the file to our servers
Waiting for the servers to process the file

Right now, Mapbox Studio treats an upload as complete after step 1. However, the upload isn't really "complete" until after step 2.
This is confusing from a user's perspective, because Mapbox Studio will claim an upload is "finished" but the upload won't appear on the styles or data page until it is processed. Processing can take significant time. Processing can also fail and the user has no way of know.
Solution: After finishing step 1, Mapbox Studio should monitor the processing phase and provide the user with feedback if the processing fails.
Much of this functionality can be added to mapbox-upload.
/cc @camilleanne @samanpwbb @geografa

I saw this one coming -- there are a couple of solutions that I can see off the top of my head:

add a bit of ui fairy dust to the export interface that once the upload is complete and the task has hit 100% create a spinning "processing upload" moment until the second response gets back to Mapbox Studio.
Can the upload actually be canceled still at the processing stage? Should the task end when the upload has reached 100% and we let the server take care of processing it on it's own?
(least likely) Figure out a way to estimate how long it will take to process the file and send that down.

Mapbox Studio could listen for changes to the user's upload listing and report back when something changes. This would be useful not just for reporting failures but also for reporting when an uploaded source is ready to be used.

Yeah, per chat with @samanpwbb we are focusing on making the workflow smoother between Studio and Mapbox.com first. Then we can see if this kind of tighter integration is needed.

It'd be really helpful if Mapbox Studio were able to figure out if the max tile size is exceeded before commencing with the upload, and maybe offering a warning or a (default) option to cancel.  If the data is going to be rejected, why go ahead with the upload, when that can take minutes to tens of minutes for large datasets?

@cossatot I have this started in https://github.com/mapbox/mapbox-studio/pull/1022 - will get it merged soon :)

@samanpwbb Awesome, looking forward to it.


Demo don't work

Because it use backend and websockets from localhost even that it runs on github pages that don't allow for any backend.

Hey Jcubic sorry for that. I have not looked into this project since a while now and it's really not my top priority right now so sorry ...

This being said, I have been able to run it on the web repl

Yes because it reference your localhost web socket server.

There is error:
socket.cljs?rel=1464515101440:54 WebSocket connection to 'ws://localhost:3449/figwheel-ws/dev' failed: Error in connection establishment: net::ERR_CONNECTION_REFUSED


Azure OpenAI docs / keys

Need a way to get access to keys
at least 1 key for our team
then keys for partners

Internal keys now available. Talk to Steve or Corina


Parse namestyle configuration for const_variable_name_style

I am currently working on another name style rule, during which I noticed that any custom configuration of const_variable_name_style is not applied due to this missing line.
This PR resolves that problem.

I noticed that you seem very interested in writing lints, but this library is not designed for that. It lacks many facilities, and due to design issues, debugging is very difficult. I suggest you consider re-implementing the naming style checks in my language server

Thanks for merging!
And also thank you for pointing out your language server, I will definitely keep an eye on that from now on.
However, I'm using the LuaLS within a work project where it is currently established and started writing lints for the LuaLS project to cover missing requirements. For lints concerning name style, I was rightfully redirected to your EmmyLuaCodeStyle project so I continued implementing the appropriate lints/formatting options we were missing here.
I would still go forward with contributing that work-in-progress name style here. It is the last necessary change I know of right now so I got it covered within the current LuaLS versions. Because it seems that your language server is still in early stages.


The Relink function may not work correctly in some circumstances

The backup mechanism does not refer to an origin.
Test needed to see if the backup structure should take the "origin" as a key (and therefore be a map)

Corrected in ebad833


Add note to use JDBC driver >= 7.1.16

JDBC driver 7.1.16 will use SQL Status code 28000 (SQLSTATE_INVALID_AUTH_MODE) when authentication fails.
This status code will allow Tableau to display an appropriate error message.
Once the new version is released we must add a note to the documentation to use the new driver.

Driver 7.1.16 is now available. Removing blocked marker.


Add workflow to publish to PyPi on release creation

Might as well automate the release process!

Implemented in #47


Add launcher shortcut icon generator

Thats will be great. Most needed one .

@romannurik  Thank you :+1:


async multiimage readwrite

using ffmpeg

read done in #81
should be able to do write too

this request has been a todo since i started this project
this speedup for testing in the runner is real, so much less memory overhead
can speed up further realistically, but this is pretty awesome so far


devspace use space prompts for encryption key after devspace login

What happened?
In my CircleCI pipeline:
#!/bin/bash -eo pipefail
devspace login --key=$DEVSPACE_ACCESS_KEY
[done] √ Successfully logged into app.devspace.cloud
[done] √ Successfully logged into docker registry dscr.io
[info]   You can now use dscr.io/tomasc/* to deploy private docker images
[info]   Successful logged into app.devspace.cloud
CircleCI received exit code 0

#!/bin/bash -eo pipefail
devspace use space production
                                             (0s)
? Please enter your encryption key for cluster my-cluster

Too long with no output (exceeded 10m0s): context deadline exceeded

What did you expect to happen instead?
The script should set the space without prompting for encryption key.
How can we reproduce the bug? (as minimally and precisely as possible)
Local Environment:

DevSpace Version: 4.5.4
Operating System: linux
Deployment method: helm

Kubernetes Cluster:

Cloud Provider: DevSpace Cloud + DigitalOcean
Kubernetes Version: 1.17.3

Anything else we need to know?

/kind bug

@tomasc thanks for reporting! Actually, the access key and cluster encryption key are two different things:

The access key is needed to access the DevSpace Cloud API (on prem & hosted)
The cluster encryption key is DevSpace Cloud hosted specific and only needed for decrypting the cluster service account token saved in our database (hosted only)

Unfortunately there is currently no command to set the cluster encryption key, so I think the only workaround would be to pass the key via stdin to the devspace use space production command.

Thanks @FabianKramm.
Just to make sure: is this the best way to deploy using devspace cloud via CI (CircleCI) (and the possibility of the cluster encryption key is just not there yet), or is there another way that I missed?

BTW passing it via stdin like this did the trick:
echo $DEVSPACE_CLOUD_ENCRYPTION_KEY >> devspace use space production

I will add this to the documentation for now but we should definitely add a flag for this, @FabianKramm

There is a new command to solve this: devspace set encryptionkey -  for more details and all available args and flags, please refer to this docs page: https://devspace.sh/cli/docs/commands/devspace_set_encryptionkey
Closing this. Thanks again for reporting this issue.


Recently used list

Being really annoyed by the new emoji panel of Windows 11, I was searching for alternatives.
Emoji-keyboard is really nice and so fast to use just buy keys, but I miss a recently used list. 😇

Thanks 😉
I can confirm this is one of the next features to come, after the Unicode update and some other improvements, but I can't tell exactly when yet.

Hi Gilles,
hey that is good to hear 😀 - I must admit, that I was so triggered and did
like the whole look and feel so much that I cloned the repo and started
hacking 😉 ...  see the attached animated GIF ... thanks for the great
work, I just accidently found it when taking AHK into account to
automatically switch to "recent" in the sucking Wín11 integrated emoji
panel.
So far I did not push the repo to github - I just registered
yesterday 😇 and want to test a bit more ...
Am Mi., 1. März 2023 um 12:35 Uhr schrieb Gilles Waeber <
@.***>:

Thanks 😉
I can confirm this is one of the next features to come, after the Unicode
update and some other improvements, but I can't tell exactly when yet.
—
Reply to this email directly, view it on GitHub
https://github.com/gilleswaeber/emoji-keyboard/issues/14#issuecomment-1449960079,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6FJ2NG6PHHBVC6BSVH7WXTWZ4X67ANCNFSM6AAAAAAVLKIKQ4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Robert, it seems the gif didn't go through

Hmm, that was by email, let's see if it works by browser ... 🤔

It worked, nice gif 😎

Added with #16, thanks


⚠ Visual-Crew_Builder has degraded performance

In 8dcffd7, Visual-Crew_Builder (https://visual-crew-builder.ai) experienced degraded performance:

HTTP code: 200
Response time: 909 ms

Resolved: Visual-Crew_Builder performance has improved in 0489baf after 10 minutes.


Slow task initialization

Hi,
I'm using (and enjoying) trains on an on-premise server we deployed using docker-compose.
I've noticed that for some projects the Task.init function takes up to two minutes, any idea what can cause that?
From simple profiling it seems like most of the time is from the call to connect() -> _new_conn() -> create_connection() -> getaddrinfo() -> _socket.getaddrinfo()
Thanks!

Hi @eladrich
Yes I do think that 2 Minutes is way too much! (and especially when this is an on-prem server, so connection should not be an issue)

From simple profiling it seems like most of the time is from the call to connect() -> _new_conn() -> create_connection() -> getaddrinfo() -> _socket.getaddrinfo()

Thank you for the profiling!
One question, where is the _new_conn call coming from ? I could not locate it in the code base?
Also, whats the trains package version and the OS running the python code (the one calling Task.init())?

Hi!
Thanks for the quick answer, looks like the connect() function I was looking at is inside urlllib which was triggered from trains send_request() function.
I'm using trains 0.15.1 (updated today, but not a new problem) with python 3.6.9, running inside an Ubuntu docker machine.

Hi @eladrich
A few followup questions to allow me to better understand whether this is a client issue or a server issue:
The first call to the server takes the key/secret and creates a token to be used for the rest of the session.
The process of creating this token might take a second on the server side, but should definitely not be 2 minutes ...

Is the first send_request() ? Are other send_requests() also as slow?
Any chance you have another machine running with the same trains-server exhibiting the same slow initialization process?

Took us some time, but we finally figured out the problem. It seems like some of our dockers had a faulty DNS configuration resulting in each request to the trains server to take 15 seconds to resolve.
Fixed that and now initializes in 3 seconds 😎


Consolidate directories and update tools

Complete this sentence
THIS PULL REQUEST IS READY TO MERGE
Feature or improvement description

Consolidates the modules-local/ and modules-ext/ directories into one modules/
Adds the unsteady aero driver target to cmake
Moves the lone directory until utilities/ into share/
Disables the intel travis ci branch as we don't have a paid license and the travis support for intel is limited

Related issue, if one exists
None
Impacted areas of the software
Module directory structure, cmake, regression test scripts, .travis.yml
Additional supporting information
This has been suggested to me a few times by various people and I don't see a reason to not do this. If there's a historic or otherwise relevant reason to maintain the current directory structure, please comment here.
Test results, if applicable
This pull request only changes the infrastructure around the code, not the content of the code itself. Rather than running the full regression test suite, I've run the linearized cases, beamdyn module tests, and the unit tests to demonstrate that all of that infrastructure is up to date.
(/home/rmudafor/.conda-envs/openfast) peregrine.n2471@~/openfast/build: ctest -L linear && ctest -j4 -R bd_ && ctest -R beamdyn_utest
Test project /home/rmudafor/openfast/build
    Start 26: WP_Stationary_Linear
1/4 Test #26: WP_Stationary_Linear .............   Passed    0.49 sec
    Start 27: Ideal_Beam_Fixed_Free_Linear
2/4 Test #27: Ideal_Beam_Fixed_Free_Linear .....   Passed    1.16 sec
    Start 28: Ideal_Beam_Free_Free_Linear
3/4 Test #28: Ideal_Beam_Free_Free_Linear ......   Passed    1.19 sec
    Start 29: 5MW_Land_BD_Linear
4/4 Test #29: 5MW_Land_BD_Linear ...............   Passed   38.41 sec

100% tests passed, 0 tests failed out of 4

Label Time Summary:
aerodyn15    =   0.49 sec (1 test)
beamdyn      =  40.75 sec (3 tests)
elastodyn    =   0.49 sec (1 test)
linear       =  41.25 sec (4 tests)
openfast     =  41.25 sec (4 tests)
servodyn     =  38.41 sec (1 test)

Total Test time (real) =  41.26 sec
Test project /home/rmudafor/openfast/build
    Start 30: bd_5MW_dynamic
    Start 31: bd_5MW_dynamic_gravity_Az00
    Start 32: bd_5MW_dynamic_gravity_Az90
    Start 34: bd_isotropic_rollup
1/7 Test #34: bd_isotropic_rollup ..............   Passed    1.80 sec
    Start 36: bd_static_twisted_with_k1
2/7 Test #36: bd_static_twisted_with_k1 ........   Passed    0.40 sec
    Start 33: bd_curved_beam
3/7 Test #33: bd_curved_beam ...................   Passed    0.80 sec
    Start 35: bd_static_cantilever_beam
4/7 Test #35: bd_static_cantilever_beam ........   Passed    0.40 sec
5/7 Test #32: bd_5MW_dynamic_gravity_Az90 ......   Passed    5.09 sec
6/7 Test #31: bd_5MW_dynamic_gravity_Az00 ......   Passed    5.09 sec
7/7 Test #30: bd_5MW_dynamic ...................   Passed   24.82 sec

100% tests passed, 0 tests failed out of 7

Label Time Summary:
beamdyn    =  38.42 sec (7 tests)
dynamic    =  35.01 sec (3 tests)
static     =   3.41 sec (4 tests)

Total Test time (real) =  24.84 sec
Test project /home/rmudafor/openfast/build
    Start 37: beamdyn_utest
1/1 Test #37: beamdyn_utest ....................   Passed    0.01 sec

100% tests passed, 0 tests failed out of 1

Total Test time (real) =   0.02 sec

This looks like a good idea to me!  There isn't much reason to have two different modules directories anymore.

Thanks, @rafmudaf. I think it is much less confusing to have only one modules directory.
Could you also replace all of the references to modules-local and modules-ext in the path names contained in the vs-build/*.v*proj (text) files? Otherwise all of the Visual Studio builds will be broken.

Thanks for pointing that out, @bjonkman, its updated. My IDE for some reason didn't search the vs-build directory so I missed that. An automated test for Windows sure would be nice. NREL may be installing gitlab on our servers soon so that could be an easy path forward.

Can I suggest a minor change in wording in the README files you are adding? Instead of
This legacy version of this module, could you use The legacy version... or A legacy version... or even Legacy versions... ? Otherwise it sounds like the OpenFAST repository contains legacy code.

Good catch, yes I'll make that change. Thanks for the feedback!

@michaelasprague Per your suggestion, I've now included a readme in every module. You can view these by navigating through the modules at https://github.com/rafmudaf/openfast/tree/feature/directory_cleanup/modules.


option to create non-existent file not shown when markdown-preview-editor enabled as default

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.80.1
OS Version: Ubuntu Linux 22.04

Hello,
in a markdown document, when clicking a link to a non-existent markdown document, usually, VS code asks whether this new file should be created. However, this does not work when assigning the preview-editor as default.
Steps to Reproduce:

configure VS code to open markdown documents with preview editor:
"workbench.editorAssociations": {
"*.md": "vscode.markdown.preview.editor"
}
open a markdown document and create a link to a non-existent file:

click the link. An error message is thrown:

Expected behavior: Instead of throwing an error message, VS Code should ask the user whether the non-existent file should be created. This is the default behavior when vscode.markdown.preview.editor has not been configured for opening *.md files.
Thank you very much for your help
Kind regards
Deb

It appears to be due to different handling of errors by textEditor and webviewEditor

Hello, I'd like to try working on this. I'll update with progress.

Update: So I have the prompt changed and it will now create the file. I am having a little bit of trouble getting it to load the file after creating it however. If anyone more familiar with the codebase could point me in the right direction I'd appreciate it. The file I'm looking at is: src/vs/workbench/services/textfile/common/textFileEditorModel.ts. Thanks!

Update: So I have the prompt changed and it will now create the file. I am having a little bit of trouble getting it to load the file after creating it however. If anyone more familiar with the codebase could point me in the right direction I'd appreciate it. The file I'm looking at is: src/vs/workbench/services/textfile/common/textFileEditorModel.ts. Thanks!

Hey just wanted to follow up on this, @mjbvz do you have any suggestions on how I could solve this?

Hi,
thank you very much for your effort!
Unfortunately, I can't be of much help here, however, I'd like to have a look on your code and see whether I find a solution.
Can you share your changes with us?
Thank you very much and kind regards

Sorry for the late response @mtill, I can definitely do that!

@mtill This is all the code I've written for the issue so far. https://github.com/amaust/vscode/commit/7f1d12c4d8184043c50849cb9798f8edb109c6ba

Hi, don't we need to call "await this.textFileService.readStream" here to reload the content ?

Unfortunately, that does not seem to solve it. The error message still just stays present.

thanks for trying, @amaust
any hint/idea, @weartist ?
BR
mtill

I tried to work on this issue and found that when we have default editor as Text Editor, in that case the File not found error is thrown from https://github.com/microsoft/vscode/blob/84f25c78274a42adb2be7e9d1d06591cb004ed91/src/vs/workbench/contrib/files/browser/editors/textFileEditor.ts#L213 where we have create button set.
But in case of markdown preview editor as default, the error is thrown from https://github.com/microsoft/vscode/blob/84f25c78274a42adb2be7e9d1d06591cb004ed91/src/vs/platform/files/common/fileService.ts#L202 .
IMO, this behavior seems expected. So, when we open a non-existing md file in preview editor, in that case we are in read mode and not in write mode. But to create a file it is better for the user to be in write mode. So I feel it is better to not have a create button in preview mode as default because we shouldn't allow user to have a write/create action in read mode in preview.
@mjbvz Would be great, if you could please share your views on this.


displayProperty should allow the item itself as default

Hi, nice library, we have been using it for a while in our company.
we have the following use case:
$scope.theModel = ['foo', 'bar', 'baz'];

<tags-input ng-model="theModel"></tags-input>

the lib here is changing theModel to:
[{text:'foo'}, {text:'bar'}, {text: 'baz'}]

is there a way to prevent that model change?
can we keep the model format as is? (I mean, as an array of strings)
do we have a workaround to solve that issue?
Thanks in advance.

We kind of have the same problem at the moment although your output is wrong.
For the following input
['foo', 'bar', 'baz]

It returns:
[{text:'foo'}, { text:'bar'}, { text: 'baz'}]

https://github.com/mbenford/ngTagsInput/pull/679 this will fix it.. Just waiting for the response

This issue was selected to be spring-cleaned by a script. More information can be found here.
If anyone thinks this was a mistake and this issue should be reopened, please leave a message below explaining why. Before doing so, please consider reading the CONTRIBUTING file.


fix(accessibility) Improve accessibility of the site

Hello. This is for #2244. Audit's score went from ~50 to ~80 with this one :)

increase contrast of text elements
make ui more screen readable

What major things are needed to pass the 80 mark?

Thank you, folks for checking this out, and the great response. This PR still needs some work.

Oh and I almost forgot. To make it pass the score 80 the document need  to be set, and the search input needs a label.

Thanks!


Update gulp-less

Node v0.12 requires gulp-less 3+
https://github.com/plus3network/gulp-less/issues/140

fbb18fbf7f9387a13197b2810fc857ed02128b3b Done. Thanks for bringing it up.


About  spatial position？？？

Is there an api in pyrealsense2 that maps pixels to spatial locations？
Could anyone give me an example？
Thanks a lot！！！

It sounds as though you are asking about mapping 2D pixel coordinates to 3D world coordinates?  If so, this is a process called Deprojection, described by the Librealsense instruction RS2_DEPROJECT_PIXEL_TO_POINT
I hope that the long discussion in the link below, which has Python scripts, will be useful to you.
https://github.com/IntelRealSense/librealsense/issues/1904

I'm sorry, the question is not clear. Hopefully Marty's suggestion is relevant, if not please open a new issue with detailed description

thank you for the reply，I have found the solution according to your guide. thanks again for your helps.