[unittest] remove unittest_nntrainer_layers

Commit1:    [unittest] migrate unittest from unittest_nntrainer_layers to unittest_layers
 - Migrate unittest for test negative property from unittest_nntrainer_layer to
   unittest_layers
 - Added LayerPropertySemantics which is inherited from LayerSemantics
   to test negative property only

Signed-off-by: hyeonseok lee<EMAIL_ADDRESS>
Commit2:     [unittest] remove unittest_nntrainer_layers
 - Remove unittest_nntrainer_layers.cpp cause this test have been disable.
 - Rename unittest_layers_v2 to unittest

Close #2002

Signed-off-by: hyeonseok lee<EMAIL_ADDRESS>
Commit3:     [unittest] refine unittest
 - Use epsilon to compare float variable
 - Use unused enum LayerCreateSetPropertyOptions
 - fix typos

Signed-off-by: hyeonseok lee<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #2007. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ci.nnstreamer.ai/.

:octocat: cibot: @lhs8928, The last line of a text file must have a newline character. Please append a new line at the end of the line in test/unittest/layers/unittest_layers_preprocess_flip.cpp.

:octocat: cibot: @lhs8928, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2007-202209271339580.85619497299194-d171aad8e23fe2c97c3f39446af64df7cd65f7d0/.

:octocat: cibot: @lhs8928, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2007-202209271432070.38630390167236-57f76a76528840482e9ea79672a77c928d286a0c/.

:octocat: cibot: @lhs8928, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ci.nnstreamer.ai/nntrainer/ci/repo-workers/pr-checker/2007-202210181338020.881756067276-57f76a76528840482e9ea79672a77c928d286a0c/.


⚠ Bofrost.at has degraded performance

In 7de7db8, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2498 ms

Resolved: Bofrost.at performance has improved in c343477 after 14 minutes.


After the access was restricted, all apps were stopped :(

I defined a superuser that did not exist, and after i pushed the push was rejected.
All running dokku apps were stopped and I had to restart manually.
Did that happen to anybody else?

@dmr, I am no longer involved in dokku so I transfered the plugin to the dokku community. I hope it will find a new maintainer there and your problem gets resolved

@dmr What are the exact reproduction steps for this?

I'm still not sure how to reproduce. Let's close this until it happens again


Mournings End Part 2 Upgrade

Applies textures and defines lighting for the Temple of Light and surrounding area.
Key Features:

Light beams give off correct colored light
Materials applied to most objects; those objects without materials were left out for lack of "mixed material" uv support.

This looks too nice to reject, but it's really pushing the light limit, since this is placing a light on every tile with a light beam on it. I'm not sure how we should solve this though. Either way, I won't let that hold this back, since this works alright.


TimeoutError: [WinError 10060]

Hello! I use this program in the background with a record in the database. In the middle of the night, the program shuts down with the following error. There are no problems with the Internet connection, I checked it on several Internet sources. I don't use a proxy. What could be the problem?
ERROR:
Traceback (most recent call last):
File "C:\Users\Yakov\PycharmProjects\TrVw\venv\lib\site-packages\urllib3\connection.py", line 174, in _new_conn
conn = connection.create_connection(
File "C:\Users\Yakov\PycharmProjects\TrVw\venv\lib\site-packages\urllib3\util\connection.py", line 95, in create_connection
raise err
File "C:\Users\Yakov\PycharmProjects\TrVw\venv\lib\site-packages\urllib3\util\connection.py", line 85, in create_connection
sock.connect(sa)
TimeoutError: [WinError 10060] An attempt to establish a connection was unsuccessful. from another required time, the required response was not received, or an already established connection was terminated due to an incorrect response of an already connected computer

Hi @MelanRain,
The error was not caused by tradingview-ta, but your program wasn't able to communicate with the database. Even if your internet connection is fine, the database might be down during that moment. I'd suggest that you use try-except to retry connecting to the database.
I'm going to close this issue as this is unrelated to tradingview-ta. Don't hesitate to reply if you have questions related to tradingview-ta. Have a nice day.

Why is urllib3\connection.py listed in this error


Completion for k alias

What this PR does / why we need it:
This PR adds completion for k alias
Which issue(s) this PR fixes:
Fixes #66
Special notes for your reviewer:
Release note:

Fixed completion for `k` alias (kubectl)

/needs rebase


How to continue download after the application is closed?

When using URLSession download Files,if users closed the application. How can I continue download files after users turn on the application again?

Hi Sariel,
Github is meant for reporting issues and features requests. For support, please direct your questions to StackOverflow!
Cheers,
Kevin


Depth sorting for foreign objects

Is it possible to make depth sorting apply to added 3b objects? For example debug meshes in demo are rendered even when occluded by terrain

Something like that might technically be possible, but not without a significant amount of effort :) The splats are technically part of a single mesh so they are rendered in a single draw call. They are ordered only relative to each other and not to other objects in the scene.

It seems this Unity viewer can do depth sorting, if helps at all as reference: https://github.com/aras-p/UnityGaussianSplatting

In reality you should be able to update the shader for the splat buffer to output proper depth values, something like changing  gl_Position = vec4(projectedCovariance, 0.0, 1.0); to  gl_Position = vec4(projectedCovariance, pos2d.z/pos2d.w, 1.0) You would also have to update the splat shader to use the Three.js camera projection matrix instead of the custom one it currently uses so that it matches with other objects in the scene.
However there still seems to be an issue preventing this from working and I can't figure it out. It seems that the blending mode mode I'm using for the splat material THREE.CustomBlending makes the depth buffer not work at all. When I change it to THREE.NormalBlending, then other objects in the scene get occluded by the splat mesh. But then the splat mesh doesn't look right at all.

So I realize now that the issue has to do with the specific way the renderer composites the splats: Each time a splat is rendered, each pixel's contribution to the scene is weighted by subtracting the value of the alpha channel in the existing pixel in the color buffer. Since opaque debug objects in my viewer are rendered with an alpha of 1.0, nothing can be rendered over them with that compositing strategy.

FWIW I figured out a way to utilize off-screen render targets to allow "normal" three.js objects to be included. I added a new parameter to the Viewer class so that you can pass in a custom scene to be rendered:
const scene = new THREE.Scene();

const boxColor = 0xBBBBBB;
const boxGeometry = new THREE.BoxGeometry(2, 2, 2);
const boxMesh = new THREE.Mesh(boxGeometry, new THREE.MeshBasicMaterial({'color': boxColor}));
scene.add(boxMesh);
boxMesh.position.set(3, 2, 2);

const viewer = new GaussianSplat3D.Viewer(null, cameraUp, initialCameraPos, initialCameraLookAt, scene);


missing field_class_to_schema

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
I used field_class_to_schema to create a lookup table based on type & format in pydanticv1.
https://github.com/pydantic/pydantic/blob/d3cd6c39b4ee617116ff7bb7aab58dcd832d8401/pydantic/schema.py#L775-L777
This is used to dynamically create pydantic models from OpenAPI description documents, create the attribute types based on the properties definitions.
https://github.com/commonism/aiopenapi3/blob/990438c1d80ba6e6c3d061cd88f9204be6e1cafa/aiopenapi3/model.py#L29-L52
Please hint me how to get such index data or behaviour with pydantic_core/pydanticv2.
Example Code
No response
Python, Pydantic & OS Version
pydantic version: 2.0a1
                 install path: ~/venv/openapi3/lib/python3.10/site-packages/pydantic
               python version: 3.10.6 (main, Mar 10 2023, 10:55:28) [GCC 11.3.0]
                     platform: Linux-5.19.0-35-generic-x86_64-with-glibc2.35
     optional deps. installed: ['email-validator', 'typing-extensions']

Great, thanks.


Support<EMAIL_ADDRESS>

Thanks for the awesome library. Kindly requesting support for<EMAIL_ADDRESS>

Thanks for the awesome library. Kindly requesting support for<EMAIL_ADDRESS>
I bump all dependencies and publish new versions.
And for<EMAIL_ADDRESS>you can try<EMAIL_ADDRESS>😊

Thanks so much! Confirmed that it's working w/ my project.


Windows Server 2016 host cannot join fleet

Hi there :)
I'm currently trying to connect a Windows host to my fleet instance.
What version of fleet are you using (fleet version --full)?
# docker exec kolide_fleet_1 fleet version --full
fleet - version 1.0.7
  branch: 	master
  revision: 	bb6f3af1906e4315af359407d38cb755e6d5a8e7
  build date: 	2018-04-16T21:05:29Z
  build user: 	victor
  go version: 	go1.10.1

What operating system are you using?
Fleet is running in Docker on Debian 8
The hosts in question is a Windows Server 2016, freshly installed for testing this issue.
What did you do?
I tried to add a Windows Server to fleet.
What did you expect to see?
The host in the hosts list.
What did you see instead?
A green host titled "incoming host" with a progress spinner and a lot of console errors.
The output of the fleet docker container looks like this:
fleet_1    | ts=2018-08-01T16:57:50.378779069Z component=service method=AuthenticateHost ip_addr=172.x.x.x:60786 err=null took=3.360964ms
fleet_1    | ts=2018-08-01T16:57:50.381376685Z component=service method=GetDistributedQueries ip_addr=172.x.x.x:60786 err=null took=2.028879ms
fleet_1    | ts=2018-08-01T16:57:50.381966735Z method=RequestQueries uuid=d825fe96-3006-43d5-9393-328016aa8205 res="{\"queries\":{}}" reauth=false err=null took=6.605437ms
fleet_1    | ts=2018-08-01T16:57:51.241502257Z component=service method=User user=MyUser err=null took=713.481?s
fleet_1    | ts=2018-08-01T16:57:51.24665176Z component=service method=ListHosts err=null took=4.326636ms
fleet_1    | ts=2018-08-01T16:57:51.250259484Z component=service method=User user=MyUser err=null took=667.06?s
fleet_1    | ts=2018-08-01T16:57:51.251697208Z component=service method=GetHostSummary err=null took=797.814?s
fleet_1    | ts=2018-08-01T16:57:51.254911991Z component=service method=User user=MyUser err=null took=685.908?s
fleet_1    | ts=2018-08-01T16:57:51.255999028Z component=service method=ListLabels err=null took=478.405?s
fleet_1    | ts=2018-08-01T16:57:51.547557547Z component=service method=AuthenticateHost ip_addr=192.x.x.x:52960 err=null took=4.185882ms
fleet_1    | ts=2018-08-01T16:57:51.550292031Z component=service method=GetDistributedQueries ip_addr=192.x.x.x:52960 err=null took=2.097764ms
fleet_1    | ts=2018-08-01T16:57:52.921017359Z component=http err="json: cannot unmarshal number into Go struct field distributedQueryResultsShim.statuses of type string"
fleet_1    | ts=2018-08-01T16:57:56.239893627Z component=service method=User user=MyUser err=null took=843.708?s
fleet_1    | ts=2018-08-01T16:57:56.242781356Z component=service method=User user=MyUser err=null took=691.183?s
fleet_1    | ts=2018-08-01T16:57:56.243950384Z component=service method=ListLabels err=null took=525.416?s
fleet_1    | ts=2018-08-01T16:57:56.245947629Z component=service method=User user=MyUser err=null took=665.749?s
fleet_1    | ts=2018-08-01T16:57:56.247439391Z component=service method=GetHostSummary err=null took=853.745?s
fleet_1    | ts=2018-08-01T16:57:56.249269601Z component=service method=ListHosts err=null took=8.566559ms
fleet_1    | ts=2018-08-01T16:57:57.501502264Z component=service method=AuthenticateHost ip_addr=<IP_ADDRESS>:52961 err=null took=4.350179ms
fleet_1    | ts=2018-08-01T16:57:57.502487217Z component=service method=SubmitStatusLogs ip_addr=<IP_ADDRESS>:52961 err=null took=95.17?s
fleet_1    | ts=2018-08-01T16:57:57.972183382Z component=service method=AuthenticateHost ip_addr=<IP_ADDRESS>:52960 err=null took=4.738577ms
fleet_1    | ts=2018-08-01T16:57:57.975363708Z component=service method=GetDistributedQueries ip_addr=<IP_ADDRESS>:52960 err=null took=2.343786ms
fleet_1    | ts=2018-08-01T16:57:59.343601753Z component=http err="json: cannot unmarshal number into Go struct field distributedQueryResultsShim.statuses of type string"

The command I ran on the Windows server was
PS C:\ProgramData\osquery> .\osqueryd\osqueryd.exe  --enroll_secret_path="C:\Users\Administrator\Desktop\secret.txt" --tls_hostname=<IP_ADDRESS>:4040 --host_identifier=hexcode --enroll_tls_endpoint=/api/v1/osquery/enroll --config_plugin=tls --config_tls_endpoint=/api/v1/osquery/config --config_tls_refresh=10 --disable_distributed=false --distributed_plugin=tls --distributed_interval=10 --distributed_tls_max_attempts=3 --distributed_tls_ead_endpoint=/api/v1/osquery/distributed/read --distributed_tls_write_endpoint=/api/v1/osquery/distributed/write --logger_plugin=tls --logger_tls_endpoint=/api/v1/osquery/log --logger_tls_period=10 --tls_server_certs "C:\Users\Administrator\Desktop\server.crt" --tls_dump --verbose > osq.log

osq.log is attached.
osq.log
The only thing noteworthy about the configuration is that the Windows machine is a qemu VM and only has access to the fleet server via tunnel, but it can definitely access the fleet host and another Windows Server 2016 on the same network produces the same output.
I tried several different osquery parameters (i.e. changing --host-identifier to uuid) and updating the fleet host, but I'm not very experienced with osquery and nothing seems to work so far.  Do you have any idea?

You are using a very old version of Fleet (that lacks compatibility with newer versions of osquery). Please upgrade and I think you will find the issue is fixed.

Today I upgraded to the newest Docker image and the hosts registered without a problem. Thanks a lot!


Opti: make new() a const fn

Since the event-listener constructor is a const fn, all constructors of this repository can be too :)

Published a new version.


3.0: Add Compute Fleet launch template resources and other refactoring

Add compute fleet Launch template resources
Model

Added instance_type info and instance type related methods to BaseComputeResource
Added get_custom_action to SlurmQueue to retrieve pre/post install scripts

Stack generator

Defined _get_block_device_mappings utility method to build device mapping for head node and queues.
A root volume will be created for each Launch template if not defined in the config and added to the block_device_mappings.
Created _get_custom_tags method and used it to add in the template custom tags from the users (they were missing in the head node too).
Created _create_hash_suffix to generate random strings to be used as suffix for queue resources.
Defined a generic _condition_disable_hyperthreading_manually that can check the setting for both head_node and compute_resource
Added compute_node/user_data.sh file.

Tests

Small improvements to dummy_model

Associate public ip to head node according to config param
I removed the default from the config because the cases are the following:

assign_public_ip == true => set associate_public_ip_address to true in the LaunchTemplate
assign_public_ip ==  false => set associate_public_ip_address to false in the LaunchTemplate
unset => we don't set associate_public_ip_address e use the default from the subnet

Add missing info in the dna.json
We're storing in the _storage_resource_options different values according to the
different storage type.

EBS: List of mount_dirs that were previously mapped in the SharedDir param
RAID: List of raid and volume info
EFS: all storage info (but only a subset of them are really required by cookbook)
FSX: all storage info (but only a subset of them are really required by cookbook)

Other changes

Define ComputeType enum and use it for validation …
Reorder Launch template attributes and tags.
Moved the user_data as latest attribute.
Restored extra.json file.
Append tags in the original configuration. We need them available in the config to be added to all the resources.

LGTM


Fails to find crate dependencies

Hey!
I'm really new to Nix(OS), so this might be an easy/common problem. I've created the following shell.nix file:
(import <nixpkgs> {
  overlays = [ (import (builtins.fetchTarball "https://github.com/oxalica/rust-overlay/archive/master.tar.gz")) ];
}).callPackage (
{ pkgs, mkShell, rust-bin, pkgsBuildBuild }:
mkShell {
  nativeBuildInputs = [
    (rust-bin.stable.latest.default.override {
      extensions = [ "rust-src" ];
    })

    # Utility CLIs
    pkgs.cargo-edit
    pkgs.cargo-expand
  ];

  RUST_SRC_PATH = "${pkgs.rust.packages.stable.rustPlatform.rustLibSrc}";
}) {}

But once I create a nix-shell, I can't compile my project. It doesn't find the dependencies that I specify inside of Cargo.toml. As soon as I remove them, everything works fine and compiles. Any idea what is going on?

But once I create a nix-shell, I can't compile my project.

Please provide what command you've typed, their output error message, and what modification you've done to fix the error.
It's better to also put the link to your project (or the minimal code which cause the issue) if it's open source.


add containerization option for use and execution

Add Dockerized build and demonstration of how this can be used easily on a docker-compose

Thanks for the contribution Nick!


added non-breaking changes to the WL API comment

Should we add the API icon (to display with the UI icon) on the improvements post and link to the WL API docs as well?
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @lweinig,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


glib-macros: generate "From for Value" on ValueDelegate

This allows Ident (not only &Ident) to be allowed on functions that take in Into<Value>.

I added some more test cases on nullable. I'm also sorry for staling your review again


NLP

http://universaldependencies.org

Why don't you send a PR?

done https://github.com/caesar0301/awesome-public-datasets/pull/233


Revert "Move Notebook tests back to stable"

These tests have failed on a few PR builds - we might have to mark them as unstable?
https://mssqltools.visualstudio.com/CrossPlatBuildScripts/_build/results?buildId=42195&view=results

Huh...that's odd. They were passing fine in the unstable runs from what I could see. Although I would say we only need to disable the multiple cells test - or are you seeing the other one fail too?

Ill do some digging to see if there's an obvious reason for the failure. And yeah it's only that one specific one so I'll update this PR.

This is so weird. I can help take a look tomorrow if nothing super obvious is found.

https://github.com/microsoft/azuredatastudio/blob/master/extensions/integration-tests/src/notebook.test.ts#L171
So its the second .data[] call there causing issues. I'll actually update the test a bit instead of disabling them...

Before we disable anything:
https://github.com/microsoft/azuredatastudio/pull/7759

@ellbosch This disables the test that has failed a couple of times. Feel free to merge it if you think its the right action.


Move FreeMarker Configuration to static

Move FreeMarker Configuration to static to avoid multiple instance creation by concrete AbstractGenerator subclasses.
FreeMarker's documentation states Configuration should be a singleton for the whole application and shared across threads (objects derived from Configuration are thread-safe). There remain sporadic compilation failures caused by what appears to be multiple attempts to access configuration files from multiple invocation (instantiation?) of Configuration static initializer block.
I've also ensured we construct an instance of Construction for the most recent version of FreeMarker (and hence, based on their JavaDoc, should contain the most bug fixes). The old approach instantiated an instance compatible with 2.3.0 (not 2.3.25).
Local compilation works fine.. only one real way to see if this fixes any of our parallel build problems.....

@psiroky @mbiarnes @ederign Thoughts and opinions welcome :-)

Can one of the admins verify this PR? Comment with 'ok to test' to start the build.


update to ember 3.4 and ember-cli-babel 7.0.0

Is this going to be merged?

Will this get merged?


New Connection in locust

Description of issue / feature request
Currently we have a requirement where we have to test an external VIP on https end-point.
We would like to create new connections and test the rate at which it can sustain.

I am able to generate 100,000 RPS on the servers with 30000 ( hatch rate - 10 K ) 1000 locust bots. But the number of connection rate on the external vip is still 10,000 RPS.

Currently using HttpLocust class .  ( Tried with FastHttpLocust as well )
Can any one share knowledge on the sessions that locust bot is creating.

@sj2208
I have no idea what "share knowledge on the sessions that locust bot is creating" means or what you are asking.  Can you clarify?
I'm closing this issue, but will re-open if something actionable is provided.


Error undefined reference to `__aeabi_uldivmod' when build Zephyr for nrf52_pca10040 board

Describe the bug
I try to build zephyr-zephyr-v1.9.2 with zephyr sdk and I meet a issue
AR      libzephyr.a
AR      libapplication.a
LINK    zephyr.lnk
/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: drivers/built-in.o: in function gpio_nrf5_config': /home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/drivers/gpio/gpio_nrf5.c:218: undefined reference to __popcountsi2'
/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: subsys/built-in.o: in function isr_rx_adv': /home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1112: undefined reference to __aeabi_uldivmod'
/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: /home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1162: undefined reference to __aeabi_uldivmod' /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: /home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1163: undefined reference to __aeabi_uldivmod'
/opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: /home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1161: undefined reference to __aeabi_uldivmod' /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: subsys/built-in.o: in function isr_rx_scan':
/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1338: undefined reference to __aeabi_uldivmod' /opt/zephyr-sdk/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/../../../../arm-zephyr-eabi/bin/ld: subsys/built-in.o:/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/subsys/bluetooth/controller/ll_sw/ctrl.c:1608: more undefined references to __aeabi_uldivmod' follow
collect2: error: ld returned 1 exit status
/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/Makefile:878: recipe for target 'zephyr_prebuilt.elf' failed
make[2]: *** [zephyr_prebuilt.elf] Error 1
make[2]: Leaving directory '/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/samples/hello_world/outdir/nrf52_pca10040'
Makefile:178: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
make[1]: Leaving directory '/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig'
/home/thientran/IoT/IoTivity/iot_newpart/zephyr_project/zephyr-zephyr-v1.9.2_orig/Makefile.inc:82: recipe for target 'all' failed
make: *** [all] Error 2
Have you ever seen this issue and how to fix it?Please help me. Thank a lot
To Reproduce
Steps to reproduce the behavior:

cd sample/hello_world
make BOARD=nrf52_pca10040 CROSS_COMPILE=arm-zephyr-eabi-
See error

Expected behavior
I want to build a simple zephyr example for nrf52 chipset
Screenshots or console output
Above
Environment (please complete the following information):

OS: Ubuntu
Version zephyr-v1.9.2
Toolchain Zephyr SDK install in /opt/zephyr-sdk/

Additional context
Add any other context about the problem here.

I believe this is due to the use of CROSS_COMPILE, can you confirm this by retrying with ZEPHYR_TOOLCHAIN_VARIANT=gnuarmemb instead of CROSS_COMPILE?
See https://docs.zephyrproject.org/latest/getting_started/toolchain_3rd_party_x_compilers.html#gnu-arm-embedded for how to do this.

zephyr-v1.9.2

This is an old, unsupported version of Zephyr.

@andrewboie I am porting IoTivity to Zephyr+NRF52. The Iotivity requires makefile but the lastest version of Zephyr is just support Cmake. Then I found Zephyr 1.9.2 is lastest version that support makefile.
@SebastianBoe I changed the toolchain to third-party arm-none-eabi-gcc that download from here and the error disappeared.
Thank your support so much.
But the problem seem at Zephyr toochain, is right?

I'm not sure where the root cause is. I am no longer familiar with how 1.9.2 works.

I was looking in iotivity-lite/port/zephyr/outdir/nrf52_pca10040/zephyr.map and found these lines
.data          0x00000000        0x0 /opt/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7e-m/libgcc.a(_aeabi_uldivmod.o)
.bss           0x00000000        0x0 /opt/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/armv7e-m/libgcc.a(_aeabi_uldivmod.o)
It mean that the __aeabi_uldivmod function implement in the libgcc.a library. I think that the Makefile have to add -lgcc explicitly.

It could be, but this is not supported, so it would have to be maintained by the user.


Fish feature install completes successfully even if fish install fails

I built a dev container using the fish feature from this repository. However, once the container started up fish wasn't actually installed.
After some searching I finally found the logs from Docker Desktop about what had happened during the fish feature installation and the output is attached below.
It's evident that the feature reported successful installation even thought apt failed to install fish due to some likely transient error. In my opinion, the feature install should have failed and I could then have retried.
Now this unsuccessful feature install is cached by Docker as a layer and rebuilding ends up reusing that layer.
Would it perhaps be enough to use set -e in the install.sh script to avoid this?
Log output:
===========================================================================
Feature : fish
Description : Installs fish shell and Fisher plugin manager (optionally)
Id : ghcr.io/meaningful-ooo/devcontainer-features/fish
Version : 1.2.1
Documentation : https://github.com/meaningful-ooo/devcontainer-features/tree/main/src/fish
Options :
FISHER="false"
===========================================================================
Installing fish shell...
deb http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/ /
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
Get:4 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 InRelease [1556 B]
Get:2 https://apt.llvm.org/bookworm llvm-toolchain-bookworm-18 InRelease [6836 B]
Get:6 http://deb.debian.org/debian bookworm/main amd64 Packages [8787 kB]
Get:7 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 Packages [1843 B]
Get:8 https://apt.llvm.org/bookworm llvm-toolchain-bookworm-18/main amd64 Packages [20.6 kB]
Get:9 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [12.7 kB]
Get:10 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [137 kB]
Fetched 9219 kB in 4s (2102 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following package was automatically installed and is no longer required:
liblldb-14
Use 'apt autoremove' to remove it.
Suggested packages:
xdg-utils
Recommended packages:
xsel
The following NEW packages will be installed:
fish
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 2558 kB of archives.
After this operation, 18.4 MB of additional disk space will be used.
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Ign:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
Err:1 http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12 fish 3.7.0-1
500 Internal Server Error [IP: <IP_ADDRESS> 80]
E: Failed to fetch http://download.opensuse.org/repositories/shells:/fish:/release:/3/Debian_12/amd64/fish_3.7.0-1_amd64.deb 500 Internal Server Error [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
./install.sh: line 109: fish: command not found
Done!

Thanks for reporting this. I agree with that it needs set -e.
Could you make a PR for fix this?

I can make a PR to fix this.


multi-tenant-proxy: enforce write orgid according to the user

Now that logging-operator configures the user/orgid for each cluster, we can set multi-tenant-proxy to enforce orgid based on authenticated user.

Can't test on gauss, observability-bundle app looks broken:
Upgrade "observability-bundle" failed:
  cannot patch "prometheus-agent" with kind App:
    admission webhook "apps.app-admission-controller.giantswarm.io" denied the request:
    psp removal error:
    could not find a Cluster CR matching "gauss" among 0 CRs
  && cannot patch "prometheus-operator-app" with kind App:
    admission webhook "apps.app-admission-controller.giantswarm.io" denied the request:
    psp removal error:
    could not find a Cluster CR matching "gauss" among 0 CRs
  && cannot patch "prometheus-operator-crd" with kind App:
    admission webhook "apps.app-admission-controller.giantswarm.io" denied the request:
    psp removal error:
    could not find a Cluster CR matching "gauss" among 0 CRs
  && cannot patch "promtail-app" with kind App:
    admission webhook "apps.app-admission-controller.giantswarm.io" denied the request:
    psp removal error:
    could not find a Cluster CR matching "gauss" among 0 CRs

Tested after rolling back app-admission-controller to 0.20.0, works.


Deleting the last entry is automatically opening the config dialog

Describe the bug
Don't know if this happens to everybody, but at least to me anytime I click the trash icon to delete the last entry, I end up to open the config dialog because the entry disappear soon and the click event is finished on the config icon.
Don't know if this a GTK bug, anyway could something be done to prevent this behavior?
How To Reproduce
Just click on the last entry.

Hmmm, can't repro unfortunately. Are you maybe on Gnome 40? I'm on Gnome 41 so maybe there's a bug that got fixed there.

Gnome 42, so I think you will encounter the same issue when upgrade.

Ok, thanks.

I can't reproduce on Gnome 42 (Arch) either.

I suppose you have a desktop PC with a mouse. It's happening to me with a touchpad on a laptop.

Seeing this on fedora Silverblue 36 Beta.
The issue isn't just restricted to the last item in the list. Deleting items within the list can trigger it. I get the impression that selecting an item for deletion causes multiple click events. In some cases the second event brings up the Settings dialog.

Ok, I'm pretty sure I figured out what's going on.  This is really easy to reproduce with favorites: click down on the favorite icon, then while still holding the click move the mouse to some other clickable element and it will think you clicked when the mouse button is released.

Ah dang it, my fault. Apparently should be using clicked instead of button pressed.

Though interestingly enough, this is still an issue with the popup menu widgets which only have the activate signal. For example, you can click on settings and drag your mouse around to an entry to click it.
If anyone wants to file an issue with gnome, that'd be much appreciated.


Fix tests not restoring system properties

Some tests were changing system properties, but were not reverting their changes. This pull request tries to address this issue.
In some cases there were System.setProperty(Constants.LOG4J_CONTEXT_SELECTOR, Strings.EMPTY); calls without that system property being set explicitly. I have removed them (and replaced them with the correct property names, if any) because I assumed that they were copy and paste errors.
This pull request also changes some usage of System.setProperty(..., Strings.EMPTY) to System.clearProperty(...).
Maybe in the future it would be good to use extensions such as JUnit Pioneer (JUnit 5) which support setting and restoring system properties, since manually doing it is rather error-prone.

The test failures seem to be unrelated to these changes; they are also occurring for master, e.g. here.

Isn't there a mechanism we can hook into to take a snapshot of existing properties before and restoring them after a test method?

Isn't there a mechanism we can hook into to take a snapshot of existing properties before and restoring them after a test method?

Yes, there's an app for that ;-) https://junit-pioneer.org/docs/system-properties/

The issue is that currently some tests are still using JUnit 4. For that there is the System Rules project, but I did not want to add two separate extensions / rules without knowing what the migration plans are.

The issue is that currently some tests are still using JUnit 4. For that there is the System Rules project, but I did not want to add two separate extensions / rules without knowing what the migration plans are.

I seems that should move everything to JUnit 5 first.

Yes, there's an app for that ;-) https://junit-pioneer.org/docs/system-properties/

The reason I did not mention about system-properties of JUnit Pioneer is that it operates on an input list of properties, whereas I want to restore all properties back to their original values. I think the former approach is more error-prone and there is no way to tell if a property was leaked.

The issue is that currently some tests are still using JUnit 4. For that there is the System Rules project, but I did not want to add two separate extensions / rules without knowing what the migration plans are.

As @garydgregory noted, all tests need to be migrated to JUnit 5. Given this, maybe we can leverage system-stubs?

Each test class in core runs in an isolated fork, otherwise we couldn’t test different values of properties which are stored into static final fields (e.g. Constants.java)

Each test class in core runs in an isolated fork, otherwise we couldn’t test different values of properties which are stored into static final fields (e.g. Constants.java)

I do not think we should rely on that Maven behavior for all styles of development, yes, it works great on the Maven command line, but it feels like a bit of a hack, leaving cruft behind. I'm not sure all IDEs are smart enough to read POMs that configure Surefire and FailSafe this way and know to do VM forks within the IDE itself. Ideally, I'd like to run all or any group of tests from an IDE and have them pass. Right now, I can only rely on Maven to do that.

The issue is that currently some tests are still using JUnit 4. For that there is the System Rules project, but I did not want to add two separate extensions / rules without knowing what the migration plans are.

As @garydgregory noted, all tests need to be migrated to JUnit 5. Given this, maybe we can leverage system-stubs?

The system stubs warning about Java16+ is not great and it seems like it's not really doing things as simple as I'd like to see. The JUnit Pioneer is cool but too minimal in feature. What I want is something like an @SaveSystemProperties and @RestoreSystemProperties and I do not think you need to do whatever reflection system stubs does. Since sys props is a global, have the annotation also use a global would be OK. One could also imagine saving and restoring named savepoints, like in a database transaction, @SaveSystemProperties("Savepoint1"). Such a thing does not exist, but we can write it, just like we have custom JUnit 4 rules.

This was closed automatically by Github because we renamed the release-2.x branch to 2.x. Feel free to resubmit to the 2.x branch.

Hey @vy & @garydgregory,
JUnit Pioneer maintainer here. ✌ I know this PR is old and the problem it was trying to solve might not relevant anymore, but regarding:

The reason I did not mention about system-properties of JUnit Pioneer is that it operates on an input list of properties, whereas I want to restore all properties back to their original values. I think the former approach is more error-prone and there is no way to tell if a property was leaked.

And:

The system stubs warning about Java16+ is not great and it seems like it's not really doing things as simple as I'd like to see. The JUnit Pioneer is cool but too minimal in feature. What I want is something like an @SaveSystemProperties and @RestoreSystemProperties and I do not think you need to do whatever reflection system stubs does.

As of Pioneer 2.1.0, there is @RestoreSystemProperties. From the docs:

@RestoreSystemProperties can be used to restore changes to system properties made directly in code. While @ClearSystemProperty and @SetSystemProperty set or clear specific properties and values, they don’t allow property values to be calculated or parameterized, thus there are times you may want to directly set properties in your test code. @RestoreSystemProperties can be placed on test methods or test classes and will completely restore all system properties to their original state after a test or test class is complete.


Determine optimization run from CClib

The current approach of to determine whether structure optimization has been run is most probably not robust:
https://github.com/pzarabadip/aiida-orca/blob/5b2cba2b518837c35179b52ac1141eda27609f4b/aiida_orca/parsers/__init__.py#L79
We're trying to detect the Opt keyword, but optimization can be triggered by other means as well. Instead we could try to use a  CClib field output_dict['optdone']. I need to test that first though.

This is addressed in #37


Remove address from

Description of changes
People are not browsing /code_schools to find out where their campus is located, beyond what city it is in. Removing the address (except still rendering if a location offers online education) declutters the component and fixes difficult style problems.
Issue Resolved
Fixes #399 and #439

I don't understand how index.html is listed as a change... I see no difference between master and my branch for that file.


Download in different formats

I use bitcoin.tax, it'd be nice to have my CSV download in that format. I'm sure there are other formats that would be useful as well.

Date (date and time as YYYY-MM-DD HH:mm:ss Z)
Action (INCOME, GIFTIN, MINING or BORROW)
Account (account or wallet name, e.g. Coinbase or Blockchain)
Symbol (BTC, ETH, LTC, etc)
Volume (number of coins received)
Total (Fair price or value in Currency or your home currency, or blank for market value
Currency (optional, specify alternative to your default currency, such as USD, GBP or EUR)
Memo (optional, name of sender or item sold)

For example,
Date,Action,Account,Symbol,Volume
2020-01-01 13:00:00 -0800,INCOME,"Blockchain Wallet",BTC,1

I'll think about it and leave this issue open. If anyone else would like this, please chime in.
I'm leaning towards keeping ethstaker.tax as simple as possible for now.


Test

Test pull request feature.

It's better off just to make another branch that is up-to-date with the upstream. And make the commit (that you wish to pull) on that branch and then create a pull request.
https://stackoverflow.com/questions/34027850/how-to-pull-request-a-specific-commit


Social Media Icon Change (X)

Context
Since Twitter's name is changed to X and its logo is also changed, it should also change on your website
Expected Behavior
I want to change the logo from Twitter to X
Current Behavior

Steps to reproduce
Please provide detailed steps for reproducing the issue

Open the Website
Scroll Down to the bottom
See the social media icons

Please add hacktoberfest label

Please assign this issue to me.

This is my first open source and I would like to contribute in every way possible. If you can guide and assign this to me

Hello,
@pragyamishra56
Thank you for your interest in contributing to this open-source project. Since I created the issue, I would like to take the initial lead on resolving it.
If, for any reason, I find that I'm unable to complete the task or deliver the desired result, I will unassign it. Your willingness to contribute is appreciated, and I may seek your assistance if necessary.
Thank you for understanding.
Best regards,
Sandeep Sharma

@amrahs02  Thank you for the update. I'm here to support and contribute as needed. Your leadership is valued. Looking forward to collaborating.

Sorry, I missed this! This issue was open/closed already: https://github.com/codu-code/codu/issues/439
Looking forward to more ideas and contributions. 🦾


Make the demo available online

Should also be deployed automatically on releases.
Maybe using some static hosting?

I'll migrate the demo to codepen instead.


llms missing in @llamaindex/core exports via npm

The llms module is not published https://github.com/run-llama/LlamaIndexTS/tree/main/packages/core/src/llms
https://www.npmjs.com/package/@llamaindex/core?activeTab=code

nice catch, seems like github action didn't update correctly

Please check 0.4.12

@himself65 yep that sorted it! thanks 😎


[Feature request] Notification to Telegram

Hello again.
I would like to suggest one more feature - notifications in telegram.
To get access to mail often requires a number of efforts, which is not always convenient, but to look at the notification in Telegram is very quick and easy.
I understand that I will have to almost duplicate the Send-MailNotification() function, so I will just write the nuances.

The formatting can be implemented via HTML, so maybe you don't even have to rewrite anything, but use the message composing code for the mail notification.
The maximum size of one message is 4096 characters (for users with and without premium subscription) and you can't send more than this limit at a time, so you may have to write a message splitter.

{
  "ok": false,
  "error_code": 400,
  }, "description": "Bad Request: message is too long"
}

Formatting is not factored into the character count of the message, i.e. you can send a 4200 character message with formatting taken into account.
Formatting guideline: https://core.telegram.org/bots/update56kabdkb12ibuisabdubodbasbdaosd
Example command to send:

API_TOKEN="<your_api_token>"
CHAT_ID="<your_chat_id>"

# Set the message text
MESSAGE_MD="*bold \*text*
_italic \*text_
__underline__
~strikethrough~
||spoiler||
*bold _italic bold ~italic bold strikethrough ||italic bold strikethrough spoiler||~ __underline italic bold___ bold*
"

## Optional set http proxy.
# export http_proxy="http://<IP_ADDRESS>:3128"
# export https_proxy="http://<IP_ADDRESS>:3128"
# Use the curl command to send the message
curl -s -X POST https://api.telegram.org/bot$API_TOKEN/sendMessage -d chat_id=$CHAT_ID -d parse_mode="MarkdownV2" -d text="$MESSAGE_MD"

If you failed to send a message due to some error, try to do it after a couple of seconds, otherwise write in the log that it failed and attach http-response.

Hey @Keonik1,
You're keeping me busy! 😄
Thanks a lot for all the helpful information!
I like the idea, but I'll need some time to dive into the Telegram topic and test a few things.

Hi @Keonik1,
I've implemented the ability to send notifications via Telegram. However, I'm facing some challenges with splitting the message in case it exceeds the maximum length of 4096 characters. Currently, the script only checks the length of the message to be sent, and if it exceeds 4096 characters, an error will be logged, but the message will be discarded.
I'm not sure if I'll be able to implement message splitting, but you're welcome to test the script with Telegram notifications already.
Here's the link:
Please tell me what you think.

Hello @jansppenrade2
Thanks!
I have tested the ability to send messages to telegram. It seems to work correctly for me.
About message splitting, I'll look at how to implement it here later, because I've done something like that in the past, but probably next week.
If there are any suggestions for improvements, I'll post them in this issue or do it myself if it's easy to integrate.

This feature has been added in version 2024.05.26-1.


Feature request: Include showcase cards in packs

I use Draftmancer to draft with friends and then import our decks to play on Tabletop Simulator rather than Arena. When drafting (ie, not cube or custom card lists), it would be fun to have an option to include showcase cards in packs to more closely mimic opening paper packs. I don't know the exact drop rate of showcase cards, but it could be something like: Whenever a card shows up in a booster, if it has a showcase version 1 in 3 times it's replaced with the showcase or borderless version.
Another suggestion would be that it would also be nice to have a similar feature for custom card lists, where a different art version (or a card from a different "showcase" slot) can be pulled at some rate, within the same layout. This would also make it easier to create layouts with some different individual slots, and others shared.

Most sets seem to have showcase versions at 1/3 (as you suggested), though there are some sets that use 1/4.
You can look up a set on https://www.lethe.xyz/mtg/collation/ for information.
As long as you are using "withReplacement": true then you can do this with the current cube format.
If the set has 1/3 showcase frequency, list cards as:
3 cardwithoutshowcasevariant (set) cn
2 cardbaseversionthathasvariant (set) cn
1 cardshowcasevariant (set) cn

I understand that this can be done in the cube format. But that would involve recreating cube layouts for real sets, if we just want to draft real sets.
This is easy enough for old draft boosters, but for play boosters and sets that have their own custom complicated slots (like March of the Machine with its double-faced cards and multiverse legends), it can be a lot of work to recreate those accurately. That’s work that is already done by draftmancer! That is why I’m asking for the feature to be an option when drafting a real set.

That is a project I have started - recreating old sets with printrun collation to better mimic paper drafts. I have not attempted MKM yet (the only play booster set with some printrun information), but I have done March of the Machine.
For DMR I have included full variant options, however other sets I have only implemented card variants for Uncommons, Command, and Lands, not for Rares or Mythics. If you are interested, the files for the sets I have done are available file:///C:/Users/tiera/Downloads/index.html . For sets other than DMR, you would need to manually edit the files to include variant printings for rares and mythics.

Oh wow, yes I've referenced that site many times while working on my own projects. I didn't know about your Draftmancer files though. Those are very helpful, thanks!


Replace JsArray with JsArrayNative

My problem is that because the existingJsArray is defined as JsArray<T extends JavaScriptObject> extends JavaScriptObject, it is enforcing too harsh a restriction the items stored in the array. I don't want to define my class as extending JavaScriptObject as this is a deprecated API and would prefer my @JsType annotated classes not to have all the restrictions imposed by the compiler.
I propose creating a JsArrayNative type that is included in this generator project which would work as an expected javascript array without any of the restrictions of JsArray. I didn't want to just go ahead and create this and submit a pull request if this is not the preferred approach of dealing with this. Obviously this would be a breaking API change to the generator.
What are your thoughts?

Well, since elemental2 preview is out, probably the next steps in the project would be get ride of temporary implementations in the project and use those. I have not taken a look to elemental2 but probably it does not have these problems.

@manolo  Thanks for the steer. I will take a look at what is on offer there.
If nothing is available perhaps keeping the name JsArray with the same API and different package name to  minimize code breakage... but I am getting ahead of myself.

@manolo  - Nice! There is elemental2.Array<T> which looking superficially looks like it solves the problem 👍
I used the following link to investigate: https://oss.sonatype.org/service/local/repositories/google-releases/content/com/google/gwt/elemental2-experimental/16-06-30/elemental2-experimental-16-06-30.jar
Will see if I can try and get it working with:
<dependency>
   <groupId>com.google.gwt</groupId>
   <artifactId>elemental2-experimental</artifactId>
   <version>16-06-30</version>
</dependency>

Good to know. Thanks for reporting.
There is no so much documentation related with this, but you can take a look to this thread where elemental2 beta was announced https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg/google-web-toolkit-contributors/MyGZ4-ASG-Y/PVuZvzwwDAAJ

Thanks again for setting me in the right direction.

Committing to branch https://github.com/dmg46664/gwt-api-generator/tree/elemental2.

Are you sure that it is not enough to depend on jsinterop:base? using JsArrayLike for example?

@ibaca - No, I'm not sure and that's probably a better idea :-)

@ibaca - My test was to use the gwt-api-generator with Vaadin's new grid 2.0. I was only trying to hack it to get it working. It appears to work.
Obviously I haven't tested it with JsArrayLike. Presumably this would work fine provided you passed in an Array when expected. I guess ideally the generator would generate the most specific typed interface possible, in the case of the grid stating specifically that an Array is required ?

This seems to be solved! 👏


[BIA-1301]: Update fn_GetStudentGradesSummary to use descriptor constant

Updated fn_GetStudentGradesSummary to use descriptor constant

You changed MSSQL, but you are missing Postgres.

You can see here the current script on the left, and the new script on the right. Why did we remove the join to edfi.GradingPeriod and the order by clause?


combine Dockerfiles for tests into one Debian Dockerfile

Tests currently failing due to the bug in char26-ts-py-bug

Looks like you might need to change the base branch this PR is merging into in order to get the tests to pass?


Move installation instructions to doc

Because, develop is now the default branch, users landing in the GitHub may find installation instructions that do not correspond to the currently released version (master branch, available on conda-forge or PyPI).
Installation instructions should be moved to the documentation.

Closed by #988


Video feedback

Good video!!!

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

ID: b5d2d805-50e5-3494-6388-2497d973a080
Version Independent ID: 63166523-8137-7d97-045f-811f884bb991
Content: Error AADSTS50011 - The reply URL specified in the request does not match the reply URLs configured for the application. - Active Directory
Content Source: support/azure/active-directory/error-code-AADSTS50011-reply-url-mismatch.md
Service: active-directory
Sub-service: app-mgmt
GitHub Login: @genlin
Microsoft Alias: genli

@ultimosparc Glad to hear that the video is helpful. Thank you for the feedback!


Cant dynamically change the selected time

Im experiencing a bug that i cant seem to fix. When i change the date using the onChangeDateTime method, I set the option allowTimes to something different. Because each day has different allowed times. However if you just change the date, once the times change to the new allowedTimes, the first allowed time is highlighted but the value of the input is still from the previous date until you click on one of the times in the timepicker.
Is there a method to set the time to the first allowedTime. I tried using defaultTime and stuff but to no avail.
I then tried setting the value option but this causes all sorts of trouble with the dates.
I then manually tried changing the value of the input to the first allowedTime value using string replace. However if the new allowedTimes containes the same and last selected allowedTime of the previous date then that time will be highlighted but the first time in the array has be selected. Its becoming such a ballache.
It would be so much easier if there was a method to change the time ONLY dynamically.
Someone help me haha.
Otherwise im going to have to first check if the previous selected time is available. ugh.

My solution to the problem:
onSelectDate: function (d) {
        //Set the time when changing date otherwise it remembers the previous dates default time.
        var sessions = _.filter(dates, function(s){
            return s.date == d.dateFormat('Y/m/d');
        });
        var allowedTimes = that.sortTimes(_.pluck(sessions, 'time'));
        this.setOptions({
            allowTimes: allowedTimes
        });
        var time = target.val().replace(sessions[0].date, "").trim();
        var newTime = allowedTimes[0];
        for (var i = 0; i < allowedTimes.length; i++) {
            if (allowedTimes[i] === time) {
                newTime = allowedTimes[i];
            }
        }
        target.val(target.val().replace(time, newTime));
    },

Okay wait that didnt work.
Because if in the first set of allowed times the selected time was "12:00" then the second set had "12:15" in it, it'll select "12:15".
Now I have to check if its within the same hour aswell. sigh.
wheres that setTime method!?

Did you find a solution? :)

I did eventually get everything working however it was a rather long time ago and cant remember what i did exactly. But heres my code if you want to figure it out. I had to dive into where the plugin stores its time -  Ive put a comment where the fix is.

var defaultDate = dates[0].date;
var defaultTime = dates[0].time;
var allowBlank = (that.MoviesList[index].isPersisted) ? false : true;

// Set available times for the selected date
var allowTimes =_.pluck(_.filter(dates, function(s) { return s.date == defaultDate; }), 'time');

target.datetimepicker({
    minDate: min.date,
    maxDate: max.date,
    timepicker: true,
    defaultDate: defaultDate,
    defaultTime: defaultTime,
    allowTimes: that.sortTimes(allowTimes),
    allowBlank: allowBlank,
    closeOnDateSelect: false,
    format: 'Y/m/d  H:i',
    step: 5,
    value: that.MoviesList[index].cinemaTime,

    /**
      * When changing the date we update the time to one of the newly available times
      * @memberof moviesCart
      * @inner
    */
    onSelectDate: function (d) {
        //Set the time when changing date otherwise it remembers the previous dates default time.
        var sessions = _.filter(dates, function(s){
            return s.date == d.dateFormat('Y/m/d');
        });
        var allowedTimes = that.sortTimes(_.pluck(sessions, 'time'));
        this.setOptions({
            allowTimes: allowedTimes
        });
        var newTime = allowedTimes[0];
        var time = target.val().replace(sessions[0].date, "").trim();
        for (var i = 0; i < allowedTimes.length; i++) {
            if (allowedTimes[i] === time) {
                newTime = allowedTimes[i];
            }
        }
        var h = newTime.split(":")[0];
        var m = newTime.split(":")[1];

        // I think this is where the fix starts. The functions below are internal functions of the plugin that i hooked into

        var t = this.data('xdsoft_datetime').currentTime;
        t.setHours(parseInt(h));
        t.setMinutes(parseInt(m));
        target.val(target.val().replace(time, newTime));
        this.data('xdsoft_datetime').setCurrentTime(t);
    },

    /**
      * When changing either Date OR time we update the session
      * This happens after {@link onSelectDate}
      * @memberof moviesCart
      * @inner
    */
    onChangeDateTime: function(d){
        if (d === null) return false;

        var sessions = _.filter(dates, function(s){
            return s.date == d.dateFormat('Y/m/d');
        });
        this.setOptions({
            allowTimes: that.sortTimes(_.pluck(sessions, 'time'))
        });

        // Other code .....

    }
});

Thanks for sharing.
I got an undefined _ error.
Who is _ ?

It's a plugin found here: http://underscorejs.org/
Replace those lines with your own code to get it working


boltdb error "key too large"

I've seen cases recently where reports a repeated "key too large" (aside: you can see cbft's been configured with a 20 second retry backoff)...
2015/03/17 16:30:17 feed_dcp: OnError, name: intrapop.1_7b714b8c18fe53ec: bucketName: default, bucketUUID: , err: error: HandleRecv, err: key too large
2015/03/17 16:30:37 feed_dcp: OnError, name: intrapop.1_7b714b8c18fe53ec: bucketName: default, bucketUUID: , err: error: HandleRecv, err: key too large
2015/03/17 16:30:57 feed_dcp: OnError, name: intrapop.1_7b714b8c18fe53ec: bucketName: default, bucketUUID: , err: error: HandleRecv, err: key too large

The current guess is that it might be related to boltdb key length error...
https://github.com/boltdb/bolt/blob/master/errors.go#L57

...where perhaps recent changes in bleve encodings might be related.
Error messages probably need improving as a secondary thing here.

made a change to capture more info on the suspect key/seq for next time we see this: dc1eef9

Bolt says,
MaxKeySize = 32768

Perils of doing this via phone...
Point of comment was we need more info, would not expect to generate a key that large

Another thought: there's a possibility my bleve files were created awhile back before any recent bleve file format encoding changes (if there indeed were any bleve format changes at all -- not sure).
Anyways, after adding more logging output to show the document key/ID, here are some representative log outputs from cbft.
2015/03/17 17:30:32 feed_dcp: OnError, name: intrapop-play_b3162a27cd309fc2: bucketName: default, bucketUUID: , err: error: DataChange, err: feed_dcp: DataUpdate, name: intrapop-play_b3162a27cd309fc2, partition: 54, key: couchbaselabs/mini-hacks/xamarin/todo-sync/README.md, seq: 5699, err: key too large

I've put the document for that couchbaselabs/mini-hacks/xamarin/todo-sync/README.md over here (memcached ASCII get)...
https://gist.github.com/steveyen/423bb059d07b16432c1b

Another one...
2015/03/17 17:30:33 feed_dcp: OnError, name: intrapop-play_b3162a27cd309fc2: bucketName: default, bucketUUID: , err: error: DataChange, err: feed_dcp: DataUpdate, name: intrapop-play_b3162a27cd309fc2, partition: 38, key: couchbaselabs/lcbook/iops.md, seq: 5749, err: key too large

With related doc here...
https://gist.github.com/steveyen/5ec1a1807edc0ed02a1a

Some more clues...
On one of the nodes, I just blew away the bleve boltdb files and restarted from scratch.  It looks ok after that (no errors).  The 2nd node still has the old files that have the issue, which I'll keep around for a bit just in case.
The bleve mapping config that I'm using is here...
https://gist.github.com/steveyen/31bcfa738abe7d6060c3

Bleve should refuse to read old formats...

I don't see any way this should generate a key length > 32768 even if the 'contents' field was indexed with the keyword analyzer the whole file is only 22k bytes.

At this point, not sure how to get cbft into a state where this happens reproducibly.
Related, with the improvements that were part of https://github.com/couchbaselabs/cbft/issues/35, we should hopefully be able to have some better error messages for when/if the next time this happens.
So, closing this until we see it again.

I added more fmt.Printf()'s to the boltdb KVStore implementation, and the key indeed is too large when it attempts during a Batch Execute() to Put() the output of Merge()'ed data...
https://github.com/blevesearch/bleve/blob/master/index/store/boltdb/batch.go#L87

I've gist'ed up some more detailed info (the mapping, the doc, the log output) here...
https://gist.github.com/steveyen/073d757093b73d521248

By the way, it seems to work ok while using the leveldb KVStore instead of the boltdb KVStore, in where I'd guess that leveldb doesn't have a key size limit.

OK, this helps some, but we still don't understand why this is happening.  The offending key is a dictionary entry, since the first byte of key is 'd'.  The next two bytes are the field "\r\x00", so this is field 13.  The remaining bytes are the term.  It appears to be garbage.  I thought perhaps it was base64 encoded, but it does not decode to anything less garbagey.  Is there any reason you included that one particular README?  Since it occurs on a dictionary entry, we don't know which item in the batch triggered it.  Can we get all the doc ids in the batch and review all of them?  Also, if you have the database, run bleve_dump -fields so we can see which field is number 13, that might also give a clue.

On the README, I had some other logging that showed me what document key might have been the issue.  But, now that I think about it, I might have gotten that wrong due to the Batch semantics, and the doc ID that was logged is probably not the true problematic doc.
I'll soon add some more logging to get all doc ID's from the batch.
In the meanwhile, from the bleve_dump -fields, looks like field 13 is the "_all" field...
$ ./bleve_dump -index data/intrapop-leveldb.1_5837ca03b3a96619_acbbef99.pindex/ -fields
Field: 1 Name: commit
Key:   66 01 00
Value: 63 6f 6d 6d 69 74 ff
Field: 2 Name: repo
Key:   66 02 00
Value: 72 65 70 6f ff
Field: 3 Name: type
Key:   66 03 00
Value: 74 79 70 65 ff
Field: 4 Name: id
Key:   66 04 00
Value: 69 64 ff
Field: 5 Name: url
Key:   66 05 00
Value: 75 72 6c ff
Field: 6 Name: parentId
Key:   66 06 00
Value: 70 61 72 65 6e 74 49 64 ff
Field: 7 Name: author
Key:   66 07 00
Value: 61 75 74 68 6f 72 ff
Field: 8 Name: authorFacet
Key:   66 08 00
Value: 61 75 74 68 6f 72 46 61 63 65 74 ff
Field: 9 Name: authorDate
Key:   66 09 00
Value: 61 75 74 68 6f 72 44 61 74 65 ff
Field: 10 Name: message
Key:   66 0a 00
Value: 6d 65 73 73 61 67 65 ff
Field: 11 Name: key
Key:   66 0b 00
Value: 6b 65 79 ff
Field: 12 Name: commitDate
Key:   66 0c 00
Value: 63 6f 6d 6d 69 74 44 61 74 65 ff
Field: 13 Name: _all
Key:   66 0d 00
Value: 5f 61 6c 6c ff
Field: 14 Name: merge
Key:   66 0e 00
Value: 6d 65 72 67 65 ff
Field: 15 Name: contents
Key:   66 0f 00
Value: 63 6f 6e 74 65 6e 74 73 ff
Field: 16 Name: project
Key:   66 10 00
Value: 70 72 6f 6a 65 63 74 ff
Field: 17 Name: ext
Key:   66 11 00
Value: 65 78 74 ff
Field: 18 Name: title
Key:   66 12 00
Value: 74 69 74 6c 65 ff
Field: 19 Name: spaceKey
Key:   66 13 00
Value: 73 70 61 63 65 4b 65 79 ff
Field: 20 Name: creationDate
Key:   66 14 00
Value: 63 72 65 61 74 69 6f 6e 44 61 74 65 ff
Field: 21 Name: lastModifierName
Key:   66 15 00
Value: 6c 61 73 74 4d 6f 64 69 66 69 65 72 4e 61 6d 65 ff
Field: 22 Name: lastModificationDate
Key:   66 16 00
Value: 6c 61 73 74 4d 6f 64 69 66 69 63 61 74 69 6f 6e 44 61 74 65 ff
Field: 23 Name: bodyContent
Key:   66 17 00
Value: 62 6f 64 79 43 6f 6e 74 65 6e 74 ff
Field: 24 Name: creatorName
Key:   66 18 00
Value: 63 72 65 61 74 6f 72 4e 61 6d 65 ff
Field: 25 Name: branch
Key:   66 19 00
Value: 62 72 61 6e 63 68 ff
Field: 26 Name: updatedDate
Key:   66 1a 00
Value: 75 70 64 61 74 65 64 44 61 74 65 ff
Field: 27 Name: createdDate
Key:   66 1b 00
Value: 63 72 65 61 74 65 64 44 61 74 65 ff
Field: 28 Name: owner
Key:   66 1c 00
Value: 6f 77 6e 65 72 ff
Field: 29 Name: change_id
Key:   66 1d 00
Value: 63 68 61 6e 67 65 5f 69 64 ff
Field: 30 Name: status
Key:   66 1e 00
Value: 73 74 61 74 75 73 ff

Again, I find out the computer is not lying to me.  The offending doc indeed has a token (term? word?) that is indeed too large... basically a base64 encoded lorem hunk of text with no whitespace...
https://gist.github.com/steveyen/b912499ec2b59daf58a6

Copy & pasting some hints from chat with Marty on how to get a filter for max token length...
step 1, you need to define your own analyzer that copies the default one you're already using
step 2 insert a length filter, with whatever max token length you want.  the length fliter lets you specify min/max token length

A custom token length filter did the trick.  No more "key too large" errors from boltdb.
commit 49c01a


A document for restAPI instruction for user

Like this:
https://github.com/Microsoft/pai/blob/master/docs/rest-server/API.md

Yan will investigate nodejs comments to doc.

Yan will investigate nodejs comments to doc.

will investigate on TypeDoc

Will implement a Python API and will expose that to external usage.


webapp: Fix html a href link

Update an app service plan. See https://docs.microsoft.com/azure/app-service/app-service-plan-manage#move-an-app-to-another-app-service-plan to learn more.

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

ID: a9dc8c24-cda6-8672-8017-b66435eadbb7
Version Independent ID: a0be523a-ff1f-18ed-0fc4-ba0e0befe4d1
Content: az appservice
Content Source: src/azure-cli/azure/cli/command_modules/appservice/_help.py
Service: app-service
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

appservice

@calvinsID can you take care of this during some other existing PRs?

Use this FWLink --> https://go.microsoft.com/fwlink/?linkid=2133856
See: https://go.microsoft.com/fwlink/?linkid=2133856


JWT gitlab OmniAuth provider setup support

Hi, how to integrate jwt authentication with gitlab. Is there any provider for jwt to register. Or should we need to create our own service with jwt libraries?
Gone through this link - https://github.com/mbleigh/omniauth-jwt#usage, Is there any documentation or reference regarding this implementation?
Please help
Thanks

Hi @rinshadka
Not totally sure if I understand your question or problem, but the ruby-jwt GEM is used only to encode and decode JWT tokens using various algorithms.
It's not per se an authentication provider.

@rinshadka related issue #340 where ruby-jwt is used with omniauth-jwt. You have to ask the creator of omniauth-jwt for documentation or reference regarding the omniauth-jwt gem.

Closing this. If there are some needs for improving the documentation we are open for suggestions.


Update the histogram to summarize the mean of each distribution

Per our discussion on 5/11, we will update the histogram plot to summarize the distributions with mean vs. median, in a heatmap or barplot. This will enable us to identify where the cell type distributions agree and disagree with each other as well as on mRNA vs protein.

Solved by #158


add Close to go-etcd Client to relinquish connections when Client is no lon...

add Close to go-etcd Client to relinquish connections when Client is no longer used.
This resolves connection leaks in flannel, see https://github.com/coreos/flannel/pull/144 for more details.

Just a comment for subscribing on this.

LGTM.


Davids 2020 and Travis branch

Work in progress branch for Travis and FreeDV 2020 work

@hobbes1069 I've added Travis in this branch, note how "the pull request" build is not passing.  You can use this .travis.yml as a way to test your builds, Travis uses Xenial (Ubuntu 16).

Ok, before I go changing a bunch of Travis CI stuff...

If we use the -D_BUILD_DIR method we don't need to install either library.
I think I see part of the problem. I've been making my commits to brad-2020 and you have it checking out dr-2020... The required exports (cmake files for find_package) are not exported with dr-2020.

Hi Richard,
Moving forward, I see us using the cmake design you are working on in LPCNet/master and codec2/brad-2020.
The LPCNet/dr-2020 and codec2/dr-2020 branches are snap shots from a week ago that provide a working LPCNet & codec2 baseline Brad and I can use to progress FreeDV 2020 integration, while you resolve the cross platform cmake issues we are experiencing in LPCNet/master and codec2/brad-2020.
I'd like to use Travis to verify the cmake system on an Ubuntu system.  It's a really good way to take humans out of the test loop. The .travis.yml file here might be a good starting point, but modified for your cmake system design.  I'm happy to help you code this up for LPCNet/master codec2/brad-2020 if you like.

ok, I read it twice but still not sure what to do. If we want this one to pass Travis CI we'll at least need to git cherry-pick the export parts from brad-2020.

ok, I read it twice but still not sure what to do. If we want this one to pass Travis CI we'll at least need to git cherry-pick the export parts from brad-2020.

Sorry my initial comment https://github.com/drowe67/LPCNet/pull/3#issuecomment-484746291 wasn't well written:

It's not necessary to get the Travis Pull Request build to pass in this branch.  I accept that won't pass as this branch is using as different cmake system design to LPCNet/master.  That's OK.

Pls don't modify anything in this branch - we need it stabde for FreeDV 2020 work.

Pls add Travis support to LPCNet/master and codec2/brad-2020, to support the testing of the cmake system in those branches.  You are welcome to use the .travis.yml file in this branch as a starting point.

No required any more as LPCNet/master is working well


Release 20240404

Weekly release

 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.6 out of 7 committers have signed the CLA.:white_check_mark: sjyothi54:white_check_mark: RamanaReddy8801:white_check_mark: pkudikyala:white_check_mark: falcon-tech:white_check_mark: mdumpati:white_check_mark: d3caf:x: nr-opensource-botYou have signed the CLA already but the status is still pending? Let us recheck it.


GSO sending logic doesn't properly respect ECN marking changes

We stop composing a batch when the ECN marking changes (thus far, this is correct), but we still send out the next batch with the old ECN marking.

Blocked on https://github.com/quic-go/quic-go/pull/4823.


(1.1.x) Performance optimizations

do not load build info twice in BB pull
switch archives filtering from parallelStream to stream

retest this please


Fix up Integration for Forestry 4.1.0 using only the API

This should be good, but I did not fully test it because I'm not familiar with writing ModTweaker scripts. I used generics where possible to prevent myself from making simple errors.
It doesn't use any Forestry internal classes, so it should not break in the future.

:clap: :clap: :clap: :clap: :clap:


feat: dapp types and saga updates for filter and search

Description

Updates the Dapp type to use XOR for categoryId and categories.
Updates to use a DappV1 type and DappV2 type with categoryId and categories respectively.
Updates DappProperties in src/analytics/Properties.tsx to make categoryId and categories optional.
Updates handleFetchDappsList to handle v1 vs v2 fetch based on remote configs.
Adds tests for handleFetchDappsListV2.
Update tests for existing dapp saga tests.
Update dapp slice to update remote config values for dappsFilterEnabled and dappsSearchEnabled - added in #3460

Test plan
Unit tests and tested legacy screens locally on iOS.
Related issues

RET-581

Backwards compatibility

Yes

@kathaypacific @Jean - could I get a re-review of this after the refactor commit 2119d45756683448b021e0bfecc4d38f8c11db27?


Publish formal releases, can start from v0.1.0

I saw we are releasing 1.0.0 preview versions. This is not very ideal as it's not shown in GitHub. We can change to release v0.1.0 formal version.
https://github.com/casdoor/casdoor-dotnet-sdk/releases

Released: https://github.com/casdoor/casdoor-dotnet-sdk/releases/tag/v0.1.0


Remove python_extra_index_urls and python_find_links

Undocumented, and GitHub code search implies unused. If you want to do this, you can use run, and when we have #714 you can put it in requirements.txt.
Yanked out of #714

Yep! Can define it in requirements.txt when #714 lands. In the meantime you can just do a run command, which has what people have typically need doing.


VSCode dark theme

Adjusted for windows font sizes.

Looks absolutely glorious, thanks!
What IDA version are you developing this with? 7.0? The theme is having some of the same issues my themes had before I updated them for 7.2, e.g. misaligned close buttons and gigantic arrows in the nav bar. I assume this isn't intended?

If you don't have a copy of 7.2 at hand, I can take a look at it myself, should be no big deal.
For reference, these were my 7.2 fixes for idaskins-dark:
https://github.com/zyantific/IDASkins/commit/3d707c6aae5a614e24ac089947dea3ba9ed41f8a
https://github.com/zyantific/IDASkins/commit/69d4f9704da09794b85fbb9095cc161336682963

Thanks for the feedback! I've added these lines but cannot test on 7.2... Also added .less file for ease of editing.

Thank you! That's pretty cool, I didn't know it was possible to use LESS for QSS!
The 7.2 fixes work! This is how it looks now:

Please take a final look and let me know if everything is looking as intended in 7.2 (as far as you can see on the screenshot) before I merge this.

Yeah, seems like it's working fine. :+1:

Excellent. Thank you very much for this! I think this is legitimately the best theme we have now, I'll probably replace the screenshot in the repo or at least add one of this theme.

Do you plan on dropping any more PRs in the next few days? If you're done for now, I'd like to wrap these changes into a new release.

Currently I don't. It sounds cool!

One last thing I didn't see before: in graph view, the background is still very bright. I'd like to make that a little darker (the color of the menu/tool-bar). Would that be fine with you?
Before:

After:

Yep, great!

https://github.com/zyantific/IDASkins/releases/tag/v2.1.0
There we go!


Whatsapp UI

Can you assign it to me?
So that i can start working on it

Can you assign it to me?
So that i can start working on it


[GHSA-gvjj-4rcj-mxhw] Exposed Erlang Cookie could lead to Remote Command...

Updates

Affected products
References
Source code location
Summary

Hi @p-w, this package does not seem to exist on hex.pm
https://hex.pm/packages/otp

@darakian it's affecting the Erlang/OTP, which is Erlang core (see core downloads). How shuold I reference core?


Should launch Visual Studio by default without Xamarin Studio option

If you'd rather have it always open in one by default, you can change this in the Preferences.json file located within the app's resources.


Vite crashes when it shouldn't with "line must be greater than 0"

Describe the bug
Very often when I'm using stackblitz, I'll make a change to my code that will create an error. Oh well, no biggie, vite will let me just undo the change and, wait what do you mean vite crashed? That's not supposed to happen.
So I check the error log and I see:
Error: `line` must be greater than 0 (lines start at line 1)
    at originalPositionFor$1 (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:10179:19)
    at eval (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55901:25)
    at eval (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55892:21)
    at ssrRewriteStacktrace (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55891:10)
    at ssrFixStacktrace (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:55944:24)
    at Object.ssrFixStacktrace (/home/Readf0x/site-rewrite/node_modules/vite/dist/node/chunks/dep-2b82a1ce.js:65132:13)
    at fix_stack_trace (/home/Readf0x/site-rewrite/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:273:8)
    at eval (/home/Readf0x/site-rewrite/node_modules/@sveltejs/kit/src/exports/vite/dev/index.js:547:13)

Right now, I'm encountering this error whenever I edit a specific css file. Since I'm currently working on the slowest laptop known to man, it can take upwards of 20s to restart the vite server, and css is something I have to edit quite frequently.
I really couldn't tell you why this happens, but it is a frequent occurrence. It also occurs when you go to a route that doesn't exist without a dynamic route error handler.
Link to the blitz that caused the error
https://stackblitz.com/github/Readf0x/site-rewrite/tree/d0bc67bf20e7ecafb65b320965cdf20bc36ebdf2?file=src%2Flib%2Fprism%2Fcatppuccin.css
Steps to reproduce
In the preview, navigate to the "/about" route (accessible navbar, hamburger menu if preview has small width, or direct url)
Edit css file
Upon attempt to reload page, vite will crash with Error: `line` must be greater than 0 (lines start at line 1)
Expected behavior
Vite should not crash in this instance, it should at worst return with a 500 internal server error.
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Version = 1.80.0
Hash = 1237962aa439bdb72a334d69943149e74bd625c0
WebContainer = 5a198b5c

Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 119
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
performance.memory = {
  "totalJSHeapSize": 298828266,
  "usedJSHeapSize": 288913566,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}

Additional context
The exact line I'm editing is line 35. There is a 100% chance of this error occurring when changing the rule name from "overflow-x" to "overflow".

:wave: Thanks for the report, this looks like a bug on our side. I've now added it to our internal tracker.

:wave: Thanks for the report, this looks like a bug on our side. I've now added it to our internal tracker.

Sorry about the lack of professionalism, I was extremely annoyed at the time of posting :P

The issue still happens. For me, it happens basically whenever I do anything with Sveltekit on StackBlitz at some point, and from then on it's impossible to get it to work again.
Reproduction page: https://stackblitz.com/edit/sveltejs-kit-template-default-36pavj?file=package.json
@jrvidal any news about the internal issue?


Grouped dependency bumps

Merges all changes from the following PRs:

#407
#406
#405
#390
#389

/merge


ngc task forces es5 output, can't use third-party transpiler

Prior to rc0, I was using TypeScript to generate ES2015, and then running the result through babel. I did this because we make extensive use of async functions, which are not supported in TypeScript's compilation of ES5 at this time.
rc0 now forces in the ionic-app-scripts ngc script that the target be set as es5, which breaks this workflow and prevents the introduction of a third-party transpiler.
We rely on the use of async functions heavily in our code.

I originally posted this at https://github.com/driftyco/ionic/issues/8377 before realizing this is the right place, btw.

A temporary workaround might be to comment out this line in<EMAIL_ADDRESS>tsConfig.compilerOptions.target = 'es5';
(and also to disable uglify, because it didn't work for me with this).
I hope that ES6 codegen will be supported (even if it didn't work out-of-the-box), because it will take some time before TS 2.1 gets released and async/await is sucha nice feature.
I already asked about ES6 here: #30.

Yea, I forked @ionic/app-scripts on GitHub to comment that line, and I now have my npm pulling that package from there. Its such a hack though.

Would you take a pull request that simply allows target to be overridden in the config?

@bytenik,
Truthfully, I doubt we'll merge it if you do it at this time. We know we need to do this, just need time to do it.  We are working on solidifying app-scripts right now. In the next couple weeks, improving minifaction will be a large part of things for us.
The best way to do that, we think, is to start with source of ES2015, run Closure Compiler against it for property renaming), then transpile it to es5.  We would expose configs for all of this stuff.
My goal is to make each step entirely configurable and optional.
Thanks,
Dan

@urielhdz asked for a similar request.
Just updating.

with the current version of app-scripts (0.0.36) it seems to be possible to set the target to "es2015" in tsconfig.json. It still breaks with uglifyjs, which i have to disable in app-scripts/dist/minify.js. Doing this, i can use async/await and ionic builds it just fine.
I wonder why though. Which part of the build process now miraculously takes over the transpilation to ES5?
Also, does anyone know of a more solid way to disable uglify for now?
On another note: With typescript@next we can also use async/await while having the target set to es5. Unfortunately typescript@next break ionic build. But i have posted that just now as a seperate issue: https://github.com/driftyco/ionic-app-scripts/issues/197

@metzc,
There is more work to be done here. I don't recommend changing all of these settings around yet.
In order to get the smallest and fastest booting bundle possible, we think we need to minify es2015 code, then transpile it at the end. Not 100% positive but initial tests from Angular team are positive from what we're hearing.
Thanks,
Dan

@metzc: I too thought that the build process somewhere transpiles to ES5, but it turned out to be the opposite case - my browser (Chrome) supports almost all of ES6. When I tried it on a mobile device, it didn¨t work.

@Kobzol i also suspected this, so I tried also in safari desktop as well as iOS, both seem to run just fine. I use es6 heavily, also async/await. I assume those browsers support neither? Or do they now?

Typescript doesn't leave them as async/await AFAIK (it's not even a part of ES6, async/await will be in ES7). TS converts them to generators, and those are supported in major browsers today. BTW Chrome now has an experimental support for async/await too.

ok, i see now there is indeed some ES6 stuff in the build. While we are at it: what can we say about the ES6 support when using ionic / cordova / wkwebview / crosswalk? Maybe this isn't a problem after all?
For a working (temporary) non-ES6 workaround for async/await when using ionic, see this issue: https://github.com/driftyco/ionic-app-scripts/issues/197

We no longer force the version, so I am going to close this issue.
Thanks,
Dan


feat: load initial data from json file

Checkmarx One – Scan Summary & Details – c87ee6e4-21df-416d-aeb5-6e7bba6c526c
No New Or Fixed Issues Found


💡 [REQUEST] - Implement cross button functionality for desktop devices

Start Date
No response
Implementation PR
No response
Reference Issues
No response
Summary
Currently, the ngx-stories component provides a seamless experience for viewing stories on mobile devices, allowing users to swipe between stories and swiping down the story to close it. However, there is no explicit way for users on desktop devices to close the story viewer manually.
For desktop users, it would be useful to implement a cross (close) button in the ngx-stories component to allow for manual dismissal of the story viewer.
Button Design & Placement:
A cross icon (X) should be displayed in the top-right corner of the story viewer.
The icon should be clearly visible and appropriately sized for desktop screens but should remain unobtrusive so as not to interfere with the story content.
On smaller devices (mobile/tablet), the close button can remain hidden.
Functionality:
Clicking the cross button should fire onExit event.
This will allow developers to implement custom logic, such as navigating back to a specific view or updating the UI state.
Responsiveness:
The close button should only be displayed on larger screen sizes (desktop and tablet) and hidden for mobile devices, where the swipe gesture is the primary navigation tool.
The display of the button should be controlled by media queries.
Additional Considerations:
Customization Options: Provide a way to customize the style of the close button (e.g., color, size, icon) through the component’s input properties or by allowing developers to provide their own template for the button.
Accessibility: Ensure the close button is accessible, with proper ARIA labels and keyboard navigation (i.e., allowing users to press the Esc key to close the viewer).
Acceptance Criteria:

A visible cross (close) button appears on the top-right of the story viewer for desktop devices.
Clicking the close button should emit an event.
The close button should be responsive and configurable, allowing it to be hidden on mobile devices.
The close button should be customizable and accessible, with support for keyboard interaction (i.e., Esc key).

Unresolved questions
Should we disable the swipe down event which is calling onExit event as well on desktop devices currently ?

Hey @Gauravdarkslayer ,
I’ll take on the task of implementing a close (X) button in the ngx-stories component for desktop users. This will provide a manual way to dismiss the story viewer. I’ll ensure the button is appropriately placed in the top-right corner, visible on larger screens, and hidden on mobile devices. Additionally, clicking the button will trigger the onExit event, allowing for custom logic. I'll also consider customization options for the button’s style and ensure accessibility features are included.
Please assign this issue to me .


leave height auto to shrink when necessary

Use max-height on overflowing container so height auto can still shrink when necessary space is decreased,
### Before

After

@kersh can you remind me the steps to publish changes 👍

@AhernEYeldarB I think you can run npm run build:npm
https://github.com/Teamwork/vue-dropdown-directive/blob/master/package.json#L9C6-L9C15

Think we need to be careful with this ad do some testing, remembering having a lot of troubles until got this working correctly, especially on mobile and when there are inputs in the popup and the user focus or change inputs so on screen OS keyboard gets displayed/hidden.


bal persist generate generates duplicate queryMethods when an entity contains multiple relations of the same type

Description:
This error only occurs when using gsheets or inmemory as the data source.
If there is an entity which has two relations of the same type:
type User record {|
    readonly int id;
    string name;
    time:Date birthDate;
    string mobileNumber;

    Post[] posts;
    Comment[] comments;

    Follow[] followers;
    Follow[] following;
|};

When the association methods are generated, both have the same name
associationsMethods: {
    "posts": self.queryUsersPosts,
    "comments": self.queryUsersComments,
    "follows": self.queryUsersFollows,
    "follows": self.queryUsersFollows
}

Seems to be because we use the entity name to generate the method names. It should be fine if we use the field names instead.
In that case the method names should follow query<EntityName><FieldName>()


Design kit access request

Which team are you on?

IBM Watson Media

What experience are you designing for?

I work on Native Mobile Kit with Peter Garvin and I also assist Carbon team with maintaining their libraries. Currently not working on any IBM.com pages (but our unit have a dozen which could be refreshed), but would like to see the library to be up to date and informed with all the design kits at IBM. Thanks.
I will share my email on Slack.

Added to box folder


Implement .now output directory upon deployment

Similar to .git, but for us to keep track of:

Who originated the deployment and other important metadata
Potentially a log of deployments?

This issue was moved to zeit/now-cli#777


Feature request: other types of input in DynamicFormArrayModel

Dear all,
Thanks for this library, it's very useful and it's worth to be extended!
I would like to be able to use other types of fields than DynamicInputModel within a DynamicFormArrayModel.
Currently, the "createGroup" property within DynamicFormArrayModel({createGroup: ...}) needs to return an array of DynamicInputModel[].
Would it be difficult to change it to an array of DynamicFormValueControlModel[] ?
I would like to be able to use a select field within a form array.
Thanks a lot.

I looked at the source code, and it is already possible !
Here is how to do it if someone has the same request:
It is necessary to specify the type of value like this : DynamicSelectModel
(It is actually not necessary when a select field is outside an array, so when I did a copy and paste I got an error)
Best regards.
new DynamicFormArrayModel({
        id: "array",
        label: 'my array',
        initialCount: 2,
        createGroup: () => {
                return [
                    new DynamicSelectModel<number>({
                        id: "select_field", label: "select", options : { ... }
                    }),
                    new DynamicInputModel({
                        id: "input_field",
                        label: "input"
                    })
                ]
})

One last comment to complete this topic.
When the select field is nested inside a form array, I do not find a way to modify the options dynamically (the values within the select field are coming from a service).
When it is a simple field, it is possible to do this :+1:
        this.selectModel = <DynamicSelectModel<number>> this.formService.findById("testSelect", this.formModel);         this.selectModel.options = [{                 label: "Option A",                 value: "10",             },{                 label: "Option B",                 value: "11",             }             ];
But when it is in a DynamicFormArrayModel, it is not possible to get access to the selectModel options, as all properties seem private.
Thanks if someone can help.
Best regards

@bobby77 You can retrieve your selectModel pretty by using the get functions of DynamicFormArrayModel and DynamicFormArrayGroupModel:
this.selectModel = this.formArrayModel.get(<index of group>).get(<index of selectModel) as DynamicSelectModel


Zoom features are not published in npm ¿?

Hi there
Looking for the way to disable the zoom, I saw that you @Wokstym had made certain changes in the repository, but you didn't update the library in npm, what is the reason?
Thanks for your work ✌

The reason is that we lost interest in maintaining the project :D I can publish a new version tomorrow with our changes.


hugolib: remove unused function

remove supports function because it is no longer used.

This pull request is ready for review. Could you confirm this?

@peaceiris I appreciate these PRs, but this particular change conflicts with a rather big PR (Hugo Modules) that I will merge in a day or two. It rewrites the entire area around the function you now remove (which will be removed by my changes). It will probably save both of us some work if you could hold on with these "remove unused" PRs for a couple of days.

Ok, I got it.


Pep8 Linting Warnings Display on All Files in a Workspace

Environment data

VS Code version: 1.23.0
Extension version (available under the Extensions sidebar): 2018.4.0
OS and version: Ubuntu 16.04.3 LTS (xenial)
Python version (& distribution if applicable, e.g. Anaconda): Python 2.7.12 (Xenial repo)
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: pep8 1.7.0

settings.json
{
    "python.pythonPath": "python2.7",

    "python.linting.enabled": true,
    "python.linting.lintOnSave": true,

    "python.linting.pylintEnabled": false,

    "python.linting.pep8Enabled": true,
    "python.linting.pep8Path": "/usr/bin/pep8",
    "python.linting.pep8Args": [
        "--max-line-length=200",
        "."
    ],
}

Actual behavior
All pep8 warnings are repeated on every file. A pep8 warning in file1.py:10 will show in file2.py:10 as well.

Expected  behavior
Problems are only shown on the files & lines flagged by pep8.
$ pep8 .
./test_script.py:5:1: E402 module level import not at top of file
./test_script_2.py:7:5: E731 do not assign a lambda expression, use a def

Steps to reproduce:

Create 2 python scripts, one with a pep8 warning, one without.
Setup pep8 linting (see settings.json above for what I've done)
Run pep8 linting, the pep8 warning will show up on both files.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
##########Linting Output - pep8##########
5,1,E,E402:module level import not at top of file
7,5,E,E731:do not assign a lambda expression, use a def
7,5,E,E731:do not assign a lambda expression, use a def
##########Linting Output - pep8##########
5,1,E,E402:module level import not at top of file
7,5,E,E731:do not assign a lambda expression, use a def
5,1,E,E402:module level import not at top of file

No output from the Developer Tools console.

We run the linters against each file, instead of running against the enter folder.
Please run the following in your terminal window and let me know what you get:

pep8 test_script_2.py
pep8 test_script.py

Just checked this morning: problem is a misconfiguration on my end, my pep8 settings were set up from a script that ran over all files:
    "python.linting.pep8Args": [
        "--max-line-length=200",
        "." // <--- offending line
    ],

Which lead to warnings for all files showing up on each run of the linter.
Removing the '.' from the pep8 args fixes the issue/


feature: NLB Log Delivery Support

Fixes #93
Any comments are welcome.

I created #95 because I don't have permission to update your fork. Thank you for this work!
v2.4.0 has been just released.

Thanks @antonbabenko !


Initial CI workflow

conda init zsh is failing just like conda init bash and conda init $SHELL
done
#
# To activate this environment, use
#
#     $ conda activate prov
#
# To deactivate an active environment, use
#
#     $ conda deactivate

+ conda init zsh
no change     /usr/local/miniconda/condabin/conda
no change     /usr/local/miniconda/bin/conda
no change     /usr/local/miniconda/bin/conda-env
no change     /usr/local/miniconda/bin/activate
no change     /usr/local/miniconda/bin/deactivate
no change     /usr/local/miniconda/etc/profile.d/conda.sh
no change     /usr/local/miniconda/etc/fish/conf.d/conda.fish
no change     /usr/local/miniconda/shell/condabin/Conda.psm1
modified      /usr/local/miniconda/shell/condabin/conda-hook.ps1
no change     /usr/local/miniconda/lib/python3.9/site-packages/xontrib/conda.xsh
no change     /usr/local/miniconda/etc/profile.d/conda.csh
modified      /Users/runner/.zshrc

==> For changes to take effect, close and re-open your current shell. <==

+ conda activate prov

CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run

    $ conda init <SHELL_NAME>

Currently supported shells are:
  - bash
  - fish
  - tcsh
  - xonsh
  - zsh
  - powershell

See 'conda init --help' for more information and options.

IMPORTANT: You may need to close and restart your shell after running 'conda init'.

Will attempt to manually source the updated files, and will bail on the "right way" if that fails

Done with trying to do this with conda init.
#
# To activate this environment, use
#
#     $ conda activate prov
#
# To deactivate an active environment, use
#
#     $ conda deactivate

+ conda init zsh
no change     /usr/local/miniconda/condabin/conda
no change     /usr/local/miniconda/bin/conda
no change     /usr/local/miniconda/bin/conda-env
no change     /usr/local/miniconda/bin/activate
+ echo 'These are the files modified by conda init zsh'
no change     /usr/local/miniconda/bin/deactivate
no change     /usr/local/miniconda/etc/profile.d/conda.sh
no change     /usr/local/miniconda/etc/fish/conf.d/conda.fish
no change     /usr/local/miniconda/shell/condabin/Conda.psm1
modified      /usr/local/miniconda/shell/condabin/conda-hook.ps1
no change     /usr/local/miniconda/lib/python3.9/site-packages/xontrib/conda.xsh
no change     /usr/local/miniconda/etc/profile.d/conda.csh
modified      /Users/runner/.zshrc

==> For changes to take effect, close and re-open your current shell. <==

These are the files modified by conda init zsh
+ source /usr/local/miniconda/shell/condabin/conda-hook.ps1
++ :CONDA_EXE = /usr/local/miniconda/bin/conda
/usr/local/miniconda/shell/condabin/conda-hook.ps1: line 1: :CONDA_EXE: command not found
Error: Process completed with exit code 127.

This guy seems to work for #48, so I'm going with it.
source ${CONDA}/etc/profile.d/conda.sh
conda activate prov


Microsoft.VisualStudioCode.Insiders.CLI_v1.92.0 cli

Microsoft.VisualStudioCode.Insiders.CLI_v1.92.0
Microsoft Reviewers: Open in CodeFlow

/azp run

https://github.com/microsoft/winget-pkgs/issues/142854

@lszomoru do you know if this build is affected by https://github.com/microsoft/vscode/issues/220999?
Looks like after removing existing Insiders installation and installing fresh one (this) I still see same problem.
And download URL on website differs from URL i get from website (latest).
Is it possible to update this package with latest version that is not affected by update issue?