multiple containers on same host, on same network as host, accessible from outside host

like others, I am trying to use containers to implement multiple instances of smaller applications.
the application has multiple parts and assumes that it can use the callers IP address to open a socket on a different port back to the callers system.   so the builtin Ip address won't work..
I just don't understand what the host side of this network connection is.
the host has <IP_ADDRESS> as address fro dhcp server.  the containers will be in that same address space 192.168.2.x.
if I use pipework ?? container dhcp, I get  eventually and ip address but no default route.
technically it should be '<IP_ADDRESS>' I think, as that is the only way to get out of the container anywhere..
but there is no default route.
if I do it manually (no dhcp), it sets up what I tell it<EMAIL_ADDRESS>with default route thru 33,  but it doesn't work.
I assume the host side is not setup properly..
as I might have 20 containers on this system, I don't want to consume 40 IP addresses. only need 1 for each container.
eth0 is the .33 address. it is not a bridge.
if I specify pipework eth0 nothing changes on the host side, but nothing works
if I specify pipework br0 I get a new interface on the host, but nothing works.
ubuntu 14.04, docker 1.6.2, latest pipework loaded today
commands and results
sudo pipework eth0 $(docker run -d --name web larsks/simpleweb<EMAIL_ADDRESS>sam@buildserver:~$ docker exec web ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
75: eth0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:13 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/16 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42:acff:fe11:13/64 scope link
valid_lft forever preferred_lft forever
77: eth1@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 46:14:58:21:74:77 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::4414:58ff:fe21:7477/64 scope link
valid_lft forever preferred_lft forever
sam@buildserver:~$ docker exec web ip route
default via <IP_ADDRESS> dev eth1
<IP_ADDRESS>/16 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth1  proto kernel  scope link  src <IP_ADDRESS>
host info after pipework command
sam@buildserver:~$ sudo ifconfig
docker0   Link encap:Ethernet  HWaddr 56:84:7a:fe:97:99
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 addr: fe80::5484:7aff:fefe:9799/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:544 errors:0 dropped:0 overruns:0 frame:0
TX packets:362 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:47188 (47.1 KB)  TX bytes:34921 (34.9 KB)
eth0      Link encap:Ethernet  HWaddr 1c:c1: de:50:8e:cb
inet addr:<IP_ADDRESS>  Bcast:<IP_ADDRESS>  Mask:<IP_ADDRESS>
inet6 addr: fe80::1ec1:deff:fe50:8ecb/64 Scope:Link
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:152966 errors:0 dropped:2575 overruns:0 frame:0
TX packets:59295 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:121662946 (121.6 MB)  TX bytes:4266361 (4.2 MB)
sam@buildserver:~$ sudo ip route
default via <IP_ADDRESS> dev eth0  proto static
<IP_ADDRESS>/16 dev docker0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth0  proto kernel  scope link  src <IP_ADDRESS>  metric 1
sam@buildserver:~$ sudo ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
link/ether 1c:c1: de:50:8e:cb brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::1ec1:deff:fe50:8ecb/64 scope link
valid_lft forever preferred_lft forever
with dhcp
sudo pipework eth0 $(docker run -d --name web larsks/simpleweb) dhcp
sam@buildserver:~$ docker exec web ip routesam@buildserver:~$ docker exec web ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
78: eth0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:14 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/16 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42:acff:fe11:14/64 scope link
valid_lft forever preferred_lft forever
80: eth1@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 2e:30:c9:73:ff:86 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::2c30:c9ff:fe73:ff86/64 scope link
valid_lft forever preferred_lft forever
default via <IP_ADDRESS> dev eth0
<IP_ADDRESS>/16 dev eth0  proto kernel  scope link  src <IP_ADDRESS>
<IP_ADDRESS>/24 dev eth1  proto kernel  scope link  src <IP_ADDRESS>
sam@buildserver:~$ docker exec web ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet <IP_ADDRESS>/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
78: eth0: <BROADCAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
link/ether 02:42:ac:11:00:14 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/16 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::42:acff:fe11:14/64 scope link
valid_lft forever preferred_lft forever
80: eth1@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN group default
link/ether 2e:30:c9:73:ff:86 brd ff:ff:ff:ff:ff:ff
inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth1
valid_lft forever preferred_lft forever
inet6 fe80::2c30:c9ff:fe73:ff86/64 scope link
valid_lft forever preferred_lft forever

using udhcpc on the host now gets the default route from dhcp added to the container..
but its the wrong destination..   the route gets the dhcp server supplied route.. <IP_ADDRESS>, and the container can ping that address..  but there is no path back to the container.
if I change the container default route to <IP_ADDRESS> (the container host). I cannot ping anything again. but traceroute from the host to the container IP shows that <IP_ADDRESS> is the path, but the response time is almost 3 seconds.
also, had to use --net=none on starting the container, otherwise the normal network setup using docker0 is still created and that default route in the container is left intact.

using the code from the doc for the macvlan reconfig on the host  solves my issues.. will close this

how can I detect if the default route device is a macvlan based device?
I want to be able to setup the macvlan if needed before starting containers.
ip link show
results in
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether 1c:c1:de:50:8e:cb brd ff:ff:ff:ff:ff:ff
3: wlan0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DORMANT group default qlen 1000
link/ether 70:f1:a1:a7:00:82 brd ff:ff:ff:ff:ff:ff
146: eth0m@eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UNKNOWN mode DEFAULT group default
link/ether 9e:ad:55:89:91:ff brd ff:ff:ff:ff:ff:ff
ip route
results in
default via <IP_ADDRESS> dev eth0m
<IP_ADDRESS>/24 dev eth0m  proto kernel  scope link  src <IP_ADDRESS>
so, it looks like if the interface starts with the default route device (eth0m) and contains an @
then it might be a macvlan?


Execution of workflow always fails with: Result file was not found error

Environment

Covalent version: 0.177.0.post1.dev0
Covalent-SSH plugin version: 0.13.0
Python version:  3.8.13
Operating system:  MacOSX 12.2

What is happening?
Executing any workflow using SSH executor complains about result file not existing in the remote machine even in cases where it does indeed exist.
How can we reproduce the issue?
Execute any workflow using the SSH executor.
What should happen?
The workflow should succeed given it is able to find the result file.
Any suggestions?
No response

Closed by https://github.com/AgnostiqHQ/covalent-ssh-plugin/pull/43


Timer enhancement ideas

I checked out a bunch of clock/timer tools and this one looks really good. I had some ideas for the timer that might be interesting:

[x] Allow the fractional seconds to be disabled (they can be a bit distracting).
[x] When the timer ends make it blink, perhaps in a different colour.
[x] Accept a command to run when the timer ends. This could be used to invoke notify-send to show a notification when the timer ends

E.g tclock timer -d 14m -e notify-send 'Timer' 'The timer has finished'

Hi @wezm, thanks for your interest on this tool, and those ideas sounds really great. I'll try to support those features, and pull requests are welcome if you want to help implement them.

All features are implemented, and included in version 0.3.0+.
Thank Wezm for the contribution!

Fantastic, thank you.


Split tests to support Edge Stack

This was a royal pain, and there's more to do, but this tweaks things up enough to support starting to run the KAT tests under Edge Stack.

There's a lot of stuff here to separate manifests and goldfiles depending on whether we're running in Edge Stack or OSS.
There's also easier support for xfailing a test, so that (among other things) it's straightforward to xfail a test on Edge Stack.
At present, we don't allow running in local mode for Edge Stack. Coming soon.
At present, most tests disable Edge Stack's automatic redirect-cleartext-from, because most of the tests assume that they can speak cleartext without redirecting.
At present, several tests (mostly around TLS) are xfailed on Edge Stack as we sort out fallback TLS and such.

Obviously we need to get rid of the xfails and support local mode. This is just a starting point.

I assume there's going to be a sibling PR in apro.git to add the gold and manifests directories?

Ah, the counterpart is https://github.com/datawire/apro/pull/668

The xfail logic seems... funny to me.
LGTM

Assuming nothing sneaky happened, and the manifests/ directory is verbatim from manifests.py
Pending my approval on https://github.com/datawire/apro/pull/668, which I haven't done yet.


Project Level 6

Hi everyone :(
I am currently stuck at level 6 and I'm not sure how to start. Based on some of the question asked here previously ,  I know we might need an WaitingToBeServedEvent class that sits between ArriveEvent class & WaitEvent class.
class Server {
    private final int serverID;
    private final double nextAvailableTime;
    private final int maxNumCanWait;
    private final Optional<Customer> currentlyServing;
    private final Optional<Customer> customerWaiting;

I am thinking of removing my Optional customerWaiting into a PQ so that I can add a few customers into some customers  in the PQ..... Can anyone guide me in how to solve this problem as I'm not sure how to start?
Any input and suggestion will be greatly appreciate!  D:

Hi, not too sure ur exact implementation, but u will nid to change ur wait and serve (at least); serve will take the first of ur PQ, and wait will cause the customer to wait until he/she is at the front of the PQ

A PQ in Server sounds like a good idea, where your canServe() and canWait() events (or whatever you call them) are based off the PQ length/size.
You don't really need a WaitingToBeServedEvent  class, its quite a roundabout way of solving the problem imo. A more elegant approach (relatively) is to capture DoneEvent  in SimulateX::run() and create a new ServeEvent with the next guy in the queue.


Include binaries for 32bit ARM chips

It'd be nice to include a 32bit ARM binary alongside the 64bit one, which would make it easier to install this project on older Raspberry Pi's (among other devices).

Thanks for reporting! This should be resolved moving forward, starting with release 1.0.6. The assets with 32 bit ARM binaries are labeled with the suffix armv6. For example: crib_Linux_armv6.tar.gz. I don't have a physical device to test this with, so please me know if you notice anything wonky.


bad routing

all methods are falling to delete method
for(var method of legalMethods){
var restifyMethod = method;
if(method==='delete') restifyMethod = 'del';
routerPrototype[method] = function(path, cb){
if(!this.actions) this.actions = [];
this.actions.push({
method: restifyMethod,
path: path,
callback: cb
});
if(this.server){
this.active(restifyMethod, path, cb);
}
}
}
please wrap this in a method otherwiser "restifyMethod" will be overritten

I'll check it soon, thanks

Fixed.
Caused by simply replacing 'let' to 'var' before publish.
What's more, the 'for ... of ...' is also removed to support earlier version of node.js
Thanks.


Improve "share video" link in "my videos"

Currently we show the direct link and make it easily copyable. But if the video is only mounted in one realm, we likely only want to show that link, not the direct link. Or at the very least we want to make the direct link less prominent and suggest sharing the link "in the realm context". If the event is mounted in multiple realms, we should make it possible to select in which context the user want to copy it.

Can this be closed in line with https://github.com/elan-ev/tobira/issues/743?

TBD: RSS Feed

TBD: RSS Feed

Not sure what this means? We have a dedicated issue for RSS stuff: https://github.com/elan-ev/tobira/issues/791

That was just a reminder to include RSS in the "Share" section. Mentioned it in https://github.com/elan-ev/tobira/issues/791.

That was just a reminder to include RSS in the "Share" section. Mentioned it in https://github.com/elan-ev/tobira/issues/791.

Question: What "said page" are you referring to when saying: "There is a UI on said page that offers to share the direct link. And further down, there is a list of all pages that the videos is included in. Clicking on those brings the user to the "in page video", being able to share from there."

Like this?

Yes that's the page I am talking about.

Well, if you could add the text information to the page that would be good enough for me at the moment so that users have both direct links and page links. #dagraf?

Well, if you could add the text information to the page that would be good enough for me at the moment so that users have both direct links and page links. David?

I would suggest we move the "Share via direct link:", its textbox and explanations to the very bottom of the "Video details" page and alter the other text informations slightly. Maybe like this:
_Referencing pages
This video is referenced on the following pages. If you want to share the video with its references, visit those pages and use the share options offered there.

TITLE OF PAGE1
TITLE OF PAGE2

Direct link to video without reference
Textbox containing the link_

Makes sense to place it with "Referencing pages". But: Sharing the (direct) link is probably the most important feature on that page - which is now at the bottom. Couldn't we move "Referencing pages" up to "Share"?


Auto No Longer Works for --messagefont argument

Describe the bug
In a previous version of swiftDialog, specifying color=auto in the --messagefont argument still allowed text to be displayed properly.  Now it removes all text, regardless if a message is specified or not.  I'm really not sure which version this stopped working on, but I believe it's been a while.  This auto feature is super useful for me, as I often change the text to red when displaying errors, and I need to change it back to auto when the errors are cleared.
To Reproduce
#! /bin/bash
dialog --message "test message"
--messagefont "color=auto"
Expected behavior
The message is displayed in black text if in light mode, or white text if in dark mode.
Screenshots
The dialog displayed from the above script:

Desktop (please complete the following information):

macOS version: 14.5
swiftDialog version <IP_ADDRESS>68

messsage font modification is actually kinda broken since upgrading to newer releases of MarkdownUI. Plan is to use native markdown in SwiftUI and remove that framework but that will probably be a v3 thing.


improve ISO 8601 parsing for temporal filter

Fixes #330.
As suggested by @jhkennedy, earthaccess will now pass a datetime object (or None) to cmr, essentially replacing the basic string parsing that cmr does with datetime.strptime with flexible and timezone aware parsing by dateutil.parser.
The change created the opportunity to change the test for invalid datetimes to check for different exceptions.
I have a typing problem though:
+ mypy earthaccess --disallow-untyped-defs
earthaccess/search.py:21: error: Argument 1 to "parse" has incompatible type "str | datetime"; expected "bytes | str | IO[str] | IO[Any]"  [arg-type]
earthaccess/search.py:23: error: Incompatible types in assignment (expression has type "str | datetime", variable has type "datetime")  [assignment]

I gather you have to do things the mypy way ... any suggestions what that would be here? Seems incompatible with try ... except, but I'm not used to typing.

📚 Documentation preview 📚: https://earthaccess--486.org.readthedocs.build/en/486/

Believe the pre 3.10 checks are failing due to None | dt.datetime as a type hint for the return, which must be newer syntax.

Believe the pre 3.10 checks are failing due to None | dt.datetime as a type hint for the return, which must be newer syntax.

Yes, using | instead of typing.Union is new as of Python 3.10. In general, you can write | like:
from typing import Union

def foo(thing: Union[int, float]):

For None | thing, specifically, there's a special Optional type:
from typing import Optional

def bar(bazz: Optional[thing]:   # bazz can be None or thing

Test error is ModuleNotFoundError: No module named 'numpy'. How could the test environment be missing numpy?

With nasa/python_cmr#31 merged, I believe we can close this as a won't fix in favor of a new PR that passes user's temporal input directly to python_cmr. Sound good?


soc: arm: k6x: Added power management module to the k6x soc

Sleep 1 utilises the kinetis wait mode to save power.
clock changes during power module operation.
Use the extern int value to set the actual clock freq.
Signed-off-by: Nicolai Glud<EMAIL_ADDRESS>

I would like to have the stale label removed.

Please rebase to the latest code. There have been updates to the power management framework.

Sure, i'll give it a go should the enable/disable be a separate pull request?

Sure, i'll give it a go should the enable/disable be a separate pull request?

We'll I think we need to move the pinmux bits into the UART driver, which means getting the data from devicetree and coming up with a binding for the NXP SoCs for how to describe that info.
Additionally than I think it means implementing a pm control function in the uart driver.  See drivers/serial/uart_cc13xx_cc26xx.c and uart_cc13xx_cc26xx_pm_control.  I haven't looked at the specific details here, but I think that's the direction we need to head towards.

Here's a pointer to some old idea's on representing pinmux for k6x:
https://github.com/zephyrproject-rtos/zephyr/pull/33262


Create dedicated Gulp.js page

As we link to one from the homepage.

I started that last night and bumped into this: https://github.com/GoogleChrome/workbox-microsite/issues/10


Added support for configurable file format

I've found it desirable to be able to parse the files produced by the proxy. The default format used for the .log file is not bad but not so easy to parse.
Therefore, I've added the possibility to ask the proxy to create .json files instead of .log via a new configuration option -f
The JSON rendering is a thin wrapper around the text format, it could be made better, but it's a start :wink:

Json format is nice. I included your code.


Targeted Refresh is not triggered

Dear,
I am testing the new targeted refresh for OpenStack providers in version gaprindashvili-1-rc1 and I noticed the following, that I suspect to be a bug.
The problem (for openstack at least) is that the code below is looking for properties "inventory_object_refresh" and "allow_targeted_refresh" inside object "Settings.ems_refresh["openstack"]". However this property indeed resides in Settings.ems.ems_refresh["openstack"]. After I changed this code MIQ started to schedule targeted refresh.
I discovered this by debugging the following code.
manageiq/app/models/manageiq/providers/cloud_manager/provision/state_machine.rb:

def poll_clone_complete
clone_status, status_message = do_clone_task_check(phase_context[:clone_task_ref])

(...)

if clone_status
  clone_task_ref = phase_context.delete(:clone_task_ref)
  phase_context[:new_vm_ems_ref] = clone_task_ref

  manager_settings = Settings.ems_refresh[source.ext_management_system.class.ems_type] --> THIS LINE!
  if manager_settings && manager_settings[:inventory_object_refresh] && manager_settings[:allow_targeted_refresh]
    # Queue new targeted refresh if allowed
    vm_target = ManagerRefresh::Target.new(:manager     => source.ext_management_system,
                                           :association => :vms,
                                           :manager_ref => {:ems_ref => clone_task_ref})
    EmsRefresh.queue_refresh(vm_target)
  else
    # Otherwise queue a full refresh
    EmsRefresh.queue_refresh(source.ext_management_system)
  end

(...)

@giofontana can you close this issue.

Done.


Add watchAll=false to test coverage docs

Close #10033

Hi @ianjmacintosh!
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.
In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.
If you have received this in error or have any questions, please contact us at<EMAIL_ADDRESS>Thanks!

Signed.


add new ELB TLS policies

Issue # (if available):
Description of changes:
Adding 4 new security policies in addition to the existing policies for ALB/NLB.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

:exclamation: No coverage uploaded for pull request head (master@f50be42). Click here to learn what that means.
The diff coverage is n/a.


Specific Ecto dep once

See discussion:
https://github.com/thoughtbot/ex_machina/commit/1dfa863086c9f24c27fd22988e6df5733d844174#commitcomment-21271957

LGTM , typo in the commit message "Specify"

@drapergeek Thanks for catching the typo.


Invalid DSM provider

How do I find the right one? There is no selection of DSM providers

Amarok use Delegated-Scopes-Manager, which only allows one DSM provider per Android device.
Please follow the tutorial (Chinese) to configure DSM provider.
Note that DSM mode is not recommended and may be deprecated in the next release.
Instead, use Root Mode if your device is root or Shizuku Mode if not.

I suppose this has been resolved. Feel free to reopen it if you still need more assistance.


Re-captcha in /create doesn't display in Chrome

The Re-captcha of the /create page doesn't load in Chrome, so it's impossible to create a new site if Re-captcha is enabled. I'm on the latest Chrome on Windows, Version 63.0.3239.108 (Official Build) (64-bit), and latest respond zip file.
Chrome:

Same respond installation but on Edge:

The Chrome developer console shows the following error, which is probably the culprit:

Uncaught TypeError: Cannot read property 'nativeElement' of undefined
at n.onloadCallback (main.0f81c9e933404447adee.bundle.js:1)
at recaptcha__en.js:381
at br (recaptcha__en.js:372)
at recaptcha__en.js:381
at recaptcha__en.js:392

Weirdly, this error actually occurs in Edge too, but only on the first page load (i.e. open Edge -> navigate to /create page). If you then press F5, the error disappears and the captcha loads.

That is odd.  I will look into it.

There's also another captcha bug I'm having, I'm not creating a new issue as it might be related: When recaptcha is enabled for forms on a site (following this and then enabled on the default contact form, it doesn't display the green "Success" top bar anymore after submitting. On Chrome the bar never appears, on Edge it appeared once and hasn't since.
I'm using a plain new installation of respond with the default Bootstrap template, and all checks pass if I check /install.


That latest version of Helm (3.x.x) has breaking changes that make...

...the Helm commands in this workshop break. Making sure that everyone installs version 2.x.x of Helm

 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.:x: aqueeb sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

All CLA requirements met.

I've signed the CLA.

@sabbour please add two spaces for the markdown line break for line 15 in 02-02 challenge2-1.md. Thx!


Database migration fails to set up database

I tried to follow the instructions to set up the database and run the web server locally for testing, but the database migration step (alembic upgrade head) failed like this:
INFO  [alembic.runtime.migration] Context impl PostgresqlImpl.
INFO  [alembic.runtime.migration] Will assume transactional DDL.
INFO  [alembic.runtime.migration] Running upgrade  -> 47683b299022, Initial db, before import of old db.
INFO  [alembic.runtime.migration] Running upgrade 47683b299022 -> c4e6d5863a94, Removing unused tables. Adding tag index.
Traceback (most recent call last):
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
psycopg2.ProgrammingError: index "public_tags_project_id0_idx" does not exist

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/takluyver/miniconda3/envs/pygameweb/bin/alembic", line 11, in <module>
    sys.exit(main())
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/config.py", line 479, in main
    CommandLine(prog=prog).main(argv=argv)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/config.py", line 473, in main
    self.run_cmd(cfg, options)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/config.py", line 456, in run_cmd
    **dict((k, getattr(options, k, None)) for k in kwarg)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/command.py", line 254, in upgrade
    script.run_env()
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/script/base.py", line 425, in run_env
    util.load_python_file(self.dir, 'env.py')
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/util/pyfiles.py", line 93, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/util/compat.py", line 64, in load_module_py
    module_id, path).load_module(module_id)
  File "<frozen importlib._bootstrap_external>", line 399, in _check_name_wrapper
  File "<frozen importlib._bootstrap_external>", line 823, in load_module
  File "<frozen importlib._bootstrap_external>", line 682, in load_module
  File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
  File "<frozen importlib._bootstrap>", line 684, in _load
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/takluyver/Websites/pygameweb/pygameweb/alembic/env.py", line 82, in <module>
    run_migrations_online()
  File "/home/takluyver/Websites/pygameweb/pygameweb/alembic/env.py", line 77, in run_migrations_online
    context.run_migrations()
  File "<string>", line 8, in run_migrations
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/runtime/environment.py", line 836, in run_migrations
    self.get_context().run_migrations(**kw)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/runtime/migration.py", line 330, in run_migrations
    step.migration_fn(**kw)
  File "/home/takluyver/Websites/pygameweb/pygameweb/alembic/versions/c4e6d5863a94_removing_unused_tables_adding_tag_index.py", line 24, in upgrade
    op.drop_index('public_tags_project_id0_idx', table_name='tags')
  File "<string>", line 8, in drop_index
  File "<string>", line 3, in drop_index
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/operations/ops.py", line 964, in drop_index
    return operations.invoke(op)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/operations/base.py", line 318, in invoke
    return fn(self, operation)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/operations/toimpl.py", line 94, in drop_index
    operation.to_index(operations.migration_context)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/ddl/impl.py", line 209, in drop_index
    self._exec(schema.DropIndex(index))
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/alembic/ddl/impl.py", line 118, in _exec
    return conn.execute(construct, *multiparams, **params)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 945, in execute
    return meth(self, multiparams, params)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
    return connection._execute_ddl(self, multiparams, params)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1002, in _execute_ddl
    compiled
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1189, in _execute_context
    context)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1402, in _handle_dbapi_exception
    exc_info
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 203, in raise_from_cause
    reraise(type(exception), exception, tb=exc_tb, cause=cause)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/util/compat.py", line 186, in reraise
    raise value.with_traceback(tb)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/base.py", line 1182, in _execute_context
    context)
  File "/home/takluyver/miniconda3/envs/pygameweb/lib/python3.6/site-packages/sqlalchemy/engine/default.py", line 470, in do_execute
    cursor.execute(statement, parameters)
sqlalchemy.exc.ProgrammingError: (psycopg2.ProgrammingError) index "public_tags_project_id0_idx" does not exist
 [SQL: '\nDROP INDEX public_tags_project_id0_idx']

And then accessing the web server fails with a database error, presumably because it hasn't been set up correctly.

I worked around this by, uh, commenting out the failing commands in the migration scripts, and re-running until it succeeded.

If anyone is interested, I documented the exact steps necessary when testing another issue (see attachments at the following): https://github.com/pygame/pygameweb/issues/62


License requirements?

Is there any license requirements for using a scope filter or is it possible to use with Azure AD Free version?

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

ID: 9a77e752-0785-c3bd-9b33-f37bb7af6acd
Version Independent ID: d865098d-299a-ddeb-6eed-9a1db3175de3
Content: Provision apps with scoping filters
Content Source: articles/active-directory/manage-apps/define-conditional-rules-for-provisioning-user-accounts.md
Service: active-directory
GitHub Login: @barbkess
Microsoft Alias: barbkess

@RikardStrand
Thanks for your feedback! We will investigate and update as appropriate.

It depends on what you are doing with it and how many users you need to provision. One Azure AD Basic license will allow for up to five named guest users to be set up for Group Based Access Management and Provisioning. For the 6th named guest user, you will need another Azure AD Basic license.
The scope filters in themselves shouldn't require a specific license.
See the pricing page for details. https://azure.microsoft.com/en-us/pricing/details/active-directory/

Hope this helps!
We will now proceed to close this thread. If you have further questions feel free to tag me in the comments and I will gladly continue the discussion.

Thanks. So as long as I provision members with scoping feature (and using a gallery app) I don't need a Azure license (i.e. can use the free version)?
//Rikard Strand
On 4 Feb 2019, at 23:42, Marilee Turscak - MSFT <notifications<EMAIL_ADDRESS>wrote:
Hope this helps!
We will now proceed to close this thread. If you have further questions feel free to tag me in the comments and I will gladly continue the discussion.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/24215#issuecomment-460442557, or mute the threadhttps://github.com/notifications/unsubscribe-auth/Af_EJIdA1mmHQUcGfCCJBoXm6A4MaO_1ks5vKLc7gaJpZM4ahm4i.


will .NET Core support ARM64 on Windows 10 client?

Issue Title
The .NET Core 3.0 is out, and I noticed the support OS and architecture for Windows 10 client only contains x86 and x64. With Windows 10 on ARM devices in multiple OEM's portfolio, is there a plan to support ARM64 on Windows 10?
General
I'm asking this because we're trying to make our WPF app supporting in ARM. The x86 emulator in ARM approach proves that the performance of the app doesn't meet our standard, and I believe it's happening on a lot of other WPF apps. So we're considering alternatives, and instead of port everything to UWP, I learned that we can migrate a classic WPF app to .NET Core 3.0. But based on the ReadMe.md, it doesn't seem like we'll get the benefit of supporting ARM for now. Is that correct?
I'm not sure if this is the right place to ask this type of question, so my apology is provided ahead of time!
thanks!

https://github.com/dotnet/winforms/issues/2053

Duplicate of https://github.com/dotnet/winforms/issues/2053


Folder disappear when mark as read MacOS 11.1

I don't know if it's due to the last macOS 11.1 update but when I marked all articles of that folder as read suddenly the folder disappear. To let it show again I have to uninstall the NNW6 and import subscription but the problem show again when I marked as read. How can be fixed?
Thanks

Have you tried this menu option?
View -> Show Read Feeds

I ran into this on Catalina. It’s non-obvious now that the filter icon has been removed from the sidebar. Maybe there should be a toolbar item?

Have you tried this menu option?
View -> Show Read Feeds

usually they didn't disappeared but it works fine, thanks for the obvious answer.


Option to run besu after blocks import

Add an option to run besu after blocks import.  This is aimed to cut the
startup penalty in half for hive testing, combining the block import
with the node execution.
Signed-off-by: Danno Ferrin<EMAIL_ADDRESS>

I was trying to test this and I found I couldn't even get this the command without --run to complete in a reasonable amount of time (I ended up killing it after 20 mins)
--logging DEBUG blocks import --format=JSON --skip-pow-validation-enabled besu/bin/test/org/hyperledger/besu/chainimport/ethash/blocks-import-valid
Am I doing something wrong or is it expected that this will take a long time?

should be very quick:
dannos-mbp:besu dannoferrin$ bin/besu blocks import ../../../ethereum/eth/src/test/resources/50.blocks ../../../testutil/src/main/resources/mainnet-data/1000.blocks2020-06-04 12:43:32.185-06:00 | main | INFO  | BlocksSubCommand | Import RLP block data from 2 files
2020-06-04 12:43:32.917-06:00 | main | INFO  | KeyPairUtil | Loaded public key 0x2f5aca94812651fd42408df22a1b6165401aad9a2ce2688ad963200f1d9407fc099e2a7d8a50f9acc6aed250727f4742b865e2cfacafb795686c5c376877a640 from /Users/dannoferrin/git/github.com/shemnon/besu/build/install/besu/key
2020-06-04 12:43:32.945-06:00 | main | INFO  | DatabaseMetadata | Lookup database metadata file in data directory: /Users/dannoferrin/git/github.com/shemnon/besu/build/install/besu
2020-06-04 12:43:32.997-06:00 | main | INFO  | RocksDBKeyValueStorageFactory | Existing database detected at /Users/dannoferrin/git/github.com/shemnon/besu/build/install/besu. Version 1
2020-06-04 12:43:33.290-06:00 | main | INFO  | ProtocolScheduleBuilder | Protocol schedule created with milestones: [Frontier: 0, Homestead: 1150000, DaoRecoveryInit: 1920000, DaoRecoveryTransition: 1920001, Homestead: 1920010, TangerineWhistle: 2463000, SpuriousDragon: 2675000, Byzantium: 4370000, ConstantinopleFix: 7280000, Istanbul: 9069000, MuirGlacier: 9200000]
2020-06-04 12:43:34.122-06:00 | main | INFO  | BlocksSubCommand | Importing from ../../../ethereum/eth/src/test/resources/50.blocks
2020-06-04 12:43:34.144-06:00 | main | INFO  | BlocksSubCommand | Importing from ../../../testutil/src/main/resources/mainnet-data/1000.blocks
2020-06-04 12:43:34.166-06:00 | main | INFO  | RlpBlockImporter | Import at block 100
2020-06-04 12:43:34.184-06:00 | main | INFO  | RlpBlockImporter | Import at block 200
2020-06-04 12:43:34.194-06:00 | main | INFO  | RlpBlockImporter | Import at block 300
2020-06-04 12:43:34.206-06:00 | main | INFO  | RlpBlockImporter | Import at block 400
2020-06-04 12:43:34.216-06:00 | main | INFO  | RlpBlockImporter | Import at block 500
2020-06-04 12:43:34.227-06:00 | main | INFO  | RlpBlockImporter | Import at block 600
2020-06-04 12:43:34.238-06:00 | main | INFO  | RlpBlockImporter | Import at block 700
2020-06-04 12:43:34.247-06:00 | main | INFO  | RlpBlockImporter | Import at block 800
2020-06-04 12:43:34.254-06:00 | main | INFO  | RlpBlockImporter | Import at block 900


bumped analyzer 2.0.0=>3.0.0. This fixes compatibility with freezed v…

bumped analyzer 2.0.0=>3.0.0. This fixes compatibility with freezed v. 1.1.1.

This has been fixed in the package


Update scala-collection-compat to 2.7.0

Updates org.scala-lang.modules:scala-collection-compat from 2.4.4 to 2.7.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang.modules", artifactId = "scala-collection-compat" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #140.


Add one product box - like in the design

Improvement moved from #456

Isn't it just a product tile for 12 cols? We can add just one optional prop to the ProductTile.vue that makes image bigger and voila ;) (i amde something similar in vue-catalog theme - check ProductTile.vue and mobileHorizontalMode)

It's not that simple, because col-xs is placed outside the component.
ProductTile is in ProductListing which is used in few places, so I think we shouldn't edit class there.
I can just make every 3rd product in ProductListing wider on mobile but is it expected behavior? Or only products with 'Sale' label should be wider?


Fix errors in reaction pages

Many of the reaction pages generate errors. For example, 6 of the first 10 search results for "glucose" don't render. I haven't investigated to determine the reasons or whether this is one or more errors.

http://localhost:3000/reaction/Glucose-->Glucose
http://localhost:3000/reaction/D-Glucose-->D-Glucose
http://localhost:3000/reaction/UDPglucose-->UDPglucose
http://localhost:3000/reaction/Cinnamic acid,UDPglucose-->Cinnamoyl-beta-1-D-glucose,UDP
http://localhost:3000/reaction/Galactose 1-phosphate,UDPglucose-->Galactose,alpha-D-Glucose 1-phosphate,UDP
http://localhost:3000/reaction/Glucose,Na%2B-->Na%2B,Glucose

This appears to be an error on the backend:
Glucose --> Glucose:
https://api.datanator.info/reactions/kinlaw_by_name/?substrates=glucose&products=glucose&_from=0&size=10&bound=loose&taxon_distance=true&species=homo sapiens&projection={'_id'%3A 0%2C 'kegg_meta.gene_ortholog'%3A 0}
Glucose + Na+ → Na+ + Glucose
https://api.datanator.info/reactions/kinlaw_by_name/?_from=0&size=1000&bound=tight&substrates=Glucose|Na%252B&products=Na%252B|Glucose

This appears to be an error on the backend:
Glucose --> Glucose:
https://api.datanator.info/reactions/kinlaw_by_name/?substrates=glucose&products=glucose&_from=0&size=10&bound=loose&taxon_distance=true&species=homo sapiens&projection={'_id'%3A 0%2C 'kegg_meta.gene_ortholog'%3A 0}
Glucose + Na+ → Na+ + Glucose
https://api.datanator.info/reactions/kinlaw_by_name/?_from=0&size=1000&bound=tight&substrates=Glucose|Na%252B&products=Na%252B|Glucose

Fixed


Airvisual component does not initialize

**Home Assistant release with the issue:0.78

**Last working Home Assistant release (if known):0.77.3
**Operating environment (Hass.io/Docker/Windows/etc.):hassbian latest version updated

**Component/platform: airvisual

**Description of problem: can't initialize airvisual
**Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):- platform: airvisual
api_key: MY API triple checked it is correct an active
monitored_conditions:
- us
city: my city
state: my region
country: italy
show_on_map: true
scan_interval: 300

**Traceback (if applicable):N/A

**Additional information: i get the following error
Log Details (ERROR)
Mon Sep 17 2018 21:43:33 GMT+0200 (CEST)
Error while setting up platform airvisual
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
SLOW_SETUP_MAX_WAIT, loop=hass.loop)
File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
return fut.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step
result = coro.send(None)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/airvisual.py", line 155, in async_setup_platform
await data.async_update()
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/sensor/airvisual.py", line 283, in _async_update
self.pollution_info = resp['current']['pollution']
KeyError: 'pollution'

Duplicate of https://github.com/home-assistant/home-assistant/issues/16639.


Funding for Benedikt Ehinger

Can we add this funding statement? I guess BeaconBiosignals should be mentioned here as well?
I need this for my grants/funding statements

Codecov Report

Merging #16 (793cad0) into master (b2f8b98) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #16   +/-   ##
=======================================
  Coverage   90.83%   90.83%
=======================================
  Files           4        4
  Lines         120      120
=======================================
  Hits          109      109
  Misses         11       11

Continue to review full report at Codecov.

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


No usb device found after flashing klipper firmware

After flashing klipper firmware the device is unable to apear in /dev/serial/by-id/
dmesg constantly reporting
[  884.912216] usb 1-1.4: new full-speed USB device number 26 using xhci_hcd
[  884.992463] usb 1-1.4: device descriptor read/64, error -32
[  885.180463] usb 1-1.4: device descriptor read/64, error -32
[  885.577578] usb 1-1.4: new full-speed USB device number 27 using xhci_hcd
[  885.664435] usb 1-1.4: device descriptor read/64, error -32
[  885.852505] usb 1-1.4: device descriptor read/64, error -32
[  885.960899] usb 1-1-port4: attempt power cycle
[  888.304226] usb 1-1.4: new full-speed USB device number 29 using xhci_hcd
[  888.384483] usb 1-1.4: device descriptor read/64, error -32
[  888.572467] usb 1-1.4: device descriptor read/64, error -32
[  888.968237] usb 1-1.4: new full-speed USB device number 30 using xhci_hcd
[  889.048495] usb 1-1.4: device descriptor read/64, error -32
[  889.236477] usb 1-1.4: device descriptor read/64, error -32
[  889.344919] usb 1-1-port4: attempt power cycle
[  892.832243] usb 1-1.4: new full-speed USB device number 32 using xhci_hcd
[  892.912529] usb 1-1.4: device descriptor read/64, error -32
[  893.100470] usb 1-1.4: device descriptor read/64, error -32
[  893.496244] usb 1-1.4: new full-speed USB device number 33 using xhci_hcd
[  893.576490] usb 1-1.4: device descriptor read/64, error -32
[  894.636555] usb 1-1.4: device descriptor read/64, error -32
[  894.744891] usb 1-1-port4: attempt power cycle
[  908.664349] usb 1-1.4: new full-speed USB device number 35 using xhci_hcd
[  908.744574] usb 1-1.4: device descriptor read/64, error -32
[  908.932543] usb 1-1.4: device descriptor read/64, error -32
[  914.884352] usb 1-1.4: new full-speed USB device number 37 using xhci_hcd
[  914.964568] usb 1-1.4: device descriptor read/64, error -32
[  915.152576] usb 1-1.4: device descriptor read/64, error -32
[  918.836327] usb 1-1.4: new full-speed USB device number 39 using xhci_hcd
[  918.916577] usb 1-1.4: device descriptor read/64, error -32
[  919.108570] usb 1-1.4: device descriptor read/64, error -32
[  920.532333] usb 1-1.4: new full-speed USB device number 41 using xhci_hcd
[  920.616856] usb 1-1.4: device descriptor read/64, error -32
[  920.804562] usb 1-1.4: device descriptor read/64, error -32
[  925.620381] usb 1-1.4: new full-speed USB device number 43 using xhci_hcd
[  925.700676] usb 1-1.4: device descriptor read/64, error -32
[  925.888635] usb 1-1.4: device descriptor read/64, error -32
[  928.448390] usb 1-1.4: new full-speed USB device number 45 using xhci_hcd
[  928.528611] usb 1-1.4: device descriptor read/64, error -32
[  928.716623] usb 1-1.4: device descriptor read/64, error -32
[  929.112358] usb 1-1.4: new full-speed USB device number 46 using xhci_hcd
[  929.192615] usb 1-1.4: device descriptor read/64, error -32
[  935.800348] usb 1-1.4: new full-speed USB device number 47 using xhci_hcd
[  935.880575] usb 1-1.4: device descriptor read/64, error -32
[  936.068573] usb 1-1.4: device descriptor read/64, error -32
[  939.756416] usb 1-1.4: new full-speed USB device number 49 using xhci_hcd
[  939.836637] usb 1-1.4: device descriptor read/64, error -32
[  940.024654] usb 1-1.4: device descriptor read/64, error -32
[  941.456401] usb 1-1.4: new full-speed USB device number 51 using xhci_hcd
[  941.536651] usb 1-1.4: device descriptor read/64, error -32
[  941.724690] usb 1-1.4: device descriptor read/64, error -32
[  942.788412] usb 1-1.4: new full-speed USB device number 52 using xhci_hcd
[  942.868670] usb 1-1.4: device descriptor read/64, error -32
[  943.264660] usb 1-1.4: device descriptor read/64, error -32
[  943.373111] usb 1-1-port4: attempt power cycle
[  944.852432] usb 1-1.4: new full-speed USB device number 54 using xhci_hcd
[  944.932653] usb 1-1.4: device descriptor read/64, error -32
[  945.120638] usb 1-1.4: device descriptor read/64, error -32
[  960.128468] usb 1-1.4: new full-speed USB device number 56 using xhci_hcd
[  960.208721] usb 1-1.4: device descriptor read/64, error -32
[  960.396700] usb 1-1.4: device descriptor read/64, error -32
[  965.776501] usb 1-1.4: new full-speed USB device number 58 using xhci_hcd
[  965.856779] usb 1-1.4: device descriptor read/64, error -32
[  966.044740] usb 1-1.4: device descriptor read/64, error -32
[  967.468488] usb 1-1.4: new full-speed USB device number 60 using xhci_hcd
[  967.548740] usb 1-1.4: device descriptor read/64, error -32
[  967.736721] usb 1-1.4: device descriptor read/64, error -32
[  969.160487] usb 1-1.4: new full-speed USB device number 62 using xhci_hcd
[  969.240738] usb 1-1.4: device descriptor read/64, error -32
[  969.428727] usb 1-1.4: device descriptor read/64, error -32
[  971.420504] usb 1-1.4: new full-speed USB device number 64 using xhci_hcd
[  971.500747] usb 1-1.4: device descriptor read/64, error -32
[  971.688739] usb 1-1.4: device descriptor read/64, error -32
[  979.908530] usb 1-1.4: new full-speed USB device number 66 using xhci_hcd
[  979.988779] usb 1-1.4: device descriptor read/64, error -32
[  980.176761] usb 1-1.4: device descriptor read/64, error -32
[  980.572540] usb 1-1.4: new full-speed USB device number 67 using xhci_hcd
[  980.652777] usb 1-1.4: device descriptor read/64, error -32
[  986.128539] usb 1-1.4: new full-speed USB device number 68 using xhci_hcd
[  986.208804] usb 1-1.4: device descriptor read/64, error -32
[  986.396780] usb 1-1.4: device descriptor read/64, error -32
[  994.604576] usb 1-1.4: new full-speed USB device number 70 using xhci_hcd
[  994.684824] usb 1-1.4: device descriptor read/64, error -32
[  994.872854] usb 1-1.4: device descriptor read/64, error -32
[ 1007.048615] usb 1-1.4: new full-speed USB device number 72 using xhci_hcd
[ 1007.128863] usb 1-1.4: device descriptor read/64, error -32
[ 1007.316854] usb 1-1.4: device descriptor read/64, error -32
[ 1010.436628] usb 1-1.4: new full-speed USB device number 74 using xhci_hcd
[ 1010.516878] usb 1-1.4: device descriptor read/64, error -32
[ 1010.704894] usb 1-1.4: device descriptor read/64, error -32
[ 1019.480655] usb 1-1.4: new full-speed USB device number 76 using xhci_hcd
[ 1019.564917] usb 1-1.4: device descriptor read/64, error -32
[ 1019.752891] usb 1-1.4: device descriptor read/64, error -32
[ 1021.172655] usb 1-1.4: new full-speed USB device number 78 using xhci_hcd
[ 1021.252912] usb 1-1.4: device descriptor read/64, error -32
[ 1021.440897] usb 1-1.4: device descriptor read/64, error -32
[ 1023.436631] usb 1-1.4: new full-speed USB device number 80 using xhci_hcd
[ 1023.516845] usb 1-1.4: device descriptor read/64, error -32
[ 1023.704835] usb 1-1.4: device descriptor read/64, error -32

But if I put jumper to boot dfu, it is booting to bootloader normally and I am able to flash firmware again. but it did not help

ok, fixed by setting 12mHz clock reference


Omitted fields cannot be initialized

Describe the Bug
I have a model with a required property that should be initialized when the object is created.
To achieve this, we omit the field from the model and set the value in a resolver enhancer.
The enhancer initializes the value in resolver.args.data correctly. However the generated CRUD resolver is not receiving the object with the added properties and the prisma query fails.
Thanks!
To Reproduce
Define a prisma model like this:
model Person {
  id             String   @id @db.Uuid
  first_name     String
  last_name      String
  /// @TypeGraphQL.omit(input: ["create"])
  status         String
}

Then, initialize status in the ResolversEnhanceMap:
const addStatus: MiddlewareFn<GraphqlContext> = async (resolver, next) => {
  const { data } = resolver.args;
  const status = 'active';
  resolver.args.data = { ...data, status };
  return await next();
};

export const personResolversEnhanceMap: ResolversEnhanceMap = {
  Person: {
    createOnePerson: [UseMiddleware(addStatus)],
  },
};

Expected Behavior
When the createOnePerson mutation is invoked without the status, it should be initialized to "active" and stored in the database. However, the prisma query fails with an error because the status property is not set. It throws an error that says Argument status for data.status is missing.
Logs
If I add a console.log to print the value of args in the generated crud resolver, it shows that status is not set:
{
  data: {
    id: '2d1213e5-4c81-4078-a3f5-f0b0d57fe485',
    first_name: 'Joe',
    last_name: 'Michaels'
  }
}

Environment (please complete the following information):

OS: MacOS
Node 18.15.0
typegraphql-prisma version<EMAIL_ADDRESS>Prisma version 4.15.0
TypeScript version 5.2.2

Please create a minimal reproducible code example repository.
From the provided snippets, I don't see what's wrong and why it might be not working.

hi @MichalLytek , here you go... hope it helps! https://github.com/holasivo/typegraphql-prisma-418


this a virus

so i was downloading this tool and i got a computer virus and my pants were slipping

lol


Migration: Make field "DOI" (used for the DOI URL right now) reusable for other PIDs, or show fields accordingly

Story
Migration: Make field "DOI" (used for the DOI URL right now) reusable for other PIDs, or show fields accordingly
Options
Option 1:

We rename the field "DOI" to "Persistent identifier URL"
We make the "DOI" url field editable for each type of PID
We ask for a full URL
We validate the URL, but we do not have to resolve it ourselves (= if people make mistakes in the type of PID, we can still figure it out)

Option 2: show according to "add dataset" selection #905

We keep the "DOI" field for DOIs only
We add option 1 for non-DOI manual entries

Open to other solutions.
Out of scope in this issue:
The other field "URL" is a bit unclear, it has been used for all sorts of URLs we have noticed. Option: https://github.com/ugent-library/biblio-backoffice/issues/908
Expected behaviour
Option 1

[ ] We make the "DOI" url field editable for each type of PID
[ ] Rename the dataset field "DOI" to "Persistent identifier URL"
[ ] We ask for a full URL, so we do not have to resolve it ourselves (= if people make mistakes in the type of PID, this will not work. Data curators can still correct it)
[ ] We validate the URL
[ ] The "view in external repository" link uses the "Persistent identifier URL" field for all types of PIDs
[ ] The "view in external repository" link in the dropdown under the three dots uses the "Persistent identifier URL" field for all types of PIDs

Option 2
In any case:

[ ] Rename the dataset field "DOI" to "Persistent identifier URL"

For DOI import

[ ] The field is non-editable (same)
[ ] We keep resolving it ourselves (same)
[ ] The "view in external repository" link and the "view in external repository" link in the dropdown under the three dots keep using the current link for DOIs (same)

For manual import

[ ] The field "Persistent identifier URL" is editable
[ ] We ask for a full URL, which we do not have to resolve ourselves (= if people make mistakes in the type of PID, this will not work. Data curators can still correct it)
[ ] We validate the URL
[ ] The "view in external repository" link uses the "Persistent identifier URL" field for manual entries
[ ] The "view in external repository" link in the dropdown under the three dots uses the "Persistent identifier URL" field for manual entries

Screenshots
On view:

On edit:

Option 1:

Option 2

For DOI

For manual entries

In the search overview:

Links keep having the same outlook

Option 1: Persistent identifier URL is used
Option 2:

Persistent identifier URL is used for manual entry
DOI link is used for DOI import

Extra information
Datasite property: https://support.datacite.org/docs/schema-mandatory-properties-v43#1-identifier – also used by FRIS

We can do a suggestion based on the type, but they can always adapt(politeness)

@nics I reordered this one a bit, but it seems most of the questions have been resolved for now (for the "easy" cases). Should we split it off and close this one, or did I miss anything important?


For JSL models,  issue in NER predictions for swap entities

@alytarik can you please recap your observations for this bug

JSL tokenizers divide tokens that include a dot with space after it.
This causes the model to fail when a token as described is replaced with another token without a dot. because it removes 2 tokens instead of 1. Example predictions by models:
"U.S." -> [B-GPA, O]
"China" -> [B-GPA]
It seems a fix by us would be case-specific and might break other things. This can be ignored.
@luca-martial I think we can close.


Create a visual indicator of "data loading" for git repository metric pages

On an implementation like http://twitter.augurlabs.io when you click a repository to look at it, there is not a clear indication that the data is loading. So, it could confuse or frustrate some users.

Done.


Reinstate disable of save button

The save button was only enabled after changes are made in the diagram, but this feature has been temporarily removed in issue #96 .
The problem was that the save button was only enabled after an element is de-selected. This confused some users of Threat Dragon, so to avoid concern the save button is always enabled.
It is a good thing to disable the save button when no changes have been made, so this feature should be reinstated.

The reason that moving an element does not enable save button is  src/diagrams/diagram.js and is a known bug:
    function addDirtyEventHandlers() {
        vm.graph.on('change add', setDirty);
        function setDirty() {
            vm.dirty = true;
            vm.graph.off('change add', setDirty);
            //throws exception (digest already in progress)
            //but removing causes failure to enable save button in diagram editor when moving an element
            //scope.$apply();
        }
    }

Migrated to new issue in the OWASP area repo : https://github.com/OWASP/threat-dragon-core/issues/14


Is there a way to make the window hidden/headless?

So the usecase is to that there is a complex JS lib I want to run inside go, but otto cannot interpret it (as it uses stuff like window and location).  It runs great inside webview, but I just need the lib to run and to call functions inside it. I do not need the whole browser to open, nor do I need to even have a GUI desktop (it should be able to run on servers).
So looking for a way to make the window hidden, and better yet so it can run without a display.

It sounds like you need to rework your JS lib. Webview is for creating desktop GUI applications with HTML and the like, with easy bindings for a few languages. Your use case doesn't fit in with this project as far as I can tell. You're better off using Selenium or one of the many similar libs.

Using headless Chrome definitely seems like a better fit for your project.


[C++][FS][Azure] Consider how and if to fix disallowed characters in file metadata

Describe the enhancement requested
Child of https://github.com/apache/arrow/issues/18014
Manually modifying https://github.com/apache/arrow/pull/40021 to run the Python tests against a real blob storage account caused a failure when attempting to write the metadata {'Content-Type': 'x-pyarrow/test'}. Looking at the Generic C++ tests it looks like we will run into the same issue there https://github.com/apache/arrow/blob/c23a097965b5c626cbc91b229c76a6c13d36b4e8/cpp/src/arrow/filesystem/test_util.cc#L912-L913.
E   OSError: CommitBlockList failed for 'https://tomtestflat.blob.core.windows.net/63217166-c9f8-11ee-989a-71cec6336ac8/open-output-stream-metadata'. Committing is required to flush an output/append stream. Azure Error: [InvalidMetadata] 400 The metadata specified is invalid. It has characters that are not permitted.
E   The metadata specified is invalid. It has characters that are not permitted.
E   RequestId:ac61e6da-e01e-0009-2305-5e07de000000
E   Time:2024-02-12T22:45:15.5130135Z
E   Request ID: ac61e6da-e01e-0009-2305-5e07de000000

It turns out real Azure storage doesn't allow -s in the metadata keys. This behaviour is the same on flat and hierarchical namespace storage accounts but azurite accepts it without error.
Apparently the keys (names) of metadata must conform to https://learn.microsoft.com/en-us/rest/api/storageservices/naming-and-referencing-containers--blobs--and-metadata#metadata-names the naming rules for C# identifiers.
We need to decide what we want to do here. I think either we have to accept these limitations or we will need to encode the metadata keys before writing them to azure then decode when reading back. A quick Google search came up with these options for potential encodings https://stackoverflow.com/questions/32037525/encode-to-alphanumeric-in-javascript#:~:text=To encode to an alphanumeric,in a shorter encoded string.
The downside of encoding the metadata would be that other Azure clients won't know to decode.
Component(s)
C++

I think probably this blocks https://github.com/apache/arrow/issues/39069

I like the idea of disalowing _. That makes handling - much simpler and its more interpretable.

So, the question: which convention do other Azure clients use? What is the recommended or official way to set a file's content-type?

What is the recommended or official way to set a file's content-type?

This is an interesting point. If we only care about setting specific things like content-type then that simplifies the problem. Azure actually separates some values including content type from the user set metadata. I think https://github.com/apache/arrow/pull/40671#pullrequestreview-1948247090 should resolve this.

Resolved by #40671.


feat(textfield): Multi-line support

Adds styles to support multi-line inputs (both with and without JS)

While these multi-line mocks are different than what's shown in the
mocks, we believe it to be better UX for the web platform that interops
well with how the native textarea element behaves.
Also note that this was OK'd by design. Inputs are apparently being iterated
on, but what we've done here aligns with their thinking.
Part of #4479
[Delivers #129705881]

Codepen for multi-line text fields: http://codepen.io/traviskaufman/pen/qaVzBJ


Ratings

I added in integers rounded to 1 decimal point for the ratings to show that it is calculated based on multiple ratings, but the filters don't support that. We either need to remove the decimal point and stick with whole numbers, or adjust the filtering.

Yea it's probably better to have that filter be a minimum rating anyway.


CI test run times can be really long

We had a CI macos test run that took 15 minutes to complete!
I don't think it is expected that CI takes that long.
See: https://github.com/itchysats/itchysats/runs/7407394638?check_suite_focus=true on https://github.com/itchysats/itchysats/pull/2469

it is really long? I'm not sure it's worth reporting - we all know that unless we run actor tests in debug they will take long due to the contract setup taking a lot of time in all cases. There was an idea to store an opened Cfd in DB so that we can start almost all tests from "open" state, but we never actioned that due to other priorities.
If we care about the CI test time, we might to give this idea a spin :)
Also: I see that in the linked run macOS run took 17m, whilst ubuntu took 16m - is that additional minute worth singling out macos?

He is right, all tests are now significantly slower.
This run here was relatively fast: https://github.com/itchysats/itchysats/actions/runs/2688891218

ubuntu: 9m
macos: 7m

and the one afterwards was slow: https://github.com/itchysats/itchysats/actions/runs/2689104767

ubuntu: 16m
macos: 21m

ever since the tests run for >15m
It looks like ever since this landed we slowed down: https://github.com/itchysats/itchysats/pull/2404

cc @Restioson

I'll try disable some more stuff from the macro's generated code itself when the tracing env var is disabled. It could be the 1s sleep or flush that's taking long.


Stephen Katuli - Morning session: peer-to-peer code reviews

We reviewed Stephen's code and we all agreed that it looks good
However, in the header element, we noticed that two nav tags were used, we all suggested that using one nav tag would improve the readability of the code. In addition, in the stylesheet, the flex-direction is defined as row, which is not really necessary as the default flex-direction is row.

Issues fixed


Feature Request: Keyboard Shortcuts - Switch between states

Also for "Show/Hide States"

Would be great.
Show/Hide States can be set with a custom shortcut through Apple > System Preferences > Keyboard.
In the same way it might be possible to add user configurable Keyboard Shortcuts by enabling a custom Plugins > States menu in Sketch that would activate:

Previous State
Next State
Update State


Force reconnect not working

Issue:
Discord Integration plugin usually won't reconnect and reload Discord Rich Presence if there is any interruption (e.g. Offline status, Power save mode, etc) even with the Force reconnect option.
Steps to Reproduce:

Open IntelliJ IDEA Ultimate or any other JetBrains IDE
Enable Discord Integration plugin
Set status to Invisible in Discord
Set status to Online/Idle/DnD in Discord
Press Tools > Discord > Force reconnect in IDE

Expectation:
The Discord Rich Presence should be reloaded and appear normally.
IDE Information:
Plugin Version: 1.5.0
IDE Name: IntelliJ IDEA Ultimate
IDE Version: 2020.3 (Build #IU-203.5981.155)
Discord Information:
Type: Application
Version: Stable 72814 (Build ef77e5c)
Device Information:
OS: Windows 10 Pro 64-bit
Version: 20H2 (Build 19042.630)

I'm having this issue aswell.

I'm having this issue aswell.

I'm not sure what causes these connection issues, though I suspect it's somewhere in the discord-rpc library. The button definitely does what it says, it closes the RPC connection and creates a new one. The plugin will move to the newer GameSDK soon which will hopefully fix this once and for all.


fix #40 : Add support for custom CNAME

This patch primarily addresses the lack of custom CNAME support for urls
that might get used in HTML templates populated by a server, so that
client browsers will request resources via the custom CNAME.
This patch DOES NOT try convert all server-side requests to use the
custom CNAME as we assume that the server running this API client will
not have issues communicating with Filestack servers directly.

Coverage remained the same at 100.0% when pulling 4058b58aa97827810b3bc66b760c2c5885ab7fd7 on selfsimilar:contrib/issue-40 into 5396650b246969fec929fdd2c6ab908adb5b28e2 on filestack:master.

Coverage remained the same at 100.0% when pulling 4058b58aa97827810b3bc66b760c2c5885ab7fd7 on selfsimilar:contrib/issue-40 into 5396650b246969fec929fdd2c6ab908adb5b28e2 on filestack:master.

I restored PHP5.x compatibility by removing any CNAME validation. Validation is absent in the JavaScript API Client library, so I assume validation is unnecessary in this library as well.

Improved testing coverage by refactoring getCustomUrl.


Empty and Null validators

I'm finding myself to have to implement the Empty and Null validators.
@JeremySkinner  Is there scope to add that to the library?
Cheers.

Sure, if you want to submit a pull request I'd happily include them.

Cool I will. Cheers.

@JeremySkinner  Done!


Manually tweak bang pattern performance

reference to #186

Reopen with extra-info:

Manually go through every single bang pattern and check how it affects the performance because in some byzantine cases it might make it worse
@zygomeb


adding a new updateImage method to enable partners to re-run

Fixes: #709
Adding an updateImage method that sets the certified value to true for a given architecture
Adding in login into the submit flow to call this value if the previous certified value we get when calling pyxis is false and the current execute's certified value is true
Added tests and updated mock data to support new flow

Signed-off-by: Adam D. Cornett<EMAIL_ADDRESS>

/test 4.8-e2e

/test 4.8-e2e

Still LGTM!


Dataset generation error when num_demos is equal to demos_pool_size

I would expect load_dataset() to work normally when num_demos is equal to demos_pool_size, such as in the following code snippet:
from unitxt import load_dataset

dataset = load_dataset(card="cards.wnli", template_card_index=0, num_demos=5, demos_pool_size=5)

Instead, I get the error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/yifanmai/oss/unitxt/src/unitxt/api.py", line 136, in load_dataset
    return stream.to_dataset(
  File "/home/yifanmai/oss/unitxt/src/unitxt/stream.py", line 248, in to_dataset
    {
  File "/home/yifanmai/oss/unitxt/src/unitxt/stream.py", line 249, in <dictcomp>
    key: value.to_dataset(
  File "/home/yifanmai/oss/unitxt/src/unitxt/stream.py", line 40, in to_dataset
    return Dataset.from_generator(
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/arrow_dataset.py", line 1136, in from_generator
    ).read()
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/io/generator.py", line 49, in read
    self.builder.download_and_prepare(
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/builder.py", line 1029, in download_and_prepare
    self._download_and_prepare(
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/builder.py", line 1791, in _download_and_prepare
    super()._download_and_prepare(
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/builder.py", line 1124, in _download_and_prepare
    self._prepare_split(split_generator, **prepare_split_kwargs)
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/builder.py", line 1629, in _prepare_split
    for job_id, done, content in self._prepare_split_single(
  File "/home/yifanmai/.pyenv/versions/unitxt/lib/python3.10/site-packages/datasets/builder.py", line 1786, in _prepare_split_single
    raise DatasetGenerationError("An error occurred while generating the dataset") from e
datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

However, this works if I set demos_pool_size to num_demos + 1
from unitxt import load_dataset

dataset = load_dataset(card="cards.wnli", template_card_index=0, num_demos=5, demos_pool_size=6)

This suggests that there is an off by one error in the sampling logic.
This is using unitxt's main branch from the repository at githash 81f0da1adb16dc7ff7e83eb8dd9fe8d9ac594aac on Python 3.10.13.

Hi @yoavkatz , I reproduced, and first bumped into a related error:
  File "/home/dafna/workspaces/unitxt/src/unitxt/splitters.py", line 366, in process
    f"Size of population to sample from: {len(source_stream)} is smaller than the needed sample_size: {self.sampler.sample_size}."
AttributeError: 'RandomSampler' object has no attribute 'sample_size'

Here we need to fix to:
 f"Size of population to sample from: {len(source_stream)} is smaller than the needed sample_size: {sample_size}."

The more involved problem is the filtering done in lines:
            source_stream = self.sampler.filter_source_by_instance(
                source_stream, instance
            )

Which filters out candidate demos if they are identical in their field called input fields to the instance being processed. This is the cause of the error reported in this issue: One of the candidate demos (an instance from the stream typically called demos_pool) is identical in its input_fields to one of the non-demo instances. Because the number are tight (num_demos == demos_pool_size), that (potentially single) processed instance throws the exception.
We may want to consider:
(1) Cleaning up the demos_pool itself from identical-input-fields instances  (i.e., ensure all the demos are distinct in their input-fields).
(2) Allow a slack of size 1 to cope with a case of processed instance that has the same input fields as one of the candidate demos.
@yoavkatz , please advise.

Why are we trying to sample demonstrations for instances in the demo pool? Perhaps  this is the issue.  The demo pool instances need not be processed.

I suggest to solve all problems by generating the demos not as a separate stream, but more like a fixed piece of data, to be held by a multistream operator that will first generate it (again -- into a fixed list) and then distribute it. Very much like operator  ExtractFieldValues.
`

@yoavkatz , I prepared a PR to see how hard it is to implement the demos_pool not as a separate stream, to solve all the problems discussed here.  It seems not too complicated: https://github.com/IBM/unitxt/pull/1436

Resolved by PR #1436 , merged into main at Commit 0196391


10/26 PM Publishing

Learn Build status updates of commit 341ff74:
:warning: Validation status: warnings

File
Status
Preview URL
Details

aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml
:warning:Warning
n/a (file deleted or renamed)
Details

aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml
:warning:Warning
n/a (file deleted or renamed)
Details

aspnet-core/xml/Microsoft.AspNetCore.Http/EndpointFilterFactoryContext.xml
:warning:Warning
View
Details

aspnet-core/xml/Microsoft.AspNetCore.Http/RequestDelegateFactoryOptions.xml
:warning:Warning
View
Details

aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/CacheVaryByRules.xml
:warning:Warning
View
Details

aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml
:warning:Warning
View
Details

aspnet-core/xml/Owin/WebApiAppBuilderExtensions.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Net.Http/OwinHttpRequestMessageExtensions.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Net.Http/UriExtensions.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Dispatcher/DefaultHttpControllerActivator.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Dispatcher/IAssembliesResolver.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Hosting/HttpPropertyKeys.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Hosting/IHostBufferPolicySelector.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Owin/HttpMessageHandlerAdapter.xml
:warning:Warning
View
Details

[aspnet-core/xml/System.Web.Http.Results/FormattedContentResult1.xml](https://github.com/dotnet/AspNetApiDocs/blob/main/aspnet-core/xml/System.Web.Http.Results/FormattedContentResult1.xml)
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.SelfHost.Channels/HttpBinding.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Services/DefaultServices.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.Validation.Providers/DataAnnotationsModelValidatorProvider.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http.WebHost/HttpControllerHandler.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http/ApiController.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Web.Http/RouteParameter.xml
:warning:Warning
View
Details

aspnet-core/xml/System.Net.Http.Formatting/XmlMediaTypeFormatter.xml
:bulb:Suggestion
View
Details

aspnet-core/docfx.json
:white_check_mark:Succeeded

aspnet-core/missing_apis.yml
:white_check_mark:Succeeded

aspnet-core/xml/FrameworksIndex/aspnetcore-7.0.xml
:white_check_mark:Succeeded

This comment lists only the first 25 files in the pull request.

aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http.Metadata/EndpointParameterMetadataContext.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Microsoft.AspNetCore.Http/EndpointFilterFactoryContext.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http/EndpointFilterFactoryContext.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Microsoft.AspNetCore.Http/RequestDelegateFactoryOptions.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http/RequestDelegateFactoryOptions.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.Http/RequestDelegateFactoryOptions.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/CacheVaryByRules.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/CacheVaryByRules.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/CacheVaryByRules.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml

[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.
[Warning: file-not-redirected - See documentation] File aspnet-core/xml/Microsoft.AspNetCore.OutputCaching/OutputCachePolicyBuilder.xml was deleted without redirection. To avoid broken links, add a redirection.

aspnet-core/xml/Owin/WebApiAppBuilderExtensions.xml

Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Owin.IAppBuilder'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Owin.IAppBuilder'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Owin.IAppBuilder'.
Line 0, Column 0: [Warning: xref-not-found] Cross reference not found: 'Owin.IAppBuilder'.

This comment lists only the first 25 errors (including error/warning/suggestion) in the pull request.
For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


contractcourt/channel_arbitrator: ignore ErrDoubleSpend on force close

This commit mitigates a problem within the ChannelArbitrator, where
after a restart we would start up in the state StateBroadcastCommit but
fail to broadcast out commitment because a conflicting transaction (most
likely our own commitment) was already broadcast. A more complete fix
for this case will be added later, but this commit let the
ChannelArbitrator continue, trying to close out the channel.
Partially mitigates #880 before the bigger contractcourt revamping is landed.

Hmm, I see the immediate impact of this in partially resolving that other issue, but then there's the edge case that this may be due to the remote party broadcasting their version of the commitment transaction. However, I guess this will be resolved once the contract-court in-chain notification dispatch revamp is completed in its entirety.


Support binary types

Feature request, SQL_VARBINARY / SQL_LONGVARBINARY does not seem to work today.
Tried this with postgresql and python 3.5
CREATE TABLE mybtest
(
  fooid integer,
  foobin bytea
);
insert into mybtest (fooid, foobin) values (123, 'foo');

from turbodbc import connect
conn = connect(DRIVER="PostgreSQL ANSI", ...)
cursor = conn.cursor()
cursor.execute("select * from mybtest")

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "python3.5/site-packages/turbodbc/exceptions.py", line 31, in wrapper
    return f(*args, **kwds)
  File "python3.5/site-packages/turbodbc/cursor.py", line 72, in execute
    self.impl.execute()
RuntimeError: Error! Unsupported type identifier '-3'

Yes, this is currently not supported. Would you agree with the following behavior?
Python 2:
Reading:

DB SQL_VARBINARY -> Python str
DB SQL_VARCHAR -> Python str
Writing:
Python str -> SQL_VARCHAR

Python 3:
Reading:

DB SQL_VARBINARY -> Python bytes
DB SQL_VARCHAR -> Python str
Writing:
Python str -> SQL_VARCHAR
Python bytes -> SQL_VARBINARY

For Python 3 that definitely makes sense.
On Python 2 I don't have any strong opinion.
Since turbodbc does not currently use unicode, it is probably best to keep everything str.
But perhaps with the new prefer_unicode option consider returning unicode for SQL_VARCHAR.
Not sure if it would be a good idea to write str as SQL_VARBINARY with prefer_unicode, might be confusing.

Well, turbodbc already supports Unicode, just via the UTF-8 path ;-). I have corrected it above.

@MathMagique do you have an example of how to add support for a new data type?   E.g. a pull request that was merged, in which this was done?
I just want to see if it is something I could take on because lack of binary support is a blocker for my adoption.  I don't want to have to modify queries to do conversion.


[Windows 10 - Ubuntu Bash] F1-F4 Do not work in htop

Keys F1 to F4 do not work in htop on Windows 10 Ubuntu Bash. Keys F5 - F10 work fine. I don't use any of these keys as keyboard shortcuts.

I can also confirm this.


Server crashes as soon as a player joins, with no error message

As the title says, the server crashes as soon as a player joins, with no error message. This wasn't happening before on a server running 24/7, with two daily restarts (with world save). Creating a new world changes nothing. Joining with a newly created character is still causing the server to crash.
Running TDSM Rebind core build 2b on Ubuntu Server 14.04 64-bits.
Part of the log: http://pastebin.com/UX82AAcb

Make sure your permissions in Linux for that directory and it's sub-directories are set properly to allow the user running the server full control. By default, my /opt directory is root owned in Ubuntu.
Other than that, I don't know what the issue could be. We'll see if @DeathCradle can make sense of it. :wink: I'll test this on my own server though. I may have forgot to test b2 on Linux.

Ok tested release b2 on Linux. it seems to be working properly for me. You can jump on my test server if you want some time to check if it's just your character or whatever. It's up at digitalecho.ga:8888
I'm running Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1) and Ubuntu 14.04.1 LTS Release 14.04 Codename trusty.

Thanks for your comments! :) This server was running fine until 2 days ago, when I installed on the same machine a Counter-Strike: Source server. I can't see the relation between them but that was the only change.
Before I was thinking that maybe someone joined the server and did something buggy in the world, which got saved and couldn't be loaded anymore, but creating a new world still crashes the server.
Besides from that, I'll also check if I changed user permission for the /opt/servers directory by mistake, but I don't remember messing with that.

I'm guessing it was you... Did you actually connect and was able to play? I'm mostly wondering about that invalid network message line.

Sorry it wasn't me. But I saw this is my console too from some clients trying to connect, and it also happened with me a couple of times. When it happens, I'm not able to connect and play, instead I get a message in the connection screen, I can't recall it perfectly but I think it was something like "The server sent an invalid message".
About file permissions, I've run chmod a+rwx -R . in my /opt/servers/ directory (where I keep my TDSM installation), and the server still crashes when a client connects.
I'm curious what could have changed, is there any file that server writes to or reads from, that could have got corrupted? During the server's first days, I wasn't finishing it properly between reboots with the exit command.

Try making a new directory somewhere and just extract the b2 files there making a new server. Then run it and try connecting. That would rule out corrupted files. I've discussed this with @DeathCradle and he is looking into that invalid network message, but I'm thinking he don't really have any idea what your issue could be for the crashing yet.

Sorry for the ridiculously late reply. Try using "mono --trace=program tdsm.exe" to get some indication of an error.

@brunofin, has this issue been resolved? There's been significant changes and a few unexpected crashes fixed. If we don't hear back from you soon I'll go ahead and close this.

Hey, sorry. My server is actually down since some time, but I would like to
help. I'll update it and put is up this weekend for as long as possible. If
this happens again I'll let you know.
On Jul 11, 2015 00:29, "Luke"<EMAIL_ADDRESS>wrote:

@brunofin https://github.com/brunofin, has this issue been resolved?
There's been significant changes and a few unexpected crashes fixed. If we
don't hear back from you soon I'll go ahead and close this.
—
Reply to this email directly or view it on GitHub
https://github.com/DeathCradle/Terraria-s-Dedicated-Server-Mod/issues/106#issuecomment-120542107
.

Great! thanks for the quick response @brunofin!

I'm getting a similar problem.
"disconnecting for: Client sent invalid network message (184614931 | 84)"

Terraria client version <IP_ADDRESS>
TDSM v. 1.1.2 B37
When I run it with the --trace=program option, my network utilization goes way up and lags the ssh session until i kill it.

The "Native Stacktrace" part is where I killed it with kill -6.

@machtgelust you are using a very old version of tdsm. Please find the latest in the Binaries folder.

@machtgelust
You can go to the repo home page and click Download ZIP. Then extract those files and look inside the Binaries folder. You can even run it from there.

yeah i  had figured it out thanks :)
though now that you mention it, when i run it and log in there are no blocks. i just fall into the abyss until i hit the bottom... should i make a new thread?

Yes that would be great thanks @machtgelust. Can't you also provide screenshots and system info. I'm not sure if this is a vanilla bug our tdsm. I think tshock is having something similar.

sorry, see my edit. all my problems were between keyboard and chair. sorry for hijacking this thread

Haha, all good mate. I'm glad it was a simple fix.

I think I'll go ahead and close this issue off anyway, however if @brunofin or anyone else had this issue still please do open a new issue.


Add files via upload

Can you please remove main.py from the emergent folder and put it into tests/
also, can you make the imports in each file go back to what they used to be, iirc we need them to be like that (relative imports)
like revert to from .llms import x
and in main.py you can do from emergent import ChatAgent


add output ui

This method draws the UI for each of the outputs corresponding to the node. Defaults to the label that was the previous hard-coded behavior. The default impl also means this isn't a breaking change.

Rebased & tested


testing angular components with jest gives resolveComponentResources

I'm trying to test Angular components with jest via jest-preset-angular
it can run the test by karma with ng test,
but running the same test by jest gives the error
AppComponent › should create the app

    Component 'AppComponent' is not resolved:
     - templateUrl: ./app.component.html
     - styleUrls: ["./app.component.scss"]
    Did you run and wait for 'resolveComponentResources()'?

reproduction
steps to create this reproduction (see the git commits for steps)
1- generate a new angular project ng new myproject
2- install jest dependencies
3- create jest config file
4- copy and modify src/app/app.component.spec.ts to app.component.spec.jest.ts
running the reproduction
to test app.component.spec.ts file by karma run npm t or ng test
and then run npm run test:jest to test app.component.spec.jest.ts by jest

Hi, this is related to configuration for Angular. Pls check their documentation for installing and configuration :)


remote signer statefulset

This creates a new values.yaml object signers deploying tezos-signer daemons in pods in dedicated k8s statefulset.
Signers are associated with accounts with the syntax: "sign_for_account": list of accounts.
When a signer is found with relevant "sign_for_account", the baker will automatically configure itself to use it.
Example values.yaml config:
nodes:
  baking:
    tezos-baking-node-0:
      bake_using_account: baker0
      is_bootstrap_node: true
    tezos-baking-node-1:
      bake_using_account: baker1
      is_bootstrap_node: true
  regular: null
signers:
  tezos-signer-0:
    sign_for_accounts:
    - baker0
    - baker1

In this PR, we also limit the private key exposure to the containers where they are needed. Private keys only go to the baker if needed, or to the signer if needed, based on values.yaml config.
mkchain will deploy one signer by default, and every baker will connect to it. This is made standard as this is good practice.
We also replace MY_NODE_NAME with MY_POD_NAME since the signer also populates this env var in order to help config generator to generate the right config.
Previously, config-generator.py relied on MY_NODE_NAME being unset to detect whether it was running inside the activation pod. We have now made it explicit by setting MY_POD_NAME to activating in the activation pod.
This PR also fixes some linting issues that are in master now.

Also, thank you for linting

@harryttd addressed all your comments, please re review

Looks good, with only one real question: Should we be using a remote signer by default? Should it be an option to mkchain? I'm not sure. This isn't a blocker, feel free to commit anyway, this can always be changed later.

Thanks for reviewing. The advantage of having it by default is that we will know faster if it breaks.


How to change ad blocking settings?

Here's the place to find out how to adjust your ad blocking settings.

Closing this issue as not currently relevant.


Watch mode fails for CommonJS consumers

see #2

@pmwmedia it seems to be related to the naming of the split chunks by parcel; renaming the worker chunk and updating the require to be for .cjs resolves the issue.  I will look at resolving this asap, but in the meantime, since I think you are using via ts-node > webpack.config.ts it might be easiest to update the following in your tsconfig.json so that it outputs esm (assuming no other impact by doing this, not sure what else you might be loading in this way :smile:)
  "ts-node": {
      "compilerOptions": {
          "module": "ESNext",
          "target": "ESNext",
      }
   }


ModuleNotFoundError: No module named 'cv2'

do pip install opencv-python
that solved my problem :smile:


Support cross-document type visiting via /document/v1/ root

@freva please review 🦄
@bratseth @jonmv FYI, this plugs an API hole, although with some caveats (fieldset)
Requires cluster to be set since we don't have a document type to
auto-infer the target cluster from. Can use bucketSpace parameter
to explicitly state the target bucket space to visit (if not given,
implicitly visits the 'default' space).
Note: since we are not bound to a single document type, the field set
used is [all], not doctype:[document]. This means that this does
not have parity with non-root Document V1 visitor requests, though
it does have parity with legacy /visit and vespa-visit. To
have same behavior for a single document type, use an explicit document
selection=mydoctype parameter combined with a fieldSet parameter
of mydoctype:[document].
Don't want to publicly document this before we've done some in-house testing
to ensure it gives us desired API parity, as well as adding system tests for it.
This fixes #5794

👍


Umlaut it email validation ==> invalid

req.assert('email', 'invalid_email').isEmail();
When I try to validate<EMAIL_ADDRESS>the asserting above returns
{
  "code": "FieldValidation",
  "message": "email_invalid"
}

Is there a way to make the email validation work with special characters, like ä/ü/ö etc. ?

express-validator just uses the validator lib, we have almost no validation code of our own :)
Now, going back to your issue... are you sure that's what you're receiving in your server?
Because I just tested the exact value you mentioned and it worked.

Closing due to inactivity.