Input not visible while mobile keypad is open

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
When the virtual keypad is open on mobile it is difficult to see what is being entered into the input field.
If the current behavior is a bug, please provide the steps to reproduce and create a JSFiddle.

Can be reproduced in the demo.
What is the expected behavior?
To see the overlay plus the input field, while the virtual keypad on mobile is open.
In some of the previous versions it was fixed, but it seems to be an issue in the latest versions.
Your environment:
Version (see Pickr.version):
Used bundle (es5 or normal one): Normal
Used theme (default is classic): Classic
Browser-version: Chrome 75.0.3770.143
Operating-system: Android 9

I don't know which issue it was, but back then if pickr could not moved somewhere it should stick on the top of the screen (which happens mostly on mobile devices), but on desktop it looks (at least in scroll-able containers) strange if the popup sticks to one edge :/ I'd need to detect whenever the user is on a mobile device to say it's fine if we stick pickr on the top of the screen...

OK fixed in b44648f4a3e1fa0f389d286ce54422a454da2232 :)

It seems like it works fine with media-queries. I'm not sure which would be the best, but at least for now you can easily enter the color on (most??) mobile devices. See https://github.com/Simonwep/pickr/commit/fee54521088dde47667b7426a5d36665f144f385#diff-8ed239244ebb411ee69de932344a573bR72


CB-9849 GCP : For FreeIPA use the GCP shared project id to query the …

…networks

If a user gives a shared project id and a vpc in it, then the reverse DNS zone calculations in FreeIPA is not done correctly.
To fix this we need to look at the network and subnet in the shared project.
This is fixed everywhere except at one place here.
The ultimate issue will be that DH can not talk to IDBroker, it will receive 401 due to lack of reverse DNS.
CB-9180 will take care of bailing out if we can not calculate reverse DNS zones.

./gradlew build

Tested in the private stack that the reverse DNS is actually populated for shared VPC with this fix https://github.com/hortonworks/cloudbreak/pull/9460

Received Cloud networks for region [us-west2]: [CloudNetwork{name='ent-private', id='5436519676448672560', subnets=[CloudSubnet{id='7405557895840205592', name='private-us-west2', availabilityZone='us-west2-c', cidr='<IP_ADDRESS>/20', privateSubnet=false, mapPublicIpOnLaunch=true, igwAvailable=true, parameters={}}], properties={IPv4Range=, creationTimestamp=2020-10-15T13:49:35.261-07:00, description=, gatewayIPv4=}}]

Subnets for reverse zone calculation : {7405557895840205592=<IP_ADDRESS>/20}

Reverse zones : 114.10.in-addr.arpa.

$ ipa dnszone-find --raw
  idnsname: 114.10.in-addr.arpa.
  idnszoneactive: TRUE
  idnssoamname: ipaserver0.gcp-rdns.r6zv-kv2u.dev.cldr.work.
  idnssoarname: hostmaster.gcp-rdns.r6zv-kv2u.dev.cldr.work.
  idnssoaserial:<PHONE_NUMBER>
  idnssoarefresh: 3600
  idnssoaretry: 900
  idnssoaexpire: 1209600
  idnssoaminimum: 3600
  idnsallowquery: any;
  idnsallowtransfer: none;

  idnsname: gcp-rdns.r6zv-kv2u.dev.cldr.work.
  idnszoneactive: TRUE
  idnssoamname: ipaserver0.gcp-rdns.r6zv-kv2u.dev.cldr.work.
  idnssoarname: hostmaster.gcp-rdns.r6zv-kv2u.dev.cldr.work.
  idnssoaserial:<PHONE_NUMBER>
  idnssoarefresh: 3600
  idnssoaretry: 900
  idnssoaexpire: 1209600
  idnssoaminimum: 3600
  idnsallowquery: any;
  idnsallowtransfer: none;
----------------------------
Number of entries returned 2
----------------------------

I just did some modification on the implementation. Probably in this way this is more maintainable.

@cegganesh84 can you please help with unit tests?

@doktoric @lacikaaa @biharitomi I have added unit test for the new class. I could not find existing test classes for other areas of modification. Could this be merged, please? We want to unblock QE.


Script does not always closes correct window

Script sometimes closes wrong window. For example if user works in the other window at the exact same time when pop-up happens.
Even if there is wait loop with just 100 milliseconds.
Is there a way to make sure only pop-up window is closed?

Testing with 1 ms seems to be almost 100% successful

Solved with Pull https://github.com/TBuryanek/Close-Windows-Popup/pull/2
Instead of ALT F4 there couzld be used taskkill.

Solved with Pull #2
Instead of ALT F4 there could be used taskkill.


Why chaosblade pod is sidecar?

Issue Description
Type: bug report or feature request
Describe what happened (or what feature you want)
chaosblade-tool is daemonset, chaosblade-operator is operator, when we create a experiment that is a blade cr not a container.
Sidecar is a side container with business/service container in the same pod. I think there is no sidecar role, could I sincerely get an explanation for this？

Describe what you expected to happen
How to reproduce it (as minimally and precisely as possible)

Tell us your environment
Anything else we need to know?

In order to solve the problem that the tc command does not exist in the chaos target container. This Pod is not necessary.

In order to solve the problem that the tc command does not exist in the chaos target container. This Pod is not necessary.

To solve problem about tc command, is not depends on chaosblade-tool？But it is a daemonset😂

You can set daemonset.enable=false to disable chaosblade-tool deployment.

You can set daemonset.enable=false to disable chaosblade-tool deployment.

Yeah, I got this, but chaosblade-tool is daomonset, there is no sidecar in the architecture?😂

You can set daemonset.enable=false to disable chaosblade-tool deployment.

Sorry, after I read the chaosblade-operator and chaosblade-exec-docker source code, I found the sidecar, thank you.


Use nil as a value in a parameterized query

I’m still a little fuzzy on how a parameter is turned into data that is stored into the database but I don’t think it is possible to do this currently.
This is an example of what I am trying to do.
Schema:
CREATE TABLE media_types (
    id uuid NOT NULL PRIMARY KEY,
    parent uuid
);

Query:
class Item {
	let id: UUID
	let parent: UUID?

	init(_ id: UUID, parent: UUID?) {
		...
	}
}

let item = Item(UUID(), parent: nil)

connection.query("INSERT INTO test_table (id, parent) VALUES ($1, $2) ON CONFLICT (id) DO NOTHING;", [item.id, item.parent]).wait()

I would expect that query to be equivalent to this SQL statement (which I verified works as expected):
INSERT INTO item_table (id, parent) VALUES ('BA4A2E9D-CCC2-433B-9D2B-E94A5F686122', NULL) ON CONFLICT (id) DO NOTHING;

The problem is when I run this I get the following error:
Whoops! An error occurred: ⚠ [PostgreSQLDiagnosticResponse.transformAssignedExpr: ERROR: column "parent" is of type uuid but expression is of type void] [Possible causes: column "parent" is of type uuid but expression is of type void] [Suggested fixes: You will need to rewrite or cast the expression.]

From what I can tell the optional PostgreSQLDataConvertible into a PostgreSQLData object of type .void here.  It seems like the framework is trying to match the types of the parameters to the column before attempting the query (I don’t know where this is happening though). If this is the case it would makes sense why I am getting the error.
I think it is desirable to be able to use nil as a parameter so I don’t have to manually construct the query being careful to only add items that have non-nil values.
I would be willing to help address this issue if someone could point me in the right direction. (Or show me how the framework already allows me to do this 😆)

It doesn't seem like this is an issue across the entire framework. From my testing it might only be an issue with how certain types are handled.

@addisonwebb this issue has been tackled in #72. Previously this library would use a .void data type if it could not resolve type information (such as in the case of nil). That has been changed to using .null which fixes the rewrite or cast the expression error.
That being said, SQL is still pretty finicky about null values. And the different database implements all have their own quirks. When in doubt, use NULL literal in the query string. vapor/sql has a special type for doing that.

👍 awesome! Thanks @tanner0101 !


change the test adapter to support react 17

Closes #211
Changed the adapter to work with react 17, changed react, react-dom versions and run the tests again with success

Thank you for this PR. We are discussing how to release it, because we cannot force react v17 at the moment in many other projects.


Connect to etcd server having minimal latency

What would you like to be added
: I'd like to add latency checking to etcd server and connect to the server having minimal latency.
Why is this needed
: To provide better performance to the key-value store read/write

In this experiment, the etcd cluster has 3 member nodes as follows:

Member 1: Located in Singapore (AWS)
Member 2: Located in Seoul (GCP)
Member 3: Located in Seoul (MS Azure)

Case 1: individual connection
A test program established the connection to each member node respectively.
I was able to get a response to the Status() call right away, but not for other calls.
I think it takes time to perform Raft (consensus algorithm) in a cluster.
As a result, it has an average response time.
Test result

Test case
Member 1
Member 2
Member 3

Status() call (like ping)
232ms
18ms
15ms

Health-check REST call
154ms
172ms
159ms

Get() call
149ms
169ms
154ms

Put() call
169ms
175ms
154ms

Case 2: multiple connections
A test program established the connection by multiple endpoints to utilize client load balancer.
There was not much difference in response time even when using multiple endpoints for the client load balancer.
Test result

Test case
Member 1
Member 2
Member 3

Get() call
149ms
172ms
153ms

Put() call
172ms
153ms
152ms

Currently, it seems that the effect of the latency is less than expected.


is there no replacement for magic:true for externally changing data-array?

Description:
Since the magic Parameter has been removed I cannot find a sufficient method to replace it. My whole application is built on  a PouchDB and I showed the constantly changing data without reloads. With magic: true all the changes where shown automatically and smoothly animated. But using .update() triggers my whole ractive to be redrawn which looks horrible.
Versions affected:
from 0.9 onwards
Reproduction:
My Code in a very simplified form:

fetchInitialDocs().then(renderDocsSomehow).then(changesIncoming).catch(console.log.bind(console));

function fetchInitialDocs(){
   //=> get the Data from PouchDB and build my Array
}

function renderDocsSomehow() {
    let myRactive = new Ractive({
      el: '#myDiv',
      template: 'my Template',
      data:{
        doc1: docs // => this is the Array all the Data is stored into
      },
      components: {myComponents},
      computed: {computedValues}
    });
    return myRactive;
}
function changesIncoming() {
    //here my changes appear
    renderDocsSomehow().update()
}

This works, but in my Interface there are a lot of foldouts, accordions and chart.js graphics, and all of those are reset or redrawn every time an update comes in (which can happen a couple of times every second). Is there a better way to replace the magic: true?

I believe magic: true was deprecated/removed in last version. Mainly because of various bugs and code complexity if I remember right.
...I guess the best option is to use ractive.set(....) when your data comes in. There are a couple of options you might try out to improve rendering. See https://ractive.js.org/api/#ractiveset

Yes it was, and though I do understand why it was removed I cannot find any workaround.
If I use  set(docs[index]) I get the same result as with .update():  the whole template get's redrawn and not only the changed item animated to it's new value as it was with magic.

What about set(docs[index], {keep:true})? ...or a set(docs[index], {deep:true})? (the latter one requires setting children elements to null to delete them).

The theory was to move this functionality into an adaptor and have it work in the same way you sync Ractive data with non-POJO data (e.g. Backbone models, RxJS observables, etc.). How exactly this should happen, I haven't wrapped my head around (yet)

Assuming the issue is caused by an ‘each’ statement, you could provide a keypath to the new ‘shuffle’ option:
https://ractive.js.org/api/#each-sections

The deepand keep had no Effect on the behaviour, but as for the each I really do use that quite excessively in my template. But ractive.set(docs[index], {shuffle :true}); did nothing (but I must admit even though I read the docs I did not fully understand how shuffle works)

{{#each people, 'profile.id' as shuffle}}...each person's profile id determines where they are in the list...{{/each}}

If I remember correctly, assume some data like this:
...
data: {
  people : [
    { profile: { id: 1 } },
    { profile: { id: 2 } },
  ]
}
...

Having this in the template:
{{#each people, 'profile.id' as shuffle}}
  <div slide-in-out>...</div>
{{/each}}

Items whose 'profile.id' is already rendered, won't be removed/added.
Ex. Replacing people with:
this.set('people', [
  { profile: { id: 1 } },
  { profile: { id: 3 } },
]);

will:

keep the <div> for profile.id = 1 as it is
transition out the <div> for profile.id = 2
transition in the <div> for profile.id = 3

Ok that sounds logical. thanks for the explanation.
I'll try to build it that way, but I'm not sure if that works in my case. All the arrays I use in my template are computed values, and quite complex in their structure. If I have to address every value in each {{#each}} separately as shuffle this is going to end up really complicated.
Despite the fact that it made problems or was not considered best practice, that's what I really liked about the magic: true. You had not to address every change manually and could concentrate on other stuff while ractive took care of the data updates.

Can you put together a minimal-ish example that displays the undesired behavior? If I have something I can play with, I may be able to come up with a solution for a set option, but I'm not positive I'm understanding the situation fully. Something in the playground would be great, but a repo or fiddle would work too.

I've set up script at Playground that shows what I'm am trying. It's not exactly what my original script does because I could not use all of the features, but has the same Problem and uses a similar approach. Feel free to have a look here.

I don't see any rendering issues here. Moreover, you are re-creating a brand new Ractive instance each time you click on the button. Lastly, there is a useless update() call. I also advise moving the template itself inside a script instead of string concatenations, it'll be more readable.

You are absolutely right. I just did not realize that with every call of  renderDocsSomehow() I create I new Instance of myRactive... No wonder it get's redrawn.
If I define my Ractive at the very beginning of the script, so it is globally accessible I can use .update() and everything works great.
Thanks a lot!

I was about to say the same thing as @dagnelies did, but I also want to share a re-write according to my understanding: Playground
My version is not behaving exactly as yours, but I think that's normal since we are pushing different documents (_id's differ).
As a CouchDB user, I prefer using objects and manipulating the properties, then call this.update('myobj'). This will provide magic=true look and feel, plus it will be more declarative.

That's an interesting approach as well. The real script is in fact a CouchDB/PouchDB thing where updates are based on this idea by Nolan Lawson. The different _id values where just due to a lack of coffee and the setup is quite different from the real application as I could not use a couple of things in Playground.  I'll see if I am able to fiddle your approach in my original application...

By the way, using set() to update the data is recommended. update() is more of a hack when something is out-of-sync because of external influence. You can also close the issue if you think your issue is "solved".

@dagnelies

By the way, using set() to update the data is recommended

It may not be the case: https://gitter.im/ractivejs/ractive?at=5b1e650b144c8c6fea893e4c


IE: Bugs with help layer

X-button in Help layer is missing.

Seems to be fixed :) In IE 11
Tested with JAMK Desktop
Client version:	v1.2.70
API version:	v0.4.28
IMG version:	v0.1.9

Still problem with Ubuntu Chrome

IE 11 and Ubuntu + Chrome Version 43.0.2357.134 seems to be ok. Still just a mess with mobile devices.

Tested on Ubuntu 14.04 with Chrome version 43.0.2357.134 (64-bit) and Firefox version 39.0 with no issues.
Is there any specific steps to reproduce this issue?

This might be a CSS issue help layer button and the icon inside it. Have we made sure the vendor-prefixes are in places for the relevant attributes?

Verified as fixed..
Client version	v1.2.86
API version	v0.4.34
IMG version	v0.1.10


Extending to batched inputs

Referring to https://github.com/GoogleCloudPlatform/vertex-ai-samples/blob/main/notebooks/community/ml_ops/stage6/get_started_with_tf_serving_function.ipynb.
How can I include multiple encoded image strings in a single request?
In particular,
instances = [{serving_input: {"b64": b64str}}]

prediction = endpoint.predict(instances=instances)

print(prediction)

Here b64str is just one single image.
Cc: @andrewferlitsch

Furthermore, how would I need to construct the request payloads when using the TF runtime as shown in this notebook?

@sayakpaul As a list:
instances = [{serving_input: {"b64": b64str_1}},
{serving_input: {"b64": b64str_2}},
]

@andrewferlitsch thank you, but how should they be structured if I were to create a warmup request payload for TF runtime (reference)?

@andrewferlitsch any inputs?


question

How might one use go_reuseport and load balance requests between processes without proxying?

Hi, @lordnynex! Did you figure it out or you still need help?

Hello! Thanks for getting back to me.
I actually have not tried since filing this issue. I'd assume I would have to proxy to a backend port that is using so_reusseport. I think at the time I tested with multiple processes, only one process was receiving traffic. Did I miss something simple? Feel free to close this issue if you don't want it taking up space in your issue tracker.
After asking this question I spent some time looking into fork() in go and found out this is not a very popular pattern in go. My original goal was to implement pre-fork server using go_reuseport.

@lordnynex I understand many time passed, but… Do you still need help with that issue?


BF6 encounters  lock expired  exception

Description
Running Scenario player with light client gives
{
  "result": "scenario error",
  "message": "HTTP status code \"409\" while fetching http://<IP_ADDRESS>:58917/api/v1/payments/0xC563388e2e2fdD422166eD5E76971D11eD37A466/0xFa6Ab2E50c4e93037ABc86fB1E7e51b858f0Db23. Expected 200: {\"errors\": \"Payment couldn't be completed because: lock expired\"}",
  "event": "Run finished",
  "logger": "scenario_player.main",
  "level": "error",
  "timestamp": "2020-10-02 11:09:24.918355"
}

Many payments in many nodes have errored mostly from this task
- parallel:
          name: "Every node sends 5 payment using Node 0 as hub"

scenario-player-run_bf6_stress_hub_node_2020-10-02T15:57:32.log
Acceptance criteria

Tasks

[ ]

Was this with webRTC disabled?

Actually I did not enable or disable webrtc, I think default is enabled right ?

There's some issue with sending messages while waiting for partners to join rooms, which triggers only on high-load scenarios like BF6. This may also affect WebRTC. I'm working on it.


Added: Google implementation

For now it only has compute_instance and the attribute machine_type but it has the bases to extend it  with other resources and attributes.
Related to #2

Done/Commented.

Some logic uses SKU some Sku while it would be more coherent to always use the same format, it seems more logical to go for SKU.

Did change that, but it's only one function fetchSKUs the other Sku are the internal name that Google has so I cannot change that.

The contribution documentation could be perhaps extended to help users on adding new elements for GCP.

I was planning on having a separated PR improving the general docs on how to contribute/extend providers.

I'm wondering if the tests we have also cover enough use-cases (despite having limited amount of services supported); such as: invalid region, service, etc

Test are quite limited because there is not much done, I added one for the service, but for the region/zone on Google I'm not validating anything right now, I can have a static map of available region/zone similar to what we have on AWS but Google already has that validation so if a wrong zone is used it'll fail.

I've pushed more changes as I added a test to estimate Google HCL and fixed and issue found in the process.

I'm not sure the doc/comments got addressed despite the reaction on the comment, seems like various are missing.

Ok CI fiexd and which are the comments you say are missing? I think I tackle them all

Done


[Bug] Legacy Template adds extra indent to template literal strings

Describe the bug
When using the legacyTemplate option, extra spaces are added to a template literal string. This breaks storybook stories that use for example template literal strings to set markdown text. These extra spaces are not added to the normal component.
Steps to reproduce the behavior
https://github.com/olafurw/svelte-storybook-indent-bug
Clone this repo, run npm run storybook and to go the Test story.
Expected behavior
No indent, like the normal component.
Screenshots and/or logs

Environment

OS: Ubuntu 24
Node.js version: 20.18.0
NPM version: 10.8.2
Browser (if applicable): Firefox
Browser version (if applicable): 131
Device (if applicable): Desktop

Hi, thanks for nicely prepared bug report! ❤
The issue is on svelte-ast-print and when I catch some free time, I'll try to figure out how to solve your case.

@olafurw I believe I solved your issue. I used your reproduction repository to test it out.
What you can do is reinstall dependencies with your package manager - svelte-ast-print should be upgraded to 0.4.2.
Unless I overlooked something, then please do let me know and we can reopen this issue.


Prose is not displayed for groups in a catalog

Description
Groups can have parts which have prose. This prose is not currently displayed in the viewer application but it should be, perhaps above the controls on the right-hand side of the tab selector?
Environment
oscal-viewer.msd.easydynamics.com
Steps to Reproduce
Sample catalog link will be provided
Expected behavior
The prose for a group should be displayed, both for /groups and //groups.
Actual Behavior
No prose is displayed for groups. In fact, it seems like parts is never considered at all.
Additional Notes
No response

Consider using this sample catalog for testing:
https://github.com/EasyDynamics/oscal-demo-content/blob/test-content/catalogs/basic-test-catalog.json


rotate fast

faster rotate, ~20m with alignment=1

I need to test 2-3 variants of this. I don't know if rotating the fourrier of conv layers is empirically better than simply rotating like it used to do.

For the record: the fourrier approach does not work at all. Other alternatives work better.


[Crash] "The procedure entry point AddMandatoryAce could not be located in the dynamic link library chrome.exe" | Supermium 121 64bit

As the title says, I cannot start Supermium 121 64bit due to this crash. Other users reported procedure entry point crashes, but those were related to progwrp.dll. Mine's related to chrome.exe.
I've been using Supermium since the first release and version 119 had/has no issues. I reverted back to that for now.
My OS is Windows 8.1 64bit. I've tried Supermium 121 through the installer and also by extracting the files with 7zip. Also deleted the progwrpg.dll but it's unrelated to the error.
Something else that's weird. Since the 121 installer deleted my 119 files I redownloaded the 119 installer but after running it I still had 121 in the folder. I used 7zip to extract the files into the Supermium folder. It now contained the 119 and 121 subfolders and the 121 progwrp.dll. I accidentally without replacing the dll started Supermium and it launched. AFAIK Chromium on start uses the highest version number files, meaning I launched 121 through the 119 chrome.exe. The result wasn't good though. My tabs were present but the active tab didn't load the webpage (Twitch) and in the bottom right I got a dozen crash popups for extensions. I closed the browser, relpaced the dll and deleted the 121 folder. It seems that 119 and my profile still work normally.
Anyway, I can't run Supermium 121 due to this AddMandatoryAce procedure entry point in chrome.exe. Also a suggestion, the installer should not silently remove the previous installation. The Chromium updater always left the old version alone but also overwrote the chrome exe. Maybe move those files to a backup subfolder?

I think there was a mismatch between the Supermium binaries that caused this to happen.
The installer is inherited from Chromium, but it seems that as time goes on it does a poorer job at serving 8.1 and even 10 users, and is poorly suited to the changing demands of Supermium itself (for example, I plan on providing extra fonts for older versions of Windows on user request and the silent Chromium installer is not made for that). I am going to rip it out completely. And yes, it should be able to preserve previous versions and back up profiles. Thank you for the suggestion.

Thanks for the quick reply. Just to make sure can this mismatch be resolved or am I stuck with 119 from now on? No pressure if it takes time or anything since 119 still works fine.
By the way thanks for making this fork in the first place. When I first switched to it from Chromium I had no issues and some of its newer features made me like Supermium more than base Chromium.

If 121 is extracted to a completely separate folder, then the mismatch will no longer occur. There are no known profile incompatibilities between 119 and 121. If problems persist, check AppData\Local\Supermium\User Data\Crashpad\reports for any dumps.

121 is working now after downloading the new 121 Fix and extracting the files. Thanks again for the help.


k8s: add K8s services equalness and missing function

With this commit, Cilium will no longer send unnecessary AddFunc events
and running useless operations for services that have non-relevant
changes.
Signed-off-by: André Martins<EMAIL_ADDRESS>Read per commit basis.
Stop triggering unnecessary loadbalancer setups for every Kubernetes service watch event.

This change is

@nebril can you take a look? I just want to make sure I don't miss anything since the headless services also affect the policy, and you are more familiarized with that code.

test-missed-k8s

test-missed-k8s

Changed release not level. We'll point this out as one big major item.


NPM package

Any plans to make plyr available via npm?

Sounds good. Will take a look :+1:

+1

+1 hit this today at work when a colleague wanted to install it via npm

The latest version is now included in npm. Let me know if you run into any problems.
npm install plyr


Add liveserve to the commands that have host set

When using the hawkins gem to provide live reload, jekyll is loaded using jekyll liveserve. This change adds liveserve to the list of commands that activate the -H <IP_ADDRESS> argument.

I'm sorry to reject this but we only modify and accept official commands for our shims.

That's ok. I ended up making a fork anyway, it's easy to rebase and keep up to date. It adds this, the extra gems I use, and a Dockerfile to create an image that can build the jekyll image ;)


hostname Attribute error when NetBoxInventory2 plugin in use

Hello,
playing around with nornir and netbox.
I get this error:
Traceback (most recent call last):
  File "/root/dave-dev-environment/lib64/python3.9/site-packages/nornir/core/task.py", line 99, in start
    r = self.task(self, **self.params)
  File "/root/dave-dev-environment/dcom/nornir_lib.py", line 30, in getVlan_obj
    net_connect = task.host.get_connection(CONNECTION_NAME, task.nornir.config)
  File "/root/dave-dev-environment/lib64/python3.9/site-packages/nornir/core/inventory.py", line 493, in get_connection
    conn = self.get_connection_parameters(connection)
  File "/root/dave-dev-environment/lib64/python3.9/site-packages/nornir/core/inventory.py", line 427, in get_connection_parameters
    r = self._get_connection_options_recursively(connection)
  File "/root/dave-dev-environment/lib64/python3.9/site-packages/nornir/core/inventory.py", line 456, in _get_connection_options_recursively
    sp = g._get_connection_options_recursively(connection)
  File "/root/dave-dev-environment/lib64/python3.9/site-packages/nornir/core/inventory.py", line 467, in _get_connection_options_recursively
    p.hostname = p.hostname if p.hostname is not None else sp.hostname
AttributeError: 'dict' object has no attribute 'hostname'

I googled around and found this ticket which i thought was interesting: https://github.com/nornir-automation/nornir/issues/779
Specifically the last comment.
when i run what was suggested in that ticket, i get the hostname and associated primary_ip
print (nr.inventory.hosts[var].hostname)

for name, host_obj in nr.inventory.hosts.items():
            print(f"{name} -> {host_obj.hostname}")

# results in:

Xxx:xxx:1::36
rtr-36 -> xxx:xxx:1::36

Honestly, just starting out with nornir. So my debug skill are not so great.
What could be the cause for the errors?
any input is appreciated!
thank you,
Dave

Can you provide a little more detail on when and how this issue is triggered?
I'm not immediately able to reproduce what you describe.
Can you please share:

relevant parts of the script (tasks, InitNornir, filter statements, ...)
Nornir config file (if used)
defaults/groups file(s)
Python version
nornir version
nornir-netbox version
other nornir plugin's version
NetBox version

@wvandeun
ill get this to you this week!!
Thank you for the support!

the script:
from dcom.nornir_settings import *
import sys
import pprint
from nornir import InitNornir
from nornir_napalm.plugins.tasks import napalm_get
from nornir.core.task import Task, Result
from nornir_utils.plugins.functions import print_result
from nornir_netmiko.tasks import netmiko_send_command
from nornir_netmiko.connections import CONNECTION_NAME
from genie.libs.parser.iosxe.show_cdp import ShowCdpNeighborsDetail
from genie.libs.parser.iosxe.show_lldp import ShowLldpNeighborsDetail
from genie.libs.parser.iosxe.show_vlan import ShowVlan
from unittest.mock import Mock

def getLLDPnei_obj(task: Task) -> Result:
    if(task.host.platform == 'ios'):
        net_connect = task.host.get_connection(CONNECTION_NAME, task.nornir.config)
        #result = net_connect.send_command("show cdp neighbors detail")
        result = net_connect.send_command("show lldp neighbors detail")
        #parser = ShowCdpNeighborsDetail(Mock())
        parser = ShowLldpNeighborsDetail(Mock())
        result = parser.cli(result)

    return Result(
        host= task.host,
        result= result
    )

var = sys.argv[1]

nr = nr.filter(name=var)

print (nr.inventory.hosts[var].hostname)

# this returns the hostname > primary_ip
for name, host_obj in nr.inventory.hosts.items():
            print(f"{name} -> {host_obj.hostname}")

getNeighbors_obj = nr.run(name="get LLDP neighbors",task=getLLDPnei_obj)

print_result(getNeighbors_obj)

The nornir_settings.py:
from nornir import InitNornir
from dcom.requests_disable_ssl_warning import *
from dcom.load_dot_env import *
import os

nr = InitNornir(
    dry_run=True,
    runner={
        "plugin": "threaded",
        "options": {
            "num_workers": 100
        }
    },
    inventory={
        "plugin": "NetBoxInventory2",
        "options": {
            "nb_url": os.getenv("NB_URL"),
            "nb_token": os.getenv("NB_TOKEN"),
            "ssl_verify": False,
            "flatten_custom_fields": True,
            "use_platform_napalm_driver": True,
            "filter_parameters": {
                "region": 'usa',
                "site": 'usa-wkl'
            }
        }
    }
)
# Set the username and password using the environment variable
nr.inventory.defaults.username = os.getenv("DEVICE_USERNAME")
nr.inventory.defaults.password = os.getenv("DEVICE_PASSWORD")
nr.inventory.defaults.connection_options = {'netmiko': {'extras': { 'fast_cli': False, 'global_delay_factor': 2 }}}

relevant versions:
Python 3.9.6
nornir                       3.2.0
nornir-napalm                0.1.2
nornir-netbox                0.3.0
nornir-netmiko               0.1.2
nornir-utils                 0.1.2
netbox - v3.1.10

genie                        22.2
genie.libs.clean             22.2
genie.libs.conf              22.2
genie.libs.filetransferutils 22.2
genie.libs.health            22.2
genie.libs.ops               22.2
genie.libs.parser            22.2
genie.libs.sdk               22.2

@wvandeun hope that covers it.
Please let me know if I missed anything
Thank you,
Dave

In nornir_settings.py on the last line, you are defining connection_options as a dict. This is not correct. It should be defined as a ConnectionOptions object.
from nornir.core.inventory import ConnectionOptions
nr.inventory.defaults.connection_options["netmiko"] = ConnectionOptions(extras={ 'fast_cli': False, 'global_delay_factor': 2 })```

Yup!
That was it!!
thank you very much
closing


jjjchens235/bing-rewards got disabled

just fyi, https://github.com/jjjchens235/bing-rewards and all of the forks got disabled. You might want to consider moving to gitlab.
I assume they care less, considering they are not owned by Microsoft afaik

Thanks for the heads-up. I haven't been following all the forks, are there additions being made? I would accept PRs if people are still using this.
Do you know if GitHub disabled the repo, or if the user simply deleted the fork?
Some of the others seem to still exist.

I believe it is completely independent, it doesn't use PyAutoGUI. But it serves the same purpose.
I went to web.archive.org and got a list of all forks. All of the forks that I checked are also disabled.
Also, the message when loading the github url it states:

Access to this repository has been disabled by GitHub Staff due to a violation of GitHub's terms of service.

Oh my bad, this is a different project with the same name as mine? I looked into it. Looks they they were using a more complicated headless method using selenium. I believe I saw a few projects using this back before I made my script. My goal was to create a simpler semi-automated method as an alternative. If they come for me, I'll move to Gitlab, but the tool will still be available on PyPi.
Again, thanks for the heads-up. I need to revisit this project and give it some TLC, as I haven't tested or used it in a while and there are some issues. Maybe I'll have time for that soon.


fix(codegen): print type parameters for MethodDefinition

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#3922  👈
#3921
#3920
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Dunqing and the rest of your teammates on  Graphite


feat: Added Lidl HG08008 measurements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2768

Relevant Lines:
2813

💛  - Coveralls


Support project configurations

As mentioned by @lifeiscontent, in #81, project configurations have to be supported.

[x] Support all .prettierrc family
[x] Support .svgo.yml family

@neoziro nice job man! 👍


G4NRFPhysics.cc error 34:3 'aParticleIterator' not declared in this scope

When attempting to incorporate G4NRFPhysics.cc into my own code I Get the following error:
aParticleIterator->reset(); not declared in this scope
suggested alternative: 'GetParticleIterator'
GetParticleIterator->reset();

Ah I found the issue by looking at your source code comment. Does G4NRFPhysics.cc work for Geant4 version 10.5?

If I recall, the check
// Check if Geant4 version is >= 10.3.0
#if G4MAJV * 10000 + G4MINV * 100 + G4SUBV > 100299
auto aParticleIterator=GetParticleIterator();
#endif

worked well for us switching across the 10.3 boundary on different machines. It expect it should with 10.5, but if not, please let me know.

@jacobbickus I was able to clone the repo onto a fresh laptop with a geant4.10.5 install and get it up and running with no compiler errors. There was a small visualization issue that I solved by changing OGLIX to OGLSX in one of the vis scripts, though I don't know if that's a geant4 version issue per se. Let me know if you run into any other issues; if not, I'll close this Friday.

I was able to get it up and running without issue after I commented out the
if statement checking for Geant4 10.3 in NRF.cc.
Thanks for the quick responses!
Very Respectfully,
Jacob E Bickus
2LT, US Army
Lincoln Laboratory Military Fellow
MIT, Graduate Student
Cell:<PHONE_NUMBER>
On Wed, Sep 9, 2020 at 3:08 AM jvavrek<EMAIL_ADDRESS>wrote:

@jacobbickus https://github.com/jacobbickus I was able to clone the
repo onto a fresh laptop with a geant4.10.5 install and get it up and
running with no compiler errors. There was a small visualization issue that
I solved by changing OGLIX to OGLSX in one of the vis scripts, though I
don't know if that's a geant4 version issue per se. Let me know if you run
into any other issues; if not, I'll close this Friday.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jvavrek/NIMB2018/issues/2#issuecomment-689354800, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AOZUV626QDZ7NJLGHHTH3RTSE4SWFANCNFSM4Q7GMAVA
.

Sounds good; I'll close this


Click command to download data from the database

In order to provide a granular backup of the data in the db, we need a way to save in a text file (or series of files) all of the data that's in the database. This way, should anything happen to any records in the prod database, we have a way of restoring that data down to the affected record(s).
The click command should connect to the database and download all of the data into text files in the docker container.

Is this issue still open ?

I was going to work on it but it's been 3 months and I haven't allocated the time to work on this that I originally intended. If you can do it, go for it. If not, no big deal

Okay. Thanks!


Update JavaScript sections

Explanation
Update JavaScript docs to 0.12.1

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!

LGTM


Add option to configure quiet zone

There are use cases, where predefined quiet zone is not desired. Currently,
there no way to configure it, only change hardcoded value.

I can implement it myself and send pull request (sorry for github slang)), but
it would be great to hear your answer and opinion before.

And thanks for the amazing library. The best golang QR library I've tried so
far. Also code is super easy to read and understand (especially after reading
code of other QR-encoding libraries).

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 24 Feb 2015 at 5:09

This has been fixed in https://github.com/skip2/go-qrcode/pull/24 . Borders are now made the minimum size possible. There's also now an option to disable borders entirely too.


Add API Documentation via Doxygen

While the raylib cheatsheet is great to get function hints as to what functions are available and what they do, it doesn't really go into detail into how the methods work.
Adding API doc comments in the doxygen format will allow us to add a lot of detail for each method.
Example
/**
 * Initialize the window and OpenGL context.
 *
 * @param width The width of the window
 * @param height The height of the window
 * @param title The title for the window
 */
void InitWindow(int width, int height, const char *title);

It could exist in the sources itself, rather than raylib.h, just to allow the header itself to be small. Scanning the source with doxygen would generate nice API docs.

So, instead of the camera functions having their docs in raylib.h, they would be in camera.h?

That's a possibility. Could exist in raylib.h instead! Mostly would be great to have more API docs, anywhere really.

I think it would be better in raylib.h, that's where I go to look up functions and such.

Personally, I don"t like Doxygen, I find it cumbersome and redundant in most cases, also it increases considerably the files size. For that reason I tried to be very clear on functions naming and parameters, trying to be mostly self-explanatory and able to reduce required documentation.
All additional information for not that clear functions could be provided through examples, also more illustrative than a plain explanation...
But I'm open for some documentation not intrusive with code.

No plans to add Doxygen documentation. Closing the issue for now.

One comment on this.. perhaps we could have a second raylib header, just be a reflection of the current one like raylib_doc.h where all documentation can be

@Gamerfiend Sorry but that implies a maintenance cost that at this moment I can't assume, it can also be confusing for people checking the repo. Easier approach to documentation would be some pages (or only one page) in the Wiki of the project (anyone can edit it).


The close all tab warning could prompt the user to enable "persist window layout" if it's disabled

An off-the-cuff suggestion from @chendrixson
If the user doesn't have "remember window layout" enabled, and they close more than one tab, maybe we could add a checkbox to that dialog to ask them if they want to turn that setting on.
Thoughts:

Turning the setting on and saving the window layout at this point in teardown might be tricky
Is there a way for users to say "No I absolutely do not want to save the layout and stop asking?" Does that even matter? It's just a checkbox...
Is there a way to remember the layout once, like, for just the next launch?
How does this play with the "close multiple panes" warning / multiple processes?
Should we put this in the quit dialog? (we should put it there too)

I think that the user himself should think about saving the layout or doing nothing. I never save, because once I saved the current KDE session and then could not log in due to the failure of one of the widgets, then I had to log in to TTY and manually edit the xml files.


Bump openstack-baremetal-operator

/test precommit-check

Rebased https://github.com/openstack-k8s-operators/openstack-operator/pull/627 and will close this if that one merges earlier.

recheck

/test precommit-check

@rabi wondering what version of golang you are using locally?

Hmm. Mine is 1.19.10, not sure how all those extra stuff got in in the PR. Locally I've only the changes to baremetal-operator entries it seems.

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl

/test openstack-operator-build-deploy-kuttl

the other one https://github.com/openstack-k8s-operators/openstack-operator/pull/627 approved, so this no longer needed.


Component selector is removed from index.html on hot reload

For the life of I can't figure out why this is happening.  Making a change to a component or css triggers the hot reload as expected, but during the reload lifecycle, my index.html app element is deleted from the body.
Component:

HTML Before reload:

HTML After reload:

This causes the following error to be thrown:

So, it is important to implement the hmr lifecycle hooks in the app module.  Specifically, the following is required in the AppModule:
hmrOnDestroy(store)
I had left this out because I wasn't trying to maintain state, overlooking the fact that the createNewHosts method is called within this destroy method.  CreateNewHosts creates a new psuedo app element prior to the deletion of the old app element.


Nav rewrite: EF.Property navs not rewritten correctly

Using EF.Property instead of a member access can result in different behavior during nav rewrite.
E.g.
  var customers
        = context.Set<Customer>()
              .Select(c => _Include(c, new [] { (object)EF.Property<ICollection<Order>>(c, "Orders") }))
              .ToList();

will generate:
'from Customer c in DbSet<Order>
  where Property([c], "CustomerID") == Property([c], "CustomerID")
  select object IncludeSqlServerTest._Include(
      customer: [c],
      collections: new object[]{ (object) DbSet<Order> }
   )'

which will then cause:
System.ArgumentNullException : Value cannot be null.
Parameter name: querySource
	at Microsoft.EntityFrameworkCore.Utilities.Check.NotNull[T](T value, String parameterName)
	at Microsoft.EntityFrameworkCore.Query.RelationalQueryModelVisitor.AddQuery(IQuerySource querySource, SelectExpression selectExpression)
	at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.RelationalEntityQueryableExpressionVisitor.VisitEntityQueryable(Type elementType)
	at Microsoft.EntityFrameworkCore.Query.ExpressionVisitors.EntityQueryableExpressionVisitor.VisitConstant(ConstantExpression constantExpression)

When using a member access instead, the correct QM is produced:
'from Customer c in DbSet<Customer>
  select object IncludeSqlServerTest._Include(
      customer: [c],
      collections: new object[]{ (object) ICollection<Order> MaterializeCollectionNavigation(
              navigation: Navigation: Customer.Orders (<Orders>k__BackingField, ICollection<Order>) Collection ToDependent Order Inverse: Customer 0 -1 1 -1 -1,
              elements:
                  from Order o in DbSet<Order>
                  where Property([c], "CustomerID") == Property([o], "CustomerID")
                  select [o]
          )
           }
    )
  '

Backlog because we don't have shadow navs yet.

Bringing back to 2.0 as it turns out this is needed for write-only nav properties

This is now fixed, most likely as a side effect of collection navigation changes, closing

@maumar - Re-enable skipped test in one of the future PRs and close this issue once done.

tests enabled in dd1583074a522c875a82d082d455d4ed2beeb18a


Merge with original project

Since this branch is much ahead of the original project, I suggest merging it back.

Thanks!


Camera Intrinsics and Spatial Coordinates Update

Hi all,
Thanks for the fantastic plugin - it works exceptionally well. I've added a few things that you might be interested in integrating -

Setting the video type to 'VideoRecord'
Allowing the stream to be shared
Adding camera intrinsics
Accepting SpatialCoordinateSystem as well as IntPtr to work around Unity bug.

More detailed description and reasoning of the above:
VideoRecord instead of VideoPreview
I noticed in the comments there was some uncertainty about the difference between the two. After quite a bit of testing I found the following:

VideoRecord does not crush the display quality in the same way VideoPreview does when in use.
VideoRecord does not show the recording indicator (despite attempts to have that as an option)
This (as far as I can tell) matches the Vuforia implementation as the effects seem similar.

Shared Stream
This allows use one to record while the camera is active. Again, appears to match the Vuforia implementation - it works with device portal recording, on device recording or Miracast streaming in RS5, but the live stream via device portal still conflicts.
Camera Intrinsics
This allows retrieval of the distortion coefficients for use in image processing scenarios (i.e. OpenCV)
Initial tests with Windows.Media.Devices.Core.CameraIntrinsics worked well - but the API is in prerelease and appears to cause problems with distribution. After a bit of digging, the properties can be retrieved via GUID, as with the spatial coordinate system etc.
Accepting SpatialCoordinateSystem instead of IntPtr
Due to Unity bug 1025171 NET Native builds don't run when setting the world origin pointer (please vote on this issue!). A workaround for this is to accept the SpatialCoordinateSystem directly - which you can cache when you load a scene and Unity refreshes it anyway. Implementation details in code comments.
As a side note, 1344x756 works excellently for image tracking as you have some peripheral pixels - wider than the HoloLens FOV so you don't lose your objects as soon as they're slightly out of frame.
Happy to discuss changes or future improvements.

Hey @camnewnham. What version(s) is this compatible with? I think master works in V 5.6, unless you've made it compatible with newer version. I no longer support this project, but lots of people still try to use it. I want to approve this pull request, but I'd like to also update the documentation...this really needs to get working in the newer versions of Unity

Also, these changes look really useful. It looks like you really know what you're doing. Thank you.

@motionsmith these changes were tested only on Unity 2017.1.3p1 - I would assume compatibility up to at least 2017.4.x but this has not been tested.
@EnoxSoftware might also also be interested in updating the OpenCVForUnity examples as these changes allow getting the camera intrinsics on the fly rather than recomputing.
When I eventually get around to updating some of my projects to 2018.x I'll be happy to update this for compatibility if doesn't work out of the box - just waiting (as usual) for things to be slightly more stable between Unity and UWP/HoloLens.

[Deep breath] Thanks @camnewnham! I don't have time to test these right now, but these look like such good changes. Going to merge.

Hi @RawadBahsas,
I hadn't actually tested the examples because I was working straight into a separate app.
I've updated the VideoCapturePanel example - the main issue seemed to be stemming from InvokeOnAppThread - so I've replaced it with a simple Queue.
Note that there's no handling in the example for permissions being denied, so you might need to launch it once, accept permissions, and then if it crashes launch it again with permissions already accepted.

Hi @RawadBahsas,
I hadn't actually tested the examples because I was working straight into a separate app.
I've updated the VideoCapturePanel example - the main issue seemed to be stemming from InvokeOnAppThread - so I've replaced it with a simple Queue.
Note that there's no handling in the example for permissions being denied, so you might need to launch it once, accept permissions, and then if it crashes launch it again with permissions already accepted.

Hi @RawadBahsas,
I hadn't actually tested the examples because I was working straight into a separate app.
I've updated the VideoCapturePanel example - the main issue seemed to be stemming from InvokeOnAppThread - so I've replaced it with a simple Queue.
Note that there's no handling in the example for permissions being denied, so you might need to launch it once, accept permissions, and then if it crashes launch it again with permissions already accepted.

Hi @camnewnham,
Thanks for the update, I was able to make the projection example work as well.

Currently my application is working on unity 5.6.3p2
if you have time, I would like you to explain to me how your updates fixed the spatial mapping issues that appeared after June's update. (my application couldn't get the spacial mapping correct if the hololens didn't have the whole room scanned before launching the app, and the matrices went funny when looking towards unscanned areas )
anyway its working fine after your updates. cheers

The issue that they were addressing was only relevant to Master builds, where the code required to use the native pointer for the SpatialCoordinateSystem was being stripped by the editor. This doesn't affect debug and release builds, so if your issue still occurs there it's unrelated.
I haven't experienced any issues with incorrect coordinates - you do need to set the spatial coordinate pointer in this library to get the correct camera matrices though.
App sounds interesting - is it using OpenCVForUnity?

Am only using windows SDK to get the faces and return it with every frame using VedioCaptureSample. then in the app I created a basic tracking algorithm to keep tracking of a person and collect samples of his face and try to recognize them by calling a webApi to my face recognition server. OpenCVForUnity isn't free after all
Am trying to make the the stream shared by setting _SharedStream to true with no luck. I just wanna be able to open the hololens portal live preview while using the app. any idea why am not able to do so? BTW I tried it on this version not mine, so i basically just changed the SharedStream to true nothing else

I think the shared streaming only works on RS5 - this issue also affects Vuforia in RS4 but didn't in RS1. (Though Miracast will be a healthy alternative in RS5 anyway).
I think it works best when device portal stream is started first, and then you match the resolution (I.e. 1280x720 at 30fps when on the hq setting) - you won't be able to share it if you're requesting different formats as far as I know.

Hello, great work and seems like a good addition! I was wondering if you have some insight for the camera intrinsic with preview vs. VideoRecord. In addition to the differences that you listed the preview and video record streams are the same frames but from different steps in the graphics pipeline of the HoloLens. The frames that come from the video record have been undistorted (pinhole camera causes distortion). This begs the question if one should trust the distortion data from the intrinsic matrix. These distortion values are used by the graphics pipeline to undistort the frames.
This means that when doing image processing one should assume that all distortion coefficients to be 0 with frames from the video record, as the images have been undistorted (given perfect camera calibration, which it definitely isn't). My point is that using these distortion values for the video record stream may be incorrect. Also, when doing undistortion it is not uncommon the center the focal point. I am not sure exactly about the all the steps the graphic pipeline of the HoloLens does (don't think this is disclosed anywhere), but one should be aware of these things if you are trying to get the best precision possible.

Thanks Chris, and some interesting points.
I haven't done any testing without the device provided projection and distortion matrices, so I can't say for sure whether there would be an improved result in assuming an undistorted frame. In my usage using VideoRecord - which is typically spatially locating QR codes and Aruco markers, the provided values appear to work correctly (to within a few mm). It's also a little hard to say because the processing overhead on the HoloLens and using a slightly inefficient OpenCV implementation also mean a ~200ms lag - particularly when requesting the wider FoV frames available from the camera which are much more practical.
I am certainly no expert in camera/graphics processing - much more of a tinkerer just trying to get things to work! We also run this on a wide range of HoloLens where doing per-device calibration isn't a viable option.

Regarding the questions of compatibility, does this PR or the plugin itself (master) work on the 2018/2019 builds of Unity? @motionsmith @camnewnham

Hi @techtide, this PR works in 2018. I can't say if the example still runs, but the .dll is definitely functional. Since it has no reference to Unity, it should only break if UWP libraries change, which seems very unlikely.
Though I would note that the camera APIs for HoloLens 2 work a little differently as they require camera profiles - https://docs.microsoft.com/en-us/windows/mixed-reality/locatable-camera
Cheers

This PR works fine on branch upgrade_2018_2 in Unity 2019.4.11f1 to capture video frames using the HoloLens 2. The examples are missing some scene configurations after the Unity upgrade.


README doesn't mention openocd WORKSPACE requirements

I had trouble getting openocd targets working initially until I dug deeper and realized I need to add this to the WORKSPACE
load("@bazel_embedded//tools/openocd:openocd_repository.bzl", "openocd_deps")

openocd_deps()

The README should mention it.

Hi bsirang. Thanks for rasing this. I've updated the readme as requested.


[sqlite3] Build error

Host Environment

OS: [e.g. Windows/Linux etc...]
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install xxxx
Failure logs
-Cut and paste the appropriate build messages from the console output.
-Please attach any additional failure logs mentioned in the console output.
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

Error: Building package sqlite3:x64-windows failed with: BUILD_FAILED

Please ensure you're using the latest portfiles with git pull and .\vcpkg update.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+sqlite3
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[sqlite3]+Build+error
including:
package: sqlite3[core]:x64-windows -> 3.37.0
vcpkg-tool version: 2021-12-09-724cea8b33cbf06c645f5095fa29773697da9761
vcpkg-scripts version: unknown

@prizrak56 ,Thanks for posting this issue,Cou you please provide the detail error log?

@prizrak56 ,Cou you please provide the detail error log?

Thanks for posting this issue. Please reopen this issue if it still be a problem for you.


Create custom rules for Eslint around ConceptAs

See https://eslint.org/docs/developer-guide/working-with-rules

We should have rules that:

Checks that the second parameter to a ConceptAs<,> definition is a string, with the same value as the name of the type. So, type ReasonId = ConceptAs<Guid, 'ReasonId'> is valid, but type ReasonId = ConceptAs<Guid, 'FilterId'> or type ReasonId = ConceptAs<Guid, 2> is not.
Checks that ConceptAs<,> types should not be used on either sign of an equality comparison === == != !== (and possibly others).
Checks that ConceptAs<,> types are not used as parameters in Map<,> and Set<> (and possibly others).


ctrl + backspace in windows about  Flutter version 2.1.0-12.1.pre

Only one textfield is needed
in windows onkeydown ctrl + backspace
Out undefined character display 口 , I out he ASCII code is int (127)

[√] Flutter (Channel dev, 2.1.0-12.1.pre, on Microsoft Windows [Version 10.0.17763.1817], locale zh-CN)
    • Flutter version 2.1.0-12.1.pre at D:\flutter
    • Framework revision 8264cb3e8a (2 weeks ago), 2021-03-10 12:37:57 -0800
    • Engine revision 711ab3fda0
    • Dart version 2.13.0 (build 2.13.0-116.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at C:\Users\autopMateBook\AppData\Local\Android\sdk
    • Platform android-30, build-tools 30.0.2
    • Java binary at: D:\androidstudio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.9.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
    • Visual Studio Enterprise 2019 version 16.9.31025.194
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at D:\androidstudio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2020.3)
    • IntelliJ at D:\IntelliJ IDEA Community Edition 2020.3.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code
    • VS Code at C:\Users\autopMateBook\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] VS Code, 64-bit edition (version 1.53.0)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.20.0

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.17763.1817]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 89.0.4389.90

• No issues found!

My task should output blank or execute backspace

Issue replicable on latest and stable.

body: Center(
        child: TextField(
          decoration: InputDecoration(
            hintText: 'enter'
          ),
        )
      ),

CC @gspencergoog

This is probably a mis-mapped keycode on Windows, maybe combined with a missing key binding for whatever ctrl-backspace is supposed to do in a text field on Windows.

Ctrl + backspace will be supported via Shortcuts when https://github.com/flutter/flutter/pull/79695 is merged.

https://github.com/flutter/flutter/issues/81257

Maybe in some cases, the problem will reappear

PS D:\project\flutterProject\pastcloud> flutter doctor -v
[√] Flutter (Channel master, 2.3.0-17.0.pre.144, on Microsoft Windows [Version 10.0.17763.1935], locale zh-CN)
    • Flutter version 2.3.0-17.0.pre.144 at D:\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c75edc268c (7 days ago), 2021-06-01 22:29:02 -0700
    • Engine revision b9d3abce99
    • Dart version 2.14.0 (build 2.14.0-171.0.dev)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    X cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    X Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/windows#android-setup for more details.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Enterprise 2019 16.9.0)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise
    • Visual Studio Enterprise 2019 version 16.9.31025.194
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.1.0)
    • Android Studio at D:\androidstudio
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] IntelliJ IDEA Community Edition (version 2021.1)
    • IntelliJ at D:\IntelliJ IDEA Community Edition 2020.3.2
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart

[√] VS Code
    • VS Code at C:\Users\autopMateBook\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.22.0

[√] VS Code, 64-bit edition (version 1.56.2)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 3.22.0

[√] Connected device (2 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.17763.1935]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 91.0.4472.77

! Doctor found issues in 1 category.


Compiling GCC

do-not-edit-start-codetree-epic-issues
Issues in this epic:

Title
Milestone
Assignees
Stage
State

 /home/cabox/workspace/coachshake/gcc-4.6.4/host-x86_64-redhat-linux/gcc/cc1: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/local/lib/libppl_c.so.4) #63
N/A
abakasam
pending
Open

 configure:3286: error: in `/home/cabox/workspace/coachshake/gcc-4.6.4/x86_64-redhat-linux/libgcc': #62
N/A
N/A
Request
Open

 configure:5949: checking for installed CLooG PPL Legacy #57
N/A
N/A
Request
Open

 gcc: error: unrecognized command line option '-qversion' #46
N/A
N/A
Request
Open

 gcc: error: unrecognized command line option '-V' #45
N/A
N/A
Request
Open

 PPL does not have a lib or include at 0.11 or 1.0 #41
N/A
N/A
Request
Open

 Compile from source GCC #16
N/A
abakasam
pending
Open

 /home/cabox/workspace/coachshake/gcc-4.6.4/host-x86_64-redhat-linux/gcc/cc1: error while loading shared libraries: libppl_c.so.4: cannot open shared object file: No such file or directory #58
N/A
N/A
Done
Closed

 ./include/cloog/block.h:159:29: error: unknown type name 'FILE' #54
N/A
N/A
Done
Closed

 /include/cloog/ppl_backend.h:34:19: fatal error: ppl_c.h: No such file or directory #53
N/A
N/A
Done
Closed

 Upload ppl-1.0 fixed to OneDrive #52
N/A
N/A
Done
Closed

 source/../include/cloog/cloog.h:47:30: fatal error: polylib/missing.h: No such file or directory #51
N/A
N/A
Done
Closed

 Install cloog-ppl #48
N/A
N/A
Done
Closed

 conftest.c:10:25: fatal error: cloog/cloog.h: No such file or directory #47
N/A
N/A
Done
Closed

do-not-edit-end-codetree-epic-issues


Prometheus fails with forbidden: SecurityContext.RunAsUser

Is this a request for help?:
Yes and possibly a bug or feature request
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
BUG or possible feature request if the deployed configuration is not supported
Version of Helm and Kubernetes:
Helm 2.8.0, Kubernetes 1.9.1.
Kubernetes is deployed with RBAC and the apiserver has these switches:
--admission-control=NamespaceLifecycle,LimitRanger,ServiceAccount,DefaultStorageClass,ResourceQuota,DenyEscalatingExec,AlwaysPullImages,SecurityContextDeny
--runtime-config": "admissionregistration.k8s.io/v1alpha1"

Which chart:
Prometheus, enabled the RBAC value to true when deploying.
What happened:
Deployed the helm chart and everything deploys successfully except alertmanager, prometheus, kube-state-metrics, and pushgateway pods.  These containers don't even attempt to start due to the following errors you can see via the kubectl events:
       {
            "apiVersion": "v1",
            "count": 1,
            "eventTime": null,
            "firstTimestamp": "2018-01-31T01:19:19Z",
            "involvedObject": {
                "apiVersion": "extensions",
                "kind": "ReplicaSet",
                "name": "prom2-prometheus-pushgateway-78799bb4d",
                "namespace": "monitor",
                "resourceVersion": "1879654",
                "uid": "b9396279-061a-11e8-831a-000d3af972b8"
            },
            "kind": "Event",
            "lastTimestamp": "2018-01-31T01:19:19Z",
            "message": "Error creating: pods \"prom2-prometheus-pushgateway-78799bb4d-2g2jg\" is forbidden: SecurityContext.RunAsUser is forbidden",
            "metadata": {
                "creationTimestamp": "2018-01-31T01:19:19Z",
                "name": "prom2-prometheus-pushgateway-78799bb4d.150ec04c7fd0892d",
                "namespace": "monitor",
                "resourceVersion": "1889043",
                "selfLink": "/api/v1/namespaces/monitor/events/prom2-prometheus-pushgateway-78799bb4d.150ec04c7fd0892d",
                "uid": "c2dd1e1f-0624-11e8-831a-000d3af972b8"
            },
            "reason": "FailedCreate",
            "reportingComponent": "",
            "reportingInstance": "",
            "source": {
                "component": "replicaset-controller"
            },
            "type": "Warning"
        },

This is the helm status of the deployment:
LAST DEPLOYED: Tue Jan 30 16:07:25 2018
NAMESPACE: monitor
STATUS: DEPLOYED

RESOURCES:
==> v1/Service
NAME                                 TYPE       CLUSTER-IP    EXTERNAL-IP  PORT(S)   AGE
prom2-prometheus-alertmanager        ClusterIP  <IP_ADDRESS>  <none>       80/TCP    2h
prom2-prometheus-kube-state-metrics  ClusterIP  None          <none>       80/TCP    2h
prom2-prometheus-node-exporter       ClusterIP  None          <none>       9100/TCP  2h
prom2-prometheus-pushgateway         ClusterIP  <IP_ADDRESS>  <none>       9091/TCP  2h
prom2-prometheus-server              ClusterIP  <IP_ADDRESS>  <none>       80/TCP    2h

==> v1beta1/DaemonSet
NAME                            DESIRED  CURRENT  READY  UP-TO-DATE  AVAILABLE  NODE SELECTOR  AGE
prom2-prometheus-node-exporter  2        2        2      2           2          <none>         2h

==> v1/ConfigMap
NAME                           DATA  AGE
prom2-prometheus-alertmanager  1     2h
prom2-prometheus-server        3     2h

==> v1/PersistentVolumeClaim
NAME                           STATUS  VOLUME                                    CAPACITY  ACCESS MODES  STORAGECLASS      AGE
prom2-prometheus-alertmanager  Bound   pvc-b8c44086-061a-11e8-9240-000d3af97329  2Gi       RWO           managed-standard  2h
prom2-prometheus-server        Bound   pvc-b8d339e2-061a-11e8-9240-000d3af97329  8Gi       RWO           managed-standard  2h

==> v1beta1/ClusterRole
NAME                                 AGE
prom2-prometheus-kube-state-metrics  2h
prom2-prometheus-server              2h

==> v1beta1/ClusterRoleBinding
NAME                                 AGE
prom2-prometheus-alertmanager        2h
prom2-prometheus-kube-state-metrics  2h
prom2-prometheus-node-exporter       2h
prom2-prometheus-server              2h

==> v1/ServiceAccount
NAME                                 SECRETS  AGE
prom2-prometheus-alertmanager        1        2h
prom2-prometheus-kube-state-metrics  1        2h
prom2-prometheus-node-exporter       1        2h
prom2-prometheus-server              1        2h

==> v1beta1/Deployment
NAME                                 DESIRED  CURRENT  UP-TO-DATE  AVAILABLE  AGE
prom2-prometheus-alertmanager        1        0        0           0          2h
prom2-prometheus-kube-state-metrics  1        0        0           0          2h
prom2-prometheus-pushgateway         1        0        0           0          2h
prom2-prometheus-server              1        0        0           0          2h

==> v1/Pod(related)
NAME                                  READY  STATUS   RESTARTS  AGE
prom2-prometheus-node-exporter-gh4vt  1/1    Running  0         2h
prom2-prometheus-node-exporter-zhs5v  1/1    Running  0         2h

What you expected to happen:
All containers start successfully.
How to reproduce it (as minimally and precisely as possible):
I think the helm chart will fail when you use the SecurityContextDeny switch on the admission controller.
Anything else we need to know:
I don't really want to remove the SecurityContextDeny switch on the admission-controller, but open to any ideas to get this working.
Not sure if update https://github.com/kubernetes/charts/issues/3096 will resolve this challenge, but going ahead and linking.

I updated my K8s cluster to 1.9.2 and switched the --runtime-config": "admissionregistration.k8s.io/v1alpha1" to --runtime-config": "admissionregistration.k8s.io/v1beta1" .  I left all the other described settings the same.
Not sure what exactly resolved it, but the latest version of the helm chart now works!


Quote Machine Tweet button doesn't work on CodePen due to Twitter's API

Describe your problem and how to reproduce it:
The Tweet button on the Quote Machine project isn't working due to twitter.com refusing to connect and a ERR_BLOCKED_BY_RESPONSE error.
User story 10 in the instructions for this project states

I can tweet the current quote by clicking on the #tweet-quote a element. This a element should include the "twitter.com/intent/tweet" path in its href attribute to tweet the current quote.

So I did some digging in Twitter’s web intents documentation and found that web intents cannot be loaded inside an iframe (about halfway through Working with Web Intents section).
I looked into how CodePen renders its projects, and in both the editor and full views, it renders as an iframe. Since the user has no control over Twitter’s rules, or how CodePen renders the project, I don’t know how a tweet button could be successfully implemented in this project. Maybe posting to another social media site could be implemented instead?
Add a Link to the page with the problem:

FreeCodeCamp quote machine instructions
FreeCodeCamp official example
Twitter documentation for web intents

Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version: 86.0.4240.111
Operating System: MacOS Catalina (10.15.6)

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

@IamSurrett Did you open a topic on our forum concerning this yet?

@RandellDawson Hey Randell, I directed IamSurrett here: https://forum.freecodecamp.org/t/quote-machine-tweet-button-error-on-codepen-due-to-twitter-api/427126

Thanks for digging into this @IamSurrett.
I am not seeing a problem with the example project - I suppose since it's loading in a new tab. Can anyone confirm that? I assume that the test checks the href value and not that the twitter page will actually load so I'm not sure how much of a problem this is. We could possibly add a hint to tell users to use target="_blank" so that their tweet will load - or change the test and text to describe that they have to use it. I feel like a small hint here would be the easiest fix.
Do the tests still pass on your personal project @IamSurrett?

Yes, all of the tests pass on my project.
The issue I was trying to raise was not that the tests were broken, but the idea that building something that passes a test but fails to work in a real-world scenario seems counter-productive. If the goal of a project is give users real-world experience, their final products should be something that work the way they are intended to work.
Maybe we could consider changing the curriculum to have the users create a tumblr share button instead of a twitter button? The example project has a tumblr button already and it worked from codepen when I tested it a minute ago.
@moT01, have you been able to tweet a quote from the example project on codepen? The issue I found is that the tweet button will not work from inside a codepen project.

The problem is, how do you know or test if a button actually opens up twitter with the correct tweet - a person could be looking at a project in an iframe or not. That's why I suggested adding a hint (adding target="_blank") - which looks like it makes the links work. Switching to use tumblr isn't a bad idea - although I'm not sure it's worth the effort. Do they have the same problem? Will they in the future? It will probably break all of the existing projects. I vote not to go that route.
Yes, I can use the tweet button in the example codepen project and it works for me. When I remove the target="_blank" on the example project it doesn't work for me - when I add it back, it works. But you're saying it's not working for you, so I'm not sure.

That makes sense. I agree that if switching to a Tumblr button would break all the current projects, then it is not a great idea. I hadn't considered that aspect of it.
I tested the example project a few more ways and figured out a few things (both browsers are updated to the latest version and on default settings):
What works for me (and passes all the tests):

Firefox with target="_blank" works.
Firefox without target="_blank" shows " "Firefox can't open this page" with a "Open Site in New Window" button that works.
Chrome with or without target="_blank" works if you right click the button and choose "Open Link in New Tab"
Chrome and Firefox with target="_top" (as long as you make sure your work is saved so you don't lose it)

What doesn't work for me:

Chrome with or without target="_blank" and regular button click (this is what I was using when I found this bug)

So it seems that this is only a problem for Chrome users, but there is still a workaround (right-click button or use target="_top").  I think adding a hint that the tweet button might not work on Chrome as expected could be helpful, although a good forum post explaining the issue would be another solution.

I think @moT01's suggestion of adding a hint is a good approach here. Something like:

Note: If you are developing this on CodePen, the restrictions prevent the Twitter link from loading in the window. Add the target="_blank" attribute as a workaround.

I just created a preliminary PR for this issue. I changed the hint to the following to try to make it as clear as possible and match the wording of the current instructions:

Note: If you are developing this project on CodePen, restrictions prevent the Twitter link from loading in the same window. Use the target="_blank" attribute on the #tweet-quote element as a workaround.

If there is a better wording or location for the hint, I can change it.

That's why I suggested adding a hint (adding target="_blank") - which looks like it makes the links work

this doesn't seem to work, I have suggested it someone having the issue, and the issue persist

I think we should create a hint that solves the problem for all users, instead of just certain users like the target="_blank" workaround is currently doing. I know target="_top" works for both Firefox and Chrome (and passes all the tests), but because it replaces the current tab, there is a risk of users losing their work if they do not get a "save changes before leaving page?" notification. At this point though, I think it is the best option.
This is the best I can come up with:

Note: Twitter does not allow links to be loaded in an iframe. Use the target="_blank" or target="_top" attribute on the #tweet-quote element as a workaround. target="_top" will replace the current tab so make sure your work is saved.

Both of the solutions mentioned are not working. I am still getting the same error.

Still doesn't work

Still having this issue.

When I run my code from visual studio code tweets successfully but not on codepen.
It quite a lot of my time trying to find a way but couldn't.

Even doing what is mentioned in that note at the bottom, I am still having this issue. Twitter is blocked if I just click the button whether target="_blank" or target="_top". If I right click, and then click "Open in new tab", it opens in a new tab without a problem, regardless of the target attribute.

Hi.. I am having the same problem here. The Twitter link will only open when I right click "Open in new tab". But now my problem is after reading this thread, I tried changing the target="_blank" to  target="_top" and now I have the word "_top" stuck on top of my quote. It just won't go away even after I've refreshed the page.


If parameter has symbol, it will be error

I just update this gem v0.18.0 and got error like this.
     Failure/Error: Integer(string || '')

     TypeError:
       can't convert Symbol into Integer

I found problem here.
This code can't get Symbol.
  def number_or_nil(string)
    Integer(string || '')
  rescue ArgumentError
    nil
  end

if you use json in router or something, probably it includes Symbol in value this code.
    parameters.each_pair do |key, value|
      next unless number_or_nil(value)

This is my parameters.
{:format=>:json, :controller=>"*", :action=>"create", :id=>"897"}

So, could anyone help to submit PR like this?
      next unless number_or_nil(value.to_s)

I tried to create PR but I couldn't understand how to write test code in this gem.

Could you make a repro, something like this:
https://github.com/rhiroe/try-rspec-openapi

Sorry, it will take times in my environment if you are okay just try this one in your router.
Rails.application.routes.draw do
  defaults format: :json do
  end
end

And then, I found workaround thankfully if I rewrite :json to 'json' as a String.
It works
Rails.application.routes.draw do
  defaults format: 'json' do
  end
end

Thanks for the workaround @lion-man44.
A bit more info for @exoego, while running the gem locally with a bit of debug code:
    76:   def number_or_nil(string)
    77:     if string.is_a?(String)
    78:       Integer(string || '')
    79:     else
 => 80:       binding.irb
    81:     end
    82:   rescue ArgumentError
    83:     nil
    84:   end
    85: end

irb(#<Object:0x000000013c835990>):001> string
=> :json

@lion-man44 @johnphamvan
Thanks for reporting. This was fixed and released in v0.18.1

Thanks for maintaining this project @exoego!

Thanks for fixing this @exoego
And Thanks for helping me @johnphamvan


Proposed feature: Code written - Display title AND selected values

I have made some backward compatible modifications to bootstrap-select for a project I am working on and wanted to know if there would be any interest in adding them to the project before sending a pull request.
My code does the following:

allows disabling of the browser tooltip on the bootstrap-select button while still using title attribute for select label
allows display of label along with the selected data. Label changes to strong, or can optionally pass a class name for alternate styling, while displaying selected items after label.

In order to keep things backwards compatible I added some additional data attribute options (e.g. data-label-with-values="true"):

Name
Type
Default
Description

labelWithValues
boolean
false
When set to true, the title field is placed statically in the dropdown. Once an item is selected from dropdown, it is appended to the title (see below demo).

labelClass
string

Requires labelWithValues attribute. optional class to style label when item(s) are selected. Label is wrapped in a strong tag when items are selected.

hideTooltip
boolean
false
When set to true, the title is not set on the generated button, preventing the browser's tooltip from generating

This image better describes the functionality:

These attributes are completely optional and do not negatively impact current functionality. I am not opposed to changing the attribute names if you feel they are not in line with your naming conventions. My preference is for this to be added to the project so I don't have to maintain it separately but understand it could potentially be viewed as outside the intended scope of the project. If you believe it has merit, I will submit a pull request.

According to the wiki pull requests should be discussed in an issue first.
I posted this 20 days ago and would like some feedback as to whether or not you are interested in bringing this functionality into the project. If not, I'll maintain my own fork - NBD - but I would like some ruling if possible. I understand my use case may by unique, however I can see value in being able to optionally turn off the browser's tooltip. Feedback appreciated.
Thanks.


Events

Events are used to communicate data with "front-end" and are the only way to obtain information from a smart contract, AFAIK.
Do you plan to support them in any way?
Thanks 🙂
Marek from Ackee.

Absolutely.  I can't say an ETA, but we'll probably add these pretty soon.

Any status update on this? This is the last blocker for our dev kit, so please keep us informed about any changes 🙂


Question: to what extent is it possible to generate LSIF simply by querying an LSP server?

I get the impression LSIF index generating tools are commonly created next to an already existing LSP server for a language. What is the reason we can't re-use the LSP server to create the LSIF index?
Given a documentSymbol request it seems possible to query what symbols are available in a file, and from there we can make definition, references and other requests to populate most of the LSIF index.
What are the reasons it's difficult/impossible to generically wrap an LSP server to generate an LSIF index?
I can imagine issues like:

Bad performance
Not all symbols are returned by the documentSymbols request
Inability to query which files should be indexed
Differences in response format
A lack of moniker support in LSP, although I would guess for LSP servers to interact with LSIF indices they need to understand monikers as well

Are any of the above an issue, or others?

Makes sense, feel free to close :)


why passed POTENTIAL_RESPONSES in udc_predict.py

In udc_predict.py fileINPUT_CONTEXT consider as user entered input but why passed POTENTIAL_RESPONSES here already model train then why INPUT_CONTEXT not predict from trained data.

precisely my question also.
how to modify this program to generate a response rather than calculate probabilities of potential responses?

Disappointed in this project... I thought Deep Learning would be used to come up with answers, but rather it just picks the probability of what you provide to it? I mean, at this point I might as well supply correct response to begin with!
Meh, it was interesting read however.


Load precompiled module from library loaded by the OS loader?

Feature
Precompiled modules are ELF files that seemingly are able to be linked into executables. Would it be possible to let them load using OS loader (either by linking them into application binary, or linking into shared object and dlopen), and then import this code into wasmtime Module?
Benefit
Support of platforms that doesn't allow mapping pages as executable, like iOS or game consoles.
Implementation
Module::deserialize variant that takes pointers to already loaded segments and fills them into CodeMemory struct instead of mmaping them. Probably also needs #7349 to be useful.

Serialized modules happen to use the ELF format, but that should be treated as an internal implementation detail to Wasmtime and is not intended to be exposed to any loader other than Module::deserialize, such as an OS loader.
In general if pages can't be mapped as executable at all, then Wasmtime won't work whether it is mapping those pages out of a file (as in deserialize) or materializing them otherwise to create an executable Module.
Can you tell us more about the use case that motivates this request? Maybe there is another way to meet it.

Use case is using Wasmtime on platforms which limit mapping pages as executable. As I understand it, Wasmtime only needs to map compiled code as executable during Module creation, and doesn't need to generate any new code during execution, right? (with the exception of generating host function trampolines, but I take that this is intended to be removed too)

Yes once a module is loaded and executable no further executable mappings need be may (so long as you don't use Func::new and friends or create new modules). It's theoretically possible that a precompiled module could be made into a linkable object to link into the main application, but that's a pretty significant chunk of work to be done at the API layer in addition to the object layer. Currently the ELF artifact, as @pchickey mentions, "just happens to be ELF" and isn't suitable for actually linking into an application.
Are you working with a platform like iOS that doesn't allow mapping executable memory at all? Or something along those lines? If new executable memory can be dynamically loaded Wasmtime should work well, but if all the executable memory must be statically enumerated that'll be more difficult.

I'm looking at feasibility of using wasmtime on game console. I will know more about the limitations later but it would be under NDA so I probably won't be able to discuss them here anyway. Alternatively I'm considiering using something like wasm2c, but that would require more changes in embedding code so getting wasmtime to work would be nice.
I'm correct in that if sections from ELF artifact would be loaded into address space (with .text mapped as executable), it would suffice to basically modify CodeMemory::new to read header from passed pointer (obviously it won't be header of real underlying file, just decoy to point to already loaded data), and make CodeMemory::publish no-op? Or is there something more to it? It would need some external tooling to mangle precompiled output into object file that can be used, put decoy header in there, etc, but doesn't seem too complicated.
As for Func::new, I found that this proposal https://github.com/bytecodealliance/rfcs/blob/main/accepted/tail-calls.md specified that after changes wasm → array case would handled by "This trampoline is generated by the Wasm compiler and stored in the compiled Wasm module." Were the plans changed or it's still expected that this change will happen?

Ah ok makes sense. The exact implementation of this I'm not certain about, but you're on the right track ish. Currently CodeMemory is not exposed from the public API of the wasmtime crate, so while it's part of the internal stuff happening in Wasmtime it's not exposed to end-users to easily integrate with.
What this would perhaps look like is something along the lines of a trait NativeObject in the public API of Wasmtime which acts as a CodeMemory (of sorts). The internals of Wasmtime would use the trait and embedders could supply their own version of statically linked data for example. How exactly an embedder would create such a trait object, though, is a bit unknown to me. That's where there's a good bit of design I think. All technically feasible, but perhaps a little hairy too.


Upgrading from 0.44 to 0.46.4 gives core-js conflict within the react-native package

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment

react-native -v:react-native: 0.46.4
node -v:v7.5.0
npm -v:5.3.0

Target Platform: iOS + Android

Development Operating System: macOS

Build tools: Xcode + Vim

Steps to Reproduce

Run react-native-upgrade 0.46.4 to upgrade from 0.44 to 0.46.4
./gradlew clean in android folder
cmd+shift+K in Xcode to clean xcode project
rm -rf $TMPDIR/react-* && watchman watch-del-all && rm -rf ios/build/ModuleCache/* && rm -rf node_modules/ && npm cache clean —force && npm i
npm start -- --reset-cache

Expected Behavior
A clean upgrade to RN 0.46.4
Actual Behavior
npm start -- --reset-cache gives the warning:
Loading dependency graph...jest-haste-map: @providesModule naming collision:
Duplicate module name: core-js
Paths: /{path_to_app}/node_modules/react-native/node_modules/core-js/package.json collides with /{path_to_app}/node_modules/reac
t-native/node_modules/fbjs/node_modules/core-js/package.json
This warning is caused by a @providesModule declaration with the same name across two different files.
I saw similar errors in a few other issues on here, and tried the fixes in the steps above. And I found this on StackOverflow,
https://stackoverflow.com/questions/45790702/jest-haste-map-providesmodule-naming-collision
and deleting the the node_modules folder under /{path_to_app}/node_modules/react-native/node_modules/fbjs did get rid of the warning for me.
However, I'm just wondering why 2 modules included within the react-native package would collide with each other?

I have similar issue while migrate from 0.40 to 0.47.2

The debug library also gave me a similar warning, but it only appeared once (I'm assuming it's something to do with the initial build being cached).
It doesn't seem to be causing any problems with the app build process apart from the warning, so I'm wondering if we don't need to worry about.

yes @tss101 you are right. It does not cause any problems with the build

same issue


IMN 140 - Refactor error code

Description
This PR removes the httpCode from ApiError. The makeApiProblem function that every router (and middleware) should use to create a Problem  now requires a function to map every ApiError with an httpCode.
Every process service should declare an errorMappers.ts file that contains the required functions (one for each route) that map the ApiError with the corresponding httpCode.
The makeApiProblem function is changed into a makeApiProblemBuilder. Each service that would use this function should create an instance const makeApiProblem = makeApiProblemBuilder({ ... }) using as argument an object with the desired custom error code.
example:
export const errorCodes = {
  eServiceDescriptorNotFound: "0002",
  eServiceDescriptorWithoutInterface: "0003",
  notValidDescriptor: "0004",
  eServiceDocumentNotFound: "0006",
  eServiceNotFound: "0007",
  draftDescriptorAlreadyExists: "0008",
  eserviceCannotBeUpdatedOrDeleted: "0009",
  eServiceDuplicate: "0010",
};

export type ErrorCodes = keyof typeof errorCodes;

export const makeApiProblem = makeApiProblemBuilder(errorCodes);

The reason behind this change is to make the errorCode unique. The error code value could still have some overlapping but when we map from an ApiError to an httpStatusCode we can use something that is unique for each type of error.

@MalpenZibo as discuss offline il context of PR #115 the agreement domain error should be removed in favour of a generic Forbidden error hosted by commons package errors.
Please can your remove agreementSubmitOperationNotAllowed from agreement errors and replace is usages with (operationForbidden)[https://github.com/pagopa/interop-be-monorepo/blob/84757b749cb0da8d8a55c108893c92dbbe7b64f6/packages/models/src/errors.ts#L138]


[2.0.x] Users migrated from 1.8.3 are not manageable in the UI or CLI

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Perform 1.8 > 2.0 upgrade
influx user list or in the UI will have no users except the admin created during the process

Expected behavior:
Being able to manage users and ideally to move them from password based to token based or at minium being able to delete them once migration to a V2 token configuration for users.
Actual behavior:
Users are migrated but we can't manage them from CLI or UI.
Environment info:

InfluxDB version: 2.0.2

Hi @nsteinmetz, V1 users get migrated to a separate space from V2 users. In the CLI you should be able to manage v1 users via commands under influx v1 auth -h. Can you let me know if there are specific capabilities you'd expect to see there that are missing?

@danxmoran thanks !! - I didn't think it was in the v1 subcommands. Seems I have all I need to finalize my migration.
Maybe it should be added somewhere in the upgrade docs ?


Allow installation via pip

https://github.com/GAM-team/got-your-back/issues/239 was closed by the stale bot without any maintainer input.
It would be helpful to users to allow installing via pip. I think it could also help with packaging the tool by having a standardized install. My personal suggestion would be Poetry, which I think makes it all fairly easy.

This project is packaged downstream by Homebrew using the current PyInstaller setup, which unfortunately runs afoul of Homebrew's vendoring rules: https://docs.brew.sh/Acceptable-Formulae#stuff-that-requires-vendored-versions-of-homebrew-formulae
(In particular, since PyInstaller puts the entire Python interpreter/runtime into the distribution, it prevents Homebrew from upgrading the underlying interpreter for gyb without an entire package rebuild. This makes it harder for Homebrew to perform security updates, which is why it's generally forbidden as a matter of policy.)
Allowing installation via pip would resolve the problem here.
CC @unitof as the original formula submitter.


add polish language

Signed-off-by: grzesie<EMAIL_ADDRESS>

Closes #20

Closes #20

Merged, will appear on beta.weglide.org in the next days. Big thanks from the whole team, the translation (at least the technical/formal aspect I am able to understand) is awesome!
Added you as contributor in the Readme.

Merged, will appear on beta.weglide.org in the next days. Big thanks from the whole team, the translation (at least the technical/formal aspect I am able to understand) is awesome!
Added you as contributor in the Readme.