mkdir error

I tried to use lychee to detect broken links in some adoc files, used the action definition below, but it fails because it can't handle asciidoctor and as a result I have a lot of errors, but also the following errors about mkdir
mkdir: cannot create directory ‘lychee’: File exists
/home/runner/work/_actions/lycheeverse/lychee-action/v1/entrypoint.sh: line 33: lychee/out.md: Not a directory
/home/runner/work/_actions/lycheeverse/lychee-action/v1/entrypoint.sh: line 36: lychee/out.md: Not a directory

name: Links

on:
  repository_dispatch:
  workflow_dispatch:
  schedule:
    - cron: "00 18 * * *"

jobs:
  linkChecker:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3

      - name: Link Checker
        id: lychee
        uses: lycheeverse/lychee-action@v1
        with:
          args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.adoc'
        env:
          GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

      - name: Create Issue From File
        if: env.lychee_exit_code != 0
        uses: peter-evans/create-issue-from-file@v4
        with:
          title: Link Checker Report
          content-filepath: ./lychee/out.md
          labels: report, automated issue

Closing, wrong repo

You probably meant to open it in https://github.com/lycheeverse/lychee-action. I can't see it over there, so I'll move it and reopen.


Store previous gossip configuration

When using a raft without gossip, I need to send the config once. For the gossip option, I should always use config. Is it possible to create a launch option that will allow configuring the gossip protocol without config.
Example.
We set the parameters of the gossip protocol through a method call, and not through a config or through a constructor, while the configuration is remembered by the cluster and can be updated in the future. On restart, if there were no changes, we do not need to pass anything to the constructor related to the gossip protocol.
Is something like this possible?

@lebovski please note that when using dragonboat without gossip, you do need to specify configuration every time when you restart your nodes.
I think user applications should always be explicit on what configurations they want to use and the best way to do that is to let the applications explicitly provide such configurations on each reboot.
Is there any particular reason why you would like to change this?


Add LLM::AuthError#response

This new method provides access to the underlying HTTP response that is associated with an authorization error.

Replaced by https://github.com/antaz/llm/pull/5/files


Read Only Dashboard User Role causes Forbidden Errors on visualizations on a doashboard with tenants enabled

If you create a Read Only Role according to the documentation (https://opensearch.org/docs/latest/security-plugin/access-control/users-roles/#set-up-a-read-only-user-in-opensearch-dashboards) then a "Forbidden" error is thrown of some visualizations.

If you create a read only user with the documentated role settings some visualizations on a dashoard shows an errror.
If you hit multiple times CTRL + F5, the visualization loads correct but other visualizations show this error instead.
To Reproduce
Steps to reproduce the behavior:

Create a Read Only Dashboard User according to the Opensearch documentation
Create a Tenant
Create some dashboards
Log in with the user into the tenant

Expected behavior
A clear and concise description of what you expected to happen.
OpenSearch Version
1.2.2
Dashboards Version
1.2.0
Plugins
Please list all plugins currently enabled.
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

Opensearch and Opensearch Dashboards are running on Linux Ubuntu Server 20.04
Win10 / Chrome Version 98.0.4758.102

Additional Information
Sometimes you can see the following exception in the log:
{"type":"log","@timestamp":"2022-03-07T10:27:06Z","tags":["error","opensearch","data"],"pid":338569,"message":"[security_exception]: no permissions for [indices:data/read/search] and User [name=eagle_01, backend_roles=[], requestedTenant=null]"}
It is very confusing that "requestedTenant" for such a request is empty, because multi tenancy is enabled. And the user has full read only permissions according to documentation.

@jimishs Do you know if we have an update on this issue?

@inf17101 Could you share whether the said user has the right index permissions to the indices that are being visualized?
From the error above i see that the said user may not have read permissions on the index being visualized.

I join the problem, I also have multitenancy, and several indexes for which only reading and filtering at the document level are configured.  in discover, i can see everything as needed. in the dashboard, some panels are "Forbidden" or "The request for this panel failed", which change if the page is refreshed
opendistro 7.10.2

Try this,

We are dealing with this now on Opensearch 1.2
Using the above setup, the users can login but they get an empty top left menu. The only way users can actually see the discover section of the Kibana menu is if they are in the security_manager group.

See https://github.com/opensearch-project/security/issues/2701#issuecomment-1554067472 for a analysis of the dashboards read only functionality.
Regarding the configuration shown at https://github.com/opensearch-project/security-dashboards-plugin/issues/916#issuecomment-1132775597 : This seems to achieve a read only tenant, but it is wrong on two levels:

The action group opensearch_dashboards_all_read does not exist. It is still called kibana_all_read: https://github.com/opensearch-project/security/blob/main/src/main/resources/static_config/static_action_groups.yml
This action group must be configured as a tenant permission, but not as an index permission. As an index permission, it would not have any effect.

Regarding the randomly appearing Forbidden error: My gut feeling is that there is another issue interfering as well. This would need more thorough information for analysing and reproducing the issue like user and role config and more context from the logs.


Authentication mode not available in SQL inputs

Authentication mode for a Reference - SQL Database input is not available as on SQL Outptus.

sorry, we didn't support MSI for SQL reference input yet. We target to add this support in our Oct. release. Will keep you updated by then.

Thanks @ruiminwang, I could not find any info about this.  Is there any workaround until you add this functionality?

Hi @huco95 , sorry for delay response. You could edit the SQL reference input on Portal, where you could set the authentication mode to MSI.

Hi @huco95 , we have added support for Authentication mode of Reference - SQL Database input in ASA VSCode extension 1.4.0. Feel free to have a try! Thanks!


feat(cli): reworked logic to use new io package exports and functions

These changes do a few things:

fixed a few of the io package functions
fixed core package imports of io package functions
reworked CLI logic to use the new io package exports and functions
converted CLI tests to use import
HACK of core to use dynamic import

So... tests pass now. But it's a hack. But it's a start.
What was learned...

dynamic import() is the only way to dynamically load designs with import / export
dynamic import() is asynchronous, therefore calling functions must be async as well... as well as...

What's missing...

no idea if dynamic import() works in all browsers
no idea if dynamic import() works in web workers
no idea if dynamic import() can import whole projects
no idea if designs with require / module and import / export can be supported

All Submissions:

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

@platypii not so clean, but at least the tests pass. this will let us reorganize the core package into a better structure, reorg functionality, and test everything.
the challenge will be supporting designs with require/modules as well as designs with import/export.

@z3dev I have a prototype for the web that runs all 3 variants

require (cjs)
import
typescript

in the worker a localized require is generated for each script that loads dependencies using synchronous IO. And for situations when a folder is drag and dropped, I am not reading all the files (folder could be huge in case of node projects) but I use serviceworkers to intercept http requests from those require calls and read files on demand. This also serves as a tracking which files are used and need to be watched for changes. So watching does not consume more resources based on projects size, but on amount of related imports/requires.
it is not yet in master branch there but: https://github.com/hrgdavor/jscadui/tree/threejs-with-cube-ctrl
@platypii was able to run it, but we both had samll issue with servise worker, that is misbehaved in normal chrome, but worked in incognito
to run the proto, checkout the code
in root run npm install then go into cd apps/engine-test and then just npm run dev
I am looking forward to ironing out any issues with different project types, so soon I will be testing all jscad examples.
One thing I did not implement yet is fallback to .js when ppl use require('./localFile')
Maybe it is possible to do this without babel in CLI, but it is not possible to support import in worker or typescript. Another option is to use a faster transformer like esbuild or sth else

To fix it, I had to first add a package.json file in the same folder as the model. But then I still had problems importing @jscad/modeling. When I copied my model file into the packages/cli directory and ran from there, it finally worked.

Yeah. NODE does not look outside of the project (cli) directory, so the design/project has to be re-loacted under cli. This is mentioned in the README.

Note: The CLI will search for the design entry point just like NPM.

if there is a package.json file in the project, then try to load the 'main' property
if not, then try to load from 'index.js'


[Port] System.Reflection.Extensions/System.Reflection.TypeExtensions

Put the implementation into System.Private.Reflection.*
Keep the facades and contracts in corefx

The implementation was actually added to corefx recently, but it does not belong there because of it is tightly coupled with the rest of the runtime. It should be moved to CoreRT.
https://github.com/dotnet/corefx/tree/master/src/System.Reflection.Extensions/src
https://github.com/dotnet/corefx/tree/master/src/System.Reflection.TypeExtensions/src

yes it is planned to merge the code with S.P.Reflection.

Reconciled as part of NS2.0 work.


VB.Net SDK Project fails to compile when two resx file exists with the same name in different namespaces

Steps to reproduce
Have a VB.Net winforms project using SDK project type. The project should include two forms with the same name in separate namespaces. Each form should have its icon set, so that it creates a resource file.
This isn't an issue for C#.
See Attached zip:
VB: TestApp2.zip
C#: TestApp3.zip
Error:
MSB3577: Two output file names resolved to the same output path: "obj\Debug\net472\TestApp2.Edit.resources"

C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets

The code that the error points you to is line 3036 in Microsoft.Common.CurrentVersion.targets  which is situated in the CoreResGen section:
https://github.com/microsoft/msbuild/blob/e2a33003170b038bf0c2414df166b5409d4b9581/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3035-L3064
I believe the error is raised from:
https://github.com/microsoft/msbuild/blob/86d9494e446de002ea6a4f08d6fbd111b1041059/src/Tasks/GenerateResource.cs#L1462-L1491
The issue stems from the fact that in VB.Net the OutputResources are added without their namespaces:

Where as the C# OutputResources are fully qualified:

The names are transformed here using the EmbeddedResources ManifestResourceName, which seems to be broken in VB.NET:
https://github.com/microsoft/msbuild/blob/e2a33003170b038bf0c2414df166b5409d4b9581/src/Tasks/Microsoft.Common.CurrentVersion.targets#L3050

I wasn't sure where to raise it so i have also raised an issue in the dotnet/project-system:
https://github.com/dotnet/project-system/issues/6312

I have a report class library that doesn't have any forms and it also displayed the same issue.

@rainersigwald sorry to bother you with this. I am wondering if this is enough information to go off of?

@BenVillalobos can you take a look at this?

@elachlan Thanks for such a detailed issue! There's a PR in the works now.

@BenVillalobos Thanks for looking into it! Glad I was able to help :)

See https://github.com/microsoft/msbuild/pull/5477#pullrequestreview-450781160

So essentially it can't be fixed/won't in msbuild?
Would the fix be in visual studio to have it add an entry to the project file with dependant upon for the form resource file?
Additionally might I suggest we add an explanation of the differences between C# and VB.net at the top of CreateVisualBasicManifestResourceName.cs?

For the new SDK project format, would it not make sense for vb.net winforms projects to automatically include set dependant upon for its associated resource file (same name)? Visual Studio already recognises the resource file as a part of the form.
That way the project file isn't polluted unnecessarily with boilerplate definitions, which is the intention of the new format.
@KathleenDollard that wouldn't be a breaking change would it? Since its inline with what currently happens in the old project system?

@elachlan unfortunately it doesn't seem obvious (at least to me) that there is a "fix" for this situation. Especially after discovering that vb.net doesn't account for subfolders by design. The way DependentUpon works at the moment is also by design, and this specific situation is an unfortunate side effect that we offer ways to get around (manually setting LogicalName, ManifestResourceName metadata, or changing the folder structure).
Though I do agree we should clarify the differences between the two files, as this info should be archived. If you'd like, please file an issue 🙂 otherwise I can do that in a day or two.

I really appreciate all your help. I do not think the fix is in msbuild. But maybe in visual studio, to lighten the load of management.
I spent the last 4 days working to convert to an SDK project for two production winforms applications. I have to manually added entries for every form for the compile(vb/designer.vb) and embeddedresource tags(.resx) to get it to work.
Will visual studio be managing these entries in the project file in the future for VB.Net projects?
some of the issues I have had:

licx files (the release build didn't have a license for 3rd party component)
version numbers not showing in users app data folder, but on the assembly.
forms not showing as a form and being unable to be edited. (fix was manual entries, sometimes it wasn't needed, I can't work out what breaks it.)

It really does need someone to investigate the use case thoroughly to iron out issues with the sdk format.
Thank you all for your help. You have done a great job.

I'll have to defer to @KathleenDollard for your latest question.
Glad we got to a solution!


⚠ Processors has degraded performance

In a24d9ea, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 45 ms

Resolved: Processors performance has improved in c8a8f98.


No module named 'memory.memory_builder'

hi, i just run "droidbot -h" or  any .sh in ./scripts folder will get the error "from memory.memory_builder import Memory
ModuleNotFoundError: No module named 'memory.memory_builder'" ,but it is ok to run  "droidbot -h" when i follow the step in https://github.com/honeynet/droidbot/ .  It means i cant run the code in atuodroid, how can i fix this problem? thank you

Sorry, we have fixed the bug.


Set flags in imul

There are 4 TODOs here in imul, that we need to set flags:
https://github.com/evmar/retrowin32/blob/b998e571ba9e31b4cc95e18f091376cb8372a9fb/x86/src/ops/math.rs#L787-L814
https://www.felixcloutier.com/x86/imul says:

The CF and OF flags are set when the signed integer value of the intermediate product differs from the sign extended operand-size-truncated product, otherwise the CF and OF flags are cleared.

The three forms of the IMUL instruction are similar in that the length of the product is calculated to twice the length of the operands. With the one-operand form, the product is stored exactly in the destination. With the two- and three- operand forms, however, the result is truncated to the length of the destination before it is stored in the destination register. Because of this truncation, the CF or OF flag should be tested to ensure that no significant bits are lost.

I think what this means is that CF/OF should just be cleared in the first three of those impls (because there is no truncation).  imul_trunc should instead ... do something smart once I understand the first sentence of that quote.

I think what's saying is that for a like 16-bit mul, you multiply into 32 bits, then compare if truncating it matters.
let x = ... as i16;
let y = ... as i16;
let widened = (x as i32).wrapping_mul(y as i32);
let result = widened as i16;
let set_flags = widened != result;

I've been experimenting with getting code that complies to the imul instruction, and I think it's really cool that this does!

Godbolt link

With that, I've managed to land in the following:
fn imul_trunc<I: SignedInt>(x: I, y: I, flags: &mut Flags) -> I {
    let wide = x.widen() * y.widen();
    let flag = x.checked_mul(&y).is_none();

    flags.set(Flags::OF, flag);
    flags.set(Flags::CF, flag);

    I::from_wide(wide)
}

Which still compiles to just calling imul 🤩 Godbolt link


add cosine pricer and corresponding tests

add cosine pricer and correponding tests, interval a,b will generated automatically through moment generating function and autograd. (require autograd)

Coverage increased (+0.8%) to 94.444% when pulling 3ed28fcf5167fc9f557de4289489577bd0575bef on yerikzheng:master into 7f9f6d4924cf832cca5abdd957d442de5f2c8578 on arraystream:master.


Add the ability to run the test using a proxy server

I have a number of tests which must be run via a proxy. To do this, run the server browser with proxy option. But at the moment, there is no possibility for a launch configuration from config and from the test

@SevInf @eGavr @sipayRT How to look at a functional?

Can you explain more detailed what you mean? And add example, pls, how it should be look

@sipayRT I want use browser proxy settings. In python webdriver, i can do this
options = webdriver.ChromeOptions()
options.add_argument("--proxy-server=http://blablalba.com:8080")
driver = webdriver.Chrome(chrome_options=options)

After that, on the grid starts the browser proxy settings in which I have
In config I think this should look like this:
system:
    proxy: http://blablalba.com:8080

you can do it from gemini config. For example, enable geolocation:
  chrome:
    desiredCapabilities:
      version: "48.0"
      browserName: chrome
      platform: LINUX
      chromeOptions:
        prefs:
          profile:
            default_content_setting_values:
              geolocation: true

So you can add any settings for browser by using chromeOptions option


Combined Wasm stats + metadata implementations.

Combined Wasm stats + metadata implementations.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Keep alive ping.


Update hero-img

Ticket URL: https://national-archives.atlassian.net/jira/software/c/projects/UN/boards/75?modal=detail&selectedIssue=UN-226
About these changes
On the ArticlePage add a hero image and check on desktop and mobile for distortion. I've updated the hero to latest dimensions as shown in the design.
Before assigning to reviewer, please make sure you have

[ ] Checked things thoroughly before handing over to reviewer.
[ ] Checked PR title starts with ticket number as per project conventions to help us keep track of changes.
[ ] Ensured that PR includes only commits relevant to the ticket.
[ ] Waited for all CI jobs to pass before requesting a review.
[ ] Added/updated tests and documentation where relevant.

Merging PR guidance
Follow docs\developer-guide\contributing.md
Deployment guidance
Follow docs\infra\environments.md

Nice one, the heroes look a lot less pixelated now 👍


Install on 28-01-2021 of genie w/ pyats has all logging message sent to STDOUT

I have a semi-large application utilizing Netmiko to collect Cisco device information currently with TextFSM templates.  I decided to switch to genie and pyats to take advantage of Netmiko's ConnectHandler(**kwargs) with .send_command("show version", use_genie=True).  The packages work beautifully.  However...
Now all logging messages are sent to my terminal (macOS).  I cannot find where a log handler is even being defined or any configuration settings in pyats documentation to control default console logging behavior.  There was no STDOUT logging prior to using pip install genie, pyats.  I have tried to configure logging to make StreamHandler() and ScreenHander() only 'critical' level, but nothing stops the INFO level console logs.
For example when I initialize an ELK client object...
In [2]: bob = refresh_elk()

In [3]: bob.info()
INFO:elasticsearch:GET http://elk.s.cloud:9200/ [status:200 request:0.188s]

Python 3.8.6 (default, Nov 20 2020, 18:29:40)
pyats==21.1
pyats.aereport==21.1
pyats.aetest==21.1
pyats.async==21.1
pyats.connections==21.1
pyats.datastructures==21.1
pyats.easypy==21.1
pyats.kleenex==21.1
pyats.log==21.1
pyats.reporter==21.1
pyats.results==21.1
pyats.tcl==21.1
pyats.topology==21.1
pyats.utils==21.1
netmiko==3.3.2
genie==21.1
genie.libs.clean==21.1
genie.libs.conf==21.1
genie.libs.filetransferutils==21.1
genie.libs.health==21.1
genie.libs.ops==21.1
genie.libs.parser==21.1
genie.libs.sdk==21.1
Any advice or something I can set to turn off STDOUT logging.  Thanks!

Additional info... I tried installing genie / pyats on a RHEL7 host with python3.6 and got the same impact.  All logging from some unknown logger to STDOUT.

Additional info... I tried installing genie / pyats on a RHEL7 host with python3.6 and got the same impact.  All logging from some unknown logger to STDOUT.

More info... console logging only appears after loading netmiko with pyats and genie
In [8]: import pyats
In [9]: elk_network.info()
Out[9]:
{'data': 'hidden'}
In [10]: import genie
In [11]: elk_network.info()
Out[11]:
{'data': 'hidden'}
In [12]: import netmiko
In [13]: elk_network.info()
INFO:elasticsearch:GET http://elk.s.cloud:9200/ [status:200 request:0.095s]
Out[13]: {'data': 'hidden'}

More info... console logging only appears after loading netmiko with pyats and genie
In [8]: import pyats
In [9]: elk_network.info()
Out[9]:
{'data': 'hidden'}
In [10]: import genie
In [11]: elk_network.info()
Out[11]:
{'data': 'hidden'}
In [12]: import netmiko
In [13]: elk_network.info()
INFO:elasticsearch:GET http://elk.s.cloud:9200/ [status:200 request:0.095s]
Out[13]: {'data': 'hidden'}

A lot of troubleshooting later...
import netmiko
netmiko.logging.disable()

This eliminated the STDOUT logging for me, but I'm still not sure how installing pyats and genie triggered this logging change.

A lot of troubleshooting later...
import netmiko
netmiko.logging.disable()

This eliminated the STDOUT logging for me, but I'm still not sure how installing pyats and genie triggered this logging change.

FYI, I ran into this issue also when I accidentally installed pyats/genie 21.1 (instead of pyats 21.10...dang YAML and strings/floats).
The problem went away when I upgraded to pyats/genie 21.10.
I am pretty sure that pyats/genie was doing something with logging that was causing the stdout logging change and the Netmiko part was a side-effect (i.e. Netmiko was importing pyats and genie if they are installed, and those imports of pyats/genie were changing the logging behavior).


! 404 Not Found - GET https://registry.npmjs.org/@uiw%2Freact-markdown-peview - Not found

suddenly i am getting below error when i try to install the package
npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@uiw%2freact-markdown-peview - Not found npm ERR! 404 npm ERR! 404  '<EMAIL_ADDRESS>is not in this registry. npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url.
any idea how to fix this

@vishnuchd
-@uiw/react-markdown-peview
+@uiw/react-markdown-preview


Fixed Duel and other stuff

Fixed duel bug, when you finish a duel you will respawn in lobby (then duel ends)
When you connect to the server i added the clearchat
Added myself to github contributions

Thanks. f273b4bf679ec95c7a5fa57a89316f021a4adb87


Update wrapper for new maxFFT handler

see https://github.com/flucoma/flucoma-core/issues/140

closed by 5e9695d807bdb153e83185422c3132fd4b555630


Navbar > HTML structure

Implemented scroll behavior to all navbar menus and submenus.
Fixed spacing issues in the navbar.
Fixed Responsiveness issue.
Aligning right and left based on available screen width is fixed.

I don't understand. Do you even test your changes?

Like I repeatedly mentioned, the "Log in" text must be to the right of "Go to RID" input.

While you fixed the scrollbar issue of the collapsed menu. It's still broken for the submenus. Take a look at how master behaves:

The submenus should have the same background (not white)
There shouldn't be an extra scrollbar for the submenus
Submenus should be indented

I understand that since bootstrap is not using list elements these are behaving differently. But this doesn't mean you can ignore the broken UI. I expect you to come up with a proper solution to fix this broken UI.

Saying that you cannot find a cleaner solution for the scroll is not acceptable. At least try to clean up the existing one instead of just copy/pasting it. The current solution of changing the height of every open dropdown menu in the login-dropdown.tsx component is not acceptable.


Support for openai>=1.0

Adding support for the new API following the release of openai==1.0.0.

@Hartorn I fixed openai>=1 in for the test environment because I create instances of classes defined there. Since this is going to be the more supported version, I think it’s safe to keep it like this.
I still test the legacy version, but in that case I pass dicts, since the objects in openai==0.28.1 are compatible with dict.

@Hartorn I fixed openai>=1 in for the test environment because I create instances of classes defined there. Since this is going to be the more supported version, I think it’s safe to keep it like this. I still test the legacy version, but in that case I pass dicts, since the objects in openai==0.28.1 are compatible with dict.

👍 I regenerated the lock file, for the version to be used.
Should we run some tests with version <1 anyway ?

Should we run some tests with version <1 anyway ?

We don’t need that, I added tests to mock the two versions of the API. Currently we don’t have any end-to-end test that calls OpenAI API, it’s all mocked.


Convert CSS to preprocessor

Vanilla CSS is getting too complex and hard to maintain. Time to covert to LESS or SASS.

@stuartf: started the process of adding LESS to manage the styles. The only real changes here are to the build/dev processes.


[Makefile] Add trailing slashes to directories

To improve readability add trailing slashes to directories

Sure, they were missing! fixed.


Use pre-built version of controller-gen

/assign @sttts
fyi @tnozicka

/lgtm
/approve

this took time only the first time and was cached for next runs, right? I don't see a good reason yet to having to deal with matrix of architectures and privileges for uploading new versions of those binaries to github

this took time only the first time and was cached for next runs, right?

Nope, the moment I wanted to built a newer version I got bit by:

higher memory usage
missing deps

I don't think we want to fight with these problems. Having a downloadable binary for linux and mac, and eventually for windows is simple enough.


Update mobile payment banner functionality

Description
LEARNER-7549, LEARNER-7602, LEARNER-7608
Screen Shots:

Payment Info Screen Landscape mode

Course Unit Locked Landscape mode

@farhan We also have to trigger the event to track the screen when the user clicks on the Upgrade to Verified Today button.

@farhan We also have to trigger the event to track the screen when the user clicks on the Upgrade to Verified Today button.

It will be tracked via CourseUpgradeWebViewFragment screen event.

@farhan We also have to trigger the event to track the screen when the user clicks on the Upgrade to Verified Today button.

It will be tracked via CourseUpgradeWebViewFragment screen event.

@farhan I'm not getting for screen track event for the CourseUpgradeWebViewFragment.


Calendar open  in formly

Description
Is it possible to open the calendar, clicking on everywhere in the input field of formly?
Your Environment

Angular version: 8.3.20
Formly version: 5.9.3

Can someone suggest any solution for this
@aitboudad

see https://stackblitz.com/edit/angular-meffkb


Update realibility of ci and docker-compose

Hi @Gauvino , thanks for the changes, everything looks great so far. Only thing I need changed is in the compose file. The postgres image has to be postgres:15.2 as per the docker hub page, latest postgres tag breaks existing installs

Changed it !


Resolving images absolute path dependency

We shouldn’t be depended on an URL. This commit solves the issue.

@shinenelson, i'll merge this one

I've merged this. You can go ahead and upload @shinenelson

Deployed. Sorry about the delay. Was disconnected from internet last night.
~ shine
On Tue, Jan 19, 2016 at 12:47 AM, jsx<EMAIL_ADDRESS>wrote:

I've merged this. You can go ahead and upload @shinenelson
https://github.com/shinenelson
—
Reply to this email directly or view it on GitHub
https://github.com/MozillaKerala/Card-Generator/pull/42#issuecomment-172626878
.


new: usr: improve: remove styles: submission of paper2 for S17-IR-2021

Submission of paper2 for S17-IR-2021

Hello Professor ,
I am closing this request as I am have created a new pull request with styles removed.


HitBTC exposes USDT balance as USD

This is more of a question than an issue, but should XChange adapt requests for "USDT" to "USD" for HitBTC since the v2 api exposes it as such?
See https://api.hitbtc.com/api/2/explore/ , authorize with an API keypair and try either /account/balance or /trading/balance

No, you should use USDT as the counter currency.

I agree, I have funds on the site in USDT, but when I call XChange wallet.getBalance(Currency.USDT) it returns zero, because HitBTC v2 API actually returns this balance as USD.

Does HitBTC return it as USD or does the xchange code convert it somewhere?

HitBTC returns it as USD
On 12/18/2017 2:31 AM, Tim Molter wrote:

Does HitBTC return it as USD or does the xchange code convert it
somewhere?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/timmolter/XChange/issues/1998#issuecomment-352372239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADT6vb0TXse4xvYL2_ce5QEa__cqA24dks5tBjEOgaJpZM4REyyp.

I think this is a shortcoming of XChange. HitBTC uses the id "USD" to reference Tether. I don't think HitBTC supports US dollars.
{
  "id": "USD",
  "fullName": "Tether",
  "crypto": true,
  "payinEnabled": true,
  "payinPaymentId": false,
  "payinConfirmations": 2,
  "payoutEnabled": false,
  "payoutIsPaymentId": true,
  "transferEnabled": true,
  "delisted": false,
  "payoutFee": "0"
}

It looks like the HitBTC raw layer should parse that JSON as USDT, probably in the adapter code somewhere.


Does this work on windows?

Hi, this is so nice!
I was wondering if it also works on Asus. thanks

Thanks, lookalee from San Diego! Assuming your OS is Windows, you can download and install the "Bleeper-Windows.msi" install file here.

Thanks, kaka!


Move from Vec to Polars

Is your feature request related to a problem? Please describe.
The Vec format is not very convenient or fast to work with
Describe the solution you'd like
Moving to Polars will speed everything up and make development faster

Actually, Pandas was too inefficient for the purposes of the library. Instead, a vector for each value of the OLHCV data field was better


Chatty syntax errors

This happens whenever I hesitate while typing and there happens to be a syntax error.
My linter warns me about syntax errors, so I don't need yellow messages popping up as well.  Could there at least be a config option to turn these annoying messages off?

I think the proper way to fix this is for the plugin to expose an option to set silent=true. However in the meantime I fixed this by manually setting silent=true here https://github.com/reasonml-editor/atom-reason-refmt/blob/master/lib/main.js#L53


hitbox rewrite

Do we want to support the case where a shape can change direction post creation (besides the character)
No, I don't think we want to do that. Ideally each character implementation should calculate the attack pattern when the direction actually gets snapped ingame.
Will we ever need to support rotating hitboxes (will need to defer point calculation to collision check time for fan segments and rect corners)
I'm not quite sure. At worst, we'll probably have circle/rectangle hitboxes which have their center move in a certain direction (i. e. Xiangling Q, Diluc Q) and not hitboxes straight up rotating around their center.
Everywhere we pass x and y together, we should be using a Positional or Point (at least where we easily can to keep the code clean)
This requires rewriting some stuff, but sure. I wasn't a fan of the functions following https://github.com/genshinsim/gcsim/blob/e62decb2ae3fcb7bdc6cc7d0445266f35bdac1ac/pkg/core/combat/enemy.go#L75 anyways.
Should we add support for a set_direction function to the gcsl? Would allow people to write sims where they aim abilities between enemies, as an example.
Yes, but that requires doing a pass over all abilities which can be aimed to no longer just use PrimaryTarget, but use whatever position is set via set_direction. I think this is out of scope of this PR.

Rect - Rect Collision

AABB test
SAT test if both rectangles are not axis aligned (can skip SAT if not rotated)

Feedback implemented.

Circle - Circle Collision (no fan)

Radius test (could do AABB first, but imo circle collision pretty cheap)

Already implemented.

Circle - Fan Collision

Radius test
SAT test (circle axes: [center-center, center-nearest], fan axes: [segment_left, segment_right])

Is already implemented.
Sticking with current approach because not every fan can easily be represented as a convex shape.

Rect - Circle/Fan Collision (same w/ circle or fan)

AABB test
SAT test (circle or fan axes depending on shape)

Feedback implemented.
Sticking with current approach for Rect - Circle and calling panic() on Rect-Fan, because we don't support fan/rectangle hurtboxes for the forseeable future.

Fan - Fan Collision

Radius test
SAT test (using segment axes on both)

Calling panic() in this case for the same reason as Rect-Fan.

note to self: fix bloom spawn pos

note to self: fix box centering (adjust corner calc logic)


On Linux, Get-Childitem gets confused about files with backslashes in their names.

Steps to reproduce
$ touch a
$ touch 'x\y'
PS >Get-ChildItem

Both a and x\y are plain files.
Expected behavior
    Directory: /home/jeff/tmp

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------           5/1/17   2:35 PM              0 a
------           5/1/17   2:35 PM              0 x\y

Actual behavior
    Directory: /home/jeff/tmp

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------           5/1/17   2:35 PM              0 a

    Directory: /home/jeff/tmp/x

Mode                LastWriteTime         Length Name
----                -------------         ------ ----
------           5/1/17   2:35 PM              0 x\y

PowerShell is showing x as a sub-directory and the file x\y as a child of that non-existent directory.
Environment data

> $PSVersionTable

Name                           Value
----                           -----
BuildVersion                   <IP_ADDRESS>
CLRVersion
GitCommitId                    v6.0.0-alpha.18-38-g08e855556cff42274a5903799b826e78d0c...
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSEdition                      Core
PSRemotingProtocolVersion      2.3
PSVersion                      6.0.0-alpha
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

See also #5536 for Registry provider.


Typescript Error with VS 2019

tsc : error TS18003: Build:No inputs were found in config file 'C:/Users/DEV/.nuget/packages/blazormedia/<IP_ADDRESS>/contentFiles/any/netstandard2.1/tsconfig.json'. Specified 'include' paths were '["**/*"]' and 'exclude' paths were '[]'.

Same problem for me. @JohnnyOpcode did you find a workaround?

Also got this problem.

I added an empty file called file.ts to the netstandard2.1 directory. Any file name will do, it just has to have the .ts suffix.


FirebaseCoreInternal.h' file not found Error happened.

/Users/****/****/ios/Pods/FirebaseStorage/FirebaseStorage/Sources/FIRStorageReference.m:34:9: fatal error: 'FirebaseCore/Sources/Private/FirebaseCoreInternal.h' file not found
#import "FirebaseCore/Sources/Private/FirebaseCoreInternal.h"

I used this package in the app I'm making, and the error above appeared.
Just in case, I tried to build example's code in the repository, but the same error occurred.
How can we solve this?

Hi @kode-soar, could you please upload a full stack trace?
Maybe a „pod upgrade“ within the iOS directory could help. I will have a further look on that this weekend.

Thank you.
pod deintegrate
pod cache clean --all
pod install
work well!
Sorry :D


Sample models

Hi I was wondering if you could tell me some of the model architectures you are considering for the benchmark.
If not, could you give me an ETA for when the benchmark will be released?

Hi,
We are using the following models for our benchmarks:
Mobilenet for VWW
DS-CNN for AWW
FC autoencoder for AD
ResNet for image classification
Please join the google group for more information and to participate: https://groups.google.com/g/mlperf-tiny
We are currently in the process of uploading the models and refactoring the repo structure so stay tuned!


Just found out that you blocked me on twitter a few weeks ago for a realistic comment of mine on a post of yours capitalizing on Elon Musk's articles!!
You are posting more pro-ukraine propaganda than product news, company news or new products. You are covering for low quality products.
You also banned someone for comparing Libya, Palestine, Iraq to Ukraine.
Don't forget that the USA invaded Iraq based on lies, George Bush is the same as Putin. The world said nothing back then, and now everyone is crying for Ukraine.
https://www.youtube.com/watch?v=ZEg6Ht2pNH0

What does this have to do with our technology/platform/cameras? Politics has got nothing to do with Spatial AI and our mission, so please discuss such topics with your friends at a bar or bbq party instead.


added my name to the names list

This PR adds my name to the list of AltSchool-opensource-names

Please I am sorry for all the trouble we have caused you but count it all joy. Your PR is about to be merged and you will be able to see your name on this url.
To enable me to do this, READ the README again carefully, update your code with the latest and push the update. I am here for you for the next 6 hours before I close the PR so you can initiate a fresh PR which will be easier to merge.


weired text in host configuration

First: thanks for all the effort.
On the configuration page I would expect to be asked for the Host IP address, instead I get asked for a weird string:

When I close the configuration I do not see my configured IP, instead I see:

Besides this I did not manage to make it work. I do manage to connect via the python commandline from my host PC to this IP address:
hoymiles-wifi get-real-data-new --host <IP_ADDRESS>
3.6.1
Get-real-data-new Response: device_serial_number: "414392319514"
timestamp: 44994
active_power: 1
firmware_version: 1
sgs_data {
serial_number:<PHONE_NUMBER>9812
firmware_version: 1
voltage: 2312
frequency: 5001
active_power: 251
current: 10
power_factor: 999
temperature: 109
warning_number: 100
crc_checksum: 28864
link_status: 1
modulation_index_signal: 16646270
}
pv_data {
serial_number:<PHONE_NUMBER>9812
port_number: 1
voltage: 4
current: 1
error_code: 50331648
}
pv_data {
serial_number:<PHONE_NUMBER>9812
port_number: 2
voltage: 422
current: 62
power: 265
energy_total: 297
energy_daily: 34
error_code: 50331648
}
dtu_power: 251
dtu_daily_energy: 34
anything I need to install? what should the logs look like? I only get a log when I update the config.

Just figured out how to get some logs:
2024-02-03 13:31:44.652 ERROR (MainThread) [custom_components.hoymiles_wifi] Options update called!
2024-02-03 13:32:19.169 DEBUG (MainThread) [custom_components.hoymiles_wifi] Hoymiles data coordinator update
2024-02-03 13:32:19.171 DEBUG (MainThread) [custom_components.hoymiles_wifi] Unable to retrieve real data new. Inverter might be offline.
2024-02-03 13:32:19.172 DEBUG (MainThread) [custom_components.hoymiles_wifi] Finished fetching hoymiles_wifi data in 0.003 seconds (success: True)
2024-02-03 13:32:19.172 DEBUG (MainThread) [custom_components.hoymiles_wifi.sensor] Returning last known value instead of 0.0 for {self.name) to avoid resetting total_increasing counter
2024-02-03 13:32:19.173 DEBUG (MainThread) [custom_components.hoymiles_wifi.sensor] Returning last known value instead of 0.0 for {self.name) to avoid resetting total_increasing counter
2024-02-03 13:32:19.173 DEBUG (MainThread) [custom_components.hoymiles_wifi.sensor] Returning last known value instead of 0.0 for {self.name) to avoid resetting total_increasing counter
2024-02-03 13:32:19.174 DEBUG (MainThread) [custom_components.hoymiles_wifi.sensor] Returning last known value instead of 0.0 for {self.name) to avoid resetting total_increasing counter
2024-02-03 13:32:19.174 DEBUG (MainThread) [custom_components.hoymiles_wifi.sensor] Returning last known value instead of 0.0 for {self.name) to avoid resetting total_increasing counter

Thanks, the weird string results from preparations to merge into home assistant core. I will fix the string in the next update.
I noticed also that you called the options update. There might be a separate issue with that, since home assistant needs to be restarted for them to be applied.
Can you try setting up the integration again to see if it works?

@clinke77 The weird text should be fixed now with v0.1.1

@suaveolent I can confirm that now there is a nice "Host" written in the new version. And after a reconfigure and a restart I got the same logs as above.
I also tried to  run the commandline tool from inside the homeassistant container and could successfully connect to the inverter. I also got the mqtt solution (https://github.com/DennisOSRM/hms-mqtt-publisher) to work but I think your approach is much more appealing.
Now sun is down and unlike any other tech stuff you cannot test this in night shifts so I have to postpone to tomorrow.

@clinke77 it looks like the integration is using the ip and port from a completely different integration. Are you running the latest version of home assistant (2024.1.6)?
If not, can you try deleting the integration entry, updating to latest home assistant and then setting up the integration again?


Wiki and blogs are down (again)

Currently, neither http://wiki.scipy.org/ nor http://planet.scipy.org/ can be accessed.
Same issue as this one: https://github.com/scipy/scipy.org/issues/85

I've pinged people by email, but no response yet. I'll ping again.

"It's not just you! http://mail.scipy.org looks down from here."

It is down yet :(

Mailing list is also acting up, with weird things like

 (expanded from ): unknown user: "scipy-dev-scipy.org"

Not sure if related. Also, http://mail.scipy.org and http://planet.scipy.org are directed to MPI for Python, which doesn't make sense. wiki is completely down.

Wiki is still down, no-one has any idea how to fix that?

xref https://github.com/numpy/numpy/issues/6325

Same thing here. My bug reports were all closed.

The http://wiki.scipy.org/ is still down. I can't access it.

Is there any place where we can find the wiki content while it's down? Internet Archive has nothing, since the wiki had a restrictive robots.txt

I tried too, and Google cache, and other web crawler caches, nothing :cry: !

@rcoacci @Naereen Just out of curiosity, were you guys looking for the 'numpy for matlab users' page?

Nope, but there are lots of really useful pages there like Cookbook and ParalellProgramming. I'm specifically after the second.

@argriffing yes!
I found that one instead, but it's somehow not as useful :disappointed: ...

Th mailing list has some discussion about this, and at least some of the content is temporarily rehosted.

I want to access the cookbook. It seems that the content has been inaccessible for almost a month now.

I want to access the cookbook.

According to that mailing list thread, the cookbook has been converted to IPython notebooks at http://pv.github.io/SciPy-CookBook/.

I can't seem to find the Cython LIC example (Line integral convolution).
Perhaps also a good idea to change the link to cookbook at http://scipy.org/

i need mirror site.

Some important pages from the dead wiki.scipy.org are now hosted here: https://docs.scipy.org/doc/numpy-dev/user/
For instance, Numpy for MATLAB users.
And the CookBook is now at https://scipy-cookbook.readthedocs.org/.

Seems to have been sorted out.

Well, the wiki is still not available.
The pages can be read from https://scipy.github.io/old-wiki/pages/ though, it might be enough for now.

wiki.scipy.org redirects to those pages. The wiki itself is not going to come back --- it was edited 2 times in the last 2 years.

... it was edited 2 times in the last 2 years.

Was is even working?  I tried editing it a year ago (https://mail.scipy.org/pipermail/scipy-dev/2014-December/020259.html) and wasn't able to.

Iirc, it was in read-only mode for the last 2-3 years, due to being spammed to halt. The other numbers were 95 edits in the last 5 years. Nevertheless, if a wiki is needed (which is not clear), the hosting/maintenance should be done in a way that does not depend on piggybacking on someone's goodwill or available free time.

OK.
Then it's settled, this issue is indeed fixed.
Thanks for the explanations :tophat: !


minecraft-overviewer: init at 0.13.90

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option 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 nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I built and tested locally and it mostly works fine, but generating a map ends with this error:
at@ra:/mnt/S/gaming-C/Users/jc/AppData/Roaming/.minecraft/saves# overviewer.py The\ New\ World ~/trash/outdir2
2019-06-10 18:00:06  Welcome to Minecraft Overviewer!
2019-06-10 18:00:06  Generating textures...
2019-06-10 18:00:14  Preprocessing...
2019-06-10 18:00:23  Rendering 851 total tiles.
 98% [=================================================================================================================================================================================================================================================================================================================     ] 838 29.82t/s eta 00h 00m 00s
2019-06-10 18:00:51  Rendering complete!
2019-06-10 18:00:52 E An error has occurred. This may be a bug. Please let us know!
See http://docs.overviewer.org/en/latest/index.html#help

This is the error that occurred:
Traceback (most recent call last):
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/bin/.overviewer.py-wrapped", line 652, in <module>
    ret = main()
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/bin/.overviewer.py-wrapped", line 588, in main
    assetMrg.finalize(tilesets)
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/lib/python2.7/site-packages/overviewer_core/assetmanager.py", line 94, in finalize
    self._output_assets(tilesets, False)
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/lib/python2.7/site-packages/overviewer_core/assetmanager.py", line 171, in _output_assets
    self.output_noconfig()
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/lib/python2.7/site-packages/overviewer_core/assetmanager.py", line 179, in output_noconfig
    mirror_dir(global_assets, self.outputdir, capabilities=self.fs_caps)
  File "/nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/lib/python2.7/site-packages/overviewer_core/files.py", line 101, in mirror_dir
    shutil.copy(os.path.join(src, entry), os.path.join(dst, entry))
  File "/nix/store/9yi3j41iwz045cn8h6brghi3lzsd886k-python-2.7.16/lib/python2.7/shutil.py", line 139, in copy
    copyfile(src, dst)
  File "/nix/store/9yi3j41iwz045cn8h6brghi3lzsd886k-python-2.7.16/lib/python2.7/shutil.py", line 97, in copyfile
    with open(dst, 'wb') as fdst:
IOError: [Errno 13] Permission denied: '/home/at/trash/outdir2/bed.png'

Perhaps this happens because /nix/store/cfspf430rxckh9hyi35404cxg8rp31ad-minecraft-overviewer-0.13.90/lib/python2.7/site-packages/overviewer_core/data/web_assets/bed.png is read-only and overviewer expects to be able to copy it to the output folder, then overwrite the (r--r--r--) copy?

Yep, same problem here. I work around the following failures by running chmod -R u+w $mapOutputDir after every run, but I consider this an upstream bug which I'm planning to report upstream Soon™ :)

On the map I tested, I see that error at the end of the first run on a new output directory.
If upstream has no fix yet, I would suggest patching the software to make it nix store-compatible.

s/report upstream Soon™/fix upstream Soon™/
:)

I've added a hacky workaround and reported the issue upstream, as well as updating to the latest version (which uses python 3 :tada:). Will squash these together before a merge, but am leaving the commits separate for easier review for now.

Since you're going to be shipping outdated versions, I'd also prefer if you changed the "this may be a bug" bug report URL. I'm not interested in supporting people's outdated Overviewer versions because nix happened to ship it.

Tested this PR which is working :+1:

I updated it to latest version because of an incompatibility with some blocks ID
Here is the patch if you want to apply it:
From f3ebb946bf2de5282f3c761c328866fae396e464 Mon Sep 17 00:00:00 2001
From: nyanloutre<EMAIL_ADDRESS>Date: Sat, 2 Nov 2019 14:21:02 +0100
Subject: [PATCH] minecraft-overviewer: 0.14.40 -> 0.14.85

---
 pkgs/games/minecraft-overviewer/default.nix | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/pkgs/games/minecraft-overviewer/default.nix b/pkgs/games/minecraft-overviewer/default.nix
index ace5e557d0c..6e6fc1efc87 100644
--- a/pkgs/games/minecraft-overviewer/default.nix
+++ b/pkgs/games/minecraft-overviewer/default.nix
@@ -1,16 +1,16 @@
-{ buildPythonApplication, pillow, numpy, pkgconfig, fetchurl, lib }:
+{ buildPythonApplication, pillow, numpy, networkx, pkgconfig, fetchurl, lib }:

 buildPythonApplication rec {
   pname = "minecraft-overviewer";
-  version = "0.14.40";
+  version = "0.14.85";

-  propagatedBuildInputs = [ pillow numpy ];
+  propagatedBuildInputs = [ pillow numpy networkx ];

   nativeBuildInputs = [ pkgconfig ];

   src = fetchurl {
-    url = "https://overviewer.org/builds/src/42/overviewer-${version}.tar.gz";
-    sha256 = "0881sgr1c57jm9hhjzldbzksxmfvvzcl0isz80byyypg4x6rl22w";
+    url = "https://overviewer.org/builds/src/${toString (lib.strings.toInt (lib.versions.patch version) - 1)}/overviewer-${version}.tar.gz";
+    sha256 = "0jpw7lnb7v5gklqk9s7h08ibvy0a6475hgr8ajg2mzqqqybvjbxz";
   };

   patches = [ ./no-chmod.patch ];
--
2.23.0

I ended up not completing this because upstream updates so frequently and an impure, automatically updating expression would be better suited, and also because I'm no longer running a minecraft server.

If you want to make a new PR, go ahead :)


Add an 'allow' header to 405 method not allowed response.

TL;DR
Adds an allow header to the 405 Method not allowed synthetic response to be spec compliant. This is my fault for not including when I wrote this originally.
Per spec rfc7231:

The 405 (Method Not Allowed) status code indicates that the method
received in the request-line is known by the origin server but not
supported by the target resource.  The origin server MUST generate an
Allow header field in a 405 response containing a list of the target
resource's currently supported methods.

I'm not sure PURGE should be advertised like this.
On Mon, Feb 1, 2021, 08:48 Federico G. Schwindt<EMAIL_ADDRESS>wrote:

@fgsch commented on this pull request.
In src/main.rs
https://github.com/fastly/compute-starter-kit-rust-default/pull/30#discussion_r567976662
:

@@ -35,6 +35,10 @@ fn main(mut req: Request) -> Result<Response, Error> {
// Deny anything else.
_ => {
return Ok(Response::from_status(StatusCode::METHOD_NOT_ALLOWED)

           .with_header(

               header::ALLOW,

               format!("{}, {}, {}", Method::GET, Method::HEAD, "PURGE"),

In the wasm file I can see a lot of extra calls for the format! version,
since it needs to get the Display-ed representation, allocating the string,
formatting it, deallocating the string, etc.
Is there any reason you will prefer that over using literals?
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/fastly/compute-starter-kit-rust-default/pull/30#discussion_r567976662,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAOVRSSYLS7KF54524FSXLLS43LPRANCNFSM4W3PA7SA
.


Support newest idea version

1、Support newest idea version and enable plugin in all products
2、Upgrade to Swagger Codegen 2.2.2
3、Fix bug：Avoid group.selection to be null when there is no default option
4、Enhancement：Valid Swagger file before generate files

@gebing Thanks for this PR. I'll test it later today. I just had a question about one thing in the code, but can't test it for myself at the moment.

@gebing were you able to build this locally?
This is what I see when I try to compile and run:
$ ./gradlew runIdea
:compileKotlin
Download https://repo1.maven.org/maven2/io/swagger/swagger-codegen/2.2.2/swagger-codegen-2.2.2.pom
Download https://repo1.maven.org/maven2/io/swagger/swagger-codegen-project/2.2.2/swagger-codegen-project-2.2.2.pom
Download https://repo1.maven.org/maven2/io/swagger/swagger-codegen/2.2.2/swagger-codegen-2.2.2.jar
e: /Volumes/Extra/projects/intellij-swagger-codegen/src/main/kotlin/com/jimschubert/intellij/swaggercodegen/ui/GenerateDialog.kt: (241, 45): Java type mismatch expected (Mutable)Map<String!, Any!>! but found MutableMap<String, String>. Use explicit cast
:compileKotlin FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileKotlin'.
> Compilation error. See log for more details

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 15.785 secs

@gebing I've pushed 0.0.4 with your changes. Thanks!


Background suppression timing for ASL

In the ASL section, under pcasl,
https://bids-specification.readthedocs.io/en/stable/appendices/arterial-spin-labeling.html
the specification reads "Additionally, the BackgroundSuppressionPulseTime's is required in case BackgroundSuppression was applied."
However, I think the BackgroundSuppressionPulseTime is only a recommended parameter, not a required one (at least that is what the bids validator v 1.14.6 says, and it is not possible on our Philips system to find out from dicom what the backgroundsuppressionpulsetime is).
This should be changed to say 'recommended' not 'required'
Thanks
Michael

I agree. Do you want to open a PR to fix it?

Should have been closed by #1891.


Unquarantine storage tests mistakingly quarantined.

Before we realized our sig-storage k8s-1.19 and k8s-1.20 lanes
have a systematic issue, we tried to quarantine individual tests.
These were some of the affected, but they do not seem to fail in
the k8s-1.21 lane, which is far more stable.
Release note:

NONE

@maya-r Hi! so these tests were actually stable or there was a fix for them that got merged?

At least for test_id:6053 we had PR #5825 trying to fix it but it never became stable because the lanes were flaky.

/lgtm
/retest
Thanks!


fix: check downloads folder exists before deleting contents

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


The API /pipeline/{id} is throwing HTTP 404

Problem
It is observed that the API /pipeline/{id} is throwing HTTP 404 even though the id exists. The /pipeline returns a list of pipeline ids Tremor runtime has. However when a particular id detail is requested, it throws HTTP 404 error.
[@tremormetricsreceiver:~] % curl -i http://tremormetricsreceiver***.com:9898/pipeline
HTTP/1.1 200 OK
content-length: 43
date: Fri, 31 Jul 2020 20:04:00 GMT
content-type: application/json
["metrics-enrich","system::metrics","main"]%
[@tremormetricsreceiver:~] % curl -i http://tremormetricsreceiver***.com:9898**/pipeline/main
HTTP/1.1 404 Not Found
content-length: 0
date: Fri, 31 Jul 2020 20:04:05 GMT
Steps

Start Tremor with a pipeline
Query the pipeline using the /pipeline/{id} API.

Possible Solution(s)

Notes
Output of rustup --version:
Output of rustup show:
Output of tremor-server --version: 0.8.2

I think this is fixed on @darach's branch already :) let's double-check when he's back from vacation.

Fixed by #409 thanks @mfelsche !


errors in test.yaml

I think there are two errors in test.yaml.

mixing python_version and python-version

This leads to following error in execution:

I think test exectution command should read hatch test (what should be equivalent to pytest tests) and not hatch run test:pytest
The current setting creates Github Action jobs according the matrix and then refers to the hatch test environment containing a matrix as well. This results in job like this:

Improvement in https://github.com/FlorianWilhelm/the-hatchlor/pull/21


[Question]  Twint.Storage not found, possible problem with build

[x] Python version is 3.6.4.
[X] Using the latest version of Twint.
[X] I have searched the issues and there are no duplicates of this issue/question/request.

Command Ran

import twint

Description of Issue

import twint
Traceback (most recent call last):
File "", line 1, in
File "/home/saching/anaconda3/envs/py3/lib/python3.6/site-packages/twint/init.py", line 11, in
from . import run
File "/home/saching/anaconda3/envs/py3/lib/python3.6/site-packages/twint/run.py", line 1, in
from . import datelock, feed, get, output, verbose
File "/home/saching/anaconda3/envs/py3/lib/python3.6/site-packages/twint/get.py", line 2, in
from .output import Tweets, Users
File "/home/saching/anaconda3/envs/py3/lib/python3.6/site-packages/twint/output.py", line 5, in
from .storage import db, elasticsearch, write, panda
ModuleNotFoundError: No module named 'twint.storage'

Environment Details

Anaconda on Linux (Linux subsystem of windows 10)

Needed to update setup.py
Should work now if you want to reinstall with setup.py or pip


[VT-19] vit; Filter is lost on changing reports

David Patrick on 2013-09-03T01:27:30Z says:
After applying a filter in vit, and changing reports with something like :list, the filter is lost.
I think the filter should persist across report changes, so you can focus on one thing, but have multiple views of it.

Migrated metadata:
Created: 2013-09-03T01:27:30Z
Modified: 2014-02-09T01:16:50Z


Adds support for offloading to emms

What it says on the tin.

@squiter any interest in reviewing?

Sorry @cornfeedhobo I'm not using this package anymore, so I forget to look at it

@squiter no worries. I know how it goes. Thanks for doing what you can.


Fix typos in docs

I ran cspell and fixed the typos it detected

does there exist an official docker image for cspell?

yes docker run -v $PWD:/workdir ghcr.io/streetsidesoftware/cspell:latest "**" -> https://github.com/streetsidesoftware/cspell/issues/3270
so we could add it to our ci pipeline

Well, it would add a lot of overhead. You'd have to add each word it doesn't recognize (e.g. myfile) into a file

We could add it as a vscode extension to gitpod

Yes please do so in this pull


⚠ schweickart.me has degraded performance

In 2d46342, schweickart.me (https://schweickart.me) experienced degraded performance:

HTTP code: 520
Response time: 192 ms

Resolved: schweickart.me performance has improved in 671e7e4 after 18 minutes.


Add new APIs for safer mount specifications

This is for docker/docker#22373

ping @thaJeztah @justincormack

omg go lint....

Remove the volume structs from the base types package as well, or leave it there for compatibility reasons? Clients will have to change to the new package.

IIRC I moved these around due to circular imports.

Yes, so issue is types/container pkg needs volume create struct, which caused an import to types pkg, and types is already importing types/container... so the volume CreateRequest needs to be in a separate package.
Automatically I'm going to bring over ListResponse to that new package b/c these should not be split up, which means I also need to bring over the Volume struct or else have another circular import... types/container -> types/volume -> types

Lint issues and all are fixed, CI is passing now.

LGTM

@cpuguy83 this is modifying the existing endpoints, does that mean that the docker cli is going to use them too?

@calavera Not sure I follow.

oh, nevermind, I should have read more closely.

This is now updated and uses (or rather moves) the swarm mount types.

re-LGTM

LGTM
I like that we've combined these.

With 2 LGTMs I'm merging.
Thanks!


Missing the Code of Conduct

Hey, your project is currently missing the Code of Conduct. If you want to add that, then I can submit a PR. I also need the contact address (email address) to add that in the Code of Conduct.
Let me know what do you think about that.

What is this Code of Conduct? Also, submitting a PR won't do that much, as this project is practically abandoned, and have not been updated in a while. I don't have PR permissions, so the most I can do is make a fork, but I'm not willing to do that.

Thanks, but as for the Code of Conduct, you can see this.


[Bug]: Can't update node version

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When changing the node version in coolify it always goes back to node:lts
Steps To Reproduce
Have a node application
go to its settings
change node version
save
reload
-> Node version back to node:lts
Version
3.1.3

Oh, I can confirm it. It will be fixed in the next version!

I've got this on 3.7.0 as well as on 3.8.0.

The latest version fixed it! Let me know if not!


kernel/msg_q: reorder _K_MSGQ_INITIALIZER() initializers

This is a trivial change to satisfy C++, which requires that designated
initializers appear in the same order as the members they initialize.
Fixes: #14540
Signed-off-by: Charles E. Youse<EMAIL_ADDRESS>

Codecov Report

Merging #14645 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #14645      +/-   ##
==========================================
- Coverage   52.01%   51.98%   -0.04%
==========================================
  Files         309      309
  Lines       45583    45583
  Branches    10555    10555
==========================================
- Hits        23711    23695      -16
- Misses      17068    17080      +12
- Partials     4804     4808       +4

Impacted Files
Coverage Δ

include/kernel.h
94.52% <ø> (ø)
:arrow_up:

subsys/testsuite/ztest/include/ztest_assert.h
38.88% <0%> (-38.89%)
:arrow_down:

subsys/testsuite/ztest/src/ztest.c
65.28% <0%> (-7.44%)
:arrow_down:

Continue to review full report at Codecov.

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


adding chat bot at homepage

Feature request:
I want to add chat bot at home page

@kumarishalini6 Assigned :)

Is this still open?

I have already sent the PR


Upgrade all Logic contracts with proxies

I think this is complete as of #89  @ponderingdemocritus could you double check pls?

confirmed - closing


[RTP] update h.264/vp9 packetization code

done in https://github.com/webrtc-rs/rtp/releases/tag/v0.4.0


Fix Clone impls to call mlock

Clone implementations are currently derived, so they bypass the new functions that perform mlock. This PR replaces derived impls with custom impls that call new.

Thanks!


Removing security link in preference for security.md

removing since security.md handles this.  that link predates security.md

Summary of the Pull Request
This PR will remove the bottom link as security.md handles this.

PR Checklist

[ ] Closes: https://github.com/microsoft/PowerToys/issues/31790
[ ] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected
[ ] Tests: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Dev docs: Added/updated
[ ] New binaries: Added on the required places

[ ] JSON for signing for new binaries
[ ] WXS for installer for new binaries and localization folder
[ ] YML for CI pipeline for new test projects
[ ] YML for signed pipeline

[ ] Documentation updated: If checked, please file a pull request on our docs repo and link it here: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

Oh I also started working on the issue, locally. So this can also be included in a pr of mine... I can create one, to show what I mean.

That's why I assigned it to myself

This is a great example of changes that can be made individually versus a large PR.  This is a small, containable change.


Update ssis-catalog.md

My organization does not have Management Studio installed on all SQL servers. So, the instructions as provided for launching the Upgrade Wizard do not always apply to us. Hopefully, this is useful for others as well

@sovgit : Thanks for your contribution! The author, @douglaslMS, has been notified to review your proposed change.

@sovgit : Thanks for your contribution! The author, @douglaslMS, has been notified to review your proposed change.


continuous counts NaN or null as 0 in count

For example, this column has ~800 NaN values and no 0 values. yet it counts around 800 for that bin.

Surprisingly this only happens with arrow and not sql

Oddly there is some weird behavior with SQL too with this Null stuff.


[bug] Need to press play button twice on iOS mobile browser

I don't know why, but on iOS mobile browsers (Safari, Opera, Chrome - iOS) the component can't load and play the track on 1st play-button press. I need to click twice (there is no error in the console). Before 1st click audio player shows 0 seconds as start and end point. Then after 1st click it shows like track is loaded with correct length values. Then I click 2nd time and audio is played. Android device works ok. See my code example:
              <Render when={!!this.state.selectedTrack}>
                <ThemeProvider key={this.state.selectedTrack} theme={muiTheme}>
                  <AudioPlayer
                    src={find(this.state.audios, { name: this.state.selectedTrack })?.url}
                    width="100%"
                    spacing={1}
                    variation="primary"
                    order="reverse"
                    debug
                  />
                </ThemeProvider>
              </Render>

The Render shows its content on when property,
Url is a string to the track which is created like this:
 onDataAvailableEvent = (event: BlobEvent) => {
    this.audioChunks.push(event.data);
  };

this.stream = await navigator.mediaDevices.getUserMedia({ audio: true });
his.mediaRecorder.addEventListener('dataavailable', this.onDataAvailableEvent);

    const audioBlob = new Blob(this.audioChunks, { type: 'audio/mp3' });
// then { url: URL.createObjectURL(audioBlob) }

When I create simple method to play the track:
play = () => {
    const audio = new Audio(find(this.state.audios, { name: this.state.selectedTrack })?.url);
    audio.play();
  };

it works instantly, means correct.
Also it works when i set autoPlay - track is played. But I do not want to use autoplay.
All works correct on desktop browser.

Possible solution to implement:
this.player: HTMLAudioElement = new Audio(this.props.src);
this.player.addEventListener('loadedmetadata', () => {
// this.player.duration is available here
});
this.player.load();

Possible solution to implement:
this.player: HTMLAudioElement = new Audio(this.props.src);
this.player.addEventListener('loadedmetadata', () => {
// this.player.duration is available here
});
this.player.load();

Hi @Lazarencjusz ! Thanks for raising the issue. I've checked that issue and yeah it's reproducing for me. I need time to properly debug it on XCode virtual device and fix it.

@Lazarencjusz thanks for opening the issue! The issue is fixed https://github.com/Werter12/material-ui-audio-player/commit/842bf13c871b7c7ed898e8cee0b3b8287c92316f


SAP ASE user-defined functions do not show in Database Navigator

System information:
DBeaver running on Windows 7
DBeaver	<IP_ADDRESS>902181142	org.jkiss.dbeaver.core.product
java.version=1.8.0_201
Connection specification:
Sybase ASE 16 SP02
jdbc connection   com.sybase.jdbc4.jdbc.SybDriver
The driver type however shows as MS SQL Server
Describe the problem you're observing:
Whether split or included with Procedure, user-defined functions do not appear in the Database Navigator.
Steps to reproduce, if exist:
select * from sysobjects where type = 'SF'
these same objects are not found anywhere in Navigator
Note that sql-server used types 'FN', 'IF', 'FN', 'AF', 'FS', 'FT'

It also can be replicated in las t Community Version:
System information:
DBeaver running on Windows 8.1
DBeaver Version <IP_ADDRESS>909221630
java.version=1.8.0_201
Connection specification:
Sybase ASE 16 SP02
jdbc connection com.sybase.jdbc4.jdbc.SybDriver
The driver type however shows as MS SQL Server
Describe the problem you're observing:
Whether split or included with Procedure, user-defined functions do not appear in the Database Navigator.

Just checked and still present inDBeaver	<IP_ADDRESS>003211804

This was happening to me as well,  try editing connections and setting this to Advanced

Mine is already in Advanced. Also tried customizing it. But is still the same.
We are talking about ASE, not PostreSQL. Might be different.

Reading Sybase functions implemented in DBeaver 21.0.3
They are in Procedures list. And this function also have Source tab with function DDL.
But, unfortunately, function parameters not reading from driver, and I did not find them in system tables.
We will be happy with ideas and suggestions about this.

verified


There is no application set to open the URL /Users/***/Library/Caches/Godot/tmp_export.html.

Godot version: 3.1 beta 9
OS/device including version: OS X 10.14.2
Issue description: When trying to quick preview via html5 on Mac, it can't find a program to open the html file. I associated html files with a browser via finder but still no change. If I follow the prompt, then I can pick a browser if I select the "All Applications" option, but it doesn't persist the next time I preview.
Steps to reproduce: Quick preview any html5 compatible project on latest OS X.

What happens when you double click an .html file in Finder?

@akien-mga it gets opened by safari

I can confirm this, shell_open should expects URL and should begin with file://.
All other calls shell_open with local stuff seems to have it, like: editor/editor_node.cpp#L2201
JS Preview doesn't: platform/javascript/export/export.cpp#L363


'no-bounce' not working on iOS (v3.1.1)

Ionic version:  (check one with "x")
[ ] 1.x
[ ] 2.x
[X] 3.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Scroll bounce effect is still visible on iOS emulator and device (should be disabled).
it works as expected on android (no bounce effect)
Expected behavior:
scroll bounce disabled,
Steps to reproduce:

must be run using the emulator, or deployed to iOS device.
Related code:
<ion-content no-bounce>
<!-- your content here -->
</ion-content>

Other information:

This feature request might be helpful (#7061)
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 3.1.1
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.3.6
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.8.0
Xcode version: Xcode 8.3 Build version 8E162```

Thanks for the issue! I confirmed this is an issue when there is enough content to cause the page to overflow. See the following e2e test: https://github.com/driftyco/ionic/tree/master/src/components/content/test/no-bounce

Any news on this? Any workarounds?

I am having this issue as well...

There was another issue (#10329) regarding the bounce effect on iOS which happens when the content is bigger than the screen. The issue was close arguing that this is a normal behavior on iOS, which I agree on when it comes to Safari but which I don't agree when it comes to "native App". As far as I know, I never installed an App from the App Store which was producing such a bouncing effect.
When it comes to my app, I see this bouncing effect as a one of the major reason why we really found the GUI and user interaction better on Android, where this bouncing effect doesn't happen.
Therefore I would really love to see a solution. I invested some hours to try to find a solution (see comments in related issue) but unfortunately didn't found a solution yet :( except maybe at least a quick and dirty solution for one page

¯\_(ツ)_/¯-Workaround:
Add this to your app.scss
.content-ios:not([no-bounce])>.scroll-content::before {     bottom: 0; }

global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.0.0 ios 4.4.0
Ionic Framework                 : ionic-angular 3.3.0

System:
Node       : v6.10.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b
ios-deploy : 1.9.0
ios-sim    : 6.0.0
npm        : 3.10.10

any update ? no bounce not working for me.
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0
local packages:
@ionic/app-scripts              : 1.3.7
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : ios 4.4.0
Ionic Framework                 : ionic-angular 3.5.0
System:
Node       : v6.9.4
OS         : macOS Sierra
Xcode      : Xcode 8.3 Build version 8E162
ios-deploy : 1.9.1
ios-sim    : 3.1.1
npm        : 4.2.0

@danielfliegauf Awesome! Thank you!
Have you found a solution for pages that have contents bigger than the screen?

Unfortunately the solution above is not enough... and no-bounce still doesnt work on 3.5.0.

+1

Me, too.
no-bounce still doesnt work on 3.5.3.

I am sure it's not work on 3.5.3. @brandyscarney

interesting, I'm using v2.2.3  and ion-content has no bouncing, even I set  has-bouncing="true", it just doesn't work.

+1

+1

Same here. no-bounce has no effect.. I was trying clean ionic project ionic conference and applied no-bounce at speakers list page.. bouncing of scroll has not been disabled
cli packages: (/Users/lucky/Documents/projects/ionic-conference/node_modules)
@ionic/cli-utils  : 1.9.2
ionic (Ionic CLI) : 3.9.2

global packages:
Cordova CLI : 7.0.1

local packages:
@ionic/app-scripts : 2.1.4
Cordova Platforms  : android 6.2.3 ios 4.3.1
Ionic Framework    : ionic-angular 3.6.1

System:
ios-deploy : 1.9.1
ios-sim    : 6.0.0
Node       : v6.9.5
npm        : 5.4.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b

Tested with xcode simulator iPhone 6 Plus

The no-bounce seems to SOMETIMES be working on modals. But only sometimes and for the first time I show it. Then it breaks. Need fix asap

any further updates on this? bouncing on iOS ionic web app causes scroll focus on body instead of the scrolling content, and this made whole page has a scroll freeze behavior, this is why we need to disable the iOS bouncing.

+1

+1
Waiting this fix SO MUCH

+1 waiting for this fix.

any updates on this issue? I can see its still bouncing up, specially pages on Tabs, ionic 3

¯_(ツ)_/¯ Another Workaround...
.ios {
  <your-screen> {
    .scroll-content {
      -webkit-overflow-scrolling: auto !important;
    }
  }
}

Yes its a workaround, i also tried that, but the scrolling is not nice :( @FabioGois

+1

@brandyscarney Is this issue being seen? Do we need to create a new issue?


ci: update release CI

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
Updates release CI to create a Github release and publish NPM version when there is a version bump merged into main.

@frozeman can you set the develop branch as the default one please?


[iot] Update identity-enabled hub tests to fix endpoint RBAC issues

Description
Updates IoT Hub tests for identity-enabled hubs to fix RBAC endpoint connection issues.

Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Fixing #15894

iot

/azp run


Unable to grab library from Maven.

I've included compile 'io.apptik.widget:multislider:1.2.0' in my build.gradle file, and android studio is unable to find the library. I am also unable to find it on Maven Central.

I was able to use the last version from org.djodjo however...

my bad... just released..  it should be available on maven soon


Resolve work and dest dirs relative to CWD instead of the root.

It would be really nice to see this merged ... currently the dest_dir is resolved twice against the root, which really produces funny paths and makes it hard to integrate this tool into a build.

Any comments on why this change, or what it fixes?

web-component-shards was tying the destination of the build to the source. This makes it extremely dependent on having a certain sort of project layout. This change brings the flags more in line with expected behavior of a build tool.

LGTM


Fix logging issue for FetchHeadServiceURL

Why are these changes needed?
When logging the FetchHeadServiceURL function, the port field was included as a string defaultPortName. This caused issues in Logz.io, where the port field was expected to be a long integer. The port field from the log entry is removed to ensure only headServiceURL is logged.
Related issue number
Checks

[x] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

Related Slack thread: https://ray-distributed.slack.com/archives/C02GFQ82JPM/p1719515223622979


Show breadcrumbs whilst debugging

I have breadcrumbs enabled but they do not show during debugging.
You can see here that the file I'm debugging (which is a third party library) does not have breadcrumbs. Files I open directly do have breadcrumbs:

You can see here that the file I'm debugging (which is a third party library) does not have breadcrumbs.

@karthiknadig How does python "serve" these files? Is it via the TextDocumentContentProvider-API?

@jrieken This happens via DAP. So the file that is opening here is because we tell that the top of the stack. We don't serve files for debugging.
/cc @int19h

DAP itself has a message that client can use to request the source code, and debugpy does support it. Outside of Jupyter, however, this logic should only kick in when doing remote debugging with path mapping - unmapped remote files are fetched like that.
IIRC if you hover over the tab for this file in the editor, you should see the remote path for it. This might provide some clue as to why it wasn't path-mapped.

This happens via DAP. So the file that is opening here is because we tell that the top of the stack. We don't serve files for debugging.

@weinand Is it that the DAP implementation uses some form of virtual document for this, e.g something that isn't backed by a real or virtual file system but just a readonly text file?

@jrieken yes, whenever the debugger hits a breakpoint in a location not backed by a real file, the debugger sends a "debug URI" to VS Code via DAP. VS Code resolves the URI via the DebugContentProvider which loads the readonly text contents via DAP's source request.

Thanks for clarifying.
Today breadcrumbs hides/disables whenever the document isn't from a file system. That's because its path cannot be "browsed", e.g the path-component of its uri must not be separated by the "normal" separator character and there is no way to detect siblings along the path (readdir cannot be called for these uris). That something breadcrumbs cannot change but the handling of this can be improved. Ideas

show the uri path but don't allow for browsing sibling
still show the symbol path

Possible duplicate of #62290


There is no parameter for speed/rate

A parameter for speed/rate, or, in an another point of view, the z-index of the image, may be a good improvement ?

This should be an easy fix. A rate property needs to be included and insterted to the code here at line 210 in parallax_image.dart:
Alignment alignment;
if (_scrollPosition.axis == Axis.vertical) {
double value = rate*(_position.dy / _screenSize.height - 0.5).clamp(-1.0, 1.0);
alignment = new Alignment(0.0, value);
} else {
double value = rate*(_position.dx / _screenSize.width - 0.5).clamp(-1.0, 1.0);
alignment = new Alignment(value, 0.0);
}
I've played aroud with changing the values in the package code and negative values work well.
Apologies for not just doing it as I've not edited plugins before. Granted i gave it a try, but it came up with errors. @pulyaevskiy


Under QEMU 6.1 sway does not recognize virtio-gpu as a hardware renderer

Describe the bug
When running with QEMU 6.1 a VM created a few versions ago will fail to run sway without explicitly telling it to use the software renderer which has significatly degraded performance.
Sway debug errors when running under QEMU 6.1:
00:00:00.039 [ERROR] [wlr] [render/egl.c:281] Software rendering detected, please use the WLR_RENDERER_ALLOW_SOFTWARE environment variable to proceed
00:00:00.039 [ERROR] [wlr] [EGL] command: eglMakeCurrent, error: EGL_BAD_DISPLAY (0x3008), message: "Invalid display (nil)"
00:00:00.039 [ERROR] [wlr] [render/gles2/renderer.c:742] Could not initialize EGL

I have isolated it to QEMU, by adding an overlay of QEMU prior to commit 988da51d9c4, and sway runs normally.
Steps To Reproduce

Create a VM with sway with QEMU <= 6.0, observe it running with virtualized hardware acceleration
Upgrade to 6.1.0
Run sway inside VM with QEMU 6.1.0, and observe the crash.

Expected behavior
Sway should run with hardware accelleration in EGL context.
Additional context
There is a nixos test for sway which essentially runs in a similar setup which passes on Hydra builds. It would seem to be showing a false positive with this context. Changing the parameters to use -vga none -device virtio-gpu-pci as the test does, for me has the same failure.
There was also an upgrade to libvirtio in a4d1cc9c23042fb0ee11e1313d16a888d35b9056 but my overlay is working with that new version so I don't think that is the cause of the problem.
Notify maintainers

@alyssais
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.0, NixOS, 21.11 (Porcupine)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.16`
 - channels(root): `"nixos-21.11pre326932.b165ce0c4ef"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

This is https://gitlab.com/qemu-project/qemu/-/issues/586.  @wkral, does adding "-device virtio-vga-gl" as mentioned in that issue fix the problem for you?

@alyssais Yes it does. Thanks very much, I searched for quite a while and wasn't able to find that issue, or any other doc mentioning the change.

I'm sorry I didn't test this correctly. I unknowingly had software rendering enabled in my VM for the test I did yesterday. When I went to use it today performance really degradded, I didn't notice at first but it seems that it got worse over time. Curiously, I think I must have had software rendering enabled in the last week or so while I had reverted QEMU 6.0 and performance wasn't so bad. Or possibly sway ignores the software rendering flag if it has access to hardware rendering.
I have since tested sway hardware rendering with the -device virtio-vga-gl flag in QEMU 6.1, but it fails with the same error.
I also moved back to the 6.0 overlay and re-tested without the software rendering flag, and that works correctly.

Seems to work now with version qemu 7.0.0 and using the -device virtio-vga-gl and removing -vga virtio arguments. Might have worked in versions prior to this, but this is first time I was able to get it to work.


daemon: add e2fsprogs for ext4

The container can not bootstrap a dmcrypt scenario since it tries to
create an ext4 partition. Since ext4 is not present, the preparation
fails.
Fixes: https://github.com/ceph/ceph-ansible/issues/1496
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

@leseb I feel like this should be xfs by default and optionally ext4. Is there a provision for doing xfs here?

@GregMeno ceph-disk seems to hardcode ext4. Not sure why. @dachary is there any particular reasons why the ceph lockbox fs is ext4 and not xfs? Could it be an issue with crytsetup?

jenkins test ceph_ansible-jewel-centos7_cluster

jenkins test ceph_ansible-jewel-xenial_cluster

jenkins test ceph_ansible-jewel-xenial_cluster

is there any particular reasons why the ceph lockbox fs is ext4 and not xfs? Could it be an issue with crytsetup?

ext4 is more reliable than xfs, reason why it is used for the lockbox

jenkins test ceph_ansible-jewel-xenial_cluster

jenkins test ceph_ansible-jewel-xenial_cluster
(sorry for the noise)

@dachary what do you mean by more reliable? For our particular use case with cryptsetup and LUKS?

what do you mean by more reliable?

I mean in general. I would rather trust ext4 to not loose data.

jenkins test this please

what does that say about Ceph's FileStore on XFS?

@ktdreyer what do you mean? Can you be more specific?

I'm speaking in reference to Loic's comment, "I would rather trust ext4 to not loose data."


Problem with exceeding the event slots in the calendar

Check that this is really a bug

[X] I confirm

Reproduction link
https://codesandbox.io/s/react-big-cal-datecellwrapper-so-question-forked-kdrpv?file=/src/index.js
Bug description
Exceeding the event slots in the calendar (month type) will cause problems. Under normal circumstances, this is fine.
However, if the event slot is exceeded, the number of showmores is displayed correctly. For example, if an event slot that is exceeded is longer than that date, information about that date is lost from the calendar.
Do you hanppend to know how to fix it?
Expected Behavior
Excess date information seems to have to be printed on the calendar.
Perhaps it should be shown in showmore, not in a slot in the calendar.
Actual Behavior
No response
react-big-calendar version
0.38.9
React version
17.0.2
Platform/Target and Browser Versions
macOS/Windos, chrome
Validations

[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
[X] Make sure this is a react-big-calendar issue and not an implementation issue

Would you like to open a PR for this bug?

[X] I'm willing to open a PR

t5 is now displaying in calendar

I haven't picked your example apart, but I imagine what you're seeing may have to do with your misuse of dates. Looking at your events, you have both strings and moment objects for start and end, when the documentation specifically states that Big Calendar requires true JS Date objects.

I haven't picked your example apart, but I imagine what you're seeing may have to do with your misuse of dates. Looking at your events, you have both strings and moment objects for start and end, when the documentation specifically states that Big Calendar requires true JS Date objects.

Thank you for your reply.
Could you check reproduction link again?
I changed start and end type, but it's still not working.
I think it's internal algorithm problem.

This has to do with the way events are sorted. T5 is the last event to start on the 13th, so it drops to the 'more' for that date. Looking at the event in the TimeGrid view, it does span through the 15th, but since there isn't enough space in your Month view to display all of the dates, it's not displayed.

This has to do with the way events are sorted. T5 is the last event to start on the 13th, so it drops to the 'more' for that date. Looking at the event in the TimeGrid view, it does span through the 15th, but since there isn't enough space in your Month view to display all of the dates, it's not displayed.

So, you mean not updating that part?

since the height of your calendar is only tall enough to display three events on a day, t5 is not displayed, and is part of the 'more' for the 13th. That's why you don't see it.

since the height of your calendar is only tall enough to display three events on a day, t5 is not displayed, and is part of the 'more' for the 13th. That's why you don't see it.

Thanks, I still like this library.
I know what you mean exactly, but I just want to see them at any height.
I thought more is going to be the answer.


Display the specific error in the case of a 403

A status of 403 against the API would be masked with a generic message. This displays a more specific message - either one returned in the API json, or a default message about authentication.

Should we just do this with every status code that falls through? I think returning the err would be better than losing it here:
 	if res.StatusCode != 200 {
 		return nil, Error(fmt.Errorf("Invalid status for %s %s: %d", req.Method, req.URL, res.StatusCode))
 	}

Assuming that the response has valid json with a "message" property, the error should get this info here.

Yeah that makes sense. That latest commit handles all the fallthroughs. The changed test shows that if the call returns some weird status without json it'll display an error about being unable to parse the response.


Format http://solc-bin.ethereum.org/bin/soljson-v*.js has changed

The format of http://solc-bin.ethereum.org/bin/soljson-v*.js has changed from version 0.5.14.
This results in the fact that source with a compiler version of 0.5.14 or higher shows the error:
Error: Contract could not be compiled. Try another pragma solidity version.
Until version 0.5.13:
https://solc-bin.ethereum.org/bin/soljson-v0.5.13+commit.5b0b510c.js
var Module=typeof Module!=="undefined"?Module:{};

https://solc-bin.ethereum.org/bin/soljson-v0.5.14+commit.1f1aaa4.js
"use strict";var Module=typeof Module!=="undefined"?Module:{}

This breaks the following piece of code (e.g. the checking for var Module).
async function getCompilersource(compilerURL) {
  try {
    const opts = {
      url: compilerURL,
      caching: true,
      transform: function (data) {
        if (data.substring(0, 10) != 'var Module') {
          throw Error('get compiler source fail');
        }
        return data;
      }
    };
    return await promiseAjax(opts);
  } catch (error) {
    throw error;
  }
}

Source is probably:
https://github.com/alincode/solcjs-core/blob/master/src/getCompilersource.js#L12

@gpersoon pull requests are welcome - do you maybe have students who are interested in this? :-) sadly we are currently very busy and smartcontract.codes and the related play-ed are at the moment not supported by anyone.
But thanks for the nice write-up


Using hostname and ipaddress cookbooks together

I set a hostname using set_fqdn and alone, that works.  I setup an interfaces file using harryyeh/chef-ipaddress and that works.  But try to do both in the same cookbook, to a system that currently has some other hostname set...
This fails because the data bag in servers has an id that doesn't match the current hostname, even if you list ipaddress after hostname in the run_list, those things are apparently checked at parse time, and the hostname hasn't been set yet.  Haven't found any workaround other than manually setting hostname with sudo hostname on the host before trying the cookbook.
Not sure if this is similar to #17 or not.  Reporting it here, since @harryyeh 's cookbook seems to be out of maintenance and you might be using something else that you can tell me about, but maybe I should cross-post the issue there.

I am also trying to figure out how to accomplish this use case. If you already figured this out, do you mind sharing it here?

I didn't, actually :/ I just settled on a multi stage process with one chef cookbook assuming that it knows how to set the network, and another after that does post-bootstrap stuff assuming it has already been set up correctly. If you have a better way, I am all ears!


Drop table semantics

Description
Use Case
Something high-ish level that allows Rust lib users to erase the root table directory completely, perhaps a DropTableBuilder/action/DeltaOperation/drop method on DeltaTable. So effectively an interface that can be used to execute DROP TABLE my_table SQL.
Alternatively, do a lazy drop by delaying physically deleting anything and instead flag the table somehow, so that CreateTableBuilder doesn't throw CreateError::TableAlreadyExists even in SaveMode::ErrorIfExists mode.
Related Issue(s)
Perhaps worthy of including in #1128

Just to give a bit more context: while doing list on a given prefix and then delete for each path returned works, I suspect it will be sub-optimal for tables with a lot of files.

As you mentioned, in delta we can delete tables by simply removing all files from the log, but this will not allow for the create scenario you mentioned. I guess listing and deleting the files is the way to go here... this can be made quite efficient once we get to implementing the batch delete apis offered by the major object stores.
Having a special flag to ignore existing data could work, but there i would be quite hesitant, as it would be special to delta-rs, and not honored by other writers etc..

this can be made quite efficient once we get to implementing the batch delete apis offered by the major object stores

Nice, looking forward to this!

Eventual consistency in S3 and other object stores will cause problems when trying to create and read the transaction log.

Makes sense, thanks.
For the record I'll circumvent this problem by changing the intended storage layout. Instead of the table uri being dependent on database/schema/table names, it'll be dependent solely on a uuid uniquely tied to that table. This solution may not be general enough for other people, because it relies on us keeping a separate metadata store (e.g. SQLite) to track all the table uuids (in our case, we need one anyway to track the databases/schemas/functions etc.).
However, this guarantees that e.g. renaming a table is just a minor op, or that dropping a schema/table can be done lazily (since subsequent re-use of the schema/table names will result in a different uuid, so there won't be conflicts). I also intend on GC-ing the dropped (stale) schema/table directories via some variant of the VACUUM command, ideally using the batch delete api.
Therefore this is no longer a (major) issue for me, AFAIC you can close it. I am still very much blocked by #1188 though.


How do I send different events after pressing a button?

How do I send different events after pressing a button? Different interfaces, the same buttons also have different functions and need to send different events. How to deal with this?
the device no touch panel, only physical keys,

The simplest way would be to change the button ID at runtime. We don't have an "id_set()" api, but nothing prevents you from doing something like this:
button->gx_widget_id = USER_DEFINED_ID
The event generated by a button is always a combination of the widget ID and the event action, so this will change the event generated by the button.