nmap is not found in the path. Please install it.

after successful installation it shows the error.
pg-48@pg48-Precision-Tower-3620:~$ pip install lanscan
Collecting lanscan
Downloading lanscan-0.9.5.tar.gz
Collecting appdirs (from lanscan)
Downloading appdirs-1.4.3-py2.py3-none-any.whl
Requirement already satisfied: click in ./anaconda3/lib/python3.5/site-packages (from lanscan)
Collecting netaddr (from lanscan)
Downloading netaddr-0.7.19-py2.py3-none-any.whl (1.6MB)
100% |████████████████████████████████| 1.6MB 534kB/s
Collecting netifaces (from lanscan)
Downloading netifaces-0.10.6.tar.gz
Collecting python-nmap (from lanscan)
Downloading python-nmap-0.6.1.tar.gz (41kB)
100% |████████████████████████████████| 51kB 3.1MB/s
Requirement already satisfied: PyYAML in ./anaconda3/lib/python3.5/site-packages (from lanscan)
Requirement already satisfied: requests in ./anaconda3/lib/python3.5/site-packages (from lanscan)
Collecting scapy_python3 (from lanscan)
Downloading scapy-python3-0.21.tar.gz (2.2MB)
100% |████████████████████████████████| 2.2MB 473kB/s
Collecting texttable (from lanscan)
Downloading texttable-0.9.1.tar.gz
Building wheels for collected packages: lanscan, netifaces, python-nmap, scapy-python3, texttable
Running setup.py bdist_wheel for lanscan ... done
Stored in directory: /home/pg-48/.cache/pip/wheels/7c/b2/73/0bba00140c775e461773c2fe323bced916ab9ea0a4c322fab0
Running setup.py bdist_wheel for netifaces ... done
Stored in directory: /home/pg-48/.cache/pip/wheels/28/e1/08/e66a4f207479500a27eae682a4773fa00605f2c5d953257824
Running setup.py bdist_wheel for python-nmap ... done
Stored in directory: /home/pg-48/.cache/pip/wheels/d2/20/17/8eb9401fb0fa5ffbd0394c44d9d1c743036896c86029b0a613
Running setup.py bdist_wheel for scapy-python3 ... done
Stored in directory: /home/pg-48/.cache/pip/wheels/a8/da/84/b9fbafe1512f648fdf01376ea466bb18633c18e051decb960e
Running setup.py bdist_wheel for texttable ... done
Stored in directory: /home/pg-48/.cache/pip/wheels/9e/53/a3/e452dc385103ee8e1f0df7b3457974b580d52ce662ee5a16cc
Successfully built lanscan netifaces python-nmap scapy-python3 texttable
Installing collected packages: appdirs, netaddr, netifaces, python-nmap, scapy-python3, texttable, lanscan
Successfully installed appdirs-1.4.3 lanscan-0.9.5 netaddr-0.7.19 netifaces-0.10.6 python-nmap-0.6.1 scapy-python3-0.21 texttable-0.9.1
pg-48@pg48-Precision-Tower-3620:~$ lanscan
nmap is not found in the path. Please install it.
Failed The necessary programs are not available.
please help in fixing this issue.

hey i solved it...
The python-nmap need the nmap in system.
i installed in by using apt-get install nmap.
thank you!


Create Permission System

User Stories
As an owner of a group I want give different groups different levels of access to my items in order to also list items that are more important to me but can be borrowed by people I think are trustworthy.
Dependencies
Depends on:

#8
#14
Implemented Lending Process
Implemented Item Views with the possibility to specify privileges

UI Mockup
not applicable
Acceptance Criteria

[ ] Groups should have different permissions
[ ] #86
[ ] #87
[ ] #88
[ ] If an item is owned by a group, then only the admins should be able to confirm the lending

This issue was to big so is split it up but since there are still some things not covered i will not close this issue

Closed since everything is covered in other issues and this issue is old and does not reflect anything.


Fix two typos in function declarations

This is related to https://github.com/GetDKAN/dkan/issues/2277

Closing as previously explained, this is valid PHP 7.1, which is the minimum version now for Symfony 4.


CRC-32-CKSUM does not match output from the actual cksum utility on linux

Tested on Ubuntu22.04 && macOS 12.6
cksum output:
echo "/bin/bash" | cksum
3521343861 10

Code:
use crc::{Crc, CRC_32_CKSUM};

fn main() {
    let crc = Crc::<u32>::new(&CRC_32_CKSUM);
    let test_str = b"/bin/bash\n"; \\ The newline is necessary to match `echo`
    println!("{:x?}: {}", &test_str, crc.checksum(test_str));
}

Output:
[2f, 62, 69, 6e, 2f, 62, 61, 73, 68, a]:<PHONE_NUMBER>

That's because the inputs are not the same in your example.
From https://pubs.opengroup.org/onlinepubs/7990989775/xcu/cksum.html:

These n bits are the bits from the file ... followed by one or more octets representing the length of the file as a binary value, least significant octet first

$ echo -n "123456789" | cksum
930766865 9

fn main() {
    let test_str = b"123456789";
    let crc = crc::Crc::<u32>::new(&crc::CRC_32_CKSUM);
    let mut digest = crc.digest();
    digest.update(test_str);
    digest.update(&[test_str.len() as u8]);
    println!("{}", digest.finalize());
}

Output:
930766865

Thanks a lot. Confirmed it works now.


[BUG] where is the refine invoice code on github?

Looked around and can't find in the examples.  TIA

Hey @weisisheng ,
Are you looking for this?
https://github.com/pankod/refine/tree/master/examples/blog/invoiceGenerator

Great stuff.  Missed it.  Thx.


Fix bug that wipes build/web on deploy

the build was being wiped out by the clean because they were running simulateously.

@googlebot I signed it!

Thanks for the contribution! This makes sense, and I feel we've gone back and forth on this predeploy script for a while; I thought it'd be easier to make this work across all platforms! (Linux, Mac, Windows) :P


Fixing the hotfix

We needed to fix one of the broken images asap, so I added it in the ruffest form possible. (but was the fastest in my mind) It will be a 1-2 mins tops fix if someone wants to see how images are called in Astro.

I did a hotfix, so we don't load from other servers. #21


Inconsistent script type for RunFirstAfterUpdate folder in documentation

Describe the bug
RunFirstAfterUpdate folder is marked as an Anytime script folder in some part of the documentation (see here), and as a One-time script folder in other parts (see here).
Expected behavior
From the code, I see it's a One-time script (see here). The script type should be consistently marked as One-time accross the documentation. As a side note it's worth mentionning that RoundHouse had the RunFirstAfterUpdate folder as an Anytime script folder (contrary to grate), so adding a note about the change would be very useful for people migrating (as it might be a breaking change)

Thanks for letting us know about this regression :)
AFAICT this has (incorrectly) been a One-Time folder in grate since we first started it, it's just taken until now for anyone to notice!  I suspect the discrepencies in docco come from where we've migrated the RH docs across vs those we've written alongside the code here.
Can anyone forsee any issues if we changed the folder to Any-Time to restore back-compat with RH?  To my mind anyone that's currently relying on it being One-Time won't have made any changes to their scripts once run, so suddenly making them elegible for re-running if changed shouldn't be a big deal?

I agree with you, @wokket, this is a bug in the implementation. And, it doesn't make sense to have the "run first after update" as a one-time script at all, imho. I don't understand how people would use it this way. I'm for changing the script type to Anytime.
Thanks for reporting, @BobLd !


[Enum Request] table 5936 "Service Document Register" - option Field "Source Document Type" convert to Enum

Please convert option field 1 in to Enum,
field(1; "Source Document Type"; Option)
{
Caption = 'Source Document Type';
OptionCaption = 'Order,Contract';
OptionMembers = "Order",Contract;
}
Thanks!
regards
srinivas

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Correct supervision / process dependency strategy

Protean's supervision strategy at the moment: The library asks that the user add Protean to their application supervision tree. That starts a DynamicSupervisor that is then used for any invoked processes (regardless of "depth"). While it's possible to pass a different supervisor when starting a machine, any processes resulting from :invoke are started using that same supervisor.
Whether this is the correct implementation depends on how we want to handle restarts & process dependencies. The problem is that the dependencies are cyclical -- invoked children can send messages to their parents. For instance: Let's say we have a parent and child process communicating with each other. While this is probably a bad design choice, these machines may be coordinating with each other such that one's in a state where it is expecting a certain event. Then, let's say the child dies -- if it's restarted, it may now be in a state that it will never send the event the parent expects.
I believe SCXML semantics account for this. An invoked process shouldn't ever be restarted -- the crash should be visible to the parent machine through the error transition, which the parent could use to e.g. self-transition and restart the invoked process itself.
So: restarts bad, child processes should be started with restart: :temporary.
But what if that crashed child process had invoked processes itself? They need to be shut down. but all of those processes were started under the same top-level dynamic supervisor. Machine servers are given their parent's pid when they start. It could monitor that pid so that we receive a :DOWN message. If the parent crashes, the child can terminate.
I'm not yet sure what to do about misc processes we don't control. I'd like any OTP process to be invokable from within a machine, but I'd like to basically one-way-link children to their parents, so that the children are always terminated if the parent crashes.

Ok, duh... Parents know their invoked children. When the interpreter stops, they need to clean up by sending an exit signal to each. There are still cases (I think with :brutal_kill?) where children can be "left behind", but I think this is sufficient for the moment.
311e880a4f543e7de4ece347ada77903eee85907


add: rbenv plugin

This one actually works and has been cleaned up.

I love this plugin.  However, I made one small change to handle the case of rbenv in a location other than $HOME/.rbenv/bin (e.g., if installed with Homebrew).  See my commit at: SFEley@0a642bb8

New pull request sent.


Is there a way to change python version?

Thanks for this awesome gem. I am having difficulty in importing a module (boto3). It's installed under python version 2.7. When I use the gem in Rails context, it loads python 3.5 and it's not able to find the module. Is there a way we can specify which version of python to use?

I was able to do this by setting an ENV variable in my Rails app.
PYTHON="/usr/bin/python2.7"

Closing this.


Add position name to image metadata

This PR adds the position name to the image metadata if a string label is used as the event position axis, e.g.
{'axes': {'position': 'Pos0'}, 'x': 0, 'y': 0}

The saved image will have a PositionName: "Pos0" entry in the metadata. This is consistent with the Micro-manager MDA metadata format.
pycromanager-acquired images also have a Position: "Default" metadata field which may cause some confusion. I believe this field comes with the tagged image and is not present in MDA-acquired images. I'm fine with leaving it as it, but I'm also curious where it comes from and if we can remove it in certain cases.

Its a good addition, but I think the implementation needs a little tweak.
I don't think it makes sense to have the position name exist as its own field in the event, because it is somewhat different from other fields in that it doesn't correspond to any physical hardware instructions in the API. It really is just metadata. Should be possible to do it without adding it to the event though (see my comment)

pycromanager-acquired images also have a Position: "Default" metadata field which may cause some confusion. I believe this field comes with the tagged image and is not present in MDA-acquired images. I'm fine with leaving it as it, but I'm also curious where it comes from and if we can remove it in certain cases.

Im not sure about this. I dont think its coming from AcqEngJ, which would suggest its something in the core. Do you see it when you snap an image from the core and then get it? How about when you run a sequence and get the image from that. Note that these correspond to two routes through the core with potentially different metadata. You can find the functions for getting the images they produce here:
https://github.com/micro-manager/AcqEngJ/blob/ea2295aa49f7e9b78e9d65402cb9411d79ef95bd/src/main/java/org/micromanager/acqj/internal/Engine.java#L483
I suspect maybe this has some significance for not breaking things in the MM GUI. Any thoughts @nicost ?

I don't think it makes sense to have the position name exist as its own field in the event, because it is somewhat different from other fields in that it doesn't correspond to any physical hardware instructions in the API. It really is just metadata. Should be possible to do it without adding it to the event though (see my comment)

Gotcha, thanks, I'll rework it.

Do you see it when you snap an image from the core and then get it? How about when you run a sequence and get the image from that. Note that these correspond to two routes through the core with potentially different metadata.

I don't think I've seen it in MM-acquired datasets, but I'll look closer. I haven't found anything in AcqEngJ that would add this tag. The default position in the MM position list is called Default so that may have something to do with it. But I don't know why this tag is called Position rather than PositionName

In 9ab2776 I think I implemented it a little differently than you suggested, but I think it's much cleaner than before. Let me know what you think.

Looks good. One further suggestion is that it would be good to make a static field like these instead of coding in "position", just for the sake of robustness. I'd make that change myself but it won't let me make edits here

I think you mean like that 45dadb3? Like I said, zero Java programming skills 😂
mehta-lab/AcqEngJ is a public fork, I think you should be able to write to it. You can check out this PR like this

I think you mean like that 45dadb3? Like I said, zero Java programming skills 😂

Yep, exactly. You certainly are racking up a lot of merged Java PRs for someone with no skills 😉


Move repository to Adoptium

We should move the repository to https://github.com/adoptium and create a second one for the java based services to render the HTML output of the documentation.

@smlambert The website repo is a JS based repo and the deployment is different to what you would be done with a Java based service. Therefore I would not mix that. I would like to have a documentation-services repo :)

Looks like https://github.com/adoptium/documentation has been created instead of migrating this repo.

@smlambert ah ok, so Eclipse is not doing a migration of the commits. Maybe it is better to do a PR? By doing so it is checked that all commiters have a working eclipse account?


status of this proposal

Is this proposal active?
If not, is it superseded by another proposal for typed objects?
Thanks for your help!

It is active, yes! I know it doesn't look like it, but that's because we want to make sure that this proposal is well aligned with the WebAssembly GC proposal, so we're currently waiting for that to be a bit further along.


Add reflection hints for io.netty.util.internal.PlatformDependent0 when JDK 21

What does this PR do?
Netty project has added a reflection specific for JDK 21 with https://github.com/netty/netty/pull/13366
The reflection hints need to be updated to cover also this JDK version.
The exception below is observed in the logs when running without these hints:
java.lang.NoSuchMethodException: java.nio.DirectByteBuffer.<init>(long, long)
        at java.base@21.0.1/java.lang.Class.checkMethod(DynamicHub.java:1065) ~[spring.graalvm:na]
        at java.base@21.0.1/java.lang.Class.getConstructor0(DynamicHub.java:1228) ~[spring.graalvm:na]
        at java.base@21.0.1/java.lang.Class.getDeclaredConstructor(DynamicHub.java:2930) ~[spring.graalvm:na]
        at io.netty.util.internal.PlatformDependent0$5.run(PlatformDependent0.java:291) ~[na:na]
        at java.base@21.0.1/java.security.AccessController.executePrivileged(AccessController.java:129) ~[na:na]
        at java.base@21.0.1/java.security.AccessController.doPrivileged(AccessController.java:319) ~[na:na]
        at io.netty.util.internal.PlatformDependent0.<clinit>(PlatformDependent0.java:286) ~[na:na]
        at io.netty.util.internal.PlatformDependent.isAndroid(PlatformDependent.java:331) ~[na:na]
        at io.netty.util.internal.PlatformDependent.<clinit>(PlatformDependent.java:86) ~[na:na]

Code sections where the PR accesses files, network, docker or some external service

N/A

Checklist before merging

[X] I have considered including reachability metadata directly in the library or the framework (see our contributing document)
[X] I am the original author of all content provided in the pull request, and I did not copy the content from any other source (see the tests section from our contributing document)
N/A [ ] For all tests where I am not the sole author, I have added a comment that proves I may publish them under the specified license (see the tests section from our contributing document)
[X] I have properly formatted metadata files (see our formatting guide)
N/A [ ] I have added thorough tests (see the tests section from our contributing document)
N/A [ ] I have filled all places where my pull request accesses files, network, docker, or any other external service (see the section above)

Test is not provided because the current Gradle version that the project uses does not support JDK21.

cc @bclozel @sdeleuze

@sdeleuze @dnestoro Thanks!


[refactor] improve QEOM code

What is the expected enhancement?
The implementation of the QEOM algorithm looks like it could undergo some refactoring in order to make the code more maintainable. I do not have any specific targets in mind right now, but I am opening this issue to keep this in mind for some point in the future.
Some rough ideas include:

improve the hopping operator generation and commutativity handling:

right now, this is split across 5+ methods which can surely be improved to some degree
the code needs to handle tapering manually. This results in a very hard to follow flow of logic. This can surely be streamlined quite a bit better
parallel_map is being used in multiple places. We should check if we can streamline this better in order to avoid multiple iterations over the same data

generally add more detailed/explanatory comments in the code

@Anthony-Gandon would you be interested in working on this, given your recent review of #768?

Yes you can assign this to me. Thanks!


Link list repeats a node and builds wrong network

This bug was emailed to me by a user. I got on a call with him, copy pasted the cells into a blank csv, saved and used it. That seemed to fix it then, but he tried doing it and that fix is not working for him. Could you check the CSV file at  link below and see what could be corrupted?
Trouble sharing link- please see email for attachments
https://cdc.sharepoint.com/:x:/r/teams/nchhstp-dhap-lb-microbetrace/Shared%20Documents/General/Files%20for%20bug%20reports/Issue803_microbetrace_link_test_Nelson.csv?d=wbc45579b6b97477994810c2262cd8813&csf=1&web=1&e=HuHLqf
Wrong network

Correct network after copy pasting

The csv file that you sent has a space before all the values in the target column. So MicrobeTrace is interpreting "AC001" and " AC001" as different node names. In the short term, he could trim function in excel to get rid of these whitespaces. When I did that I got the correct network except link be AB001 and AC003 which isn't in CSV. This is probably just a typo because link between AB001 and AC001 is in the CSV twice.
I thought MicrobeTrace had this functionality to remove whitespace at start and end.

Thanks David!
From: David Cowan @.>
Sent: Thursday, April 25, 2024 8:56 AM
To: CDCgov/MicrobeTrace @.>
Cc: Subscribed @.***>
Subject: Re: [CDCgov/MicrobeTrace] Link list repeats a node and builds wrong network (Issue #803)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.

The csv file that you sent has a space before all the values in the target column. So MicrobeTrace is interpreting "AC001" and " AC001" as different node names. In the short term, he could trim function in excel to get rid of these whitespaces. When I did that I got the correct network except link be AB001 and AC003 which isn't in CSV. This is probably just a typo because link between AB001 and AC001 is in the CSV twice.
I thought MicrobeTrace had this functionality to remove whitespace at start and end.
—
Reply to this email directly, view it on GitHubhttps://github.com/CDCgov/MicrobeTrace/issues/803#issuecomment-2077115975, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHMTDBMO7JG5HTIGDTT33ETY7D4NDAVCNFSM6AAAAABGXSBSR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANZXGEYTKOJXGU.
You are receiving this because you are subscribed to this thread.Message ID<EMAIL_ADDRESS>

Ah, great catch, thanks David!

@ikb6 I have updated the angular version to trim whitespaces from node names. It is currently deployed on the mossy site, so you should be able to use the original file that was causing this bug


Create Jumping.c

JumpSearch Algorithm
With complexity O(n^0.5)
Assigned Issue Number
#93
Language used
C

Hello @ankitapuri , thanks for assigning me, I have added the code in required folder.

Added some comments in the updated file.


Sign in button style

I think image is self explaining.
assets in common project must be in lib/ in order to reference image assets like:
  assets:
    - packages/flashcards_common/assets/icons/google_logo.png

Doing lib/assets/, or maybe /lib/asset/ since every common Dart folder uses singular form (doc, web, lib, test, tool, ...) is ok. :-)

We might fix #66 in this PR too.
Fixes #66.


64bit sharpdx demo, access violation

Hi,
I just download the 2.83 sharpdx demo (BulletSharp/demos/SharpDX/), and found some problems.
I use 64b bulletsharp dll at beginning, and use BasicDemo as inital project. When compile, MeshFatory said it have no definition of  "BroadphaseNativeType.StaticPlaneShape" (DemoFramework/MeshFatory.cs, line 890). Comment, then compile success, but if I change body.Gravity in Physics.cs, it goes access violation. Basiclly I can't modify any value or the violation will appear.
Then I use 32b dll, everything seems good. My system is window 7 64b, please help >_<

Yesterday, BroadphaseNativeType.StaticPlane was renamed to StaticPlaneShape for consistency, I think you can just recompile BulletSharp and it will work.
Not sure about the 64-bit problem, will investigate.

Thanks.
Really anticipate to see 64b dll work >_<

ps:2.82 x64 version works great ^_^

I didn't find any obvious regressions in the 64-bit version. The tests and the demos both seem to work. Can you post your code?

Sorry I don't know how to compile 2.x bulletsharp, just directly use the compiled dll from "http://andrestraks.github.io/BulletSharp/"
My test code can be down from this url
https://drive.google.com/file/d/0Byc1YaPjaARNb1JxS0tBZzVsaW8/view?usp=sharing
Nearly nothing changed from the original git version

Still couldn't reproduce the access violation, but try 2.83.5:
https://drive.google.com/folderview?id=0B2TPMwtggT0jfmRzRm1RQkJOYjZXVWV6Y2FwZGxKV1cxWE1ZTVlWd2paZ2RWLTE5MTEtMEk#list

Great, 2.83.5 works.
Seems I should learn to compile 2.xx dll by myself.
Thanks


Feature request: Allow overwriting config file path

https://docs.sst.dev/configuring-sst#file-structure
According to this doc it seem it always assumed the configuration will be sst.config.ts.
This makes it incontinent for use cases where there are multiple configuration files.
An option --config allowing to specify different configuration files would be useful for those use cases.

How come you have multiple config files?

@jayair I have services that need to be deployed to multiple accounts and it's necessary for them to have different behavior and infrastructure depending on the account.
Using multiple configuration files has been so far the cleanest way to keep those concerns separated and clearly defined.
Migrating from serverless that does have a --config option for use this case I was expecting something similar to be available here.
Also, I know keeping a single sst.config.ts and just handling this use case programmatically in function of the accounts is probably an alternative but I'd rather have the option to specify the different config file directly instead.

Yeah your last point is kinda why we are going this route. Ideally most of things should be handled in code for SST. I can bring this up with the team but I don't recall this being requested before.

I have a monorepo with two different apps of the same ecosystem.
One is a Next.js website, and the other is a WebSocket API that is deployed once for each new group created on the Next.js website.
It would be much cleaner to have two different sst.config.ts files and have my CD pipeline trigger each one accordingly to the situation.
please add --config option.

WebSocket API that is deployed once for each new group created on the Next.js website

What does this mean?

I am using the following to deploy different apps from a mono repo
sst.config.ts
export default {
  config(input) {
    return {
      name: `${process.env.SST_APP}`,
      region: input.region || "us-east-1",
    };
  },
  stacks(app) {
    switch (app.name) {
      case "first-app":
        app.stack(function Site({ stack }) {
          const site = new NextjsSite(stack, "FirstSite", {
            path: "apps/first-app",
          });

          stack.addOutputs({
            SiteUrl: site.url,
          });
        });
        break;
      case "second-app":
        app.stack(function Site({ stack }) {
          const site = new StaticSite(stack, "SecondSite", {
            path: "apps/second-app",
          });

          stack.addOutputs({
            SiteUrl: site.url,
          });
        });
        break;
    }
  },
} satisfies SSTConfig;

Then I provide the environment variable whenever I run sst commands
# deploy first app
SST_APP=first-app npx sst deploy --production

# deploy second app
SST_APP=second-app npx sst deploy --production

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Feature request: Add reactive attributes

It would be nice if you could add attributes that when changed the value is reflected in the DOM. The precondition that the attribute being set is an object property. Example:
<button live:disable={this.buttonDisabled} ></button>
On could then overwrite the property setter to mirror the value to the DOM.
I'll be glad to help you on this task.

Maybe an existing reactive framework is a better choice for the job. Keep in mind: This is not a reactive framework. Making it reactive might be overkill for this project. That being said, I am willing to hear you out.
Can you expand a bit on this? Not sure what exactly you are trying to achieve. If you want automatic binding, then the above syntax would not work, as the code behind the JSX will only receive the current value of this.buttonDisabled and not a reference that can be watched. It might be possible if buttonDisabled was not a boolean, but instead an object of sorts, but I'm not sure that is such a good idea.
What would be your usecase for it? And what is this in this case? A custom element?
Do you just want to make sure that changes to this.buttonDisabled will be automatically applied to the DOM element? Or vice versa?

Hi,
Not sure if it can be achieved with CustomElement (maybe yes). While writing the answer I see that the solution might be a little clunky because you need to pass also an object instance. I understand that your library is supposed to be static, but all tsx solutions (I found) are based on using virtual DOM (which I find overkill for 90% of the cases) and embedding overhead to the code. Adding it to your library would be lightweight and wouldn't require any additional library.
This is how it could look like. Of course, you are free to change the change the "live" prefix or the way it works.
Image you have a tsx element like this.
<input type="text" live:instance={myObj} live:value="myProperty" />
Please note that live:instance is an actual instance to an object (in curly brackets) and value is a string which points to an object property name.
Then in your code generator, you would have something like this (not tested pseudo code):
// If the attribute starts with live, it is a live attribute
if (attribute.name.startsWith("live:")) {

  // Gets the real attribute that we are trying to set
  const realAttribute = attribute.split(".")[0];

  // If it is "instance", then this is the instance of the object we want to observe for this element
  if (realAttribute === "instance") {
    objectInstance = attribute.value;
  } else {
    // First set the attribute value to the object property value
    setAttribute(realAttribute, objectInstance[attribute[value]];

    // Check what kind of property it is
    const propertyDescriptor = Object.getOwnPropertyDescriptor(realAttribute);

    // If the property has a get and/or a set, it is already a "property". Create a new getter and setter overriding the
    // existing ones. This is achieved by using the method Object.defineProperty
    // If it doesn't have a getter and setter, create one.
    // In the new setter we need to call the old setter plus update the element attribute
    ...
  }
}

And this is how an overrideSetter function could look like (not fully tested)
overrideSetter(obj: Object, propertyName: string, newFunctionality: (value: any) => void) {
        const proto = Object.getPrototypeOf(obj);
        const originalDescriptor = Object.getOwnPropertyDescriptor(proto, propertyName);

        if (!originalDescriptor || !originalDescriptor.get || !originalDescriptor.set) {
            throw new Error(`Getter and Setter not found for property ${propertyName}`);
        }

        Object.defineProperty(obj, propertyName, {
            set: (value: number) => {
                // Call the original setter
                originalDescriptor.set!.call(obj, value);

                // Call the additional functionality
                try {
                    newFunctionality(originalDescriptor.get!.call(obj));
                } catch (ex) {
                    console.error(`Error calling new functionality for property ${propertyName} setter: ${ex}`);
                }
            },
            get: originalDescriptor.get,
            enumerable: true,
            configurable: true
        });
    }

I'm sorry, but before I can try to understand your implementation idea, I really need to understand your use-case a bit more. What is it that you want to achieve with this?
I currently imagine your use-case to be like this:
function MyComponent() {
  const instance = { value: "initial" };

  return (

      <button onClick={() => instance.value = "changed"}>change value</button>

  );
}

So when you click the button, the instance will be changed and the span element as well.
However, this can be achieved like this as well and is easier to understand (in my opinion):
function MyComponent() {
  const spanRef = createRef<HTMLSpanElement>();

  return (

      <button onClick={() => (spanRef.textContent = "foo")}>change value</button>
      initial

  );
}

Of course, this removes the need to the instance object. Not sure if that is something you need for something else.
As said, I'm not sure I understand your use-case correctly. So please expand on what you want to achieve rather than how you want to achieve it.

I understand that your library is supposed to be static

Just to clarify: tsx-dom-server is supposed to be static. With tsx-dom you can be as flexible as you like. You just have to work with the elements manually by storing references and manipulating them.

Of course it can be achieved in some other ways. At the end, everything tsx-dom does can also be achieved by writing pure DOM code ;)
I just think it would be nice to have a little bit of intrinsic logic for things that happen very often like:

Enabling/Disabling components
Showing/Hiding components
Changing component values based on the application behavior.

And to use React is overkill for simple applications.
Also in your example you think of the component being the end game (you refrain from having an object instance at all), while I was thinking about having the component as a mirror of the object. Another example:
class User {
  _name: string;
  _email: string;
  _age: number;
  _readonly: boolean;
  get name(): string {
    return _name;
  }
  set name(value: string) {
    // Do some validation here
    this._name = value;
 }
 // ... getters and setters for email, age and readonly
}

function UserComponent(user: User) {

    <input live:instance={user} live:value="name" live:readonly="readonly" />
    <input live:instance={user} live:value="email" live:readonly="readonly" />
    <input type="number" live:instance={user} live:value="age" live:readonly="readonly" />

}

These are just silly theoretical examples, but I still think it would be a nice feature.

Ok, I'm starting to get a picture of what you want. I see the following issues:

Your code is very unclear to those who have not studied this special behavior.
You can only specify one instance. What if you want one property from one object and another property from a different object, but on the same element?
Adding listeners to these properties is probably possible, but what about removing listeners? I think all of this can get quite messy and cause memory leaks.
This will only work for attributes. You will not be able to do this for children (for example a list of users)

The first issue can be overcome by adjusting the name a bit: bind instead of live, as that is a more commonly used term in other frameworks.
The second issue could be solved by writing it like this instead:
function UserComponent(user: User) {
    return

        <input value={bind(user, "name")} readonly={bind(user, "readonly")} />
        <input value={bind(user, "email")} readonly={bind(user, "readonly")} />
        <input type="number" value={bind(user, "age")} readonly={bind(user, "readonly")} />

}

As for the other issues, I don't think they can be solved easily.
Btw, if size and speed are an issue for you with react, have you tried svelte? It creates a lot smaller bundles and I've heard good things about it too (though I didn't try it yet).

Another issue: binding would only work on html/svg element attributes, not on function component properties, as the component function will only be called once.

Hi @Lusito,
Thanks for the insightful thoughts. Yes, I like the idea of bind, it is far better than live. For me it is pretty fine it only works with attributes. Actually I can implement the bind even without touching your library already.
For the memory leak, I see 2 solutions. Either the library implement a MutationObserver to listen for changes in the DOM (haven't tried it myself). But I think this problem is mostly overstated if you don't have a single page application.
Another problem is when more than 1 component is listening to a single object. Either you will have a cascade of setters or one needs to implement a kind of singleton which keeps a catalog of all objects and properties being listened.
Regarding Svelte, I heard about it. But since in the last 10 years I see frameworks coming and going all the time, I prefer to work as close to plain javascript standards as possible.
In any case, it was nice exchanging ideas with you. I assume that you don't want to implement such a feature, so I will just close the issue.
Cheers

That's great news. Because functional components should have never existed in the first place. It is another trade-off from React:  going 20 years in the past, writing verbose not-extendable cose for gaining some discussable performance improvement.
On August 18, 2024 12:07:39 AM GMT+02:00, Lusito @.***> wrote:

Another issue: binding would only work on html/svg element attributes, not on function component properties, as the component function will only be called once.
--
Reply to this email directly or view it on GitHub:
https://github.com/Lusito/tsx-dom/issues/26#issuecomment-2294998780
You are receiving this because you authored the thread.
Message ID: @.***>
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.


ERROR -- TProtocolException: Server version doesn't support parametrized queries

In the backend component of a Webapp, I tried to execute a parametrized query in nodejs in databricks but got below error:

I already upgraded the lib to latest version - 1.5.0 and tried with both primitive and DBSQL parameter instances. Can you please help here?

@nithinkdb can you please take a look?

Hi @KOMAHES, this feature relies on server support. The new runtime is currently being rolled out to produnction instances, probably your one was not updated yet. We expect the full availability on early October. I can only suggest you to wait a bit, or contact Databricks support - maybe they know when your instance is going to be updated. Sorry for the inconvenience

Thanks for the quick support @kravets-levko :)
One more question: Is this feature also related to a specific node version?

No, Nodejs requirements remain the same (>=14)

@KOMAHES can you please upgrade to v1.7.0 and check if your issue is resolved in this release? Thank you!


yes restart

:+1:

Oui recommencer
👍

@geoffjentry Did you google recommencer or did you know ? :p

@Horneth What's french for ¯_(ツ)_/¯?

@geoffjentry It's "I did google it"

@Horneth that's funny how that phrase means something totally different in English :)

I thought it was 'bof'?

@cjllanwarne Haha yeah I hadn't though of that ! That's actually probably as close as it gets from ¯_(ツ)_/¯

@geoffjentry @mcovarr So apparently the scala destroy method on a process kills the JVM in a way that doesn't trigger shutdown hooks...
There's no guarantee that the Java one does either, but in practice it does at least with our current JVM / environment setup.
So I added a commit that switches to that - the alternative is to do something more like @kshakir did in the SFS backend and shell out the process in background, record the PID, and shell out a kill to terminate it. There'll also be an improved process API in Java 9 which has a getPid method but we're not there yet http://www.javaworld.com/article/3176874/java-language/java-9s-other-new-enhancements-part-3.html

@Horneth Fine by me. Let's keep an eye on it though and if it too seems flakey let's revisit.


load data from lmdb problem

Hi kyamagu,
First at the most, this is a very nice work!!
I want to save some 3D matrix into lmdb database. I was able to do it with database.put('MyMatrix', MyMatrix) without any problem. I was also able to retrieve the data back by using MyMatrix2=database.get('MyMatrix'). However, the problem is the retrieved MyMatrix2 is a array of char while the saved MyMatrix is a matrix of int16. Let's say size(MyMatrix) == 256x256x32 (int16) then size(MyMatrix2) == 1x2097152 (char). Do I need to explicitly tell put() function the size of the data or did I just miss something important? Please help

@leoliuf Serialize/Deserialize data when using LMDB, e.g., using num2str and str2double. The database takes any binary in char format. See (Issue #3).

@leoliuf Also I have this serialization package if you need.

I tried this, it works like a charm!! Thanks again for this nice work

A (10x10x10 int16) -> serialize to B (1x2072 uint8)
database.put('B', B)
B2=database.get('B') -> B2 (1x2072 char)
C=deserialize(uint8(B2)) -> C (10x10x10 int16)


334 - Generate HTML schema docs alongside markup

This PR adds the generation of HTML schema documentation alongside the markup version.
To test:

Run prime generate-docs and verify that the markup version of the schema docs are generated.
Run prime generate-docs --generate-html --no-generate-markup and verify that only the HTML version of the schema docs are generated.

To review:
The HTML files were generated by the tool.  The real code changes are in the pom.xml and DocumentationFactory.kt.
Changes

Use third party library to convert markup to HTML.

Checklist
Testing

[x] Tested locally?
[ ] Github build is successful
[ ] Ran quickTest all?
[ ] Ran ./prime test against local Docker ReportStream container?
[ ] Downloaded a file from http://localhost:7071/api/download?
[ ] Added tests?

Security

[ ] Did you check for sensitive data, and remove any?
[ ] Does logging contain sensitive data?
[ ] Are additional approvals needed for this change?
[ ] Are there potential vulnerabilities or licensing issues with any new dependencies introduced?

Process

[ ] Includes a summary of what a code reviewer should verify?
[ ] Updated the release notes?
[ ] Database changes are submitted as a separate PR?
[ ] DevOps team has been notified if PR requires ops support?

Security
List potential security threats and mitigations in the PR
Fixes

https://github.com/CDCgov/prime-data-hub/issues/334

I think this is a good first start, but we also need to think towards generating this in a way that will match the format and style that is being used on the download site. @drew-usds should probably coordinate with you on that.

The commonmark library provides ways to alter the resulting HTML to add classes, elements, etc.  Just need the requirements.


Adjust the dark-mode colours to match the spec.

Is your improvement request related to a specific problem in the code or project structure? Please describe. 👨💻
Currently, the background colours of the app is pitch black in dark mode. This does not match the spec
Describe the improvement or refactor you would like 🎯
The background colours in dark mode should match the spec:
Dark: 48556E
Darker: 384155
Darkest: 282F3C

Explain why this improvement or refactor is beneficial 🎖
This keeps the product up to code with the expected spec.
Additional context or comments
Consider using the tailwind.config and the global.css to adjust the colours. do not set the colours directly in the code. This should be defined in the theme - to make sure it reaches the entire project

Hi, I think I can help with this problem and would like to work on this as my first issue :)

@Elaa257 Of course, you are welcome to take on the task :)
I have assigned it to you 😄

@suuunly  I'm not sure if you can help me with this, but I am struggling setting up the project. The instructions in the ReadMe are not clear to me. Could you please describe in more detail what I need to do with the .yaml-files? I have already tried different ways, but it is still not working correctly.

@Elaa257, you need to duplicate the flowcore.local.example.yaml file, and rename it flowcore.local.yaml. Then you need to replace the <some tenant> part, with the organisation name you have on Flowcore 😄
The readme is a little convoluted atm, so I've created several tasks that try to remedy that 😄

hi, plzz assign me

@hediinn. You have been assigned the task as well :)

Here is a dark mode example of both desktop and mobile:

@suuunly thank you, I am going to try it again with this information :)

@Elaa257, @hediinn solved this issue yesterday. Awaiting a PR approval. So it would probably be better to take another, similar task instead 😁

@suuunly okay, I will have a look :)


Develop

v1.0.0 vulnerability fixes

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: maroberts82:x: OIF_DEVICE_ACCESS_TOKENOIF_DEVICE_ACCESS_TOKEN seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


numerical targetYaw is ignored - patch provided

The version currently in the GIT repository (as cloned 20150615) ignores the targetPitch and targetYaw if they are set numerically (e.g. not set to 'same').  I believe this is down to a missing condition.  The patch below adds this back in:
It would be good to be able to orient all scenes with the northOffset, and then be able to view the current heading with the debug, and set hotspots with real-life pitch and yaw coordinates (i.e. taking the northOffset into consderation) - this would mean modifying how the debug yaw is shown, and how the hotspots are placed - do you have a view / strategy on how you want this to work, and I can have a go at a patch to satisfy?
Steve
diff -Naur pannellum-20150615/src/js/pannellum.js pannellum/src/js/pannellum.js
--- pannellum-20150615/src/js/pannellum.js	2015-06-15 20:54:46.349197445 +0100
+++ pannellum/src/js/pannellum.js	2015-06-15 21:11:24.093152961 +0100
@@ -1452,11 +1452,15 @@
     // Set new pointing
     if (targetPitch === 'same') {
         workingPitch = config.pitch;
+    } else {
+	workingPitch = targetPitch ;
     }
     if (targetYaw === 'same') {
         workingYaw = config.yaw;
     } else if (targetYaw === 'sameAzimuth') {
         workingYaw = config.yaw + config.northOffset - tourConfig.scenes[sceneId].northOffset;
+    } else {
+	workingYaw = targetYaw ;
     }

     // Destroy hot spots from previous scene

With regards to using the north offset for yaw coordinates, I'm not really sure I see much of a benefit, since it's an easy conversion to do by hand. While adding this feature would make things easier in some cases, it has the downside of adding complexity, being yet another feature that needs to be maintained. This bug itself is an example of how unrelated changes can easily break lesser used features (although I really need to add a test suite at some point to catch this kind of thing).
Another possibility to obtain the results of the feature you're suggesting would be a rather simple script that modifies the panorama itself to center north horizontally.


Zoomed image

This ticket is related to modal that renders the image which is available on content structure.

Once the image is clicked it should display on modal
After that there is an another zoom functionality to zoom more. Here we are making consistant  across the platform. First level is 100% image and second level is 150% image
Once the image is displayed there will be closed by close button or outside the modal box.

@Kummu007 / @mooresindhuja - FYI.

This is working as expected.


Add Chief-Engineer to code owners

wow promotion :)

self promotion :godo:

wow basically a maintainer


Remove pcre from toolchain,  libcap-ng: update to 0.8.4,  swig: update to 4.2.1

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[X] The toolchain has been rebuilt successfully (or no changes were made to it)
[X] The toolchain/worker package manifests are up-to-date
[X] Any updated packages successfully build (or no packages were changed)
[X] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[X] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[X] All package sources are available
[X] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[X] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[X] All source files have up-to-date hashes in the *.signatures.json files
[X] sudo make go-tidy-all and sudo make go-test-coverage pass
[X] Documentation has been updated to match any changes to the build system
[X] Ready to merge

Summary

What does the PR accomplish, why was it needed?
Remove pcre from toolchain and move toolchain packages to pcre2
Change Log

Remove pcre from toolchain files
Move pcre2 installation earlier in build_official_toolchain_rpms.sh
Move glib and libselinux to pcre2
Update swig to 4.2.1 and move it to pcre2
Update libcap-ng to support new swig

Does this affect the toolchain?

YES
Test Methodology

Buddy build id: 549609
Full build id: 549640

Toolchain AMD:
548770
Toolchain ARM64:
548771

New successful AMD toolchain: 549647
ARM64 toolchain: 549648

No toolchain conflicts:
AMD build: 549693

ARM64 build: 549702


$metadata missing

node-data is a pretty good tool. I was very happy to find it, then I have seen that you don't create standard $metadata.
I need to call the webservice from my OpenUI5 application, so I can't use it. What a pitty!

You are right. The standard $metadata is must to be support. But now, I'm focus on features support. So, I think the usability important than interoperability,  at least for now.
I will add standard $metadata after most of the features are supported.
Thanks.

I really need $metadata support so we can use this with Salesforce.com, if you can add $metadata support this would allow us to surface data in our CRM solution.

$metadata will be the major work of the next version. (v0.8)

any status on this? This would really help for SAP apps too

@TossShinHwa let me know if I can help with the $metadata task/implementation, not sure we could just roll our own or integrate with this package https://www.npmjs.com/package/odata-v4-service-metadata

Great job! I will check it later.
Sent from my iPhone

On May 24, 2016, at 14:41, Long Le<EMAIL_ADDRESS>wrote:
@TossShinHwa let me know if I can help with the $metadata task/implementation, not sure we could just roll our own or integrate with this package https://www.npmjs.com/package/odata-v4-service-metadata
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

@lelong37, odata-v4-service-metadata works well, I make a simple test for this.
var odata = require('node-odata');
var ServiceMetadata = require('odata-v4-service-metadata').ServiceMetadata;

var server = odata('mongodb://localhost/my-app');
server.resource('books', { title: String, price: Number });

server.get('/odata/\\$metadata', ServiceMetadata.defineEntities({
    namespace: 'Default',
    containerName: 'Container',
    entities: [
        {
            name: 'Kitten',
            collectionName: 'Kittens',
            keys: ['Id'],
            computedKey: true,
            properties: {
                Id: 'Edm.String',
                Name: 'Edm.String',
                Age: 'Edm.Int32',
                Lives: 'Edm.Int32',
                Owner: 'Edm.String'
            },
            annotations:[
                { name: 'UI.DisplayName', value: 'Meww' },
                { property: 'Id', name: 'UI.ReadOnly', value: 'true' },
                { property: 'Title', name: 'UI.DisplayName', value: 'Meww Meww' },
            ]
        }
    ]
}).requestHandler());

server.listen(3000);

This is a example for $metadata. So, we should integrate it with ourself resources. If you can make a pull request for this , I will appreciate it :)
If you can't, just let me know. Thx.

@TossShinHwa sure thing, let me give it a try :)

Any news about $metadata? How could I help you guys?

Hey Guys, would be really cool if there is a native integration so that such metadata  schema can be generated from the resource object.
the reason why i'm asking is because i want to integrate the odata feed with excel Power Query or with Linqpad (WCF connector)
MetadataException: Schema specified is not valid. Errors: (0,0) : error0075: Key Part: 'Id' for type Kitten is not valid. All parts of the key must be non-nullable.
i'm a bit confused with "odata-v4-service-metadata" example given on May 26, 2016, which comes directly from the documentation, and a more elaborated example you can find there
https://raw.githubusercontent.com/jaystack/odata-v4-service-metadata/master/tests/schema2.json
as you see, they use different json, to describe "key" vs "keys" / "property" vs "properties" etc...
giving this strange result if i try to align one with the other
<edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> <edmx:DataServices> <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="Default"> <EntityType Name="Kitten"> <Key> <PropertyRef Name="[object Object]"/> </Key> <Property Name="0" Type="[object Object]"/> <Property Name="1" Type="[object Object]"/> <Property Name="2" Type="[object Object]"/> <Property Name="3" Type="[object Object]"/> <Property Name="4" Type="[object Object]"/> </EntityType> <EntityContainer Name="Container"> <EntitySet Name="Kittens" EntityType="Default.Kitten"/> </EntityContainer> <Annotations Target="Default.Kitten/Id"> <Annotation Term="UI.ReadOnly" String="true"/> </Annotations> <Annotations Target="Default.Kitten/Title"> <Annotation Term="UI.DisplayName" String="Meww Meww"/> </Annotations> <Annotations Target="Default.Kitten/[object Object]"> <Annotation Term="Org.OData.Core.V1.Computed" Bool="true"/> </Annotations> </Schema> </edmx:DataServices> </edmx:Edmx>
hope you would have some time to elaborate!
thx
Herman

Hi. Is in the meantime a way for the $metadata route?


Edits

Add youtube button
Add LICENSE

#8 also has these updates, with some more updates, @TechStudent11 if you approve all the updates from #8 , don't merge THIS

creating new request


Can't get past Eufy Security: Setup host/port is wrong

Describe the bug
I have duckdns external address with secure address. I can't get the integration to setup using <IP_ADDRESS>, localhost, nor my actual IP address.
To reproduce
Steps to reproduce the behavior:

Go to Eufy Security: Setup after installing integration
Default <IP_ADDRESS> fails with Host/Port is wrong. Same with trying localhost and 192.168.1.xxx actual IP address.

Expected behavior
Can't get beyond install error.
Additional information
Go to Settings -> System -> Repairs -> Click on 3 dots (...) -> System Information and get Version and Installation Type to below fields;

Home Assistant Installation Type (OS - Supvervised - Core): Supervised core-2023.2.5
Home Assistant Core Version:
Eufy Security Add-on Version: 6.2.0
Eufy Security Integration Version:

Hardware Information; RPI 4
Log:
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 42, in connect self.socket = await self.session.ws_connect(f"ws://{self.host}:{self.port}", autoclose=False, autoping=True, heartbeat=60) File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 792, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandshakeError: 200, message='Invalid response status', url=URL('ws://<IP_ADDRESS>:3000') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 113, in _test_credentials await api_client.ws_connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 67, in ws_connect await self._client.connect() File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 44, in connect raise WebSocketConnectionError() from exc custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 42, in connect self.socket = await self.session.ws_connect(f"ws://{self.host}:{self.port}", autoclose=False, autoping=True, heartbeat=60) File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 776, in _ws_connect resp = await self.request( File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 559, in _request await resp.start(conn) File "/usr/local/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 898, in start message, payload = await protocol.read() # type: ignore[union-attr] File "/usr/local/lib/python3.10/site-packages/aiohttp/streams.py", line 616, in read await self._waiter aiohttp.client_exceptions.ServerDisconnectedError: Server disconnected The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 113, in _test_credentials await api_client.ws_connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 67, in ws_connect await self._client.connect() File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 44, in connect raise WebSocketConnectionError() from exc custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1154, in _create_direct_connection hosts = await asyncio.shield(host_resolved) File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 880, in _resolve_host addrs = await self._resolver.resolve(host, port, family=self._family) File "/usr/local/lib/python3.10/site-packages/aiohttp/resolver.py", line 33, in resolve infos = await self._loop.getaddrinfo( File "/usr/local/lib/python3.10/asyncio/base_events.py", line 860, in getaddrinfo return await self.run_in_executor( File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run result = self.fn(*self.args, **self.kwargs) File "/usr/local/lib/python3.10/socket.py", line 955, in getaddrinfo for res in _socket.getaddrinfo(host, port, family, type, proto, flags): socket.gaierror: [Errno -2] Name does not resolve The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 42, in connect self.socket = await self.session.ws_connect(f"ws://{self.host}:{self.port}", autoclose=False, autoping=True, heartbeat=60) File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 776, in _ws_connect resp = await self.request( File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 535, in _request conn = await self._connector.connect( File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 542, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 907, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1166, in _create_direct_connection raise ClientConnectorError(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host https:80 ssl:default [Name does not resolve] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 113, in _test_credentials await api_client.ws_connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 67, in ws_connect await self._client.connect() File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 44, in connect raise WebSocketConnectionError() from exc custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 42, in connect self.socket = await self.session.ws_connect(f"ws://{self.host}:{self.port}", autoclose=False, autoping=True, heartbeat=60) File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 792, in _ws_connect raise WSServerHandshakeError( aiohttp.client_exceptions.WSServerHandshakeError: 200, message='Invalid response status', url=URL('ws://localhost:3000') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 113, in _test_credentials await api_client.ws_connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 67, in ws_connect await self._client.connect() File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 44, in connect raise WebSocketConnectionError() from exc custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError

Never mind. Wasn't clear I had to add second eufy security add-on via add-on settings. I know, RTFM.

Glad you got it sorted. Please feel free to close off the issue.

For me the same behavior....and I really don't know how to go further (spend a lot of time on the communities).....I have already a second loging.
Describe the bug
Can't get beyond install error, I can't get the integration to setup using <IP_ADDRESS>, localhost, nor my actual IP address.
To reproduce
Steps to reproduce the behavior:
Go to Eufy Security: Setup after installing integration
Default <IP_ADDRESS> fails with Host/Port is wrong. Same with trying localhost and 192.168.1.xxx    actual IP address.
Expected behavior
Can't get beyond install error.
Home Assistant 2023.3.3 Supervisor 2023.03.1 Operating System 9.5 Frontend-versie: 20230309.0 - latest
Logger: custom_components.eufy_security.config_flow
Source: custom_components/eufy_security/config_flow.py:89
Integration: Eufy Security (documentation, issues)
First occurred: 20:33:21 (12 occurrences)
Last logged: 21:22:51
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 980, in _wrap_create_connection return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1076, in create_connection raise exceptions[0] File "/usr/local/lib/python3.10/asyncio/base_events.py", line 1060, in create_connection sock = await self._connect_sock( File "/usr/local/lib/python3.10/asyncio/base_events.py", line 969, in _connect_sock await self.sock_connect(sock, address) File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 501, in sock_connect return await fut File "/usr/local/lib/python3.10/asyncio/selector_events.py", line 541, in _sock_connect_cb raise OSError(err, f'Connect call failed {address}') ConnectionRefusedError: [Errno 111] Connect call failed ('<IP_ADDRESS>', 3000) The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 42, in connect self.socket = await self.session.ws_connect(f"ws://{self.host}:{self.port}", autoclose=False, autoping=True, heartbeat=60) File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 779, in _ws_connect resp = await self.request( File "/usr/local/lib/python3.10/site-packages/aiohttp/client.py", line 536, in _request conn = await self._connector.connect( File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 540, in connect proto = await self._create_connection(req, traces, timeout) File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 901, in _create_connection _, proto = await self._create_direct_connection(req, traces, timeout) File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1206, in _create_direct_connection raise last_exc File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 1175, in _create_direct_connection transp, proto = await self._wrap_create_connection( File "/usr/local/lib/python3.10/site-packages/aiohttp/connector.py", line 988, in _wrap_create_connection raise client_error(req.connection_key, exc) from exc aiohttp.client_exceptions.ClientConnectorError: Cannot connect to host <IP_ADDRESS>:3000 ssl:default [Connect call failed ('<IP_ADDRESS>', 3000)] The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/config/custom_components/eufy_security/config_flow.py", line 113, in _test_credentials await api_client.ws_connect() File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 67, in ws_connect await self._client.connect() File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 44, in connect raise WebSocketConnectionError() from exc custom_components.eufy_security.eufy_security_api.exceptions.WebSocketConnectionError
eufy_security Exception in login : - traceback: Traceback (most recent call last): File "/usr/local/lib/python3.10/site-packages/aiohttp

@starman2k01 I have the same error, what did you mean by "second add-on via add-on settings"? I can't get it to work.

@zelloxy You have to go to settings->addons and install the Eufy Security add-on app.

@zelloxy You have to go to settings->addons and install the Eufy Security add-on app.

I have the addon installed, I also even tried the HACS integration too. I can't get past the host/port is wrong error message. I have tried entering in <IP_ADDRESS>, I've tried the IP address for the Chime. I have tried the IP address for HAss. I tried the IP address of my router (<IP_ADDRESS>).
What am I missing?

What am I missing?

You will need both the Eufy Security Add-on and the Eufy Security HACS integration.
Is the Add on configured and started? Are there any errors showing in the Add-on’s logs tab?
Once it is configured and started: in the integration, the IP address you need will be the local IP of your Home Assistant, so localhost or <IP_ADDRESS> should work.

highly probable; please follow here: https://github.com/fuatakgun/eufy_security/issues/795

extra addon
https://github.com/bropat/hassio-eufy-security-ws


Xamarin: Error executing statement Busy in SqlLocalStorage.SetupDatabase during initial CognitoSyncManager constructor-call

After update from Core.<IP_ADDRESS> CognitoSync <IP_ADDRESS> to Core 3.3.5 and CognitoSync <IP_ADDRESS> - we've been using old versions due to https://github.com/aws/aws-sdk-net/issues/479 - we've noticed, that first time users triggers  GetCognitoSyncManager() :
	public static CognitoSyncManager GetCognitoSyncManager()
	{
		if (cognitoSyncManager == null)
		{
			cognitoSyncManager = new CognitoSyncManager(
				new CognitoAWSCredentials(
					"eu-west-1:b.....", // Identity Pool ID
					RegionEndpoint.EUWest1),
				RegionEndpoint.EUWest1
			);
		}

		return cognitoSyncManager;
	}

we are getting Error executing statement Busy in SqlLocalStorage.SetupDatabase:

As a result, app is crashing. Then, after restart - it works normally. Same code in Android works fine.
Any ideas what can it be? Anything i forgot?
Thanks!

The message Error executing statement Busy is incorrect. What it really should say is The query reported result 'Busy'.   Does this problem repro consistently?  This looks like a resource contention caused by code outside of the SDK.

The SQLITE_BUSY result code indicates that the database file could not be written (or in some cases read) because of concurrent activity by some other database connection, usually a database connection in a separate process.

@sstevenkang thanks for your reply! Yes, it's 100% consistent: every time I re-install, first call of new CognitoSyncManager(...) throws an exception. Then after restarting the app - it works as expected.

Just an update from my side: I believe, I've workarounded the issue by putting all crucial initializations into critical section and, as I remember, it solved the issue. (though I might did some other refactoring as well). So I guess we can close it :-)

Glad that you figured out a fix.  The SDK makes no guarantee when a client instance/dependent resource is shared by multiple threads.


Pull dedupe out of queue and into personality mixin

This allows the deduplication behaviour to be more precisely controlled by the personality. Previously deduping was always performed within a single batch flushed from the queue, and this could not be disabled. Now, deduping can be disabled, or made to apply across batches if a large enough cache size is set.
The conformance binaries have been updated to use this new mixin, as this is the closest to a no-op change I can make. We may want to look at making the cache size configurable and see how this affects performance.
This fixes #331.

There's already some deduplication code that was written for CT, it's Best Effort deduplication that eventually converges on always returning the smallest index possible for a submitted leaf. The plan is to take what we can out of the static-ct repo later on, and put it back in this tessera repo. This PR will change how to reason about this, both for in terms of how we align  the existing and new deduplication APIs, and what happens if both deduplications are chained together (I think it will make convergence properties slightly different). Sounds good to me to move forward with it if you want this out before Alpha, and we can re-think how the personality mixins work with one another later?

Sounds good to me to move forward with it if you want this out before Alpha, and we can re-think how the personality mixins work with one another later?

Great I'll merge this if I can get an approval. Until we hit 1.0 all parts of the API are still open to change. Ideally the core parts will change less, and the mixins are more open to change. So sounds like we're aligned that this mixin works for now but can be changed if needed.
FWIW I really like the approach I've taken here of making the mixins that modify the Add call have the same signature so you can use them as a functional decorator pattern. But if it needs to change then it can. 🙃


Bump Dependencies #1300768089

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/1300768089

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[bug] - Cannot read property 'content' of undefined

Hi 👋🏻
Looks like there is a small issue when opening an article:

Happening on Firefox

closed by #11  i think


GLTF2 Import issues

Depends on https://github.com/godotengine/godot/pull/20422.
Work in progress on resolving many of the gltf2 import issues. Does not solve all demonstrated issues with gltf2 test files.
Please review the approach in Fixes for GLTF2 commit.
Long list of GLTF2 bugs:

https://github.com/godotengine/godot/issues/19346
https://github.com/godotengine/godot/issues/15181
https://github.com/godotengine/godot/issues/15798

The problem with this patch is it fixes the animation playing but the load of a weird scene (one that has a different first frame transform) means the default pose is different from the first frame animation.
There was an issue describing the problem but I can't find it. Reduz mentioned one way is to add a default pose option that points to a track. Then, use that first frame as the editor load version of the mesh.

Here is my fox sample from sketchfab. https://sketchfab.com/models/371dea88d7e04a76af5763f2a36866bc
fox.zip
On the pure gltf2 side, this valid gltf2 file (as opened by the windows mixed reality player)'s bones are animated in the wrong place.

This fox has been causing problems. If export the fbx from blender to gltf2 the gltf2 file plays correctly but for some reason it has many skeletons. Which is confusing.
It may be related to this pull request only moving the first skeleton associated with each mesh instance.

For clarity I've reduced the samples.
https://github.com/KhronosGroup/glTF-Sample-Models/tree/master/2.0/CesiumMan
Since it is an official sample, it should be representative. If this sample works, the gltf2 problems are gone.
The two identified issues with that sample A) the skeleton is in the wrong place, have the PR for it B) the animations are wrong somehow in the data

Reduz solved A) the skeleton transform bug B) the parent index box C) process order in animation bug, there's one more to go!

After some testing results:

fbx -> modo gltf2 -> godot (animations explode)
fbx -> blender gltf2 -> godot animation is fine.

What blender sees is what one gets. The shoulder blade stretch issue is shown below.


Add option to disable lowercase conversion of all uppercase words.

Hi @soldni thanks for maintaining this tool. I made a small change for my local installation, and thought it would perhaps be useful for others as well.
I ran into an issue when all characters of a medical term were in uppercase. By default, QuickUMLS would convert this term to lowercase. This would then make it difficult to distinguish between the normal word, and the original term in uppercase. For example, the acronym MAP for microtubule-associated proteins would be converted to map. I added an argument to disable this conversion, resulting in that MAP can be more easily identified as microtubule-associated proteins and is not confused with the word map.
The added functionality would only work when the database is installed without the -L option.

Thank you for this pull request, @sandertan! Can I ask you to add a simple check in the __init__ method that verified that self.to_lowercase_flag is not set to true, and raise an error otherwise?

@soldni Done!


added 0x801C03F2 error code

added 0x801C03F2 with resolution link in it.

@mapalko The PR that includes a new error code in hello-errors-during-pin-creation.md document is available for your review. Thanks.

Looks like this PR supersedes the PR #4676 (I have added error code 0x801C03F2 - Please review) -- is that correct?

@mapalko Following up for updates. Thanks.

Thank you. Yes. This one supersede the previous one and this is latest.

Thank you for all your help

@NagaCSC : Hang on, you closed this PR without letting anyone merge the content to MicrosoftDocs:master -- did you intend to scrap this content?

Sorry, I thought it has mereged already. I am new to using this tool and I have reopened. Please let me know if that helps

Yes, that makes all the difference. The PR is now ready for final feedback and review (and merge when the document manager or admin accepts this content). You are not required to do anything unless asked to make any changes, if recommended by any of the MS Docs team members or admins. Otherwise it is only a relaxed wait for the merge process to take place.

... and as before, the easy way to view the change is by accessing the rich text diff:
https://github.com/MicrosoftDocs/windows-itpro-docs/pull/4710/files?short_path=748573b#diff-748573bf46cfc3dfc4c3414c93e69d60

@mapalko Following up for updates.

Please let me know if any action further required from my end.

@NagaCSC can you merge my PR(https://github.com/NagaCSC/windows-itpro-docs/pull/1) I don't have write access to your branch.

I dont see any merge option and It shows below message with green tick
Only those with write access to this repository can merge pull requests.
All I have is -comment & Close Pull request

@NagaCSC weird... Can you just copy in my changes into your commit then:
ERROR_BAD_DIRECTORY_REQUEST. Another object with the same value for property proxyAddresses already exists. To resolve the issue refer to Duplicate Attributes Prevent Dirsync.

I pinged you in Teams from my id (naveerap@microsoft.com). I can show you further. I dont see "Commit" all I see here is "Close pull request" or "comment"

Looks like you were able to solve it now. Nice. 😃

Thank you. yes. it did show that option. I will wait for the public doc to reflect the changes. may be after sometime or tomorrow

Umm, may I ask what you refer to when you say "for the public doc to reflect the changes" -- I hope you don't mean the public site docs.microsoft.com ?

I also hope you are aware that the scripted publishing run can take anything between 3 and 10 days to happen, from the moment your PR content is merged.

Good to know, I am not aware that it would take 3 to 10 days. I will check after two weeks then 👍
https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-errors-during-pin-creation

Hang on, I think you clicked the big, fat [Comment and close] button instead of the [Comment]-only button. Please reopen.

my bad. sorry about that. I left it open now. I will leave this as it is for two weeks.

Fair enough. I guess it can wait until next week to see who picks up the assignment for this PR.

@NagaCSC The PR will be merged within a few days and the changes would usually take place at most within a week. Thank you for taking the time to contribute and following up with suggestions.

@AndreaBarr The PR that has been approved by its document author is ready to be merged. Thanks.

@AndreaBarr Following up.


server.favorites.add_favorite_workbook(user_item, workbook_item) returns resource conflict

Describe the bug
server.favorites.add_favorite_workbook(user_item, workbook_item) returns resource conflict when multiple workbooks exist on a server with the same name, despite having different IDs. The workbooks have the same name but exist in different projects. A common example would be when a workbook or tableau server object (e.g., workbook, datasource, flow, etc.) exist in a production folder and also in a UAT/Test folder. A user may favorite both versions.
Versions
Details of your environment, including:

Tableau Server version: 2022.1
Python version: Python 3.9.12
TSC Version: 3.15

To Reproduce
import tableauserverclient as tsc
Setup
token_name = 'some_token_name'
token_value = 'some_token_value'
tableau_auth = tsc.PersonalAccessTokenAuth(token_name=token_name, personal_access_token=token_value)
server = tsc.Server('some_server')
server.add_http_options({'verify': False})
with server.auth.sign_in(tableau_auth):
server.use_highest_version()
from_user = server.users.get_by_id('some_user_id')
to_user = server.users.get_by_id('some_user_id')
server.users.populate_favorites(from_user)
server.users.populate_favorites(to_user)
from_user_favorites = from_user.favorites
for workbook in from_user_favorites['workbooks']:
server.favorites.add_favorite_workbook(to_user, workbook)
Results
What are the results or error messages received?
ServerResponseError:
409007: Resource Conflict
	A favorite already exists with the name 'some_name'

This looks like an internal error - I've asked the relevant team to look into it.

This will be fixed in an upcoming release.


how to use nopfs?

Hi, nopfs looks perfect for integrating bad bits. However, it's unclear to me how to install and use nopfs.
Thanks!

Hello,
I'm currently waiting for a stable release of Kubo to include the necessary changes. This will allow to align dependencies and provide either a pre-built plugin or at least an streamlined way of building it.
This can currently be done with master etc. by aligning dependencies manually with current Kubo master.
Other than that, nopfs provides a Go Blocker implementation that can be used to parse the compact list format and ask questions (i.e IsCidBlocked). And the Kubo plugin is built using wrappers around NameSystem, BlockService and Resolver types, that call the Blocker methods, which could of course also be used when building something custom.
All in all, as soon as I can depend on a stable release of Kubo & co. there code will be made to work as easy as possible with upstream. Leaving this open until then.

OK, thanks Hector!

@monperrus can you give a try to this? https://github.com/ipfs-shipyard/nopfs/releases/tag/nopfs-kubo-plugin%2Fv0.21.0-rc1.3


Would like to see a toolkit for Affinity Designer

As a user of Affinity Designer I'd like to have a version of the UI kit for Affinity Designer. It is a nice design program and I believe it is the only serious design program available through the Microsoft Store.
There is a user-created version available at https://github.com/chrisg32/AffinityDesignerUWPAssets but unfortunately that is outdated - it would be great if you could maintain an up-to-date version!

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist om problemen te koppelen tussen docs.microsoft.com en GitHub.

ID: d9fc7b1d-8b97-598a-f059-093d94972931
Version Independent ID: 943e9c97-f223-4d3c-730c-a7f20cb04560
Content: Design toolkits and samples for UWP apps - UWP app developer
Content Source: windows-apps-src/design/downloads/index.md
Product: windows
GitHub Login: @mijacobs
Microsoft Alias: mijacobs

Thanks for the feedback, @wind-rider! I've passed your request on to our Design Toolkits team.

Thank you!

@hansmbakker I heard back from the design team--there aren't any plans to develop a UI toolkit for Affinity Designer at this time. If they do end up creating a toolkit, they'll post it here. They are creating a Figma toolkit (I don't have an ETA yet, but it should be soon).


Fix read-after-write race condition

Currently the integration sometimes polls the state of a light
immediately after a write, but this resets the optimistic (assumed)
state to a wrong value in some cases because Govee returns the wrong
state after a write for some time.
This fixes this by ensuring the next poll after an update is delayed by
at least the POLL_INTERVAL.

CI failure seems to be unrelated to my PR.

This sounds reasonable, thanks!
re: hassfest failure, yeah, it's unrelated.


Weighted estimation

Dear Matthieu,
I am trying to carry out a weighted regression (by municipality size):
regife growth attack_1_2-attack_13_14 [w=popul], a(i.id i.year) f(id year, 1)
However, I obtain the following error message:
(analytic weights assumed)
if not allowed
r(101);
Although, following the help file, I have tried using constant weights by municipality this does not work either.
Thank you very much for your help!
Marcos

Thanks for the report. The bug should be corrected in the version available here.
Look at the instructions in the README to install the latest version on Github

Thank you very much. This version works properly in Stata 12.


nuGetFeedType and packagesToPush descriptions incorrect

In the Arguments section, I think packagesToPush has the description for nuGetFeedType and the entry for nuGetFeedType is entirely missing.

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

ID: 0fa37a3f-6551-16ad-e164-a4ac522cdaab
Version Independent ID: a3fd6935-2b99-92ef-4eb3-3249fca01f8a
Content: NuGet restore, pack, and publish task - Azure Pipelines
Content Source: docs/pipelines/tasks/package/nuget.md
Product: devops
Technology: devops-cicd
GitHub Login: @chasewilson
Microsoft Alias: phwilson

Related, the YAML snippet at the top of the page says:
#packagesToPush: '$(Build.ArtifactStagingDirectory)/**/*.nupkg;!$(Build.ArtifactStagingDirectory)/**/*.symbols.nupkg' # Required when command == Push
But it looks like the value shown is the default when command is push, and it's not actually required if you are okay with that value (which is compatible with the default behavior of pack).

@brandonaut Thank you for your feedback. The article reference is being updated to address the issue.


Publishing on IIS Server

I want to publish my serenity application to IIS Server, what should I do?

I published to IIS without much issue.  Have you tried it?  Are you getting errors?

Just as a side note.  I see you've created a lot of issues recently.  Just a fair warning, this community is helpful and respectful.  However, we all react in a more helpful way when someone has put a bit of effort in.  If you have a question please take the time to read the docs, study the examples, and check here to see if it's been asked.

i am using IIS without any issue. can you tell what errors you are getting?


Don't set defaults on url markers by default

Looks like this fix https://github.com/mapbox/geojson-mapnikify/pull/20 revealed another bug -- once marker-color started working for marker-url it applied to all marker-url features as they were all having default properties set.
The fix skips applying default properties to marker-url features.
cc @jakepruitt @flippmoke

Coverage decreased (-2.2%) to 87.692% when pulling c942e0ecacece7d11be3d6b5f950af6ddda3ea1d on greyhound into 19522aeb8afc8a3c6c7549ca9f3698b9e4d04999 on master.

Coverage decreased (-2.2%) to 87.692% when pulling c942e0ecacece7d11be3d6b5f950af6ddda3ea1d on greyhound into 19522aeb8afc8a3c6c7549ca9f3698b9e4d04999 on master.


Add www.gimakad.torun.pl

Part of Nicolaus Copernicus University in Toruń. To check site, use
adress with 'www' (www.gimakad.torun.pl - website have a problem with adress without 'www').

Thanks! :)


Registration Landing Page

Description:
Build the landing page (all static elements) of the Registration app.
For now (sept 28): These components would be helpful for start on the page for now: Login buttons + Logo + App name + Two columns for information + Footer links
Acceptance Criteria:
Given I have navigated to the homepage of the Registration app
Then I should see options for logging in as a Program Administrator (IDIR) or as an Industrial Operator (Business BCeID), and introductory information about OBPS
Development Checklist:

[ ] See wireframe: https://www.figma.com/file/LsDmLDCdnJqI8UahyqvOD8/Registration-app?type=design&node-id=50-3570&mode=design&t=UsX3lC65qL1N52Bd-0
[ ] The Header with Login buttons (placeholder If we don't have IDIR integration by the time we implement this ticket), logo and app name (we have examples in CIF)
[ ] The Footer with all related links (Can we use the same links as CIF?!)
[ ] Two-column layout on the content area (Waiting for BA to provide the content)
[ ] Add e2e tests (and snapshots if we have that by then)
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:

Adding attn: Bussiness Area label for the content of the page.

Hey team! Please add your planning poker estimate with Zenhub @dleard @BCerki @mikevespi @shon-button @JoshLarouche @joshgamache

We're no longer using the Button toolkit, so we'll have to make the header, subheader, and footer components from scratch with MUI


non-pairwise effect sizes

Hello,
I trying to use evident and am wondering if there is a way to filter the data before calculating non-pairwise effect sizes.
I want to calculate the non-pairwise effect size of one category (species). I have five variables currently in that category (water, dog, cat, rabbit, mouse). Is it possible to calculate non-pairwise effect size of only dog, cat, rabbit, mouse ie by first filtering out the water samples?
Alternatively, is it possible to derive non-pairwise effect sizes for the four species based on pairwise effect sizes? For instance, I calculate pairwise effect sizes based on all five variables (water, dog, cat, rabbit, mouse) then I ignore the pairwise effect sizes that involves water samples. Using the remaining effect sizes (related to dog, cat, rabbit, mouse), can I calculate a non-pairwise effect size?
Thank you for your time.

Thank you for your help!


Update l01c01_introduction_to_colab_and_python.ipynb

Typo correction.

Hello
I have signed it. Please have look on the pull request.
On Sat, 16 Mar 2019 at 7:59 AM, googlebot<EMAIL_ADDRESS>wrote:

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

ℹ Googlers: Go here
https://goto.google.com/prinfo/https%3A%2F%2Fgithub.com%2Ftensorflow%2Fexamples%2Fpull%2F28
for more info.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/examples/pull/28#issuecomment-473491134,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADd9daBvryJaWRhSMFUtf4eRcl5G867gks5vXFbzgaJpZM4b3jvX
.

--
Thanks
Prateep Gedupudi
+91<PHONE_NUMBER>

The CLA bot can't see your github email address, that's why it says "no".
Can you make your github email visible to appease the bot?


⚠ Bofrost.es has degraded performance

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

HTTP code: 200
Response time: 1639 ms

Resolved: Bofrost.es performance has improved in 6797140 after 20 minutes.


Improve operator experience with Mixer logs

We need to ensure that our logs are meaningful and help the operators trace and identify issues easily.
A couple of tactics for this:

Identify logging points in code, where the issue is fixable by the operator and call it out as such, with potential fixes, within the log entry.
Pervasively use uniquely identifiable error codes (a-la compiler errors such as this: https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/compiler-messages/cs0234) This ensures that the operator can do a single Google search lookup and find more detailed documentation easily.

@ozevren related, not specifically applicable to your error-oriented bullets: there was a request on istio-users for operatores to be able to easily discover the rule name for all dispatches. this seems like something that could be rolled into runtime2 and would improve operator experience.

Not stale. Still useful to track errors to source code. Extra useful for caching related issues.

@ozevren @kyessenov : Would you mind assigning someone, or making that issue an Epic with clearly identified subtasks (e.g. 1: Do we have a central error code place, that we could use as a Log interface - if not, building that is a task/feature, 2_and_+ : identify the first places to implement this type of logging).
It looks to me that this one is going to be stale for ever if it's not being more precise; if this is really a P0 and subsequently a release showstopper, I think we should be able to understand how to solve it.

I'm not sure how much we want to invest here, since Mixer code is going away. I think it is more important to incorporate this into design of Mixer v2.

I think we should close this issue (overcome by events). Mixer development is basically frozen (bug fix only).


Unary minus unsupported in math expressions

Expressions with unary minus (aka. negation) are not excepted by our parser:
>>> from rflx.parser import *
>>> grammar.mathematical_expression().parseString("-X")
...
pyparsing.ParseException: Expected {{"and" | "or"} term | {{{{{"=" | "/="} | "<="} | "<"} | ">="} | ">" | {"in" | "not in"}} term}, found '-'  (at char 0), (line:1, col:1)

Why is it needed? Our simplification produces these kind of expressions:
>>> str(Sub(Variable("X"), Mul(Variable("Y"), Number(8))).simplified())
'X + Y * (-8)'

If we want to be able to parse the result, we need to support unary minus. Another option would be to fix the simplification to avoid these changes.

I would propose to add support for negative numeric literals (e.g., -8). Adding support for unary minus for expressions in general would be a bigger change and I don't see a benefit in that. The problem with the expression shown above is not only the sign, but also the parentheses. Currently, numeric literals in parentheses are interpreted as aggregate (e.g., (8) is parsed as Aggregate(Number(8)).
Option 1: Only support negative numeric literals without parentheses
X + Y * -8.
Con: This interpretation is not consistent to Ada. The need for removing parentheses is uncommon and thus confusing.
Option 2: Change syntax of aggregates with single element
2.1: (0 => -8)
Pro: Similar to Ada.
Con: As we don't have indices in our arrays, using 0 (or any other number) is arbitrary and confusing.
2.2: (-8,)
Pro: Simple and obvious syntax.
Con: Syntax is contrary to Ada.

Option 3: Change syntax of aggregates
<-8> / <1, 2, 3> or {-8} / {1, 2, 3} or [-1] / [1, 2, 3]
Pro: No ambiguities wrt. to parenthesizing
Con: Syntax inconsistent with Ada

Option 2.1 is something I always hated about Ada aggregates and I always found it a confusing technicality. I don't think option 1 is favorable either - users will be confused about expressions that look perfectly valid.
Option 2.2 is okayish, but the difference between a single-element aggregate and a parenthesized number is still minimal (which again may confuse users). I'm also not a big fan of the trailing comma. Maybe we should switch to backets like in Python lists? Aggregates are not that common in our specs after all and I don't want to be Ada-compatible at any cost.
@jklmnn @treiher What do you think?

I like the idea of using square brackets. That would be my preferred option. 2.2 would be fine too.

Option 2.1 is clear as long as one is used to the Ada syntax, it might be confusing otherwise.
Option 2.2 is something I really dislike as it introduces an error possibility by forgetting a single symbol (especially since the error leads to changing the type of the expression instead of an invalid syntax).
Option 3 with square brackets would be okay for me since this is a common syntax for aggregates and also already discussed here.

Option 3 with square brackets would be okay for me since this is a common syntax for aggregates and also already discussed here.

Interesting! Then square brackets it is.

Introducing an expression representation which is incompatible with Ada has some implications. Currently, we just use the same expression classes for representing our specification in Python as for generating Ada code. This will not work anymore, when aggregates have a different syntax. That is why I would decouple both representations by duplicating the existing expression hierarchy into the Ada module. This separation has also the advantage, that it makes clear which expressions need support for additional functionality like simplification, substitution, Z3 proof or typing, and which not (expressions in our specification vs. expressions needed for Ada). Expr will get a method ada_expr which creates a corresponding Ada representation (similar to z3expr).