Consider blending form-based designer with rich preview

Open API Designer
We are currently building a simple form-based design tool, with code preview on the right.

Swagger Editor
The Swagger Editor project has a code editor on the left with a rich preview on the right.

Hybrid approach?
What are some thoughts and considerations about possibly combining the form-based designer with the rich preview, for a best of both worlds?

Would it make sense to give users an option to toggle between json preview and rich preview?
The form field on the left could be divided into sections, since the page is getting really long.

The form field on the left could be divided into sections, since the page is getting really long.

@bajiat, lets open that as a separate issue.

I added a tab for rich preview in 0e4fad3, but actually producing a rich preview isn't implemented. I tried to use swagger-ui, but couldn't get it to work yet.

@tulir lets focus on the main schema fields for now. This issue is mainly for discussion.

+1


Add a minimal pyproject.toml following pep-0518

This allows docopt to be installed via pip if setuptools
is not yet installed in the environment. Without this, projects depending on docopt would have to make sure that setuptools is already installed before trying to install dependencies, even if these projects do not use setuptools themselves.

Currently, this will break editable installs (see https://github.com/pypa/pip/pull/6370). Just FWY. The fix will be in the version of pip after 19.1.1.

Since this project has been abandoned I'm closing this PR.


[VL] Fix process_setup_alinux3 arrow CMakeLists.txt path

What changes were proposed in this pull request?
Velox moved third_party/CMakeLists.txt to CMake/resolve_dependency_modules/arrow/CMakeLists.txt. The original sed command will give an error. Upon verification, it is now confirmed that there is no need to modify ${CMAKE_INSTALL_LIBDIR}, as its value is already set to lib64.
How was this patch tested?
N/A

@Yohahaha Could you help to check this change?


use read syscall directly to get character

Fix issue #910 .

Thanks, I'd prefer to have the comment as the commit message, can you move it?

Done.

Oh well, it doesn't compile for Windows.
> GOOS=windows make release
cd /Users/jg/.vim/plugged/fzf/gopath/src/github.com/junegunn/fzf/src && go get -tags ""
# github.com/junegunn/fzf/src/tui
tui/light.go:256: cannot use fd (type int) as type syscall.Handle in argument to syscall.Read
make: *** [deps] Error 2

We might need to move getch code to util_unix and util_windows.

Hmm, I just work out syscall.Read for different platforms instead.
BTW, light.go isn't for windows apparently, because it gets input from /dev/tty which doesn't exist on windows. For now, we disable --height option on windows, so LightRenderer won't be used on windows. I think we should add +build !windows to light.go.

Thanks, you're right, I think it's good enough for now. I'll merge your commit to devel branch first.


Generate Token request fails

First of all, thanks for this package.
I've tried using it, but apparently the token generation method fails with the message:
{
    "error": "invalid_client",
    "error_description": "Client credentials were not found in the headers or body"
},

While debugging this, I've notice that the request builder does not add the Content-Type header so I tried adding it manually and it seems to work.
func (c *Client) GenerateToken(ctx context.Context) (*GenerateTokenResponse, error) {
        // ...rest

	header := http.Header{}
	header.Set("Content-Type", "application/json")

	builder := c.requestBuilder.
		WithMethod(http.MethodPost).
		WithPath("/authorize/token").
		WithHeaders(header).
		WithBody(req)

fixed


I am not able to install bash shell on windows 10 pro V1511

I am using windows 10 pro version 1511. I am trying to Install and Use the Linux Bash Shell but i didn't get the option "Windows Subsystem for Linux (Beta)" on the Windows Features. Is this feature unavailable on this windows version or i have to use lower then this version to install bash shell? Can any body help me what is the problem?

@punyaruchal hi dude, you need Windows 10 "Redstone" (preview for now) to install WSL

Yeah, the way to do it is to join the insider program and then move the slider in your windows update up to fast (and put the OS into developer mode).

Version 1511 does not support WSL. You must be on version 1607 (anniversary update) or higher to use WSL

@nlogozzo thank you for your reply. Now I have installed the latest Win10_1703 creator update and its working fine.


Python: purge 2.6 and old modules

Python 2.6 is unsupported, the expression is broken, and older modules (backports and such) are causing quite a headache.

Closed via #22732


Missing documentation from Libsubmit

When we split the libsubmit repo out of parsl we also split key documentation that is necessary in Parsl.
We need to move this documentation back in either via interproject sphinx links, or even via adding libsubmit in via git sub-repos.

This is fixed. I added libsubmit as a sub-module so that doc builds include libsubmit docs.
Sphinx does not allow import of docs from outside the project so this is the only way I can see this working.


Added enchantments

+autosmelt
+repellent
+shimmer
+soulbound (dummy, no handler)
+wither (weapon/arrow)
+xpboost
Everything works in simple tests, but should be "pushed" a bit more for bugs

Thanks for this, merging now. I'll make the final two tweaks


[Universal] - unpin patch versions for dotnet runtime & core

Dev container name:

Universal

Description:
This PR does the following:

Unpin the patch versions for dotnet runtime and core

Looks like the tests are failing, @gauravsaini04 can you take a look?


Cannot open TERMINAL by modifying the project name

VSCode Version:1.4.4
OS Version:mac 10.14.5

Steps to Reproduce:
I opened a project through vscode. At this time, I changed the folder name of the project. Once again, I returned to vscode. I could n’t open TERMMINAL, and the project in vscode was still the folder name before modification

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

This is probably https://github.com/microsoft/vscode/issues/2259
@Aisen60 any error popping up?

@bpasero
Maybe is this question #2259
However, I did not delete the project, just update the project name.
Steps to Reproduce:

I opened a project through vscode.
Modified the name of the system folder.
Go back to vscode and find that the folder name has not been modified.
Unable to open the command line.

Step video:
https://github.com/Aisen-cai/Test/blob/master/gif.mov

Thanks, this seems terminal specific, waiting for Daniel to comment.

This is acting as designed imo, if you change the workspace folder you will break everything in the window anyway as it's like deleting it.


chore: upgrade docusaurus to v3.0.1

Fixes #566.
Description
This is a breaking change, for details see
https://docusaurus.io/blog/releases/3.0

Motivation for change?
Docusaurus v2.x is no longer supported and will be EOL in January.

What was changed?
Mostly just dependencies. Some markdown changes required to keep MDX3 happy.

Note that _commands.md is in a funky state - it's checked-in, but it is also
auto-generated. My code block PR wasn't sufficient, I had to make some more changes
locally to keep the parser happy. These need to be propagated back to stacks.js.
Checklist

[x] Conventional commits were used
[x] People were tagged for review

Build is currently failing with:
docs/references/_commands.md"
Cause: Could not parse expression with acorn
Details:
{
  "cause": {
    "pos": 3323,
    "loc": {
      "line": 90,
      "column": 16
    }
  },
  "column": 17,
  "message": "Could not parse expression with acorn",
  "line": 90,
  "name": "90:17",
  "place": {
    "line": 90,
    "column": 17,
    "offset": 3323
  },
  "reason": "Could not parse expression with acorn",
  "ruleId": "acorn",
  "source": "micromark-extension-mdx-expression",
  "url": "https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression#could-not-parse-expression-with-acorn"
}

I think some more changes are required to argparse.ts in stacks.js/cli


Autozoom and Refresh

Hi, we was working with the app and have two additional questions:

Map autozoom: ( it´s possible to zoom selected note?, this option work with "map area" using RC ) Actually if i select a Note + RC area the query is too big... So maybe zoom selected Note could solve this.
Refresh by time: Fetch notes and don't want to move the map, refresh the fetched notes to update with actual filter ( something like Fetch notes on map view changes but without the need to change the view ). Ex: I fetch 100 notes and begin to solve them, the solved notes should disappear from the list with some auto refresh like 5min or 10min

Thanks again! :-)

solved notes should disappear

Right now you can make them disappear. First, you can have a filter that shows only notes with a last action being something other than closed:
action != closed
$

Then you can close the note using some other app. Then you refresh the note by clicking its id in the table.
The drawbacks are:

This refresh is not yet persisted in the browser's note database. If you reload the page, the old state of the note will reappear. You'll have to rerun the entire query and reload all the notes you want to see.
Maybe you don't want to rerun the query because it was made by a bounding box and you already lost the bbox by moving the map around.
You have to click on every note. Maybe that's too many notes or you don't want to look for them in the table.

I can add a button to refresh selected notes. I'm not sure if auto refresh by time is a good idea.
If you have a set of notes fetched and you want to work with exactly this set, you can switch to Plaintext tab and press Copy note ids button. Now if you fetch notes from this tab it's going to work like a refresh of all notes.

Map autozoom

You say you "select a Note". If it's just one note that you see in the table, you can repeatedly click it and the map is going to zoom to it.

I can add a button to refresh selected notes. I'm not sure if auto refresh by time is a good idea.

Maybe refresh button could work ( like auto-refresh but manual )... So i can refresh Notes when other people are solving them in the same bbox ( like bbox some city, check only open, fetch notes and begin to work on them... I can solve the note on Josm and refresh the list to see what are available... Not the best option but help a lot when you work online with some team ).

If you have a set of notes fetched and you want to work with exactly this set, you can switch to Plaintext tab and press Copy note ids button. Now if you fetch notes from this tab it's going to work like a refresh of all notes.

Ok, nice tip... I'm going to test this.
Thanks!

Map autozoom

You say you "select a Note". If it's just one note that you see in the table, you can repeatedly click it and the map is going to zoom to it.

Yes but :-) ... Actually "Map autozoom" have: disable / to notes on screen in table / to all visible notes ... I see i can click two times on a Note to zoom, but an additional option "to selected notes" could save time when to check note->max zoom->josm rc
Thanks!

Added Map autozoom > to selected notes

Works perfect! Thanks a lot!

I don't want autorefresh because I don't want notes to disappear without users doing anything. If there's a filter enabled, an updated note may no longer match the filter, then it has to be removed.
Maybe I'll add some indicator that the note was updated without displaying its new state automatically.

Maybe I'll add some indicator that the note was updated without displaying its new state automatically.

That could work too

Manual note updates are now saved to local db.

Added checking every five minutes if note was updated. There should be a growing progress indicator under the note id. Once it fills up, the check is made. If there was an update, a small circle appears above the id.

This app it's getting better every day... Thanks a lot for your time


Date data type giving off-by-one date error

Problem with Date data type handling when it gets deserialized. Specifically DataTypeDate.deserializeBinaryBulk(). All of the Date values I get back from this ends up being 1 day prior. For example, 2020-01-01 (as seen in the CH client) is returned to me as a java.sql.Date with the toString() of 2019-12-31T00:00:00.000-0800. I'm seeing that the DataTypeDate.epochDate as having a value of 1969-12-31, or millis of -86400000.
There's clearly an off-by-one somewhere, I'm just not quite sure where, whether it's in the Joda LocalDate, or this DataTypeDate. The Joda LocalDate takes the 0 instant with the DateTimeZone (in my case America/Los_Angeles) and the result is a LocalDate with a Chronology of UTC, and a value of 1969-12-31. If I use a DateTimeZone.UTC in creating a LocalDate, it works fine. If I simply give it a text string "2020-01-01" it works fine.
Looking further into LocalDate, in the constructor, it gets the millis of 0 from American/Los_Angeles and converts it to millis in UTC. This is think is where the off-by-one ends up happening, the 0 instant is taken as 0 millis at UTC-8, which thus gives a date of 1969-01-01.
If the Server is set to UTC and SettingKey.use_client_time_zone is true, then this won't be a problem, or if the client default timezone is UTC and SettingKey.use_client_time_zone is false then everything is fine.
Client local timezone is America/Los_Angeles and Server local timezone is America/Los_Angeles.
So, I think the solution is to simply create the epochDate as new LocalDate("1970-01-01") or new LocalDate(0, DateTimeZone.UTC).
JDBC version in pom.xml
2.0-stable
ClickHouse version
CH version <IP_ADDRESS>.
Error  logs
None
Steps to reproduce
ResultSet rs = centralChStatsJdbcTemplate.getDataSource().getConnection().createStatement().executeQuery("select toDate('2020-01-01') as dateValue");
rs.next();
rs.getDate("dateValue");

Gives me a java.sql.Date with value of:
2019-12-31T00:00:00.000-0800
Other descriptions
I do notice that neither QuerySimpleTypeITest nor QueryComplexTypeITest seem to have a test just for the Date data type.

@Drizzt321  thanks,  seems to be a bug,  I'll look at it.

@sundy-li was this bug fix released? I am using 2.2-stable version and I am observing the same issue. I am using ClickHouse <IP_ADDRESS>


Error : importing external CSS styles

Error : importing external CSS styles
I am working with HTML and Bootstrap v5 to send an email and display Bootstrap v5 CSS styles, but mailpit cannot load the Bootstrap styles correctly. The same issue occurs with emails sent from Laravel.
In the HTML Source tab, I can see the code in more detail, but in the HTML tab, the Bootstrap 5 styles are not applied correctly. I have tried adding the --block-remote-css-and-fonts flag as per the official documentation to fix the issue, but the problem persists.
This is the tab: HTML Source

This is the tab: HTML Source

This is the expected result:

It should be working as-is because remote CSS is not blocked by default. Can you please attach a sample message (which I can feed into my Mailpit) to test? Thanks.

This is a test message I am making.
message-test.txt
I noticed that this error appears in the browser console, it could be the issue.

I am currently using Laravel 8.x and PHP 7.4.33 from Laragon, as shown in the image.

I did one last test, now in MailHog, and it works correctly when viewing the HTML.

Bug confirmed - leave this with me!

Thanks for reporting this bug - it's actually been broken for several months so I'm surprised nobody reported it earlier! The fix has been fixed in v1.21.4. Please let me know if it is working again for you? Thanks.

I ran two tests using version v1.21.4, and the issue was successfully resolved.
Cool, bro, it works.
This is test number one

This is test number two

Perfect, thanks for testing and the quick confirmation!
Regarding using external stylesheets (in general), please note that external CSS files is not the recommended approach as popular web clients like Gmail do not support it. And of those that do,  most do not support modern CSS like bootstrap (so some features may not work). If you're going to be using it, then keep in mind that there will be a significant portion of users who will not have any styling applied.
I'll close this issue now. Thanks again for reporting it!


Fix for #593 by exempting csrf for SSO

Given that the SSO providers are authenticating the request (by definition), I don't see a need for CSRF on this blueprint. Otherwise, I didn't have a good solution to forward the CSRF token to OneLogin and back :(

Coverage increased (+0.003%) to 60.902% when pulling d46f4f982cf531d9e9ed54649b283a623b195360 on crruthe:fix_csrf_593 into 32efae8e5fcb573df911b1dfe1cbe9765841c384 on Netflix:develop.


Enemy logic

enemy is controlled by keyboard for now

https://user-images.githubusercontent.com/12520186/199902352-6246d3e9-0c9b-4b39-a97e-e26453475f77.mov


Getting error after shopware6 containers gets ready

Hi Team,
I am facing an issue, where on the container log i am getting the below error
`--
Set and compiling theme "Storefront" (1294....) as new theme for sales channel "Headless"
Set and compiling theme "Storefront" (1294.....) as new theme for sales channel "Storefront"
fatal error: unexpected signal during runtime execution
[signal SIGSEGV: segmentation violation code=0x1 addr=0x48 pc=0x7f8198d6896e]
runtime stack:
runtime: unexpected return pc for runtime.sigpanic called from 0x7f8198d6896e
runtime.throw(0x8cd2c4, 0x2a)
/usr/local/go/src/runtime/panic.go:1116 +0x72
runtime: unexpected return pc for runtime.sigpanic called from 0x7f8198d6896e
runtime.sigpanic()
/usr/local/go/src/runtime/signal_unix.go:726 +0x4ac
goroutine 1 [runnable]:
runtime.main()
/usr/local/go/src/runtime/proc.go:114
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:1374 +0x1
--`
Container is executed the installation script successfully only after that when try to access the shop we are getting 503 service not available.
Image is shyim/shopware:<IP_ADDRESS>
`FROM shyim/shopware:<IP_ADDRESS>
ARG APP_ENV
ENV APP_ENV=${APP_ENV}
ARG APP_SECRET
ENV APP_SECRET=${APP_SECRET}
ARG INSTANCE_ID
ENV INSTANCE_ID=${INSTANCE_ID}
ARG APP_URL
ENV APP_URL=${APP_URL}
ARG MYSQL_DB_HOST
ENV DATABASE_HOST=${MYSQL_DB_HOST}
ARG MYSQL_USER
ARG MYSQL_PASSWORD
ARG MYSQL_DATABASE
ARG DATABASE_URL
ENV DATABASE_URL=${DATABASE_URL}
ARG ADMIN_USERNAME
ENV INSTALL_ADMIN_USERNAME=${ADMIN_USERNAME}
ARG ADMIN_PASSWORD
ENV INSTALL_ADMIN_PASSWORD=${ADMIN_PASSWORD}
COPY .docker/shopware.conf /etc/nginx/sites-enabled/shopware.conf`

I updated supervisord and compiled it with Go 1.20 and it works for me. So I will close this.

What changes you made? May you please share with us so that we can implement the same. @shyim


lodash: changed _.words() method

https://lodash.com/docs#words
https://lodash.com/docs#_ (description of the chainable wrapper)

@chrootsu thanks mate!


Decorators refactoring

This PR delete the Decorators.tsx file ( to avoid conflicts during merges and rebases ), and split its content in more files. It also updates component stories in order to exploit the refactored decorators.
Now decorators become more generics and their name describe their behaviour to avoid duplicated ones. However in some cases specific decorators for specific components have to be still used.

/deploy-staging

/rebase

/rebase

/deploy-staging

/rebase

/deploy-staging

/deploy-staging

/deploy-staging

/deploy-staging

/deploy-staging

/merge

/rebase

/merge


Remove font-awesome packages

Bundle size

category
before
after

Parsed All
337.33 KB
306.17KB

Gzipped All
116KB
105.96KB

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


"Can manage motion metadata" should not be able to create, modify or delete

…/…/participants/groups
Bug description

People belonging to a permission group with "Can manage motion metadata" can also create, modify and delete motion blocks.

Expected behavior

Can manage motion metadata → Only manage should be possible, means: select/deselect blocks that are already created, but not create, modify or delete.

As far as I can see the backend already implements this restriction on motion_block.create, motion_block.update and motion_block.delete, so while the buttons are enabled in the client, the backend does throw a missing permission error when the user attempts to perform these actions.
This only requires that all buttons that currently mistakenly use that permission are changed in the client, nothing more


Allow code-folding of JSON response bodies

Did you search for existing issues already?
yup!
Is your feature request related to a problem? Please describe.
Not an issue - purely a QoL enhancement
Describe the solution you'd like
Right now, it's pretty easy for a response body to overflow the length of the response pane in the main slumber view. Scrolling is easy as is filtering, but code folding might be a nice way for users to move about the response.
Describe alternatives you've considered
None outside of piping the result of a singular slumber request to something like otree
Additional context
Maybe there's a way to leverage otree inside the response pane? 🤷

maybe tui-rs-tree-widget?

I had originally looked into tui-rs-tree-widget when adding the tree view to the left Recipes pane. I decided not to use it because the amount of glue code required to make it work with Slumber's data structures was about the same complexity as just reimplementing it myself. We could reuse the tree code from that for a JSON explorer. In terms of a third party library, I was thinking of something more all-inclusive, where you just give it a serde_json::Value and it makes it all pretty and foldable for you. Probably doesn't exist though.

I've decided not to build this into Slumber. Instead you can use an external pager to navigate bodies (see #404). Long term I'd like to find a way to embed external programs within the TUI to make that even easier.


errbot: fix build

Motivation for this change
Build was broken due to version restrictions requiring older versions of cryptography and pyOpenSSL. These restrictions are not needed with python >= 3.4,  removed.
/cc ZHF #36453
/cc maintainers @fpletz @globin
Things done

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

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

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

fixed in 679580be35051d33887b9af626c3bc72420e0718 , closing


⚠ Bofrost.at has degraded performance

In f48e3a2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1277 ms

Resolved: Bofrost.at performance has improved in 1e8b902 after 6 minutes.


Feat: Setting up Security

[ ] Check access control
[ ] Configure WAF
[ ] Check Symfony user access control

Done in #3


buildDloManifest auth fix

This gets another couple of functional tests to pass.
I also added ctx.copyAuth so that we aren't copying X-Auth-Token everywhere and it's more flexible "for the future".

Fixes #176

#180 would fix this


remove extension from recommended list

yes, i have another PR out for it.@Charles-Gagnon

Pull Request Test Coverage Report for Build 811520306

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

Totals

Change from base Build 811516166:
0.0%

Covered Lines:
26471

Relevant Lines:
55318

💛  - Coveralls


Error fullscreen embedded dashboard

When I click on fullscreeen of my entire embedded dashboard, I got loading icon that never stop
How to reproduce the bug

Go to your embedded dashboard
Click on the three dots at the top right of the dashboard
Click on 'fullscreen'
See error

Expected results
Two options :
1- Don't have the option of fullscreen
2- Display the dashboard correctly
Actual results
loading icon
Environment
(please complete the following information):

browser type and version: all browers
superset version: 2.0.0
any feature flags active: EMBEDDED_SUPERSET

@ShaliniIruvuru have you tried with an embedded dashboard ?

@ShaliniIruvuru Did you manage to reproduce the bug?


Add "Create GIF" to the gallery?

Hey @puckey, what would it take to add the "create a gif" process to the gallery page? It'd be nice for people to get GIF's whenever they want.
I tried to figure it out myself, but I don't know preact well enough. It seems like the createGif component is tried in to the "Playback Flow", but I'm not sure how to decouple them.

I implemented this in the gallery-gif branch. It adds a 'Create GIF' button to the bottom right on the gallery page. (hidden on mobile)
Preview: https://gallery-gif--dance-tonite.netlify.com/
Feel free to merge after testing!

Great, thank you! I tested on all major Mac & PC browsers, all looks good. I've merged and deployed live.


New package: TelegramFZ-LLC.Unigram—TelegramforWindows version 9.6.8706.0

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/115761&drop=dogfoodAlpha

I test apps and it works


Release without jcenter

Dependancy removal request
Jcenter will shutdown and it is not stable at the moment causing android builds either debug or release APKs to fail. Jcenter is used in the build.gradle file
Just creating an issue so we can track when a version without jcenter can be pulled for our app releases.
Path: react-native-action-sheet/android/build.gradle
Code :
repositories {
    google()
    jcenter()
 }

Platform: Android

Thanks for the feedback
Feels free to open a PR


[bug] verify that "Browser Steps" correctly identifies a 404 or other situation

[bug maybe?] very browsersteps correctly handles 404

FYI after this fix I had to check the "Ignore status codes (process non-2xx status codes as normal)" option on both of my watches, otherwise they were failing with 4XX errors even though the sites load perfectly fine.


Lost tables when load xml if default value of some fields included "<" or ">"

the default value or comment  include  "<" or ">",  and export to the xml,then import the xml, will cause the tables lost.

Shall be fixed now :)


Editor built-in linter complains about non empty rulesets

I am reporting a bug where it claims an empty rule set, when it is not empty but contains dynamic prop replacement.

Stylelint does not complain on the command line about this.

What CSS is needed to reproduce this issue?

<style jsx>{`
  .hero {
    background-image: url(${image});
  }
`}</style>

What stylelint configuration is needed to reproduce this issue?
I am using the default configs:
"stylelint-config-standard": "^18.2.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-processor-styled-components": "^1.3.1",
"stylelint": "^9.2.0",
The error is shown in combination with style-jsx
Visual Code Version Info:
Version 1.22.2
Commit 3aeede733d9a3098f7b4bdc1f66b63b0f48c1ef9
Date 2018-04-12T16:38:45.278Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

@pke What's the language mode the editor is in? HTML or JavaScript React? Can you paste a complete sample?
I tried the sample of https://github.com/zeit/styled-jsx#getting-started, and that doesn't show errors (as we don't validate css in jsx).

The editor is in JavaScript mode.
I have the feeling it not always happens. Today it seems to be gone. Need to investigate more.
Thats the complete file:
import React from "react"
import PropTypes from "prop-types"

const Hero = ({ image, children }) => (
  <section className="hero" image={image}>
    <style jsx>{`
      .hero {
        height: 320px;
        color: black;
        background: no-repeat 50% 50%;
        background-size: cover;
        position: relative;
      }
    `}</style>
    <style jsx>{`
      .hero {
        background-image: url(${image});
      }
    `}</style>
    {children}
  </section>
)
Hero.propTypes = {
  image: PropTypes.string.isRequired,
  children: PropTypes.node,
}
export default Hero

@pke I guess this is an error thrown by https://marketplace.visualstudio.com/items?itemName=AndrewRazumovsky.vscode-styled-jsx-languageserver.
If the error happens again, try disable that extension. If the error is gone, report issues to that extension. If not, feel free to reopen to create a new issue.


Row Count

Hi,
Section is using array's element of 0th index as a result number of rows count has decreased by 1...its starting from element from element of index 1.
Kindly resolve this or share a solution.
Thanks.

Duplicate of #12


new version of chronos and fixing local predictions by name and ID for datetimes

Tests pass now. Please, review again.

@unmonoqueteclea, you should now have write access, so you can proceed to merge if that's OK.


feat: test for simp problem

This will fail unless we have a fix!

Copying my Zulip message here to make sure we find it in the future.
I investigated the examples in this issue, and I now understand what is going on. It is ugly :( Here are my findings:

The issue lies in the discrimination tree. foo is not even tried when using simp [foo].

simp treats non-constant arguments differently. When processing a non-constant, simp will index function arguments as wildcards, mimicking Lean 3's behavior. This approach was motivated by issue #2670. The idea is that a non-constant is essentially a "local theorem," and its arguments may be messy. For example, given (h : f (a,b) (a,b).2 = (a,b).2), if we use simp [h] and index the argument (a,b).2, it will produce a bad index.

simp has special support for identifiers that correspond to constants. simp [foo] is shorthand for simp [@foo]. Thus, the left-hand-side arguments of foo are indexed. The following index is added to the discrimination tree: [Quiver.Hom.unop, *, *, *, *, Opposite.op, Quiver.Hom, *, *, Opposite.0, *, Opposite.0, *, *].

In simp [(foo)], metavariables are created for foo's implicit arguments, and it is not elaborated as a constant, but as a local theorem. Thus, the index generated is: [Quiver.Hom.unop, *, *, *, *, *].

In simp [foo'], foo' is processed as a constant, but the theorem statement for foo' uses a no_index, resulting again in the index is: [Quiver.Hom.unop, *, *, *, *, *].

In simp [foo.{v+1}], foo.{v+1} is not an identifier, and simp's support for treating it as @foo.{v+1} does not kick in. Metavariables for implicit arguments are again added, the result is not a constant, and again the index [Quiver.Hom.unop, *, *, *, *, *] is generated. Note that simp<EMAIL_ADDRESS>fails, as it is elaborated as a constant. Providing the universe is not directly helping; it just disables the code that treats identifiers like foo as @foo in simp arguments. I acknowledge this is horrible and counterintuitive.

This is all quite messy, and it is not clear how to proceed. I see the some options:

Create a new diagnostic section for simp arguments that were never used, and show their index.

Allow users to instruct simp to use Lean 3 style indexing for constants such as foo. This would result in the simpler index [Quiver.Hom.unop, *, *, *, *, *]. We could even suggest this option for arguments that have a non-trivial index and were not used. Right now, simp [(foo)] is a very contrived way to accomplish that, but binder annotations are lost in the process.

Create a new diagnostic section for simp arguments that were never used, and show their index.

Related: Just yesterday I was wondering if we could have a linter that warns about unused simp arguments. I assume it has to be a linter, and not a warning that simp can emit, in case the simp invocation is used multi times (e.g. after <;>). (I'd guess that simp can put in the info tree whether it used the argument, or even how often, and then the linter can aggregate over multiple entries from multiple runs of the tactic.)


[Bug]:appwrite storage file upload not working

Is there an existing issue for this?

[X] I have searched the existing issues

Description
when clicking and adding a new file to bucket in appwrite it says failed

Steps To Reproduce

go to coolify console
create a appwrite instance
create a project and then create a bucket
then try adding a new file

Version
3.10.16

There may be some problems with the antivirus scanning at the moment. It might be best to include:
_APP_STORAGE_ANTIVIRUS=disabled

in the environment variables for Appwrite's appwrite container.
Reference:

docker-compose.yml file
.env file

@andrasbacsai could you make these changes?

The latest template based appwrite has disabled antivirus by default.


Skip dns lookup and connect to os directly when proxies all failed

fix #3398

[approve ci clang-format]

I'm not familiar with the parent logic at all.  So even though the code change is simple, I'd feel better with @jrushford  or @vmamidi taking a look since they are familiar with handling parent requests.

-1
I don't see where this code path would have gone through OSDNSLookup().  It definitely when through PPDNSLookup() but that doesn't set the server_info.dst_addr.

DNS being done in earlier states depends on various configuration parameters.

Should we verify that the DNSLookup was attempted (or successful) before skipping directly to SM_ACTION_ORIGIN_SERVER_OPEN?


Get-UiPathAsset -Name returns all Assets with Names containing the parameter

Get-UiPathAsset -Name should return the Asset with the exact name not all matching, IMO.

After #124:
Get-UiPathAsset -Name Test -ExactMatch

Applies to all filterable Get-UiPathXxx cmdlets.


Consistent documented parsing for stringtostring

I'm having some trouble passing an element of a map to stringtostring, where the value may or may not contain equal signs, quotes, and/or commas. It seems there is no normative passing, quoting, escaping mechanism.
The documentation says the items won't be split on commas, but if they contain an equal sign, they are. Then to have the commas and quotes preserved, they must be quoted: but this won't be correct if they don't contain an equal sign, no?
Originally misfiled as https://github.com/ogier/pflag/issues/39 .
I ended up working around this by loading values from files.

@xloem could you write this as a failing test for me? I'm not sure I fully follow.

@cornfeedhobo
I think I have the same issue and it seems linked to = and new line. Here are more details to reproduce
Im using GetStringToString("field")
When running my application, If I give
--field ssh_prv="$(echo -e 'foobar\nbarbla')"
I correctly get "ssh_prv": (string) (len=13) "foobar\nbarbla"
If I had a = sign on one of the lines
--field ssh_prv="$(echo -e 'foobar\nbar=bla')"
I only got the first line as value "ssh_prv": (string) (len=6) "foobar"

@xloem could you write this as a failing test for me? I'm not sure I fully follow.

See this line of code.
Consider the result if
vals := map[string]string{"a=b": "c=d"} // not to be confused with {"a": "b", "c": "d"}

or similar.


Incorrect daily temperatureHigh

This issue has been reported before as #23 (now being closed) but it is still not fixed. There's a bug with the High temperature for the current day after 6pm where it's using the highest forecasted temperature for the week rather than for the current day.
This affects daily_0 temperatureHigh but not daily_0 temperatureMax.
There is also an anomaly compared to other weather services which was reported previously as #5. The high temperature for the day should be the highest temperature forecasted and/or observed, even it it’s in the past. Currently it turns into the current temperature after the High has been reached.

Perhaps the daily temperatureHigh being replaced with the weekly max temp after 6pm is a really easy fix in the meantime? Just thought I'd ask in case 😁

Not sure I have the right issue thread, but here's a graph from homeassistant demonstrating the gap between "daytime high" and the actual temperatures observed throughout the day/night.

With V2.0c released today this has been fixed.

Any idea when the fix will appear in Home Assistant?

I don't think there's any firm timeline on when the changes will be pushed up to production probably within a couple of months? @alexander0042 would have a better timeframe on when the approximate launch date is.
I did release a beta version of the Home Assistant integration based on the latest version which uses the development API. The development API does sometimes have downtime so if I wouldn't recommend using the beta version if you're depending on the integration for automations or other things.


Improve registry tests

refs #412

Dropped unused lines in tests
Trying to register a class that doesn't inherit from the core calendar class should raise an exception

[x] Tests with a significant number of years to be tested for your calendar.
[x] Changelog amended with a mention describing your changes. Note Please do NOT change the version number here. It's the project maintainers' duty.

missing: catching the right exception.


WIP: Make compatible with AtomsBase 0.4.x

The interface in AB0.4 changed slightly. This PR is to update. I don't plan to support both AB 0.3 and 0.4, so this would become a breaking change to be registered as<EMAIL_ADDRESS>NB - tests still fail, I will ping once they pass.

Thanks, I'll take a look. Tests are currently failing so I can't merge as is.

Definitely not ready yet. I'll let you know.

tests pass now, but maybe this needs a brief discussion before merging. I cannot be sure that I've kept the spirit of some design choices. And there are also some arguments I think to simplify ExtXYZ a bit.
The main change in<EMAIL_ADDRESS>that I struggled to incorporate here, is that atomic_number and atomic_symbol is now a property that is derives from species.  Here, species(system, i) is the species of particle i. It could be anything, but if it is an atom then atomic_number(system, i) == atomic_number(species(system, i)) and so forth.  The recommendation now is that a system stores ONLY the species. But none of the implementations so far actually follow this and that is causing a lot of hacking.
Either now or in the very near future I would prefer if ExtXYZ.Atoms stores the species either as a ChemicalSpecies (the AtomsBase recommendation) or as a Symbol, but not all three (Z, species and atomic_symbol)

If you would like to make changes to the PR, please just go ahead. I'm giving you push access to the fork.

I forgot to mention ... there are a few monkey-patches in the test files that I need to remove but I first have to make some bug fixes to AtomsBase.

Ok, will wait for those before merging.
I'll take a look at the species vs Z issue in the meantime. My original idea was to allow either or both to be present and to check for inconsistencies, raising an error if so. I'll look if this is still the case.

NOTE : The tests will (likely) fail now. To pass they require AtomsBase.jl#118 to be merged.

There is also this discussion where it would be useful to get more input.

Thanks. Shall I register as 0.2 or do we need to wait for AtomsBase?


Cannot find module node_modules\embedgenerator\dist\generator\deezer

What I tried to do:
import { YoutubeGenerator } from "embedgenerator"; //support also CommonJS syntax

YoutubeGenerator.embed("https://www.youtube.com/watch?v=dQw4w9WgXcQ").then(
    (url) => {
        console.log(url); //output: https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1
    }
);

What I expected to happen:
Generate youtube embed link.
What actually happened:
[1:12:27 PM] Error [ERR_MODULE_NOT_FOUND]: Cannot find module 'C:\Users\bendgk\projects\rapr\node_modules\embedgenerator\dist\generator\deezer' imported from C:\Users\bendgk\projects\rapr\node_modules\embedgenerator\dist\index.js
    at new NodeError (node:internal/errors:399:5)
    at finalizeResolution (node:internal/modules/esm/resolve:231:11)
    at moduleResolve (node:internal/modules/esm/resolve:850:10)
    at defaultResolve (node:internal/modules/esm/resolve:1058:11)
    at nextResolve (node:internal/modules/esm/hooks:654:28)
    at Hooks.resolve (node:internal/modules/esm/hooks:309:30)
    at ESMLoader.resolve (node:internal/modules/esm/loader:312:26)
    at ESMLoader.getModuleJob (node:internal/modules/esm/loader:172:38)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:40)
    at link (node:internal/modules/esm/module_job:75:36) {
  code: 'ERR_MODULE_NOT_FOUND'
}

Additional Info
My application stack consists of<EMAIL_ADDRESS>so I'm not sure if this is an ssr/nuxt compiler specific issue.

nvm, this was fixed by adding the following to my nuxt config:
// --  nuxt.config.ts  --
export default defineNuxtConfig({
  build: {
    transpile: ['embedgenerator'],
  },
})


Please provide an example using new DI framework

Can you please provide an example using the new DI framework?
https://docs.microsoft.com/en-us/azure/azure-functions/functions-dotnet-dependency-injection

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

ID: b64fbcd7-336c-9163-c932-e9f454fa9948
Version Independent ID: a526207f-a1e5-c44a-654e-d3678cbbb097
Content: Quickstart for Azure App Configuration with Azure Functions
Content Source: articles/azure-app-configuration/quickstart-azure-function-csharp.md
Service: azure-app-configuration
GitHub Login: @yegu-ms
Microsoft Alias: yegu

@jabbera Thanks for the question! I have assigned the issue to the content author to evaluate and update as appropriate.

@jabbera, could you please add a request in GitHub issues so that we can track properly and assign someone to work on it? Thanks! We'll close this as it's not just a docs issue.
#please-close


Pass correct asset to MarketDataProvider

We are addressing this issue https://github.com/Waifod/quant_finance_models/issues/19
We were passing the option itself instead of the underlying.
To fix this, we modify the MarketDataProvider methods to accept a std::string instead of an asset and correct the Black-Scholes implementation by passing the ticker of the underlying to the relevant methods.
The formatting was broken once more. I will create a new issue to add autoformatting to the GitHub workflow.

Closing pull request to publish a new one rebased upon mainline.


SEAB-6002: Remove residual notebook preview verbiage/code

Description
This PR removes the "PREVIEW" label from the "Notebooks" search tab, and adjusts WorkflowsComponent to display an "Explore Notebooks" header that's linked to notebooks search.
As part of the work, we added an entryTypeMetadata$ observable to SessionQuery.  It's a little weird, in that the existing SessionQuery.entryType$ is a swagger object, and the new SessionQuery.entryTypeMetadata$ is an openApi object, but this inconsistency will go away when we someday convert to 100% openApi.
The "notebooks" feature flag and most of the notebooks preview UI were removed in https://ucsc-cgl.atlassian.net/issues/SEAB-5568
Review Instructions
So to dockstore search and confirm that the "Notebooks" search tab does not have a "PREVIEW" label.  Click on a notebook, and confirm that the "Explore Notebooks" text in the header is linked to notebooks search.
Issue
https://ucsc-cgl.atlassian.net/browse/SEAB-6002
Please make sure that you've checked the following before submitting your pull request. Thanks!

[x] Check that your code compiles by running npm run build
[x] Ensure that the PR targets the correct branch. Check the milestone or fix version of the ticket.
[x] If this is the first time you're submitting a PR or even if you just need a refresher, consider reviewing our style guide
[x] Do not bypass Angular sanitization (bypassSecurityTrustHtml, etc.), or justify why you need to do so
[x] If displaying markdown, use the markdown-wrapper component, which does extra sanitization
[x] Do not use cookies, although this may change in the future
[x] Run npm audit and ensure you are not introducing new vulnerabilities
[x] Do due diligence on new 3rd party libraries, checking for CVEs
[x] Don't allow user-uploaded images to be served from the Dockstore domain
[x] If this PR is for a user-facing feature, create and link a documentation ticket for this feature (usually in the same milestone as the linked issue). Style points if you create a documentation PR directly and link that instead.
[x] Check whether this PR disables tests. If it legitimately needs to disable a test, create a new ticket to re-enable it in a specific milestone.

As part of the work, we added an entryTypeMetadata$ observable to SessionQuery. It's a little weird, in that the existing SessionQuery.entryType$ is a swagger object, and the new SessionQuery.entryTypeMetadata$ is an openApi object, but this inconsistency will go away when we someday convert to 100% openApi.

I'm just going to start looking at the code, but I'm confused by this comment; the UI should be 100% OpenAPI. The last traces of Swagger were removed in #1815; we don't generate Swagger client code in the UI any more.

As part of the work, we added an entryTypeMetadata$ observable to SessionQuery. It's a little weird, in that the existing SessionQuery.entryType$ is a swagger object, and the new SessionQuery.entryTypeMetadata$ is an openApi object, but this inconsistency will go away when we someday convert to 100% openApi.

I'm just going to start looking at the code, but I'm confused by this comment; the UI should be 100% OpenAPI. The last traces of Swagger were removed in #1815; we don't generate Swagger client code in the UI any more.

You are correct, I was confused, EntryType is a custom enum of our own creation, not Swagger.  It's still a weird little inconsistency, but not nearly as noteworthy. :)  I adjusted the PR description.


RandomBeaconHistory.getRandomSourceHistoryPage() performs impure function under Cadence 1.0

Problem
The method getRandomSourceHistoryPage() is labeled view but, according to errors using Cadence 1.0, performs impure operation on the values: [RandomSource] array constructed and manipulated within its scope.
This should be an easy fix - remove the view label from the method.
Steps to Reproduce
Attempt to deploy RandomBeaconHistory to emulator (after a quick 1.0 refactor), and the deployment will fail with the following output:
Deploying 1 contracts for accounts: emulator-account

❌ Failed to deploy contract RandomBeaconHistory: failed to deploy contract RandomBeaconHistory: [Error Code: 1101] error caused by: 1 error occurred:
	* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:
error: cannot deploy invalid contract
 --> 7109abdfd44d02e5fe2951520d51e021c894f321adb521f97870282ac53b0d92:4:3
  |
4 | 			signer.contracts.add(name: name, code: code.decodeHex() )
  | 			^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: Impure operation performed in view context
   --> f8d6e0586b0a20c7.RandomBeaconHistory:131:19
    |
131 |             return RandomSourceHistoryPage(page: page, perPage: perPage, totalLength: totalLength, values: values)
    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

error: Impure operation performed in view context
   --> f8d6e0586b0a20c7.RandomBeaconHistory:137:12
    |
137 |             values.append(
138 |                 RandomSource(
139 |                     blockHeight: lowestHeight + startIndex + UInt64(i),
140 |                     value: self.randomSourceHistory[startIndex + UInt64(i)]
141 |                 )
142 |             )
    |             ^

error: Impure operation performed in view context
   --> f8d6e0586b0a20c7.RandomBeaconHistory:138:16
    |
138 |                 RandomSource(
139 |                     blockHeight: lowestHeight + startIndex + UInt64(i),
140 |                     value: self.randomSourceHistory[startIndex + UInt64(i)]
141 |                 )
    |                 ^

error: Impure operation performed in view context
   --> f8d6e0586b0a20c7.RandomBeaconHistory:145:15
    |
145 |         return RandomSourceHistoryPage(
146 |             page: page,
147 |             perPage: perPage,
148 |             totalLength: totalLength,
149 |             values: values
150 |         )
    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Fixed in e45ba2bbff61e2ad85d0ce1cbf7c2286e5f1f353


Support for quarterly financial data

It would be great to be able to get the quarterly financial data together with the yearly data simply by adding more columns to the DataFrame.

How does one get the quarterly data, even if its separate data frame

It would be great to be able to get the quarterly financial data together with the yearly data simply by adding more columns to the DataFrame.

How does one get Quarterly Financial. Even as a separate dataframe

Right now it uses pandas to get the only table there.  The quarterly simply uses JavaScript to pull out the data from a massive object on the web page.  Its pretty easy - need to find the

HI,
which inspector do you use to isolate/find this

I simply as shown parsed the whole HTML blob as text for 'root.App.main = ' - then take the whole line and trim off that text and the semicolon.  It is a valid JSON string fortunately even though its technically JavaScript which sometimes has some subtle parsing differences with things like encoded characters e.g. single quotes.
Finding the script may be possible.  However you would probably need a very good HTML parser - and I found mostly in Python it was not possible using standard ones.  Mainly because modern websites design HTML for backwards compatibility and have non-perfect non-compliance issues throughout.  Hence the script tags are often not found as a starting point.  So just parsing the raw text blob is sufficient.  If you want to find it via script tags then certainly find a worthy HTML parser.

Hi Gregory,
I have now located the blob on the source page. Nevertheless, although i
manage to access the source code with requests as text using python(which
does show the full information as you mentioned), when i try to parse it
with Beautifulsoup, the root.App.main blob get altered and relevant
information doesn't show anymore.
I used 'lxml' and 'html.parser' without any success.
How do you point your program to select the right bit of html?
Thanks a lot for the help
On Thu, 19 Sep 2019 at 14:01, Gregory Morse<EMAIL_ADDRESS>wrote:

I simply as shown parsed the whole HTML blob as text for 'root.App.main =
' - then take the whole line and trim off that text and the semicolon. It
is a valid JSON string fortunately even though its technically JavaScript
which sometimes has some subtle parsing differences with things like
encoded characters e.g. single quotes.
Finding the script may be possible. However you would probably need a very
good HTML parser - and I found mostly in Python it was not possible using
standard ones. Mainly because modern websites design HTML for backwards
compatibility and have non-perfect non-compliance issues throughout. Hence
the script tags are often not found as a starting point. So just parsing
the raw text blob is sufficient. If you want to find it via script tags
then certainly find a worthy HTML parser.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ranaroussi/yfinance/issues/90?email_source=notifications&email_token=AB245CMQX6NU3CIKCIQC4ZLQKNS3LA5CNFSM4IMTG3IKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7DG63I#issuecomment-533098349,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB245CPTKWHAEUE4J5XBNRTQKNS3LANCNFSM4IMTG3IA
.

See #104 where the PR for this has the full code.
There is no HTML parsing.  Only text parsing, and JSON parsing.  So BeautifulSoup, etc do not come into play at all.  The full code is there, tested and working, hopefully in a soon new release.


Feature/tinzerillo/predictions

This is awesome! 👍 👍  Just one thing-- all of the modules in services/ are still indented with tabs, PyCharm hates it...if you're using it as well, Edit -> Convert Indents should work? That aside all set!


Way to relate initial seed to output at the end of an operation chain

It would be really useful if there was a way to relate the results of a multihop operation chain to the initial seeds that were passed into the chain. If the operation chain has more than one operation and the end result elements/objects do not have an identifier that is easily relatable to any of the seeds that were passed in, then it is difficult to know which seeds resulted in which answers

This is linked to #1301.

After #1301 is done, we should then be able to create an Operation perhaps called 'ExtractItems'.
This would take an Iterable of Iterables and and returns an Iterable if the extracted item.
E.g
Input =
[
[1a, 2a, 3a],
[1b, 2b, 3b],
[1c, 2b, 3c]
]
and we ask to extract the second item out of the iterables then the result would be:
[2a, 2b, 2c]
This would allow us to create an Operation Chain like this:
Path(some seeds),
ExtractItems(0)   - extract the first edge in each path
ToVertices(MATCHED_VERTEX)  - this extracts the original seeds
@gchqdev03 - would that work for you?

@p013570 I think that would work for our use-case.  It'd be nice to be able to very easily 'pick up' properties as you traverse, but perhaps that's a separate issue?

OK great. However, @javadev001001 - I'm not sure what you mean by 'pick up' properties?

Just to clarify the desired behaviour for the extraction of items..
Given that the GetWalks (what was Path) operation could potentially return a Walk containing a Set of 2+ edges with the same source/destination, would one expect the output to :

contain as many extracted vertices as there are edges in this set, or
deduplicate these vertices so no matter the number of edges between the source/dest, the output only contains two vertices to represent all of the edges

@m607123 the way your code currently looks seems to be going in the right direction. It allows users to plug in any map Function or flatMap Function so they can extract whatever they want.
So I would imagine they would do something like:

GetWalks
This would return something like:

[
    [[1-2], [2-3], [3-4]],
    [[1-5], [5-6], [6-7]]
]

FlatMap(FirstItem)

This would return:
[
    [1-2],
    [1-5]
]

FlatMap(FirstItem)
This would return:

[
    1-2,
    1-5
]

Map(Extract matched vertex - this might need to be a new function)
Which would return:

[
    1,
    1
]

ToSet
The deduplicated results:

[
    1
]

A bit complicated but quite descriptive. Perhaps we could have a function that merges the first 2 flatmap operations into 1.

Merged into develop.


fix(Constants): export constant at package level

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add post sync ability to rename files

Describe the problem/challenge you have
Sometimes syncs include files that have versions in the names of the files, which may be undesirable.  If I sync a githubRelease with sample-v1.2.3-linux-amd64.tar.gz and extract a file named sample-v1.2.3, I may want to rename this to just sample so my binary matches what I had previously.
Describe the solution you'd like
In the spec, I'd like to see an option for renaming files after they are downloaded, and use wildcards/grouping for the source
renamePaths:
- from: sample-v*
  to: sample

This would take all files named sample-v* and rename it to sample.  If more than one file matches, the behavior is indeterministic
Anything else you would like to add:
For flexibility, the from: should support globs and regex so the user could craft it to match what is needed.  In addition, you may want to include group substitution in the to: so you could replace with a match in the regex.
Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

hey @Boojapho , thanks for submitting!
I think what you are describing is currently where vendir stops and expects a following tool to do what you are describing. At least how I view vendir's role in a workflow.
The purpose of vendir is to sync a directory to match a remote / local location. The functionality you are describing moves slightly beyond that, to modifying the syncronized bits to rename them or modify them in some way.
Could you describe why another tool that takes this directory as an input could not have this wildcard like behaviour instead of vendir?

I had similar needs, and have also had needs to apply a local patch to certain things while waiting for upstream to bring on certain contributions. I "wrap" it in a Makefile... so Makefile does the vendir sync followed by whatever is needed. Vendir does what it does quite well and should continue to do so.

I'd also welcome it if there was a way to apply patch files post sync.

We've managed to add full vendir lock file maintenance support to renovatebot. Renovate now runs all of our vendir sync commands and commits the vendored files and opens PR-s (https://github.com/renovatebot/renovate/pull/25113).
Executing patches to the vendored files could probably be done with a post upgrade task. But we haven't gotten around to experimenting with that part yet.
Given that we mainly vendor helm charts that we run helm template on, and for those we have other established toolsets to do patching already (kustomize).
But all of that doesn't mean that an integrated patch file support in vendir wouldn't be welcome still, to come full-circle with vendoring.

Came across this, as I have a similar need. I wanted to run some post-sync tasks like creating and checking symlinks and move some files around. I really like the idea of tools that have a single, simple purpose and agree with the fact that moving files or renaming things is way beyond that purpose. But what about a more general purpose integration like hooks, that execute shell commands on different stages?
Something like this would be awesome:
apiVersion: vendir.k14s.io/v1alpha1
kind: Config

directories:
# ...

hooks:
  post-sync: "run-my-script.sh or any command"

For now I've also worked around by wrapping vendir in my task runner, but having something like this would be much easier for simple project setups. Also, we are using renovate, which added support for vendir recently, to update dependencies. Renovate runs vendir sync and creates Merge/Pull Request, where I cannot hook in without writing a bash wrapper around vendir sync.

I've a similar need and would love to see the ability to define hooks that run shell commands or scripts.
Something like this would be awesome:
apiVersion: vendir.k14s.io/v1alpha1
kind: Config

directories:
## ...

hooks:
  post-sync:

   # Define a script
    - 'my-post-sync-script.sh'

   # Or any other command
    - 'ln -s vendir/confshare/.pre-commit-config.yaml .pre-commit-config.yaml'

Currently we have comments in your vendir.yml files that let people know to not use vendir sync directly, but use the wrapper, that we created in your task runner. Very recently I noticed, that it might happen that symlinks are broken when dependencies are updated by renovate. So I need to write some awkward postUpgradeTask configs to fix this there as well. I would really appreciate a solution that works natively with vendir. And I think this does not conflict with that single, simple purpose idea of vendir, as this is a general purpose enhancement that lets you integrate with almost every tooling. Looking forward to hear what you guys think about this.


Unexpected behavior finding a record by type and wrong local id

Hello guys, back again here.
We are facing an strange behavior, at least for us, when we were looking a Record by type and a wrong id (local id).
As context our initial idea is to redirect our users to index page any time they try to access to a resource by typing directly in the browser the path with a wrong id (local id), or someone share a link using the local id.
As expected the local id doenst map to the remote id (this.keyMap.idToKey) and then we got a RecordNotFoundException, so far so good, but then we saw a call to our remote to obtain all the records by that specific model, so our FindRecord was turn into a FindRecords, so our RecordNotFoundException wasn't a real exception related to the our original expected call but to FindRecords. So we start diging deeper and we found the following, but we are not sure if there is a real issue or is an expected behavior, so our main goal is to report the behavior and get some feedback about that
export default class JSONAPIURLBuilder
....
 resourcePath(type: string, id?: string): string {
     let path = [this.serializer.resourceType(type)];
     if (id) {
       let resourceId = this.serializer.resourceId(type, id);
       if (resourceId) {
         path.push(resourceId);
       }
     }
     return path.join('/');
   }
....
}

For us is a bit unclear, why if we are providing a type and an id (even if is wrong -  with wrong I mean it doesnt exist in the IndexedDb) the operation is able to proceed and with that the request change from get one record to all records related to that model.
For our purposes we tweak a little bit the code by ovewride the JSONAPIURLBuilder and if the resource id doesnt map to a remote id, it mean, for us, that the record doenst exist and then we are creating a error response to notify the data-strategies and redirect the user
class URLBuilder extends JSONAPIURLBuilder {
      constructor(settings) {
        super(settings);
      }

      resourcePath(type, id) {
        const path = super.resourcePath(type, id);
        if (id && !path.includes("/")) {
          throw createError(404, "message");
        }
        return path;
      }
    }

As I said before our idea is understand the behavior, and just create a report of it.
Also I want to mention you guys that we are using EO in our production server.
Best regards and thank you so much.

Do I understand this right – you are getting an undefined from this.keyMap.idToKey and it results in a /resources/id being called as /resources. If this is the issue it is a bug I think and we need to find a way to fix it.

yes that the issue, If we got an undefined then the result is /resources

There has been significant change in the OrbitJS project since Bryan filed this issue while working with me, and we've now migrated away from it, so we're no longer in need of an answer and this issue may be closed.

Ok thanks for the update @robbytx


User authentication using channel

hello
How to make bot work only for channel subscribers?
I have the code.
$infochat = Request::getChatMember(['chat_id'=> '@channelname', 'user_id'=> 'userid']);
$infochatarr =  json_decode($infochat, true);

if ($infochatarr['result']['status'] == 'left') {
    $infos = [
        'chat_id' => 'userid',
        'text' => 'please subscribe to @channelname'
    ];
    Request::sendMessage($infos);
}

Now I need to understand how to block the work of the bot while the user does not subscribe to the channel.

Best solution would be to extend Telegram class and add filtering logic to processUpdate method.

please example

@supersh86 there is a good example by @jacklul https://github.com/php-telegram-bot/core/issues/792#issuecomment-369743676

Is it still working?
$infochat = Request::getChatMember(['chat_id'=> '@channelname', 'user_id'=> 'userid']);
Im using that for chat user has join group but in return chat not found :(

@supersh86 there is a good example by @jacklul #792 (comment)

Can you send a working example for this ? i dont get it :-(

@KraToS-zz What exactly don't you understand with the example that @jacklul posted?
You can create a new file with that code in it and then use new TelegramBot instead of new Telegram in your webhook or getUpdates.


guard against undefined schema definitions in buildSchema

Currently, there is no check if the parent class has a valid schema which causes mongoose to complain since argument passed to schema.add will now be undefined.

Coverage decreased (-0.6%) to 90.617% when pulling af4425ccc77b009a453fb9d9917b7b6e643ecf85 on iyiolapeter:master into 287a209ef7d80ccef3ba2866d707d57165caf64e on szokodiakos:master.

Coverage decreased (-0.6%) to 90.617% when pulling af4425ccc77b009a453fb9d9917b7b6e643ecf85 on iyiolapeter:master into 287a209ef7d80ccef3ba2866d707d57165caf64e on szokodiakos:master.

this can be closed, because mongoose accepts undefined (new Schema(undefined))

this can be closed, because mongoose accepts undefined (new Schema(undefined))
@Ben305

While you can pass undefined during instantiation, this does not work with Schema.prototype.add which is referenced in buildSchema.
sch.add(undefined) fails with 'Cannot read property '_id' of undefined\n    at Schema.add'

which is referenced in buildSchema

in the latest changed, buildSchema dosnt have "sch.add" anymore, it is outsourced to "_buildSchema" which creates an schema first, and only after that calls an "sch.add"

reference:
https://github.com/szokodiakos/typegoose/blob/0d68100051cef0e9ec2ff1346a574e0873f1873e/src/typegoose.ts#L124-L132
(logic in words: "if not 'sch' create one")

after working on https://github.com/hasezoey/typegoose/issues/9 i noticed that i now know the point of this pr (sorry), a better(refactored) version will be included in 6.0.0

This can be closed, in favor of v6.0.0 (it is "included")
Note:
in v6.0.0 it cannot happen, because:
(context: speaking of _buildSchema)

if sch is not an instance of mongoose.Schema it creates a new one
adds a test for it

fffbea2ff5ebefa2e1627481bc8e1491824795e7
@Ben305 This can be closed


canalplus-afrique.com is broken

Site
canalplus-afrique.com
Description
canalplus-afrique.com's API seems to have changed.
It only returns 403 error codes.
I found this Closed PR (https://github.com/iptv-org/epg/pull/2032) and wanted to try and revive it but branch seems to have been deleted from github.
Errors Example:
[44/484] canalplus-afrique.com - TraceMziki.fr - Jul 5, 2023 (0 programs)
  Error: Request failed with status code 403
[45/484] canalplus-afrique.com - TraceMboa.fr - Jul 6, 2023 (0 programs)
  Error: Request failed with status code 403
[46/484] canalplus-afrique.com - TraceMboa.fr - Jul 5, 2023 (0 programs)
  Error: Request failed with status code 403
[47/484] canalplus-afrique.com - TraceKitoko.fr - Jul 6, 2023 (0 programs)
  Error: Request failed with status code 403

The guides for all African countries have been moved from canalplus-afrique.com to canalplus.com (https://github.com/iptv-org/epg/pull/2136), so you can use its config instead: https://github.com/iptv-org/epg/tree/master/sites/canalplus.com


Failed to execute 'setRequestHeader' on 'XMLHttpRequest': '' is not a valid HTTP header field name.

Describe the bug
Unable to set application/x-www-form-urlencoded as Content-Type header. Setting this header gives me HTTP status code 500, however cUrl is working for the same.
To Reproduce
Steps to reproduce the behavior:

Go to 'Home'
Enter 'application/x-www-form-urlencoded' in 'Content-Type' header section
Send the POST request to https://httpbin.org/post
Response status gives following error: "Failed to execute 'setRequestHeader' on 'XMLHttpRequest': '' is not a valid HTTP header field name.", with HTTP status code 500.

Expected behavior
The response should be same as the output of cUrl curl -XPOST -H 'Content-Type: application/x-www-form-urlencoded' http://httpbin.org/post
{
  "args": {},
  "data": "",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Content-Type": "application/x-www-form-urlencoded",
    "Host": "httpbin.org",
    "Referer": "",
    "User-Agent": "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)",
    "X-Amzn-Trace-Id": "Root=1-5e6090d9-0b751e5ac119b94d699aa887"
  },
  "json": null,
  "origin": "<IP_ADDRESS>",
  "url": "http://httpbin.org/post"
}

Desktop (please complete the following information):

OS: MacOS catalina
Browser: Google Chrome
Version: Version 80.0.3987.122 (Official Build) (64-bit)

Additional context
I am using https://postwoman.io/ to test this.

I couldn't reproduce the issue.
Set up 1: Set Content-Type in request section itself
Request

Response

As you can see, response Content-Type is application/x-www-form-urlencoded

Set up 2: Set Content-Type in request section itself
Request

Response

As you can see, response Content-Type is application/x-www-form-urlencoded

Ok weird, it works now. Don't know why it happended but seems to be fixed now. I will make sure to check for anything else I might have done to cause this issue. Thanks for taking your time to reply.


upgrade egui dependency to 0.28

The library looks very promising and I enjoyed the examples.
As a next step, I wanted to integrate a simple graph in my own application (egui_graphs = "0.20.0", petgraph = "0.6.5"). This fails whenever I use egui_graph in conjunction with egui or eframe in the version 0.28. The actual error message is:
error[E0277]: the trait bound `&mut egui_graphs::GraphView<'_, (), ()>: eframe::egui::Widget` is not satisfied
    --> src/graph.rs:35:16
     |
35   |         ui.add(widget);
     |            --- ^^^^^^ the trait `for<'a> FnMut(&'a mut eframe::egui::Ui)` is not implemented for `&mut egui_graphs::GraphView<'_, (), ()>`, which is required by `&mut egui_graphs::GraphView<'_, (), ()>: eframe::egui::Widget`
     |            |
     |            required by a bound introduced by this call
     |
     = help: the following other types implement trait `eframe::egui::Widget`:
               &eframe::epaint::PaintStats
               &mut eframe::egui::Frame
               &mut eframe::egui::Margin
               &mut eframe::egui::Rounding
               &mut eframe::egui::Shadow
               &mut eframe::egui::Stroke
               &mut eframe::epaint::TessellationOptions
               eframe::egui::Button<'_>
             and 15 others
     = note: required for `&mut egui_graphs::GraphView<'_, (), ()>` to implement `for<'a> FnOnce(&'a mut eframe::egui::Ui)`
     = note: required for `&mut egui_graphs::GraphView<'_, (), ()>` to implement `eframe::egui::Widget`
note: required by a bound in `eframe::egui::Ui::add`
    --> /home/nv/.cargo/registry/src/index.crates.io-6f17d22bba15001f/egui-0.28.1/src/ui.rs:1309:40
     |
1309 |     pub fn add(&mut self, widget: impl Widget) -> Response {
     |                                        ^^^^^^ required by this bound in `Ui::add`

I reproduced this by increasing the egui version to 0.28 in one of the examples from the egui_graphs crate.
Would it be possible for you to update your dependencies? I know that this might involve some work, as egui is in a constant flow. However, your help would be really appreciated.

Hey! thanks for the trying out the lib. I 've bumped the version and will make new release.

You can find updated version on v0.21.0

Thanks so very much for your quick help! I can confirm that it is working now and I can now start to implement the graphs into my app.


[staging-next] dev86: unstable-2022-07-19 -> unstable-2024-03-28

Fixes build failure.

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

It is failing by some reason...

Why is this still failing? It seems to be failing somewhere completely unrelated.

This should go in staging-next or master as it fixes the build.

This should go in staging-next or master as it fixes the build.

As a committer, you should be able to change the branch through the web interface.

This should go in staging-next or master as it fixes the build.

As a committer, you should be able to change the branch through the web interface.

Yes, but a rebase is needed anyhow (previous staging changes are not in master or staging-next)

Done, just remembered that I can push to PRs where the author allowed it.

Superseded by #366951


Make host name configurable for application registry

Add a property (application or system) called host.address that overrides the value returned from InetAddress.getLocalHost().getHostName() for senders IP Address.
InetAddress.getLocalHost().getHostName() doesn't work inside Docker containers

released in 0.76


Feature Request: WAF Icon not displaying

Hi, this tool is amazing! Thank you so much! I'd like to request icons for WAF constructs. I'd be happy to contribute if someone can point me in the right direction.

Thanks @bestickley.
The matching is here: https://github.com/pistazie/cdk-dia/blob/0de795fb130b511dbe12e28928e52454bd281349/src/diagram/aws/awsResouceIconMatches.json#L1920
presumably, you are using WAFV2 which unlike WAF has no icons. Happy if you can add these (I guess just copy the icons that are link for WAF)


Add utility to support json serializtion/deserialization with JSONBigInt

The deserialization of TSP JSON strings to class objects that contains bigint fields are done using searialization and a so called Normalizer. This make sure that for example, timestamps are deserialized as bitint and not Number if they are small values.
It would be good to provide a utility that supports this for non-TSP classes.

@bhufmann, may we close this issue, told as having been fixed by this commit?

@bhufmann, may we close this issue, told as having been fixed by this commit?

That commit is still in my fork of the repository and hasn't been mainlined. Re-opening this Issue.

@bhufmann, may we close this issue, told as having been fixed by this commit?

That commit is still in my fork of the repository and hasn't been mainlined. Re-opening this Issue.

Thanks, didn't notice the fork branch; sorry for the hassle. Noted.


Fix paths in pkg-config files

Currently most pc files either have /psp set as prefix (which is broken) or /__w/psp-packages/psp-packages/bzip2/pkg/bzip2/psp (works, but not pretty). This should be fixed. Currently only SDL2_mixer.pc has this set correctly. Here is a list of the pc files which require updates:

[x] bzip2.pc
[x] dumb.pc
[x] expat.pc
[x] freetype2.pc
[x] jsoncpp.pc
[x] libconfuse.pc
[x] libcurl.pc
[x] libjpeg.pc
[x] libmikmod.pc
[x] libpng16.pc
[x] libpng.pc
[x] libturbojpeg.pc
[x] libxmp.pc
[x] minizip.pc
[x] ogg.pc
[x] openal.pc
[x] pixman-1.pc
[x] SDL2_gfx.pc
[x] SDL2_image.pc
[x] SDL2_mixer.pc
[x] sdl2.pc
[x] SDL2_ttf.pc
[x] SDL_gfx.pc
[x] SDL_image.pc
[x] SDL_mixer.pc
[x] sdl.pc
[x] SDL_ttf.pc
[x] sqlite3.pc
[x] vorbisenc.pc
[x] vorbisfile.pc
[x] vorbis.pc

Hello @sharkwouter, Can i help with this issue?

@diamant3 sure, that would be appreciated. If you want to know how to do this, take a look at the prepare step in the PSPBUILD of SDL2.

Okay, thanks!

Thanks @diamant3 for all the work on this one! It has been completely resolved now!


error - TypeError: Cannot read properties of undefined (reading 'create')

My mistake

My mistake

@ygit1 I get the same mistake.  I don't know why. How do you fixed it ?

npx prisma generate
fix the problem


Clarify immunodeficiencies involving POLD1 and POLD2

We have a term that was added in #5261
id: MONDO:0800145
name: non-severe combined immunodeficiency due to polymerase delta deficiency
def: "Any non-severe combined immunodeficiency in which the cause of the disease is variation in the POLD1/POLD2 gene." [PMID:31449058]
subset: clingen {source="MONDO:CLINGEN"}
subset: gard_rare {source="MONDO:GARD"}
subset: rare
is_a: MONDO:0018814 {source="https://orcid.org/0000-0002-7371-8158", source="https://orcid.org/0000-0003-0113-912X"} ! non-SCID combined immunodeficiency
relationship: curated_content_resource https://search.clinicalgenome.org/kb/conditions/MONDO:0800145 {source="MONDO:CLINGEN"}
relationship: RO:0002573 HP:0000007 {source="https://orcid.org/0000-0002-7371-8158", source="https://orcid.org/0000-0003-0113-912X"} ! has modifier Autosomal recessive inheritance
property_value: IAO:0000233 "https://github.com/monarch-initiative/mondo/issues/5261" xsd:anyURI

This doesn't conform to a DP. We don't have a DP for disjunctions of genes.
It's important to conform to DPs because otherwise the ontology becomes too hard to manage. For example, we also have:
id: MONDO:0970994
name: immunodeficiency 120
xref: OMIM:620836 {source="MONDO:equivalentTo"}
is_a: MONDO:0021094 {source="OMIM:620836", source="https://orcid.org/0000-0002-4142-7153"} ! immunodeficiency disease

This is caused by POLD1 (why don't we have the edge linking to gene?)
What is the relationship between these two MONDO IDs? Right now they are unlinked, but they are clearly part of the same spectrum of deficiencies involving one or more parts of the POLD complex.

Note that OMIM annotated the same paper and collected in under https://omim.org/entry/620836 (immunodeficiency 120)

USIDNET2024 for POLD1 & POLD2:
Inheritance: AR
Associated Features: Recurrent respiratory tract infections, skin infections, warts and molluscum, short stature, intellectual disability; T cell count: Low Low CD4 T cells; low B cell count; low Immunoglobulin levels


Make clear on which models and fields schema generation fails

Initial Checks

[X] I have searched Google & GitHub for similar requests and couldn't find anything
[X] I have read and followed the docs and still think this feature is missing

Description
Currently pydantic sometimes throws errors in generating a schema without the context on which model the schema generation fails. It might be an option to catch the errors and rethrow it with a message on which model the schema generation fails.
E.g. instead of:
  File "pydantic/schema.py", line 924, in field_singleton_schema
    if issubclass(field_type, BaseModel):
  File "/usr/lib/python3.8/abc.py", line 102, in __subclasscheck__
    return _abc_subclasscheck(cls, subclass)
TypeError: issubclass() arg 1 must be a class

Output this as message:
  File "pydantic/schema.py", line 946, in field_singleton_schema
    raise Exception(f'{field_type} {BaseModel} {err}')
Exception: ForwardRef('List[Field]') <class 'pydantic.main.BaseModel'> issubclass() arg 1 must be a class

More like:
  File "pydantic/fields.py", line 860, in pydantic.fields.ModelField.validate
pydantic.errors.ConfigError: field "xxx" not yet prepared so type is still a ForwardRef, you might need to call Field.update_forward_refs().

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .dict() and .json()
[X] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[ ] Generic Models
[ ] Other Model behaviour - construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

@g3rb3n thanks for the feature request. Could you please check that your request is still relevant for Pydantic v2?


Create generic loose string comperator/Contains

Usage e.g. in GetRecord and various other places.
Make public for external use

This feature is too specific to the use case in TuringBox and should be limited in scope


[Suggestion] Additional config options

Platform

[x] Forge
[ ] Spigot

What you want to be added?
There are some config-related features I would like, namely disabling the feature that converts a player's name to their Discord nick.
Additionally (though I feel this suggestion would be better suited to DiscordIntegration-Core), is the ability to disable specific user-settings. For example, I would want to disable the ability for users to hide their ingame messages from Discord, so that we would be able to monitor chat without somebody slipping under the radar with this setting.
I did try to compile this on my own in order to prevent the "hideFromDiscord" check from happening, but ran into a wall with MCP issues.

There are some config-related features I would like, namely disabling the feature that converts a player's name to their Discord nick.
This should work by changing an user setting ("useDiscordNameInChannel": true), if not simply re-open this

Everything else is now implemented now in 2.3.0


Bug:  Minified React error #31

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour
We do not get any exceptions thrown to the browser console
Current Behaviour
After updating to the latest version (with IAM) we get a lot of errors like:
Error: Minified React error #31; visit https://reactjs.org/docs/error-decoder.html?invariant=31&args[]=object%20with%20keys%20%7B%7D&args[]= for the full message or use the non-minified dev environment for full errors and additional helpful warnings.

Possible Solution
Need to find a reason and fix
Steps to Reproduce (for bugs)

Unknown

That is the same bug like #4140


Spruce MarComm Post (PN Type PR + ODIS Signers)

Completed and Spruce blog post is here: "Spruce Adds Decentralized Identity Support for Celo"


Added clarification about .npmrc and setup-node

Project-specific .npmrc file does not work if Github Actions' setup-node is used. Though this is more GA related thing, I think it would be good to mention about it in NPM's documentation also.

I don't mean explicit instructions for specific providers, but a mention about this specific case since GitHub Actions + setup-node is so popular. There's also an example of GitHub Actions above: "For example, in GitHub Actions, you would add your token as a secret. Then you can make the secret available to workflows."

@iiromutikainen Looking at the source for setup-node it seems like it appends an existing .npmrc if one exists, which is important if multiple scopes or third party registries are being defined. It also looks like it only modifies the .npmrc if you specify a registry-url in the setup-node, which is optional. The configuration examples shown in the setup-node README don't show this specific pattern.
With this in mind it appears, although I haven't tested it, that if you were to follow the basic pattern as outlined in the docs here it should work, even if you use setup node.
As such I still think that this very specific caveat isn't needed, this makes more sense to be covered in the GitHub actions docs

@iiromutikainen Looking at the source for setup-node it seems like it appends an existing .npmrc if one exists, which is important if multiple scopes or third party registries are being defined. It also looks like it only modifies the .npmrc if you specify a registry-url in the setup-node, which is optional. The configuration examples shown in the setup-node README don't show this specific pattern.
With this in mind it appears, although I haven't tested it, that if you were to follow the basic pattern as outlined in the docs here it should work, even if you use setup node.
As such I still think that this very specific caveat isn't needed, this makes more sense to be covered in the GitHub actions docs

Thanks. After taking a bit more detailed look into GA's and setup-node, it seems that registry-url should be used with private packages: https://github.com/actions/setup-node/blob/main/docs/advanced-usage.md#use-private-packages
Another option is to add a step to GA workflow with echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc which seems to work. What makes this strange is that when I add identical custom .npmrc file to the root, it does not work: with custom .npmrc file without setup-node it throws "404 xxx is not in this registry."
Anyway this seems like GA and setup-node related thing - closing.


SearchBar.scrollPadding

scrollPadding already exists as a parameter in TextField, but SearchBar doesn't provide a way to configure it. Until now!
Fixes https://github.com/flutter/flutter/issues/152442

Ah good call, yes I'll add that in a second.


Adds on_delete argument to ForeignKey field in BaseChunkedUpload

Django 2.0 requires ForeignKey and OneToOneFields to have the
on_delete argument declared explicitly.

Sorry for the delay!
Merged. I'll do a release today including this change.


(Request) Translucident minimap

Hi! 🙋🏻♂ I just want to suggest that, translucident minimap would allow us to see code behind minimap column (today that column hides code even when its not showing minified code).
Sample:

Thanks!

@Jonatandb you should be able to set the minimap.background color in your settings.json to change the opacity:
For example:
"workbench.colorCustomizations": {
    "minimap.background": "#1c1c1c3D"
},


Add information on the About section of the client

This rewords current version string, adds useful links to the user, and displays whether the instance is running from a release or from the git repo.
This last piece will be very helpful to debug when users come asking help on the IRC channel.

From a release
From source

I'm guessing your images are the wrong way round.

It was, thanks! 😅

Great, that makes much more sense. :+1: then

Yep, looks all good to me. No need to go crazy about a JS implementation, reasonably safe to assume people running the git version have the git binary in their path. Worst case, it's the current behavior, so meh. 👍 and merging

Is this supposed to support instances running after npm install -g from the source?
npm start = git reference; running with my init script shows 2.0.0-pre.4.

@dgw: it tries to find if it is a git repo, and falls back to the version in package.json. If for any reason git fails, then it will display the npm version. My guess is that your initscript's working directory is not inside the repo, so git can't find it.


Exec tachikoma update<PHONE_NUMBER>0327

:hamster::hamster::hamster:   Strategy none
Powered by Interval Pull Request as a Service - Tachikoma.io

Coverage remained the same at 68.0% when pulling 2ae018c5698742782d27f05eff989c1aa3757227 on tachikomapocket:tachikoma/update-20150213150327 into 68e5c0f4004e386f9c6f06d01dee9ecf2e132fab on sanemat:master.

Coverage remained the same at 68.0% when pulling 2ae018c5698742782d27f05eff989c1aa3757227 on tachikomapocket:tachikoma/update-20150213150327 into 68e5c0f4004e386f9c6f06d01dee9ecf2e132fab on sanemat:master.

Coverage remained the same at 68.0% when pulling 2ae018c5698742782d27f05eff989c1aa3757227 on tachikomapocket:tachikoma/update-20150213150327 into 68e5c0f4004e386f9c6f06d01dee9ecf2e132fab on sanemat:master.


Windows 10: esy bootstrap "hangs" on esy-autoconf

When building from source, running esy bootstrap appears to hang after building esy-autoconf. I waited about 10 minutes and then, assuming that it had failed, hit ctrl+c to kill the bootstrap process. This didn't kill bootstrap, but it did resume the build process. My hunch is that there was some kind of warning or dialog that isn't being displayed in the build output, but that's just a guess.
As an aside, the build process is slooooooow on windows 10. I've been trying to get it to build for almost an hour now, which is mostly due to the very long build times for each package (is this normal?). It's difficult to tell if a package build has hanged when some of them can take over five minutes to finish (at the moment I've been waiting for esy-skia to build for about 10 minutes and I have no idea if it failed or if I should go make lunch instead).

Thats interesting, between that and your other issue, its possible there is something missing which is causing the hanging, as it doesn't reproduce in the CI or locally. Have you got all the build dependencies installed, including the revery ones?
The build on Windows is pretty long (well, its long on platforms, but Windows is especially long). I would estimate its close to 40-50 mins on my 6700k. On the CI machines its over an hour I believe. Downside of having lots of dependencies is that the initial build is very slow, but we gain a lot from having Skia/SDL2 etcetc around from the performance side of course. You can also tell esy to run in verbose mode to a get a slightly better idea of if/what is happening.

Sorry for the long delay. I have all of the prereqs installed, so no idea what would cause it. Maybe an error that is silenced in the build output? I'm not sure if I'll have time to come back around to this, so unless someone else reports this issue you can probably just chalk it up to my weird little machine.

The problematic dependency on esy-autoconf was removed here: https://github.com/revery-ui/esy-libvterm/pull/5 - so this should no longer be an issue 👍


code run

hello, can this code run on the Windows platform?

Yes, this code can run on the Windows platform. To build and run it, you will need to install CMake version 3.16 or higher.


Update stable version in repo from 1.2.1 to 1.3.2

Think about update stable version to 1.3.2
Version: stable=1.2.1 (326 days old) => latest=1.3.2 (15 days old)
Installs: stable=1174 (74.97%), latest=117 (7.47%), total=1566
Click to use developer portal
Click to edit
Do not close this issue manually as a new issue will be created if condition for update still exists.
Please drop a comment if any reason exists which blocks updating to version 1.3.2 at this time.
Note: This is an automatically generated message and not personally authored by bluefox!
@mcm1957 for evidence

I am waiting for the release of version 1.3.3 which fixes an important problem that significantly reduces the battery life of battery-powered devices.


Optional write activation results to file…

Description

Adds configuration to ArtifactWithFileStorageActivationStore that allows for writing activation results to file.
Related issue and scope

[ ] I opened an issue to propose and discuss this change (#????)

My changes affect the following components

[ ] API
[x] Controller
[ ] Message Bus (e.g., Kafka)
[ ] Loadbalancer
[x] Invoker
[ ] Intrinsic actions (e.g., sequences, conductors)
[x] Data stores (e.g., CouchDB)
[ ] Tests
[ ] Deployment
[ ] CLI
[ ] General tooling
[ ] Documentation

Types of changes

[ ] Bug fix (generally a non-breaking change which closes an issue).
[x] Enhancement or new feature (adds new functionality).
[ ] Breaking change (a bug fix or enhancement which changes existing behavior).

Checklist:

[x] I signed an Apache CLA.
[ ] I reviewed the style guides and followed the recommendations (Travis CI will check :).
[x] I added tests to cover my changes.
[ ] My changes require further changes to the documentation.
[ ] I updated the documentation where necessary.

@rabbah looks like your review comments are addressed, do you approve this PR?

Anything else on this one?


fatal: detected dubious ownership in repository on Windows

Describe the bug
Attempting to open a git-managed project into an Explorer card results in the following error:
fatal: detected dubious ownership in repository at 'C:/Windows/System32/simple-project'
'C:/Windows/System32/simple-project' is owned by:
	'S-1-5-32-544'
but the current user is:
	'S-1-5-21-190261132-2244667103-1434590694-1001'
To add an exception for this directory, call:

	git config --global --add safe.directory C:/Windows/System32/simple-project

To Reproduce
Steps to reproduce the behavior:

Launch Synectic
Open any repository root directory using File → Open Directory...
See error

Expected behavior
Version control information should be populated for the newly opened directory, but instead the reverse side of the Explorer card indicates no repository/no branches was found.
Versions (please complete the following information):

OS: Windows
Synectic Version: 4.4.0
Git: <IP_ADDRESS>

Additional context
This issue is also related to #1276.

Per philb's answer to How to correct git reporting detected dubious ownership in repository without adding safe.directory when using WSL?:

I understand you installed a new version of Git for Windows, which includes Git Bash. Newer versions of Git, starting with 2.35.2 and 2.36, including Git for Windows, are stricter about directory ownership: https://github.blog/2022-04-18-highlights-from-git-2-36/#stricter-repository-ownership-checks.
When you use git from Git Bash, you use the Windows program, even if you cd to the //wsl$/ mount. Git for Windows does not have any special code to deal with the permissions of the WSL mount, so that's why you get the error. You can't fix that without modifying the Git source code.
An alternative could be to use wsl git instead of git when in Git Bash, which would then use the Linux executable.
Or, as you wrote, just use git config --global safe.directory '*' to bypass that security feature if you do not consider yourself at risk.
[Editor's Note: If you are using Windows Command Prompt, do not add single-quotes to the asterisk, i.e., git config --global safe.directory *.]


首先感谢大佬的回复。刚入门，确实不太懂。

首先感谢大佬的回复。刚入门，确实不太懂。
我的脚本是这样写的
First of all, thanks for the big brother's response. Just started, really do not understand.
My script is written like this
"build-prod": "ng build -prod -base-href ./ --extract-css --build-optimizer"
也就是
that is
ng build -prod -base-href ./ --extract-css --build-optimizer
但是最大的还是1m多，如果服务端gizp之后还有500k，能不能再小一点？？
But the biggest is 1m, if the server after gizp, there is 500K, can you be a little smaller?
image

please do not ask angular questions here, 119 person will receive this notification has noting todo with ng-zorro.


Add starting level parameter to HLS playback

As reported on #1105, when the player loads a m3u8 playlist with the first listed level pointing to a broken/empty playlist, both hls.js and FlasHLS will bail out after reaching a maximum number of attempts.
When testing this behavior, I noticed we didn't add an option to set the starting level for the HLS playback. Since it's not listed on hls.js options, it cannot be set from hlsjsConfig, but instead (should be set directly on the hls instance)[https://github.com/dailymotion/hls.js/blob/master/API.md#hlsstartlevel].
We should normalize this into a playback option instead of adding it to hlsjsConfig, since it's not specific to hls.js and could be used for other playbacks, such as DASH implementations.

It seems that sometimes flashls is also bailing out with max number of attemtps (e.g. in IE1) even if m3u8 is correct. I've noticed  that If "Always Refresh from Server" is turned off setting in Network tab of IE11 developer tools load() method works but in default mode with browser cache enabled this.el.playerLoad is always undefined.


DSC 7.0.0  IDS multipart messages version not supported for App Store

I have deployed DSC version 7.0.0 and when I execute at the Swagger UI
POST /api/ids/description using the IDS multipart messages at https://binac.fit.fraunhofer.de/api/ids/data as detailed in the documentation (https://international-data-spaces-association.github.io/DataspaceConnector/CommunicationGuide/v6/IdsEcosystem/AppStore#ids-app-store)
It gives an error indicating version not supported.

See: https://github.com/International-Data-Spaces-Association/DataspaceConnector/issues/873

For clarification: This response that you get back is no information of your running DSC, but a cleaned response from the component you are connecting to. So if there is a message, that a version is not supported, this comes from the other component.  I would therefore kindly ask you to only raise an issue at their repository.

Okay perfect, I have raised an issue at their repository.