Upgrade Facter from version 2.4 to 4.6

This work is needed for the ULHPC/puppet-slurm module and its pdk upgrade to v3.2.
Note that there are newer version than 4.6 but there is another conflict on the thor version requirement.
Anyway, I've converted the legacy facts using these sources:

https://github.com/mmckinst/puppet-lint-legacy_facts-check/blob/master/lib/puppet-lint/plugins/legacy_facts.rb
https://github.com/puppetlabs/facter/tree/main/lib/facter/facts/macosx/system_profiler

Thanks :)

LGTM ;) Thanks Hya, & best regards to the ULHPC team ;)


circleci: additional git config value required to build PRs

There's still a slight problem with building PRs due to how Circle names them, it prepends the PR number with "pull" when it sets CIRCLE_BRANCH, e.g. pull/335, whereas the PR sits in origin as pr/335. I'll continue working on this later tonight.

Okay, it's working for PRs now:
---- cricle ci output -----
Branch pr/339 set up to track remote branch pr/339 from origin.
Switched to a new branch 'pr/339'


Improper error reporting when binding to domain name that doesn't resolve.

empty@monkey:~/tmp/revsh$ ./revsh -c -vvv foo.bar.com
First example:
Controller: Listening on foo.bar.com:2200.
�Ռ: 6795616: BIO_do_accept(0): (null)
25909320:error:2006A066:BIO routines:BIO_get_host_ip:bad hostname lookup:b_sock.c:146:host=foo.bar.com
do_control(): init_io_control(18b7cc0): Success

Fixed in devel branch. Keeping ticket open until pushed to master.


reduce the usage or runtime exceptions (ideally to zero)

in the current release there is what is, to my opinion, an abuse of runtime exceptions. Runtime exceptions should be the last resort in very exceptional cases, in all other cases the developer should manage the issues.
I won't tell you the fun when the app is being tested by the client and it crashes continuously.

Runtime exceptions, and what I usually use, IllegalStateExceptions, are in the end, meant to help the developer during development. They help communicate to the dev that they are not using the SDK correctly.
However, if it is truly crashing when the state or the SDK is being used correctly, that is a critical bug.
Do you have specific examples of the exceptions?

I need to collect crash reports first, I'll add more comments here when I get to know some.


CyotekLtd.CyotekCopyTools version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

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

Microsoft Reviewers: Open in CodeFlow

You just added this why are you adding it again.


Push emptyBlobLen inside the allocateAdditionalMemory() function

Hi There,
I am trying to learn how bigcache works. May I know the reason why to push "emptyBlobLen" inside the allocateAdditionalMemory() function? What is the purpose of doing that? I have also noticed the constant minimumEmptyBlobSize and its comment: "Minimum empty blob size in bytes. Empty blob fills space between tail and head in additional memory allocation.". However, I still could not figure it out the reason why to do that?
Thanks,

Hi,
There is a unit test named TestAllocateAdditionalSpaceForInsufficientFreeFragmentedSpaceWhereTailIsBeforeHead. It can help understand empty blob creation. On below piece of paper you can find what is going on during this test execution:

As you can see in step 5a. bigger array is allocated and empty blob is created between blob c and b. Thanks this index of blob b does not change, so you can still read it from the same place. It was implemented in this way because you can keep references/indexes to bigcache entries outside bigcache and expect that they don't change when additional space allocation occurs.
I hope this answers on your questions.
Greetings,
Luke

@druminski Thanks for pointing me to the testing function. I have totally neglected the testing file before. After reading the codes and your detail explanation, it makes much more sense now. Thanks for your help.


Prototype Domainic::Boundary

Overview
This spike covers the initial investigation and prototyping for the domainic-boundary gem, which aims to provide a "Gateway" implementation for enabling secure and controlled communication between different domains within the Domainic ecosystem.
Background
In a complex, service-oriented architecture like Domainic, it is important to establish clear boundaries between different domains or bounded contexts. The domainic-boundary gem would act as a "Gateway" that other domains can interface with to communicate with a specific domain, rather than having direct access.
The Gateway pattern helps decouple the internal implementation details of a domain from the external systems that need to interact with it. It provides a single entry point for all inbound communication, allowing the domain to enforce security, logging, and other cross-cutting concerns.
As an example, consider the relationship between the Domainic::Attributer domain and a hypothetical "Reporting" domain. Instead of the Reporting domain directly accessing the internals of Attributer, it would go through the domainic-boundary gem's Gateway to interact with Attributer in a controlled manner.
Scope
The scope of this spike is to investigate and prototype the following aspects of the domainic-boundary gem:

Design the overall architecture and API for the Gateway implementation
Implement a core Gateway class and supporting classes (e.g., Request, Response)
Ensure the Gateway system can be easily integrated with the Domainic::Attributer gem and other domains
Explore ways to make the Gateway system extensible and allow for custom request/response handling logic

Technical Approach

Design the Gateway system architecture and API: Start by defining the overall structure and API of the Gateway system. Consider factors such as:

How will clients interact with the Gateway?
What common methods and behavior should the Gateway classes share?
How will the Gateway system integrate with the Domainic::Attributer gem and other domains?
How will the Gateway system handle requests, responses, and error handling?

Implement the core Gateway classes: As a starting point, implement a core Gateway class and supporting classes like Request and Response. Follow the designed API and ensure they can be easily used within the Domainic::Attributer gem and other domains.
Implement custom request/response handling logic: Explore ways to allow for the addition of custom request and response handling logic. This may involve creating a way to define custom handle_request and handle_response methods or allowing for the use of arbitrary blocks within the Gateway definition.
Integrate with Domainic::Attributer: Ensure the Gateway system can be seamlessly used within the Domainic::Attributer gem and other domains. This may involve making adjustments to the domain classes to accommodate the new Gateway system.
Document and test: Provide comprehensive documentation for the Gateway system, including usage examples and integration with Domainic::Attributer and other domains. Also, implement thorough test coverage to ensure the Gateway system is robust and reliable.

Deliverables

A prototype implementation of the core Gateway class and supporting classes, following the designed API
Demonstrations of how custom request and response handling logic can be added to the system
Documentation outlining the Gateway system and its integration with the Domainic::Attributer gem and other domains
A plan for the full implementation of the domainic-boundary gem, including a roadmap of additional Gateway features to be implemented

Success Criteria

The Gateway system demonstrates a clean and expressive API for defining and managing communication between domains
The Gateway system can be easily integrated into the Domainic::Attributer gem and other domains
The prototype implementation and documentation provide a solid foundation for the full domainic-boundary gem

We're likely going to be renaming this gem to domainic-gateway


Unable to use org.greenrobot.eventbus inside of separate module

I am trying to access org.greenrobot.eventbus in separate module in my project. But, getting below error. When I'm declaring @Subscribe method in MainActivity activity this is resolved. But, I want to subscribe from the module, not from the main project. Need your help to fix this issue.
org.greenrobot.eventbus.EventBusException: Subscriber class com.sayantan.weekcalender.MainActivity and its super classes have no public methods with the @Subscribe annotation

it's not about the separate module.
the error means the class doesn't have any method annotated with subscribe (it doesn't receive any event).
you can wrap eventbus.register(this) call inside a try catch block if it's intended behavior on your use case.


OCSP server crash with simple browser

Critical bug in OCSP server!
I created EV certificate and setup OCSP server because browser require it for EV. And I like trust & security.
But if I connect to OCSP server using browser, it sends response and crashes.
It is a critical bug. Or my mistake. :)

Sigh.  USE EMAIL LISTS
There is not enough information to reproduce the problem here

I fixed it by -ignore_err — it is my mistake.
I cannot use mailing list with Guerilla mail. My real email is on my server in Tor network.

There are various mail/web gateways, including nabble and google groups.  or get a gmail account the same you got a github account.


Liquid exception caused by newer version of Faraday

Hi, I have a private repo on gitlab.com that was based on academicpages template, that produces a website through gitlab CD mechanism (very similar to github CI). Today I found that the build process broke down because of newer version of Faraday.
Here is the last few lines of the build process (when invoking jekyll build):
$ bundle exec jekyll build -d public
Configuration file: /builds/deapsecure/deapsecure.gitlab.io/_config.yml
            Source: /builds/deapsecure/deapsecure.gitlab.io
       Destination: public
 Incremental build: disabled. Enable with --incremental
      Generating...
       Jekyll Feed: Generating feed for posts
   GitHub Metadata: No GitHub API authentication could be found. Some fields may be missing or have incorrect data.
   GitHub Metadata: Error processing value 'repo_pages_info':
  Liquid Exception: uninitialized constant Faraday::Error::ConnectionFailed Did you mean? Faraday::ConnectionFailed in /_layouts/default.html
jekyll 3.8.5 | Error:  uninitialized constant Faraday::Error::ConnectionFailed
Did you mean?  Faraday::ConnectionFailed
section_end:1578070841:build_script^Msection_start:1578070841:after_script^Msection_end:1578070842:after_script^Msection_start:1578070842:upload_artifacts_on_failure^Msection_end:1578070844:upload_artifacts_on_failure^MERROR: Job failed: exit code 1

Apparently the new Faraday (version 1.0.0, see below) broke something in the build process--but I don't know exactly where in the source this was invoked / triggering the problem. Hence, this issue. It was Faraday 0.15.4 when the web site was successfully built in September/October 2019 timeframe.
Admittedly I was probably using this approach out-of-the-box (i.e. not supposed to built in on gitlab CD?). But I would be happy to do it without any github metadata pull (which is why the problem, I think).
Here are the versions of packages used in building the website (from the job log):
concurrent-ruby 1.1.5
i18n 0.9.5
minitest 5.13.0
thread_safe 0.3.6
tzinfo 1.2.6
zeitwerk 2.2.2
activesupport <IP_ADDRESS>
public_suffix 3.1.1
addressable 2.7.0
coffee-script-source 1.11.1
execjs 2.7.0
coffee-script 2.4.1
colorator 1.1.0
ruby-enum 0.7.2
commonmarker 0.17.13 with native extensions
dnsruby 1.61.3
eventmachine 1.2.7 with native extensions
http_parser.rb 0.6.0 with native extensions
em-websocket 0.5.1
ffi 1.11.3 with native extensions
ethon 0.12.0
multipart-post 2.1.1
faraday 1.0.0
forwardable-extended 2.6.0
gemoji 3.0.1
sawyer 0.8.2
octokit 4.15.0
typhoeus 1.3.1
github-pages-health-check 1.16.1
rb-fsevent 0.10.3
rb-inotify 0.10.1
sass-listen 4.0.0
sass 3.7.4
jekyll-sass-converter 1.5.2
listen 3.2.1
jekyll-watch 2.2.1
kramdown 1.17.0
liquid 4.0.3
mercenary 0.3.6
pathutil 0.16.2
rouge 3.13.0
safe_yaml 1.0.5
jekyll 3.8.5
jekyll-avatar 0.7.0
jekyll-coffeescript 1.1.1
jekyll-commonmark 1.3.1
jekyll-commonmark-ghpages 0.1.6
jekyll-default-layout 0.1.4
jekyll-feed 0.13.0
jekyll-gist 1.5.0
jekyll-github-metadata 2.12.1
mini_portile2 2.4.0
nokogiri 1.10.7 with native extensions
html-pipeline 2.12.3
jekyll-mentions 1.5.1
jekyll-optional-front-matter 0.3.2
jekyll-paginate 1.1.0
jekyll-readme-index 0.3.0
jekyll-redirect-from 0.15.0
jekyll-relative-links 0.6.1
rubyzip 2.0.0
jekyll-remote-theme 0.4.1
jekyll-seo-tag 2.6.1
jekyll-sitemap 1.4.0
jekyll-swiss 1.0.0
jekyll-theme-architect 0.1.1
jekyll-theme-cayman 0.1.1
jekyll-theme-dinky 0.1.1
jekyll-theme-hacker 0.1.1
jekyll-theme-leap-day 0.1.1
jekyll-theme-merlot 0.1.1
jekyll-theme-midnight 0.1.1
jekyll-theme-minimal 0.1.1
jekyll-theme-modernist 0.1.1
jekyll-theme-primer 0.5.4
jekyll-theme-slate 0.1.1
jekyll-theme-tactile 0.1.1
jekyll-theme-time-machine 0.1.1
jekyll-titles-from-headings 0.5.3
jemoji 0.11.1
minima 2.5.1
unicode-display_width 1.6.0
terminal-table 1.8.0
github-pages 203
hawkins 2.0.5

Wirawan

It appears that this got corrected by one of the newer libraries.


Keep groups of tests together

Hey,
In my applications my module level fixtures have a significant time cost (30+ seconds per test), and currently this plugin correctly orders the depedencies but unnecessarily splits up the modules.
Could you add an argument to set the level at which you want the ordering to be done i.e. the largest group it can move - function, class, module.
Thanks!

If I understand you correctlty, you can use the order-scope option. Use --order-scope=module on the command line, or put the option in your pytest.ini to handle sorting separately for each module.

Hey,
I almost want the exact opposite. Each of my test modules uses a common dependency to check that something can be loaded, and each function in the module depends on the function before it.
This results in each function being reordered so that the loading test is done, then all the first functions in each of those modules gets done, then the second function and so on.
I want the modules to be reordered, but not the functions (because i already wrote those in the correct order)

Ah, so you want to sort only your test modules, but not tests inside the modules. Ok, that is currently only possible by adding a sort marker to each test in each module, with contiguous numbering.
This is inconvenient - I will think about an option, thanks for the suggestion!

@ThePraeceps - I added a new option group-order-scope in master, please check if this is what you need.

Looks good! My orders are based on dependencies however so it still gets rearranged.

Ok, I was planning to add support for relative markers as a next step anyway, will see if I get something done over the weekend. Are you using relative order markers, or are you using pytest-dependency?

I'm using pytest-dependency :)

Ok, so you are using pytest-dependency with the order-dependencies option, right? Good to know that someone actually uses this!
I was planning to first add support for order relative markers, and afterwards check the dependency markers. This may take a while...

Yeah, exactly! Surprised it's not a thing it does natively, seems odd to have tests skip because they haven't run yet.

There is a PR for this - if that's get merged, the option in pytest-order won't probably be needed anymore.

@ThePraeceps - I added something to master, though I may still have to clean it up a bit and add a few tests. Note that dependency markers in session scope (e.g. markers referencing a different module) it is currently only tested for named markers, e.g. if you set the name in one module and reference that name in the other module, instead of the fully qualified path (which will probably not work, I will address this later). I would be interested to know it this works for you.

@mrbean-bremen  as in you want me to name the dependency marker, then make a dependency on rather than test-test.py::test_func ?

Yes, that is what I mean. You can try with the current markers, but I suspect it will not work. I may have another look at this over the weekend.

Ok, this took longer than I had hoped. pytest-dependency uses the nodeid of tests in session scope, but it can differ between different pytest versions - so testing this was a bit of a problem. In my earlier tests I had not set the session scope, so they could not have worked...
Anyway, it should mostly work now in master. @ThePraeceps - can you please test if it works for you? You will need the option --order-group-scope=module for your case.

I can confirm the master branch achieves the effect I wanted precisely! Great work :)

FYI: I made a new release that contains the changes.


Using ssh-cli vs ssh-extension

Design
Discussed design so far is,

Local Machine --(transfer file/command via ssh/sdb connection, not ssh extension)--> Remote Machine (Ubuntu/Tizen)
Run docker on ubuntu machine, execute inside the docker <- by ssh cli command only
pull out result(model, benchmark result, log, ...) to local machine with docker

UI
UI is not discussed in a group yet.
This includes my suggestions.
ssh connection
Present the similar interface as Remote-ssh extension of vscode. Anyhow, we need the ssh connecting interface too. Let's use the most familiar one.

(source: https://code.visualstudio.com/blogs/2019/07/25/remote-ssh)
Q. why don't we just use remote-ssh extension here, not a pure ssh cli command.
I guess  'ssh cli command instead remote-ssh extension' design is suggested as we need to support the same functionals for both ubuntu and tizen board(real env). However, why don't we just separate them and support linux with much extensive view.
Originally posted by @dayo09 in https://github.com/Samsung/ONE-vscode/issues/343#issuecomment-1073417960

@dayo09
I'd like to try to elaborate the reason we decide to go with ssh cli (rather than SSH extension).
IMHO, we have to consider two cases with toolchain installed in remote machine.
c1) model files are stored in local Windows machine.
c2) model files are stored in remote machine.
Thinking about c1)
Assuming a user maintains his/her model file in his/her Windows machine and connects a target device(e.g., TV) to the Windows machine.
In such case, if we choose to support SSH-extension, user has to do

open a new vscode by pressing green area ()
manually connect remote server through SSH (by entering, e.g., IP)
but he/she wants to run a compiled code in local PC. (this experience seems weird)
compilation on remote machine: ONE-vscode transfers the compiled code to remote machine where toolchain is installed. Toolchain sends the result back to ONE-vscode. Here, we have some mechanisms of passing files and receiving result. (which can be done by ssh cli or scp)
inference on target device: ONE-vscode transfers the compiled code to target device, which is connected to local machine. (This is done by, ssh cli or SDB)

In the above scenario, if we choose to use ssh cli, we don't need step 1), 2), making UI steps simpler. Plus, step 3) can be more intuitive.
c2) can be also done with ssh cli.
Originally posted by @hyunsik-yoon in https://github.com/Samsung/ONE-vscode/issues/343#issuecomment-1073499411

@hyunsik-yoon
To tell you my opinion, my main points are,
Point 1. keeping ssh/sdb connection is mandatory in any cases (using ssh-extension or not). Your 4. 5. steps can be done within ubuntu device too.
Point 2.

open a new vscode by pressing green area (image)
manually connect remote server through SSH (by entering, e.g., IP)

Those steps cannot be disappeared. When we try to connect to remote machine, we will show up ssh connection UI, which we haven't discussed yet but which I expect to be as similar to the vscode-extension's one.
Originally posted by @dayo09 in https://github.com/Samsung/ONE-vscode/issues/343#issuecomment-1074705106
Related to
https://github.com/Samsung/ONE-vscode/issues/310
https://github.com/Samsung/ONE-vscode/issues/343#issuecomment-1073499411

How about discussing this in daily meeting at Thu? :-)

Our discussion has concluded to..
This case is using remote ubuntu machine and its workspace.
Therefore, it's just as the same as the case of using local ubuntu machine and its workspace. The only difference is to connect via ssh extension or not.
So we conclude this to use ssh-extension.


0x2746 Error

+## PHP Driver version or file name
current apt driver version
+## SQL Server version
On premise SQL Server 16 Version 13.0.5102.14
on Windows 2012 R2
+## Client operating system
Ubuntu 20.04
+## PHP version
7.4
+## Microsoft ODBC Driver version
<IP_ADDRESS>-1
+## Table schema
+
+## Problem description
In a Ubuntu fresh installation I get SQLSTATE[08001]: [Microsoft][ODBC Driver 17 for SQL Server]TCP Provider: Error code 0x2746
+## Expected behavior and actual behavior
I expect to connect to DB instance
The actual Behaviour is to get  0x2746 error when I try to connect to SQL Server using PHP 7.4
+## Repro code or steps to reproduce
Each time I try ton install a new 20.04 ubuntu server I get the same error. Another servers with Ubuntu 16 and 18 are working fine.
I followed this instructions https://github.com/microsoft/msphpsql/issues/1112#issuecomment-609972220
modifying the openssl configuration but still get the same error.

Have you checked the TLS 1.2 support of your server, @miquelangeld ?
Some other users have to downgrade to MinProtocol = TLSv1 (not recommended) in order to get it working. Have you checked other comments or related links in the same issue #1112

Closing this issue due to inactivity. Please feel free to reopen if necessary, @miquelangeld


VideoStreamInfo is Null

Thanks for this Great tool.
you application was working very well for the past week. suddenly it returns null exception reference.
This is the You Tube video for test:
https://www.youtube.com/watch?v=Ko-ZboCzR64&list=WL&index=7&t=0s

Hi, indeed YouTube has made some changes that broke the library YoutubeDownloader uses.
You can track the progress here: https://github.com/Tyrrrz/YoutubeExplode/issues/229

Many thanks for that quick response. I tracked the progress, and Downgrading youtube explode lib, resolves the issue for the link, many thanks @Tyrrrz

Many thanks for that quick response. I tracked the progress, and Downgrading youtube explode lib, resolves the issue for the link, many thanks @Tyrrrz

How do I use this in youtube-dl?

New version is out


Convert ModalLocalAndRemotePip to a common file for Composite use

What
Convert ModalLocalAndRemotePip.tsx to a common file to be used in both Call Composite and CallWithChatComposite
Why
In order to bring participant list view in Call Composite in sync with CallWithChat Composite.
Initial steps requiring converting CallWIthChat composite specific files to common files to be used in Call Composite.
https://skype.visualstudio.com/SPOOL/_workitems/edit/2919183
How Tested
Tested locally on MacOs on mobile view.
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Change type should be none. Doesn't change the public API in any way

Changed to none.


when multiple TFMS inside TargetFramework

should not we be displaying just the highlighted error
Build: 26201.1.d15rel

I filed https://github.com/dotnet/sdk/issues/799 to track this. Even that error is not correct, the user specified multiple.

Also filed this about inferring .NET Framework: https://github.com/dotnet/sdk/issues/798.


Disable basic auth by default

In the default setup, we should disable basic auth by default.
It should be possible to enable it per config / CLI for debugging or compatibility purposes.

it's been done

it's been done


Use remote pex tool on host repo and guarantee hash correctness

Re-enable work done in https://github.com/please-build/python-rules/pull/44 that had been reverted.

I've put a load of thought into this now and this just seems like a symptom of a bigger problem. We also have an issue where we create a new version of the tool each time we do a release. This really sucks because it invalidates all the caches after each Please release.
I think we probably want to create releases like pex-tool-v1.0.0 so we can version and release the tools independently of the plugin.

Yeah, not super happy with this approach myself. I think we were just exploring some ground. Ideally, we would have a better idiomatic way of achieving the same thing.

I've put a load of thought into this now and this just seems like a symptom of a bigger problem. We also have an issue where we create a new version of the tool each time we do a release.
I think we probably want to create releases like pex-tool-v1.0.0 so we can version and release the tools independently of the plugin.

Yeah, not super happy with this approach myself. I think we were just exploring some ground. Ideally, we would have a better idiomatic way of achieving the same thing.

Too much magic going on here, and the approach of splitting the releases between build defs and the tools is a better approach.


Add support for Sequelize V6

I'm submitting a ...

[ ] bug report
[x] feature request
Now that Sequelize v6 is out, we should add support

Hey @thebigredgeek thanks for bringing this up. Can you provide docs (breaking changes) for version 6? I couldn't find any.

@RobinBuschmann I only found these release notes with breaking changes note https://github.com/sequelize/sequelize/releases/tag/v6.0.0%40next

Any updates on this?

As far as I can see it, just hooks won't work anymore if upgrading to sequelize v6. Anything else should still be untouched. But anyway, the only thing that needs to be changed (or better added) is support for the new syntax model.hooks.add:
function installHook(model: typeof Model, hook: HookMeta): void {
+ const addHook = 'addHook' in model
+  ? (...args: any[]) => model.addHook(...args)
+  : (...args: any[]) => model.hooks.add(...args);
  if (hook.options && hook.options.name) {
+    addHook(hook.hookType, hook.options.name, model[hook.methodName]);
-    model.addHook(hook.hookType, hook.options.name, model[hook.methodName]);
    return;
  }
+  addHook(hook.hookType, model[hook.methodName]);
-  model.addHook(hook.hookType, model[hook.methodName]);
}

https://github.com/RobinBuschmann/sequelize-typescript/blob/master/src/hooks/shared/hooks-service.ts#L77
Do I've overseen something? Anything else that needs to be adjusted in order to support v6? PR's are welcome ;)

<EMAIL_ADDRESS>has been released and it supports sequelize >= 2.0.0! 🎉

<EMAIL_ADDRESS>has been released and it supports sequelize >= 2.0.0! 🎉


MySQL session storage v1.1.3 throws TypeError

Issue summary
I updated the @shopify/shopify-app-session-storage-mysql package from 1.0.2 to 1.1.3.
Here is the relevant snippet from web/shopify.js
const DB_PATH = process.env.DB_PATH //<EMAIL_ADDRESS>const shopify = shopifyApp({
	sessionStorage: new MySQLSessionStorage(DB_PATH),
	...
});

It works fine with version 1.0.2 but on 1.13 it throws the following exception:
[shopify-api/INFO] version 7.0.0, environment Node v18.11.0
/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql-connection.js:71
    return decodeURIComponent(this.dbUrl.pathname.slice(1));
                                                  ^
TypeError: Cannot read properties of undefined (reading 'slice')
    at MySqlConnection.getDatabase
                                 (/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql-connection.js:71:51)
    at MySqlConnection.init
                                 (/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql-connection.js:95:22)
    at new MySqlConnection
                                 (/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql-connection.js:20:23)
    at MySQLSessionStorage.init
                                 (/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql.js:95:23)
    at new MySQLSessionStorage
                                 (/tamir/app/web/node_modules/@shopify/shopify-app-session-storage-mysql/build/cjs/mysql.js:32:30)
    at file:///tamir/app/web/shopify.js:38:18
    at ModuleJob.run (node:internal/modules/esm/module_job:193:25)
    at async Promise.all (index 0)
    at async ESMLoader.import (node:internal/modules/esm/loader:530:24)
    at async loadESM (node:internal/process/esm_loader:91:5)
Node.js v18.11.0
[nodemon] app crashed - waiting for file changes before starting...

@shopify/shopify-app-* package and version: 7.0.0
Node version: 18.11.0
Operating system: MacOS

Expected behavior
The package should successfully connect to the database
Actual behavior
The package throws a TypeError
Steps to reproduce the problem

Create an app and install the MySQL adapter v1.1.3
Try to connect to your local database with a connection string

@tamir-boaideas<EMAIL_ADDRESS>now released to fix this issue.  Thanks for reporting it.


Regression: --only flag without --output-repository-path

For some reason, it seems #79 brought in some strange behavior with respect to using --only without supplying an output repository.
This was discovered in the progress of #84.

fixed #84


Finished tasks sometimes stay in the console and appear busy

Thanks for this great tool, that I'm using to have insights on a large app that spawns many tasks.
When I run the console long enough, it eventually displays busy tasks that run forever.

However, I'm quite positive all these tasks are finished. Indeed, these tasks are spawned via
tokio::task::Builder::new().name(some_name).spawn(some_async_function)

and they all have reached the last line of some_async_function, where I added a println!("Finished task {}", some_task_id) that actually got displayed.
So that looks either like a tokio bug that did not joined the task after it reached its last line, or a bug in the console-subscriber that misses some "task is finished" events (or in tokio-console that does not process them).
Ideas to create a minimal reproducer
Have a function that spams tasks, that all complete after some time (let's say after a random (sync or async) sleep between 1 and 40s).
I could try to write it myself if that could be helpful to you.
I am building and running on Win10 if that matters

I could try to write it myself if that could be helpful to you.

@daladim  that would be super useful!

Is it possible that these tasks have completed, but have not yet been dropped? Are the JoinHandles for these tasks stored in a data structure of some kind?

I think I was able to reproduce something similar, if you run the following example for ~2 minutes or so with the latest commit I start to see the idle task count continually increasing.
Theoretically this code should be dropping all of the task handles correctly.
use std::time::Duration;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error + Send + Sync>> {
    console_subscriber::init();

    loop {
        let mut tasks = Vec::new();
        for _ in 0..5 {
            let task = tokio::task::spawn(async {
                println!("hello");
            });
            tasks.push(task);
        }
        tokio::time::sleep(Duration::from_millis(100)).await;
        for t in tasks {
            t.await.unwrap();
        }
        println!("awaited");
    }
}

@colinjfw interesting, thanks for the repro!

Thanks for doing what I did not have to time do lately :-)
Also, I wasn't totally sure my code did not keep JoinHandles here and there, so that's interesting to see you can reproduce even if your code does drop them

I believe #238 fixes this issue. Are you able to try the latest git revision of console-subscriber (fdc77e28d45da73595320fab8ce56f982c562bb6) and confirm that this is the case? You'll also need to build the git version of the console CLI.

That's much better now, I no longer see this bug.
Thanks for your work!

Great, thank you!


YES, BUT WHERE DO I FIND IT???????????????????????????

[Enter feedback here]

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

ID: 2ccf23ec-8d85-84fb-2c46-61a414d466ef
Version Independent ID: 52b6949e-8ea5-c0c7-d0ab-7bf0ba9ed076
Content: What is Azure Cloud Shell?
Content Source: articles/cloud-shell/overview.md
Service: cloud-shell
GitHub Login: @sdwheeler
Microsoft Alias: sewhee

The article lists several ways to access Cloud Shell. See https://learn.microsoft.com/azure/cloud-shell/overview#multiple-access-points.
#please-close

@Krizz1983
It looks like your issue is resolved. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion. Thanks!!!


Failed to find VBaseFileSystem011 interface, need help

if someone knows the fix tell me

and then one problem after that, failed to inject the image


Attempting to use the "+" character in a tag causes build failure

Checklist

[x] I have read the tutorials and know the correct effect of the functional design.
[x] There are no similar reports on existing issues (including closed ones).
[x] I found the bug on the latest code of master branch.

Describe the bug
Including the "+" character in a tag causes the site build to fail with the following error
- _site/tags/index.html
  *  internally linking to /tags/vl-%2B-ct/, which does not exist (line 1)
     VL + CT1

Attempting to escape + with quotes, slashes, HTML, and using HTML code directly all give similar errors
To Reproduce
Put a "+" in a tag
Steps to reproduce the behavior:

Expected behavior

The tags should not fail on special characters
Screenshots

Software

Ruby version:  ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
Gem version:  3.2.3
Bundler version:  2.2.4
Jekyll version:  4.2.0

Desktop

OS: macOS 10.15.7
Browser: n/a

Smartphone

Additional context

It seems that this is an error caused by copying the old code:
https://github.com/bcaddy/bcaddy.github.io/blob/5c63329ce580286316231493ee1f4ab6984b68e7/_tabs/tags.md
Please keep your code to the latest tag version

You're right. Thank you.


Running Cert on linux gets stuck on keychain_path despite creating the correct files

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
I'm trying to get my cert creation workflow up and running on Linux (more specifically Ubuntu via WSL). My Fastfile makes use of the produce, register_devices, cert, sigh & pem commands. My issue is that I can't get the cert commands to execute cleanly as they complain about the keychain and error out. With no keychain_path specified, it prompts me to enter the path to one. I tried copying a valid keychain file from my MacOS system and using that which produced the error I've included below.
The cert command still produces the files I need, it just errors out at the keychain step preventing the rest of my fastfile from executing. What I'd like is just a way to just skip over the keychain steps and continue executing the fastfile as I use openssl commands on the cert files to create what I require automatically. I don't have any need for the keychain integration.
Command executed
fastlane appp
Complete output when running fastlane, including the stack trace and command used

 [12:23:29]: fastlane detected a Gemfile in the current directory
[12:23:29]: However, it seems like you didn't use `bundle exec`
[12:23:29]: To launch fastlane faster, please use
[12:23:29]:
[12:23:29]: $ bundle exec fastlane appp
[12:23:29]:
[12:23:29]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
/var/lib/gems/2.7.0/gems/fastlane-2.151.2/fastlane_core/lib/fastlane_core/ui/interface.rb:141: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/fastlane-2.151.2/fastlane_core/lib/fastlane_core/ui/errors/fastlane_error.rb:9: warning: The called method `initialize' is defined here
[12:23:31]: ----------------------------------------
[12:23:31]: --- Step: Verifying fastlane version ---
[12:23:31]: ----------------------------------------
[12:23:31]: Your fastlane version 2.151.2 matches the minimum requirement of 2.99.1  ✅
[12:23:31]: ------------------------------
[12:23:31]: --- Step: default_platform ---
[12:23:31]: ------------------------------
[12:23:31]: Driving the lane 'appp' 🚀
[12:23:31]: ------------------
[12:23:31]: --- Step: cert ---
[12:23:31]: ------------------
+----------------------+---------------------------------+
|                Summary for cert 2.151.2                |
+----------------------+---------------------------------+
| development          | true                            |
| username             | @gmail.com         |
| filename             | dev_com..app.cer  |
| force                | false                           |
| generate_apple_certs | true                            |
| keychain_path        | fastlane/**********.keychain-db |
| keychain_password    | ********                        |
| platform             | ios                             |
+----------------------+---------------------------------+
[12:23:31]: Starting login with user<EMAIL_ADDRESS>Please provide your Apple Developer Program account credentials
You can also pass the password using the FASTLANE_PASSWORD environment variable
/var/lib/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
/var/lib/gems/2.7.0/gems/highline-1.7.10/lib/highline.rb:624: warning: Using the last argument as keyword parameters is deprecated
Available session is not valid any more. Continuing with normal login.
[12:23:48]: Successfully logged in
+------------------+------+
|      Lane Context       |
+------------------+------+
| DEFAULT_PLATFORM | ios  |
| PLATFORM_NAME    |      |
| LANE_NAME        | appp |
+------------------+------+
[12:23:50]: No such file or directory - security
+------+---------------------------------------------------------------+-------------+
|                                  fastlane summary                                  |
+------+---------------------------------------------------------------+-------------+
| Step | Action                                                        | Time (in s) |
+------+---------------------------------------------------------------+-------------+
| 1    | Verifying fastlane version                                    | 0           |
| 2    | default_platform                                              | 0           |
| 💥   | cert                                                          | 19          |
+------+---------------------------------------------------------------+-------------+
[12:23:50]: fastlane finished with errors
[12:23:50]: Error accessing file, this might be due to fastlane's directory handling
[12:23:50]: Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details

Environment

 🚫 fastlane environment 🚫
Stack

Key
Value

OS
debian_based bullseye/sid

Ruby
2.7.0

Bundler?
false

Git
git version 2.25.1

Installation Source
/usr/local/bin/fastlane

Host
Ubuntu 20.04 LTS debian_based bullseye/sid (4.19.104-microsoft-standard)

Ruby Lib Dir
/usr/lib

OpenSSL Version
OpenSSL 1.1.1f  31 Mar 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane files:
`./fastlane/Fastfile`
# More documentation about how to customize your build
# can be found here:
# https://docs.fastlane.tools

fastlane_version "2.99.1"
default_platform :ios

#LINUXTESTING
keychain_path = "fastlane/*****.keychain-db"
keychain_password = "******"

#Fill These based on the customer data

site_slug = "************"
app_name = "***********"
app_id = "com.*******.app"
username = "******"

##ONLY REQUIRED if using shared account with access to multiple teams. Leave blank otherwise
#To get Team ID, run fastlane appp and take the ID from the first prompt then Ctrl+C to cancel script
team_id = ""

#Android Keystore Variables ## Use fastlane android to generate these
custname = "*********"
countrycode = "**"

#Bitrise Slug - Not currently required. Will be needed for auto cert upload if I get it working
bitriseslug = ""

#Change to true if there's an existing push cert you need to overwrite
forcepush = "true"

## No More edits required below ##

# Folder Setups
app_name = app_name.downcase
app_name = app_name.gsub(' ','-')
app_name = app_name.delete('|')
app_name = app_name.delete('&')
app_name = app_name.delete("'")
app_folder = site_slug+"/"+app_name

Dir.chdir("..") do
    sh("mkdir -p #{app_folder}")
    sh("mkdir -p #{app_folder}/*******")
    sh("mkdir -p #{app_folder}/**********")
    sh("mkdir -p #{app_folder}/bitrise")
end

lane :appp do

    time = Time.new
    day = time.day
    month = time.month
    year = time.year
    date = "#{day}-#{month}-#{year}"

    # create app in account
    produce(
           username: "#{username}",
           app_identifier: "#{app_id}",
           app_name: "#{app_name}",
           company_name: "#{app_name}",
           skip_itc: true, # don't create app in itunes connect
           # enable_services: {
           #   in_app_purchase: "on"
           # }
           team_id: "#{team_id}",
    )

    #register_devices(
        devices: {
            "*********" => "****************",
            "***********" => "******************"
        },
        username: "#{username}"
    )
    # generate dev cert
    cert(
       development: true,
       username: "#{username}",
       output_path: "./#{app_folder}",
       filename: "dev_#{app_id}.cer",
       force: false,
       team_id: "#{team_id}",
       generate_apple_certs: true,
       keychain_path: "#{keychain_path}",
       keychain_password: "#{keychain_password}",

    )
    devcertid = lane_context[SharedValues::CERT_CERTIFICATE_ID]
    puts "#{devcertid}"
    # development provisioning profile
    sigh(
      development: true,
      app_identifier: "#{app_id}",
      username: "#{username}",
      skip_install: true,
      output_path: "./#{app_folder}",
      filename: "dev_#{app_id}.mobileprovision",
      team_id: "#{team_id}",
      # force: true
    )

    # generate prod cert
    cert(
        username: "#{username}",
        output_path: "./#{app_folder}",
        filename: "prod_#{app_id}.cer",
        force: false,
        team_id: "#{team_id}",
        generate_apple_certs: true,
        keychain_path: "#{keychain_path}",
        keychain_password: "#{keychain_password}",
    )
    prodcertid = lane_context[SharedValues::CERT_CERTIFICATE_ID]
    puts "#{prodcertid}"
    # push certs
    pem(
        app_identifier: "#{app_id}",
        username: "#{username}",
        p12_password: '******',
        generate_p12: true,
        output_path: "./#{app_folder}",
        force: "#{forcepush}",
        team_id: "#{team_id}",
    )
    # app store provisioning profile
    sigh(
        app_identifier: "#{app_id}",
        username: "#{username}",
        skip_install: true,
        filename: "prod_#{app_id}.mobileprovision",
        output_path: "./#{app_folder}",
        team_id: "#{team_id}",
    )

    # adhoc provisioning profile
    sigh(
      adhoc: true,
      app_identifier: "#{app_id}",
      skip_install: true,
      username: "#{username}",
      output_path: "./#{app_folder}",
      filename: "adhoc_#{app_id}.mobileprovision",
      team_id: "#{team_id}",
    )

end

`./fastlane/Appfile`
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app
# apple_id("[[APPLE_ID]]") # Your Apple email address

# For more information about the Appfile, see:
#     https://docs.fastlane.tools/advanced/#appfile

fastlane gems

Gem
Version
Update-Status

fastlane
2.151.2
🚫 Update available

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.4.0

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.2

claide
1.0.3

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.17.0

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

plist
3.5.0

public_suffix
4.0.5

addressable
2.7.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.8.0

tty-cursor
0.7.1

tty-spinner
0.9.3

babosa
1.0.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.75.0

faraday
1.0.1

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
1.0.0

fastimage
2.1.7

gh_inspector
1.1.3

json
2.3.0

mini_magick
4.10.1

rubyzip
2.3.0

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.7.6

bundler
2.1.2

naturally
2.2.0

simctl
1.6.8

jwt
2.2.1

uber
0.1.0

declarative
0.0.20

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mini_mime
1.0.2

multi_json
1.15.0

signet
0.14.0

memoist
0.16.2

os
1.1.0

googleauth
0.13.0

httpclient
2.8.3

google-api-client
0.38.0

google-cloud-env
1.3.2

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

rake
13.0.1

digest-crc
0.6.1

google-cloud-storage
1.26.2

emoji_regex
3.0.0

jmespath
1.4.0

aws-partitions
1.341.0

aws-eventstream
1.1.0

aws-sigv4
1.2.1

aws-sdk-core
3.103.0

aws-sdk-kms
1.36.0

aws-sdk-s3
1.74.0

uri
0.10.0

forwardable
1.3.1

logger
1.4.2

cgi
0.1.0

timeout
0.1.0

stringio
0.1.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.2.0

strscan
1.0.3

date
3.0.0

delegate
0.1.0

fileutils
1.4.1

etc
1.1.0

io-console
0.5.3

zlib
1.1.0

singleton
0.1.0

rexml
3.2.3

open3
0.1.0

yaml
0.1.0

psych
3.1.0

mutex_m
0.1.0

webrick
1.6.0

generated on: 2020-07-14

Very possible that there is no Linux specific handling of that yet - the keychain stuff can not work on Linux, but the code probably does not know that yet as it is usually quite deeply integrated.


Offchain worker: Enable http2 and improve logging

Apparently some webpages now return http2 by default and that silently breaks the offchain http
extension. The solution to this is to enable the http2 feature of hyper. Besides that, this pr
improves the logging to make it easier to debug such errors.
Closes: https://github.com/paritytech/substrate/issues/10299

Can we add a test that would query an external website to make sure it actually works?

I thought the same, but I'm not sure we should do this in CI. Querying something external means that our CI may breaks when the external thing is down or there was a flaky connection. TLDR. No fan of it.
I mean I also wanted to have a test. I don't wanted to use hyper to send back a http2 answer, but maybe that isn't such a bad idea.

Querying something external means that our CI may breaks when the external thing is down or there was a flaky connection. TLDR. No fan of it.

Indeed, relying on external resources in unit tests is a controversial topic. I agree that we shouldn't be doing that in unit tests.

I don't wanted to use hyper to send back a http2 answer, but maybe that isn't such a bad idea.

Yeah, sounds a bit complicated, but perhaps you're right. I think it can be just logged and worked on separately.

bot merge


Search Results Overlay Should be State Variable

I believe this should be a state variable:
https://github.com/Esri/arcgis-maps-sdk-swift-toolkit/blob/main/Examples/Examples/SearchExampleView.swift#L32

Closing as outdated - all properties in the example view are state properties now.


Order should be checked if it was payed with bestitamazon before capturing

When the module is configured to capture automatically when orders are shipped it needs to be checked if the order's payment type is "bestitamazon".

Otherwise the internal state of every order not payed with "bestitamazon" will change to "AMZ-Error-InvalidParameterValu" because the capture fails.
A quick fix which worked for me was:
--- a/code/modules/bestit/amazonpay4oxid/application/models/bestitamazonpay4oxidclient.php
+++ b/code/modules/bestit/amazonpay4oxid/application/models/bestitamazonpay4oxidclient.php
@@ -694,6 +694,14 @@ class bestitAmazonPay4OxidClient extends bestitAmazonPay4OxidContainer
      */
     public function capture($oOrder = null, $aRequestParameters = array())
     {
+        if ($oOrder !== null && $aRequestParameters === []) {
+            $paymentType = $oOrder->getFieldData('oxpaymenttype');
+            if ($paymentType !== 'bestitamazon') {
+                return;
+            }
+        }
+
         $oData = $this->_callOrderRequest(
             'capture',
             $oOrder,

Ok, that is not sufficient. Further it needs to be checked if the amount was already captured.
When you captured the amount manually in the order's amazon pay tab (expert options/links) before pressing the send button the capture is done once again and fails which leads to the internal state "AMZ-Error-InvalidAuthorization".

The payment type is now checked and also a new method saveCapture is used, see https://github.com/bestit/amazon-pay-oxid/blob/develop/application/models/bestitamazonpay4oxidclient.php#L776


Request for Trained Model Checkpoints

Hi,
Could you release the trained model checkpoint used to report the experiment results? That will be very helpful!
Thanks!

I'm sorry for the late reply. You can download the checkpoint model (trained on multiwoz 2.1) here: https://drive.google.com/file/d/1azIdWPgJKa3PTBFE8lZ1B02bfgguKS2u/view?usp=sharing

Sorry，this page of trained model checkpoint is missing. If it's convenient，could you release a new one?


Pull in the latest versions of UI, token connectors, and tezos connect

Not sure why the build failed with
time="2024-09-19T09:50:26Z" level=error msg="Webhook<- PUT https://<IP_ADDRESS>:8443/myapi/my/sub/path%3Fescape_query on subscription  failed: Put \"https://<IP_ADDRESS>:8443/myapi/my/sub/path%3Fescape_query?dynamic-query=dynamicqueryval&my-query=myqueryval\": dial tcp <IP_ADDRESS>:8443: connect: connection refused" webhook=
time="2024-09-19T09:50:26Z" level=error msg="Failed to invoke webhook: Put \"https://<IP_ADDRESS>:8443/myapi/my/sub/path%3Fescape_query?dynamic-query=dynamicqueryval&my-query=myqueryval\": dial tcp <IP_ADDRESS>:8443: connect: connection refused" webhook=

You might want to try just re-running it @EnriqueL8


Exchange Order Book - GetPriceToBuy/GetPriceToSell

The Asks and Bids of the ExchangeOrderBook are now Sorted Dictionaries. Cool.
However, the GetPriceToBuy/Sell routines can no longer reference the values by index. You must use ElementAt(i) to grab the value.

For what it's worth, I override these methods in my code because I like to have the depth returned from these calls as well. I use the new dynamic tuple return types instead of out parameters, like so...
///
/// Get the price necessary to buy at to acquire an equivelant amount of currency from the order book, i.e. amount of 2 BTC could acquire x amount of other currency by buying at a certain BTC price.
/// You would place a limit buy order for buyAmount of alt coin at buyPrice.
///
/// Amount of currency to trade, i.e. you have 0.1 BTC and want to buy an equivelant amount of alt coins
/// The amount of new currency that will be acquired
/// The price necessary to buy at to acquire buyAmount of currency
public (decimal Amount, decimal Price, int Depth) GetPriceToBuy(decimal amount)
{
ExchangeOrderPrice ask;
decimal spent;
decimal buyAmount = 0m;
decimal buyPrice = 0m;
int depth = 0;
        for (int i = 0; i < Book.Asks.Count && amount > 0m; i++)
        {
            ask = Book.Asks.ElementAt(i).Value;
            spent = Math.Min(amount, ask.Amount * ask.Price);
            buyAmount += spent / ask.Price;
            buyPrice = ask.Price;
            amount -= spent;
            depth++;
        }
        return (buyAmount, buyPrice, depth);
    }

    /// <summary>
    /// Get the price necessary to sell amount currency. You would place a limit sell order for amount at the returned price to sell all of the amount.
    /// </summary>
    /// <param name="amount">Amount to sell</param>
    /// <returns>The price necessary to sell at to sell amount currency</returns>
    public (decimal Price, int Depth) GetPriceToSell(decimal amount)
    {
        ExchangeOrderPrice bid;
        decimal sellPrice = 0m;
        int depth = 0;

        for (int i = 0; i < Book.Bids.Count && amount > 0m; i++)
        {
            bid = Book.Bids.ElementAt(i).Value;
            sellPrice = bid.Price;
            amount -= bid.Amount;
            depth++;
        }
        return (sellPrice, depth);
    }

Good catch! Will fix ASAP.
Jeff Johnson
CEO / CTO, Digital Ruby, LLC
On Fri, Jun 1, 2018 at 6:00 AM, BobDeCuir<EMAIL_ADDRESS>wrote:

For what it's worth, I override these methods in my code because I like to
have the depth returned from these calls as well. I use the new dynamic
tuple return types instead of out parameters, like so...
///
/// Get the price necessary to buy at to acquire an equivelant amount of
currency from the order book, i.e. amount of 2 BTC could acquire x amount
of other currency by buying at a certain BTC price.
/// You would place a limit buy order for buyAmount of alt coin at
buyPrice.
///
/// Amount of currency to trade, i.e. you have 0.1 BTC and want to buy an
equivelant amount of alt coins
/// The amount of new currency that will be acquired
/// The price necessary to buy at to acquire buyAmount of currency
public (decimal Amount, decimal Price, int Depth) GetPriceToBuy(decimal
amount)
{
ExchangeOrderPrice ask;
decimal spent;
decimal buyAmount = 0m;
decimal buyPrice = 0m;
int depth = 0;
    for (int i = 0; i < Book.Asks.Count && amount > 0m; i++)
    {
        ask = Book.Asks.ElementAt(i).Value;
        spent = Math.Min(amount, ask.Amount * ask.Price);
        buyAmount += spent / ask.Price;
        buyPrice = ask.Price;
        amount -= spent;
        depth++;
    }
    return (buyAmount, buyPrice, depth);
}

/// <summary>
/// Get the price necessary to sell amount currency. You would place a limit sell order for amount at the returned price to sell all of the amount.
/// </summary>
/// <param name="amount">Amount to sell</param>
/// <returns>The price necessary to sell at to sell amount currency</returns>
public (decimal Price, int Depth) GetPriceToSell(decimal amount)
{
    ExchangeOrderPrice bid;
    decimal sellPrice = 0m;
    int depth = 0;

    for (int i = 0; i < Book.Bids.Count && amount > 0m; i++)
    {
        bid = Book.Bids.ElementAt(i).Value;
        sellPrice = bid.Price;
        amount -= bid.Amount;
        depth++;
    }
    return (sellPrice, depth);
}

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jjxtra/ExchangeSharp/issues/167#issuecomment-393859415,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABNoGLgeUl4ncEjatozmnuYUStIIlw-Nks5t4SzRgaJpZM4UWk9u
.

Fixed, new code and nuget sent out.


og:title should be title of page

Bug Report
Environment
Zola version: 0.17.2
tabi commit: https://github.com/welpo/tabi/commit/f1d92a73ce18060d38aebf91b8fd3d18914d0e73
Expected Behavior
og:title should be the title of the page so things like Firefox Reader view work as expected.
https://ogp.me/
Current Behavior
og:title is the site title
Step to reproduce
https://github.com/welpo/tabi/blob/f1d92a73ce18060d38aebf91b8fd3d18914d0e73/templates/partials/header.html#L82

Thanks for reporting this, Donovan.
I'll take a look at the SEO-related lines to fix this and see if anything else can be improved.


Remove deprecated EnterpriseContractPolicyExceptions

https://issues.redhat.com/browse/HACBS-1984

Let's make sure e2e, integration or release folk don't use this

Yup, verified all that. See comments in Jira.


Support offsets in file-based mappings

In GitLab by @perarnau on Mar 23, 2018, 11:12
Data structures and code already support arbitrary offsets but we currently hard-code it to 0 even for file-based mappings.

In GitLab by @perarnau on Mar 23, 2018, 13:38
mentioned in merge request !4
By Swann Perarnau on 2018-03-23T18:38:37 (imported from GitLab project)

In GitLab by @perarnau on Mar 23, 2018, 13:39
closed
By Swann Perarnau on 2018-03-23T18:39:03 (imported from GitLab project)


What is sdwebimage max disk size and how to override it?

SDWebImage Version    3.8.2
Hi, trying to fine tuning sdwebimage a bit, i search into the code a bit but couldn't find where the size was defined.
The idea is to customize this if size is too big, and maybe implement something to clear the disk at an appropriate time if the app size becomes too big also.

@tirrorex hello, i found that in latest version. It is declared in "SDImageCacheConfig.h". You can update your version, but there are some unsolved crashes.


Ignore some touch events if we're inside a scrolling container

Fixes #165 and #133

Waiting for feedback again. I also removed some resources that were in the library but not used. (App styles and app name)

Any ETA on 1.4.6?

It will be released mid of may 2019

Thanks :)


Add control.ramSize()

Completely untested.
See https://github.com/microsoft/pxt-arcade/pull/958
CC @jwunderl

Hm, I'm getting pxt_modules/base/control.ts(263,35): error TS2339: Property 'CFG_RAM_BYTES' does not exist on type 'typeof DAL'., so maybe DAL is out of date? Removing the getConfigValue call works nicely for differentiating between pybadge and simulator, though

Dal DTS has to be re generated in Pxt-arcade


Add test against PHP7.1 RC

PHP 7.1 is being released soon, this will give us and our users
confidence that this library will work.


Enhancement: extend teams channel member with check for private channel

Closes #3254

[x] teams channel member add
[ ] teams channel member list (not necessary because this is allowed on all types of channels)
[x] teams channel member remove
[x] teams channel member set

Thanks for the PR. We will review it shortly!

Thanks @Jwaegebaert! I'll be looking at your pull request. Thanks for the work and support👍

Hi @Jwaegebaert, I think you're ready am I correct? Please mark the PR as ready to review if you are. We'll take it from there.

Merged manually. Thank you! 👏


Update DeveloperGuide.md

Added details pertaining to SalesPUNCH to the following sections:

Product Scope
User Stories
Non-Functional Requirements
Glossary

Not done:

Use Cases

LGTM


New screenshots for Map of the Internet

Now that we have AR and support the iPhone X we should do new screenshots for the 2.1.1 update later this week.

Added this to the Portfolio folder. Did we want other AR screenshots as well?


Investigate travis exceptions

Travis is throwing exceptions each time it builds the UI to run tests. This causes the build to fail intermittently.

This problem may possibly have reappeared as #881 or #883 in which case it has been fixed. If not, open a new issue.


V1 of sending username to blazar for manual build triggers

@zdhickman @jhaber @gchomatas
LMK what you think

Anyway otherwise, lgtm


blinky tutorial

if something is wrong or you don't like it feel free to tell me so.
I suppose if you would release 0.2.12 then I could change the text and remove info about board initialization :D
thanks for the help once again!

I really appreciate the attention-to-detail, and detailed in-code documentation - this is a model example.


Allow the Director to update the cache if it fails

When a mapper is created for a file url ("root") the director should find a working url for the value and pass it to the mapper to be used.
If, for some reason, this ever fails (file not found, cache not reachable), we want the director to find a new value.  Each function that uses the current cache url should have a decorator function that attempts the call using the http fsspec call, catches a ConnectionError or FileNotFoundError, and then has the director find a working cache to use and updates it.
This may also require creating our own get_mapper function which calls the fsspec.get_mapper, but also contains it's own version of the current url attached to the "root" namespace path so it can be updated as needed. Or even the creation of a PelFSMap to wrap the FSMap as the FSMap throws errors if the url is changed on it.
Ideally we want the key in a PelFSMap to be the namespace path and to also store the latest good cache for the namespace to try. This is to not constantly ask the director for a cache when using an FSMap. The root also needs to be a namespace path and not a url because if the url fails/we want to try a different cache, the FSMap seems to complain because it won't match the key.

This is done as part of #39.
The PelicanFileSystem object now has a namespace cache with a mapping of a prefix to a list of valid caches.  On every failure, the cache list is updated to remove the broken cache.


Details on postgres installation

If we do have some less technical users then providing a little more information on how to get up and running with postgres could make the process a little friendlier to those users.

Provided information about postgres installation for different platforms.


Deno?

Hi,
are there any plans to port deepmerge over to Deno? A consistent solution for both engines would be nice and should be possible without much additional maintaining, since Deno is just node on steroids.
Cheers.

We could possibly look into doing this as part of the next major.
@TehShrike I've got plenty of free time to get back into working on the next release. We should probably have another meeting and talk about were we were up to.

are there any plans to port deepmerge over to Deno? A consistent solution for both engines would be nice and should be possible without much additional maintaining, since Deno is just node on steroids.

I have not used deno.  What changes would need to be made?

That is definitely a thing I could do


Update to 1.17.8

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #5.
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #5

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I'm building this with 1.17.8 first so that provides a version of this with gcc 10.


RoomAsset does not seem to load Database [request for help]

Hello,
first let me thank you for creating this package that I find really helpful. However I cannot seem to make it work. It seems to me that the database is not loaded, since any query returns nothing, although the database is populated.
Furthermore, nothing in the console says that the database was loaded, and the same thing happens if I change the name parameter of RoomAsset.databaseBuilder() to a dummy name of a non-existent file. No exceptions are ever thrown and the app does not crash.
TL;DR: regardless of the name of the DB I give to RoomAsset.databaseBuilder(), I get no exceptions but all queries return nothing as if the DB was not populated.
This is my database class file in Java:
package com.mypackage.myapp;

import android.arch.persistence.db.SupportSQLiteDatabase;
import android.arch.persistence.room.Database;
import android.arch.persistence.room.Room;
import android.arch.persistence.room.RoomDatabase;
import android.arch.persistence.room.migration.Migration;
import android.content.Context;

import com.huma.room_for_asset.RoomAsset;

@Database(entities = {Task.class}, version = 2)
public abstract class AppDatabase extends RoomDatabase {
    private static AppDatabase INSTANCE;
    public abstract TaskDao taskDao(); //TaskDao is my Dao interface
    public static AppDatabase getAppDatabase(Context context) {
        if (INSTANCE == null) {
            INSTANCE =
                    RoomAsset.databaseBuilder(context.getApplicationContext(), AppDatabase.class, "tasksdb.db") .build(); //tasksdb.db is the name of the database file that is in src/main/assets/databases
        }
        return INSTANCE;
    }
    public static void destroyInstance() {
        INSTANCE = null;
    }

This is how the DB is created and queried in an activity
package com.mypackage.myapp;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import java.util.List;

public class DBActivity extends AppCompatActivity {
    AppDatabase mDB;
    private TextView tvContent;
    private Button btnNext;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_db);
        mDB = AppDatabase.getAppDatabase(this);
        tvContent=(TextView) findViewById(R.id.tvContent);
        btnNext=(Button)findViewById(R.id.btnNext);
        btnNext.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                new Thread(new Runnable() {
                    @Override
                    public void run() {
                        final List<Task> testlist = mDB.taskDao().loadAllTasks(); //loadAllTasks is a method defined in my Dao that returns a list of Task, which is my entity class representing one of the tables in the db
                        runOnUiThread(new Runnable() {
                            @Override
                            public void run() {
                                tvContent.setText(String.valueOf(testlist.size()) );
                            }
                        });
                    }
                }).start();
            }
        });

    }
}

In my build.gradle for the app module is:
dependencies {
    //other dependencies unrelated to Room or RoomAsset
    //...
    compile 'android.arch.persistence.room:runtime:1.0.0'
    annotationProcessor 'android.arch.persistence.room:compiler:1.0.0'
    implementation 'com.github.humazed:RoomAsset:v1.0'
}

and in my root build.gradle I added maven to the repositories as you explained in the readme.
What is wrong?

did you put the DB file in assets/databases?

did you put the DB file in assets/databases?

Yes, I should have written it in the text of the issue, but it is the comments to the code. File tasksdb.db is in src/main/assets/databases. However if I use
RoomAsset.databaseBuilder(context.getApplicationContext(), AppDatabase.class, "whatever.db") .build();
and whatever.db is NOT in my assets/databases folder, I get the same results. No exceptions, no crashes, but no query results either, regardless of the existence of the db file.

okay, I will take a look and fix the issues, in one hour max I hope.

Thank you, however I am not sure if it is a problem of your code, hence I tagged this question as a [request for help]. Since no support page is provided I had to use github issues. Probably I am doing something wrong, I am wondering if I have missed something in my build.gradle or something.

No, in the last version of Room the Android team have introduced some changes which break the lib, but it's easy to fix, so I will fix them first since I don't see you have made a mistake.

Ok, thank you again for yor help. When you have finished let me know which version to use in my
implementation 'com.github.humazed:RoomAsset:v1.0'

line of the build.gradle file, or post the version number in the github release page.

That is great, my mistake! It now works. So RoomAsset only looks in the assets folder the first time the app is run, correct? Is there any way to force it to look again? Should I increase the version number and add a migration?
Thank you for your help.

yes, it will be wasteful to look every time the app starts, so the only way is to increase the version and to add a migration.


Transform volume data to Hounsfield Units

Hello
I have a 3D CT and I am able to have a nice 3D visualization with Vedo. My question is if it is possible to convert the volume to Hounsfield units to get a clearer view of the bone density or it is already in Hounsfield units
from vedo import load, datadir, show

vol = load('CT_scan/S4') # returns a Volume
vol.color([(150,"red"), (349,"red"),
           (350,"blue"), (849,"blue"),
           (850,"green"), (1249,"green"),
          ])
# vol.mode('max-projection')
vol.alpha([0., 1.])
vol.alphaUnit(15) # absorption unit, higher factors = higher transparency
vol.addScalarBar3D(title='color~\dot~alpha transfer function', c='k')

# show both Volume and Mesh
show(vol, __doc__, zoom=1.2)

If the original data comes from a CT scan my guess is that it already is in the right units.
In any case you can play around with the transparency transfer function to make visible the scalar ranges that you wish.
This is done by setting e.g. vol.alpha([0,0,1]) where the first 0 is the opacity for the lowest values of the voxel scalar and the last one is the opacity for the highest value. You can add as many opacities values as you like in-between.
Let me know if it's not clear.

alphaUnit is a global absorption factor.

you can reorient the 3d scalarbar with e.g. vol.scalarbar.rotateX(90)


Adding initial support for query parameters and using existing stack …

…variables.  Also included ability to use existing stack/workflow variables as HTTP post body.
The usage pattern is as follows:
When modeling a HTTP endpoint, such as a GET request, one can specify a url like this as part of the custom header:
https://jsonplaceholder.typicode.com/comments?postId=**$context.postQueryParams.postId**
The highlighted part refers to the JSON path of a simple context variable in the workflow stack.
Also added is the ability to use a custom header to specify a variable to be used context of the HTTP POST body.  For example, if in your model you specify a custom header using the keyword
postBodyVariableName and value context.todo which represents a JSON path to the object, this will be used as the content of the HTTP post body.

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

Also added support to specify the name of the result variable of an HTTP request.  Using the variable name body can be a little misleading as this can be overwritten by other HTTP tasks within the workflow.

@Klaus-Nji-sp, thank you for your contribution :+1:
Before talking about your code, I would like to discuss the feature first. The feature has three parts:

support variable placeholders in URL task header
new task header to define the post body variable
new task header to define the result variable name

I don't see a need for part 2) and 3) because this is already possible using variable mappings on the service task (see https://docs.zeebe.io/reference/variables.html#inputoutput-variable-mappings). Why do you want to do this via the task headers in the handler?
I see the use cases for part 1). It's a good idea. Since this is also a more general issue and useful also for other workers, I think it should be supported by Zeebe itself. Feel free to open a new feature request in the Zeebe project!
However, this may take some time so we can support it in this worker first. For me, it sounds like a good use case for a template engine. And we don't need to limit it to query parameters - also for parts of the URL. For example, task header url = https://jsonplaceholder.typicode.com/posts/{{postId}}/comments.
What do you think about using a template engine (e.g. Mustache or Thymeleaf) and support it for all task headers?

@Klaus-Nji-sp, thank you for your contribution 👍
Before talking about your code, I would like to discuss the feature first. The feature has three parts:

support variable placeholders in URL task header
new task header to define the post body variable
new task header to define the result variable name

I don't see a need for part 2) and 3) because this is already possible using variable mappings on the service task (see https://docs.zeebe.io/reference/variables.html#inputoutput-variable-mappings). Why do you want to do this via the task headers in the handler?
I see the use cases for part 1). It's a good idea. Since this is also a more general issue and useful also for other workers, I think it should be supported by Zeebe itself. Feel free to open a new feature request in the Zeebe project!
However, this may take some time so we can support it in this worker first. For me, it sounds like a good use case for a template engine. And we don't need to limit it to query parameters - also for parts of the URL. For example, task header url = https://jsonplaceholder.typicode.com/posts/{{postId}}/comments.
What do you think about using a template engine (e.g. Mustache or Thymeleaf) and support it for all task headers?

@saig0 , thanks for the response.  Apologies for the delay.
Certainly agreed.  No need to re-invent if 2 and 3 are already provided by variable mapping.  I will need to try this out as it does not appear to be obvious or easy to document.  Currently, we return a map with status code and whatever variable name you specify as the body of the HTTP response.  This makes it easy to reason around, I imagine.  The name body is being overloaded which also makes thing a little confusing.
Agreed on using a templating engine for 1.

See also https://github.com/zeebe-io/zeebe/issues/3357

I do this using micromustache, see the section "Mailgen and Micromustache" here: https://zeebe.io/blog/2019/10/nestjs-tx-email/
And the code for the Slack consumer: https://github.com/jwulf/zeebe-slack-worker/blob/master/src/slack-sender.ts#L57

Just FYI, I started to work on the worker a bit to get it to a state where it could also be the HTTP worker of Camunda Cloud. First step: https://github.com/zeebe-io/zeebe-http-worker/pull/10. This should also solve your problem - doesn't it?
I also created https://github.com/zeebe-io/zeebe-http-worker/issues/3 and https://github.com/zeebe-io/zeebe-http-worker/issues/4 and will migrate the worker over to Spring Boot because of https://github.com/zeebe-io/zeebe-http-worker/issues/8

hey @knji - could you check if the latest version on master does everything you need? We actually extended the capabilities of the worker quite a bit. I will close this PR for know - but feel free to raise an issue or send a PR again if something is missing. Thanks again!

@berndruecker, thanks for the update and all the good work.


Documentations required

Any documentations/tutorials to train models and to test for OCR?

See the *.ipynb files in the misc/ subdirectory:
https://github.com/tmbdev/clstm/tree/master/misc


[BUG] Cluster works but is still in state "Updating"

Rancher Server Setup

Rancher version: 2.6.9
Installation option (Docker install/Helm Chart): RKE2

Information about the Cluster

Kubernetes version: v1.24.8+rke2r1
Cluster Type (Local/Downstream): Custom
This is one node cluster.

Describe the bug
Cluster is in state "Updating".
Provisioning Log show information:
The last line is important:
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, etcd, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, etcd, kube-apiserver, kube-controller-manager, kube-scheduler
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, kube-apiserver
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, etcd, kube-apiserver, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, etcd, kube-apiserver, kube-controller-manager, kube-scheduler, kubelet
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, etcd, kube-apiserver, kube-scheduler
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico, kube-apiserver
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting on probes: calico
[INFO ] provisioning done
[INFO ] waiting for at least one bootstrap node
[INFO ] provisioning bootstrap node(s) custom-cdcebd5c458b: waiting for plan to be applied
[INFO ] custom-cdcebd5c458b
[INFO ] provisioning done
[INFO ] configuring bootstrap node(s) custom-cdcebd5c458b: waiting for plan to be applied
[INFO ] custom-cdcebd5c458b
[INFO ] provisioning done
[INFO ] configuring bootstrap node(s) custom-cdcebd5c458b: waiting for cluster agent to connect
[INFO ] custom-cdcebd5c458b
[INFO ] configuring bootstrap node(s) custom-cdcebd5c458b: waiting for probes: kube-controller-manager, kube-scheduler

When I check manually cluster works OK.
I can create resources etc.
Restart node doesn't help.
A few weeks ago everything was working fine, the problem appeared after one of the node restarts.
I need information how to check whats is the problem and how to fix them.

Anyone?

same problem, Rancher 2.7.0
Kubernetes v1.24.8+rke2r1

same on my system

Same here, and I have some hesitance to upgrade from v1.24.8+rke2r1 to v1.24.10+rke2r1 as this might break the cluster.
For completeness the OS on the host machines in my case is Ubuntu 20.04 and if I check the logs I notice that there two kube-controller-manager log directories.
kube-system_cloud-controller-manager-control-plane-1_1a84611ed06607ed8a51e65d936a6ff0
kube-system_kube-controller-manager-control-plane-1_57585a0305e4e46df816ebab263926f3
Both log files are giving similar errors
kube-system_kube-controller-manager-control-plane-1_57585a0305e4e46df816ebab263926f3

023-03-15T15:41:45.769871342+01:00 stderr F E0315 14:41:45.769638       1 leaderelection.go:330] error retrieving resource lock kube-system/kube-controller-manager: Get "https://<IP_ADDRESS>:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2023-03-15T15:47:34.696472051+01:00 stderr F E0315 14:47:34.694793       1 leaderelection.go:330] error retrieving resource lock kube-system/kube-controller-manager: Get "https://<IP_ADDRESS>:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/kube-controller-manager?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

kube-system_cloud-controller-manager-control-plane-1_1a84611ed06607ed8a51e65d936a6ff0

2023-03-15T15:41:06.258124081+01:00 stderr F E0315 14:41:06.257658       1 leaderelection.go:330] error retrieving resource lock kube-system/rke2-cloud-controller-manager: Get "https://<IP_ADDRESS>:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/rke2-cloud-controller-manager?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
2023-03-15T15:41:43.952654385+01:00 stderr F E0315 14:41:43.952461       1 leaderelection.go:330] error retrieving resource lock kube-system/rke2-cloud-controller-manager: Get "https://<IP_ADDRESS>:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/rke2-cloud-controller-manager?timeout=5s": context deadline exceeded
2023-03-15T15:47:35.056299968+01:00 stderr F E0315 14:47:35.055687       1 leaderelection.go:330] error retrieving resource lock kube-system/rke2-cloud-controller-manager: Get "https://<IP_ADDRESS>:6443/apis/coordination.k8s.io/v1/namespaces/kube-system/leases/rke2-cloud-controller-manager?timeout=5s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)


Step 1 fails to run

Issue tracker is ONLY used for reporting bugs.

Unable to proceed with instructions as I'm unsure how to proceed with this error.
Expected Behavior

Account gets registered
Current Behavior

Script fails to run successfully
Possible Solution

Steps to Reproduce

run the command.

Context (Environment)

Detailed Description

I've tried private keys with and without 0x prefix.
I've tried adding alchemy keys.
I've tried downgrading axios back to the previous version.
Error doesn't seem to have changed.
Possible Implementation

hey @antonyip, try following:

Make sure you are using either node v12 or v14. We have updated supported versions in package.json
Make sure you getting private key from Metamask correctly:  https://metamask.zendesk.com/hc/en-us/articles/360015289632-How-to-Export-an-Account-Private-Key
Use most recent examples code

If you still have an issue, please share the error. We added extra logging this error. Hopefully, there will be more details on the console.

@ipekt Resolved. Seems like node.v17 has the issue.


Broadcasting: implemented broadcasting in elementwise operations

TODO:

Implement broadcast_arrays

what is the idea with this PR? 🤔


Thrifty compiler bugs

Fix a few thrifty compiler bugs:

Allow different ThriftTypes with the same name to work. This is valid in Java so should be allowed.
Fix issue with TypeDef enums where the compiler failed to recognize the value as a valid enum

Hi @chaviw, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Hi, thanks for your contribution!  You raise a few good bugs here - constant names indeed should not clash with type names.  The error reporting could definitely use some love as well, as you noticed.  I'm also very happy to see tests added too!
As noted in one of the comments, this raises an issue that is now bothering me - the way we store and query symbols during linking and codegen now seems inadequate.  I'll have to investigate.

Our thrift files actually had these cases so it broke when trying to compile the thrift files. I hope we can find a solution to the constant/type name clashing because our team was hoping to switch from thrift to thrifty.

Leaving the const/type confusion aside, we can patch the bugs you've raised and thrifty will most likely just work for you - but it will still be flawed.  I'm open to letting it be flawed in this way for a little while because it doesn't seem that this will bite very many users at the moment.

@chaviw, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

All of the bugs mentioned here have since been fixed or obviated, so I'm closing this PR as obsolete.  Thank you for the effort!


Fix auto-created BQ dataset path to include project ID.

What: Fully qualify the BQ path to include project ID.
Why: Fix usage for when target project is different than the default in the environment (set by gcloud/GCE).
Thanks for pointing out the tests. Fixed the two tests that were affected & fixed another set of tests that were failing.

Can you please add a "What" and a "Why" in the description to explain the change?
Does it make sense to have any tests supporting this change?

LGTM.


Web Map "WeatherTemp" references services/layers that do not exist

Item id 645aadb7d17c45eeab6c6c0e765fcaa4   references the following services/layers that do not exist:
https://nsec.esri.com/ags/rest/services/Military/MAOWTemplateF/MapServer

@elinz Web Map removed so please close the issue.

Verified that web map was deleted. Closing issue.


Add .json keystore file for ETH and tokens compatible with MEW

as backup

My idea: Share ,json file feature (Android-like share) to quickly send json file, instead of manually coping via SD Card or USB.
What do you think?

ok

duplicate


Plugin completely broken on latest update

When I press a smartblocks button, that previously run a template and generated content, now does nothing at all and just a dialog appears saying "Run has begun".
The plugin does not work at all and nothing I do can get it to work.
I am on Logseq latest nightly build.

Seems to be a Logseq issue, the latest Logseq build fixes the issue.


Month name

I used your component but I don't see name of month

Are you copy/pasting exactly how it is on the website? Month names are showing up just fine there

I forgot about.... locales 🤦♂ Everything is okay.


Client lost connection message doesn't format correctly

The message printed in console whenever a client disconnects from the server is not printed correctly. As it prints now:
[13:29:40] [Server thread/INFO]: l0lkj lost connection: TextComponent{text='Disconnected', siblings=[], style=Style{hasParent=false, color=null, bold=null, italic=null, underlined=null, obfuscated=null, clickEvent=null, hoverEvent=null, insertion=null}}
Tested on:
jvm: 1.8.0_64
Forge: <IP_ADDRESS>2 mc 1.8
sponge: 1.8-1521-2.1DEV-726
I talked with gratimax and he told me to report an issue here.

This is what vanilla does, Sponge doesn't break it.

Does vanilla own the TextComponent class, og Vanilla minecraft? Either way, it should be fixed as far as I am concerned. Gratimax said it should be an easy fix.

TextComponent is a vanilla class, yes. If anything, this is a Minecraft bug, not a Sponge bug.
https://bugs.mojang.com/browse/MC-59535

Okey, thank you for clearing that up. I'll close this issue :)


Add PyPI support

Description
This PR adds support for PyPI distribution. The following changes have been made:

Moved the source code to src/pystell folder and added an __init__.py file.
Changed the readme file to README.md for Markdown support and added instructions for installation using pip.
Created a pyproject.toml file for setup using pip.
Implemented a publish release workflow that will run after a tag is created, and will publish to PyPI if the build is successful.
Added a changelog to document project history.

Important Note
For successful PyPI integration, the repository owner needs to add PYPI_TOKEN to GitHub secrets.

Is it required to import read_vmec in pybooz.py? I can't see any use case of it here.
Additionally, I do have a suggestion. we may use capital case while creating Python class. If you are aggree with me I can add the changes here.
Example
boozer -> Boozer
vmec_data -> VMECData
vmec2booz -> VMEC2Booz / VMECToBooz

Ping @aaroncbader

Hi @aaroncbader, please give this a review.

Sorry was traveling for most of March.
pybooz takes a vmecdata object as an input, but I guess it doesn't need to import that file.  In that case the import line should be removed
I'd be ok with renaming the classes to the standard python forms for classes.  This was first written prior to my knowledge of these standards

Hi, @aaroncbader. Thank you for your response. Recently, I have added necessary docstrings for better documentation. Please review them. Unfortunately, I am unable to test them as I do not have the necessary files. If it is possible to add a reference file, then I can create test files for better CI.

Hi @aaroncbader, as I mentioned, I didn't run any tests locally. I hope you have checked that everything is working.
For successful PyPI integration, the repository owner needs to add the PYPI_TOKEN (which can be obtained from the PyPI account) to GitHub secrets. Then, the owner needs to create a Tag release, which will trigger the workflow. If you face any trouble doing so, please inform me, or grant me repository access. I am happy to do this myself.

Also, I have a request. Please consider setting the repository name to pystell. This looks more generic. I think uw stands for University of Wisconsin–Madison?


⚠ Bofrost.es has degraded performance

In 435d307, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1546 ms

Resolved: Bofrost.es performance has improved in 875ae8e after 13 minutes.


[hacktoberfest] feat: Implement mobile money payout api

This PR implements the mobile money api from the issue #2 in a simple React app.
See README for more info

Hi @uchibeke please let me know if there's anymore changes to be made.

Thanks!


GPU required or CPU compatible?

I do not have a GPU. I would like to use the pretrained model only. Is there a way to do this on CPU?
I'm somewhat unfamiliar with deep learning packages. I see repeated calls and references to cuda. Therefore, I assumed that this can only be used on a machine with GPU.

That's correct


UP-4200 Decrypt password for portlets when replaying credentials

https://issues.jasig.org/browse/UP-4200
Only applies when using local login form to authenticate against DB or LDAP.

I like both @apetro's suggestion ("make CachedPasswordUserInfoService detect whether the password needs decrypting and decrypt only if needed") as well as @jameswennmacher's proposal ("change CacheSecurityContext to return the password in plaintext rather than encrypted and remove decryptPassword from CachedPasswordUserInfoService") much better than the solution in this PR.
I'm going to update the JIRA with these, and close this PR.


Add image sending

This adds the ability to send images via
sendImage({
    file: '/path/to/image.jpg',
    name: 'name_to_display_on_skype.jpg'
}, threadId);

I am not very familiar with typescript, could someone please help me resolving the last few lint errors?

Thanks for your PR. I'll take a look at it (and the other issues 😛)

Thanks you for your contribution. I fixed the few issues in #47, please use a feature-branch next time (instead of master) so its easier to patch the branch of your PR.
Overall it seems fine, I checked that it did not break the library but I did not have the code to actually test if it works so I trust you for this. I'd like to spend some time this week on this library so I'll try to come up with better tests.
Note that even if I'm merging now, the XML string sent to Skype should be properly sanitized (instead of concatenating the values). I'll open an issue for this.

Thank you for merging it and I'll keep the branch stuff in mind for next time.


Refactoring main.py

While reviewing https://github.com/neuropoly/ivado-medical-imaging/pull/155, I was trying to get a sense of what is done in ivadomed/main.py, and it was difficult to read this long (>900 lines) file.
The file seems to include a lot of sequential actions, and I believe it should be possible to move some actions outside of main to improve the readability.
The code is documented in a step-by-step basis (thank you for that), but we are missing the "big picture" documentation.

we can use this box to list a few suggestions for changes:

https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L1: a context about what this file is about would be welcome
https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L26: this convention only works for particular orientations (e.g. wrong for AIL), so it needs to be written somewhere what orientation is assumed, where is it re-oriented, etc.
https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L51: I guess this is where all the prototypes are initialized/defined. A comment would be welcome.
comment would be welcome for these code blocks:

https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L71

https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L130: try to keep comments in its own separate line (PEP8)
here: https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L130 and at many other places, i see that some code-blocks are specific to the type of network that will be used. Wouldn't it be possible to set the variables/run the appropriate code while choosing the architecture? (which could be moved to a separate architecture-specific file), instead of having a long list of if cases in a single script? Same comment for this code block, which seems to only be relevant for FiLM: https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L259.
https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L201: always use small capital for variables, and big capital for classes
duplicated code, e.g.:

https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L357 and https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L450

https://github.com/neuropoly/ivado-medical-imaging/blob/master/ivadomed/main.py#L769: this could possibly be a separate function e.g. write_3d_image


What do the grayscale images generated during training represent

Firstly, thank you very much for your research! Secondly, I would like to inquire about the meaning of the grayscale images generated by the model on the training, validation, and testing sets during the training process，as shown below:

The third and fourth gray grid images from left to right, please specify what white and black pixels represent. Thank you very much！


feat WAI-ARIA fixes an issue with the Fieldset widget label being read at the end of the Fieldset

This change marks the current label with "aria-hidden", and adds another span containing the class "xSROnly" with the label content, and renders this span in the correct position before the frame.
Note: this change is only switched on when accessibility is enabled.

:ok:<PHONE_NUMBER>cc3eb44c7ee540a394209703ec7a51 seems fine for me.