HFValidationError: Repo id must be in the form 'repo_name' or  'namespace/repo_name': 'Linly-ChatFlow-13B/models_raw/chatflow_13b'. Use  repo_type argument if needed.

from transformers import AutoTokenizer, TextGenerationPipeline
from auto_gptq import AutoGPTQForCausalLM, BaseQuantizeConfig
import logging
logging.basicConfig(
format="%(asctime)s %(levelname)s [%(name)s] %(message)s", level=logging.INFO, datefmt="%Y-%m-%d %H:%M:%S"
)
pretrained_model_dir = "Linly-ChatFlow-13B/models_raw/chatflow_13b"
quantized_model_dir = "chatflow_13b-4bit"
tokenizer = AutoTokenizer.from_pretrained(pretrained_model_dir, use_fast=False)
examples = [
tokenizer(
"auto-gptq is an easy-to-use model quantization library with user-friendly apis, based on GPTQ algorithm."
)
]
quantize_config = BaseQuantizeConfig(
bits=4,  # quantize model to 4-bit
group_size=128,  # it is recommended to set the value to 128
desc_act=True,  # set to False can significantly speed up inference but the perplexity may slightly bad
)
load un-quantized model, by default, the model will always be loaded into CPU memory
model = AutoGPTQForCausalLM.from_pretrained(pretrained_model_dir, quantize_config)
quantize model, the examples should be list of dict whose keys can only be "input_ids" and "attention_mask"
model.quantize(examples)
save quantized model
model.save_quantized(quantized_model_dir)
save quantized model using safetensors
model.save_quantized(quantized_model_dir, use_safetensors=True)

This error suggests that the folder Linly-ChatFlow-13B/models_raw/chatflow_13b does not exist on disk relative to the place you ran the Python script
Therefore it thinks it must be a Huggingface Repo, so it looked it up on Hugging Face Hub.
Please check that that folder actually exists with that name in that location and report back.


Add date in message icon

Fix for monitorizare-vot-votanti-client#45

check changes required in https://github.com/code4romania/monitorizare-vot-votanti-client/issues/45

Merged this change with changes from another pull request, addressing the same issue and we merged the other one, please check https://github.com/code4romania/monitorizare-vot-votanti-client/pull/48
Will close this pull request, thank you very much for the work, we really appreciate it!


bugfix and some optimize

1、fix bug in arm Ubuntu compile
2、optimize dependency package and build
3、adapt image boot file

Pls update the title and description of the PR, including the issues resolved in this modification, and how to modify.

Pls update the title and description of the PR, including the issues resolved in this modification, and how to modify.


Cleanup socketIo code, add event for refetching userInfo on role updates

Userinfo updates seemed to work in my testing. Swapping an admin user into a developer seamlessly transitioned their UI into "developer view" etc.

I converted both dontEmitToUserIds and onlyEmitToUserIds to arrays now.


ReferenceError: Ԫ� is undefined

Describe the bug
Using nexrender cli version 14.4 and newer causes this strange error when starting the render job.
[Fe-Nfvawrxrh8JEdoHt1F] applying prerender actions...
[Fe-Nfvawrxrh8JEdoHt1F] running script assemble...
[Fe-Nfvawrxrh8JEdoHt1F] rendering job...
[Fe-Nfvawrxrh8JEdoHt1F] spawning aerender process: /Applications/Adobe After Effects CC 2019/aerender -project /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/Fe-Nfvawrxrh8JEdoHt1F/MusicTeaserDemoTemplate_V1.aep -comp renderComp_16x9 -output /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/Fe-Nfvawrxrh8JEdoHt1F/result.mov -r /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/Fe-Nfvawrxrh8JEdoHt1F/nexrender-Fe-Nfvawrxrh8JEdoHt1F-script.jsx
[Fe-Nfvawrxrh8JEdoHt1F] rendering took ~11.471 sec.
[Fe-Nfvawrxrh8JEdoHt1F] writing aerender job log to: /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/aerender-Fe-Nfvawrxrh8JEdoHt1F.log
[Fe-Nfvawrxrh8JEdoHt1F] dumping aerender log:
Running Script: /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/Fe-Nfvawrxrh8JEdoHt1F/nexrender-Fe-Nfvawrxrh8JEdoHt1F-script.jsx
aerender ERROR: Error executing script: /var/folders/3_/f_vd74w974v2qyrcdqf3x_d00000gn/T/nexrender/Fe-Nfvawrxrh8JEdoHt1F/nexrender-Fe-Nfvawrxrh8JEdoHt1F-script.jsx
ReferenceError: Ԫ� is undefined
aerender ERROR: Runtime error in After Effects.
aerender version 16.1.2x55
PROGRESS: Launching After Effects...
PROGRESS: ...After Effects successfully launched

> job rendering failed
Error: Couldn't find a result file
    at ChildProcess.<anonymous><EMAIL_ADDRESS>    at ChildProcess.emit (events.js:210:5)
    at ChildProcess.EventEmitter.emit (domain.js:475:20)
    at maybeClose (internal/child_process.js:1021:16)
    at Socket.<anonymous> (internal/child_process.js:430:11)
    at Socket.emit (events.js:210:5)
    at Socket.EventEmitter.emit (domain.js:475:20)
    at Pipe.<anonymous> (net.js:659:12)

Render job works fine for version 1.14.3.
Issue seen when testing versions 1.14.4, 1.14.5, 1.14.6 and 1.15.1.
Information about environment

Which version of nexrender are you using? 14.4
What kind of the setup do you have? (server+worker or cli) Tested with CLI and Server+worker. Issue happens for both setups.
Are you using pre-built binaries or globally installed npm packages? I tested with the binaries from the github release page as well as building the packages myself.
Which kind (and version) of operating system you are running it in? Mac
Any additional information that might be helpful

Expected behavior
Render Starts without errors.

PS I tried running the cli with the flag --force-patch and sudo

Thank you @Jack-Stencil for including versions, you helped me to find an exact source of the issue, will push a fix soon!

Please, check if the release v1.16.0 fixes that issue.

@inlife Thank you very much the issue is resolved!


Key Vault Extension: msiEndpoint for Azure Arc

Added in auth setting for Azure Arc-enabled VMs.

#sign-off @ktoliver Can I get an exception to have this PR merged? Thank you!

@cynthn: I'm sorry - only the author of this article, @msmbaldwin, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Google maps on UWP/Windows Phone

Hello,
have you ever been thinking about GMaps .Net?
http://www.independent-software.com/gmap-net-tutorial-maps-markers-and-polygons/
I think it could be good for your project more than Bing maps, dont you mind?
If not would you mind to provide Xamarin.Forms.Maps for Windows phone?

I don't have plan to supporting GMap.NET.
Because this is not native API(probably javascript API).
Also this does not support UWP.


Support for multiple image calibration stimulus

At the moment, only video calibration validation stimuli are supported.
It should support for images in which target position changes from one image to another, maybe with start time related to the first image.

Example data for such a stimulus can be found in the Tobii Pro Lab screen-based demo project (available on Tobii's website)


ARM64 build

ARM64 build for Raspberry Pi 4 (maybe can also work for 3B model, not tested). Bump ffmpeg version to 4.3 for stable hw accelerated encoding with h264_v4l2m2m codec.

Looks good! One issue tho, i wont be able to build and push this locally since i dont have an RPi4 to do this... Not sure how to get around that. Any idea?
I have been working on a cross-build solution which would solve this problem tho, which i will release with the next version probably.

My first build was using an ARM64 VM with ubuntu (https://ubuntu.com/download/server/arm) on my Desktop PC (AMD64 Linux). The performance was horrible, but it worked.
The best option IMHO would be using a multiarch build as you said, you can try using this: https://github.com/docker/build-push-action.
Meantime, I'm probably maintaining my fork with your changes because it's working well on a RPi4 ARM64.

Sorry this is taking so long for me to implement, i cant find the time right now to finish this.
Thanks for maintaining your fork in the meantime

Sorry this is taking so long for me to implement, i cant find the time right now to finish this.
Thanks for maintaining your fork in the meantime

@alceasan I finally got my multiarch builds to work, i put up a test-version under roflcoopter/viseron-new:docker_revamp
Could you try and see if it works on your RPi4? Currently the generated ffmpeg command wont recognize its an RPi4 so the hwaccel args wont be added automatically

I just tried it, but it's not working. Some problem with missing libraries it seems (libatomic.so.1), here is the log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] 10-set-env-vars: executing...

****** Checking for hardware acceleration platforms ******

OpenCL cannot be used

VA-API cannot be used

CUDA cannot be used

*********************** Done *****************************

[cont-init.d] 10-set-env-vars: exited 0.

[cont-init.d] 20-check-if-rpi: executing...

********** Checking if we are running on an RPi **********

Running on an RPi4

*********************** Done *****************************

[cont-init.d] 20-check-if-rpi: exited 0.

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

  File "/src/viseron/viseron.py", line 6, in <module>

    from const import LOG_LEVELS

  File "/src/viseron/const.py", line 1, in <module>

    import cv2

  File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 96, in <module>

    bootstrap()

  File "/usr/local/lib/python3.7/dist-packages/cv2/__init__.py", line 86, in bootstrap

    import cv2

ImportError: libatomic.so.1: cannot open shared object file: No such file or directory

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

ImportError: libatomic.so.1: cannot open shared object file: No such file or directory

Fixed and pushed a new version of the same tag, Could you try again?

Sorry about the delay, still not working, this time a problem with EdgeTPU libs:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 10-adduser: executing...
************************ UID/GID *************************
User uid:    1000
User gid:    1000
************************** Done **************************
[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 20-set-env-vars: executing...
****** Checking for hardware acceleration platforms ******
OpenCL cannot be used
VA-API cannot be used
CUDA cannot be used
*********************** Done *****************************
[cont-init.d] 20-set-env-vars: exited 0.
[cont-init.d] 30-check-if-rpi: executing...
********** Checking if we are running on an RPi **********
Running on an RPi4
*********************** Done *****************************
[cont-init.d] 30-check-if-rpi: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
[2021-04-05 09:12:27] [root                    ] [INFO    ] - -------------------------------------------
[2021-04-05 09:12:27] [root                    ] [INFO    ] - Initializing...
[2021-04-05 09:12:28] [lib.mqtt                ] [INFO    ] - Initializing MQTT connection
[2021-04-05 09:12:28] [lib.detectors.edgetpu   ] [ERROR   ] - EdgeTPU not found. Detection will run on CPU
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
    raise ValueError(capture.message)
ValueError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/src/viseron/lib/detectors/edgetpu/__init__.py", line 28, in __init__
    tflite.load_delegate("libedgetpu.so.1", {"device": "usb"})
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 155, in load_delegate
    library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 152, in load_delegate
    delegate = Delegate(library, options)
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 111, in __init__
    raise ValueError(capture.message)
ValueError

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/src/viseron/lib/detectors/edgetpu/__init__.py", line 37, in __init__
    tflite.load_delegate("libedgetpu.so.1", {"device": "pci:0"})
  File "/usr/local/lib/python3.7/dist-packages/tflite_runtime/interpreter.py", line 155, in load_delegate
    library, str(e)))
ValueError: Failed to load delegate from libedgetpu.so.1

Sorry about the delay, still not working, this time a problem with EdgeTPU libs:

Dont worry about it! I am the one whos late... ;)
Could you exec into the container and run some commands for me and then restart the container?
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list
apt-get update
apt-get --reinstall install libedgetpu1-max=15.0

There were major version problems going on when google switched the tflite_runtime to a new project name, im guessing this might be an issue

Sorry, but after installing the package and restarting container, it's showing the same error :(
# apt info libedgetpu1-max
Package: libedgetpu1-max
Version: 15.0
Priority: optional
Section: misc
Source: libedgetpu
Maintainer: Coral<EMAIL_ADDRESS>Installed-Size: 882 kB
Provides: libedgetpu1 (= 15.0)
Depends: libc6, libgcc1, libstdc++6, libusb-1.0-0, debconf (>= 0.5) | debconf-2.0
Conflicts: libedgetpu1, libedgetpu1-legacy
Homepage: https://coral.ai/
Download-Size: 259 kB
APT-Manual-Installed: yes
APT-Sources: https://packages.cloud.google.com/apt coral-edgetpu-stable/main arm64 Packages
Description: Support library for Edge TPU
 Support library (max speed) for the Edge TPU

Actually scratch my last comment, it wont solve anything.
The error printed is just the caught stacktrace when no EdgeTPU is found. Did you start the container with -v /dev/bus/usb:/dev/bus/usb --privileged?

The container is already running with that configuration, but I'm not using any Coral USB.

The container is already running with that configuration, but I'm not using any Coral USB.

Aha i see! Well that means it should work then, because the stacktrace you linked is printed by this line. Viseron is not actually crashing at that point.

You are right, even after that errors container is running. I have tested it a little bit, but it haven't registered any movement on MQTT or recordings, so it's not really working.
Also, it has a much higher cpu usage compared with my working version on arm64 as you can see in the netdata monitoring after changing viseron container from one image to other:

This is probably because of the ffmpeg codec used. I'm using a ffmpeg build with the v4l2 codec, which has hardware acceleration on RPI4 (arm64), using this configuration: https://www.willusher.io/general/2020/11/15/hw-accel-encoding-rpi4

The container is built with v4l2 codec, as you can see here.
However, i found a typo in one of the environment variables so the codec was not automatically picked up. Could you pull the new roflcoopter/viseron:dev and show me the complete log output?

It's not working with that image, but it seems it's due to a config error. has something changed in the config for this version?
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.

[s6-init] ensuring user provided files have correct perms...exited 0.

[fix-attrs.d] applying ownership & permissions fixes...

[fix-attrs.d] done.

[cont-init.d] executing container initialization scripts...

[cont-init.d] 10-adduser: executing...

usermod: no changes

************************ UID/GID *************************

User uid:    1000

User gid:    1000

************************** Done **************************

[cont-init.d] 10-adduser: exited 0.

[cont-init.d] 20-set-env-vars: executing...

****** Checking for hardware acceleration platforms ******

OpenCL cannot be used

VA-API cannot be used

CUDA cannot be used

*********************** Done *****************************

[cont-init.d] 20-set-env-vars: exited 0.

[cont-init.d] 30-check-if-rpi: executing...

********** Checking if we are running on an RPi **********

Running on an RPi4

*********************** Done *****************************

[cont-init.d] 30-check-if-rpi: exited 0.

[cont-init.d] done.

[services.d] starting services

[services.d] done.

Traceback (most recent call last):

  File "/src/viseron/viseron.py", line 8, in <module>

    from lib.config import CONFIG, NVRConfig, ViseronConfig

  File "/src/viseron/lib/config/__init__.py", line 94, in <module>

    CONFIG = VISERON_CONFIG_SCHEMA(raw_config)

  File "/usr/local/lib/python3.7/dist-packages/voluptuous/schema_builder.py", line 272, in __call__

    return self._compiled([], data)

  File "/usr/local/lib/python3.7/dist-packages/voluptuous/schema_builder.py", line 594, in validate_dict

    return base_validate(path, iteritems(data), out)

  File "/usr/local/lib/python3.7/dist-packages/voluptuous/schema_builder.py", line 432, in validate_mapping

    raise er.MultipleInvalid(errors)

voluptuous.error.MultipleInvalid: required key not provided @ data['cameras'][0]['substream']['port']

[cont-finish.d] executing container finish scripts...

[cont-finish.d] done.

[s6-finish] waiting for services.

[s6-finish] sending all processes the TERM signal.

[s6-finish] sending all processes the KILL signal and exiting.

Yes, a port has to be specified if you are using substream

OK, I included the port also in the substream config, but it seems there is a problem with ffmpeg. I have two cameras in my config, here is the current log after starting (it's repeating every few seconds):
[2021-04-06 16:07:09] [lib.camera.camera1     ] [ERROR   ] - Restarting frame pipe
[2021-04-06 16:07:11] [lib.camera.camera2   ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken
[2021-04-06 16:07:11] [lib.camera.camera2   ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 2 times
[2021-04-06 16:07:11] [lib.camera.camera2   ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 3 times
[2021-04-06 16:07:11] [lib.camera.camera2   ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 4 times
[2021-04-06 16:07:11] [lib.camera.camera2   ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 5 times
[2021-04-06 16:07:12] [lib.camera.camera1      ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken
[2021-04-06 16:07:12] [lib.camera.camera1      ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 2 times
[2021-04-06 16:07:12] [lib.camera.camera1      ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 3 times
[2021-04-06 16:07:12] [lib.camera.camera1      ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 4 times
[2021-04-06 16:07:12] [lib.camera.camera1      ] [ERROR   ] - Unable to decode frame. FFmpeg pipe seems broken, message repeated 5 times

How could I get a more detailed log?

A good way to start is to set ffmpeg_loglevel: info, maybe turn on debug logging for Viseron aswell.

Closing as RPi4 support has been implemented some time ago


[OSB] Mole seed box

Seed box from mole skin/claw trade-in is missing multiple seeds from the drop table. This is what I recived from 644 nests. https://i.imgur.com/mjVStQA.png
https://oldschool.runescape.wiki/w/Mole_claw
https://oldschool.runescape.wiki/w/Mole_skin
snape grass, herb seeds and many others appear to be missing.
Thanks!

Fixed and merged in oldschoolJS

Fixed and merged in oldschoolJS


Many-to-many eager hydration (feature request)

Suppose we have a User to Role m:m relationship via a cross-reference table user_to_role.
It would be useful to be able to write:
$users = UserQuery::create()->with('Role')->find();

and only have 1 extra query to fetch related roles records (and hydrate them), instead of issuing 1 query per User entity.
We would need a UserToRoleQuery::filterByUserIDs([...]).
It would also be useful to be able to reference a many-to-many relation via plural name like ->with('roles').
kind regards

Have a look at the documentation on minimizing queries here and here, the latter also gives an example on how to use populateRelation() on result sets.

Hello @mringler ,
I tried using join+with and joinWith, and I also tried with('User.UserToRole') + with('UserToRole.Role'), but it does not seem to work for many-to-many. When I loop over the users in the example above, I still see 1-query per user to fetch the related roles. I totally missed the populateRelation method. I'll have a look at it. Still, a ->with('roles')  call (with pluralization for related AR) would be easier to understand.
kind regards

Hello @mringler,
commenting my opening issue: actually a UserToRoleQuery::filterByUserId([...]) method is created and it supports an array of user-id translated into a IN sql condition. But it is not used to hydrate a many-to-many relation.


Nacos doesn't support Route Definition Locator?

Which Component
Nacos Discovery, Spring Cloud Gateway
Describe what problem you have encountered
I want to create routes  based on service discovery, so I set spring.cloud.gateway.discovery.locator.enabled=true and of course lower-case-service-id=true. My gateway address is localhost:8080, the target service is ruyi-user-service and the path is localhost:8010/auth/sendSmsCode. Having the service discovery enabled, when I visit localhost:8080/ruyi-user-service/auth/sendSmsCode, the response should be the same as the request of the target route, but it doesn't work and the status is always 404. Here is the log:

2021-07-12 02:41:17.830  INFO 16228 --- [ctor-http-nio-3] c.netflix.config.ChainedDynamicProperty  : Flipping property: ruyi-user-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>
2021-07-12 02:41:17.881  INFO 16228 --- [ctor-http-nio-3] c.netflix.loadbalancer.BaseLoadBalancer  : Client: ruyi-user-service instantiated a LoadBalancer: DynamicServerListLoadBalancer:{NFLoadBalancer:name=ruyi-user-service,current list of Servers=[],Load balancer stats=Zone stats: {},Server stats: []}ServerList:null
2021-07-12 02:41:17.901  INFO 16228 --- [ctor-http-nio-3] c.n.l.DynamicServerListLoadBalancer      : Using serverListUpdater PollingServerListUpdater
2021-07-12 02:41:17.948  INFO 16228 --- [ctor-http-nio-3] c.netflix.config.ChainedDynamicProperty  : Flipping property: ruyi-user-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>
2021-07-12 02:41:17.993  INFO 16228 --- [ctor-http-nio-3] c.n.l.DynamicServerListLoadBalancer      : DynamicServerListLoadBalancer for client ruyi-user-service initialized: DynamicServerListLoadBalancer:{NFLoadBalancer:name=ruyi-user-service,current list of Servers=[<IP_ADDRESS>:8011],Load balancer stats=Zone stats: {unknown=[Zone:unknown;	Instance count:1;	Active connections count: 0;	Circuit breaker tripped count: 0;	Active connections per server: 0.0;]
},Server stats: [[Server:<IP_ADDRESS>:8011;	Zone:UNKNOWN;	Total Requests:0;	Successive connection failure:0;	Total blackout seconds:0;	Last connection made:Thu Jan 01 08:00:00 CST 1970;	First connection made: Thu Jan 01 08:00:00 CST 1970;	Active Connections:0;	total failure count in last (1000) msecs:0;	average resp time:0.0;	90 percentile resp time:0.0;	95 percentile resp time:0.0;	min resp time:0.0;	max resp time:0.0;	stddev resp time:0.0]
]}ServerList:com.alibaba.cloud.nacos.ribbon.NacosServerList@62b0f8ea
2021-07-12 02:41:18.915  INFO 16228 --- [erListUpdater-0] c.netflix.config.ChainedDynamicProperty  : Flipping property: ruyi-user-service.ribbon.ActiveConnectionsLimit to use NEXT property: niws.loadbalancer.availabilityFilteringRule.activeConnectionsLimit =<PHONE_NUMBER>

Describe what information you have read
I have read the reference doc of Spring Cloud Gateway : https://cloud.spring.io/spring-cloud-gateway/reference/html/#the-discoveryclient-route-definition-locator

Do you mean to change Spring Cloud Gateway route via dynamic config in Nacos Config?  You can refer to https://nepxion.com/discovery/, find the chapter for 'Spring-Cloud-Gateway网关动态路由'

Thanks for your answer.
Uh, What I want is not dynamic config in Nacos, but using its service discovery ability.
We have known that Spring Cloud Gateway has an ability to locate service route via service registry and service name(Spring Cloud Gatey Doc here), so there is no need to configure each of them. For example, My gateway host is localhost:8080 and, I have an api localhost:8010/auth/sendSmsCode used to send sms code in user-service, when I set spring.cloud.gateway.discovery.locator.enabled=true in gateway configuration, I can call the api by combining gateway domain and the service name, like this: localhost:8080/user-service/auth/sendSmsCode, but I failed, the response status is 404.
The Spring Cloud Gateway reference doc said a DiscoveryClient implementation can do like that, does Nacos support that too?

If you use spring.cloud.gateway.discovery.locator.enabled=true, i think it should use serviceName as the predicate in url, just as follows
http://[gateway ip]:[gateway port]/[service name]/[service url]

Just like your url
http://localhost:8080/user-service/auth/sendSmsCode

I am sure Gateway with the component of Spring Cloud Alibaba can work fine, because I tested that yesterday. May some other configs impacted that for you?

Yes, my url is the same as yours, it is correct.

Good news!
I've found a new case just now at your suggestion. I use dubbo to expose my rest api in user-service. I doubt it may influence. So I created a new test api with springMVC, you know what, it worked. So, the question becomes

Does dubbo rest support the service discovery based route location? If yes, how to make that?

Dubbo exposes restful api, make Dubbo service and Spring Cloud Gateway in the same service discovery center. Try it
I am not so sure that it can work

I've searched dubbo reference doc about the rest support and found the above info, which I think is the reasonable explanation. I directly call the rest api exposed by dubbo in Postman, which is not a dubbo managed consumer, so it doesn't work. It looks that I should choose another way to expose the restful api to web invokers.
Thanks.

Spring Cloud Gateway is a just route component, since Dubbo exposed Rest API can be invoked in Postman, why not invoke via Gateway? Would you do an advanced search for integration Dubbo & Spring Cloud Gateway?If really not supported, welcome to PR

Spring Cloud Gateway is a just route component, since Dubbo exposed Rest API can be invoked in Postman, why not invoke via Gateway? Would you do an advanced search for integration Dubbo & Spring Cloud Gateway?If really not supported, welcome to PR

OK，I would make more efforts to test the truth. Just give me some days : )

Spring Cloud Gateway is a just route component, since Dubbo exposed Rest API can be invoked in Postman, why not invoke via Gateway? Would you do an advanced search for integration Dubbo & Spring Cloud Gateway?If really not supported, welcome to PR

OK，I would make more efforts to test the truth. Just give me some days : )


import six ImportError: No module named six

I am trying to extract tweets using tweepy. I have installed tweepy by following steps suggested in github (https://github.com/tweepy/tweepy).
My OS is CentOS 7 with Hadoop installation. by default Python comes with 2.6 version which is not supported for tweepy so, I have upgraded Python to 2.7 from 2.6(edited)
This is my python code:
#Import the necessary methods from tweepy library
from tweepy.streaming import StreamListener
from tweepy import OAuthHandler
from tweepy import Stream
#Variables that contains the user credentials to access Twitter API
access_token = "XXXX"
access_token_secret = "XXXX"
consumer_key = "XXXX"
consumer_secret = "XXXX"
#This is a basic listener that just prints received tweets to stdout.
class StdOutListener(StreamListener):
def on_data(self, data):
print data
return True
For your confirmation, The above code is executing in Azure notebook but not in my Linux OS
Could you please help me.
error message is below
[root@sandbox-hdp tweepy]# python tweets.py
Traceback (most recent call last):
File "tweets.py", line 2, in
from tweepy.streaming import StreamListener
File "/root/Python/tweepy/tweepy/init.py", line 12, in
from tweepy.models import Status, User, DirectMessage, Friendship, SavedSearch, SearchResults, ModelFactory, Category
File "/root/Python/tweepy/tweepy/models.py", line 7, in
from tweepy.utils import parse_datetime, parse_html_value, parse_a_href
File "/root/Python/tweepy/tweepy/utils.py", line 9, in
import six
ImportError: No module named six

This error means that your python install can't find a different python package, six. Running python2.7 -m pip install six on your command line should install it. If you don't have pip installed, then go ahead and do that first.
This isn't an issue with tweepy, so please close this issue to ease the load on the maintainers.

Dear fitnr,
thank you for your response,
I installed six then I am getting below error.
Traceback (most recent call last):
File "tweets.py", line 2, in
from tweepy.streaming import StreamListener
File "/usr/lib/python2.6/site-packages/tweepy-3.6.0-py2.6.egg/tweepy/init.py", line 16, in
from tweepy.auth import OAuthHandler, AppAuthHandler
File "/usr/lib/python2.6/site-packages/tweepy-3.6.0-py2.6.egg/tweepy/auth.py", line 9, in
from requests_oauthlib import OAuth1Session, OAuth1
File "/usr/lib/python2.6/site-packages/requests_oauthlib-1.0.0-py2.6.egg/requests_oauthlib/init.py", line 16, in
logging.getLogger('requests_oauthlib').addHandler(logging.NullHandler())
AttributeError: 'module' object has no attribute 'NullHandler'

The important part of that error message is python2.6: while you may have installed Python 2.7, you're still using 2.6. As you note in your original question, v2.6 isn't supported. Try using the command python2.7 instead of python to run your code, e.g:
$ python2.7 myscript.py

As explained, six is a required dependency for Tweepy and you're using Python 2.6, which as you noted, Tweepy does not support.
For code block usage, see https://help.github.com/articles/creating-and-highlighting-code-blocks/.


You lost useFieldToTextField in the beta

Attempted import error: 'useFieldToTextField' is not exported from 'formik-material-ui'.

Hi @megastas. This is intentional. Please see https://github.com/stackworx/formik-material-ui/issues/111#issuecomment-584861266


Privacy policy

This is the backend of the simple implementation of privacy policy, a more advanced version will come later.
See the issue here:  https://github.com/Energinet-DataHub/energy-origin/issues/289
Work done here:

Moved several functions and other bits of code into a different file to make it easier to reuse
Removed some of the SSN implementation which was getting in the way, we can always go back in the source control and find it again when needed
Added endpoints for get and accept terms
Added a create user endpoint
Tests for all the logic and the flow

Other small things added

Flake8 linting enabled for vscode
Fixed an issue with devcontainers

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: MartinSchmidt:white_check_mark: j4k0bk:x: ChrisbhYou have signed the CLA already but the status is still pending? Let us recheck it.


quick fix for hot code reload error

This fixes https://github.com/surface-ui/surface/issues/754 though we may want to use the column instead of ignore it?

Fixed in #755.
@mayel thank you!


Uploading Activities

I know your current garpyClient and garpy project does not have any functionality to do files upload to Garmin Connect, but is the capability to do that available w/ some coding? This is not using any official Garmin API I presume? (not that I can see from the codes)
But this is basically emulating actions on a Garmin's Webpage right?
out of the many projects which I looked at, yours is the first that actually is able to get me logged into Garmin Connect w/o any authentication errors.

Hi @app4g
This is not something I intend to add to the library. I do not have a use case or means of testing it.
You mention that you have tried many projects before mine. Have you tried garminexport? It has an upload method.
If you cannot manage to authenticate with garminexport, you can borrow the method from garminexport and use the garpy client instead. This is the method I am talking about: https://github.com/petergardfjall/garminexport/blob/21e11338f277952dec1c92725a2ca5b6cad59b8c/garminexport/garminclient.py#L445
It looks fairly simple to replicate.

I can confirm that garminexport works. (at least some of the time)
tho the upload still marks as failed (403) although its uploaded.
tx for your help/point in right direction. I will look at how to integrate it,


Add username param to analyzeGit

A new username param as part of analyzeGit to support our BitBucket Cloud integration

Guys, next time please don't forget to add tests

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error Message for Bad StorageProvider Configuration is unintentionally opaque

Describe the bug
A clear and concise description of what the bug is.
Error Message for Bad Configuration is unintentionally opaque
SEVERE The storage provider for outcome [false] or source [false] passed is not configured properly com.ibm.fhir.exception.FHIROperationException: The storage provider for outcome [false] or source [false] passed is not configured properly [probeId=ac-11-20-8d-114df054-60f5-46ec-9a15-e34b94c26b57] at <unknown class>.buildExceptionWithIssue(FHIROperationUtil.java:289) at <unknown class>.buildExceptionWithIssue(FHIROperationUtil.java:277) at <unknown class>.checkAllowed(CommonUtil.java:53) at <unknown class>.doInvoke(ExportOp

Environment
Which version of IBM FHIR Server? main
To Reproduce
Steps to reproduce the behavior:

Configure an IBM FHIR Server with bulkdata/enabled = true
Execute request

curl --location --request GET 'https://localhost:9443/fhir-server/api/v4/$export?_outputFormat=application/fhir+ndjson&_type=Patient' \
--header 'X-FHIR-TENANT-ID: default' \
--header 'Content-Type: application/fhir+json' \
--header 'X-FHIR-BULKDATA-PROVIDER: minionoprovider' \
--header 'X-FHIR-BULKDATA-PROVIDER-OUTCOME: minionoprovider' \
--header 'Accept: application/fhir+json'

see the unusable message.

Expected behavior
A clear and concise description of what you expected to happen.
Return a usable message
Additional context
Add any other context about the problem here.

The new error message is more clear to me:

The requested export source storageProvider configuration is missing [default/minionoprovider]


Proposal: run with command name only

Really enjoying the gobin + tools.go workflow!  One nice feature of a similar tool called gex is that it allows you to gex run bar where bar was installed from github.com/foo/bar for example.
It would be nice if gobin also supported this kind of feature.  Instead of  gobin -m -run golang.org/x/tools/cmd/stringer -help you could just run gobin -m -run stringer -help and whatever version you have defined in your tools.go/go.mod is run.
Perhaps a .gobincache/bin full of your modules symlinked bins, and supplementing the gobin -m -run would be one way to implement shortname discoverability.

Apologies again for the delay in replying, I had closed Octobox and so was not receiving notifications for this repo.
I fully understand what you're getting at here. For example, I have a number of aliases setup in bash of the sort:
alias main='gobin -run example.com/main'

Furthermore, within certain local module repositories I have aliases set by smartcd of the sort:
autostash alias gg='gobin -m -run myitcv.io/cmd/gg'

Therefore, my knee jerk response to this right now would be "no" for two reasons:

it's entirely possible and (indeed much more configurable) to define aliases in your shell
this sort of approach is susceptible to collisions and I think the user is better placed to manage those potential collisions

But please, I'm open to other opinions on this. Having a good example/precedent here would help, and maybe just spelling that out in more detail would be helpful for the discussion.
cc @rogpeppe and @mvdan for other thoughts

Those are good points, and I'm weighing if less moving parts is better for reliably in the long run.  I would like to see some of the capabilities of gobin (as it is now) make it into the actual go tool someday, and you seem more in tune with what constraints could help make that happen.
After using gobin a bit more, I find myself using it in two places:

Make file steps
go Generate comments

While it does make for much longer commands (having to type out GitHub.com/user/name/wahtever-else) it avoids the collision problem all together, which, as time goes on, avoiding problems altogether seems better to error on than complicating life for the sake of convince.
As for your alias + autocd suggestion,  yes that works, but I don't like that solution for these reasons:

autocd an additional global dependency.    It's also highly likely they have Make installed.  It's much less likely they have autocd installed.
autocd or an activation script requires contributors to modify their shell environment or session.    Projects should be well contained.
It's an environment activation strategy.  While popular in python and some go projects (e.g. 'please set your GOPATH to this non-default location', annoyingly imo), many tooling ecosystems have opted for context aware tooling (e.g. npm, cargo, git) that doesn't require the modification of the entire shell session just to properly work on it, be it automated or manual.  I would argue go modules moving away from requiring development the GOPATH is a step in this context aware direction instead of environment modifications.

I'm going to close this for now.   While I would enjoy the addition of this, lets error on the side of simplicity.


Animation along one path is missing

What's missing is the possibility to animate something along one given path, or couldn't I get it? The draw-function could be something, but I can't get it work.

KUTE.js currently doesn't support that.


Improve grammar for this README.md

Clarify and add more detail to the steps of doing Jump Search.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @SiddharthaAnand . Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


Resetting controller hands in grab scene

Fixes #1261

Do all the scenes need to be updated?

Only scenes which used alternate hand models were affected. This is the only one that does so.


Propose Logo

Hi,, i'm graphic designer and an open source enthusiast. I would like to contribute to your awesome project by proposing logo design for it if you allow me. I'll be doing it as a gift for free to your awesome project.
Best regard. Mirza zulfan.

Thanks, and welcome contributions.

Hi sir @vcaesar .. i've designed a logo, tell me if you need some change i'll fix it. if you have an idea please share with me, it would be better for me. if you like it i'll send you files and pr. thank you.

It looks good, I think the monochrome logo should have blue and black, can it be more scientific and fluid?  You can optimize it in detail, the color logo can be divided into three colors. Thank you again.

I just think that this design has more meaning, I paint very poorly, please adjust the details or give suggestions.

Ok sir. i'll make it soon. thanks for your feedback.

how about this sir @vcaesar ?

waiting your feedback?

I think the third is better, you can give me a PR.
The color is very dark, I can adjust the color myself.

You mean like this sir ? ok. I'll sent you a Pr.

I uploaded the files and updated the readme file. You can get the other version in Gdrive
Here's the pr #61 . Thanks a lot sir @vcaesar
Best regards.


Integrations now have a configurable serviceaccount and rolebinding.

Codecov Report

Merging #321 into master will decrease coverage by 0.78%.
The diff coverage is 0%.

@@             Coverage Diff              @@
##             master     #321      +/-   ##
============================================
- Coverage     44.61%   43.83%   -0.79%
  Complexity      218      218
============================================
  Files           128      128
  Lines          1905     1939      +34
  Branches        191      195       +4
============================================
  Hits            850      850
- Misses          995     1029      +34
  Partials         60       60

Impacted Files
Coverage Δ
Complexity Δ

...as/openshift/OpenShiftConfigurationProperties.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...m/redhat/ipaas/openshift/OpenShiftServiceImpl.java
8.17% <0%> (-1.91%)
0 <0> (ø)


Update doxygen file

🦟 Bug fix
Summary

I noticed warnings like this while building on Jammy:
warning: Tag 'TCL_SUBST' at line 237 of file '/home/chapulina/dev_jammy/ws_garden/build/gz-fuel_tools8/api_tagfile.dox' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1044 of file '/home/chapulina/dev_jammy/ws_garden/build/gz-fuel_tools8/api_tagfile.dox' has becom
e obsolete.                                                                                To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'TCL_SUBST' at line 237 of file '/home/chapulina/dev_jammy/ws_garden/build/gz-fuel_tools8/api.dox' has become obsolete.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"
warning: Tag 'COLS_IN_ALPHA_INDEX' at line 1044 of file '/home/chapulina/dev_jammy/ws_garden/build/gz-fuel_tools8/api.dox' has become obsole
te.
         To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u"

How well do we want support people generating docs locally? Ultimately, what really matters are the docs we upload to https://gazebosim.org through our nightly uploads. As long as we support that use case well, I think the least we should do for other users is:

Document how to generate docs locally - and if that requires some specific Ubuntu version, say so
Don't print warnings when they build on any supported platform (for ign-cmake2 that's Bionic, Focal and Jammy).

So I ran doxygen -u doc/doxygen/api.in on Focal (which has doxygen version 1.8.17), and the file was automatically updated. I manually modified a few things that seemed to have been explicitly set by us.
My goals are to:

[ ] Use a newer version of doxygen to generate our docs. I think Focal makes sense, because it's supported by Citadel, Fortress and Garden. This needs to go with https://github.com/gazebosim/docs/pull/274 and I need to test it locally.
[ ] Remove warnings on Jammy - this isn't addressed yet

Just opening this for visibility for now.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.
🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸🔸

I actually just realized that our docs don't build on Jammy for gz-sim. Commenting out ADDITIONAL_INPUT_DIRS fixes the build. Something to look into. It's probably related to the doxygen version.


Windows support

Support TestContainers on Windows using Docker Toolbox.
Testcontainers-java and testcontainers-java-examples tests finish without problems (on Windows 10 test machine).

FWIW I'll accept this PR with only Travis CI passing, as the CircleCI builds are not receiving the patch on master to disable Virtuoso build. FYI @v-schulz.

Thanks for all your hard work on this @v-schulz. I merged into the windows-support branch last night, and just updated the docs on master. This should be ready for people to try!

@rnorth I think there's something wrong because the branch has no updates. Nevertheless, the Docs are not working correctly because I use relative references to other html-anchors and different than on GitHub, the docs-page adds another /testcontainer/ before the relative link, so it is wrong. I'll figure out a way how to deal with this (either use absolute references or sth. else).

Damn, it showed as pushed (or so I thought). I'll repeat this morning. Thanks for flagging it!
Richard

On 25 Apr 2016, at 08:12, v-schulz<EMAIL_ADDRESS>wrote:
@rnorth I think there's something wrong because the branch has no updates. Nevertheless, the Docs are not working correctly because I use relative references to other html-anchors and different than on GitHub, the docs-page adds another /testcontainer/ before the relative link, so it is wrong. I'll figure out a way how to deal with this (either use absolute references or sth. else).
―
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub

Should be merged OK now!


number movie show i want show more than 20 movie

i want to inc number movie more than 20 but not working with me

@basemnassar11 can you provide some more details? I didn't get you.

hi,
in MoviesListingFragment class, i found list  "private List movies = new ArrayList<>(20);" , but if i change number 20 to 40 ex stil movie still movies show 20 not 40
sorry about english
thank you

@basemnassar11 the way to get more movies is to implement pagination and request for the next page from the tmdb API when you reach the end of the list.

Done https://github.com/esoxjem/MovieGuide/pull/65


Missing custom event for relation removal

I'm integrating the tls-certificates-interface in traefik: https://github.com/canonical/traefik-k8s-operator/pull/100.
When I juju remove-relation between tls-certificates-operator and traefik, the only way to remove the self-signed cert (that came from tls-certificates-operator over relation data) is by manually observing the "relation-broken" event.
Typically we say that a lib is responsible for registering the relation events on behalf of the charm, and emit custom events per need.
Currently the requirer side has these events:
https://github.com/canonical/tls-certificates-interface/blob/f50ed0231f6eb5a6650057c6b6fcb1ae22cae73d/lib/charms/tls_certificates_interface/v1/tls_certificates.py#L840-L846
none of which is emitted on relation broken.
Ideally I would like to observe a custom event instead of "breaking the pattern" and observe "tls-certificates" relation events directly. Wdyt?

Good point, I'm not sure however that we should re-use one of those events in the case of a relation broken. For instance, the broken relation doesn't necessarily mean that the certificate was either revoked or expired. We could wrap the relation-broken event in something like certificate-relation-removed but I'm not sure what this would add in terms of value. What do you think?

I think this could be valuable to alert a human operator to the fact that this relation is broken. I think most charms would want to keep using the certificate until it expires, but having a broken relation means that the certificate will not automatically renew, and that could create an outage.
For that reason, I think a custom event like CertificateProviderGoneEvent (or a better name) could be added.

We already have a lot of events to consider.
I think that semantically, a removed relation is equivalent to revoked.
Moreover, afaict, expired and revoked can be consolidated into certificate_no_longer_valid(reason=expired|revoked).

I agree with the two following statements:

Expired and revoked can be consolidated into certificate_no_longer_valid(reason=expired|revoked).
A custom event like CertificateRelationRemovedEvent could be added.

However I don't agree that a removed relation is equivalent to revoked. The word revoked has some specific meaning attached to it and I see no reason why we should change this meaning. For instance, it is possible for the relation to be removed and the certificate to still be valid and it is also possible for the relation to be intact and the certificate to be revoked.

I agree that revoked has a certain meaning.
The only scenario I can think of for when the lifetime of a certificate is longer than the lifetime of the relation is debugging charms in error state. And even then one could argue that when re-related, the charm could send the same CSR and get the same cert back.
With juju, relation data cannot outlive the relation, and likewise a cert that was sent over relation data cannot outlive the relation. This is consistent with the model. Keeping the cert after the relation is gone is inconsistent with the juju model.
It seems natural to me to consolidate revoked, expired and relation-broken into certificate_no_longer_valid(reason): the charm on the other side of the relation has nothing to do but to dispose of the cert (and perhaps issue a follow-up action based on the reason).

I agree and I'm fine with placing the relation-broken part of the reasons for thecertificate_no_longer_valid event.

I also agree with this design. I would propose CertificateInvalidatedEvent for the name of the event.


Subscription not refreshed as it should

I have these routes:
Router.map ->
  @route "spaces",
    path: "/spaces"
    waitOn: ->
      subs.subscribe "allSpaces"

    data: ->
      spaces: Spaces.find()

  @route "buildingSpaces",
    path: "/buildings/:_id/spaces"
    waitOn: ->
      [Meteor.subscribe("buildingSpaces", @params._id),
       subs.subscribe "allBuildings"]

    data: ->
      building_id: @params._id
      building<EMAIL_ADDRESS>      spaces: Spaces.find()
      subTemplate:  "spacesList"

When I click the route "spaces", I get a list with all my spaces (let's say 10)
When I click the route "buildingSpaces", I should see all the spaces for a particular building.
This filter (by building) doesn't work with subscription manager. It shows all the 10 spaces instead. If I replace the subscription for the "spaces" route by Meteor.subscribe("allSpaces"), then it works correctly.
I guess that this is because all your subscriptions are cached using the name of the collection instead of using the name of the publication.
However, I still don't understand why I can't see my spaces filtered by building as this subscription is not using subs. It shouldn't used the cache subscription but it does. Any idea why?
Thank you!

Arunoda, I'm having the exact same problem, when records keep stacking up and therefore after while on the client I have ALL the data from the table. I guess this is not the problem, the problem is that the incorrect data is being used since I assume that at a given route only SUBSCRIBED data is available. I solved this by filtering on the route level as well. See below:
Meteor.publish('schedule', function(id) {
  check(id, String);
  return Schedules.find({_id: id});
});

// route
Router.route('/practicals/:scheduleName/:scheduleId', {
  name: 'practicals',
  template: 'Practicals',
  waitOn: function () {
    return [
      subscriptions.subscribe('schedule', this.params.scheduleId)
    ];
  },
  data: function() {
    // I have to filter here, because if I browse several schedules ALL of the are cached on client
    return {
      schedule: Schedules.findOne({_id: this.params.scheduleId}, {reactive: false});
    }
  }
});

@tomitrescak that's the default behavior of this.
I think we discuss over at #26

@ndemoreau Yes. you've to do that.
This is how subs manager works.
Closing this issue.


Text wiggling

The text on the tabs and certain panels (such as settings) wiggles around a bit as I mouse over and off it.

Produced on Win8.1 running at 4K.

Most likely sub-pixel rendering related, and as such likely to be an upstream Chromium problem.
/cc @zcbenz

It looks like a dupe of https://github.com/atom/one-dark-ui/issues/27
I'll reopen that one and see if it can be fixed in the theme.


Plotting bug when saving only part of the solution

For example, in demo_proton_electron, if we use
sol_e = solve(prob_e, Vern9(); save_idxs=[1,2,3])

instead of
sol_e = solve(prob_e, Vern9())

The display result would be strange.
Related to https://github.com/SciML/OrdinaryDiffEq.jl/issues/2140

Chris explained that this bug originates from doing lazy interpolations some of the schemes in the above link.


Added AVIRIS-3 (av3) to sensor list in apply_oe

Added AVIRIS-3 as a valid sensor. Updated the available sensor list to reflect the change. Filename parsing for "av3" added (same as AVIRIS-NG and PRISM file conventions).

Thanks for this Regina!  PR's should be directed at dev, I'm re-orienting and will approve once checks clear - generally looks good!

@reginaeckert - I believe the failures have to do with the rebase.  Would you mind:

deleting this PR
pull the latest updates from this repository to your local system (git pull -all)
checking out dev (git checkout --track remotes/upstream/dev if this hasn't been previously done)
creating a new branch of dev (git checkout -b av3)
making your changes and committing
submitting a PR from that branch on your fork to dev

I believe that should resolve the merge issues.

I'm closing the pull request and will attempt again from dev - apologies for directing it at the wrong branch! If there is more to be done to delete the PR, let me know.


KAFKA-2423: Expand scalafmt coverage to core

Change spotless target to find all scala files.
Also submit code changes from the output of "./gradlew spotlessApply".  Build and ran all unit tests.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

It is indeed very large PR.. maybe we should consider splitting it? cc @ijuma @hachikuji

Did anything change here other than the formatting?

First question is whether there is consensus we want to do this. Backporting to older branches will be much harder and git blame will become less useful.

@ijuma @hachikuji yeah that's what I've said in the older PR: if we think now is the right timing, plus we agree on the format rules to be applied. If we conclude it is not the good time or not have a consensus it is also fine, and what I'd like to avoid is just silently drop it on the floor.

This discussion should probably go on the dev list. I'm personally +1 for adding scalastyle, but a bit on the fence about scalafmt. Having some consistency in the code can be a good thing as long as it doesn't interrupt usual flow.

Okay, I've thought about this a little more.  I'll send my discussions to the dev discussion list and we can continue from there.


Update _config.yml

Codecov Report

Merging #105 (4be0e90) into master (2a556d0) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #105   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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 2a556d0...4be0e90. Read the comment docs.


[BUG] initializing an async client without http_auth results in an error

What is the bug?
With local/tests setup of the library, without any http auth, the client produces the following error on request:
File ".../.venv/lib/python3.9/site-packages/opensearchpy/connection/http_async.py", line 194, in perform_request     **self._http_auth(method, url, query_string, body), TypeError: 'NoneType' object is not callable
How can one reproduce the bug?
Initialize and use AsyncOpenSearch client without http_auth (i.e with use of local ES on docker for example) and make a call to async_bulk
What is the expected behavior?
Ignore http_auth if it is None
What is your host/environment?
MacOS 12.5.1
Python 3.9.5
opensearch-py 2.1.1
Do you have any additional context?
The fix should be relatively easy
on opensearchpy/connection/http_async.py line 194 we should add http_auth call to the request headers only if it is not None
i.e replace lines 192-195 with
if self._http_auth is not None:
    req_headers.update(**self._http_auth(method, url, query_string, body))

Feel free to raise a PR if you're up for it.

The error appears to be related to the AsyncOpenSearch client of the opensearchpy library. When the client initializes without any HTTP authentication and a request is made to async_bulk, the client throws a TypeError error with the message "The 'NoneType' object is unavailable for calling". The error occurs in line 194 http_async.py when the http_auth method is called.
To reproduce the error, you can initialize the AsyncOpenSearch client without any HTTP authentication (for example, using a local instance of Elasticsearch in Docker), and then call async_bulk.
The expected behavior in this case would be for the client to ignore HTTP authentication if it is missing.
Decisions
The suggested bug fix would be to change the code in line 194 http_async.py update request headers only if HTTP authentication is not None. This can be done by adding an if statement to check if self._http_auth is the value None, and updating the request headers with the result of calling http_auth only if this is true. Here is an example of what the modified code might look like:
if self._http_auth is not None:
    req_headers.update(**self._http_auth(method, url, query_string, body))

The host/environment for this error is macOS 12.5.1, Python 3.9.5 and opensearch-py 2.1.1.

I also have a problem with auth in async mode. Open an issue and PR.
@liran-cohen-hs may be this PR will fix and your problem to

if self._http_auth is not None:
req_headers.update(**self._http_auth(method, url, query_string, body))

This won't actually solve all the issues, as there is guard code in the class's __init__ function that tests if the http_auth parameter is a list, tuple, or string type;
if http_auth is not None:
    if isinstance(http_auth, (tuple, list)):
        http_auth = ":".join(http_auth)
    elif isinstance(http_auth, string_types):
        http_auth = tuple(http_auth.split(":", 1))

This makes no sense as it is, and then it later tries to call whatever is in that value. Therefore, in situations where a basic username/password authentication is used, this will still fail.
It's also unclear what exactly this guard code is trying to do if the provided argument isn't a callable, and can't seem to make up its mind as to what format it wants the credentials in.
I'm gonna fork and try to fix this properly. Maybe in the PR someone can shed some light on why it's this way after I've changed it.


Neither the Dart Docs (API) nor Language Docs prominently explain JS Number semantics

An internal user newer to Dart had filed a bug ~roughly to the following:

How are the data types double and int handled in AngularDart?
  int a = 1; // case 1
//   double a = 1.0; // case 2
//   double a = 1.1; // case 3

  if (a is double) print('double');
  if (a is int) print('int');
}

The above snippet prints both both double and int for cases 1 and 2.
Prints double for case 3.
(Tried in https://dartpad.dev/)

I actually sort of flailed around for 10-15 minutes assuming we had docs to explain this and largely failed.

https://api.dart.dev/stable/2.9.0/dart-core/num-class.html
https://api.dart.dev/stable/2.9.0/dart-core/int-class.html
https://api.dart.dev/stable/2.9.0/dart-core/double-class.html

... none of these really mention anything about our number semantics. int does mention:

Note: When compiling to JavaScript, integers are restricted to values that can be represented exactly by double-precision floating point values. The available integer values include all integers between -2^53 and 2^53, and some integers with larger magnitude. That includes some integers larger than 2^63. The behavior of the operators and methods in the int class therefore sometimes differs between the Dart VM and Dart code compiled to JavaScript. For example, the bitwise operators truncate their operands to 32-bit integers when compiled to JavaScript.

... but I think honestly this is way too low-level to be useful to most users, at least as the only documentation provided..
Sources I used when helping define the problem:

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number
https://en.wikipedia.org/wiki/Floating-point_arithmetic
https://github.com/dart-lang/sdk/issues/34105#issuecomment-411699458

@nshahan did mention the following:
https://dart.dev/guides/language/language-tour#numbers
... but that only mentions:

On the Dart VM, values can be from -263 to 263 - 1.
Dart that’s compiled to JavaScript uses JavaScript numbers, allowing values from -253 to 253 - 1.

... which again, isn't quite what I would hope we would present to users potentially new to both Dart and JS.

(At one point we also had a lint for is double, but I don't see that anywhere anymore)

@kwalrath @mit-mit @leafpetersen - any opinions on where to add this?  Update the tour?
I'd prefer we describe ints / numbers as platform specific and then detail native and web semantics and differences.

The language specification has an appendix here. The description there is of course detailed / low-level as well, so the need to describe it in the language tour or a similar location remains.

The FAQ is a little outdated and hard to find, but maybe we could include the information there?
Technical detail aside, the spec also isn't a convenient resource to point people to because users have to pull and compile the spec from source. (By the way, should publishing an updated spec here be part of the release process?) Also, the appendices don't currently show up in the table of contents, so I for one wasn't even aware the spec mentioned JS number semantics at all.

How about we document the non-web version in the language tour, pointing out that the web version has different semantics, and linking to a place under dart.dev/web that goes into these semantics. (That assumes that 80% of developers won't care about the differences; if that's wrong, then maybe we should say more/all in the language tour.)
As to how we document this, below is the original content from https://spec.dart.dev/DartLangSpecDraft.pdf. How can we simplify this to be understandable and useful to the majority of developers who need this information? I suspect that we might want to add some examples, so even if we simplify the text, this might end up longer than the spec version.

Appendix: Integer Implementations
The int type represents integers. The specification is written with 64-bit two’s
complement integers as the intended implementation, but when Dart is compiled
to JavaScript, the implementation of int will instead use the JavaScript number
type.
This introduces a number of differencs [sic]:

Valid values of JavaScript int are any IEEE-754 64-bit floating point number
with no fractional part. This includes positive and negative infinity, which can
be reached by overflowing (integer division by zero is still not allowed). Otherwise valid integer literals (including any leading minus sign) that represent
invalid JavaScript int values cannot be compiled to JavaScript. Operations
on integers may lose precision since 64-bit floating point numbers are limited
to 53 significant bits.

JavaScript int instances also implement double, and integer-valued double
instances also implement int. The int and double class are still separate
subclasses of the class num, but instances of either class that represent an integer act as if they are actually instances of a common subclass implementing
both int and double. Fractional numbers only implement double.

Bitwise operations on integers (and, or, xor, negate and shifts) all truncate
the operands to 32-bit values.

The identical method cannot distinguish the values 0.0 and −0.0, and it
cannot recognize any NaN value as identical to itself. For efficiency, the
identical operation uses the JavaScript === operator.

The FAQ is a little outdated and hard to find, but maybe we could include the information there as well?

Good idea. Would you happen to have time to update the FAQ or just tell @kevmoo and me where you noticed it being outdated?

It's just that the top of the FAQ says it was last updated over a year ago and the very first question points to the Dart 1 spec, so I wasn't sure if we were still actively maintaining it as a resource. It's also a little tricky to find (without Googling "dart faq") - I think the shortest path from dart.dev requires you to click on "Docs", expand the "Resources" menu on the left, and find it nestled between "Code of conduct" and "History".

I'd like to make sure we don't give folks the impression that Dart on the Web isn't "real" Dart.  I personally think of it more akin to platform specific int in C.  I.e., Dart requires certain properties of int, but leaves others as implementation dependent with explanation of what that means in practice.

@fishythefish wrote:

users have to pull and compile the spec from source.

The 'In-progress specification' section does actually have a link to a PDF which is updated whenever the LaTeX source is updated, which is also the document that @kwalrath mentioned. I used a link into the source because it is difficult to link to a specific location in a PDF file.
Note that this appendix is just about to be updated to describe the actual behavior of bit operations (it's unsigned rather than signed), cf. https://github.com/dart-lang/sdk/issues/42892.
@vsmenon wrote:

I'd like .. Dart requires certain properties of int, but leaves others as implementation dependent

That would be a very nice approach to take. However, it goes somewhat deep. For instance, int and double are specified to have no subtypes (other than bottom types), and the new treatment of number types relies on this property in order to be able to conclude that the type of a + b is int in some cases depending on the type of a and the type of b. It still works in the case where a and b have both types int and double, given that the + operation will produce an int when it adds two ints. But we don't have anything like a nice, regular design space that we can leave open as implementation specific.

@eernstg wrote:

That would be a very nice approach to take. However, it goes somewhat deep. For instance, int and double are specified to have no subtypes (other than bottom types), and the new treatment of number types relies on this property in order to be able to conclude that the type of a + b is int in some cases depending on the type of a and the type of b. It still works in the case where a and b have both types int and double, given that the + operation will produce an int when it adds two ints. But we don't have anything like a nice, regular design space that we can leave open as implementation specific.

Does the newly spec'ed behavior work out when compiling to JS?  I had understood to be largely orthogonal: it doesn't say anything about precision, and it's about static typing.
Are the runtime types we produce on the Web sound wrt the static types in the spec?

Does the newly spec'ed behavior work out when compiling to JS?

Yes, but it depends on the details of the treatment of numbers for JS compilation, and it's a property which can't be captured by normal type systems that an int plus an int yields an int when that is at the same time an operation which adds two double values (with exactly the same representation as when it's viewed as an int addition) and produces a double. Only a few of the values of type double have type int as well, and the type system doesn't understand that those special values always produce the same kind of special values when added.

Are the runtime types we produce on the Web sound wrt the static types in the spec?

Yes.

The 'In-progress specification' section does actually have a link to a PDF which is updated whenever the LaTeX source is updated

Oh, awesome, I knew we had the 2.2 version; I didn't realize we had an updated one on the site as well.

Oh, awesome, I knew we had the 2.2 version; I didn't realize we had an updated one on the site as well.

I should reorg that page to make the in-progress spec easier to find.

For instance, int and double are specified to have no subtypes (other than bottom types), and the new treatment of number types relies on this property in order to be able to conclude that the type of a + b is int in some cases depending on the type of a and the type of b.

This is not true on any platform that we ship.  On every platform that I'm aware of, int has multiple subtypes.  I'm highly skeptical that our treatment of numbers is incompatible with there being a common implementation type which implements both the int and the double type.  Do you have a counter-example in mind?

@leafpetersen wrote:

On every platform that I'm aware of, int has multiple subtypes

The specified constraint is that
It is a compile-time error for a class to extend, mix in or implement \code{int}.
It is a compile-time error for a class to extend, mix in or implement \code{double}.
It is a compile-time error for any class other than \code{int} and \code{double}
to extend, mix in or implement \code{num}.

Implementations may still have representations that differ (such as SMIs and heap allocated integers), but I believe that there is no way for a Dart program to associate those representations with a proper subtype of int. So they are 'subtypes' in a very special manner that the Dart type system doesn't know about.

I'm highly skeptical that our treatment of numbers is incompatible with there
being a common implementation type which implements both the int and the double type

I think it is compatible, which is the reason why I said 'yes' in response to the question about soundness for numbers.
Let's call that common (very special) type IEEE754number. The ability to give a + b the type int when a and b have the type int in the setting where they are actually both instances of IEEE754number relies on the detailed properties addition with such numbers. So we happen to say that it's an int when it represents a pseudo-real number whose fractional part is zero, and such numbers happen to yield yet another such number when we add them (including the case where the result is +/- infinity).
But type systems cannot capture this property (except perhaps for Coq style dependent types with a detailed description of IEEE 754 addition etc, but anything similar to the Dart type system definitely cannot capture it). So we could replace the IEEE 754 addition by some other computation where 1 plus 1 yields 3.14, and it would then be unsound to give 1 + 1 the type int. The point is that the type system would not have the information needed in order to make that distinction, we are simply promising that the implementation of + which is being used has that property.
That's the reason why I'm saying that we don't have a nice, well-specifiable language design space where we can just say "here are a couple of rules about int and double, and the rest is up to the implementation". But when we limit ourselves to a very carefully selected set of special cases, we can make sure that it works.

I think the overall goals here are:
(a) Explain what Dart programmers can assume about numbers on any platform.
(b) Explain the specific differences between vm and web.
This might not belong in the spec.

I think the overall goals here are:
(a) Explain what Dart programmers can assume about numbers on any platform.
(b) Explain the specific differences between vm and web.
This might not belong in the spec.

I'd be happy to cover it in the language tour or somewhere else on dart.dev, but I need the right simple, helpful words to use. We can always refer to this issue for the full discussion.
Anyone interested in helping me get the words?
Or in creating a PR yourself? (Just click the doc link at the upper right of the appropriate page...)

Anyone interested in helping me get the words?

I can do that. I think it would be helpful to describe native numbers and JS numbers separately, and then the part about what Dart programmers can assume could be extracted from that. I'll get in touch via email.

@kwalrath, @vsmenon, it's been a while—did this issue get subsumed by the 'Numbers in Dart' document?

Yes, pretty much. We plan to publish that article within a month. Then I'll be able to update the docs to summarize and refer to it.

OK, thanks! Then I won't worry about this unless I hear more.

@kwalrath I think this can be closed now.

It indeed can; we now have https://dart.dev/guides/language/numbers


Do not build on macOS anymore

Coverage remained the same at 83.626% when pulling 88ea679034b3757aa4ee963bb6ab14c30dc8471e on no-more-osx into 074d6adca202d42663f6188af889c970996f63b2 on master.


migrate.py :: Forgot to call parse_args() before invoking main()

just called parse_args() to get arguments before calling main()

Thanks @r0psteev.
But the migration script is supposed to be imported in the conversion script, so no need to include parse_args.

Oh, my bad. Thank you.


Css Query Selectors - "nth-of-type"

Hello there
I am using the CssSelector ad-on to your library, but I wondered if you would like to incorporate CSS Selectors into your offical project?
The library doesn't seem to have been worked on since late 2017, so I would feel more confident using something offical from ZZZ,
Anywho, the CSS Selector business seems to work okay, but I have a requirement to use nth-of-type CSS selector.
I have just this minute seen this answer, but it will take me some time to study it and convert my CSS selector to XPath or use a combination of both, I have a CSS selector like this:
SECTION.slide-1 H1:nth-of-type(1)
Thanks,
Luke

Hello @LukeTOBrien ,
Could you try https://www.nuget.org/packages/Fizzler.Systems.HtmlAgilityPack/ instead and see if that's working?
The owner of this library has made several awesome libraries around HAP and is usually is very pro-active when supporting features.
This is usually the library I recommend for CSS Selectors
Best Regards,
Jon

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Thanks - I haven't seen that libiray before.
Turns out that it wasn't that tricky, just get the index in the collection.
HtmlNode element = null;
if (sel.Contains("nth-of-type"))
{
	var splitty = sel.Split(':');
	var elements = rootNode.QuerySelectorAll(splitty[0]);
	var n = int.Parse(Regex.Match(splitty[1], @"(\d)").Value);
	element = elements[n - 1];
}

I am going to reopen this because I have found that my basic workaround did not work for more complex nested selectors and the Fizzler library does not support nth-of-type either and is lacking some methods which I used in the CssSelector

Extension for HtmlDocument
Extension for HtmlNodeCollection

I got the following error:
System.FormatException: Unknown functional pseudo 'nth-of-type'. Only nth-child and nth-last-child are supported.

I think it would be ideal to include an official CSS QuerySelector into HAP, I would feel more confident in code managed by ZZZ Projects

Hello @LukeTOBrien ,
Unfortunately, with the current time we have, that's currently impossible on our side to do such request ;(

This is the solution I came up with, I will close this as it works okay for my purposes:
I am using the package using HtmlAgilityPack.CssSelectors.NetCore;
public static class QuerySelectorExtensions
{
    public static HtmlNode NthOfTypeQuerySelector(this HtmlNode element, string selector)
    {
        if (selector.Contains("nth-of-type"))
        {
            var matches = Regex.Matches(selector, @"([a-zA-Z0-9.-]\s?)+(:nth-of-type\(\d\))");
            for (int i = 0; i<matches.Count;i++)
            {
                var match = matches[i];
                var splitty = match.Value.Split(':');
                    var elements = element.QuerySelectorAll(splitty[0]);
                    var n = int.Parse(Regex.Match(splitty[1], @"(\d)").Value);
                    element = (n - 1 < elements.Count) ? elements[n - 1] : elements[0];
            }
        }
        else
        {
            element = element.QuerySelector(selector);
        }
        return element;
    }
}


Why the busco scores for the annotated example arabidopsis thaliana genome proteins are very low ?

Dear the authors,
Thanks a lot for your valuable and user-friendly software. I have tried the finder programe to annotate the example  arabidopsis thaliana genome, but found the proteins extrated from FINDER_BRAKER_PROT.gtf file only achieved 54% BUSCO scores of embryophyta_odb10. It is very low compared with the genome itself BUSCO scores 99.3% with the same database and means near half of coding genes were not annotated. I do not know why.
The command I used to run finder is as fellows:
finder -no_cleanup -mf Arabidopsis_thaliana_metadata.csv -n 30 -gdir_star $PWD/star_index_without_transcriptome -out_dir $PWD/FINDER_test_ARATH -g $PWD/Arabidopsis_thaliana.TAIR10.dna_sm.toplevel.fa -p $PWD/uniprot_ARATH.fasta -gdir_olego olego_index -preserve 1> $PWD/FINDER_test_ARATH.output 2> $PWD/FINDER_test_ARATH.error
Could you give me some advice to improve the performence of the annotation?
Thanks again for your reading.
Looking forward to your timely respons.
Best,
Bob

Hello @bioinformaticspcj,
Thank you so much for your interest in finder. The reason why you see "poor" models is that the example is meant to ensure that the pipeline runs without any errors. It is not intended to produce usable annotations since the example is far from exhaustive. To obtain a better annotation, please supplement the example with more RNA-Seq samples. That will be your best fighting chance!!
Now that you have mentioned BUSCO, it makes me wonder if we should include that in our next release.
Please let us know if you have any other questions or concerns.
Thank you.

Dear Sagnik Banerjee,
Thanks for your timely response. I found the proteins extracted from the braker.gtf file achieved 97.6% BUSCO score, does that mean finder relies more on transcriptome evidence than braker2 does?
Thanks.
Best,
Bob
------------------ 原始邮件 ------------------
发件人:                                                                                "sagnikbanerjee15/Finder"                                                                                @.>;
发送时间: 2021年12月1日(星期三) 晚上10:42
@.>;
<EMAIL_ADDRESS>主题: Re: [sagnikbanerjee15/Finder] Why the busco scores for the annotated example arabidopsis thaliana genome proteins are very low ?  (Issue #39)
Hello @bioinformaticspcj,
Thank you so much for your interest in finder. The reason why you see "poor" models is that the example is meant to ensure that the pipeline runs without any errors. It is not intended to produce usable annotations since the example is far from exhaustive. To obtain a better annotation, please supplement the example with more RNA-Seq samples. That will be your best fighting chance!!
Now that you have mentioned BUSCO, it makes me wonder if we should include that in our next release.
Please let us know if you have any other questions or concerns.
Thank you.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

Hello @bioinformaticspcj,
Yes finder is designed to give more importance to RNASeq evidence. It will remove those braker predictio s which do not have associated protein evidence. Since the peptode file provided in the example was just a small collection, it removed several of the genes predicted by braker. In the next version we are considering keeping those annotations and reporting them as such.
Please let me know if I can answer any other questions that you may have.
We are planning to release a docker version soon that will eliminate the issues with installation.
Thank you.


Dimension - DIMTIH and DIMTOH problem

Hello there,
I created some linear dimensions with ISO-25 dimension style template, that should have DIMTIH and DIMTOH properties set to ON. But if I open the resulting dxf with AutoCAD or TrueView, those properties are OFF.
Is it a bug or am I missing anything?

I have no issues with that, those values are written correctly.

I have no issues with that, those values are written correctly.


Geolocator ASK EVERY TIME

💬 Questions and Help
I am using one of your plugin geolocator: ^6.2.1. The problem I am facing is that when from the app setting, selecting Ask Every Time option then Geolocator.checkPermission() is giving  LocationPermission.deniedForever. Therefore making my use case invalid for this case.
For questions or help we recommend checking:

@mvanbeusekom Can you please tell me in which file the changes has been done!

@mvanbeusekom I have clone the repo and successfully got the changes related to Android 11 SDK 30, now the ASK EVERY TIME, give locationPermission.denied always and do not show the popup for granting location permission. Event closing and opening the app do not show the location permission popup.


[Package Request]: Oracle JDK 8

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[ ] I have checked that the installer for this package is not contained in a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Oracle
Publisher Url: https://www.oracle.com/java/technologies/downloads/#java8-windows
Package Name: https://github.com/microsoft/winget-pkgs/tree/master/manifests/o/Oracle/JDK under this for 8 also make it available
Description: JDK 8 manifest
Package Version: 8.0.3510.10
Installer URL: https://www.oracle.com/java/technologies/downloads/#java8-windows
Current Package Identifier (for new versions):

Hi @vallismk,
The download is protected behind a login page. Can you provide direct link to the download package ?


[feature] Added Github Action for builds

This pull request includes a github action which will test, build and upload the build if success as nightly build.
Related to:

#9

Waiting on the changes suggested (note : i don't know anything about how this is set up).


Missing features: Magnification, create IO, visualization skip rate, visualization suppression threshold

I couldn't find it in https://github.com/feagi/brain-visualizer/blob/staging/godot_source/Utils/JavaScriptIntegrations.gd

added


Site is not auto reloading if "ng serve" is running.

Hi Sir, Madam,
I'm Durga Abhist and I recently started working with Angular/CLI tool, I'm facing a problem while executing the file, that is when I run "ng serve " command then this command helps us in auto reloading the site when any changes are made in the source file but in my system it is not happening (i.e. site is not auto reloading and when I forcely reload the site then also it is not getting updated as per changes made in the source file).
The site is getting updated only when I terminate the "ng serve" command and again run the same command("ng serve") then only my site is getting updated.
So it becomes hard for me to terminate the server and connect the server, when ever the changes are made, so I request you Sir/Madam help me out in this issue.

Heya, there are a few reports of live reloading not working properly but they are heavily dependent on the system and setup. My advice is to have a look at the existing issue on this topic (https://github.com/angular/angular-cli/issues/1610), perhaps some of the fixes suggested there apply to your case.

Restarting my system helped in fixing the issue.

PS. Doesn't seem like it's related to auto reloading because you say

when I forcely reload the site then also it is not getting update

I just had the same problem:

I am using a ASPNET Core application with a development proxy to pass through to port 4200
I noticed that when accessing 4200 directly in the browser then the reloading logic worked just fine
So I assumed it was something in the proxy caching it, but restarting the ASPNET Core server did nothing
Then I remembered I'd been playing with benchmarking and using --aot command which builds into the dist folder
I deleted the contents of ClientBin\dist and re-ran my npm start command (which runs ng serve) and then everything was back to normal again :-)

So it may be as simple as delete ClientBin\dist


Azure Security Center - add ATP tests, partial Settings tests

Description

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] Please add REST spec PR link to the SDK PR
[x] I have read the contribution guidelines.
[x] The pull request does not introduce breaking changes.

General Guidelines

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[x] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[x] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[x] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@eliagrady please link the REST spec PR

Spec PR Link

@dsgouda thanks, I've applied the requested changes


.dawclip format

basically an an additional, stripped-down version of dawproject. It would contain only the part of dawproject elements/attributes relevant for storing/loading a single clip or scene of clips. So it is basically equivalent to .bwclip/.bwscene files which, besides clip data (audio events, note events, automation, stretch markers, ...) contain additional information (such as metadata, devices, track properties, routing,...)
In Bitwig but also other daws a .dawclip file could then be dropped into a free clip launcher slot or into the arrangement.
As .dawclip could be a subset of .dawproject, it could use the same source files.

This is a good idea, and reminds me of when Renoise switched to xml documents for a lot if its data - this idea that subdocuments of a whole project can be useful on their own is incredibly powerful. Another innovation they had (have?) is that the clipboard formats were also xml, we did a lot of generative composition by writing software that put interesting data on the clipboard which could be pasted directly into the running application. It felt very 21st century, and I'd love to see this project evolve in that direction.

Sounds like midi files.


Add rails_db gem to have ability exec SQL query only on read

Provide the ability to execute SQL queries to access the database from the admin panel

Ability to execute requests only for Administrator
All queries are read-only
Use gem https://github.com/igorkasyanchuk/rails_db
Keep the default page and routing provided by gem
Add a link to the rails_db page from the admin panel

Rails_db is added and tested by QC


Add a mutex lock to protect CNode::nRefCount

This should fix #169 - partial backport of https://github.com/dashpay/dash/pull/1321
On Linux this crash happens as well, error message
zcoind: net.h:485: int CNode::GetRefCount(): Assertion `nRefCount >= 0' failed.

stack trace looks like this
Program terminated with signal SIGABRT, Aborted.
#0  0x00007f7f50156c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56    ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007f7f50156c37 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007f7f5015a028 in __GI_abort () at abort.c:89
#2  0x00007f7f5014fbf6 in __assert_fail_base (fmt=0x7f7f502a4058 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x5618cc0467a3 "nRefCount >= 0", file=file@entry=0x5618cc04679d "net.h",
    line=line@entry=485, function=function@entry=0x5618cc050bd0 "int CNode::GetRefCount()") at assert.c:92
#3  0x00007f7f5014fca2 in __GI___assert_fail (assertion=0x5618cc0467a3 "nRefCount >= 0", file=0x5618cc04679d "net.h", line=485, function=0x5618cc050bd0 "int CNode::GetRefCount()") at assert.c:101

Fixed by https://github.com/zcoinofficial/zcoin/commit/31c7e64ca0f1136ffa0e7ff1867302b55e5c2567


1-click buy

on each album and track page users will see a number box and a + symbol (perhaps a shopping cart symbol with a + symbol). The number box will be filled in with the minimum price of the item. The currency will be beside this number box in some way.
when the user clicks on the + symbol it takes the price in the box, validates it (it must be at least the minimum amount), and adds the item to the cart. The tab is then reloaded automatically to provide users with the visual update of the cart (unless another way can be found to trigger the cart to show the change). Users are able to set a value in the number box if they want to pay more.
additionally -- for BuyMusic.club -- the '+' and price box is next to each track on the page. The same functionality is there but instead of reloading the page, it will open bandcamp to the url of the music in a separate tab in order to show the user the cart. This separate tab will be opened in the background. If a bandcamp tab already exists it will reload it instead of opening a new one

@emcniece you'll probably notice from the description here that I mention Album and Track pages. I decided to just tackle having tracks in the tracklist for Albums. Perhaps later I will add buttons for adding the full album to the cart and tracks on individual track pages.

here is a screenshot of what it looks like

found something I've gotta fix -- some prices have lots of extra digits. I think I will just round up to 2 significant digits. BUT could be an issue still with currencies that are very small (Japanese yen for example is like 1000 yen to 1 dollar~, so prices will be minimum 4 digits and potentially more...

closed with 956de3b92c8fe44a464206be73a88e0fca4a30d9


Table right click

fix for #275
I'm worried I might have cross linked some stuff, so I want to see if this built. I also need to make sure my testing strategy was correct.

#296 should be merged before merging this PR.


Unable to remove empty comment

When changing the text that is highlighted by a comment, occasionally the comment will become empty. In that case, the user is unable to delete the blank comment. Though that is only a minor inconvenience, the bigger problem is that a significant portion of the text that follows the former comment is then highlighted.

I am also running into the blank comment problem. We are trying to use Classeur collaboratively, and being unable to remove empty comments is hindering our review process and causing a lot of confusion.

That's priority 1 for the next release.

Should be fixed with version 1.2.2.


GpsquickFix for TomTom bandit camera

I love the ttwatch app for updating my tomtom watch. Especially the GPSQuickfix. I use Studio Blue Planet software. Is it possible to write a GpsQuickfix possibility for the Tomtom Bandit Camera as well?

How can we update the url used to download the gps quifix ?


Automated cherry pick of #4123: guestnetworks: check ifname uniqueness across different networks

Cherry pick of #4123 on release/2.13.
#4123: guestnetworks: check ifname uniqueness across different networks

/lgtm
/approve


Lack of thirst

Long ago, I had %thirst% on my board. I just tried to add it again, but thirst reports the value -1 (after server reboot, since /sidebar reload does not always do the needful wrt changes in the variables list). My config.yml seems straightforward, but no joy. Spigot 1.11.2 and SS 0.10.1:

compatibilityMode: false
disabled-worlds-whitelist: true
disabled-worlds:
 - world
Scoreboard:
  Title: '&8BlackDog Bonus'
  Update-delay: 2
  Items:
    '&8points': '%money%'
    '&8thirst': '%thirst%'

Any ideas why that doesn't work?

Six more reboots, and it (magically) works. The file looks the same to me, although I cannot guarantee. :(

A few more reboots, and I'm back to -1. No changes to configuration. :(

Through all of this, %money% has tracked consistently correctly. Any ideas?

Is there any way to debug this on my test server?

Is there anybody home?

My suspicion is that, when it fails, ScoreboardStats is looking for variables before Thirst is loaded, so the latter cannot be found. Is that possible?

Please make Thirst a soft dependency.

If this is still relevant. This is something the author should fix.


Module tooltip may show the epoch date

We've encountered a case where the tooltip shows a module having been installed on 1970/01/01 in the module list. Apparently, the module files had been downloaded but the module wasn't loaded into the IntelliJ (or it was removed afterwards without deleting the files). Furthermore, a-plus-project.json was, apparently, somehow not in the expected state (due to some anomaly during the downloading process).
While it is unclear what lead to this state, what we could fix is that in the case where files are there but the module is not loaded, the tooltip would show appropriate info. Double-clicking the module in the modules list would probably fix the issue, but the user don't know that if the tooltip is wrong.

Related: rename a module and remove it (do not delete files); still shows installed, can't re-install.

Related: #1052