Running node scripts with alias-hq/init from subdirectories fails

Originally posted by @andidev in https://github.com/davestewart/alias-hq/issues/46#issuecomment-1108262620
It looks like the solution for loading Alias HQ via a require flag in Node is causing issues when running scripts not in root project folder; package.json does not seem to be found.
This makes running scripts from WebStorm fail so we cannot still replace tsconfig-paths with alias-hq fully 😞
Screenshot of this issue reproduced with alias-hq from terminal and how same works with tsconfig-paths:

I am guessing this is caused by how alias-hq looks for package.json is different from tsconfig-paths, or maybe tsconfig-paths doesn't load the package.json at all since it has no settings saved there? Not sure.
Is it possible to change that in case package.json is not found it does not throw an error? Oor maybe it looks for a package.json file further up in the directory tree until it finds one?
I can provide a PR for this if it's ok

Just looking at this now @andidev.
So I Alias expects the script to be run from the same folder the package.json is in.
You say you're running the script from another folder. Can you give some more context as to where everything is and where you are running from, and why?
I'm guessing:
+- project
    +- node_modules
    +- src                     <- current directory
    |   +- playground
    |       +- playground.ts   <-- target file
    +- package.json
    +- tsconfig.json

The no-code workaround would be to run all this from the project root, no?
Any reason .bin isn't in your local PATH?
export PATH=$PATH:node_modules/.bin

Would mean less typing:
ts-node -r alias-hq/init src/playground/playground.ts

Right now I'm thinking if you want to run scripts from subfolders, I would need to:

look up the tree for either package.json or (ts|js)config.json
choose this as the root folder
load settings
load config

I'm guessing this would work, but not sure I want to change how the lib works right now.
Did the tsconfig-paths lib handle this as outlined in #46 work?

@davestewart sorry for the late response. been super busy.

You say you're running the script from another folder. Can you give some more context as to where everything is and where you are running from, and why?

So I run all sorts of scripts for pathing database and just to simply run jobs when fixing bugs. I do that from WebStorm as seen in the image. None of these are located in the root folder since it would be a really big mess.

And this is now failing with -r alias-hq/init but do work with -r tsconfig-paths/register.

The no-code workaround would be to run all this from the project root, no?

Yes it works running from project root. And my example command line call is just a way to reproduce the issue.

Any reason .bin isn't in your local PATH? Would mean less typing.

Thanks for the tip. But it is in my path but I have not installed ts-node globally since different projects use different version and therefore I call it directly from the node_modules in the project.

Did the tsconfig-paths lib handle this as outlined in https://github.com/davestewart/alias-hq/issues/46#issuecomment-1054152397 work?

Yes it works. And I can still use it instead of alias-hq/init from WebStorm so not a super big issue. But would be great to be able to only use one plugin for one thing and your lib is the most promising as I see it.

Ok, gotcha. I'll look to fix it!


shouldFix parameter was false, not attempting fixes

Hi, recently the fixing stopped working:
2020-11-13T10:48:53.680Z eslint:cli-engine Lint xxxxxxx/theme.tsx
2020-11-13T10:48:53.680Z eslint:linter Linting code for xxxxxxx/theme.tsx (pass 1)
2020-11-13T10:48:53.680Z eslint:linter Verify
2020-11-13T10:48:53.680Z eslint:linter With ConfigArray: xxxxxxx/theme.tsx
2020-11-13T10:48:53.818Z eslint:linter Generating fixed text for xxxxxxx/theme.tsx (pass 1)
2020-11-13T10:48:53.818Z eslint:source-code-fixer Applying fixes
2020-11-13T10:48:53.818Z eslint:source-code-fixer shouldFix parameter was false, not attempting fixes
2020-11-13T10:48:53.818Z eslint:cli-engine Linting complete in: 148ms

I am using this config:
{
  "editor.codeActionsOnSave": {
    "source.fixAll": true,
  },
  "editor.defaultFormatter": "dbaeumer.vscode-eslint",
  "editor.formatOnPaste": false,
  "editor.formatOnSave": true,
  "eslint.codeActionsOnSave.mode": "all",
  "eslint.format.enable": true,
  "eslint.debug": true,
  "eslint.alwaysShowStatus": true,
  "eslint.validate": ["javascript", "javascriptreact", "typescript", "typescriptreact"],
}

I did upgrade to node 14, but the extension found it and is working as you can see from the output.

Version: 1.51.1
Commit: e5a624b788d92b8d34d1392e4c4d9789406efe8f
Date: 2020-11-11T01:11:34.018Z (2 days ago)
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0

nevermind, it was a regression in the workings of plugin:prettier/recommended, as it was working before (all year up till now) without excplicitly registering it. It now needs to be registered before the rest of the prettier config:
  - plugin:prettier/recommended
  - prettier
  - prettier/react
  - prettier/@typescript-eslint

Hope this report is of help to others suddenly without auto formatting.


apt_package and package seem to be duplicated on coverage tests.

I have:
it 'installs requisite apt packages for thrift/scribe' do
      expect(chef_run).to install_package('automake')
end

in tests, and
package 'automake'

in my recipe.
In the coverage output, I have:
apt_package[automake]              cookbook/recipes/recipe.rb:11

if I change this to install_apt_package, I get
apt_package[automake]              cookbook/recipes/recipe.rb:11
package[automake]              cookbook/recipes/recipe.rb:11

Hi @cpakman
What version of Chef are you using?

I'm on chef 12.4.0, and chefspec 4.2.0

Can you try an earlier version of Chef please?

sure - is there a particular version you suggest?

One that wasn't released today :smile:

I had the same problem with 12.3.0, but upgraded to see if that would fix the problem. I'll try 12.0 and bisect if it works

The last release it seems to work on is 12.0.3, 12.1.0 has the problem I described

I found a temporary solution - to specify the platform on a chefspec runner. This doesn't seem to solve the larger problem of dealing with multiple platforms well though.

I cannot reproduce this on ChefSpec 4.3.0 and Chef 12.4.1:
# spec/default_spec.rb
require 'chefspec'
ChefSpec::Coverage.start!

describe 'cookbook::default' do
  let(:chef_run) do
    ChefSpec::SoloRunner.converge(described_recipe)
  end

  it 'installs automake' do
    expect(chef_run).to install_package('automake')
  end
end

# recipes/default.rb
package 'automake'

$ bundle exec rspec -fd

cookbook::default
  runs dpkg with test

Finished in 0.00903 seconds (files took 0.87318 seconds to load)
1 example, 0 failures

ChefSpec Coverage report generated...

   Have a fantastic day!

If you are able to reproduce this issue on ChefSpec 4.3.0, please open a new issue and include the full recipe file, full spec file, and output of running Chef in debug mode. It is generally very helpful if you are able to create a cloneable, public GitHub repo that reproduces this issue with a Gemfile and no external cookbook dependencies. Thanks! :smile:


M-colorability Optimization Problem (Graph coloring problem)

Aim

To find the smallest integer m for which the given graph can be colored. This integer is referred to as the chromatic number of the graph.

I wish to work on this problem and I am interested to use C/C++ for this issue.
Please assign this issue to me under LGM-SoC'21.

This will be my one of the first contributions please assign it to me.


Implicit flow support

I have just updated my project from oidc-client-js and I am now getting Error: Only the Authorization Code flow (with PKCE) is supported, has support for implicit flow been removed?

@sam-rad i updated my project to support PKCE as implicit flow is not recommended anymore


Tutorials Page Search Feature

Hey @carlosgauci, we need a search feature on the tutorials page as you discussed on discord. There's already a design for it: Figma design.
UX:

When the user clicks the search bar, the modal will open and the cursor's focus will be on the search input. When user types the search word and presses enter or search button, query will send to the endpoint and results will be shown on the modal.
There will be 5 search result items in the list.
A spinner would be nice to show in the pending state.
ESC key, X button on top right or clicking outside of the modal should close the modal.
Now in the design, the result items displays the title of a tutorial and its description but instead of description, we'll display the search content of 100 - 120 words (it may be less or more, we can update that).

We'll provide an endpoint to send the query and get a response. Just as a piece of background information: the system will be on deepsetCloud -> Documentation for the endpoint @masci will help us setting up the API key on Vercel.
Not to block the implementation of the frontend, I'll share an example response from the endpoint with you. The necessary fields for you will be content and file_name of documents. The level and completion time of each tutorial (already in the design) will be provided later as meta info of each document in this response.
Example response:
{
   "query_id":"XXX",
   "results":[
      {
         "query_id":"XXX",
         "query":"prompt node",
         "answers":[
         ],
         "documents":[{
               "id":"XXX",
               "content":"You can use it to perform practically any NLP task if you define your own prompt templates for them. By creating your prompt templates, you can extend the model's capabilities and use it for a broader range of NLP tasks in Haystack.\nYou can define custom templates for each NLP task and register them with PromptNode. Let's create a custom template to generate descriptive titles for news:\n\nInitialize a   instance. Give your template a   and define the prompt in  . To define any parameters for the prompt, add them to the   wrapped with curly brackets. ",
               "content_type":"text",
               "meta":{
                  "_split_id":9,
                  "file_name":"21_Customizing_PromptNode.txt",
                  "headlines":[
                     {
                        "level":1,
                        "headline":"Generating Titles for News Articles with a Custom Template"
                     }
                  ],
                  "_file_created_at":"2023-04-12T13:24:50.576243+00:00",
                  "_file_size":14152,
                  "highlighted":{
                     "content":[
                        "You can use it to perform practically any NLP task if you define your own prompt templates for them.",
                        "By creating your prompt templates, you can extend the model's capabilities and use it for a broader range",
                        "Give your template a   and define the prompt in  .",
                        "To define any parameters for the prompt, add them to the   wrapped with curly brackets."
                     ]
                  }
               },
               "score":0.642711100022835,
               "embedding":null,
               "file":{
                  "id":"XXX",
                  "name":"21_Customizing_PromptNode.txt"
               },
               "result_id":"XXX"
            },
         ]
      }
   ]
}

Let me know if you have any questions :)

closed with #114


⚠ SolarOscp has degraded performance

In 37f60ed, SolarOscp ($SOLAROSCP_URL) experienced degraded performance:

HTTP code: 200
Response time: 389 ms

Resolved: SolarOscp performance has improved in 0bf8b3a after 10 minutes.


Unable to have grid layout rerendered when switching between tabs.

I have a page that has a bunch of tabs, where each tab has its own component that contains a react-grid-layout. When I refresh the page, the first tab is selected automatically, and displays fine. But when I click to another tab, the grid layout seems all left justified - i.e. all the components are all to the left (x seems all messed up, but y seems fine in the layouts). Only when I resize the window or zoom in/out via browser, the X gets fixed and layout is ok. But I obviously should not have to play with the browser size to fix this.
Below is what I am doing:
  toggle(tab) {
    if (this.state.activeTab !== tab) {
      this.setState({
        activeTab: tab
      });
      console.log('switch to tab' + tab);
    }
  }

...

        <Nav tabs>
          <NavItem>
            <NavLink
              className={classnames({ active: this.state.activeTab === '1' })}
              onClick={() => { this.toggle('1'); }}
            >
              Tab1
            </NavLink>
          </NavItem>
           <NavItem>
            <NavLink
              className={classnames({ active: this.state.activeTab === '2' })}
              onClick={() => { this.toggle('2'); }}
            >
              Tab2
            </NavLink>
          </NavItem>
        </Nav>
        <TabContent activeTab={this.state.activeTab}>
          <TabPane tabId="1">
            <MyComponentCard1 title='Tab1'/>
          </TabPane>
          <TabPane tabId="2">
            <MyComponentCard2 title='Tab2'/>
          </TabPane>
        </TabContent>

where MyComponentCard1 and MyComponentCard2 have their own ReactGridLayout defined.
Any help would be appreciated. I'm on version 0.16.6.

I am having exact same issue and I am using exact same version as @nitinguptadr-dori
I made sure that the ResponsiveGridLayouts have different keys and the children as well.

Below are a list of the other packages I am using:
"dependencies": {
"bootstrap": "^4.3.1",
"chart.js": "^2.7.2",
"classnames": "^2.2.6",
"d3-geo": "^1.10.0",
"faker": "^4.1.0",
"jwt-decode": "^2.2.0",
"node-sass": "^4.11.0",
"prop-types": "^15.6.2",
"react": "^16.4.1",
"react-bootstrap": "^1.0.0-beta.6",
"react-chartjs-2": "^2.7.2",
"react-component-queries": "^2.3.0",
"react-d3-map": "^0.8.3",
"react-d3-speedometer": "^0.4.1",
"react-data-grid": "^6.1.0-0",
"react-dom": "^16.4.1",
"react-ga": "^2.5.3",
"react-grid-layout": "^0.16.6",
"react-icons": "^2.2.7",
"react-infinite-calendar": "^2.3.1",
"react-json-view": "^1.19.1",
"react-multi-bar-slider": "^1.2.1",
"react-notification-system": "^0.2.17",
"react-responsive-carousel": "^3.1.43",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-select": "^3.0.3",
"react-simple-maps": "^0.12.1",
"react-sizeme": "^2.5.2",
"react-transition-group": "^2.3.1",
"reactstrap": "^6.1.0",
"victory": "^0.27.1"
},

@nitinguptadr-dori I had a similar use case a couple years ago (multiple RGL tabs), and I seem to remember having the same issue that you're reporting. I can't promise it will work, but I think I addressed the issue by triggering the resize event programmatically. Something like this:
function fireResized() {
        let evt = document.createEvent("HTMLEvents");
        evt.initEvent('resize', true, false);
        window.dispatchEvent(evt);
    }

I hope this is helpful in some way. I can't exactly remember, but I might have needed to make other adjustments to get it fully working. In any case, I can confirm that your use case is possible without modifications to the core RGL code.

@stephenrs @STRML
Just manually triggering a resize event doesn't seem to help. I am able to see the resize event triggered and can get into the handler, but something still doesn't work.
What I have debugged so far is that there is something weird happening in the translate calculation for a grid item. It's not properly calculating the tx properly for the transform(tx, ty). I can see this when I inspect the style for each placed react-grid-item. This only gets properly set when I do a manual size of the browser window or zoom in/out via browser.

So the issue appears to be circumvented if I manually remove the call to update the width in the following WidthProvider:
Commented:
_this.setState({ width: node.offsetWidth })

in WidthProvider.js
function WidthProvider(ComposedComponent) {
  var _class, _temp2;

  return _temp2 = _class = function (_React$Component) {
    _inherits(WidthProvider, _React$Component);

    function WidthProvider() {
      var _temp, _this, _ret;

      _classCallCheck(this, WidthProvider);

      for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
        args[_key] = arguments[_key];
      }

      return _ret = (_temp = (_this = _possibleConstructorReturn(this, _React$Component.call.apply(_React$Component, [this].concat(args))), _this), _this.state = {
        width: 1280
      }, _this.mounted = false, _this.onWindowResize = function () {
        if (!_this.mounted) return;
        // eslint-disable-next-line
        var node = _reactDom2.default.findDOMNode(_this); // Flow casts this to Text | Element
        if (node instanceof HTMLElement) {
//        _this.setState({ width: node.offsetWidth });
        }
      }, _temp), _possibleConstructorReturn(_this, _ret);
    }

It appears my client component tabs are not setting the container width appropriately. Not sure how to ensure that gets properly set when we have Nav Tabs inside a RGL layout.
I looked at the ReactDOM.findDOMNode(this).getBoundingClientRect().width and saw that for the internal components that are displayed in my tabs, they are set to 0 width until I resize the window manually - then it gets updated.
FYI, switching over to not using the WidthProvider and using RGL directly also circumvents the issue, but then I have a fixed width layout which doesn't look nice when I zoom in/out or have different screen sizes.

@nitinguptadr-dori , commenting out the line in WidthProvider as you mentioned above is causing the grid not be responsive anymore (panels in the grid are not resizing when resizing browser window). It still is responsive for you??

@nitinguptadr-dori , what seems to work better is to keep the setState but change the condition as follow:
if (node instanceof HTMLElement && node.offsetWidth > 0) _this.setState({ width: node.offsetWidth });

Excellent. I believe that change is working for me now as well. I branched out the WidthProvider from the react-grid-layout and supplied my own version.

@nitinguptadr-dori , now the question is: shouldn't this be a permanent fix in react-grid-layout?
I am not sure what the process would be to have this reviewed and incorporated in an official version ...
Can anybody @ react-grid-layout help with this?

@STRML , see the change @nitinguptadr-dori and I had to make for tabs to work. What is the process to have this change reviewed and if found ok, merged into the main repo?
Thank you for your help, highly appreciated.


Cleanup warnings for CS1591

I was looking through the build output and found it was polluted by hundreds or thousands of the following warning:
warning CS1591: Missing XML comment for publicly visible type or member
Should we disable that warning from the build? Having cleaner build logs would help investigations when builds fail for valid reasons. The other option I see is to fix the warnings, but I don't see a good ROI on such an investment.

Yeah, I also noticed that when working on #369, so I suppressed those warnings there. Could also split that out.

Nice! Is there a reason you didn't apply the change to all of the csprojs? Does the warning on happen in the main project?

I'm actually not sure why :) Will add to the other csprojs as well.

This is done


No library for this platform was found MacOS

I am using native macOS and have encountered an issue with the absence of a library for my target platform. In this case, I cannot utilize macOS Catalyst, so I need to find a way to ensure native support.

Currently, I am attempting to integrate a library using xcframework, but the project is not compiling for macOS. However, everything works fine for iOS.
Error example: /Users/name/Downloads/AppName/FirebaseBinaries/Frameworks/GoogleSignIn/AppAuth.xcframework:1:1 While building for macOS, no library for this platform was found in '/Users/name/Downloads/AppName/FirebaseBinaries/Frameworks/GoogleSignIn/AppAuth.xcframework'.

I would appreciate assistance in resolving this problem and finding a way to successfully compile the project for macOS. Any recommendations or tips on this matter would be greatly appreciated.

We do not distribute GoogleSignIn as a framework. It looks like you're getting GoogleSignIn (and GTMAppAuth and AppAuth) via "FirebaseBinaries"? Is that right? If so, I'd suggest inquiring with the folks producing those frameworks.

Closing for now since this doesn't appear to be an issue related to this repo. Please let me know if that's incorrect.


Failed to load MI Debugger: Error: write EPIPE

Should I be able to get GDB 7.6.1 running with VSCode and WebFreak001 0.21.2?
I've installed the extension & GDB (MinGW) and configured a simple launch.json file:
{
    "version": "0.2.0",
    "configurations": [
        {
            "type": "gdb",
            "request": "launch",
            "name": "Debug",
            "target": "test.exe",
            "MIMode": "gdb",
            "miDebuggerPath": "C:\\Particle\\Toolchain\\MinGW\\bin\\gdb.exe",
            "cwd": "${workspaceRoot}"
        }
    ]
}

However, when I start debugging I receive the error:

Failed to load MI Debugger: Error: write EPIPE

Might this be an issue in my toolchain (like GDB version), or a bad configuration file?
I just don't know where to narrow the search; I've been beating on this launch.json for hours now.
Thanks
-John

I don't know where you got that config from but to change the executable using my extension you need to use "gdbpath" instead of "miDebuggerPath" and MINode doesn't exist

Thank you very much @WebFreak001, this is my config now, and it's starting to work (for the first time):
{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    "version": "0.2.0",
    "configurations": [
        {
            "type": "gdb",
            "request": "launch",
            "name": "Debug",
            "target": "test.exe",
            "gdbpath": "C:\\Particle\\Toolchain\\MinGW\\bin\\gdb.exe",
            "cwd": "${workspaceRoot}"
        }
    ]
}

I tried quite a bit of settings combinations and did a lot of web searching, but initially I think I started HERE.
I've looked at the readme on this site, and the intro screen on the extension in VSCode, but I don't see gdbpath. Is there a basic reference or simple example I missed somewhere?
Also, what does the EPIPE message mean, and is it possible to have a more descriptive message?
I was also getting a null path error previously, that I figured out was a missing property in the config, but I had to determine by trial and error because it didn't tell me the name of the property.
-John

they use the C/C++ extension which can also debug instead of mine. The debug extension api tried to spawn the program but it didn't exist (though that should be ENOENT) so I guess it started something which closed wrongly but idk

Thanks again @WebFreak001. I plan on continuing to use your extension (not the C/C++). Just trying to understand, and make your product better and more popular. I offered the reference only to ask if this was a valid reference for webfreak.

well my extension was the first gdb extension but if you are on windows I think the C/C++ extension is better because it supports the msvc debugger, I have a few features which are useful for special things such as embedded debugging or remote (not sure on the state on the C/C++ extension there). I also have a special D debugger for windows.


[as2_keyboard_teleoperation] When using speed mode, rotation speed can't we 0

ROS2 Version
humble
Version
main
Installation
binaries
What happened?
When using speed mode, if you increase z-axis angular speed and then you decrease this, it jumps from positive to negative.
How to reproduce your issue?

Press 'a': angular velocity z = 0.1 rad/s
Press 'd': angular velocity z = -0.1 rad/s; and it should be 0 rad/s

Relevant log output
No response

Every parameter of speed mode works like that, its not incremental, it only sets up a defined value independently of the state of the UAV. For example, when moving forward 1m/s with ↑ , if you then hit ↓ it will go -1m/s, not 0. Only way of 0ing is hover (space).

Can't fix this? Is confusing, if moving 1m/s forward and you decrease 1m/s, user will expect a result of 0m/s


Favorite Apps in one Desktop

Hi,
Thanks for the great script.
Would it be possible to define 4 or 5 favorite apps per workspace ? I usually don't want to "autorun" apps when switching, but i have 2 or 3 favorite apps for each workspace.
Example:
Web workspace, favorite apps: firefox, chrome, edge
Chat: Skype, Hangouts
Media: Mediaplayer, VLC, Smplayer,
etc...
Favorite apps could be triggered to be run or activated by Win+F{1,2,3,4}.
Thanks !!

Would be great! I also want a "several" feature but to be able to put 2 wallpapers per desktop (because I have 2 monitors and like to have a different on each monitor)


AppPlatform exported enum string checks

Discussion
Add tests to ensure that the AppPlatforms enumerated type is being exported properly on builds.
Testing
Updated the unit test to test for the validity of the enum strings.
API Changes
None.

PR isn't required. The original issue had already been resolved, and these tests are no longer needed.


Create S3 downloader using source session instead of release session

Create S3 downloader using source session instead of release session.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.20

/lgtm
/approve


I tried to reproduce DuRN_P results on BSD_gray, but it has a bit gap than yours.

I used the code (trained/test) and BSD_gray you provided. The results: 28.43 / 0.8130(noise level = 30), 26.29 / 0.7297(noise level = 50), 24.99 / 0.6685(noise level = 70). It has a bit gap than yours. Is there anything special about your training? Or is this result acceptable?

Hi, thank you for your interest in our work.
I didn't use special tricks in addition to what I uploaded for training.

Hi, thank you for your interest in our work.
I didn't use special tricks in addition to what I uploaded for training.

Thanks for your response.
I did not make any changes to the source code in the process of reproducing the results.
The BSD_gray dataset was downloaded from https://drive.google.com/file/d/1-Q0tCxzisHm7m_qMJfekOy4-oGzfIocj/view?usp=sharing.
So this result is acceptable?

uhmm... I am confused.
By acceptable, do you mean is it okay for me to use your replicated results as a baseline to be compared with? If so, then sure, no problem.

uhmm... I am confused.
By acceptable, do you mean is it okay for me to use your replicated results as a baseline to be compared with? If so, then sure, no problem.

I'm sorry for confusing you.
I mean whether the result of my reproduction is normal, although it is still worse than the one in your paper.
Thanks for your time.

No problem and never mind! :)
I see. I think it is acceptable in this sense.
The difference between two results is within an acceptable error range. This applies to all the three cases (i.e., noise level = 30, 50, 70).
Thank you for trying our network :D


Click option has issue on IE

Hi guys,
We have tried to implements next logic:

<map name="planetmap">
  <area shape="rect" coords="0,0,82,126" >
  <area shape="circle" coords="90,58,3" >
    <area shape="circle" coords="124,58,8" >
</map>

It works properly on Chrome and Firefox. We click on the area and tooltip is shown. When we try to do the same on IE it doesn't work on the click. We have first to do even small mouse moving and then we see the tooltip.
The same issue happens even I do as simple as this one
Tooltip
I have opened it in here and succeeded to reproduce it. Can you look at it? When I debugged it I saw that on the first click display attribute is none.

Should work now in v0.1.4, thank you for the report!


myadmin added to all projects like before

Would be great to have this extension added to all projects by default like it was before.
Is there any global option that im missing?
Its a bit painfull to always install myadmin and then restart ddev to make it work again.
Thanks

Oh im on macOs btw. My colleague on windows said its working ootb for him

No, there is not a global option.
And no, with v1.22 phpmyadmin is not available by default on Windows or macOS.
All you need to do is a one-time ddev get ddev/ddev-phpmyadmin and check in the results and all your team members will have it on that project.

Closing, I don't expect this to be possible in the future

Why can't we add this to the post-start hook?

@loeffe1,
This is a one-time action ddev get ddev/ddev-phpmyadmin, after installing the add-on you can commit the changes to the .ddev folder and always have the add-on in your project.
Of course, you need to repeat this one-time action in all projects that you want to use with PHPMyAdmin.

This should probably be closed.
There might be a use case for a global config like default_addons or similar to add some add-ons by default to all new projects - but that would be a ddev/ddev thing.
The specific change this issue requests isn't suitable, because this is one of several optional add-ons that do similar things. Developers who want adminer for example shouldn't have phpmyadmin added to their projects for example.


wav files in the sample folder are not playing

Decoding issue with all the samples!

I have downloaded them, and then get a decoding error , (corrupt)


部分页面需要适配，搭配postcss-pxtorem，unocss未生效

UnoCSS version
lastest
Describe the bug
当部分页面需要去适配，搭配postcss-pxtorem，unocss未生效。例如：pl-24px，页面应该转为rem，但是未转。
若全部页面都适配，unocss单位转化就生效了。
当前的解决方案：在需要适配的页面重写 unocss关于px单位的属性。例如：pl-24px：padding-left:24px; 转rem单位正常。
When some pages need to be adapted and used with postcss-pxtorem, unocss does not take effect. For example: pl-24px, the page should be converted to rem, but it is not converted.
If all pages are adapted, unocss unit conversion will take effect.
The current solution: Rewrite unocss's px unit attributes on the page that needs to be adapted. For example: pl-24px: padding-left:24px; The conversion to rem unit is normal.
Reproduction
import Unocss from 'unocss/vite'
import { presetAttributify, presetIcons } from 'unocss'
import presetUno from '@unocss/preset-uno'
export function configUnoCssPlugin() {
const unoCssPlugin = Unocss({
presets: [
presetUno(),
presetAttributify(),
presetIcons(),
],
})
return unoCssPlugin
}
System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required


not sure am I doing it right

Pull Request Information
Closes #
What is the PR Type:

Describe the added/fixed behaviour:

Checklist

[ ] Pull request has suitable title and labels, adequately described and associated with a github issue
[ ] Branch name is descriptive
[ ] Branch builds and executes with no errors
[ ] Test cases has been generated for the feature and test cases pass
[ ] Updated relevant wiki/documentation

Additional Information

Great work Chris, just checked and adding a playlist works well! :)
Just one more thing, could you please git ignore any .idea files and  package.json should be ignored too


ATP client logging

Changes introduced with this PR
This PR adds logging for ATP.

By contributing to this repository, I agree to the contribution guidelines.

Another PR #16 was merged that contained these changes.


BaseEntity 'id' restricted to Int

If you want to use BaseEntity, your 'id' HAS to be an Int now. This should me more flexible with Any for instance.

@Jesse-Appwise Something simple like this can always be picked up by yourself as well. It's eventually coming in as a PR anyways so everyone is notified of the change ;)

Just as an FYI, I already created a PR for this change, so no need to worry about it now :D


Chart Type update doesn't render labels at all only on Pie and Doughnut

I created a code sample to where if you try and re-declare a chart type programmatically through the chart instance and update it, it won't render the labels at all only for pie and doughnut chart types. If you change the chart type for line or bar the labels render fine.
Here is a code pen demonstrating the issue:
https://codepen.io/Jorden1337/pen/ZjJzXV
SO Article:
Happens in all browsers:
ChartJS Version: 2.7.2

Seems like issue doesn't get much attention but I faced similar problem while trying to update chartType, but the problem is deeper. Besides labels when you switch chart type other things are wrong:

old axes are not removed, so several axes from bar chart and radar chart overlap.

For now I solved it by completely recreating the chart:
... // setting up parameters
this.chart.destroy()
this.chart = new Chart(this.canvas.nativeElement, {
      type: chartType,
      data: chartData,
      options: chartOptions
    })

The causes of the issue are:

Doughnut and pie charts are supposed to have no scales option
Doughnut and pie charts are supposed to have a correct legend.labels.generateLabels callback option

Those options are set to appropriate values by default when a chart is newly created, but not reset when the chart type is changed. So, a workaround is like this:
testChart.config.type = 'pie';
testChart.config.options.legend.labels.generateLabels = Chart.defaults.doughnut.legend.labels.generateLabels;
delete testChart.config.options.scales;
testChart.update();

This is fixed in v3.0.0-beta.11 because the config options are no longer merged. The work-around above will no longer be required. https://codepen.io/etimberg/pen/QWGqKdq?editors=0010


No release notes anymore

Hey,
Not sure if they were automated before, but releases do not contain any description since the lerna switch.
I use lerna-changelog for most of my repos and automatically update the release on GitHub whenever a tag is pushed with a CircleCI job

From what I've seen, the changelog notes are added after a while each time there's a release.


[Bug]: JSON Form single field enter causes page to refresh

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When there's only a single field in the json form, the page refreshes you press enter
Steps To Reproduce

Add a new json form
Add only one field
Observe how the page refreshes when you only have one field

https://app.appsmith.com/app/page-refresh-on-input-submit-bug/page1-62ec713db2f8027edfbeabad
Public Sample App
No response
Version
Production

While the frequency of occurrence for this bug may be low, the bug when occurrence is frustrating


Feature: Computer Algebra

Type of change

[X] Added new project
[ ] Bug fix
[X] New features
[X] Enhanced documentation

Changes proposed in this pull request

Project name : Computer Algebra

Short description :

The Newton CAS Python Wrapper and GUI project offers a Python wrapper and a user-friendly GUI for the Newton API, enabling evaluation of various mathematical operations such as simplification, factoring, and differentiation using DearPyGui.
Checklist

[X] The code is Python 3 compatible
[X] I have added relevant comments in my file to make code understandable
[X] I have added my project in a folder which includes all the necessary files

Great


error running app

I tried to use this app in a docker container and when I select the "run the app" app mode it doesn't work.
I get:
UnhashableType: Cannot hash object of type numpy.ufunc

While caching some code, Streamlit encountered an object of type numpy.ufunc. You’ll need to help Streamlit understand how to hash that type with the hash_funcs argument. For example:

@st.cache(hash_funcs={numpy.ufunc: my_hash_func})
def my_func(...):
    ...
Please see the hash_funcs documentation for more details.

Traceback:
  File "/tmp/tmprl6zpn8j/app.py", line 296, in <module>
    main()
  File "/tmp/tmprl6zpn8j/app.py", line 45, in main
    run_the_app()
  File "/tmp/tmprl6zpn8j/app.py", line 116, in run_the_app
    selected_frame_index, selected_frame = frame_selector_ui(summary)
  File "/tmp/tmprl6zpn8j/app.py", line 147, in frame_selector_ui
    selected_frames = get_selected_frames(summary, object_type, min_elts, max_elts)

I am using docker container python:latest and running:
pip install --upgrade streamlit opencv-python as specified in the readme.
Python is: Python 3.8.1
pip is installing numpy: numpy-1.18.1
any ideas?

Thanks for the report!!!
We are tracking this on the Streamlit side: https://github.com/streamlit/streamlit/issues/1057

Closing this since a fix was merged Custom hashing logic for numpy.ufunc types #1066.


Building APK halts on "circular dependency for function HttpRequestClient"

Steps to Reproduce
I just started with flutter. Built the tutorial app. Then built my own custom app. It runs fine in both android and iOS emulators. I thought I'd try it on a real android device. I followed the direction here https://flutter.io/android-release/ but when I get to flutter build apk. It dies on the error below.
Logs
17245-jstillwell:test_flutter_app jstillwell$ flutter build apk
Initializing gradle...                                0.8s
Resolving dependencies...                             1.0s
Running 'gradlew assembleRelease'...
Dart snapshot generator failed with exit code 254
Error: 'file:///Users/jstillwell/Code/flutter/bin/cache/pkg/sky_engine/sdk_ext/server.dart': error: line 103 pos 20: circular dependency for function HttpRequestClient
  HttpRequestClient(this.request, VMService service)
                   ^

FAILURE: Build failed with an exception.

* Where:
Script '/Users/jstillwell/Code/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 324

* What went wrong:
Execution failed for task ':app:flutterDependenciesRelease'.
> Process 'command '/Users/jstillwell/Code/flutter/bin/flutter'' finished with non-zero exit value 1

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

Flutter Analyze
17245-jstillwell:test_flutter_app jstillwell$ flutter analyze
Analyzing /Users/jstillwell/Code/dragonfax/test_flutter_app...
No issues found!
Ran in 5.3s

Flutter Doctor
17245-jstillwell:test_flutter_app jstillwell$ flutter doctor
[✓] Flutter (on Mac OS X 10.12.6 16G29, locale en-US, channel alpha)
    • Flutter at /Users/jstillwell/Code/flutter
    • Framework revision e8aa40eddd (8 hours ago), 2017-10-17 15:42:40 -0700
    • Engine revision 7c4142808c
    • Tools Dart version 1.25.0-dev.11.0

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
    • Android SDK at /Users/jstillwell/Library/Android/sdk
    • Platform android-26, build-tools 26.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.0.1, Build version 9A1004
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 2.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_112-release-b06)

[✓] IntelliJ IDEA Community Edition (version 2017.2.5)
    • Flutter plugin version 18.1
    • Dart plugin version 172.4155.35

[✓] Connected devices
    • Android SDK built for x86 • emulator-5554 • android-x86 • Android 5.1.1 (API 22) (emulator)

Curious, what happens if you do flutter build clean and then flutter build apk ?

@sethladd same
17245-jstillwell:hythr jstillwell$ flutter build clean
Deleting 'build/'.
17245-jstillwell:hythr jstillwell$ flutter build apk
Initializing gradle...                                1.1s
Resolving dependencies...                             1.1s
Running 'gradlew assembleRelease'...
Dart snapshot generator failed with exit code 254
Error: 'file:///Users/jstillwell/Code/flutter/bin/cache/pkg/sky_engine/sdk_ext/server.dart': error: line 103 pos 20: circular dependency for function HttpRequestClient
  HttpRequestClient(this.request, VMService service)
                   ^

FAILURE: Build failed with an exception.

* Where:
Script '/Users/jstillwell/Code/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 324

* What went wrong:
Execution failed for task ':app:flutterDependenciesRelease'.
> Process 'command '/Users/jstillwell/Code/flutter/bin/flutter'' finished with non-zero exit value 1

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

Thanks for the quick response. What happens with a brand new flutter create project?

That was a great idea. It worked. I created a new project, tested it in a simulator, build an apk and tested it on a real phone.
So I'll go back to my real project and figure out what part of the config I got wrong, or what change made the build start to fail.

That would be really helpful. Please keep us posted! Maybe there's something our tools can do to better identify the issue for you in the future.

I love flutter btw. It let me build a AAA looking app in no time at all.
While dart is not the perfect language for me. Its more than worth it for
the ability to develop mobile apps like web pages, reloading to see the
changes.
On Wed, Oct 18, 2017 at 1:55 PM Seth Ladd<EMAIL_ADDRESS>wrote:

That would be really helpful. Please keep us posted! Maybe there's
something our tools can do to better identify the issue for you in the
future.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/12598#issuecomment-337725154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4_rorid50gctPffQ8AIQwQvfESldszks5stmXOgaJpZM4P9N0P
.

Figured it out.
I had a class named Client defined in lib/main.dart. When I changed the name of that class to anything else, it all worked fine.

Glad you figured it out. I'm a bit worried that the error message here was unclear.
cc @lukechurch


Enhancement: changing required fields in the SNMP configuration

please make changes to the code so that it is possible to send mail without filling in the smtp user, password and ssl fields

ASAP


fix bug preventing backup item action item updates from saving

Signed-off-by: Steve Kriss<EMAIL_ADDRESS>Fixes #702

Confirmed manually that this fixes the observed issue.


After page refresh in app that breaks event listeners

In normal browser with full refresh, everything works as expected. But in app when i refresh page that breaks event listeners. My  event listeners are under turbolinks:load listener. what is difference beetwen browser refreshes and app page refreshes?
Edit: for more details that affect only modals, sidenavbar other event listeners works as usual. I use materialize css modals and sidenavbar

It seems problem with turbolinks. Try open a issue on Turbolinks Android or Turbolinks IOS


cmake: fix C++ with newlib

When compiling OpenThread within Zephyr and having the following config:
CONFIG_NEWLIB_LIBC=y
CONFIG_LIB_CPLUSPLUS=y

two problems appear:

UINT8_MAX etc. are not defined

/home/markus/src/wrp-n4m/modules/lib/openthread/src/ncp/ncp_base_mtd.cpp:
In member function 'otError ot::Ncp::NcpBase::HandlePropertyRemove()
[with unsigned int aKey = 161; otError = otError]':
/home/markus/src/wrp-n4m/modules/lib/openthread/src/ncp/ncp_base_mtd.cpp:898:39:
error: 'UINT8_MAX' was not declared in this scope; did you mean
'UINT_MAX'?
  898 |     VerifyOrExit(serviceDataLength <= UINT8_MAX, error =
OT_ERROR_INVALID_ARGS);

#include_next <stdint.h> is a warning that gets promoted to an error

In file included from
/home/markus/src/wrp-n4m/modules/lib/openthread/src/lib/spinel/spinel.h:316,
                 from
/home/markus/src/wrp-n4m/modules/lib/openthread/src/lib/spinel/spinel.c:46:
/home/markus/src/wrp-n4m/zephyr/lib/libc/newlib/include/stdint.h:28:2:
error: #include_next is a GCC extension
   28 | #include_next <stdint.h>

Work-arounds for

add -D__STDC_LIMIT_MACROS for C++
remove -Werror -pedantic-errors for C

Are there better fixes?
I am aware that the changes should go to the OpenThread repository, but
for the moment let's discuss here since it is an Zephyr issue right now.
Would it be possible to just patch the CMakeLists.txt?
Signed-off-by: Markus Becker<EMAIL_ADDRESS>

@rlubos please take a look. if this is fine, I can create a PR on zephyr.

Hi @markus-becker-tridonic-com, thanks for reporting the issue. Let me comment on each of the options individually:

-D__STDC_LIMIT_MACROS - adding option is simple, we do not need to update OT codebase for that. Especially that all of the issues reported here are related to Zephyr itself rather than OpenThread. We have a zephyr/CmakeLists.txt file, which is a glue file for Zephyr and OpenThread build systems. We can easily extend a list of arguments passed to the compiler with something like this:

if(CONFIG_NEWLIB_LIBC)
  add_definitions(-D__STDC_LIMIT_MACROS)
endif()

I'd see it somewhere around line 90 in the current file.

-Werror - fortunately this one is already solved in the upstream OpenThread, where they've added a nice switch to enable/disable this option (actually fixed it): https://github.com/openthread/openthread/commit/db765d9370d760489344cfe117124885fbb955c4
All we need is upmerge for this one.

-pedantic-errors - this one is tricky. I found it impossible to disable this option at our Cmake glue layer. I also find it a bit inconsistent, to allow to disable -Werror, while keeping the -pedantic-errors option instead of -pedantic.  I think that a reasonable approach here would be to introduce a switch to enable/disable pedantic option as well (similar to https://github.com/openthread/openthread/blob/daa626b504b9214fa4477103a062e5e2b4661079/CMakeLists.txt#L42). If such an approach was accepted upstream, we could then upmerge both fixes at once, and fix the remaining issue in our glue layer.

So to summarize, we'd only need to handle -pedantic-errors in the upstream OpenThread. Would you mind opening a PR in there?

@rlubos upstream has changed.

@markus-becker-tridonic-com Thanks, I'll add OT update to my schedule then.

Superseded by the OpenThread upmerge #11


[Feature Request] smc新增换行检测

Checklist

[X] I searched exising issues and no one else requests similar feature.
[X] I think that 25%+ users are positive towards this feature.

Describe the feature
检测tab和空格换行
Additional context
No response

tab width  4

三方库校验
https://github.com/google/styleguide/blob/gh-pages/cpplint/cpplint.py

https://www.cnblogs.com/happyamyhope/p/11301527.html

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days


REST API versioning

To implement API versioning.
The version needs to be upgraded for a major release. The client can continue to use older version of the APIs and they can migrate to newer version of the APIs when they are ready.
If we adapt versioning through URI path then existing API endpoints needs to be refactored to accommodate version details. For e.g.
http://localhost:8080/api/v1/actor?select=actor_id,first_name,last_name&filter=first_name=="PENELOPE"&page=0&size=2

Don't use URL versioning, instead use HTTP headers for content negotiation. "Accept-Version: V2"

Must Read: https://cloud.google.com/blog/products/api-management/common-misconceptions-about-api-versioning

Or just use API Keys? https://json-ld.org/spec/latest/json-ld-api-best-practices/#api-versioning

I am not sure if Spring supports versioning via content negotiation. We
have check.
Otherwise version in URL is commonly used and natively supported by
framework URL path handling.
On Sat, Jan 6, 2024, 5:20 PM Thad Guidry @.***> wrote:

Don't use URL versioning, instead use HTTP headers for content
negotiation. "Accept-Version: V2"

Must Read:
https://cloud.google.com/blog/products/api-management/common-misconceptions-about-api-versioning

Or just use API Keys?
https://json-ld.org/spec/latest/json-ld-api-best-practices/#api-versioning

—
Reply to this email directly, view it on GitHub
https://github.com/kdhrubo/db2rest/issues/93#issuecomment-1879872971,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAISPRGRXLBTOLQTV4CE3FLYNHL3FAVCNFSM6AAAAABBP3DCX2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZHA3TEOJXGE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

There's many reasons to avoid using URL for versioning, but it certainly depends on the lifecycle itself.  Which is why I'd suggest for anyone to read the article.  It details when/why you might want to think differently about API versioning strategies.

This is widely supported by Spring Boot so we can support based on content negotiation which is a best practice.
https://www.javaguides.net/2021/04/rest-apis-versioning.html
<EMAIL_ADDRESS>https://www.springboottutorial.com/spring-boot-versioning-for-rest-services

Will revisit when there is need for API versioning arises based on user adoption.
Currently APIs are stabilizing slowly.


Better installation using pip requirements file

Also for Nilearn: https://github.com/nilearn/nilearn/issues/1770
Currently all the necessary dependencies for Nistats need to be manually installed, by following the documentation. We can streamline the experience for new users by employing a requirements file.
SO instead of having to manually install scipy, then scikit-learn then nilearn, then matplotlib etc, and then installing nistats, a user only has to do pip install nistats and be done.

I believe that this shuld be fixed in Nilearn first.


How does glance compare to the other frontends?

There is

paraview web (all web frontends together and server side rendering backend)
visualizer (old jquery based and new react based web frontend to paraview(web))
lightviz
and now glance (vue based)

What are the goals of each project? Why so much fragmentation? Can you please give a roadmap on the web frontend site?
As far as I can see glance is vtk.js based whereas pv web visualizer depends also on server side rendering.
I want to rewrite my post processing module of my online FEA tool witthout server side rendering. What would be a good way to start?

Great question!  We'll make a page to address this, but in summary

ParaViewWeb is a library of methods/widgets.

ParaViewVisaulizer is a web front-end to a paraview server.

ParaViewGlance is a pure javascript visualization application.

So, as implied by the above, each has a unique set of use cases / goals:

ParaViewVisualizer can handle large data, offers server-side processing, can be run without locally downloading the data, and requires a paraview server to be running (which requires installing such a server, scaling it for the number of simultaneous users, etc).
ParaViewGlance can only handle "small" datasets, does not provide server-side processing, must have the data locally to visualize it, but does not require a paraview server (nothing needs to be "installed" to run it - but it does not require scaling considerations since each instance is self contained/local).

The roadmap has some interesting possibilities - including potentially creating a single "paraviewX" that could be run as a server client (ala ParaViewVisualizer) or that could run as a stand-alone app (ala paraViewGlance), but that is dependent on the evolving needs of ParaView users as well as the evolving capabilities of javascript/browser technologies.   For now, each will continue on the paths summarized above so that users can choose the tool that is most appropriate for their current task.
For your FEA tool, there are a few factors to consider.   If your data is centralized or your computation requires a centralized compute resource, then ParaView(web) is still your best bet.    If your data is local and computation is "modest", you have options.   Continuing this discussion on the ParaView email list is probably the best way to iterate to a solid suggestion.
Hope this helps.
Stephen


Updated README.md with modin_vs_dask.md doc, fixes #2433

Signed-off-by: Abdulelah S. Al Mesfer<EMAIL_ADDRESS>
What do these changes do?

Updates README.md.

[ ] commit message follows format outlined here
[ ] passes flake8 modin
[ ] passes black --check modin
[ ] signed commit with git commit -s
[ ] Resolves #?
[ ] tests added and passing

Commit message formatting to resolve lint:
DOCS-#2433: Updated README.md with modin_vs_dask.md doc

@abdulelahsm with your permission I will squash the commits for you so that only the second commit message is displayed, which will resolve the comitlint check.

@abdulelahsm with your permission I will squash the commits for you so that only the second commit message is displayed, which will resolve the comitlint check.

Awesome, thanks!


Сhange the bitrate to 128 for uploaded tracks

I reduce the bitrate from the fact that in discord channels the maximum bitrate of the channel is 128

Issue can't be implement it like in particular, tracks don't have a 128 format


Feature/ensure absent config (Fixes #5)

Optimized the console output of the diff and load commands to make the null values visible. This fixes #5.

@punkstar can you review my PR?

Hey, sorry for the delay.  Can you merge develop in (it's been updated to check run tests via travis) please?  Also, it could write some unit tests to cover this it would be great.

No problem. Had some delay as well. I just merged develop back in. However, I'm running into some testing issues. In my ant environment the tests don't run. Do you also experience these difficulties?
$ mageconfigsync[feature/ensure-absent-config]$ ant -version
Apache Ant(TM) version 1.9.4 compiled on April 29 2014
$ mageconfigsync[feature/ensure-absent-config]$ ant
Buildfile: /Users/jaspervanwanrooy/development/mageconfigsync/build.xml

test-unit:
     [exec] The command attribute is deprecated.
     [exec] Please use the executable attribute and nested arg elements.

BUILD FAILED
/Users/jaspervanwanrooy/development/mageconfigsync/build.xml:18: exec doesn't support the "passthru" attribute

Total time: 0 seconds

It's phing, not ant :)

Haha, ok. Makes sense then. Do you have some more project specific testing guidelines? Will take a closer look tonight


Please don't transform at decoding by default

Expansion transform is particularly offending. It's an extra function, it should be something the users opt into if they need it.
I was confused as to why my round-trip conversion didn't work in #97, and the expansion filter was an unexpected answer. Please consider having Transformations::empty() by default in the Decoder.

100% agree. "Extra work" should be opt-in.


[QA] Goerli: Bullet-Hole Sprites Issues in Shooting Range

Explorer Alpha build version:
v0.10.0
Issue Description:
In Goerli Plaza at coordinates (84,-1) in the Shooting-Range-Advanced area, there are multiple issues with the bullet-hole sprites. When clicking on the ground, the bullet-hole sprite appears oversized. When shooting at the rotating targets, the bullet-hole sprite floats in the air instead of staying on the target as it rotates. Additionally, the bullet-hole sprites do not disappear after a few seconds, unlike in production.
Steps to reproduce:

/goto goerli Navigate to coordinates (84,-1).
Enter the Shooting-Range-Advanced area.
Click on the ground and observe the bullet-hole sprite.
Shoot at the rotating targets and observe the bullet-hole sprite behavior.

Expected behavior:
https://github.com/decentraland/unity-explorer/assets/146741383/7ff22c3b-ae46-4a9a-91e0-2d1188f9fb6f
Current behavior:

Additional Notes:
Windows 11. 12th Gen Intel(R) Core(TM) i7-12650H 2.30 GHz. nvidia geforce RTX
Macbook M1 Pro Sonoma 14.5

This fix should fix it too
https://github.com/decentraland/unity-explorer/pull/1407


Evolve_captured is not working properly

Expected Behavior
"evolve_captured": "Weedle" should evolve ONLY captured weedles
Actual Behavior
Evolves all pokemons even with parameter NONE
Steps to Reproduce
"evolve_captured": "Weedle"
"evolve_captured": "NONE"
only deleting this variable helps
Other Information
OS: W10
Git Commit: 4182e93f9bfbe471d07b74e95c55cdfbacda127b
Python Version: Python 2.7.10

I'm also noting this issue.

Wierd. What can I do wrong? My friend has the same problems as me (we installed together).

Didn't help.  But thanks anyway


feat(contact): support user info

Codecov Report
Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (cd189e5) 79.79% compared to head (dc11653) 79.86%.

Files
Patch %
Lines

api_contact.go
84.61%
1 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #67      +/-   ##
==========================================
+ Coverage   79.79%   79.86%   +0.06%
==========================================
  Files          29       30       +1
  Lines         896      909      +13
==========================================
+ Hits          715      726      +11
- Misses        128      129       +1
- Partials       53       54       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[Bug]: There will be a high CPU load during the metanod interval  persisting meta data

Describe the bug
There will be a high CPU load during the metanod interval  persisting meta data.

Environment
3.2.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

fixed in commitid: eda511


Custom Icon Section needs to be fixed. Issue on New Updated Version

Custom Icon Section needs to be fixed.
Issue on New Updated Version

Hello @deykord,
You can also be polite.
Duplicate, ref https://github.com/furybee/chrome-tab-modifier/discussions/271#discussioncomment-9711614
Bests


Code Signing Identity for Release is set to iOS Developer instead of iOS Distribution.

Code Signing Identity for Release is set to iOS Developer instead of iOS Distribution. This is causing issue with automated build tools like Jenkin's. Recommend changing the Code Signing Identity -> Release -> Any iOS SDK to iOS Distribution.

It is also a problem if the project that uses Alamofire has different configurations than just debug/release. The current suggestions for how to integrate alamo don't seem to work in this scenario.

Fixed by #400.


Implement np.nan_to_num

Feature request
This is a formal request to implement np.nan_to_num, as a first step in contributing a PR. (I knew I'd be contributing something to Numba at some point...) I need to read over the contributing guidelines to set up my environment, but the implementation would just be this:
@numba.extending.overload(numpy.nan_to_num)
def nan_to_num(x, copy=True, nan=0.0, posinf=None, neginf=None):
    if isinstance(x, numba.types.Array):
        def nan_to_num_impl(x, copy=True, nan=0.0, posinf=None, neginf=None):
            if copy:
                out = numpy.copy(x).reshape(-1)
            else:
                out = x.reshape(-1)
            for i in range(len(out)):
                if numpy.isnan(out[i]):
                    out[i] = nan
                if posinf is not None and numpy.isinf(out[i]) and out[i] > 0:
                    out[i] = posinf
                if neginf is not None and numpy.isinf(out[i]) and out[i] < 0:
                    out[i] = neginf
            return out.reshape(x.shape)

    else:
        def nan_to_num_impl(x, copy=True, nan=0.0, posinf=None, neginf=None):
            if numpy.isnan(x):
                return nan
            if posinf is not None and numpy.isinf(x) and x > 0:
                return posinf
            if neginf is not None and numpy.isinf(x) and x < 0:
                return neginf
            return x

    return nan_to_num_impl

(Of course, if you want to add this before I have a chance to open a PR myself, please do so!)
It might be better for this to be implemented on numba.types.ArrayCompatible, rather than numba.types.Array, but I don't know if you're doing that yet.

👍
Regarding ArrayCompatible, the code base is using that in quite a few places already. It would be a good idea for new implementation to use that.

Elsewhere, I see type_can_asarray:
https://github.com/numba/numba/blob/d4b18d66e7454ce7c643d382f0d1fc51b79f8959/numba/np/numpy_support.py#L667-L675
That would be convenient because it's one function call in the typing layer and np.asarray in the lowered layer. Is this what should be used for new functions?

Is this what should be used for new functions?

Yes.

I think this has been implemented. I've pip uninstalled vector (which had a workaround implementation) and did
>>> import numpy as np
>>> import numba as nb
>>> nb.__version__
'0.55.1'
>>> def f(a, b):
...     return np.nan_to_num(a, nan=b)
...
>>> f(np.array([1, 2, 3, np.nan, np.nan, 10]), np.array([999, 999, 999, 123, 321, 999]))
array([  1.,   2.,   3., 123., 321.,  10.])

Not only that, but this is a case (nan is not scalar) that my workaround implementation didn't handle. So this issue should be closed, right?
My only uncertainty comes from the fact that I can't find the function when I do a GitHub search of the Numba repository.

No, I'm still wrong. There is no Numba implementation of np.nan_to_num. I was being fooled by my override, which was somehow still effective when the package it was in was uninstalled. The entry_points hook can be confusing.

Is there any activity on this?


Add the ability to add a ALLOW_ORIGIN for the GET /auth/v1/pow endpoint

Right now the GET /auth/v1/pow endpoint is only usable (with CORS) within the web ui. We would love to get a pow challenge without disabling CORS in the client. This would add the opportunity to create a custom frontend for user registration, just fetching a pow challenge, solve that challenge and create a POST /auth/v1/users/register for the registration. :)
Solution 1: Add a global ALLOW_ORIGIN config entry, which will be used for all that endpoints (GET /auth/v1/pow, POST /auth/v1/users/register).
Solution 2 (my personal preferred solution): Adding a client_id to the query could help to set the ALLOW_ORIGIN for the client. So this would mean that a pow challenge could be obtained by a GET /auth/v1/pow?client_id=test and their ALLOW_ORIGIN entry from that specific client.
Note: I am not sure about the POST /auth/v1/users/register endpoint, but I think the frontend would have the same issue there as well and would ran into some CORS issues (maybe adding a client there as well?). ^^"

Yes that makes sense of course. Without it you would not be able to do remote user registration.
There a some tricky details though in the PoW validation and certains types do check for an existing session as well.
Let me check this.

Could you please test with #336 ?
As I was looking at it, I changed from GET to POST for getting a PoW, because the get PoW actually creates the data and modifies the backend state, even though it is only inside the cache. Since a GET should never do that, I changed the endpoint to a POST.
I also simply allowed al origins for these 2 endpoints. There is no security issue with this. The PoW endpoint simply creates an in-memory data structe you can nothing do with on its own. The user registration endpoint checks anyway already, if the registration should be open. So if this is not the case, you would never get to the allow all origins header anyway.
Allowing it from everywhere is basically the definition of an open user registration. :)


Remove furigana annotations from japanese queries

Hey,
a small change that removes a little annoyance from this plugin I've had for a while.
Reasoning
My query field usually looks something like this:

日本語[にほんご]

(notice the [, ])
this is an Anki specific annotation (used in combination with the {{furigana:Front}} viewhelper) to render the text inside the brackets above the text before that, looks like this:

which is used to provide the reading for the characters on the bottom. Obviously Forvo doesn't ignore this by default (and also does not contain entries using this syntax) meaning you have to either keep a separate query field or (what I and probably many others do) remove the annotation from the search field, hit the button for this addon, select the desired audio snippet and re-add the annotation.
Best regards.

Code looks good. @realmayus please merge.


Is it possible to access to requested URL on client connect?

I have a server running mqttnet and I have given unique subdomain for each of clients(client1.x.com, client2.x.com, ...).
I have also created username/password for the devices which want to publish/subscribe to the server.
I want to validate mqtt client before connecting to server and to validate the client I need to access the calling url to extract the subdomain and then validate assigned username/password.
How can I access to the URL?

Hi,
that is not supported at the moment. But "named endpoints" (which are basically identified via its unique ID) are on my list already.
Best regards
Christian

Perfect, thanks!

I just need to know the URL, not binding to named endpoint. Is there anyway to determine the called endpoint rather than IP address?

With the latest version you now have access to the internally used HTTP Context when using ASP.NET. Please check the property
ChannelAdapter in class ValidatingConnectionEventArgs. The summary comment explains how to cast the value properly. If this does not fix this issue, please reopen the ticket.


Fixing un-linked Tag hasMany TaggedModel with bindModel() on the setup

I needed to use bindModel to link Tags.Tag with Tags.Tagged on-the-fly (setup step) to make the plugin works on CakePHP 2.1

Thank you!


how retdec infer types

how retdec infer array type or other types like struct? If there are any documentation? or give me a  brief description ?

There is no documentation on this. But I will try to give you a brief description and links to some academic papers we used.
I would divide it into 3 parts:

Data types sources - in some cases we know the exact types of some objects (local/global variables, function parameters/returns) from stuff like debug information, standard library signatures (DB of std functions and their types), etc. In such cases, we apply this info to the objects - i.e. the default object type (integer) is changed to the known data type.
Data type inference/propagation - using dataflow analysis, it is possible to propagate types from data type sources and/or infer some more types from the way the program works with data. The basic idea was described in this paper. Some more papers we used - simple types, composite types. However, especially composite types are not solved perfectly. The more aggressive inference was disabled because it was often unreliable and did damage to the output quality. Also, there are known problems with merging of known composite types - e.g. We know there is a structure of size 20 B on address X, therefore all the accesses to addresses in <X, X+20) range should be transformed to accesses to this structure. But we don't always handle this correctly.
It is also possible to parse and use some specialized information present in some samples. E.g. Partial C++ decompilation by parsing virtual tables, RTTI structures, inferring class hierarchies from constructors, etc. as described here.


Fix for issue #30: Allow not EventArgs based event handlers

Fork contains two branches: master and alternative-idea.

Master. Contains more clear and simple code but has one (minor?) issue. If delegate behind event has repeated generic types (like Action<string, string>), assertion will be successful if expected value is present in ANY of the parameters (first string or second string).

Alternative-idea. Contains more strict but less pretty for end user implementation. The idea is to accept params of predicates in WithArgs. So, if you need strict assertions for two input strings, you can specify two predicates, each corresponding to particular parameter in order. The one drawback is about the case when you wish to skip first N parameters and then assert the next. In this case you should specify null or args => true for the first N parameters.

Can't you provide both overloads?

Done

ASIDE: is<PHONE_NUMBER>6 a spam user? That looks suspiciously like a phone number.

Noticed it as well. Not sure.

I'm also confused with this "approve".
So what about this pull request? Is it ok or I should change smth?

I'll let @dennisdoomen finish his review, but FYI, I reported that weird user as a spam account, since none of us know what it is.


Filter for refcheck job that excludes new files

Signed-off-by: Nikita Skrynnik<EMAIL_ADDRESS>Issue
https://github.com/networkservicemesh/deployments-k8s/issues/6645

In general looks good and correct to me, but we should use old main to avoid problems with merges.

Merging this because it blocks other things.
@NikitaSkrynnik Feel free to resolve comments in the separate PR


chartjs-chart-wordcloud Could not find the label and dataset value in click event

Expected behavior
Should get the dataset and label value in click event
Current behavior
Getting errror
options: {
onClick: (e) => {

const canvasPosition = ctx.helpers.getRelativePosition(e, ctx);
}
Getting below error
core.mjs:6461 ERROR TypeError: Cannot read properties of undefined (reading 'getRelativePosition')
at Chart.onClick (app.component.ts:37:42)
at callback (helpers.segment.js:92:1)
at Chart._handleEvent (chart.esm.js:6090:17)
at Chart._eventHandler (chart.esm.js:6072:1)
at listener (chart.esm.js:5952:1)
at Chart.event (chart.esm.js:3214:1)
at helpers.segment.js:28:1
at timer (zone.js:2561:1)
at ZoneDelegate.invokeTask (zone.js:406:1)
at Object.onInvokeTask (core.mjs:25444:1)
Reproducible sample
angular chartjs-chart-wordcloud
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
"chartjs-chart-wordcloud": "^3.6.0",
Browser name and version
No response
Link to your project
No response

Please add a reproducible sample as required by the issue template and not put the libraries you use there.
Although my guess is that you use bundlers so you use the wrong method of getting to the helper functions: https://www.chartjs.org/docs/master/getting-started/integration.html#helper-functions

How could I find the dataset and label value. Below is the my code.
I am getting below error
"core.mjs:6461 ERROR TypeError: ctx.getElementsAtEventForMode is not a function
at Chart.onClick (app.component.ts:40:32)
at callback (helpers.segment.js:92:1)
at Chart._handleEvent (chart.esm.js:6090:17)
at Chart._eventHandler (chart.esm.js:6072:1)
at listener (chart.esm.js:5952:1)
at Chart.event (chart.esm.js:3214:1)
at helpers.segment.js:28:1
at timer (zone.js:2561:1)
at ZoneDelegate.invokeTask (zone.js:406:1)
at Object.onInvokeTask (core.mjs:25444:1)
Below is the code
// HTML Code

// .ts file
import { Component, OnInit } from '@angular/core';
import { Chart, registerables } from 'chart.js';
import { WordCloudController, WordElement } from 'chartjs-chart-wordcloud';
import { getRelativePosition } from  'chart.js/helpers';
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.css']
})
export class AppComponent  implements OnInit {
constructor() {
// Chart.register(BarElement, BarController, CategoryScale, Decimation, Filler, Legend, Title, Tooltip);
Chart.register(...registerables,WordCloudController, WordElement);
}
ngOnInit(): void {
const ctx:any = document.getElementById('myChart');
const config =  new Chart(ctx,  {
  type: WordCloudController.id,
  data: {
    // text
    labels: ['Hello', 'world', 'normally', 'you', 'want', 'more', 'words', 'than', 'this'],
    datasets: [
      {
        label: 'DS',
        // size in pixel
        data: [90, 80, 70, 60, 50, 40, 30, 20, 10],
      },
    ],
  },
  options: {

    onClick: (e) => {

// const canvasPosition = getRelativePosition(e, ctx);
  const activePoints = ctx.getElementsAtEventForMode(e, 'nearest', {
    intersect: true
  }, true)
  console.log(activePoints);
  const [{
    index
  }] = activePoints;
 console.log(activePoints);
 }

  },
});

}
title = 'word-cloud';
}

I can't tell if this is an issue with chart.js itself or with chartjs-chart-wordcloud. Have you already reported this issue to the extension?

I already reported this issue to chartjs-chart-wordcloud.
below is the answer
"please ask the chart.js guys directly, since this is a just a plugin of chart.js and this related to chart.js itself "

You are trying to call Chart.js api methods on the event that gets thrown with a click and not on the chart.
Label and value can be accessed like so:
onClick: (evt, activeEls, chart) => {
  console.log(chart.data.datasets[activeEls[0].datasetIndex].data[activeEls[0].index],
    chart.data.labels[activeEls[0].index]
  );
}

Codepen: https://codepen.io/leelenaleee/pen/LYOpMzX

Closing per the last comment


[design] - an article

https://www.justinmind.com/blog/20-inspiring-website-login-form-pages/

@mazipan  i want to take this, and use mailchimp login page. Should make new Issues?

MailChimp is already there mas @naufaldi

Wah, Sorry not to see it 😅, how about Mongools Login mas @mazipan  ?

Sikat lah mas

Open issue dulu ya mas

Siap senpai..


Topic 4

Can anyone else see the contents for week 4? I'm wondering if they're supposed to be accessible by now...

Week 4 is live on the main content site. In reviewing and editing it, I forgot to open the hw forum on moodle. I will open that up this afternoon. In the meantime, everything is live on the main content site and you can work from there.


Any way to avoid loading FxParallax assets?

I see that the css for FxParallax is adding an item to my request chain and since I am not using any of its features in this project I would like to disable it and just keep the Img side, is there any way to do it?
I imported as import Img from '@zerodevx/svelte-img' everywhere

I don't quite understand your question tbh?
<script>
  import Img, { FxParallax } from '@zerodevx/svelte-img'
  import src from '$lib/a/cat.jpg?as=run'
</script>

<!-- Img component -->
<Img {src} />

<!-- Img component with Parallax -->
<FxParallax {src} />

Thank you @zerodevx, that's exactly what I mean. I never used it anywhere in the project, but it's getting loaded in the final build anyway

This should be fixed with v2.0.2. Thanks for bringing this to attention - great catch! 👍


Add BEiT model

Adds BEiT image transformer model. The implementation shares some similarities with BERT, so I rebased off of that. There is an additional semantic segmentation model I left out because the implementation got a little complex and I wanted to push up what was working so far.

I'm going to close this one, the implementation got way out of date and doesn't use the shared transformer. If the model is still important feel free to reopen!


Use a const pointer for the slice returned from g_unix_socket_address_get_path()

And never pass NULL to slice::from_raw_part(), it's undefined behaviour

Thanks!


force:source:deploy -x command deletes all test files from the source repository

Summary
$ sfdx force:source:deploy
when run with a manifest ( -x ) will delete all of the JEST tests in my source tree.
since upgrading to sfdx-cli/7.105.0, I have discovered that the command
worked on 7.102
Steps To Reproduce:
I have a repro using dreamhouse
reference:  salesforce Case 30155862

download the dreamhouse repo
create a scratch org, set it as the default
add the following package.xml file under ./manifest. ( note this is an incomplete package.xml file, but demonstrates the issue)

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>GeocodingService</members>
    <name>ApexClass</name>
  </types>
  <types>
      <members>brokerCard</members>
      <members>errorPanel</members>
      <name>LightningComponentBundle</name>
</types>
<version>49.0</version>
</Package>

in a source repository which contains LWC tests ( __test__/** )  run the command
sdfx force:source:deploy -x manifest/package.xml

Expected result
source code does deploy
Actual result
source code begins to deploy after deleting LWC __test__/**  files
see :

Additional information
this line of code is actually deleting the source code

the comments indicate it is a temp directory, however, as you can see in the screenshot it is my actual source tree that is unlinked.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):
sfdx-cli/7.105.0 darwin-x64 node-v15.8.0
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core)
@oclif/plugin-autocomplete 0.3.0 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.2 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.10.0 (core)
@oclif/plugin-update 1.4.0-3 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-trust 3.6.0 (core)
alias 1.1.10 (core)
auth 1.6.1 (core)
config 1.2.8 (core)
generator 1.1.7 (core)
salesforcedx 51.16.0 (core)
├─ data 0.4.10 (core)
├─ apex 0.2.2 (core)
├─ org 1.6.6 (core)
├─ user 1.3.0 (core)
├─ schema 1.0.7 (core)
├─ limits 1.2.1 (core)
├─ custom-metadata 1.0.12 (core)
├─ templates 51.5.0 (core)
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7 (core)
└─ salesforce-alm 51.6.26 (core)
sfdx-cli 7.105.0 (core)
telemetry 1.2.1 (core)
OS and version:
macos Catalina
10.15.7

@vnehess I just the repro but cannot reproduce the removal of the tests. Not sure what might be going on here. Any additional details that you might be able to provide?

We are having the same issue.  It took us a few days to figure out that this was what was happening in our Jenkins builds.  I saw it once locally, and another team member had the problem repeating.  I'll see if I can find a situation/configure that fully replicates the issue.

Check out the beta source commands!

Am having a similar problem ( tests folder deleted ) when using sfdx force:source:deploye --sourcepath filename.  The problem occurs consistently on a machine with CLI version 7.105 and never on a machine with 7.91.  Can provide additional version information if that would be helpful.

Hi @GH4Arlene checkout my announcement above for the beta source commands, check them out. They should fix this issue 🤞 👍

Thank you @WillieRuemmele!  The __test__ folders are no longer deleting.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1528 ms

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


feat(metrics): additional metrics

Changes:

Add segment delete time metric
Add total metric to segment fetch requests
Add fetch bytes metric

Removing fetch-latency as it doesn't give much meaning at the moment, as there is not measuring of how input stream is being read.


Loop or previous error loading module 'torch'

Two of the other issues seemed similar, but could someone explain the issue (and a fix) to me in simple words? I'm not sure why this is happening. I run "th file.lua -input_h5 -input_json", and the following comes up:
/home/adityac/torch/install/bin/luajit: /home/adityac/torch/install/share/lua/5.1/trepl/init.lua:384: loop or previous error loading module 'torch'
stack traceback:
[C]: in function 'error'
/home/adityac/torch/install/share/lua/5.1/trepl/init.lua:384: in function 'require'
train.lua:2: in main chunk
[C]: in function 'dofile'
...tyac/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:145: in main chunk
[C]: at 0x004064d0

@soumith

run the command:
luajit -ltorch
luajit -llibtorch
See what errors you get

@soumith
luajit -ltorch
luajit: /home/adityac/.luarocks/share/lua/5.1/torch/init.lua:13: cannot load '/home/adityac/.luarocks/lib/lua/5.1/libtorch.so'
stack traceback:
[C]: in function 'require'
/home/adityac/.luarocks/share/lua/5.1/torch/init.lua:13: in main chunk
[C]: at 0x0046b010
[C]: at 0x004064d0
luajit -llibtorch
luajit: error loading module 'libtorch' from file '/home/adityac/.luarocks/lib/lua/5.1/libtorch.so':
libluaT.so.0: cannot open shared object file: No such file or directory
stack traceback:
[C]: at 0x0047a730
[C]: at 0x0046b010
[C]: at 0x004064d0

ls ~/torch/install/lib
Does it have libluaT.so.0 ?

Nope, it's missing.

can you try: luarocks install torch

That worked! Thanks :)
What caused that, exactly?

i'm not sure either tbh!


implement sending of stateless

Fixes #943.

Codecov Report

Merging #1814 into master will increase coverage by 0.08%.
The diff coverage is 95.83%.

@@            Coverage Diff             @@
##           master    #1814      +/-   ##
==========================================
+ Coverage   86.87%   86.95%   +0.08%
==========================================
  Files          95       95
  Lines        6466     6512      +46
==========================================
+ Hits         5617     5662      +45
+ Misses        607      606       -1
- Partials      242      244       +2

Impacted Files
Coverage Δ

multiplexer.go
100% <100%> (ø)
:arrow_up:

server.go
84.05% <100%> (+0.39%)
:arrow_up:

internal/handshake/transport_parameters.go
96.85% <100%> (+0.1%)
:arrow_up:

client.go
81.46% <100%> (+0.18%)
:arrow_up:

session.go
75.82% <71.43%> (+0.07%)
:arrow_up:

packet_handler_map.go
95.97% <96.67%> (-0.61%)
: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 e66c216...89b99ef. Read the comment docs.

Codecov Report

Merging #1814 into master will increase coverage by 0.08%.
The diff coverage is 95.83%.

@@            Coverage Diff             @@
##           master    #1814      +/-   ##
==========================================
+ Coverage   86.87%   86.95%   +0.08%
==========================================
  Files          95       95
  Lines        6466     6512      +46
==========================================
+ Hits         5617     5662      +45
+ Misses        607      606       -1
- Partials      242      244       +2

Impacted Files
Coverage Δ

multiplexer.go
100% <100%> (ø)
:arrow_up:

server.go
84.05% <100%> (+0.39%)
:arrow_up:

internal/handshake/transport_parameters.go
96.85% <100%> (+0.1%)
:arrow_up:

client.go
81.46% <100%> (+0.18%)
:arrow_up:

session.go
75.82% <71.43%> (+0.07%)
:arrow_up:

packet_handler_map.go
95.97% <96.67%> (-0.61%)
: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 e66c216...89b99ef. Read the comment docs.


⚠ Bofrost.lu has degraded performance

In 41faba4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1349 ms

Resolved: Bofrost.lu performance has improved in 674586e after 45 minutes.


Fix IndexOutOfBoundsException in RollingHdrQuantiles

To be honest, I'm not sure why Recorder throws an
IndexOutOfBoundsException which is not specified in the API
specification, but we have to deal with it.
Note that this is just a stopgap solution until we upgrade to Micrometer
1.0.0-rc.4.
Fixes #827

@imasahiro @taicki Do you want me to release 0.45.3 with this fix included?

AppVeyor failure unrelated with this PR

Thanks, reviewers!


Export simple-keyboard typings please

Issue
Although react-simple-keyboard includes simple-keyboard under the hood, the typings for simple-keyboard appear to get lost to the consumer. I have to pull in simple-keyboard separately just to import the Keyboard type so that TypeScript compiler knows there is a setInput, etc... on the ref returned from react-simple-keyboard component.
Proposed Resolution
Export the types from contained simple-keyboard so that consumers using TypeScript don't have to import simple-keyboard separately just for the typings.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
I believe we can just export * from 'simple-keyboard in the main build/index.d.ts file. If you're ok with this, I'm happy to submit a PR  😄
Thanks so much!!

Hey @bradleygore,
I recommend using KeyboardReactInterface, for example:
import React, { useEffect, useRef } from "react";
import Keyboard, { KeyboardReactInterface } from "react-simple-keyboard";
import "./App.css";

function App() {
  const keyboard = useRef(null) as React.MutableRefObject<null | KeyboardReactInterface>;

  useEffect(() => {
    keyboard.current?.setInput("Hello");
    console.log(keyboard.current?.getInput());
  }, []);

  return (
    <div className="App">
      <Keyboard
        keyboardRef={(r: KeyboardReactInterface) => (keyboard.current = r)}
      />
    </div>
  );
}

export default App;

Regards,
Francisco Hodge

Hey @hodgef
I still have to install simple-keyboard as far as I can tell. Maybe I'm missing something? Here's what I'm seeing:
Using a ref like this: const keyboardRef = useRef<KeyboardReactInterface>();
The setInput function (as well as any other Keyboard functions) is missing from the ref:

Yes, KeyboardReactInterface does extend Keyboard - but the problem is that unless I also have react-keyboard installed locally TS can't find the typing for it because the typing for it is not included in react-simple-keyboard as far as I can tell:

So the final output from react-simple-keyboard references the typing for a thing in simple-keyboard that does not ship with react-simple-keyboard, so TS can't find the typing unless consumers install simple-keyboard as well.
If this is how it should work, that's fine. But other issues seemed to indicate we do not need to install simple-keyboard alongside react-simple-keyboard.
Thanks so much 😄

@bradleygore Thanks for the details! This is not intended - will fix later today

Hey @bradleygore,
I've pushed a change to<EMAIL_ADDRESS>which should fix the issue. Feel free to give it a try!
Regards,
Francisco Hodge

Hey @hodgef - it works perfectly now! Thanks so much 😄


Implement separate functions for get_device from id and array

cuda.get_device accepts both a device id and an object. When an id is given, it returns a device of the corresponding ordinal. When an object is given, it checks the type and returns a device if the type is cupy.ndarray. This behavior is complicated and often introduces bugs when we take care of the performance. I think it is enough to provide two functions: get_device_from_id (which takes an id and returns the corresponding device) and get_device_from_array (which takes an input and returns the device if the argument is cupy.ndarray). It much simplifies the interface and implementation.

Fixed by https://github.com/chainer/chainer/pull/2391 and https://github.com/chainer/chainer/pull/2890


[Transforms] Update baselines from merging with master

@rbuckton @mhegazy @sandersn @vladima
After this change "transforms" branch should all pass

:+1:


Proxy has not been set up for this URL

Dear all,
I am trying to use the php proxy. The prerequisites seems to be ok but we are getting the following error. Can anyone help us solve this?
{"error":{"code":403,"details":["Proxy has not been set up for this URL. Make sure there is a serverUrl in the configuration file that matches: https://gissrv.deda.gr/server/rest/services/WebDiathesimotita/WebDiathesimotitaQuery/MapServer/"],"message":"Proxy has not been set up for this URL."}}

@ginfinityhq - what does your proxy.config look like? Does it have an entry that should match that server?

@ginfinityhq - what does your proxy.config look like? Does it have an entry that should match that server?

Hello,
This is my config details:

	<serverUrl url='//gissrv.deda.gr/*'
matchAll="true">

Can you see anything wrong?

Hello,
This is my config details:

	<serverUrl url='//gissrv.deda.gr/*'
matchAll="true">

Can you see anything wrong?

missing the / at the end of the xml?
i.e.:


ADD PayX Token

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address: [gbgbSxPAXwQgTp6PyXCeoXqcZf4UHYQKtuYS53qnPtz]
Token Name: PayX
Token Symbol: PAYX
Logo: https://raw.githubusercontent.com/solana-labs/token-list/main/assets/mainnet/gbgbSxPAXwQgTp6PyXCeoXqcZf4UHYQKtuYS53qnPtz/logo.png
(logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token: www.payx.co.kr
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I don't really understand why..//


bug in validation operation

When using the operation for validation there is a bug which throws an error if the fhir server says the resource is valid.
// code for validation operation
final Parameters parameters = Parameters(
  parameter: [
    ParametersParameter(name: 'resource', resource: extendedQuestionnaire),
  ],
);

final request = FhirRequest.operation(
  type: R4ResourceType.Questionnaire,
  base: baseUrl,
  operation: 'validate',
  usePost: true,
  fhirParameter: parameters,
);

The issue is here.
The code is
OperationOutcome operationOutcome = OperationOutcome.fromJson(
    body['response'] as Map<String, dynamic>);

but it should be
OperationOutcome operationOutcome = OperationOutcome.fromJson(
    body as Map<String, dynamic>);

because the server response looks like this and doesn't have a response key.
The result body:
{
    "resourceType": "OperationOutcome",
    "issue": [
        {
            "severity": "information",
            "code": "informational",
            "diagnostics": "No issues detected during validation"
        }
    ]
}

When the not existing response key gets casted an Exception is thrown because null is not of type Map<String, dynamic>.
Should I open a pull request or what do you think about this @Dokotela ?

I've finally pushed a version of fhir_r4 and fhir_r5. The base package was growing too big. But these new versions include all of the other packages too. So they each have the base package, fhir_at_rest, fhir_auth, fhir_path, fhir_bulk, and fhir_db. They're also much smaller than the old version (partly because the main branch doesn't have any of the tests). Please try them out and let me know if you run into issues. It also takes care of that OperationOutcome issue by just returning the OperationOutcome in your example.

Thanks @Dokotela
It is good to know that the fhir packages continue to be maintained, and also good the separation by FHIR version, but not so good to have all the packages bundled together, not all apps need to use all packages, so unnecessary dependencies would be included.
Also I didn't noticed about this new versions of the packages because they are not provided by the same verified publisher: fhirfli.dev 🤔

@luis901101 thanks for the comment! And also thanks for your Questionnaire package.
You are correct, and I forgot to move the packages over to fhirfli.dev. They are now moved though, so that issue is fixed.
As for the unnecessary dependencies, I agree, but I'm not sure the best way to manage it. The FHIR package was getting too big to work with (VSCode would lock up, pub.dev would break when trying to analyze it, etc.). And since most people only use a single version of FHIR, it seemed to make sense to put them into a single package, and that way you would have all of the functionality that you would need in one place. I had (briefly) considered breaking up each smaller package by version (but fhir_r4, fhir_r4_at_rest, fhirpath_r4, etc, but for dstu2, stu3, r4, r5, r6 seemed too much to manage).
Were there specific packages that you were running into issues with?
I'm also open to suggestions if you think there could be a better way to group the different libraries.

@Dokotela yeah, separate FHIR versions on individual packages was the right call, but including all complement packages in one package is what I see overkill, I mean including all of this:

fhir
fhir_at_rest
fhir_auth
fhir_bulk
fhir_db
fhir_path
fhir_yaml

into one package fhir_r4 seems like too much. For instance I have been working in a project for several months and I only use fhir types and fhir_at_rest. Also I created this package fhir_questionnaire and it only uses fhir types and fhir_path. So for me to migrate to the new fhir_r4 would be to include a lot of dependencies that I don't use and this also means possible conflicts with transitive dependencies, etc.
Off course could be other devs that uses most of the packages and having it all together could be good, but it's hard for me to think that avg devs would need all those packages together.
I also understand from a Package Publisher PoV is hard to maintain all the packages individually but this also have other advantages like fixing specific package issues without having to publish a whole new version of the big package...
I don't know it's just my opinion, and by the way you have made a really great job with this packages 👍.


Messenger profile support

Hi @Charca,
sorry for my late response. I've been travelling during the past days. I gave you permissions to fork from our repo. I might have time to make your change requests later this week, but if you are faster I'd appreciate your support.

This is going to support the new persistent menu, right?

@sotirelisc yessir, I still need to add a few tests to this PR but it will be ready to merge soon.

I've finished working on this one. I'm going to merge it and release v1.0.12 with it.


Default logging of Bridge compiler is super-verbose

We have a large number of Bridge projects and currently our Output window in VS (as well as logged output on the build server) is incredibly verbose.
I know this can be controlled in bridge.json, but it feels like it might be a bit noisey by default. The normal MSBuild output is fairly quiet, so it seems like Bridge should be similar by default (or ideally, use the switch already passed to msbuild).

@DanTup – What setting for logging do you have configured in your bridge.json?

@geoffreymcgill I don't believe we have any set anywhere. The output isn't as bad as when we've had it on trace in the past (for debugging), but it's orders of magnitude more chatty by default than typical msbuild output on a .net project.

Thanks for pointing out this verbose logging. We have reviewed and agree that things can be tightened up. We should be able to implement these changes for the 16.4.0 release.

On a successful build, logging has been cleaned up and reduced to the following:
------ Rebuild All started: Project: Demo1, Configuration: Debug Any CPU ------
  Demo1 -> c:\users\user\Demo1\bin\Debug\Demo1.dll
  Bridge started
      To enable detailed logging, configure "logging" in bridge.json.
      https://github.com/bridgedotnet/Bridge/wiki/global-configuration#logging
  Bridge done
========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========

You enable detailed logging by adding a logging config section to your projects bridge.json.
Example
{
  "logging": {
    "level": "Trace"
  },
}

Hope this helps.

The change mentioned above has been merged to bridge and will be available with 16.5.0 release.


Make context() thread-safe

The context map is typically used to pass information between handler
and filter chains. Filters and handlers are usually running on separate
thread-pools.
FYI @tokle @jonmv

Some unit tests fail as ConcurrentHashMap does not allow null as value.