Q: is multiple language currently working?

Hi,
After great success with the English version, I've tried to switch to my native language; Dutch. But, I can't get it to work and now I am wondering: Should I be able to use Dutch? I've read in the docs the WIS should be able to do all Whisper languages - but cant find the place to configure it.
I can see the ESP is receiving Dutch response from HomeAssistant, and my ESP is sending English.

You have to add ?detect_language=True to your Willow Server URI in configuration. You will then see that WIS is returning the transcript in your language with the ISO code for your language in the response.
We don't currently have this documented for two reasons:

We haven't yet picked and added a font that includes unicode characters, so depending on the language and specific speech you may see some gibberish on the display. However, as said above the transcription will be accurate.

Home Assistant has (unfortunately) changed their API on this. With the former API they allowed for a language JSON parameter to be defined at the time of request. They have removed this in more recent versions (2023.5) because they have changed their strategy with regard to multiple language support. It is now defined statically in HA. It should still work with Willow but it's disappointing because we can support cases where any speaker of the > 30 languages Whisper supports can walk up to Willow and use their language. That is no longer the case with Home Assistant, unfortunately.

Please try enabling language detection! I'm very curious to see how it works for you. Another inside tip: if language detection or transcription is poor you can also use the large-v2 model. With both your complete URI will look like this:
https://infer.tovera.io/api/willow?detect_language=True&model=large

I am sorry for being unclear; I am not running my own WIS but using the cloud one (yours).  Thank you for the answer ! :)
Ideally, running multiple languages is great. In practice I've found a lot of hit and miss, so I think I want it to run Dutch only in the future.
Currently I am flashing the query params on your cloud URI to test :)

update: it works like a charm! Man this is great software

@kristiankielhofner one question: can I force one language too?

The issue with language detection is (basically) the "sound". Of course the further away you are the more diluted the audio becomes and it gets increasingly difficult to distinguish. The fact that our application only involves (for the most part) VERY short speech segments (a few words, basically) complicates this further.
We'll be revamping the multi-language support in WIS and Willow to allow users to configure a supported language to essentially "hardcode" the anticipated language. This should really help with this issue.
Additionally, Meta has just released a new model that represents a major breakthrough in multiple language support. We will be investigating the use of this model.


Github Webhooks: Add parameter to hide body on updated issues/PRs

In project using dependabot and/or renovate, you get spammed a lot with notifications from these as they continuously update their PRs or the master dashboard issue (only renovate) in worst case a few dozen times in a week in an active repository.
For our project it would be sufficient for updates on issues and PR to only show the author and a link.
This could be achieved by adding a parameter to the webhook url such as comapact_edit=true or something like that.

Seems like the kind of quality-of-life issue we want to have a decent answer to. Just wanted to brainstorm a bit before we implement something:

Would excluding PRs with certain authors, like dependabot, be a better way to achieve your goals?
Would it work to just exclude certain GitHub events using our existing support for filtering event types provide a good answer? https://zulip.com/integrations/doc/github#filtering-incoming-events doesn't have the resolution one would need right now, but I could imagine splitting an event type to distinguish those.

Ok. So let me try to explain my goals first, before we go into a technical implementation.
Here is a screenshot of one of our channels.
Green = Valuable information
Yellow = Information with little value
Red = Information with no value at all (for edited issues/PRs)

So any solution must not filter out the green ones.
Thus excluding events authored the bot itself is no solution. It is already it's own topic, uninterested people just mute it.
Expanding filters on the type is difficult. First of all, from what I checked it is not distinguishable by types in the Github payload. You would need to check for previous/current data. Second, and potentially more important: I am interested in updates on PRs. Always. Regardless of the author. But I only need to know that there is an update. I do not the whole (usually unchanged) text itself. A diff might be interesting but is not provided by Github.
I am willing to accept the yellow ones as "noise" if I can get rid of the real noise (red).
This is my personal opinion, not necessarily the best solution for the majority of maintainers out there.


Add startupProbe to containers created by the operator

About
Prior to this change, a container created by the KEIP operator only had 40 seconds to become healthy before being killed. In some scenarios where many routes are deployed this resulted in container boot-looping. To fix this each container is now configured to use a startupProbe to give the container up to 120 seconds to registry as healthy before the liveness and readiness probes to take over.
Hero Instructions

Start with a fresh Minikube cluster or equivalent
From the operator/webhook directory: make build && minikube image load ghcr.io/octoconsulting/keip/route-webhook:0.6.1
In the operator directory, run make all to deploy the integration route controller.
Deploy the example route: kubectl apply -k operator/example
Port forward the pod and verify it can be hit in the browser: kubectl port-forward testroute-74d574bf85-tbv9m 8443:8443
Verify the pod has a startupProbe configured: kubectl describe <pod>

Should we also bump the top-level operator version in https://github.com/OctoConsulting/keip/blob/main/operator/Makefile

Should we also bump the top-level operator version in https://github.com/OctoConsulting/keip/blob/main/operator/Makefile?

Good point, I knew I was forgetting something.


Where may I store my own schemes?

@JWo1F sorry for the late answer. It depends on what do you want to use them for. Most probably in applications/.../model/, I suppose.


How to pass variable to the component?

So this is the routes I have:
        <Route path="/" component={ App }>           <Route path="/login"                  component={Login}/>
I can do something like this:
<Route path="/login"                  component={Login} foo={true}/>
And have a variable in the Login Component. How would I go about passing a variable/state so that the App component gets it? I have some things in App that I don't want re-rendered, so I will just use states to change it, rather than use passing in custom components (which will cause re-draw and flickering and I don't want that)
edit:
For example:
        <Route path="/" component={ App }>           <Route path="/login"                  component={Login} someVariableThatAppComponentShouldHave={true}/>
Is there a way so that when the route 'Login' is loaded, a variable can be passed to the component 'App'? The only other way I can think of doing this is checking the current route in App. But I don't really want to rely on using strings, because urls can be easily changed and that can lead to more messy errors, so im looking for a variable solution that doesn't require any dependency on the url/path (which can easily be changed by accident)

Sure, instead of using the component prop, use render instead:
<Route path="/" render={props => (
  <App {...props} somethingElse="here"/>
)}/>

Just be sure to pass along the props the router gives you (i.e. the {...props} above) and you should be good to go ;)

This gives me an error: Unexpected error. Where would my Login component go?

Something like this @jr69
<Route path="/"  render={props => (
<App {...props} somethingElse="here"/>
)
}                       />


Open Layer 3.14.1 upgrade to Open Layer 4.6.1

Once i upgrade to Openlayer to 4.6.1 there is lots of change i have to make
However, i cannnot figure it out how to make below code work
`
var length = Ext.getCmp('mapViewPanel').controller.getView().getMap().getInteractions().array_.length;
    for(var x=0; x<length ;x++){

        try{
            if(Ext.getCmp('mapViewPanel').controller.getView().getMap().getInteractions().array_[x].name =='initDrag'){
                Ext.getCmp('mapViewPanel').controller.getView().getMap().getInteractions().array_.splice(x,1);
                x= x-1;
            }
        }catch(error){
        }
    }

`
In Openlayer3 getView().getMap().getInteractions() can get ol.Collection
In Openlayer4 getView().getMap().getInteractions() can get something on the picture below
as a result, getView().getMap().[??????]  how to get ol.collection?

Replace .array_ in your code with .getArray(), which is part of the exported API. It is a good idea to always refer to the API documentation of the version you are using. In this case https://openlayers.org/en/v4.6.1/apidoc/.


Update to file/folder docs

add detail on package.json and README.md

@fozy81 hey sorry I fear this PR slipped? Is it still relevant?

@gr2m no longer relevant. Updated Makefile and conf.py file have already been added which build correctly on readthedocs. :smile:


Missing Ident -

Description
This PR includes the following proposed change(s):
None
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation

if your change is a breaking change, please add breaking change label to this PR
How Has This Been Tested?
Openshift - constantly
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] New and existing unit tests pass locally with my changes

Looks good to me

JUST YOU THOUGH?!?!


Hashtree is not defined

While running ember install ember-cli-mirage. It shows
Reference error: Hashtree is not defined
at C:\Windows\System32\node_modules\ember-cli-htmlbars\node_modules\broccoli-filter\node_modules\broccoli-kitchen-sink-helpers.
Pls help me.

What version of node, npm, ember?

It is fixed now. I was installing mirage in the wrong directory.


Fixed bundleId, appVersion, buildNumber.

was there a ticket where this was complained about?  So we can reference the two?

@avishayil What exactly are you doing here. There is little difference between master and this PR.

It didn’t work for me on the iOS side, so I entered the code and found the
solution on the internet, now it’s working.
I have zero knowledge on Obj-C.
On July 4, 2016 at 1:30:57 PM, Ryan Leckey<EMAIL_ADDRESS>wrote:
@avishayil https://github.com/avishayil What exactly are you doing here.
There is little difference between master and this PR.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rebeccahughes/react-native-device-info/pull/56#issuecomment-230259515,
or mute the thread
https://github.com/notifications/unsubscribe/AAyekOP0PQTbl4hGyzytsqUe2HmItHqvks5qSODhgaJpZM4I8jOn
.

@avishayil what exactly was the problem?


SyntaxList.insertChildText throws error when writing property

Repro
const tsSimpleAst = require("ts-simple-ast")
const { stripIndent } = require('common-tags')
const {
    default: Project,
    SyntaxKind,
} = tsSimpleAst

const project = new Project({useVirtualFileSystem: true})
const file = project.createSourceFile(`test.ts`, stripIndent`
export class Foo {
  m1 () { }
}`)

const classDeclaration = file.getFirstDescendantByKindOrThrow(SyntaxKind.ClassDeclaration)
const syntaxList = classDeclaration.getFirstDescendantByKindOrThrow(SyntaxKind.SyntaxList)

syntaxList.insertChildText(0, writer => {
  writer.write(`p1 = 1`)
})

console.log(file.getFullText())

Demo
https://runkit.com/lazarljubenovic/5b48dbd8c790e80012b9655c

In my original code I'm getting Error: Error replacing tree! Perhaps a syntax error was inserted (Current: MethodDeclaration -- New: PropertyDeclaration). but while trying to repro I've gotten the other one which I also don't understand so let's start from there.
It works if I add a comment // p1 = 1, so it seems like it's really something wrong with the syntax. Is this a bad way of adding props? (I need to add a constructor in my original code.)
The error message says that it's generating
export class Foo {\n    p1 = 1\n  m1 () { }\n}

which seems fine to me.

@lazarljubenovic thanks for reporting. I'll look into this on the weekend.
I recommend using classDeclaration.insertProperty to insert a property.

Oh god, there's getConstructor included and everything... :heart_eyes: The disadvantage of this lib is that it's too awesome for its own good lol
Thanks!

Oh man, I know! I've wished there was a way I could tell the IDE how to prioritize what's shown in autocomplete. There's too many methods.

@dsherret  that's a good idea for a TypeScript Language Service Plugin since autocomplete are handled by tsserver ! taking notes

show ClassDeclaration specific methods first when using a ClassDeclaration

That's exactly how it's done with WebStorm.
I just didn't even check and went straight for the AST viewer where I've noticed the shape of what I'm working with. :sweat_smile:

This was because const syntaxList = classDeclaration.getFirstDescendantByKindOrThrow(SyntaxKind.SyntaxList); will return the first descendant syntax list, which in this case is the one for the modifiers.

The library was then accidentally inserting the text into what I call the "child syntax list," which is the one that contains the body of the class (where the MethodDeclaration is). Then the other part of the code was wondering why it found new children in that syntax list instead of the one with the export keyword.
Anyway, fixed in 12.5.4.
@cancerberoSgx that would be cool, but would be nice if it just worked in vscode, visual studio, etc. by default :(
@lazarljubenovic It's neat that WebStorm does that... I like what JetBrains has done with resharper in visual studio for c#, but I kept running into way too many problems using it for TypeScript so I disabled it for TypeScript a while ago.

Ooh... In AST viewer I was using an example without export and completely missed the fact that I added it in the repro and my code. :roll_eyes:


Media queries

Got rid of sizings in terms of vw, went back to pixels and use media queries to adjust things as the width of the screen changes


Support dumping custom paths instead of just /

Dumped Tilix config
❯ dconf dump /com/gexperts/Tilix/

[profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
font='MesloLGS Nerd Font 11'
use-system-font=false
visible-name='Default'

Converted Tilix config
❯ dconf2nix -i tilix.conf -o tilix.nix

# Generated via dconf2nix: https://github.com/gvolpe/dconf2nix
{ lib, ... }:

let
  mkTuple = lib.hm.gvariant.mkTuple;
in
{
  dconf.settings = {
    "profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d" = {
      "font" = "MesloLGS Nerd Font 10";
      "use-system-font" = false;
      "visible-name" = "Default";
    };

  };
}

Resulting incorrect dconf config
❯ dconf dump /profiles/

[2b7c4080-0ddd-46c5-8f23-563fd3ba789d]
font='MesloLGS Nerd Font 11'
use-system-font=false
visible-name='Default'

The config that actually works
{
  home-manager.users.austin = { pkgs, ... }: {
    dconf.settings = {
      "com/gexperts/Tilix/profiles/2b7c4080-0ddd-46c5-8f23-563fd3ba789d" = {
        font = "MesloLGS Nerd Font 11";
        use-system-font = false;
        visible-name = "Default";
      };
    };
  };
}

Actually I see what's happening, and it's a me problem :face_with_head_bandage:. dconf2nix can't know where to place the dump when it's not at the root level. Not sure what I was expecting...
I suppose the only suggestion I could offer is a warning or something in the README about dumping keys other than root.

I think we could add support for dumping keys other than /, maybe something like:
$ dconf dump /com/gexperts/Tilix/ | dconf2nix --root /com/gexperts/Tilix/ > dconf.nix

Though, I'm not sure how common this use case may be.

@austinbutler have a look at #23 and let me know if that looks good to you or you have other suggestions :)

@gvolpe that looks great, thanks! At the very least it at least makes it more clear that it's expecting the root by default, which should help dummies like myself in the future :wink:.


Does textwrap actually need Canvas#data

Hi,
I'm trying to run textwrap on a canvas that I'm creating in a Node environment. I'm able to create a Canvas normally like the browser one, but in a Node environment, however, I want to optimize resources as much as possible.
Is canvas._data used in anyway in the calculations ?
Kindly.

Hi @yanna92yar,
Textwrap itself doens't know anything about canvas or node. However, I wrote a demo to show how you can call Textwrap from a wasm environment: https://github.com/mgeisler/textwrap/tree/master/examples/wasm.
The code there uses the canvas to measure the size of the text, then tells Textwrap about those sizes, wraps the text, and finally draws the text on the canvas.
I hope that helps?

Actually I managed to call draw function just like delivered on the wasm demo, and I'm using a Node canvas implementation, thanks a lot.
for instance , I'm passing same values that would work on the demo just to test what's going wrong:
https://github.com/mgeisler/textwrap/blob/872f221fede7aa78e730bb7895074455269a431a/examples/wasm/www/index.js#L35
this function draw does not fail, however I think it does not change my canvas object (as far as I could inspect)
ok , as long as textwrap does not necessarily deal with the canvas (except the example); do you provide some API with raw results ? (of calculations) ? hopefully in wasm build as well.
Thanks a lot :)

ok, let's forget about the Canvas object , as long as textwrap does not necessarily deal with the canvas (except the example); do you provide some API with raw results ? (of calculations) ? hopefully in wasm build as well.

The interface is abstract: you implement Fragment yourself and this trait is then used by the rest of the Textwrap calculations. As an example, the wrap_first_fit function has this signature:
pub fn wrap_first_fit<'a, 'b, T: Fragment>(
    fragments: &'a [T],
    line_widths: &'b [f64]
) -> Vec<&'a [T]>

which means that you give it a slice of fragments (can be anything, you decide the T type here since you've have implemented Fragment for it) and then you get back the wrapped lines in the form of a vector of slices.
That's the most raw result in Textwrap. You're then supposed to use the vector of slices in your own drawing routine: you will presumably walk through each slice and draw the fragments one after each other. That's what the Wasm demo I include does.

Ok thanks a lot @mgeisler for the clarifications I appreciate that.

Great, I'm glad to hear that you got it working!


All npm installs of 1.2.x failing

npm install was failing for 1.2.0 and 1.2.1 due to the previously mentioned fatal error: json-c/json.h: No such file or directory. npm install is successful for 1.2.2 but when the package is actually imported throws an error <ommited>/node_modules/mraa/build/Release/mraa.node: undefined symbol: mraa_init_json_platform
System is running node 6.3.1, npm 3.10.3 on a debian image. Last working version of MRAA was 1.1.2

Urgh sorry about this. For some reaosn my system lets me get away with this, this is the problem we have with so many different combinations. This will be fixed in an hour or so.

1.2.3 is out and hopefully fixes this for you (works here). Travis builds have been updated to make sure this doesn't happen, they know check the npmpkg builds and loads.

Wow that was quick, yeah 1.2.3 fixed it


[Feature Request] Provide edit option for headers under Map Terms

Is it possible to provide edit option for headers(Term / Mapped Term) under Map Terms.
Because, by proving the edit option, user can provide a custom name to Mapped_Term, so that user can use Mapped_Term in his further development.
I remember, that editing of headers of Mapped_Term, was possible on WKS.

To address this, we first need a design for https://github.com/CODAIT/nlp-editor/issues/70
Blocked on #70


Update Dockerfile

Updated python versions which allows addon to now install. I'm not certain it's working as I'm not able to connect but that could be due to my bluetooth adapter.

Does it works with esp bluetooth proxy?


Extract Litescheduler module

Extract a portion of Litesupport into a new Litescheduler module; and replace all calling sites with new interface

Litesupport now requires litescheduler, so we can load individual components (e.g. litecache, litejob) without having to load all of litestack

@fractaledmind, I was looking at the Litescheduler tests, I would rather we don't include Litestack for testing individual components, just including the required lite* component will also ensure we keep dependencies clean, this might require moving some of the Rails and other libraries detection code to the individual components to include drivers there instead of including those in litestack.rb


v4.0.0-alpha.12 not working with typescript v4

This is my dateRange component.
import TextField from "@material-ui/core/TextField";
import { DateRange, DateRangeDelimiter, DateRangePicker } from "@material-ui/pickers";
import React, { useState } from "react";

export interface IDateStart {
	text: string;
	preFilledValue?: Date;
}

export default function BasicDateRangePicker({
	from,
	to,
	onChange,
}: {
	from: IDateStart;
	to: IDateStart;
	onChange: (from: Date | null, to: Date | null) => void;
}) {
	const [selectedDate, handleDateChange] = React.useState<DateRange<Date>>([
		from.preFilledValue || null,
		to.preFilledValue || null,
	]);

	React.useEffect(() => {
		onChange(selectedDate[0], selectedDate[1]);
	}, [selectedDate]);
	const [open, setOpen] = React.useState(false);

	return (
		<DateRangePicker
			onOpen={() => setOpen(true)}
			disableCloseOnSelect={true}
			startText={from.text}
			endText={to.text}
			value={selectedDate as [Date, Date]}
			inputFormat="dd/MM/yyyy"
			onChange={handleDateChange}
			renderInput={(startProps, endProps) => (
				<>
					<TextField {...startProps} />
					<DateRangeDelimiter> to </DateRangeDelimiter>
					<TextField {...endProps} />
				</>
			)}
		/>
	);
}

It is working properly with typescript version 3.7.0, but when I upgraded typescript version to v4.0.2, I'm getting this error:

Current Behavior 😯
Bumping typescript to version 4 break the app.

Expected Behavior 🤔
Bumping typescript version to v4 should work properly.
NOTE
This project was created using create-react-app.
Your Environment 🌎

Tech
Version

@material-ui/core
^4.11.0

@material-ui/pickers
^4.0.0-alpha.12

React
^16.13.1

TypeScript
v4.0.2

Please provide a minimal reproduction test case. This would help a lot 👷 .
A live example would be perfect. This codesandbox.io template may be a good starting point. Thank you!


Blazor HostedService

I've encountered an issue regarding the hosted service being used in our Blazor Server App.
Before we ported our .net core 3.1 and .net 5.0 web apps to Blazor, the hosted service is working fine, it runs on the background even if there's no more users connected for minutes or even hours. Unfortunately with the Blazor server app, when we ported the exact same hosted services, once there's no more connected users for few minutes, the hosted service will also stop working from the background, and will only resume once a user has accessed the web app. Is the setup/configuration different if you're using blazor?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c3460b0d-9c60-3a06-ac63-18cf990e53c3
Version Independent ID: b2dece1f-15b8-03af-6d52-7cc070432b4b
Content: Background tasks with hosted services in ASP.NET Core
Content Source: aspnetcore/fundamentals/host/hosted-services.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @ogiepogi ... First, check this engineering issue to see if this mirrors your scenario ...
https://github.com/dotnet/aspnetcore/issues/7213
If that's what you're facing, you can chat there with the product unit about it. There are one or two asks for Blazor WASM, but I don't see any other reports there related to Blazor Server. Otherwise, open a new issue for the product unit at ...
https://github.com/dotnet/aspnetcore/issues
... and put up and cross-link to a minimal repro Blazor Server app with a hosted service so that they can see how you have it set up. Sometimes, a feature works but has to be wired up a particular way. Even if something is broken, they can sometimes suggest a workaround to tide you over to a fix.
If you open a new issue, either ...

Come back to this issue after you chat with them and leave a comment here on how it turned out.

If we need coverage, I'll re-open this issue and work it forward from here.


React multiple select dropdown with checkboxes, when open, has critical and serious accessibility errors.

Steps to reproduce
Link to live example: https://mui.com/material-ui/react-select/#checkmarks
Steps:

Open dropdown
Run Axe devtools with dropdown open

Current behavior
Critical and serious errors should not exist. We are seeing the same errors in our production environment. I'll provide screenshots for both mui and our environments.
MUI
Critical errors:

Serious errors:

ProcessUnity
Critical:

Serious:

Expected behavior
There should be no accessibility errors when dropdown is open.
Context
Eliminate accessibility errors and become a11y compliant.
Your environment

npx @mui/envinfo
  Chrome on a Mac
  Output from `npx @mui/envinfo` goes here.

Search keywords: Axe devtools, accessibility errors
Order ID: 90333
Search keywords:

Duplicate of #42159


Update bytes to v0.6

This doesn't currently compile due to the tokio::ReadBuf API.

This doesn't currently compile due to the tokio::ReadBuf API.

@olix0r: Thank you for taking ownership for this :) Can you please elaborate what's holding the PR back?

@Urhengulas Sorry, that comment is outdated (addressed in 34e60f7). It looks like there are some remaining changes needed in examples that I can try to fix. I won't be offended if someone else takes this branch and gets it over the line, though ;)

Also, this is blocked on a few other PRs:

https://github.com/hyperium/h2/pull/498 -- not currently passing CI
https://github.com/hyperium/http-body/pull/30
https://github.com/hyperium/http/pull/441

My h2 PR does pass CI https://github.com/hyperium/h2/pull/497

@paolobarbolini whoops! didn't mean to double up on those PRs, I just didn't look before branching. Closed my open PRs in favor of yours.

It looks like there are some remaining changes needed in examples that I can try to fix

It probably just needs bytes::buf::BufExt to be changed into bytes::Buf

OK, build passes. gitcop won't tell me what it doesn't like(?!), so i'm going to rebase and force push.

Don't worry about gitcop (it's not "required"), it's just a reminder to me to fix the commit message format.

I believe #2339 closes this.


PIP INSTALL of MSSQLCTL with --force-reinstall from Juypter Notebook sometimes fails with EnvironmentError: [WinError 5] Access is denied:

Azure Data Studio Version:
Version: 1.5.2 (user setup)
Commit: f74080c96310354bc92211f1826c0fdce78ca2f6
Date: 2019-03-22T06:25:26.627Z
VS Code 1.30.1
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
OS: Windows_NT x64 10.0.14393

Steps to Reproduce:
The 2nd or 3rd execution of MSSQLCTL re-install from Notebook fails with Access Denied; We have tried this from command line many a times
but have never been able to reproduce the issue outside notebook.
import sys
url="https://" + docker_registry + "/python/" + mssql_version + "/mssqlctl/requirements.txt"
!{sys.executable} -m pip install -r {url} --force-reinstall
Looking in links: https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/
Collecting mssqlctl_cli_app>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 2))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli_app-15.0.1400.75-py2.py3-none-any.whl
Collecting mssqlctl_cli_profile>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 3))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli_profile-15.0.1400.75-py2.py3-none-any.whl
Collecting mssqlctl_cli_storage>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 4))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli_storage-15.0.1400.75-py2.py3-none-any.whl
Collecting mssqlctl_cli_cluster>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli_cluster-15.0.1400.75-py2.py3-none-any.whl (45kB)
Collecting mssqlctl_cli>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 6))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli-15.0.1400.75-py2.py3-none-any.whl
Collecting mssqlctl_cli_core>=15.0.1400.75 (from -r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Downloading https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/mssqlctl_cli_core-15.0.1400.75-py2.py3-none-any.whl (81kB)
Collecting PyYAML==3.13 (from mssqlctl_cli_app>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 2))
Using cached https://files.pythonhosted.org/packages/4f/ca/5fad249c5032270540c24d2189b0ddf1396aac49b0bdc548162edcf14131/PyYAML-3.13-cp36-cp36m-win_amd64.whl
Collecting jinja2 (from mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/7f/ff/ae64bacdfc95f27a016a7bed8e8686763ba4d277a78ca76f32659220a731/Jinja2-2.10-py2.py3-none-any.whl
Collecting kubernetes>=7.0.0 (from mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/00/f7/4f196c55f1c2713d3edc8252c4b45326306eef4dc10048f13916fe446e2b/kubernetes-9.0.0-py2.py3-none-any.whl
Collecting requests>=2.9.1 (from mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/7d/e3/20f3d364d6c8e5d2353c72a67778eb189176f08e873c9900e10c0287b84b/requests-2.21.0-py2.py3-none-any.whl
Collecting urllib3>=1.15.1 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl
Collecting knack (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/bc/f8/a3c3142d76b40c53272928b0f9e4d0675055c8cc13f67d65558e7d5029aa/knack-0.5.4-py2.py3-none-any.whl
Collecting humanfriendly>=4.17 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/90/df/88bff450f333114680698dc4aac7506ff7cab164b794461906de31998665/humanfriendly-4.18-py2.py3-none-any.whl
Collecting certifi>=14.05.14 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/60/75/f692a584e85b7eaba0e03827b3d51f45f571c2e793dd731e598828d380aa/certifi-2019.3.9-py2.py3-none-any.whl
Collecting python-dateutil>=2.5.3 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl
Collecting six==1.11.0 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/67/4b/141a581104b1f6397bfa78ac9d43d8ad29a7ca43ea90a2d863fe3056e86a/six-1.11.0-py2.py3-none-any.whl
Collecting setuptools==30.4.0 (from mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/16/9b/5e491cef98014d9a1b1f15896e503661d3973d02970583cfb026b613d0fd/setuptools-30.4.0-py2.py3-none-any.whl
Collecting MarkupSafe>=0.23 (from jinja2->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/b9/82/833c7714951bff8f502ed054e6fbd8bd00e083d1fd96de6a46905cf23378/MarkupSafe-1.1.1-cp36-cp36m-win_amd64.whl
Collecting requests-oauthlib (from kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/c2/e2/9fd03d55ffb70fe51f587f20bcf407a6927eb121de86928b34d162f0b1ac/requests_oauthlib-1.2.0-py2.py3-none-any.whl
Collecting google-auth>=1.0.1 (from kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/c5/9b/ed0516cc1f7609fb0217e3057ff4f0f9f3e3ce79a369c6af4a6c5ca25664/google_auth-1.6.3-py2.py3-none-any.whl
Collecting websocket-client!=0.40.0,!=0.41.,!=0.42.,>=0.32.0 (from kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/29/19/44753eab1fdb50770ac69605527e8859468f3c0fd7dc5a76dd9c4dbd7906/websocket_client-0.56.0-py2.py3-none-any.whl
Collecting chardet<3.1.0,>=3.0.2 (from requests>=2.9.1->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting idna<2.9,>=2.5 (from requests>=2.9.1->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/14/2c/cd551d81dbe15200be1cf41cd03869a46fe7226e7450af7a6545bfc474c9/idna-2.8-py2.py3-none-any.whl
Collecting colorama (from knack->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/4f/a6/728666f39bfff1719fc94c481890b2106837da9318031f71a8424b662e12/colorama-0.4.1-py2.py3-none-any.whl
Collecting pygments (from knack->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/13/e5/6d710c9cf96c31ac82657bcfb441df328b22df8564d58d0c4cd62612674c/Pygments-2.3.1-py2.py3-none-any.whl
Collecting jmespath (from knack->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/83/94/7179c3832a6d45b266ddb2aac329e101367fbdb11f425f13771d27f225bb/jmespath-0.9.4-py2.py3-none-any.whl
Collecting argcomplete (from knack->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/2e/22/374114e3e3692002f6aad1038faa3ca062668942da9c43f25c04100cdfb1/argcomplete-1.9.5-py2.py3-none-any.whl
Collecting tabulate (from knack->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/c2/fd/202954b3f0eb896c53b7b6f07390851b1fd2ca84aa95880d7ae4f434c4ac/tabulate-0.8.3.tar.gz
Collecting pyreadline; sys_platform == "win32" (from humanfriendly>=4.17->mssqlctl_cli_core>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 7))
Using cached https://files.pythonhosted.org/packages/bc/7c/d724ef1ec3ab2125f38a1d53285745445ec4a8f19b9bb0761b4064316679/pyreadline-2.1.zip
Collecting oauthlib>=3.0.0 (from requests-oauthlib->kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/16/95/699466b05b72b94a41f662dc9edf87fda4289e3602ecd42d27fcaddf7b56/oauthlib-3.0.1-py2.py3-none-any.whl
Collecting cachetools>=2.0.0 (from google-auth>=1.0.1->kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/39/2b/d87fc2369242bd743883232c463f28205902b8579cb68dcf5b11eee1652f/cachetools-3.1.0-py2.py3-none-any.whl
Collecting pyasn1-modules>=0.2.1 (from google-auth>=1.0.1->kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/da/98/8ddd9fa4d84065926832bcf2255a2b69f1d03330aa4d1c49cc7317ac888e/pyasn1_modules-0.2.4-py2.py3-none-any.whl
Collecting rsa>=3.1.4 (from google-auth>=1.0.1->kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/02/e5/38518af393f7c214357079ce67a317307936896e961e35450b70fad2a9cf/rsa-4.0-py2.py3-none-any.whl
Collecting pyasn1<0.5.0,>=0.4.1 (from pyasn1-modules>=0.2.1->google-auth>=1.0.1->kubernetes>=7.0.0->mssqlctl_cli_cluster>=15.0.1400.75->-r https://private-repo.microsoft.com/python/ctp-2.4/mssqlctl/requirements.txt (line 5))
Using cached https://files.pythonhosted.org/packages/7b/7c/c9386b82a25115cccf1903441bba3cbadcfae7b678a20167347fa8ded34c/pyasn1-0.4.5-py2.py3-none-any.whl
Installing collected packages: urllib3, colorama, six, pygments, jmespath, argcomplete, PyYAML, tabulate, knack, pyreadline, humanfriendly, certifi, python-dateutil, setuptools, mssqlctl-cli-core, mssqlctl-cli-app, mssqlctl-cli-profile, mssqlctl-cli-storage, MarkupSafe, jinja2, chardet, idna, requests, oauthlib, requests-oauthlib, cachetools, pyasn1, pyasn1-modules, rsa, google-auth, websocket-client, kubernetes, mssqlctl-cli-cluster, mssqlctl-cli
Found existing installation: urllib3 1.24.1
Uninstalling urllib3-1.24.1:
Successfully uninstalled urllib3-1.24.1
Found existing installation: colorama 0.4.1
Uninstalling colorama-0.4.1:
Successfully uninstalled colorama-0.4.1
Found existing installation: six 1.11.0
Uninstalling six-1.11.0:
Successfully uninstalled six-1.11.0
Found existing installation: Pygments 2.3.1
Uninstalling Pygments-2.3.1:
Successfully uninstalled Pygments-2.3.1
Found existing installation: jmespath 0.9.4
Uninstalling jmespath-0.9.4:
Successfully uninstalled jmespath-0.9.4
Found existing installation: argcomplete 1.9.5
Uninstalling argcomplete-1.9.5:
Successfully uninstalled argcomplete-1.9.5
Found existing installation: PyYAML 3.13
Uninstalling PyYAML-3.13:
Successfully uninstalled PyYAML-3.13
Found existing installation: tabulate 0.8.3
Uninstalling tabulate-0.8.3:
Successfully uninstalled tabulate-0.8.3
Running setup.py install for tabulate: started
Running setup.py install for tabulate: finished with status 'done'
Found existing installation: knack 0.5.4
Uninstalling knack-0.5.4:
Successfully uninstalled knack-0.5.4
Found existing installation: pyreadline 2.1
Uninstalling pyreadline-2.1:
Successfully uninstalled pyreadline-2.1
Running setup.py install for pyreadline: started
Running setup.py install for pyreadline: finished with status 'done'
Found existing installation: humanfriendly 4.18
Uninstalling humanfriendly-4.18:
Successfully uninstalled humanfriendly-4.18
Found existing installation: certifi 2019.3.9
Uninstalling certifi-2019.3.9:
Successfully uninstalled certifi-2019.3.9
Found existing installation: python-dateutil 2.8.0
Uninstalling python-dateutil-2.8.0:
Successfully uninstalled python-dateutil-2.8.0
Found existing installation: setuptools 30.4.0
Uninstalling setuptools-30.4.0:
Successfully uninstalled setuptools-30.4.0
Found existing installation: mssqlctl-cli-core 15.0.1400.75
Uninstalling mssqlctl-cli-core-15.0.1400.75:
Successfully uninstalled mssqlctl-cli-core-15.0.1400.75
Found existing installation: mssqlctl-cli-app 15.0.1400.75
Uninstalling mssqlctl-cli-app-15.0.1400.75:
Successfully uninstalled mssqlctl-cli-app-15.0.1400.75
Found existing installation: mssqlctl-cli-profile 15.0.1400.75
Uninstalling mssqlctl-cli-profile-15.0.1400.75:
Successfully uninstalled mssqlctl-cli-profile-15.0.1400.75
Found existing installation: mssqlctl-cli-storage 15.0.1400.75
Uninstalling mssqlctl-cli-storage-15.0.1400.75:
Successfully uninstalled mssqlctl-cli-storage-15.0.1400.75
Found existing installation: MarkupSafe 1.1.1
Uninstalling MarkupSafe-1.1.1:
Successfully uninstalled MarkupSafe-1.1.1
jupyter-console 6.0.0 has requirement prompt-toolkit<2.1.0,>=2.0.0, but you'll have prompt-toolkit 1.0.15 which is incompatible.
Could not install packages due to an EnvironmentError: [WinError 5] Access is denied:
'C:\Users\pradm\AppData\Local\Temp\1\pip-uninstall-td2wem0d\ads_python\0.0.1\lib\site-packages\markupsafe\_speedups.cp36-win_amd64.pyd'
Consider using the --user option or check the permissions.

I'm going to close this as external. @ronychatterjee please help pick this up from the point of view of notebook creation


i18n(fr): update error-reference.mdx

Description (required)

Remove some errors from the list in error-reference.mdx (see #9284)

Related issues & labels (optional)

Suggested label: i18n

Lunaria Status Overview
🌕 This pull request will trigger status changes.

Learn more
By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.
You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

Locale
File
Note

fr
reference/error-reference.mdx
Localization changed, will be marked as complete.

Warnings reference

Icon
Description

🔄
The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.


fix: undefined swapper on first render

Description
Fixes undefined swapper on first render
Fixes an issue where we would not get a swapper in the first render cycle if the asset pair's swapper supports cross-account trades.
It's a multi-factorial bug with a simple fix.
In summary: the bug is a side-effect from the account bug fix, where the early returning on the first render now leaves us with a receive address of undefined. This stops the first quote from firing, which stops us from getting a swapper now that getting the best swapper requires a quote - and if we don't have a swapper we show "Invalid Trade Pair". Phew.
Adds commentary for safety
Adds commentary about logic that could, if changed in an incorrect way, result in an incorrect receive asset being used for a trade (this is now checked for downstream, but this is the root cause of what was going on)
Notice

[x] Have you followed the guidelines in our Contributing guide?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[x] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)
N/A - safety first.
Risk
High risk as this touches account selection.
Testing
Things to test:
Bug fix
When selecting a UTXO asset from the Dashboard, we often display "Invalid Trade Pair" until the form is interacted with.
This should no longer occur.
Synchronised account selection

For swappers that do not support multi-account (0x and CoW Swap), we should only be able to select the sell asset account. The buy asset should then update to match any selections.
For swappers that do support multi-account (THORSwapper and Osmosis), we should be able to select the sell asset account and buy asset accounts independently

THORTrading
Out of an abundance of caution, we should do a cross-chain swap on THORChain (i.e. one with a UTXO asset as the receive asset) and ensure that the funds are received.
Engineering
☝
Operations
☝
Screenshots (if applicable)
N/A

Thanks big gomes, I'll suss that out that CoW thing tomorrow.

Closing in favour of https://github.com/shapeshift/web/pull/3617 and https://github.com/shapeshift/web/pull/3625.


TfW Start of Journey

New issue as issue #68 was getting ignored.
Just to let you know that, the announcement should have 'Thank You' after it said the calling point at the start of journey on TfW.
For reference
https://youtu.be/y4G1HC2IzVo?si=nrk5qzI44HGR4PIF
Could you please add this as soon as you can, thank you

Don't create new issues because they're being "ignored".
If you want it "as soon as you can", do it yourself instead.


Using custom CKeditor instance in webpack boilerplate

How can I use a custom CKeditor build?
Using the vue-cli webpack boilerplate.
In .vue component I add
import CKEDITOR from 'ckeditor'
import Ckeditor from 'vue-ckeditor2'

Removed the CDN for CKeditor from index.html:
<!DOCTYPE html>

  <meta charset="utf-8">
  <title>Squarell DAP App</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

Now I get errors like

ckeditor.js?7294:232 Uncaught TypeError: Cannot set property 'dir' of undefined
at Object.f (eval at  (app.js:1206), :232:470)
at g (eval at  (app.js:1206), :234:33)
at Array.n (eval at  (app.js:1206), :234:188)
at p (eval at  (app.js:1206), :234:272)
at HTMLScriptElement.CKEDITOR.env.ie.e.$.onerror (eval at  (app.js:1206), :235:209)

I try your code and I have same this problem. I think if you want use custom Ckeditor instead of cdn, you need download Ckeditor from Ckeditor then configure Specifying the Editor Path

I know that, but how do I do that?
Which according the CKeditor needs to be solved like Specifying the Editor Path.
Did that several ways like the following, but nothing works.
What am I doing wrong?
var CKEDITOR_BASEPATH = './ckeditor/';
import axios from 'axios';
import CKEDITOR from 'ckeditor'
import Ckeditor from 'vue-ckeditor2'


feat(dateparser): add new format support

Adds ww support
Adds w support
Adds G, GG, GGG support
Adds GGGG support

Should be noted, this almost finishes off #3418

I can see week, but the other are a bit weird, not sure if they are going to be used, ever.
About #3418, I think it is implemented (we have a and short, medium....)

I'm not sure the era ones will ever be used, but it's nice to have the option, and it doesn't cost us much. It completes parity with the Angular dateFilter.
About short, medium, etc., how do we support that? I don't see anything obvious in the dateparser that allows for it.

Using: https://github.com/angular-ui/bootstrap/blob/master/src/dateparser/dateparser.js#L219-L220
that will translate short, mediumDate, etc into a string that can be tokenized later.

Oh, so the issue will be finished then by this PR.

Yes sir. Merge this
El 7/11/2015 4:56 p. m., "Wesley Cho"<EMAIL_ADDRESS>escribió:

Oh, so the issue will be finished then by this PR.
—
Reply to this email directly or view it on GitHub
https://github.com/angular-ui/bootstrap/pull/4833#issuecomment-154718351
.


Execute custom user script before the compile step

Another PR in the direction of extensibility, not sure if this fits with the project's goals. It adds a -before-build parameter which accepts a script which will be executed after cloning but before running the compilers.
This can be used, for example, to get and compile dependencies for which the steps taken by the build_deps.sh script are not enough.

I made this on top of #20. If you prefer me to rebase on master, happy to comply.

Rebased on to pof #21.

:+1: Having this included would be a great help compared to having to fork the images to add dependencies.

Closing since this is really old by now.


[Question] Server side node_modules folder

I have used generator-aspnetcore-spa templates for Angular 2 to develop a website. Locally this works fine, F5 in VS debug in the website. But when I deploy this website to Azure through continuous deliver I get the following exception:
Exception: Call to Node module failed with error: To use prerendering, you must install the 'aspnet-prerendering' NPM package.
Error also happened in #144, but locally that works fine for me. My issue is a little different.
I am assuming the error is shown because node_modules is not copied into my package. I didn't include this in my source control (based on best practice advise) and I deploy through VSTS continuous delivery. So I could include node_modules in my source control and be done with it, but I am trying to understand what the correct approach is here.
On the client side webpack bundles all vendor.js which are used and sends those to the client. Is a similar approach possible for node on the server side? Or do I really need the full node_modules? If so, should I restore them during the build? With the command npm install? Or indeed add them to source control? Adding node_modules would make the package a lot bigger, but maybe there is no other solution? Maybe someone else has an idea about this?

I'm deploying to Azure as well and I don't include the node_modules folder. Make sure aspnet-prerendering is under "dependencies" and not "devDependencies". You can also ftp into the server, browse the file system and check exactly what was deployed.

I checked and aspnet-prerendering is under "dependencies", not "devDependencies". So that is not the problem. But your response made me curious so I decided to test my own theory and check-in the node_modules folder to see.
The error is now gone, but I run in another error:
ERROR in<EMAIL_ADDRESS>(13,24): error TS2307: Cannot find module './src/debug/debug_renderer'.
This error (and more debug.. specific errors) already occurs during dotnet publish, but locally a dotnet publish -c release works fine, so I have to figure out what goes wrong on the VSTS build agent. But I will look at that tomorrow.
I am not sure what this means, but it looks like this is another problem and the aspnet-prerendering problem was solved by adding node_modules, but now I am wondering why it is working in your website? Do you know where your server app loads the required javascript?

I'm using react and ES6 instead of typescript so won't comment on the new error but our projects will install in the same way. Look in your project.json and your will something like mine below. When azure publishes your project it will run these commands - these are what installs the node packages, builds the project using webpack, etc.
  "scripts": {
    "prepublish": [
        "npm install",
        "node node_modules/webpack/bin/webpack.js --config webpack.config.vendor.js",
        "node node_modules/webpack/bin/webpack.js"
    ],
    "postpublish": [ "dotnet publish-iis --publish-folder %publish:OutputPath% --framework %publish:FullTargetFramework%" ]
  },

I suspect the difference is that @chris-herring might be deploying from Git (a.k.a. via Azure's "Kudu" deployment mechanism), which automatically does run those scripts during the deployment, whereas @eriksteinebach is deploying via VSTS, which is more like just directly FTPing your local folder to the server without running any deployment scripts on the server.
Personally I've mostly used Kudu deployment where everything just works cleanly without needing node_modules in source control. Also it's massively faster, because you don't have to ship literally tens of thousands of files from node_modules from your machine to the Azure server (the server will fetch its own copies of the NPM modules).
When I tried VSTS-based deployment, it did work fine (albeit very slow), but then I did allow it to include the node_modules. You certainly will have to do that, because otherwise the server will not have those files - VSTS deployment isn't going to run any deployment scripts on the server for you.

ERROR in<EMAIL_ADDRESS>(13,24): error TS2307: Cannot find module './src/debug/debug_renderer'.

I'm not sure why you're getting that. It didn't happen when I tried it, but then maybe I was using a different version of Angular 2 or TypeScript than you are doing. I can't investigate that today, but please let us know if you manage to track it down. If this becomes an ongoing problem for you please let me know and I'll try to schedule some time to see if I can investigate and repro that issue.

I can confirm I am using Kudu and deploying from gitlab. Was fairly easy to setup and works nicely. Thanks for the explanation on the VSTS/Kudu differences.

Thank you, that makes a lot of sense and explains it. I didn't realize there was a difference between those 2 ways. I am going to have a look  into this Kudu deployment mechanism.
One question remains for me, those pre and post publish scripts are executed to populate the node_module folder? And those are run on the webserver? So npm is available on Azure App Service machines?
I also figured out the problem with the debug files. My .gitignore contained [Dd]ebug/ so ignored 2 folders in node_modules. I changed it to [Bb]in/[Dd]ebug/ because I figure that covers most and at the moment there are no other debug folders. An extra unrelated question: there is no way to unignore a folder after it has been ignored, even if the unignore is more specific right?

One question remains for me, those pre and post publish scripts are executed to populate the node_module folder? And those are run on the webserver? So npm is available on Azure App Service machines?

Yes, yes, and yes :)

I also figured out the problem with the debug files. My .gitignore contained [Dd]ebug/ so ignored 2 folders in node_modules. I changed it to [Bb]in/[Dd]ebug/

If you use a leading slash (e.g., /[Bb]in) then it will only match the top-level one, and you don't have to worry about clashes inside node_modules etc.

An extra unrelated question: there is no way to unignore a folder after it has been ignored, even if the unignore is more specific right?

Yes, there is, but I don't remember the syntax. Try searching for "gitignore exclude" or similar.
I'll close this because it sounds like you resolved everything.


instanceof supports inheritance

instanceof supports inheritance
oh i get why it didn't now, I was extending my own type not one provided by this package. Sorry for that I'm still new to JS in general

definite assignment assertion

How would you do that in a class?
Simply by replacing ? with !
$el!: HTMLElement;
Originally posted by @stancl in https://github.com/LeanAdmin/alpine-typescript/issues/6#issuecomment-843312971

oups


I need pre-compiled shaders

On MINGW, we do not have Microsoft's fxc.exe compiler.  The only fxc.exe available for MINGW seems to be inadequate for the purpose.
Thus, I need precompiled shaders so that I can try to build DirectXTex with support for the DX11 run-time, build the ddsviewer sample program, and run tests involving the loaders ( https://github.com/walbourn/directxtextest ).
Thanks.

The official story here is use MinGW from a command prompt that includes FXC.EXE which is included in the Windows SDK.

I am not entirely convinced that I require the Windows SDK to compile the shaders.   See the PR that I made ( https://github.com/microsoft/DirectXTex/pull/447 ).


Game Settings Not Saved!

Version of the game

Source Date: Aug.10.2024

What is the enhancement?
Save settings when they are made(Applies to interlacing, make it so that as a failsafe, hold START on valve splash to reset to interlaced)
Additional context
every time the game starts in several emulators, Interlaced is enabled by default, disabling it and then resetting the emulated system re-enables it.

I implemented the interlaced-setting to persist its state,
but James removed this again because of his video capture card: 8fa6ab8
I already planned to revert this someday.

if you do, please use START on Startup to return it to it's Interlaced Setting, that way you won't need to delete save data upon broken capture issues.

That was my suggestion too
Foxbit @.***> schrieb am So., 11. Aug. 2024, 23:36:

if you do, please use START on Startup to return it to it's Interlaced
Setting, that way you won't need to delete save data upon broken capture
issues.
—
Reply to this email directly, view it on GitHub
https://github.com/mwpenny/portal64-still-alive/issues/81#issuecomment-2282897245,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAANGLDSRKID6YDGHUUQVB3ZQ7KOZAVCNFSM6AAAAABMLCGRMWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSHA4TOMRUGU
.
You are receiving this because you commented.Message ID:
@.***>

great minds think alike apparently! hope it gets added.

Are you only referring to the interlacing setting, or some other setting(s) too?

Are you only referring to the interlacing setting, or some other setting(s) too?

the interlacing setting is the most prevalent, I am unsure about other settings.

Thanks, I've updated the title


Run plugin commands / actions from the admin's plugin page

Please describe the feature you would like to see implemented.
We have a Shopware 6 plugin with provides several commands (Symfony commands) which can be run with bin/console <command>. To access it, we have to connect to our customer's server which is always different and can take some time to establish a connection.
If the Shopware admin panel would provide an option to run Symfony commands, this would save a lot of time for us.

I don't think that this should be a general feature for the plugin system, i see some potential problems here.
First CLI commands are meant to run in CI context or by running directly in the shell, but in both cases the "user" of those commands is a developer or operator, that is not necessarily the same "userbase", as the users of the administration. So the users of the administration may not be able to judge the effects of running the commands. Also security concern come into mind, not every administration user should be able to call those commands, but what privileges does the user need?
Additionally  there may be arguments that need to be passed to the command, how should they be captured and validated dynamically in the administration?
Lastly there may be a huge difference for CLI and WEB context in terms of the php runtime. It is common that the max_execution_time and max_memory settings for the web/fpm context are considerably slower then for the CLI context, so a command that runs fine when calling over cli may result in timeouts when calling over web. Not even to mention that in some wild cases even the php version may differ between cli and fpm contexts.
IMHO the way better solution would be to handle it individually inside your plugin. In your case your console commands should use some service that implements the functionality, the command should only parse input arguments and provide some console outputs, but the business logic should be encapsulated in it's own service. That it should be rather easy to create a custom controller that makes that functionality available over the API, by reusing the common service. You can then extend the administration to show buttons or stuff like that to run your "commands" by using the API.
This is exactly the way we handle situation like that for the shopware platform itself, for example the plugin lifecycle commands (plugin:install, plugin:activate, etc.) and the cache clear commands are both available as a CLI command and from inside the administration. In both cases the general functionality is encapsulated in a service that can be called by an CLI command or by a controller.
I hope this answer helps you going forward ;)
Kind regards
Jonas

First CLI commands are meant to run in CI context or by running directly in the shell, but in both cases the "user" of those commands is a developer or operator, that is not necessarily the same "userbase", as the users of the administration. So the users of the administration may not be able to judge the effects of running the commands.

If a backend user is able to access system settings like plugins, he should also have access to plugin commands. Additionally there could be new permissions to give a backend user such rights.
Just because they are currently not meant for such cases, this could be considered and this is the reason for this feature request.

Also security concern come into mind, not every administration user should be able to call those commands, but what privileges does the user need?

I don't see any security issues by running predefined commands. I don't say one should be able to run system commands.

Additionally there may be arguments that need to be passed to the command, how should they be captured and validated dynamically in the administration?

I don't see a problem here. Arguments could be passed within forms and validated within PHP. This feature just have to consider that.

Lastly there may be a huge difference for CLI and WEB context in terms of the php runtime. It is common that the max_execution_time and max_memory settings for the web/fpm context are considerably slower then for the CLI context, so a command that runs fine when calling over cli may result in timeouts when calling over web. Not even to mention that in some wild cases even the php version may differ between cli and fpm contexts.

If this happens, then one can switch to a shell and run it there. But you forget all those cases where this doesn't happen.
I don't say the plugin option should replace the current way, it's just an addition.

I am with @keulinho regarding security. In shopware you always get a context at hand that will ensure right usage and right access. On CLI you "only" have the default context. In the past you were forced to use that one or generate yourself a different context that matches more closely your case. Like a SalesChannelContext. So by default everyone right now uses the most elevated context: the default context. This is a real security breach.
You had to exclude some commands as well. system:setup --drop-database is not sth anyone should execute from a webcontext.
Due to work on HEPTAconnect we already had our thoughts on providing single actions in a web and in a CLI context. This is not as easy as it sometimes sound. You can already see that there are event different application/kernels used on CLI and on Web actions. Only by the intention that a command would be cool to use on web doesn't mean it belong there. Output and input is difficult to abstract to make it work in the web.
How would you make it interactive?
Comparing it to laravel actions: they can be run from CLI and web but you have to specify the support. So eventually the plugin/command developer still has to support it on their own. Now you still rely on the good-will of the dev to add support.

I am with @keulinho regarding security.

There aren't any security concerns if your implement it properly.

How would you make it interactive?

As I already wrote above, there could be a form (text input) to define flags and arguments, but it could also be a modal where you can see all available flags and you can check them (checkboxes), so there are predefined fields which can then be validated within PHP. There are not really technical issues to implement it that way. There is just a concept needed how to do that - like with every new feature.

Comparing it to laravel actions: they can be run from CLI and web but you have to specify the support. So eventually the plugin/command developer still has to support it on their own.

That would be fine for us. A developer could opt-in to some commands which should be accessible by the web.
We don't need default plugins to be run via web, just our own (from static-plugins).

We don't need default plugins to be run via web, just our own (from static-plugins).
That make things a bit easier and less concerning.

Regarding interactivity. It is not about flags and arguments. On CLI you have a TTY. You can wait for user input. That won't work that easy out of a single web request.

There aren't any security concerns if your implement it properly.

There hasn't been a way to do it go the proper way NOW within a CLI command to rely on a provided context. As the context heavily impacts the security features you will open up unwanted execution right elevations.
Having tooling around it just ends up in writing a route/controller. When you properly separated code into a service that just relies on input parameter destruction into parameters for a method you will probably have the same amount of work to do to have it on CLI and Web.

On CLI you have a TTY. You can wait for user input. That won't work that easy out of a single web request.

It's technically doable and that's the point.

As the context heavily impacts the security features you will open up unwanted execution right elevations.

As I already wrote, if you implement this feature properly, there aren't any security concerns. But it seems that you don't want to invest your time into this feature. Then just close my request, but don't say it's due to security concerns or stuff.

Having tooling around it just ends up in writing a route/controller. When you properly separated code into a service that just relies on input parameter destruction into parameters for a method you will probably have the same amount of work to do to have it on CLI and Web.

If you implement it properly, then this will be just a little opt-in addition for developers.
The main point, as stated above is probably that you don't want to invest time in such a feature or you don't have such use cases.
So to avoid playing the ball around, just decline my feature request and close it.

But it seems that you don't want to invest your time into this feature.

I am not shopware! So don't take my reaction as one from an owner. I just work a lot with shopware and seen implementations that tried to do SSH over HTTP in a shopware plugin and yes, it worked but no it is not as cool as one might think first.

you don't have such use cases

I have lot's of cases where I want commands to be accessable from the web, but I know the hassle around it and just don't do it. Maybe I got your feature request wrong but there is already everything you need to do it. What would the feature simplify? What use case is yours? What would your command do?


Invalid union type generation

Description:
Bug found in apideck.accounting OpeAPI
Generated Code
string?|decimal?|boolean?|string[] value?;

Expected Code
string|decimal|boolean|string[]? value?;

Steps to reproduce:
Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

We will fix only if it does not complex our code generation logic. Both are logically work in same way.


How do I use full 360 degree rotation instead of -180 to 180

Hey, thanks for the package!
How can I change the degree for orientation.x to use full 360? thanks for the help

360 - degrees(orientation.x) % 360

Thanks!


Model with UUID association gets re-created when other fields are updated

GORM Playground Link
https://github.com/go-gorm/playground/pull/607
Description
I am trying to use UUID's as primary keys, and find that while updating the model that associates with another model, a brand new model gets created, even when the ID field is untouched.
This can easily be observed in the playground PR: A new Company is created, then a User is created with the Company's UUID. Then, we get the User row w/ the Company field preloaded, and try to update the name. Now a new Company is also created.

Duplicate of #6324 and #6356


CLOUD-42315 veth devices might causing unreachable docker error, swit…

…ch containers to net=nost

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1665/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1666/

LGTM

A note for for @mhmxs - don't forget to check whether double expose or expose needed at all https://github.com/sequenceiq/cloudbreak/blob/master/orchestrator-swarm/src/main/java/com/sequenceiq/cloudbreak/orchestrator/swarm/containers/KerberosServerBootstrap.java#L46
Not related to this PR but shall be changed as well.


⚠ Jenkins Plugins Artifactory has degraded performance

In 0bfdc44, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1852 ms

Resolved: Jenkins Plugins Artifactory performance has improved in c892ce5.


Merge to live!

Docs Build status updates of commit 8da2ba1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/concepts/web-viewers-used-by-office-web-add-ins.md
:white_check_mark:Succeeded

docs/reference/javascript-api-for-office.md
:white_check_mark:Succeeded

docs/reference/openspec.md
:white_check_mark:Succeeded

docs/reference/openspec/openspec.md
:white_check_mark:Succeeded

docs/reference/overview/excel-add-ins-reference-overview.md
:white_check_mark:Succeeded

docs/reference/overview/visio-javascript-reference-overview.md
:white_check_mark:Succeeded

docs/reference/overview/word-add-ins-reference-overview.md
:white_check_mark:Succeeded

docs/reference/requirement-sets/word-api-requirement-sets.md
:white_check_mark:Succeeded

docs/toc.yml
:white_check_mark:Succeeded

office-add-in-telemetry-usage-impact-notification.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Atem mini Pro does not provide states

HI, I have the atem mini pro connected and it shows up as a connected source, but my linked devices do not get a status when in PGM or PVM... am I doing something wrong?
in this screenshot camera1 is in PGM on the atem ..

figured it out, configure your Atem device to monitor to only ME1 and enter address of device manually to 1 2 3 or 4.
thanks!

figured it out, configure your Atem device to monitor to only ME1 and enter address of device manually to 1 2 3 or 4.
thanks!


Fix the default value for previousTimestamp.

Description
The default value for previousTimestamp is 1 instead of 0. The playback time of the ogg file created by it is supposed to be strange.
The following is where the initial value is substituted
https://github.com/BambooTuna/webrtc/blob/512b2c5fdbd8fa8734ae8f56962c007632e222b9/pkg/media/oggwriter/oggwriter.go#L73
Is this how to issue a modified PR?
Reference issue
Fixes #1537

Merged! 1ffa87eb0733e7bfc6a50dcd2b2bac7d93c380ad
Thank you so much. If you are able it would be really great if you could write a test also :) thanks!


updated service selector

Cluster density service(normal-ns) template has a wrong pod selector, makes every pod as an endpoint to all service

Nice catch


[Bug] Sanity Bar is missing when you use Mantle

Describe the bug
The Sanity Bar does not show when you use Mantle (Library for Tinkers' Construct)
To Reproduce
Steps to reproduce the behavior:

Use Survival Inc and Mantle
Enter to a world
See error

Expected behavior
you will see how the Sanity Bar is missing.
Screenshots
With Mantle:

Without Mantle:

Game Details:

Forge Version: <IP_ADDRESS>54
Survival Inc: 1.2.7
Additional Mods:

Mantle-1.12-<IP_ADDRESS>

Additional Notes
i have the sanity feature enabled so it's not an user error.

Hmm, the only thing that comes to my mind is that Mantle tries to deliberately overwrite the space above the hearts. Have you tried changing the sanity bar stack to right? (Under Client config->HUD).

the issue persist:

this is my config:
        # The side where the sanity bar will be stacked in
        # Valid values:
        # LEFT
        # RIGHT
        S:sanityBarStack=RIGHT

        # Set to true to enable sanity bar stacking.
        # The stacking basically means that the bar is dynamically integrated into the vanilla HUD.
        # Setting this to false enables absolute positioning using sanityBarX and sanityBarY
        B:stackSanityBar=true

What about the render trigger? Have you tried changing it?

yeah, it seems to fix it (changed to FOOD):

what should we do? left this issue fixed by setting for default S:sanityBarRenderTrigger=FOOD or i leave it open?

Oh okay so I probably know what's wrong. Mantle probably cancels the RenderOverlayEvent for FOOD element to disable it from rendering, and renders it's own health bar. But I'm afraid that the fix would probe to be ultimatimatelly contraproductive. So I guess I will probably just add it to known issues since the fix is really easy.

oh, ok, i just wanted to add that the Sanity Bar is forced to be rendered a bit above, but its just a minor issue,


Added :hover and :focus and others pseudo class inside .btn definition

The reason of proposal started because of :hover pseudo class and it is discussed here

There should be need to reiterate these classes or styles anywhere else. Instead of duplicating them as a mixin, you should be adding on to them or changing the values only as necessary (as we do with our alternate button classes). Button styles should also be just for buttons; if you're using them elsewhere, that could lead to problems, which is why we changed our alerts from 1.4 to 2.0.
If you could present a clearer argument and use case, I'm open to revisiting though.


Wrong colorspace in static png loader

meson build -Dloaders="all" -Dexamples=true -Dstatic=true
Running the PicturePng example with a static png loader outputs an image with the wrong colorspace applied.

The color_type for lode png is LCT_RGBA. so the output looks like the example above.
We can merge https://github.com/thorvg/thorvg/pull/1311 and add a patch that fixes this.

https://github.com/thorvg/thorvg/pull/1321


REST API V2 not including authentication token in Swagger when specified

Seems that something is not correctly set in the REST API with respect to openapi/swagger. Once token is specified using the :lock: Authorize box, the request are not including it when clicking on Try me. It's most likely a missing notation like on all resources:
@SecurityRequirement(name = OpenApiConstants.SecuritySchemes.TOKEN)

See documents API for a working solution.

This was exactly the problem; fixed in #2002.


Fall of communism

Kinds
I have bug of event "fall of communism" where of i have conquer middle of europe with USSR in 1952 , not banquerut or other bad thing, i don't understand why ...

Soviet_Union1953_09_04.v2

USA Win the cold war but in event text USA was lose...
Is this a bug?

What event?

Will close this issue and let it be part of Dissolution of the eastern bloc #643


Matchmaking: move battle logging back to Rooms.global

For now, logging should be dealt by the global room until logging can be
abstracted away from it. This makes it simpler to refactor the logic in
Matchmaker#startBattle to be handled by Rooms.createBattle where it belongs.

Don't merge yet, I forgot unit tests

Added unit tests

Done tweaking it


JS error in Pop by Age issue #1352

thanks for pointing out where the problem is
this pull request was manually merged (with a slightly different solution, a more explicit one)
also, the bulk of commits worth 1 line of payload is of course not acceptable

@angieskazka please add to you contribution doc that PR should contain one commit per req
and may be apply commit naming convention (angular is most popular for now)


Support symlinks and other types in ls

Fixes https://github.com/fsspec/ipfsspec/issues/26
Adds some documentation to reference where to learn more about the gateway rest calls, and fixes an issue where ls would fail when a directory contained symlinks or non directory non file data.
I'm not sure what  raw or shards are, but ls will list them now. I exepct other parts of the library will have issues with dealing with theses as well.

please note that generally the async implementation of ipfsspec should be preferred, and probably the synchronous implementation should be dropped at some point (it's relatively easy to use the async implementation in a synchronous setting, but not the other way around.)

Can you give me an example of how its easy to use async in non-async code? From what I understand you have to create and manage an event loop, which is a lot more code overhead than I want.
Unless I'm missing something and it is a lot easier to use the async variant than I think it is, then I would strongly suggest not dropping the synchronous variant. It's important for immediate feedback when people are working interactively in IPython / Jupyter settings. Also I believe doctests are easier to write with sync code (you don't want to have two lines of setup loop / execute loop boilerplate in a doctest if you just want to access one file).

Ok, maybe the formulation wasn't ideal. To make async code sync, you "just" have to run an event loop and wait for the async code to complete. This has relatively little overhead. On the other hand, if you want to make sync code async, you'll have to create a new thread for every task you start which is much less efficient, especially if you're doing I/O and want to fetch 100s of requests concurrently.
But I agree, there's a bit of boilerplate if you want to make async code look like sync code. Fortunately, fsspec's AsyncFileSystem provides a flag asynchronous which you can use to switch from async to sync API, so in this particular case, it's easy to use. In fact, you'll have the synchronous API by default.
One additional benefit you'll get from the synchronous-from-asynchronous API is, that fsspec allows to pass in multiple requests in one synchronous call (e.g. cat may be called with a list of paths). The sync-async translation is built such that this single synchronous call will spawn multiple asynchronous tasks which will all request their data in parallel, which removes a lot of round-trip time.
An example would be fsspec's HTTP implementation, which is implemented as async internally as well:
import fsspec
print(fsspec.open("http://httpbin.org/uuid").open().read())

or, of course, the AsyncIPFSFileSystem, which you should be able to use in just the same way as the synchronous one.

Ah, I see. Thank you for the clarification. I can just use:
import fsspec
fs_cls = fsspec.get_filesystem_class('ipfs')
fs = fs_cls(asynchronous=False)
results = fs.ls("bafybeief7tmoarwmd26b2petx7crtvdnz6ucccek5wpwxwdvfydanfukna")
print(results)

And that's still using the async implementation. Given that I'm perfectly comfortable with avoiding / dropping the synchronous version.
And the actual async implementation would look like this:
async def test_ipfs_async():
    import fsspec
    fs_cls = fsspec.get_filesystem_class('ipfs')
    fs = fs_cls(asynchronous=True)
    session = await fs.set_session()  # creates client
    result = await fs._ls("bafybeief7tmoarwmd26b2petx7crtvdnz6ucccek5wpwxwdvfydanfukna")
    print(result)
    await session.close()  # explicit destructor

if __name__ == '__main__':
    import asyncio
    asyncio.run(test_ipfs_async())


[Feature]: A separate page for DSA

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like
This page will the help newbie to get started from scratch to learn.
Describe alternatives you've considered
No response
Additional context
No response

go ahead @Vinoth-git-17

The page is created and it was merged with Navbar animation #351


Incorrect display for some cyrillic characters in Terminal

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

Version:
Version: 1.74.0
Commit: 5235c6bb189b60b01b1f49062f4ffa42384f8c91
Date: 2022-12-05T16:37:54.581Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.1.0 - MacOS Ventura 13.0.1
Sandboxed: No
Steps to Reproduce:

Open Terminal
Try to input some cyrillic characters: я, ч, c, т (z, x, c and n in English keyboard)
Here is result:

This bug is reproducing only in Terminal, no problem with file edit.

/duplicate of #166936


Question on ISOmap

Hi, Patrik! I am wondering if the isomap output is a way for obj file viewer to see the texture? Is there a way to visualise the 3D model directly(like utilising the openGL function)?
// This is not an issue, but I don't know where to put it.

Hi Xingyu,
It's in principle just a texture map, if you're a bit familiar with computer graphics. So yes, obj viewer get the texture from there. And for us, it's a convenient representation to store the texture information.
If you want to visualise the model inside the C++ code, you could use my render(...) function, or, maybe better, use OpenGL to draw the Mesh. The Mesh contains all the vertex information necessary for OpenGL to draw it.

Closing this, let me know if you have further questions!


feat: introduce NotFoundError

instead of asserting and returning Optional on get operation in crud, we throw an NotFoundError. in the context of an API request the FastApi errorhandler will catch it and throw an 404 like we have for Invoice- and PaymentError.
In non-api context we can simly try catch the notfound like so:
try:
  url = await get_tinyurl("test")
except NotFoundError:
  # url does not exist do whatever
  pass

its a very much used and well known pattern for fastapi and not only there. it simlifies the code a lot and is used all around.
https://blog.stackademic.com/error-and-exception-handling-in-fastapi-c0949bb42e1b


BrowserRouter.make fails in IE11

Hi.
Sorry for my English. I use a translator.
IE11 throws me an error when I launch the make method of BrowserRouter:
BrowserRouter.make(routes).then(router => {
     console.log ('router', router);
     const app = new App (router)
     render(app, document.querySelector('# root'));
}, error => {
     console.log('error', error);
});
Can you help me?
Thank you very much.

Hello Gabriel!
Have you included babel-polyfill in your bundle?
$ npm install babel-polyfill

And then in your main JS entrypoint:
import ’babel-polyfill’
// And then all other imports, including Tweed’s

Another thing you can try is using the HashRouter instead: Check out the bottom of this page of the docs!

I meant HashHistory 🙂

Yes, babel-polyfill is installed.
I have also tested his recommendation and the same thing happens.
I'll test tomorrow with a clean weback.config, lest the one I have currently may be causing the problem.
I'll keep you informed

Hello,
finally and after carrying all day trying different combinations of configurations, packaging, etc. I think the problem is that I'm not creating a package to serve it with a Node / Express server. That's how it works well in IE11
What I wanted is to be able to use webpack-dev-server and I do not know why this error occurs.
The truth is that I need it to work in IE11 together with webpack-dev-server
His library with tweed-router had seemed very interesting for a new project and as an alternative to ReactJS
In any case, thank you very much for your time.
And thanks for your library, which I hope to use in other projects where it does not require it to work with IE11
Maybe the problem is not yours but webpack ¿?
Regards!!!

I will examine the compatibility with Webpack. Thank you for your kind words. I will close this issue for now. 😊

Hello.
In the end, debugging the code I find that the problem for IE11 seems to be that it occurs with the mutating decorator.
If I comment the lines del archivo Router.js
   @mutating current = null
   @mutating isLoading = false
It works fine, but obviously the router does not work the following times.
Although the babel configuration specifies the transform-decorators-legacy plugin, it does not seem to work.
It's all I've been able to find out. Sorry I can not be of more help.
Regards

Okay! Cool, it seems there is a problem with how tweed-router is built then. I’ll reopen the issue and investigate. Thanks!


local deployment property

mybe  and add in local-model doc, and readme in shenyu master

mybe and add in local-model doc, and readme in shenyu master

Fixed.


[COVID-346]:Fix spelling mistake in ahmednagar maharashtra

Change spelling of ahmednagar in MH

Thanks, but this seems to have been fixed via #429


Authenticated channels

This is reference to #27.
Added Functionality
To avoid eavesdropping of payloads smee.io will require Github's authentication.

User will only need once to login with their Github account and authorize the app.
User can create as many channels they want to which they have only access to.
User cannot access channels until and unless they are logged in from Github.

Preview
This is showing user logging in.

This shows if another User try to access channel of other user they cannot see it and for now just returning simple error.

@bkeepers @JasonEtco @tcbyrd Please review my PR.
Thanks in advance.

👋 Hey @knrt10. This is a great start! One of the options we discussed in #27 was around making protected channels scoped to /:username/:channel-name. Done that way, the unauthenticated channels can still exist and it would still pass the existing tests.
Additionally, I haven't thought this part through this all the way, but do you think it's necessary to add mongoDB/mongoose for this feature to work? If the channel is named smee.io/tcbyrd/channel-name, I'd have to authenticate to GitHub as tcbyrd in order to access any channels in that namespace. We may need to add a database eventually to persist channel names and payloads, but I think right now I think it's ok to just get the auth token from GitHub and use that to verify the user can access any randomized string under smee.io/:username/
Have you thought about that approach?

but I think right now I think it's ok to just get the auth token from GitHub and use that to verify the user can access any randomized string under smee.io/:username/

@tcbyrd I was working on that but the problem that I was facing is in understanding which auth token we want? I mean the secret user enters which configuring the app?

@knrt10 Take a look at how it's done in probot/invite#oauth.js. Basically it gets the session token from https://github.com/login/oauth/access_token and injects that into req.session.token. One thing that may be help to understand is that Smee isn't a GitHub App and doesn't use Probot. It can be used as a generic Webhook receiver, so think of it more like we're just using the GitHub OAuth provider to authenticate a user to a normal web app.

@tcbyrd I did what you asked. No use of mongoDB. Also getting Auth token and protecting routes. Let me update my PR so that you can review.

@tcbyrd I removed mongoDB and still getting auth. Let me update my PR so that you can review the changes.

I updated the PR please review it.

@tcbyrd I removed mongoDB and still using authorization from github. As asked I made the following changes:-
1.) User has to authenticate when they click on Start new channel
2.) If already authenticated they will be redirected to /:username/:channel i.e example
smee.io/knrt10/anything-here
3.) Events will be started and posted on /:username/:channel.
Conclusion
Without use of any database we will be authenticating user and avoid eavesdropping for a user's channel to which they will only access to.
Please review the changes if any.

A few other things to consider…
It doesn't look like the GET /:user/:channel is being authenticated at all. We need a way for the smee-client (which will also require changes in this PR) to pass authentication. I think we should allow clients to pass any valid GitHub token for the given user. For example:
$ curl -iH 'Accept: text/event-stream'  \
<EMAIL_ADDRESS>
In this example mygithubtoken could be an OAuth token that I got from the page rendered when you go to /new from this app, or it could be a personal access token that I got from https://github.com/settings/tokens. All we need to verify is that using the token to call api.github.com/user returns the same user.
We also need to consider if we want to still allow unauthenticated channels. I think we will need to support them for the near term future since so many people are already using them, but I think we could deprecate them in favor of authenticated channels and remove them entirely later. In that case, we'll need to support both /:channel and /:username/:channel for now.

@bkeepers Thanks for review will upload all changes as you asked.

It doesn't look like the GET /:user/:channel is being authenticated at all.

@bkeepers I am autheticating the channel here.
1.) First the check is made whether the user is authenticated or not, if not user will be redirected back to homePage.
if (!req.user) {
        res.redirect('/')
      }

2.) Then a check is made whether the username in parameters of /:username/:channel is same as the authenticated user that is stored in session, if yes they are returned webhooks.html else they receive an error message for now.
if (req.user.username !== req.params.user) {
          res.json({
            message: ' Sorry you don\'t have access to this URL '
          })
        } else {
          res.sendFile(path.join(pubFolder, 'webhooks.html'))
        }

. If you mean anything else please correct me. I may not have understood it correctly.

@tcbyrd please check changes I made.
New Features
1.) Login button for unauthenticated users.
2.) Logout button.
3.) If user logged in and types smee.io/whatever-i-want gets redirected to smee.io/:username/whatever-i-want

@jasonEtco can you please review this too.

@bkeepers @JasonEtco any updates on this?

still relevant

Yep

@knrt10 Thanks so much for the work on this. We do want to implement this feature, but feel like this PR isn’t quite the implementation we’re looking to maintain long term with some other changes we'd like to make to Smee. Sorry for taking so long to get back with you. Thanks for your contribution and we'll ping you on a new PR for this feature if you'd like to continue working on it!

This seems like a good idea though?
It would be nice for folks to not see payload and channels.


Revert "Add OS user gardener to the VMs"

Reverts gardener/gardener#1431
/cc @vlerenc @timuthy @rfranzke

The rel-notes from the original PR has been removed, they were
improvement operator
A user named `gardener` is deployed on every shoot node to ease ssh access to it.

noteworthy user
:warning: The worker nodes will be recreated with the next reconciliation of the shoot cluster.

Thank you @vpnachev.


Save and restore window dimensions

This fixes #28

Looking good! One feedback: what do you think of making the config path configurable? It'd be nice to be in a subfolder for hackermenu: path.join(userDataDir, 'Configuration', 'window-state.json')

👍good idea, let me add something. Will update the PR.

PR is updated. Folder and filename are now configurable.
What do you think?

Ok I just gave the API another pass.
There is now only one parameter instead of three. You can pass in a path and/or a filename. The later is omitted here because it defaults to window-state.json.
The path will be created (including all subdirectories) if it does not exist.

@mawie81 :+1: Thanks for the contribution!


Generate API docs for EF Core 2.2

We need the API for the 2.2.0 version of the packages 2.2.0 in the API browser.

@dendeli-msft is this something that you can help with? I noticed that for .NET Core and ASP.NET Core, version 2.2 is already listed in the API browser.

+1 I want this too. Any estimate on when this will be done? :trollface:

@mairaw - Can you guide us how to get this published or who would be right person to contact regarding this?

Fixed in #63


operator project-quay (3.9.0-nightly.20230510)

Add 3.9.0-nightly.20230510 to community operators

/merge possible

/merge possible


Error: Cannot find module '@feathersjs/authentication' after using a new generator with old project

I installed the feathers generator v3.2.0. But when I tried to to generate a service in an older feathersjs project I keep getting the below error when I run npm start.
Error: Cannot find module '@feathersjs/authentication'
How to use a specific generator for each project?
why do the documentation suggest to install the generator globally ?

You have to follow the migration guide by running feathers upgrade or update the package names manually.


Wrong year in references

The README contains:
Wang, T. and Goldberg, I. (2017). Improved Website Fingerprinting on Tor. Cheriton School of Computer Science. Available at: http://www.cypherpunks.ca/~iang/pubs/webfingerprint-wpes.pdf

However, this paper is from 2013, not 2017.

Thank you! I'll correct this


[ja] add Japanese translation for "Debugging DNS Resolution" page.

Let me add Japanese translation for "Debugging DNS Resolution" page.

Netlify build fails.

content/ja/docs/tasks/administer-cluster/dns-debugging-resolution.md:21:1": failed to render shortcode "codenew": failed to process shortcode: "/opt/build/repo/layouts/shortcodes/codenew.html:14:16": execute of template failed: template: shortcodes/codenew.html:14:16: executing "shortcodes/codenew.html" at <readFile $filename>: error calling readFile: stat /opt/build/repo/content/ja/examples/admin/dns/dnsutils.yaml: no such file or directory

Suggestion: copy content/en/examples/admin/dns/dnsutils.yaml to content/ja/examples/admin/dns/dnsutils.yaml,
and translate it into Japanese if needed.
@skmkzyk PTAL!

/assign
/cc @bells17 @riita10069
Can you file an issue for this PR?

Hey @skmkzyk,
Do you need help with fixing build error and addressing suggested changes? Please contact us on #sig-docs channel of Kubernetes Slack.
Feel free to /reopen this PR when you are ready to move forward.
/close


Automatic discovery of local volumes

There should be a way how to automatically detect a device on a node usable as a local volume without going to the node and manually mounting / symlinking it.
Users should configure used devices globally, for whole cluster, instead locally on every node.
@msau42 @ianchakeres @cofyc @dubuc @NickrenREN @dhirajh (do I miss anyone?)

I have an idea: udev already has fairly flexible matching capabilities and it can create symlinks in /dev. E.g. /dev/disk/by-id is created by udev automatically when machine boots or a new device appears.
Can we re-use these capabilities to create symlinks in say /dev/disk/kubernetes/local? Our "provisioner" DaemonSet could install udev rules from a ConfigMap (configured by the user) and then just wait for the symlinks to appear (in the same way it does today).
Example of the simplest udev rule to match every disk that's not /dev/sda and create a symlink, say /dev/disk/kubernetes/local/sdb, for it:
SUBSYSTEM=="block", KERNEL=="sd[b-z]", SYMLINK+="kubernetes/local/$NAME"

That's what we would use in all our demos and it looks pretty readable.
Real world example, using stable symlink name that won't change after reboot (like /dev/disk/by-id), matching only disks, not partitions, and separating SSDs from HDDs:
SUBSYSTEM=="block", KERNEL=="sd[b-z]|sd[a-z]*[^0-9]", ENV{ID_SERIAL}=="?*", ENV{ID_BUS}=="?*", ATTR{queue/rotational}=="1", SYMLINK+="local-storage/hdd/$env{ID_BUS}-$env{ID_SERIAL}"
SUBSYSTEM=="block", KERNEL=="sd[b-z]|sd[a-z]*[^0-9]", ENV{ID_SERIAL}=="?*", ENV{ID_BUS}=="?*", ATTR{queue/rotational}=="0", SYMLINK+="local-storage/ssd/$env{ID_BUS}-$env{ID_SERIAL}"

The only downsides I see are:

udev rules are not nice to read or write. There is no "debugger".
Installation of udev rules to the host from the local provisioner container might be hard. Installation itself is easy (just put a file to /etc/udev/rules.d), but then I need to call udevadm trigger on the host. I'm investigating a way how to do it safely.

Any opinions or doubts?
cc @gnufied @tsmetana

We already have in tree plugins calling udevadm trigger although I'm not sure if safety was thoroughly evaluated when it was added.

volume plugins typically don't run in containers (and if they do they run via nsenter?)

If the CSI replacement for in tree needs to still call udevadm, then this issue still needs to be solved

The only thing that concerns me about automatic discovery is that if you don't craft the rules correctly, you can easily expose/corrupt data you didn't intend to.  For example, if you run multiple storage plugins on one node and don't take into account the device naming for each plugin

/cc

Just for the record, udevadm trigger from a container is possible with these volumes:
docker run -ti -v /etc/udev:/etc/udev -v /run/udev:/run/udev -v /lib/udev:/lib/udev -v /dev:/dev -v /sys:/sys udev-image sh

/etc/udev, /lib/udev: use host's rules during trigger
/run/udev: access host's udev socket
/dev, /sys: access devices and their information is /sys

And udev-image is just:
FROM fedora
RUN yum -y install udev

The only thing that concerns me about automatic discovery is that if you don't craft the rules correctly, you can easily expose/corrupt data you didn't intend to.

Yes, that's correct. We need strong guidance and examples to match only the necessary drives, e.g. by matching non-partitioned ATA drives only, these are always local.