new: manage multiple types by shop

This pull request will allow to catch all types of a given repair shop. For each type a marker will be displayed on the map with a different sub-group layer.
This means that a repair shop can have multiple markers. Is that what you wanted?

Nice ! Integrated


Mitigate coupling among plugins

Change Description
This PR is written for the purpose of experiment. Feel free to reject, if this conflicts with original design.
Remove strong dependencies on chain_plugin from plugins:

history_plugin
mongo_db_plugin
state_history_plugin
net_plugin
producer_plugin

Rationale
I'm writing a program which allows contract developers to write unit tests easily with JavaScript. Its executable works like nodeos, but it uses internally eosio::testing::tester and exposes its methods to RPC APIs. test_rpc_plugin substitutes for chain_plugin and producer_plugin in my program, but other plugins cannot be used, because they depend on chain_plugin directly. (usually containing a pointer to chain_plugin and call chain_plug->chain() to retrieve existing chain::controller)
Need advise

Is it all right to use eosio::testing::tester in my program?

If chain_plugin is removed from APPBASE_PLUGIN_REQUIRES macro, an instantiation of chain::controller before other plugins initialization is not guaranteed. I think there can be a wrapper named like chain_provider_plugin which initializes chain_plugin by default, but when --chain-provider options is set explicitly (in my case, --chain-provider=eosio::test_rpc_plugin), initializes specified one. Other plugins will depend on chain_provider_plugin instead of chain_plugin.

appbase::application::get_method returns default method when no implementation is provided, but what about adding a method like require_method or boolean parameter get_method(bool required = false) can throw an exception when no explicit implementation is provided?

I think it doesn't need to remove dependencies from producer_plugin and net_plugin, because their functionalities strongly bound to chain_plugin. Especially, net_plugin calls chain_plugin::accept_transaction directly. If this PR can be merged, is it better keeping dependencies in the case of producer_plugin and net_plugin?

Remaining works

[ ] Remove chain_plugin dependencies completely
[ ] Implement check whether controller is provided correctly

Consensus Changes

[ ] Consensus Changes

API Changes

[ ] API Changes

Documentation Additions

[ ] Documentation Additions

If chain_provider_plugin that I mentioned above is added, it would be possible that other plugins have a pointer to chain_provider_plugin in place of chain_plugin. If the target plugin (chain_plugin or similar ones) initialized by chain_provider_plugin overrides pure virtual methods, chain() and get_abi_serializer_max_time() (by inheriting from abstract class like chain_provider_interface), then indirect call by app().get_method<methods::get_controller>()() might not be necessary.

@conr2d Thanks for tackling this.  I have some high level feedback that I wanted your input on:

YES

Instead of a "provider" plugin that resolves the dependency problem, what are your opinions on moving to less a less direct form of dependency resolution in appbase?  For instance, each plugin could require and provide a set of methods and channels (like methods::get_controller) in addition to the explicit plugin dependencies.   Then at start-up we can use this information to resolve the initialization order of the plugins and detect any errors (like cycles).

I think this should be covered by (2) but if it isn't, I agree some sort of stricter form of get_method would be useful

For now producer_plugin and chain_plugin are tightly coupled.  We would like in the future to de-couple net_plugin however the amount of plumbing required to do so now (as opposed to through channels/methods) is a fair bit.  If you want to leave these coupled for now, that is ok.

One last note, our internal etiquette for this repo ( documented nowhere 😇 ) is to never force push a branch that is in PR .  It makes it very difficult to track where the review comments applied etc.  Even if it leaves a bad log, we prefer to have the intact git history.  There is no penalty or enforcement, it's just a friendly request.

Thank you for review. I'll rewrite PR soon.

I'll open this later when writing new patch. :)


6.0.0 seems to fail in calling Particle.function()

Calling Particle.function() fails, see here
https://community.particle.io/t/i-can-trigger-a-particle-function-but-it-never-receives-my-argument/25264/13

This was an issue with content type for some requests. This is fixed in 6.0.1.


CRT support for signing?

Is your feature request related to a problem? Please describe.
The implementation of RSAPSS doesn't seem to be using the CRT optimisation:
https://github.com/hacl-star/hacl-star/blob/d59b0b08bc07e8f65490c9cfb12d1c3f51f48f61/code/rsapss/Hacl.Spec.RSAPSS.fst#L317-L324
Describe the solution you'd like
It would be nice if the code used the Chinese Reminder Theorem optimisation, as that would increase performance by a factor of 2 to 3
Describe alternatives you've considered
Not using CRT hurts performance in typical case
Additional context
Basically every production grade implementation of RSA uses the CRT approach for the RSA private key operation.
That being said, I'm far from familiar with F*, so I may be reading the code completely incorrectly, feel free to point out to me that I'm reading the code incorrectly or looking at wrong piece of code.

Good point, we do not do this yet, because the code is designed to be super general.

OK, but

it's a significant performance difference
99% of keys people will want to use in practice will have CRT coefficients included
it's possible to recover p, and q from d using algorithm specified in appendix C (page 118) of NIST SP-800-56B rev 1
the code can use either algorithm, depending on which coefficients were provided


hyprctl kill should use pirate cursor if available instead of crosshair

Description
When running hyprctl kill, if the pirate (88) cursor is available in the current cursor theme, it should be used instead of crosshair (34) when targeting a window. https://man.archlinux.org/man/X11::CursorFont.3pm.en#DESCRIPTION

Says who. X11 or Wayland? Don't pull in legacy conventions. ;)

Pirate skulls are far cooler than a crosshair 🏴☠


typo fix

found while trying to compile on ARM based Raspberry Pi 2 in branch r.1.3

Can one of the admins verify this patch?

I signed it!


Improve run times for large projects by reusing connections by default

resolves #1082
Problem
Run times for large projects are taking a long time, in part due to the fact that we don't reuse connections by default. This problem is made worse when using Key Pair authorization as the RSA key needs to be validated every time a connection is created.
Solution
Update reuse_connections to a default of True.
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] This PR has no interface changes (e.g. macros, cli, logs, json artifacts, config files, adapter interface, etc) or this PR has already received feedback and approval from Product or DX

Judging from earlier conversations, does this PR need a rework? I think I saw the spec may have changed to default to True regardless here.
Slightly out of context, this is from you:

we will update the default on reuse_connections to be True

Just want to know target

Fair, I should have updated the PR body. After internal discussions, we determined that we only wanted to default reuse_connections to True if the user didn't specify client_session_keep_alive=True (and didn't set reuse_connection). We wanted to do that to make the potentially risky scenario (reuse_connections=True and client_session_keep_alive=True) an opt-in scenario.


created mentorship link on on boarding page

@thandiumuzi something weird happened on this PR (Look at files changes), the best thing to do is to close it

@thandiumuzi something went wrong here if you look at the files changed you will see it went mad. We should close this PR and redo it. We can go over it on Monday.

Closed to to git weirdness


How to update Wraith?

I have installed wraith. its working well. but how to update to the latest version?

Run the following terminal command
sudo gem install wraith

You shouldn't need to sudo, but yes, gem install wraith - then you can wraith -v to see what version you're running.

i think needs to implement a new command like "update".


Allow FromVariant to skip certain fields

Like serde sometimes, we want to avoid generating an impl for certain fields. Having this feature would greatly reduce the amount of repeated code and encourage use of FromVariant in our codebase.

Implemented as skip_from and skip_try_from.


Add support for compiling a group of emails into a single email

Hello,
I was wondering if you've ever considered a feature for grouping emails.  We have this in our homegrown email library, and it's really the only feature holding me back from fully switching to simple java mail.  We rely on this feature because we have certain events in our environment that will trigger inordinately high amounts of email.
Basically a time interval is set for defining a fixed time window that emails should be grouped into.  If say 2 seconds and a blast of emails came inside the 2 second interval, they would be grouped together (currently by subject) and sent as digests at the end of the interval.  This greatly helps during times of system stress.
Let me know if you've ever considered such a feature.
Thanks.

If I interpret you correctly, it's not so much about grouping as it is about spreading out the groups, right?
Or else I'm not sure what grouping exactly would mean. Like is it grouped in a single connection to the SMTP server or just send whatever came in after the 2 seconds like delayed bursts.

It's more about combining similar emails into one email instead of multiple.  So in a simple example, during a 3 msg burst without this feature you might see in your inbox:
9:30:01 am, Subject = New Signal Detected
9:30:01 am, Subject = New Signal Detected
9:30:02 am, Subject = New Signal Detected
but with the feature you'd and a 2 second interval set you'd see:
9:30:02 am, Subject = New Signal Detected  : (3) messages

Ahh, I see.
I'm not sure that's appropriate for Simple Java Mail. All it does is make mailing easy and straightforward (RFC compliant), but what you send with it is up you.
I'll give it some thought.
Since this is about performance though, have you considered using multiple SMTP servers and then have multiple Mailer instances, and Round Robin between them?

Thanks Benny.  In a heavily email messaging dependent organization, this feature is a lot about ensuring the end user inboxes are overwhelmed.  I'll submit a PR.

Closing as this is about a content/client specific Use Case about which Simple Java Mail has no opinions.


Update watchtestscripts.sh

slight grammar change

 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.


fix(kselect): selected style when using v-model

Summary

When v-model is used in KSelect, after the user selects an item, the selected style in the dropdown is missing:

This is because in the newly added setter and watcher, we are filtering props.items and passing one of them to handleItemSelect. props.items do not have the key field, so in handleItemSelect every item's selected field to set to false.
The main branch is fine, so we don't need to fix there.
@adamdehaven @kaiarrowood

PR Checklist

[ ] Does not introduce dependencies
[ ] Functional: all changes do not break existing APIs and if so, bump major version.
[ ] Tests pass: check the output of yarn test packages/
[ ] Naming: the files and the method and prop variables use the same naming conventions as other Kongponents
[ ] Framework style: abides by the essential rules in Vue's style guide
[ ] Cleanliness: does not have formatting issues, unused code (e.g., console.logs), or leftover comments
[ ] Docs: includes a technically accurate README, uses JSDOC where appropriate

This looks good to me, I'd like @aanchalm01 to take a look and see if this addressing an issue she was seeing in the KongFormGenerator with KSelect


Server language.clangd failed to start: Launching server "languageserver.clangd" using command clnagd

When I created a C / C++ file，coc will display following error

coc-settings.json
"clangd": {
                        "command": "clangd",
                        "rootPatterns": ["compile_flags.txt", "compile_commands.json"],
                        "filetypes": ["c", "cc", "cpp", "c++", "objc", "objcpp"]
                  }

Is my coc-settings.json configuration incorrect,please help me,thanks :)

You're not using coc-clangd, but setup clangd in your coc-settings.json. You can remove clangd configurations in your coc-settings.json, install coc-clangd.

Well,before commit this issue,I have installed coc-clangd and it has enabled,but coc still display the same error,what can I do?

I removed all of about clangd in coc-settings.json,error message was disappear. But now,the question is coc not provide me syntax completion


Suggestion for HTML class to Word style mapping

I've had the need where I have HTML with various different classess. When converting the HTML to .docx, I needed to map to classses to specific Word styles.  I couldn't see an existing way to do it.
The code below demostrated how my solution works. Happy to do a pull request, but wanted to get some feedback on the approach and gauge interest/value before I did that.  Thoughts?

from docx import Document

from htmldocx import HtmlToDocx

# example html using classes

html = """
<title>Dev exploration</title>

Hello

Canvas File

COM31 Study Guide-Week 1.pdf

This should be a quote.

"""

# Define the mapping from HTML class to Word style
# Each HTML tag has a dict keyed on HTML class where
# the value is the Word style name

STYLE_MAP = {
		"h1" : {
		"canvasFile" : 'Canvas File',
		"canvasSubHeader" : 'Canvas SubHeader',
		"canvasDiscussion" : 'Canvas Discussion',
		"canvasQuiz" : 'Canvas Quiz',
        "canvasAssignment" : 'Canvas Assignment',
        "canvasExternalTool" : 'Canvas External Tool',
        'canvasExternalUrl' : 'Canvas External Url',
	},
    "p" : {
        "embed": 'Embed',
        "hide" : "Hide",
        "canvasFileLink": 'Canvas File Link'
    },
    "span" : {
        "embed": 'Embed',
        "hide" : "Hide",
        "canvasFileLink": 'Canvas File Link'
    }
}

# Start with a blank Word doc that has the Word styles
# from above defined
document = Document('template.docx')

# create the parser and point to the style map
new_parser = HtmlToDocx()
new_parser.style_map = STYLE_MAP

new_parser.add_html_to_document(html,document)

document.save('sample.docx')

Hi @djplaner , thanks for the suggestion.
I'm not sure I really understand how this works. Are Word styles built-ins in Word, or are they custom? In your example, how are the mappings in STYLE_MAP used? What result would we get in sample.docx?
I'm not sure how much interest there is in this, but happy for you to add it if there is value to you, as long as this feature is optional.

Sorry for the delay in following up...work, life etc.
The Word styles - at least in my case - are custom styles.  i.e. template.docx contains defined Word styles for Canvas File Link, Embed etc. These are meaningful in my context.
The HTML that is being converted to Word contains matching HTML elements that are styled.  The STYLE_MAP dict specifies a way to map from specific HTML styles to specific Word styles.
The keys are based on CSS selectors e.g.  a  will be mapped to to a Word style called Emebd.   A
 gets mapped to a Word style Canvas Assignment.
Implementation - definitely optional
There's a new function checkStyleMap that is called at relevant places which checks the provided dict.  If there's a match for the current tag and class it returns the corresponding style which is applied.  Otherwise, nothing happens.
Hence if you choose not to define a style map, all just proceeds as normal.


Management of the drop of the last cluster of a class

In case of the drop of the last cluster referred by a class, the default cluster of a class should became "default" or should be thrown an error that suggest to drop the class instead.
The today behaviour put the default cluster of the class to -1, that make any operation on the class throw an error.

I'd prefer to avoid removing the cluster, because setting the "default" cluster risk to put confusion in the users mind.

fixed closing


Markdown replace plus

Summary

Ticket Link

Checklist

[ ] Added or updated unit tests (required for all new features)
[ ] Has UI changes
[ ] Includes text changes and localization file updates
[ ] Have tested against the 5 core themes to ensure consistency between them.
[ ] Have run E2E tests by adding label E2E iOS tests for PR.

Device Information
This PR was tested on:
Screenshots

Release Note

Мейнтейнера на ревью призвал


Correctly generate sync server API url

tomboy.osx uses the given sync server URL, adds api/1.0 and sends a request to that location:
tomboy-library/Tomboy-library/Tomboy/Sync/WebSync/OAuth/OAuthConnection.cs
91:			apiRoot = rest_client.Get<ApiResponse> (rootUrl+ "api/1.0/");

All other clients at least add a slash between the root URL and api, so that URLs like
http://example.org/sync get an API URL of http://example.org/sync/api/1.0/. Some other clients do not work when giving the root url without slash.
Currently I would have to give users two instructions in grauphel: One URL that works with tomboy.osx, and one that works with all other clients.
Please make the API URL generation a bit smarter by adding a / after rootUrl if it does not end with one.
So that the user can input an URL with or without a slash, and tomboy.osx automatically does the right thing:

http://example.org/sync -> http://example.org/sync/api/1.0/
http://example.org/sync/ -> http://example.org/sync/api/1.0/

Hi,
is this issue resolved? Sync to grauphel does not work for me too. Probably the root is this issue.
Tomboy.osx running on mac os 10.11.1.


Add cache to the CI

Description of the feature
Adding caching to the CI for packages downloaded by pip to reduce global pipeline time.
Steps for implementing the feature
See PyMAPDL CI pipeline.
Useful links and references
No response

Closing for now due to disinterest and mitigated results during the investigative PR.


fix: typo correction

Fix typo in commit message.

Codecov Report

Merging #235 (63cb190) into develop (abfd5e3) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #235   +/-   ##
========================================
  Coverage    99.29%   99.29%
========================================
  Files           41       41
  Lines         1691     1691
========================================
  Hits          1679     1679
  Misses          12       12

Continue to review full report at Codecov.

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


Add Indices.AnalyzeAsync to 8.x

Is your feature request related to a problem? Please describe.
Ver 7.x of the client has Indices.AnalyzeAsync.  However, it is on the list of unsupported features for 8.x: https://github.com/elastic/elasticsearch-net/issues/7890 .  I'm using this function as a critical feature of my application and the lack of it is preventing full migration from 7 to 8.
Describe the solution you'd like
Please implement Indices.AnalyzeAsync or provide a means of achieving the same functionality in 8.x.
Describe alternatives you've considered
Continue to run 7 and 8 in parallel.  This is not a long term solution.

Hi @mwrothbe-intc, I'm currently in the process of improving the code generator in order to generate all missing endpoints which do exist in v7.* and the ones that are new in ES v8.* and still missing in the v8.* client. There is still quite a lot of work to do, but the feature will definitely be available again.
I'm going to close this issue as it will resolve "automatically" after the generator work is done.


ADD: MenuGroup Tests;

Resolves: https://github.com/thenewboston-developers/Website/issues/1364
Acc: baa336bca22c7590256a86c002e4dbe6c1f1c1f6c0a0fd3f0681eecb2cad0787

I used role={role} and added role="Group" to still get MenuGroup


CIP: Alpha spec

Overall Architecture

Front-end interaction with the smart contracts

Parcel metadata from metadata API
Chain historical data from The Graph
Read live data or issue transactions using Infura/Alchemy

While parcel metadata will live in a decentralized medium (Arweave), it's faster for the dashboard to pull data from an API endpoint. The API is not meant as the source of truth, but rather a faster alternative to the decentralized medium.
API
It's very easy to create a simple API using cloudflare workers. Use KV store for state storage (e.g available parcels).
Smart Contract
The smart contracts will cover 2 main groups of activities:

DAO <--> Parcel interaction
User <--> Parcel interaction

Actors:

DAO: multi-sig account
User: EOA or contract account
Parcel: smart contract

User Stories

As a user, I must pay an X amount in taxes every year, else my land get forfeited by the DAO
As a user, I can lease a parcel in an Auction[1]
As a user, I can release the lease of my parcel. I have an Y amount of days as "grace period" before the parcel is up for Auction[2].
As a user, I can sell my parcel to another user[3]
As a user, I can exchange my old parcel token for a new one, whenever the smart contracts are upgraded
As a DAO, I can revoke a parcel from a user when I deem it necessary[4]

Open Questions

A second-price auction will probably be used, as it is generally deemed the best in game theory. More research is required to nail down its mechanism design it. We can also follow the OpenSea paradigm and its options.
The same type of auction as in [1]
The user should be able to either sell at a fixed price or have an auction as in [1].
This requires discussion and careful mechanism design so that everyone's incentives are aligned. It could easily dissolve to the tyranny of the masses.

Mechanism Design
At this point, we know that the user is in essence buying a lease for the land, rather than the land itself. The ultimate owner is the DAO. Due to Wyoming's law and the DAO being an LLC, the ultimate decision-maker will be the smart contract themselves. The judge of this will be the Wyoming courts.
User <--> Smart Contract <--> DAO
If at some point the user or the DAO feels that the other party is not honoring the smart contracts, it can use the Wyoming courts to settle the claim. The courts are the "meatspace" definitive application of the smart contract rules, as the smart contracts are the "definitive application of their rules in the "metaverse".

Taking the leap of faith here and will try to provide some insights, although some of these might have already been captured in cityDAO's notion page (I don't have access).
Project Structure :

Small suggestion to have the project board live in the parent CityDAO (org) page, and label all the repos (3 thus far) there. This could give us better visibility and allow us to be more efficient in our product calls and onboarding additional repos. Example: https://github.com/orgs/unicef/projects/7
We could leverage the https://github.com/citydaoproject/whitepaper repo for overall documentation. Thoughts?

User Stories:

I really like what we have going for the user. It might be helpful for the devs to do a few user flows/journeys. I can definitely help here if that's something valuable.

Should we split our stories more clearly between User and DAO?  That can help us to be more explicit, specially for reqs like this "As a DAO, I can revoke a parcel from a user when I deem it necessary[4] " -> We can clearly define all reqs that fall under the "deem it necessary" category.


fix broken unittest & cancel_open_orders api mistaken

fix #17

Thank you for your contribution, we have upgrade to version 2 and version 1 will not be maintained.


Swift3: Extension died unexpectedly

env

swift: 3.0.1
xcode: 8.1
ios with network extension

First, let me make sure my app and config is correct
In startTunne methodl:
        let ipv4Settings = NEIPv4Settings(addresses: ["<IP_ADDRESS>"], subnetMasks: ["<IP_ADDRESS>"])
        let networkSettings = NEPacketTunnelNetworkSettings(tunnelRemoteAddress: "<IP_ADDRESS>")
        networkSettings.mtu = 1500
        networkSettings.iPv4Settings = ipv4Settings
        setTunnelNetworkSettings(networkSettings) {
            error in
            guard error == nil else {
                NSLog(error.debugDescription)
                completionHandler(error)
                return
            }
            completionHandler(nil)
        }

then start vpn, whatever the app is in the foreground or the background, the VPN is running correct. Network traffic is normal too.
Now, let me use NEKit
In startTunne method:
        let directAdapterFactory = DirectAdapterFactory()
        let allRule = AllRule(adapterFactory: directAdapterFactory)
        RuleManager.currentManager = RuleManager(fromRules: [allRule], appendDirect: true)
        RawSocketFactory.TunnelProvider = self
        self.proxyServer = GCDHTTPProxyServer(address: IPv4Address(fromString: "<IP_ADDRESS>"), port: Port(port: UInt16(self.proxyPort)))
        try! self.proxyServer.start()

        let networkSettings = NEPacketTunnelNetworkSettings(tunnelRemoteAddress: "<IP_ADDRESS>")
        networkSettings.mtu = 1500

        let ipv4Settings = NEIPv4Settings(addresses: ["<IP_ADDRESS>"], subnetMasks: ["<IP_ADDRESS>"])
        ipv4Settings.includedRoutes = [NetworkExtension.NEIPv4Route.default()]
        networkSettings.iPv4Settings = ipv4Settings

        let proxySettings = NEProxySettings()
        proxySettings.httpEnabled = true
        proxySettings.httpServer = NEProxyServer(address: "<IP_ADDRESS>", port: proxyPort)
        proxySettings.httpsEnabled = true
        proxySettings.httpsServer = NEProxyServer(address: "<IP_ADDRESS>", port: proxyPort)
        proxySettings.excludeSimpleHostnames = true
        networkSettings.proxySettings = proxySettings

        let DNSSettings = NEDNSSettings(servers: ["<IP_ADDRESS>"])
        DNSSettings.matchDomains = [""]
        DNSSettings.matchDomainsNoSearch = false
        networkSettings.dnsSettings = DNSSettings

        setTunnelNetworkSettings(networkSettings) {
            error in
            guard error == nil else {
                DDLogError("Encountered an error setting up the network: \(error)")
                completionHandler(error)
                return
            }
            self.interface = TUNInterface(packetFlow: self.packetFlow)
            let fakeIPPool = IPv4Pool(start: IPv4Address(fromString: "<IP_ADDRESS>")!, end: IPv4Address(fromString: "<IP_ADDRESS>")!)
            let dnsServer = DNSServer(address: IPv4Address(fromString: "<IP_ADDRESS>")!, port: Port(port: 53), fakeIPPool: fakeIPPool)
            let resolver = UDPDNSResolver(address: IPv4Address(fromString: "<IP_ADDRESS>")!, port: Port(port: 53))
            dnsServer.registerResolver(resolver)
            self.interface.registerStack(dnsServer)
            DNSServer.currentServer = dnsServer
            let udpStack = UDPDirectStack()
            self.interface.registerStack(udpStack)
            let tcpStack = TCPStack.stack
            tcpStack.proxyServer = self.proxyServer
            self.interface.registerStack(tcpStack)
            self.interface.start()
            completionHandler(nil)
        }

then start vpn, the vpn can be started, but i found when network traffic was generated, the Network Extension died unexpectedly.

This article also mentioned this problem.

Thanks for your NEKit.

It'd be better if you could provide the crash report.
Problem relating to IP packets will not be fixed as of now unless you can locate the bug. It's recommended to not enable TUN interface.

Zhuhao Wang
Zhejiang university
2016年12月4日 +0800 13:21 Cloud<EMAIL_ADDRESS>
env
swift: 3.0.1
xcode: 8.1
ios with network extension
First, let me make sure my app and config is correct
In startTunne methodl:
let ipv4Settings = NEIPv4Settings(addresses: ["<IP_ADDRESS>"], subnetMasks: ["<IP_ADDRESS>"]) let networkSettings = NEPacketTunnelNetworkSettings(tunnelRemoteAddress: "<IP_ADDRESS>") networkSettings.mtu = 1500 networkSettings.iPv4Settings = ipv4Settings setTunnelNetworkSettings(networkSettings) { error in guard error == nil else { NSLog(error.debugDescription) completionHandler(error) return } completionHandler(nil) }
then start vpn, whatever the app is in the foreground or the background, the VPN is running correct. Network traffic is normal too.
Now, let me use NEKit
In startTunne method:
let directAdapterFactory = DirectAdapterFactory() let allRule = AllRule(adapterFactory: directAdapterFactory) RuleManager.currentManager = RuleManager(fromRules: [allRule], appendDirect: true) RawSocketFactory.TunnelProvider = self self.proxyServer = GCDHTTPProxyServer(address: IPv4Address(fromString: "<IP_ADDRESS>"), port: Port(port: UInt16(self.proxyPort))) try! self.proxyServer.start() let networkSettings = NEPacketTunnelNetworkSettings(tunnelRemoteAddress: "<IP_ADDRESS>") networkSettings.mtu = 1500 let ipv4Settings = NEIPv4Settings(addresses: ["<IP_ADDRESS>"], subnetMasks: ["<IP_ADDRESS>"]) ipv4Settings.includedRoutes = [NetworkExtension.NEIPv4Route.default()] networkSettings.iPv4Settings = ipv4Settings let proxySettings = NEProxySettings() proxySettings.httpEnabled = true proxySettings.httpServer = NEProxyServer(address: "<IP_ADDRESS>", port: proxyPort) proxySettings.httpsEnabled = true proxySettings.httpsServer = NEProxyServer(address: "<IP_ADDRESS>", port: proxyPort) proxySettings.excludeSimpleHostnames = true networkSettings.proxySettings = proxySettings let DNSSettings = NEDNSSettings(servers: ["<IP_ADDRESS>"]) DNSSettings.matchDomains = [""] DNSSettings.matchDomainsNoSearch = false networkSettings.dnsSettings = DNSSettings setTunnelNetworkSettings(networkSettings) { error in guard error == nil else { DDLogError("Encountered an error setting up the network: (error)") completionHandler(error) return } self.interface = TUNInterface(packetFlow: self.packetFlow) let fakeIPPool = IPv4Pool(start: IPv4Address(fromString: "<IP_ADDRESS>")!, end: IPv4Address(fromString: "<IP_ADDRESS>")!) let dnsServer = DNSServer(address: IPv4Address(fromString: "<IP_ADDRESS>")!, port: Port(port: 53), fakeIPPool: fakeIPPool) let resolver = UDPDNSResolver(address: IPv4Address(fromString: "<IP_ADDRESS>")!, port: Port(port: 53)) dnsServer.registerResolver(resolver) self.interface.registerStack(dnsServer) DNSServer.currentServer = dnsServer let udpStack = UDPDirectStack() self.interface.registerStack(udpStack) let tcpStack = TCPStack.stack tcpStack.proxyServer = self.proxyServer self.interface.registerStack(tcpStack) self.interface.start() completionHandler(nil) }
then start vpn, the vpn can be started, but i found when network traffic was generated, the Network Extension died unexpectedly.

This article (http://blog.w2fzu.com/2016/11/21/2016-11-12-learn-NetworkExtenison/#四、导入NEKit) also mentioned this problem.

Thanks for your NEKit.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub (https://github.com/zhuhaow/NEKit/issues/31), or mute the thread (https://github.com/notifications/unsubscribe-auth/ABOmLMeN9V27ijlnnCzwOy22b9oZTSaGks5rEk3OgaJpZM4LDgKW).

Thanks


feat: Add Example / SSR Target selection based deployment target

An Example to detect broken selection of the server side modules from external packages.
Should help to fix #478

Thanks for working on this. I would like to avoid adding examples for now. Some of examples are showcases and others are for development. I want to reduce the number of them.
Can you turn this into e2e/fixtures/lib-compat or something and add e2e spec? fixtures should be very minimal.

I will convert it in a fixture and replace the screenshot with specific test checks

replaced by #484


Update purge.md

Fixed a 'pruge' typo

Description Of Changes

Motivation and Context

Testing

[ ] I have previewed these changes using the Docker Container or another method before submitting this pull request.

Change Types Made

[x] Minor documentation fix (typos etc.).
[ ] Major documentation change (refactoring, reformatting or adding documentation to existing page).
[ ] New documentation page added.

Change Checklist

[ ] Requires a change to menu structure (top or left hand side)/
[ ] Menu structure has been updated

Related Issue

Fixes #

@marcleroy awesome work! Thanks for your contribution!

@marcleroy thank you for noticing this, and for taking the time to fix it! Appreciate it!


WFS Request

Hi,
i want to test the WFS- functions of my 3dcitydb-Installation in combination with the wfs-tool.
I´m using the wfs- tool with the default configuration ( i only configured the database settings)
<type>PostGIS</type>       <server><IP_ADDRESS></server>       <port>5432</port>       <sid>dreid</sid>       <schema/>       <user>postgres</user>       <password>passwd</password>
When i send a capabilites or a describe feature type request it seems to work fine, but the GetFeature-Request only sends an error:
my tested URL:
http://localhost:8080/citydb-wfs/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=bldg:Building
and my response:
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsAll.xsd" version="2.0.0" xml:lang="en"> <ows:Exception exceptionCode="OptionNotSupported"> <ows:ExceptionText> Only stored query expressions are supported in a GetFeature request. </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
With:
http://localhost:8080/citydb-wfs/wfs?service=WFS&version=2.0.0&request=ListStoredQueries
i get
<wfs:ListStoredQueriesResponse xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0/wfs.xsd"> <wfs:StoredQuery id="http://www.opengis.net/def/query/OGC-WFS/0/GetFeatureById"> <wfs:Title xml:lang="en">Get feature by identifier</wfs:Title> </wfs:StoredQuery> </wfs:ListStoredQueriesResponse>
so i´ve build a GetFeature-Request with a ID filter:
http://localhost:8080/citydb-wfs/wfs?service=WFS&version=2.0.0&request=GetFeature&typeNames=bldg:Building&featureID=feature
the response is also:
<ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/1.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows/1.1 http://schemas.opengis.net/ows/1.1.0/owsAll.xsd" version="2.0.0" xml:lang="en"> <ows:Exception exceptionCode="OptionNotSupported"> <ows:ExceptionText> Only stored query expressions are supported in a GetFeature request. </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
Can you show me an example to get all or one feature?
best regards

The WFS is implemented against the Simple WFS conformance class. Thus, it currently only supports GetFeature requests with the stored query GetFeatureById. This is what the first error message in your post indicates.
A valid XML-encoded query for HTTP POST would like like this:
<?xml version="1.0" encoding="UTF-8"?>
<wfs:GetFeature service="WFS" version="2.0.0" xmlns:wfs="http://www.opengis.net/wfs/2.0">
  <wfs:StoredQuery id="http://www.opengis.net/def/query/OGC-WFS/0/GetFeatureById">
    <wfs:Parameter name="id">ID_0815</wfs:Parameter>
  </wfs:StoredQuery>
</wfs:GetFeature>

You can also encode it using KVP over HTTP GET:
http://localhost:8080/citydb-wfs/wfs?service=WFS&version=2.0.0&request=GetFeature&storedquery_id=http%3A%2F%2Fwww.opengis.net%2Fdef%2Fquery%2FOGC-WFS%2F0%2FGetFeatureById&id=ID_0815
You will find more information in chapter 7 of the documentation (see chapter 7.4.6 for the GetFeature operation).

Closing due to missing feedback. Feel free to re-open.

<wfs:GetFeature service="WFS" version="2.0.0" xmlns:wfs="http://www.opengis.net/wfs/2.0">
<wfs:StoredQuery id="http://www.opengis.net/def/query/OGC-WFS/0/GetFeatureById">
<wfs:Parameter name="id">ID_0815</wfs:Parameter>
</wfs:StoredQuery>
</wfs:GetFeature>
bu kodu config.xml dosyasına mı yazmamız gerekiyor. Vc Publisher ile CityGml verilerini sorgulamak için ?
// en
Do we need to write this code in the config.xml file? To question CityGml corruption with Vc Publisher?

<ows:Exception exceptionCode="OptionNotSupported"> ows:ExceptionTextOnly stored query expressions are supported in a GetFeature request.</ows:ExceptionText> </ows:Exception> </ows:ExceptionReport>
//
With Vc Publisher, the query process always stays that way. Where should we write the sample xml code to query the get feature?
//
Vc Publisher ile sorgu yaptığım zaman bu hatayı alıyorum. Get feature ile il sorgulamak için örnek xml kodunu nereye yazmamız gerekiyor?

get feature  işlemi için bu örnek kodu nereye yazmamız gerekiyor?``

We do not provide support for VCS products like the VC Publisher here. Please contact the VCS support.


Unit test example?

Hi,
Before we used the new router, we can write tests like this:
beforeEach(inject(function($rootScope,$compile,$controller) {
  scope = _$rootScope_.$new();
  compile = _$compile_;
  controller = _$controller_;
  MyCtrl = controller('MyController', {
    	$scope: scope
  });

}));
It crashes after using the new router.  Do I need to change this?  I tried removing everything inside the function block, but it still fails.
Is there some example of unit tests with the new router implemented?

Can you please provide a runnable reproduction via jsbin, plnkr.co, or jsfiddle?
If not, can you provide a stack trace?
This saves me a lot of time. Thanks!

@btford It turned out that I misspelled my component when mocking:  Instead of module('myApp.myComponent'); I did module('myApp.mycomponent');  Your response indicated that the normal unit tests should continue to run.  Thank you for pointing me to the right direction!

Hah, you're welcome. :)


Please upgrade project in Activator

It seems it's not up to date in the activator registry somehow?
Caused confusion for some users: https://github.com/akka/akka/issues/17600#issuecomment-209111134

Thanks for reporting!
I bumped versions and manually updated in activator registry.

Thanks a lot :)


W0000 00:00:1714315704.778368    2252 graph_launch.cc:671] Fallback to op-by-op mode because memset node breaks graph update

Issue type
Others
Have you reproduced the bug with TensorFlow Nightly?
No
Source
source
TensorFlow version
2.15
Custom code
Yes
OS platform and distribution
Kaggle notebook
Mobile device
No response
Python version
3.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current behavior?
What does this warning indicate and how does it affect the training

Standalone code to reproduce the issue
I have included an image in the upper cell. I see a warning when training

Relevant log output
No response

@sondosaabed,
I suspect that this is due to Keras 3 which uses jit compile by default, and Keras 2 doesn't (user needs to explicitly enable jit), and the warning message is probably from jit/xla. I request you to take a look at this issue where a similar issue/warning has been proposed and it is still open. Also I request to follow the similar issue which has been proposed to have the updates on the similar issue. Thank you!

@sondosaabed, I suspect that this is due to Keras 3 which uses jit compile by default, and Keras 2 doesn't (user needs to explicitly enable jit), and the warning message is probably from jit/xla. I request you to take a look at this issue where a similar issue/warning has been proposed and it is still open. Also I request to follow the similar issue which has been proposed to have the updates on the similar issue. Thank you!

Thank you for your reply! I suggest they make a better warning message so as a user I could easily understand what this is and how to fix it. I will check out the jit/xla !
Thank you for indicating that issue I'll follow up and see if it's affecting my training. I'm gonna close this issue with this...


Implement a way to identify fixtures outside of tests/prague/eip7692_eof_v1 that test EOF

Raised by @pdobacz in https://github.com/ethereum/execution-spec-tests/pull/754#issuecomment-2305048537, we need a way to efficiently select tests that verify EOF and are outside of the main tests folder (tests/prague/eip7692_eof_v1) but still produce EOF V1 code.
E.g. tests that use the @pytest.mark.with_all_evm_code_types decorator to automatically fill in both legacy and EOF modes, because these tests remain in the respective EIP folder but also exercise EOF code paths.

Hey, do I understand correctly, that before we solve this there is no way to include such tests (EOF-wrapped MCOPY tests for example, as the PR linked) in the eip7692 pre-releases?
Could we just put them under the state_tests/cancun/eip5656_mcopy? as long as they're in the eip7692 pre-release and consumers just run everything in state_tests, and the actual target fork (Osaka) is in the JSON anyway, that could work maybe?

Could we just put them under the state_tests/cancun/eip5656_mcopy? as long as they're in the eip7692 pre-release and consumers just run everything in state_tests, and the actual target fork (Osaka) is in the JSON anyway, that could work maybe?

Yes I think this could be the quick solution to this, simply fill everything using the Osaka fork.


[silx view] Rework file synchronization

The previous implementation of the synchronization was not working.
The release 0.9 will contain a hack which synchronize files by removing then and loading them again.
It is not convenient. In this process we lose the displayed dataset and the linked dataset used inside virtual NXdatas.
A refactoring is needed:

A synchronization mechanism must be part of the Hdf5TreeView (to sync nodes)
No idea yet how to architecture model/application part
It is not an obvious problem

Right now there is 2 idea

Global one proposed by @t20100. Create a full abstraction of h5py which will lazy load data. Load and close the file everytime we want to read data. It could be time consuming for some access.
A specific for the synchronization. Create a node location holder to temporary replace the real data. The synchronization will be done in 4 steps: replace old file by the holder, close the old file, open the new file, replace the holder tree by the new data
Reach deep inside h5py to fix that. But as i remember @vasole already report that problem years ago.


Make the meta map immutable

The meta map should be made immutable to force pipeline developers to avoid in place map modifications according to the bytesize on meta map handling

https://blog.mrhaki.com/2009/10/groovy-goodness-immutable-collections.html

Given that @robsyme seemed a little nervous, it may be worth having this on by default but with a flag to disable. Just in case it causes problems..? 😬 Not sure. Just a thought.

Yes good idea! Would a parameter be an option to disable this or should I make it a flag of the channel factory? I personally like to have it as a flag of the channel factory, but I'm not sure what would be the most ideal for the community

Depends on who needs to disable it. Ideally only ever the pipeline developers 👉🏻  flag in the channel factory. But if we're feeling particularly paranoid and think that problems could slip through into releases then a pipeline parameter would be better, so that end users can disable it.
Honestly, my preference is to not have a flag at all 😅 Just depends how cautious we're feeling.

 No messing about at all - I'm taking inspiration (and notes).
We just need to be careful that the immutability is "inherited" when we create or remove keys from the map. For example
workflow {
    Channel.of([country:'Belgium'].asImmutable())        // Trying to do the right thing here, but...
    | map { it + [city:'Bruges'] }                       // the newly returned object is now just a regular map.
    | map { it['classic movie'] = 'never been one'; it } // Modifying in-place here
    | view
}

I suspect that to 'encourage' more immutability, we'd need to have a custom class that overwrites .plus(), .subMap() and perhaps other methods to return objects of that new class (with immutable properties).

You have a good point there! My Groovy is pretty limited, but I like a good challenge so I'll have a go at it when I have some time left this week or next week :). Thanks for the feedback!

PR #32 contains a POC for the immutable map class

(Mostly the work of ChatGPT if I'm being completely honest 😁)

I had chatGPT help me with some examples too for Rob's talk :grimacing:


Mongoose_Traveller2e sheet update, to add default skill characteristics

Rather than have each skill default to Strength when it is added, it will default to a more likely characteristic
(such as DEX or INT).  Characteristics can still be changed, it only changes what they initially default to.
Changes / Comments
Added selected option to tags in drop down menus.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ Y ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ N ] Is this a bug fix?
[ Y ] Does this add functional enhancements (new features or extending existing features) ?
[ N ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ N ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ N ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Update 'countries' dependency to 4.2

Latest release 4.2.0 of gem includes some deprecations.
This PR updates the dependency to 4.2 and replaces references to deprecated #name method with #iso_short_name
Also updates references to the gem's repo, that has since moved.

Thank you @pmor!


Functionality to use Negative Luminance Lights for Coverage and Magical Light

If a token is in Light with Negative Luminance (casting darkness instead of light) I am suggesting the following uses that allow to simulate fogs and magical darkness:
If a token is in Bright Light of a Light with Negative Luminance < 0, it is always in Darkness  even if the scene is bright ligth via Global Illumimation, or other light sources are cast on it.
If a token is in Dim Light of a Light with Negative Luminance < 0, it is always in Dim Light even if the scene is bright ligth via Global Illumimation.

Updated with 0.6.4


DS-2435: JSPUI send 400 Bad Request for non-existent browse index

https://jira.duraspace.org/browse/DS-2435
Merge #852 before this one!

+1, discussed and tested

+1

squashed commits.


#1197: Changed Views to be driven by ReactViewManager

On Android we were using regular views and viewmanagers to drive our native views. To be able to take advantage of the React Native functionality on views the Skia Views should be backed by a React View Manager which will ensure some functionality that will work out of the box.
This fixes #1197 and pointer events (use example in 1197 to test), and also allows for setting backgroundColor as style for a Canvas.
All tests and examples have been tested and works.

awesome 🙌🏻


Fix Powershell 5 compatibility

Since posh-git supports PowerShell version 5 and greater and Windows ships with PowerShell version 5, it would be great for lazy-posh-git to support it too.

It's published now, will write release notes and tweet soon (let me know if you have a Twitter handle). https://www.powershellgallery.com/packages/lazy-posh-git/0.2.0

i don't have one


[Monitoring Stack] DNS resolution issue in Mimir gateway

Grafana Mimir Gateway is used to load-balance and proxy traffic to different components of Mimir.
It is an NGINX reverse proxy deployment with configuration relying on 'resolver' directive.
NGINX repeatedly encounters 'wrong ident' errors resulting in pod crash restarts.

Grafana Mimir has been redeployed without the gateway component.
Agent and Grafana configurations have been updated.
This has been tested for the past couple of weeks.


Installation error

If you follow the instructions:
sudo snap install timetrace --edge

error: The publisher of snap "timetrace" has indicated that they do not consider this revision to
       be of production quality and that it is only meant for development or testing at this point.
       As a consequence this snap will not refresh automatically and may perform arbitrary system
       changes outside of the security sandbox snaps are generally confined to, which may put your
       system at risk.

       If you understand and want to proceed repeat the command including --devmode; if instead you
       want to install the snap forcing it into strict confinement repeat the command including
       --jailmode.

Info:

snap    2.50
snapd   2.50
series  16
ubuntu  18.04
kernel  4.15.0-143-generic

I think the correct command is this, since timetrace is still in devmode:
sudo snap install timetrace --edge --devmode

The docs need to be updated accordingly until timetrace is stable.


Very high max memory allocation

The target/appassembler/bin/ scripts has Xmx set to 256G: https://github.com/castorini/Anserini/blob/master/pom.xml#L94
This is a very high memory allocation: I tried running Anserini with the default 256GB on a machine with ~90GB available memory and it kept increasing the heap until it had allocated it all + the swap file. This is expectable behaviour from the JVM: With 256GB the Anserini tools can only reliably run on a machine with at least that amount of available memory.
An ad hoc test with 39GB of ClueWeb12 material shows that IndexCollection with 40 threads runs fine with 8GB, both in lucene & solr mode. Maybe theXmx should be adjustable?
Addendum: This seems to be a replica of #516, except that the proposed solution there is to modify the pom.xml, which seems strange to me.

In https://github.com/castorini/Anserini/pull/573 the Xmx value has been reduced to 31G from 256G. From testing with the full cw09b dataset, it seems to remain stable around 24G. This might be a little high still, but it's much more reasonable than 256G.

Memory usage has been dialed back to 31g in commit 67ecbbe651335f94414a3e55bba5814be0292d4e.
Reran all regressions from scratch (including indexing):
[o] python src/main/python/run_regression.py --collection cacm --index
[o] nohup python src/main/python/run_regression.py --index --collection disk12 >& log.disk12 &
[o] nohup python src/main/python/run_regression.py --index --collection robust04 >& log.robust04 &
[o] nohup python src/main/python/run_regression.py --index --collection robust05 >& log.robust05 &
[o] nohup python src/main/python/run_regression.py --index --collection core17 >& log.core17 &
[o] nohup python src/main/python/run_regression.py --index --collection core18 >& log.core18 &
[o] nohup python src/main/python/run_regression.py --index --collection mb11 >& log.mb11 &
[x] nohup python src/main/python/run_regression.py --index --collection mb13 >& log.mb13 &
[o] nohup python src/main/python/run_regression.py --index --collection wt10g >& log.wt10g &
[o] nohup python src/main/python/run_regression.py --index --collection gov2 >& log.gov2 &
[o] nohup python src/main/python/run_regression.py --index --collection car17 >& log.car17 &
[o] nohup python src/main/python/run_regression.py --index --collection cw09b >& log.cw09b &
[o] nohup python src/main/python/run_regression.py --index --collection cw12b13 >& log.cw12b13 &
[o] nohup python src/main/python/run_regression.py --index --collection cw12 >& log.cw12 &

[o] nohup python src/main/python/jdiq2018/run_regression.py --collection disk12 >& jdiq2018.disk12.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection robust04 >& jdiq2018.robust04.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection robust05 >& jdiq2018.robust05.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection wt10g >& jdiq2018.wt10g.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection gov2 >& jdiq2018.gov2.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection cw09b --metrics map ndcg20 err20 >& jdiq2018.cw09b.log &
[o] nohup python src/main/python/jdiq2018/run_regression.py --collection cw12b13 --metrics map ndcg20 err20 >& jdiq2018.cw12b13.log &

Everything passes except for mb13, which throws OOM. It passes with 48g. Okay to keep 31g setting I think, just watch out when running regressions in the future.
Closing.


Cover unit test for use case GetProductsByCategoryUseCase.kt

Currently there is no testing for use case. It would be nice if we can set up one and cover them

I did some in app/src/test/java/com/hieuwu/groceriesstore/domain/usecases/impl/GetProfileUseCaseImplTest.kt, you can start writing test following the convention.


FLAPI-169: Move example descriptors to their own module.

Move the descriptors for examples to another module so that they can be generated on the fly without checking the descriptors into source control.
There would probably have to be an examples-test module as well to consume the generated sources.

Imported from JIRA
Originally reported by: UnquietCode

This seems to just create more clutter when there aren't that many classes to be generated, and actually it's kind of nice having them available for perusal in the repo.


v0.6.0-pre.1

oops - didn't mean this :)

Codecov Report

Merging #573 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #573   +/-   ##
=======================================
  Coverage   99.62%   99.62%
=======================================
  Files          91       91
  Lines         532      532
  Branches       56       56
=======================================
  Hits          530      530
  Misses          2        2

Continue to review full report at Codecov.

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

Deploy preview for govuk-react processing.
Building with commit 49465489beb599fa9b73072f8ee11ba0f50f03ac
https://app.netlify.com/sites/govuk-react/deploys/5c76a1f87946d0000bf5ca26


Fix issue with using ubuntu:latest

rsyslog service was no longer existent
when pulling from ubuntu:latest. Also instead
of relying on ubuntu:latest it's better
to rely on a specific version, such that our
image won't break on a new release.

@samos123 Thank you for submitting pull request, of course you're right.


Notebook toolbar keeps getting cut off

While using notebooks, the toolbar gets into the state that the overflow isn't shown. I don't have meaningful steps to reproduce, but got the sense that its often when I switch back from another editor tab.
The main problem this causes is that I need to show Outline and customizations during my demo, which are suddenly unreachable.

How it should look:

Version: 1.74.0-insider
Commit: 96db0b339360bc72d27d869d81a557540ad5f800
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
Embedder: codespaces

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


Get resource using go-client lister return not found in unit test

I'm trying to test our controller, and seem the lister doesn't return an expected resource.
Code:
fakeClient := fake.NewSimpleClientset()
fakeInformer := informers.NewSharedInformerFactory(fakeClient, resyncInterval)

deploy := &appsv1.Deployment{ /* name: test */ }
_, err := fakeClient.AppsV1().Deployments("default").Create(context.TODO(), deploy, metav1.CreateOptions{})
if err != nil {
  t.Fatalf("create deploy failed: %v", err)
}

expected, err := fakeClient.AppsV1().Deployments("default").Get(context.TODO(),"test", metav1.GetOptions{})
if err != nil {
  t.Fatalf("get deploy failed: %v", err)
}
fmt.Printf("deploy: %v\n", expected) // got expected

expected, err = fakeInformer.Apps().V1().Deployments().Lister().Deployments("default").Get("test")
if err != nil {
  t.Fatalf("get deploy failed: %v", err) // deployment.apps "test" not found
}
fmt.Printf("deploy: %v\n", expected) // got error before

The error what I got is deployment.apps "test" not found, so I wonder go-client has some mistake with lister, or I'm missing something when I init the fake client. I think go-client should use deployments.apps instead deployment.apps.

Problem solved, we need to wait to the indexer synced.
The example already described: https://github.com/kubernetes/client-go/blob/master/examples/fake-client/main_test.go


TODO: How to pass the directory of a weight file to an operator

Say we have an operator which takes the path of a model weight file as the init arg like following:

If the user provides the weight file in the operator repo, which in this case is clmr_magnatagatune&towhee$main/checkpoints/clmr_checkpoint_10000.pt
How do we deal with the init arg in pipeline yaml file?
We cannot use abs path since the different users have different user directory, we cannot user relative path since we don't know the under which directory will the users run the pipeline.

Issue brought up by @jaelgu and @Chiiizzzy
@fzliu @junjiejiangjjj @guo1

We could do it like this, so in the pipeline's YAML file, the init arg  model_name: a or model_name: b


Issues with implementing startTransform and zoom pivot

Subject of the issue
I have a large image 3456*2304 ,
i need this to be zoomed out when i load the page the first time and i want the zoom pivot to be either at the center of the parent div (when i click zoom-in zoom should occur from center of the div not center of the image) or from top left of parent div .
Your environment

version of jquery.panzoom 3.2.1
version of jquery 1.12
all modern browsers

Code

            <img class="panzoom" id="storemap_diag" style="z-index: 0;" src="<c:url value=" /resources/images/storemap_diagram.png "/>" alt="Store Map">
            1700
            1710

 $("#panzoom").panzoom({
			  $zoomIn: $("#zoom-in"),
			  $zoomOut: $("#zoom-out"),
			  $reset: $("#reset")
			});

		 $("#panzoom").panzoom("option", {
			   increment: 0.5,
			   startTransform: 'scale(0.35)',
			   focal: {clientX:0, clientY:0},
			   minScale: 0.25,
			   animate: true,
			   maxScale: 2,
			   duration: 500
			 });

So for the first part where i wanted my initial loaded zoomed out image [ startTransform: 'scale(0.35)', ] aligned top left i went ahead and changed
'transform-origin': this.isSVG ? '0 0' : '50% 50%'
to
'transform-origin': this.isSVG ? '0 0' : '0 0'
in panzoom.js
it sets my image as follows (aligned top and left)

but a zoom out with a increment of 0.5 results in such a scenario,

im thinking focal: {clientX:0, clientY:0}, sets the zoom pivot and zoom will lock  on set x y and zoom.
Im trying to get zoom to zoom from top left or center of image shown in container.
Any pointers as to what values i should set for setting the zoom pivot?
Thanks in advance for your help
and releasing this great library .
Cheers

Modifying the transform-origin will cause some wacky behavior associated with focal point zooming. But, note that focal is not an option to pass to panzoom. It is only an option on the zoom method. However, it sounds like you may not need the focal option, and overriding transform-origin may just give the behavior you want without setting focal.
See http://jsbin.com/fevolun/1/edit?html,js,output as an example.

hi
thanks i was able to get image to zoom from top left
can you tell me what will the values be to make the image zoom from center of the current image in view?
thanks


docs: (IAC-837) Add clarification text for V4_CFG_MANAGE_STORAGE settings

Change
Create the draft of new doc to be added to the Storage and PostgreSQL sections of CONFIG-VARS.md to help explain viya4-deploy behavior and expectations when setting values for the V4_CFG_MANAGE_STORAGE variable.

Hi @supear, here's the doc PR that Thomas reached out to you for help with this afternoon. Would appreciate any suggestions that you have while it get reviewed.

Should we use "viya4-deployment" instead of "viya4-deploy"?

Should we use "viya4-deployment" instead of "viya4-deploy"? You also already used "viya4-deploy" in other places in https://github.com/sassoftware/viya4-deployment/blob/stagingplus/docs/CONFIG-VARS.md. However, if you see the main page (https://github.com/sassoftware/viya4-deployment/tree/stagingplus), it only uses "viya4-deployment".

@jkmin96 each of the viy4-deploy refs were updated to use viya4-deployment instead

Closing this as PR #373 supersedes it and targets the staging branch instead.


[CLI] "db upgrade --connect" does not support URL-encoded passwords

If I provide these database settings using a database.yaml file:
username: postgres
password: Foo@Bar@       # Note the "at" signs!
host: foobar.com
port: 5432
databaseName: foo_bar

And run the aqueduct db upgrade command, everything is fine (i.e. the migration is applied).
But if I use the --connect option, I must URL-encode special characters, and I finally get this error:
$ aqueduct db upgrade --connect=postgres://postgres:Foo%40Bar%40@foobar.com:5432/foo_bar
# *** There was an error connecting to the database 'postgres:Foo%40Bar%40@foobar.com:5432/foo_bar'. Reason: unable to connect to database.

If I use "standard" characters (i.e. only letters and digits) for the password, the --connect option works as expected.

The problem is that the Uri class does not decode the userInfo component (i.e. its value is postgres:Foo%40Bar%40). So you must do it by yourself when extracting the username and password.
I will try to submit a PR to the safe_config package. The issue is not in the Aqueduct code.
Otherwise: thanks for this great project! :smiley:


example: capitalise network policies protocol

Kubernetes spec requires protocol to be capitalized, eg: TCP not tcp
Before:
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "alertmanager-web" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "alertmanager-mesh" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "grafana" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "kube-state-metrics" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "node-exporter" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"
Error from server (Invalid): error when creating "prometheus-network-policies.yaml": NetworkPolicy.extensions "prometheus" is invalid: spec.ingress[0].ports[0].protocol: Unsupported value: "tcp": supported values: "TCP", "UDP"

After:
networkpolicy.extensions/alertmanager-web created
networkpolicy.extensions/alertmanager-mesh created
networkpolicy.extensions/grafana created
networkpolicy.extensions/kube-state-metrics created
networkpolicy.extensions/node-exporter created
networkpolicy.extensions/prometheus created

After a bit more experimentation I see that with a basic default ingress/egress rule, these policies could do with expanding.

kube-state-metrics is now on 8443 and 9443
prometheus-operator not included
access from Grafana and Alertmanager to Prometheus
egress from kube-state-metrics and Prometheus to K8S API.
etc

I can submit what I end up with but this is going to be a bit of an exercise for the reader, especially if they are not running Calico or something. Thoughts?

Thanks!

Is there a way to have calico on minikube? I’d prefer if we tested this on every PR or at least when we manually est kube-prometheus.

we should definitely exercise the examples, otherwise this kinds of issues will continue to crop up

Agreed.


[Improvement][datax] Support DataX  parameter batchSize for writer

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Currently DataX task does not support writer parameter batchSize, therefore only the default values can be used, which is 2048.
However this default value is too small for some databases, such as the ClickHouse I'm using. The example value in DataX is 65536.
So I need the support of batchSize parameter.
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

i think can try do it

Using a custom template


Add microbenchmark mode to vicuna CLI

Add flags to enable a non-internactive mode for microbenchmarking llama models. In this mode, the system and user prompts are specified with CLI flags, and the number of generated tokens and iterations is fixed.
Also move the stats below the response and trim any response blankspace.

feel free to ignore the failing CI


Bump JWT dependency to 2.2.1

An attempt to update the JWT gem dependency as other gems that I want to use are having conflicts.

Uh, sorry for all this choppy updates, I keep bumping into small problems. I should've opened the PR after being sure that everything was working correctly, but my initial concern was to make the Travis CI pass.

hey @wkurosawa, you did a good job here! thank you!
@nsarno how about to merge this one? it will fix CI check for all the other PR's if they will perform a rebase on top of it.

@nsarno Any comments on this? I've been using with Auth0 in production since when I opened the PR. So far so good, but let me know if it should have any other changes in this PR.

@wkurosawa Thank you.


Data submission form

From php to the page, ajax, the data from the database table are loaded
while ($row = $query->fetch_assoc()) {
            $orders_history['Amount'][]     = $row['Amount']/100000000;
            $orders_history['dttm_close_order'][]      = $row['TimeCloseOrder'];
        }

And sent to the page:
$out = array(
'orders_history' => $orders_history,
);
        echo json_encode($out);

There is a js script script in which data is presented as:
lineSeries.setData([
    { time:1575949947, value: 80.01 },
    { time:<PHONE_NUMBER>, value: 96.63 },
]);

The question is how to bring the data to the form that comes from the database suitable for the schedule and how to integrate it there correctly? Thank you in advance

There is a js script script in which data is presented as:

What's the problem with this code? It looks pretty suitable for lightweight-charts. Can you please describe a bit more info?

I don’t understand how to create several lineSeries using a loop

Something like this:
for (let i = 0; i < 10; ++i) {
	const series = chart.createLineSeries({ /* options here*/ });
	series.setData([/* data here */]);
}

I try to do this:
for(var i = 0; i <result.orders_history1['Total'].length; i++){
            lineSeries.setData([
                  {time: parseInt(result.orders_history1['dttm_close_order'][i]),value: result.orders_history1['Price'][i]},

            ]);
        }

But only 1 dot appears on the chart

There is my array of time and values in console:
{"orders_history1":"Price":["0.020175","0.020175","0.020176","0.020175","0.020176","0.020176","0.020173","0.4981319","0.020176","0.53198616"],
                    "dttm_close_order":["1576043833","1576043833","1576043833","1576043833","1576043833","1576043466","1576043466","1576043466","1576043466","1576043466"]}}

So I upload the data to the page and to the graph:
function chartdata() {
$.ajax({
url: "graph.php",
type: "POST",
data: {
refresh: true
},
dataType: "json",
success: function(result) {
const lineSeries = chart.addLineSeries();
for (var i = 0; i < result.orders_history1['Price'].length; i++) {
lineSeries.setData([
{time: parseInt(result.orders_history1['dttm_close_order'][i]),value:
result.orders_history1['Price'][i]},
}
But only 1 point is displayed on the chart

But only 1 dot appears on the chart

Because you set only 1 point via calling setData method.
Try something like this:
function chartdata() {
	$.ajax({
		url: "graph.php",
		type: "POST",
		data: {
			refresh: true
		},
		dataType: "json",
		success: function(result) {
			const lineSeries = chart.addLineSeries();
			const data = [];
			for (var i = 0; i < result.orders_history1['Price'].length; i++) {
				data.push({
					time: parseInt(result.orders_history1['dttm_close_order'][i]),
					value: result.orders_history1['Price'][i],
				});
			}

			lineSeries.setData(data);
		},
	});
}


Windows and *nix filepaths

Many programs incorrectly accept filepaths or filenames and a path entered as an argument can break things. I added a path to calc.exe on windows, and python 2.7 on *nix, which exists almost everywhere

Perhaps a file path to /bin/sh could be used instead of Python 2.7.

Yup, might be a much better path


🐛 Abstracted lazy imports are not detected

Prerequisites

[X] I'm using the latest version
[X] I've read the relevant documentation
[X] I've searched for existing issues
[X] I've checked the list of known issues
[X] I've read the issue reproduction guide

Reproduction url
https://stackblitz.com/edit/github-yu5k5m-vxck8v?file=index.ts
Reproduction access

[X] I've made sure the reproduction is publicly accessible

Description of the issue
Reopening issue https://github.com/webpro-nl/knip/issues/616 as per the closing comment.
Problem Restatement
React lazy's default implementation creates for some undesirable behavior, so many projects will wrap it using a factory pattern. Knip's lack of support for this (emitting false positives) makes it a present non-starter for many large react projects.
The following code is properly caught by Knip
const Component2 = lazy(() => import('./Bar').then(({ Bar }) => ({ default: Bar })));

However, the following isn't (understandably)
const Component = lazyImport(() => import('./Foo'), 'Foo');

Responses to previous feedback
The component is typed as any
The previous stackblitz didn't have @types/react installed. This has been fixed.
Try --include-libs
No effect
Knip doesn't work if "find all references" doesn't
This would affect almost all uses of react.lazy() which is meant to work with default exports. If you try finding all references for Baz, it won't resolve. Luckily, Knip still catches this one.
I don't think it's fair to make this the bar.
How Knip could help here
As per the previous discussion, Knip not catching this is fair. We're abstracting the behavior across multiple functions, so it's not clear that 'Foo' is an export from ./Foo.tsx. However, it is statically analyzable, just non-standard.
Here are some ideas for solutions that I think would work for most projects like this
Supporting an import-list  option
This one is a bit messy but it technically solves the problem by allowing the consumer to do the work of resolving the imports.
I can run a script which finds all the imports and which file they're imported. It might look something like
importList: {
  // path it's imported from
  './foo/bar/baz.ts':  {
    // path it's importing
    './foo.tsx': [
      // named imports
      'Foo', 'Bar'
    ]
  }
}

I would pass this option to Knip right before running and Knip would then keep this information in mind when resolving imports.
It would treat it the same as if it say import { Foo } from './Foo'
Supporting custom resolvers
This one might be more perf-intensive, but it's opt-in.
For any file touched, run a script which defines the imports. Same as above, but doesn't force us to walk the tree ourselves.
Include any unresolved lazy imports
Less fun since it'll probably miss a bunch of cases, but it would help get rid of the absolutely massive amount of false-positives reported by Knip currently.
If knip sees () => import('./Foo') then include all named exports of Foo as an import.

 At this point I just don't fancy opening up more API surface area.
However, for the time being, what you describe as the import-list option can be done already using a preprocessor.
The preprocess function will receive the reporter data like this:
{
  "issues": {
    "exports": {
      "Foo.tsx": {
        "Foo": {
          "type": "exports",
          "filePath": "Foo.tsx",
          "workspace": ".",
          "symbol": "Foo",
          "symbolType": "unknown",
          "pos": 13,
          "line": 1,
          "col": 14,
          "severity": "error"
        }
      }
    }
  }
}

So Foo is incorrectly an issue, which you can filter out using the data you have found in your script. The preprocess function should return the modified data and it will be passed to the reporter.

Going to close this one, it's just too custom and workarounds are available (ignore, custom reporter).


Any plans to decouple from Foundation NSDATE?

There is no native swift Date class. Is it possible to use a lower api like Darwin to create replace your use of foundation?

The answer is no then? :) you don't want this to work on Linux? :)


Expander strange behavior when inside a Window

I took the same code as from Photonui expander's doc and put it inside a window.
The behavior is strange because the expander are not stacked together and split the space at 33% each.

Here is my code:
JavaScript:
var photonui = require('photonui');

var win = new photonui.Window({
	visible: true,
	fullscreen: true,
	closeButtonVisible: false,
	child: new photonui.BoxLayout({
		orientation: "horizontal",
		children: [
			new photonui.BoxLayout({
			    horizontalPadding: 10,
			    verticalPadding: 10,
			    spacing: 10,

			    children: [
			        new photonui.Expander({
			            title: "Expander 1",
			            child: new photonui.Label({
			                text: "Never gonna..."
			            })
			        }),
			        new photonui.Expander({
			            title: "Expander 2",
			            folded: true,
			            child: new photonui.Label({
			                text: "... give you..."
			            })

			        }),
			        new photonui.Expander({
			            title: "Expander 3",
			            folded: true,
			            child: new photonui.Label({
			                text: "... up!"
			            })
			        })
			    ]
			})
		]
	})
});

My CSS: (should not interfere)
html, body {
    margin: 0;
    width: 100%;
    height: 100%;
}

Possible solutions:
Here are the css rules that I find controlling this behavior:

Disable: height: 100%; from top BoxLayout element.
Disable: flex-grow: 1; from .photonui-boxlayout > .photonui-boxlayout-item

I just give this possible solutions like that but I didn't think about their usage.

Can you try adding stretchToParentHeight: false to the BoxLayout's options that is holding the expanders?
I'm pretty sure the behavior your are experimenting is related to BoxLayout and not Expanders.

Adding stretchToParentHeight: false does nothing.
And you are probably reason about the behavior being related to BoxLayout because I tried to use BoxLayout to structure my app and I gave the same behavior whenever the BoxLayout is going taller.

Just to complete, if we replace the Expander by Menu + SubMenuItem the behavior is correct.

Well, I just noticed that you have two BoxLayouts.
Set stretchToParentHeight: false to both (or just the outermost one), and it should fix the issue.
You also might not need the horizontal box, or should use a GridLayout if you have a complex UI to design.

Ok so I needed to put stretchToParentHeight: false on the outermost BoxLayout.
And yes, should probably try to use the GridLayout but I am not sure if this would make cleaner or not the GUI. Nevermind, thanks for your help @Breush
I let you close this issue if you think that the current behavior is OK.


Update User Guide

Updated user guide to contain the details of recent feature updates. Screenshots have also been updated.
Closes #116

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
see 2 files with indirect coverage changes


How to add a placeholder to ng2-daterangepicker single date component

First of all , thank you for adding this beautiful component. Please help me in adding a placeholder to single date picker component

use normal html placeholder attribute

normal placeholder attribute not working...

where are you using the placeholder? the directive doesn't modify any attributes, in fact it doesn't care whether you attach it to an input or any other html element.
If you share some code i can be able to assist you.

<input type="text" placeholder="test" class="form-control" daterangepicker [options]="options" (selected)="selectedDate($event, daterange)"/>
instead my placeholder i see the date range of today:
11.10.2017- 11.10.2017

The example shown to use this component at https://embed.plnkr.co/94HAl4q2ITLnahjhYOY0/ uses a span , hence placeholder attribute is not working. I changed it to input and now its working fine.
There is one more issue. If one uses a placeholder, then one cannot select today's day as its already selected.
For workaround , I am using the onapply action but its an additional overhead.

The placeholder has nothing to do with the selected dates in the picker.
If you don't provide a range in your options then the picker will have today's date selected as the start and end date. In the picker, there's always a range selected.
The picker itself does not get any values from the input attached to it unless you program a logic to update it depending on the input's value. If you look at my example above you notice the picker wasn't even attached to an input but a span and a button and it still worked.
Also an html placeholder is not a value and so there's no way it's going to affect the values selected in the picker.

@fadelguy in your example
<input type="text" placeholder="test" class="form-control" daterangepicker [options]="options" (selected)="selectedDate($event, daterange)"/>

There's no way the picker will modify the displayed value here has your input doesn't have ngModel directive

@evansmwendwa In case of single date picker , it's an issue , if we are using a placeholder . Single date picker selects today's date by default. Hence onselect function doesn't work it I try to select today's date.

@fadelguy  use ngModel. I have separated into ngModel and ngModelChange in order to use a date pipe :
<input type="text"  class="form-control"  placeholder="Choose Date"  daterangepicker
[options]="options" (selected)="selectedDate($event, daterange)"
[ngModel]="dateInput.start | date: 'MM/dd/y' " (ngModelChange)="dateInput.start=$event" />

@razorhenry1 @fadelguy I think i have understood the issue at hand, correct me if am wrong.
Im assuming you want to display an input where users can select a date but have it start without a default value hence end up displaying a the input placeholder until the user selects a value.
Since the picker always has a date selected and will attempt to automatically bind to to the attached control if it detects one (this can be disabled in your options)
I suggest approaching it like this.

Wrap the input with a div then attache the datepicker directive to that div - that way if users click anywhere in the div they will select a date and your input control can display the placeholder until a user selects a date.

See below example:
<div class="input-group" daterangepicker [options]="singlePicker" (selected)="singleSelect($event)">
    <input name="tDate" placeholder="Choose Date" type="text" class="form-control" [(ngModel)]="singleDate">
</div>

Updating the input ngModel after user selects a date
private singleSelect(value: any) {
    this.singleDate = value.start;
}

@evansmwendwa You got it right. I have created issue at : https://plnkr.co/edit/S0bcjqc0RyglUp9GIRPh?p=preview

Is the issue sorted now? The placeholder is displaying in the code sample

@evansmwendwa Please try to select today's date. Its an issue.

The datepicker automatically selects todays date by default if no startdate is passed in the options. You will not be able to select it because it's already selected.

@evansmwendwa  after your solution,
i can see the placeholder
but when i choose range dates, in the input i see [object, object] instead the range 'date-date'

The picker returns an object.
You console log the object or cast it to json {{ value | json }} to see the available properties


fix: login form, merge board slack msg, create board name error, handle votes

Fixes #579
Fixes #581
Fixes #589
Fixes #588
Proposed Changes

Change login form top space
Re-add user avatar tooltip on hover when the user isn't on the board page
Add elipsis tex-overflow on the sub board title
Add red color in the create board name textfield

This pull request closes #579
This pull request closes #581
This pull request closes #589
This pull request closes #588

Text overflow bug was actually a bug with the word "board" being cut off 😅

Background image on login is still cut off on default Mac resolutions


How does one create html body asynchronously?

Using the template approach, how can i use a promise that will be resolved with the HTML content that I want to inject inside the template body?

Your script file has to return a promise:
https://github.com/ampedandwired/html-webpack-plugin/blob/master/examples/javascript/template.js


Figure Out Logging

Is your feature request related to a problem? Please describe.
Some logging would be really helpful here for debugging, especially for some of the gnarly implementation details functions that are for the most part best effort and trying to look at pip installed packages.
This issue is for deciding

What we should use for logging and why
Actually adding some initial logs

Describe the solution you'd like
Import Tracker has no external dependencies at the moment, which is awesome. It would be neat to keep it this way; let's explore logging first before trying anything else. Comments will follow in the issue.
Describe alternatives you've considered

External packages like alog

Super nice and useful but also means adding actual dependencies which is not necessarily a good thing

Print 😬

Closed by #20


Outgoing calls

Hi,
we started working with the package and we see that it is working well on our android device.
The package support only incoming calls events, can you added an outgoing calls events?

The feature has been added on the version 2.0.0, be aware that this version brings some break changes.


Submodule Update

FYI you don't need to set "kokoro:run" since you're a collaborator

What's the difference between this and https://github.com/google/iree/pull/1254 ? Does this include a build fix or something? The PR / commit message could be more useful here.

What's the difference between this and #1254 ? Does this include a build fix or something? The PR / commit message could be more useful here.

This one is more recent. That one has a bad bazel build :(

What's the difference between this and #1254 ? Does this include a build fix or something? The PR / commit message could be more useful here.

This one is more recent. That one has a bad bazel build :(

Please phrase your response in the form of a PR description :-P

What's the difference between this and #1254 ? Does this include a build fix or something? The PR / commit message could be more useful here.

This one is more recent. That one has a bad bazel build :(

Please phrase your response in the form of a PR description :-P

Done.


ci: add release job

Description

Closes #69
Release test result: https://github.com/shiki-tak/wasmvm/releases/tag/v1.0.0-0.10.1
Types of changes

[ ] Bug fix (changes which fixes an issue)
[ ] New feature (changes which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] ETC (build, ci, docs, perf, refactor, style, test)

Checklist

[ ] I followed the contributing guidelines.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] The PR title and commits are followed conventional commit form.

This is failed.

https://github.com/line/wasmvm/runs/7834243083?check_suite_focus=true

Step 5/16 : RUN wget https://musl.cc/aarch64-linux-musl-cross.tgz   && tar -xf aarch64-linux-musl-cross.tgz   && mv ./aarch64-linux-musl-cross /opt   && /opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc --version   && rm aarch64-linux-musl-cross.tgz
 ---> Running in 0d2cc39a2f5e
Connecting to musl.cc (<IP_ADDRESS>:443)
wget: can't connect to remote host (<IP_ADDRESS>): Operation timed out
The command '/bin/sh -c wget https://musl.cc/aarch64-linux-musl-cross.tgz   && tar -xf aarch64-linux-musl-cross.tgz   && mv ./aarch64-linux-musl-cross /opt   && /opt/aarch64-linux-musl-cross/bin/aarch64-linux-musl-gcc --version   && rm aarch64-linux-musl-cross.tgz' returned a non-zero code: 1
make: *** [Makefile:13: docker-image-alpine] Error 1

Does this relate the below?

https://github.com/orgs/community/discussions/27906#discussioncomment-3332440

Should we prepare a proxy server?

I try to re make the Dockerfile using docker's image without using wget.

I need aarch64-linux-musl-cross for the wasmer build, but the github actions refuse to get it from musl.cc using wget.
Therefore, I use the image that already contains this as a builder and copy and use it.
https://github.com/line/wasmvm/pull/71/files#diff-a3e40ace4c88526a8320154b12cfc19c7b048c6fd2ea67ddddb3e4849711f249R10
If we should prepare our own Docker image beforehand without using this, then I think this is a matter for another issue.


Unable to download from facebook

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.12.09. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2018.12.09

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
 [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-p', u'PRIVATE', u'-u', u'PRIVATE', u'https://m.facebook.com/story.php?story_fbid=1141633999319733']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.12.09
[debug] Python version 2.7.15+ (CPython) - Linux-4.18.0-12-generic-x86_64-with-Ubuntu-18.10-cosmic
[debug] exe versions: ffmpeg 4.0.2-2, ffprobe 4.0.2-2
[debug] Proxy map: {}
[facebook] Downloading login page
[facebook] Logging in
[facebook]<PHONE_NUMBER>319733: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 605, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2212, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 473, in error
    return self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
    raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)

Description of your issue, suggested solution and other information
see above, unabel to download.

And no, I can't explain why current version verbose output mention older version..
andre@loke:~$ sudo youtube-dl -U
youtube-dl is up-to-date (2018.12.09)
andre@loke:~$ youtube-dl --verbose -p xxxxxxxxxx -u xxxxxxxxxxxx  https://m.facebook.com/story.php?story_fbid=1141633999319733&id=679455518870919#_=_
[1] 21880
andre@loke:~$ [debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'-p', u'PRIVATE', u'-u', u'PRIVATE', u'https://m.facebook.com/story.php?story_fbid=1141633999319733']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.10.05

Read error message.

yes, that 404 may be a huge clue.
what I am requesting in command line is:
https://m.facebook.com/story.php?story_fbid=1141633999319733&id=679455518870919
what I see youtube-dl trying is:
https://m.facebook.com/story.php?story_fbid=1141633999319733
where did the rest go ?


Pledging rewards: active vs total stake

For calculating pool performance, active stake instead of total stake is used. This wasn't accounted for in this document.
See sections 5.5.1 and 5.5.2 in https://hydra.iohk.io/build/7740466/download/1/delegation_design_spec.pdf.

I created a separate PR to the master branch to update active vs total stake details. Thank you for your contribution. Closing this now.


Acorn is installed to path, but I can't get it to work

So I did the global install for acorn using npm install -g acorn, but I still get the following error:
line 250, in assert_dependencies     assert is_installed('acorn'), "Acorn is required to parse javascript files " \ AssertionError: Acorn is required to parse javascript files but was not found on the path. Install it from npm and try again.
import code2flow
code2flow.code2flow(r'C:\Users\nikke\Downloads\Netview-system-develop', r'C:\Users\nikke\Downloads\test.png')
My environment is Windows 11 set in Finnish locale, python version 3.11 (installed through Microsoft Store) and npm is version 9.5.1. Acorn is version 8.9.0 (np, package version info was retrieved with npm list -g). Code2flow is version 2.5.1.

Hello,
I had the same issue this morning. Please ensure that acorn is accessible from a simple CLI call : $ acorn
If it's not, then the installation didn't work properly. I used brew as recommended in official documentation. For Windows, you should use scoop.

I am having the same issue. I could not find any solutions. I have tried installing acorn from npm and scoop with no success. This was also done in an elevated Powershell terminal to ensure no privilege issues creating hidden errors. Acorn is accessible from Powershell. All commands and relevant programs work, all PATH variables are set up correctly, and system reboots were done in this process repeatedly. I can't figure out why it isn't being found.
Environment: Windows 10 US English, Python 3.12.1, npm 10.4.0, Powershell 7.4.0, Pip 23.3.2, Code2flow version 2.5.1, Acorn v0.10.0 (from scoop install), Code2flow 2.5.1, and a partridge in a pear tree.

Had the same issue. Solved it with:
curl https://get.acorn.io | sh
See docs: https://docs.acorn.io/install


Text labels

Some mobile editors allow putting text pictures. It can be just text or embedded in some bubble for better look.
For this we need a button which creates a bubble and editable text inside. Would be great to be able to change shape and color of the bubble, or just disable the bubble and leave only plain text.

That's how this feature is implemented on Samsung Galaxy Note 10+

And that's how this feature is implemented on Huawei P10


Long context menu support

Hello, today I installed shell but I'm unable to see all context menu entries because my context menu is too long. So scrolling context menu or something like windows has by default when you context menu won't fit on your screen would be useful.
Some of icons where pushed of to more options section but some disappeared completely.

This is how long context menu looks with shell enabled:
This is how long context menu looks when just restored and tweaked by StartAllBack:

it's too too too long,
You can shorten it by moving items to a submenu, for example
add this code to static section
item (find='winamp|git|insync|powerrename|sign and encrypt' menu="more options")

Or you can long press in an empty place below the context menu and it will scroll the items.

@moudey Thank you! Though that there would be a way but without updated docs there is not much I can do.


ADO 14541850: Updating Live with changes in Main

https://msazure.visualstudio.com/Intune/_workitems/edit/14541850

Docs Build status updates of commit 8129a00:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/adapters-and-accelerators/adapter-oracle-ebs/security-between-oracle-e-business-suite-and-the-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sap/troubleshoot-operational-issues-with-the-sap-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sql/execute-stored-procedures-having-a-for-xml-clause-in-sql-server-using-biztalk.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sql/install-microsoft-biztalk-adapter-for-sql-server-2016.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/adapter-sql/receive-polling-messages-using-select-with-for-xml-clause-with-the-sql-adapter.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/installing-the-biztalk-adapter-pack-2016.md
:white_check_mark:Succeeded
View

biztalk/adapters-and-accelerators/update-or-uninstall-the-biztalk-adapter-pack-2016.md
:white_check_mark:Succeeded
View

biztalk/core/best-practices-for-deploying-a-biztalk-application.md
:white_check_mark:Succeeded
View

biztalk/core/biztalk-server-64-bit-support2.md
:white_check_mark:Succeeded
View

biztalk/core/common-errors.md
:white_check_mark:Succeeded
View

biztalk/core/deploying-biztalk-adapter-for-jd-edwards-oneworld.md
:white_check_mark:Succeeded
View

biztalk/core/edi-standards-support.md
:white_check_mark:Succeeded
View

biztalk/core/guidelines-for-resolving-web-services-permissions-problems.md
:white_check_mark:Succeeded
View

biztalk/core/host-instance-service-properties-in-services.md
:white_check_mark:Succeeded
View

biztalk/core/how-to-configure-requirements-for-host-initiated-sso.md
:white_check_mark:Succeeded
View

biztalk/core/how-to-diagnose-problems-with-the-http-adapter.md
:white_check_mark:Succeeded
View

biztalk/core/how-to-log-a-local-user-on-to-a-non-windows-application.md
:white_check_mark:Succeeded
View

biztalk/core/how-to-use-the-trace-utility-in-host-initiated-sso.md
:white_check_mark:Succeeded
View

biztalk/core/known-issues-with-the-mqseries-adapter.md
:white_check_mark:Succeeded
View

biztalk/core/loans-processing-using-business-rules-biztalk-server-sample.md
:white_check_mark:Succeeded
View

biztalk/core/medical-claims-processing-and-testing-policies-biztalk-server-sample.md
:white_check_mark:Succeeded
View

biztalk/core/sso-security-recommendations.md
:white_check_mark:Succeeded
View

biztalk/core/tools-and-utilities-to-use-for-troubleshooting.md
:white_check_mark:Succeeded
View

biztalk/core/troubleshooting-a-windows-server-cluster.md
:white_check_mark:Succeeded
View

biztalk/core/troubleshooting-bam.md
:white_check_mark:Succeeded
View

This comment lists only the first 25 files in the pull request.
For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel