[Int4-AWQ] Fix AWQ Marlin check for ROCm

This commit resolves an issue with the new AWQ Marlin support added in upstream. AWQ Marlin is not yet supported for ROCm in vllm, but vllm will override AWQ quantization with AWQ Marlin if quantization parameters are compatible without comprehensively checking for platform support. This commit fixes this problem in the case of ROCm by adding an is_hip() check.

Hmm, maybe add in upstream.  There is already some code to check is_hip if AWQ is being used and set the VLLM_USE_TRITON_AWQ if it is not already set.  Currently, "awq_marlin" is used as the quantization method when an AWQ model is loaded.  It would be nice if an is_hip check were done and the "awq" quantization method was selected instead if is_hip returned true.

Hmm, maybe add in upstream. There is already some code to check is_hip if AWQ is being used and set the VLLM_USE_TRITON_AWQ if it is not already set. Currently, "awq_marlin" is used as the quantization method when an AWQ model is loaded. It would be nice if an is_hip check were done and the "awq" quantization method was selected instead if is_hip returned true.

Okay, I have moved the check to a higher level to be more in line with the current rocm_supported_quantization list.
I would like to put this into ROCm/vllm first, because we need it for QA.

nit: can the breaks on 292/296 be removed and just use a break on 297?

That wouldn't quite be the same, logically.


Says "Zero Active Cases" for my prefecture, but there are plenty of active cases!

The Japan Covid 19 tracker is great. Thank you all so much for all your labor there. However, I live in Mie-ken and it keeps saying we have zero active cases and shows a congratulatory champagne bottle. Yet, it also indicates a number of new cases were reported each day (more than 22 in one day, just a few days ago), which would, of course, contradict there being no active cases. I check the Japanese language site of Mie regularly, and we actually have quite a few active cases, at least 60 in the hospital alone, and 4 are critical. I'm afraid we don't deserve the champagne yet. This "Zero Active" has been going on for a week or more. I wonder why it just recently started happening?

Thanks for reporting this, I also started noticing this too that some places we have negative counts.
We know a little why this is happening. The prefectures occassionally adjust past numbers because they undercounted, but they are not in the regular reports so we have to dig back through the news articles and documents to find out and readjust. I manually do this once in a while, but haven't done so recently as the 4th wave has some down, but now the numbers are low enough in some prefectures that it's much more obvious.
We'll need to go back through the past reports and adjust the numbers.

The current days new cases report (the number in green in parenthesis) is completely accurate. So, I think you just need a few lines of code that add those (with an appended date) to the total currentActive and another few lines that subtracts all (with an appended date) from this total after they are over 2 weeks old. I believe that is what is being done at the prefecture level, before they submit their totals for the day. They are simply subtracting all cases over 2 weeks old.

We do actually count the current days numbers into the count, but our active cases number is actually negative, sometimes by 100+ people, that's why it looks like even though there are new cases, the active cases is 0.
I looked into this a bit more trying to figure out why we're reporting less than 0 active cases for the prefectures.
For confirmed cases, our numbers are roughly aligned to NHK's numbers. However, we use recovery numbers from MHLW. It turns out that these two sources disagree for some prefectures. This disagreement is causing the active cases number to go negative. This happens in Gifu, Mie, Nagano, Saga.
It looks like the reason for the difference is MHLW has a count called "確認中" (to be confirmed), and that number is not counted in the NHK numbers, but it is counted by MHLW. It doesn't completely explain the difference, but it is mostly that difference.
Not sure what we can do here, we trust the NHK numbers are more up to date so our daily count is accurate, but MHLW is probably more official in the long run.
See the cumulative & active numbers to see the discrepency.
https://data.covid19japan.com/explore/#


feat: Table metadata

This PR defines all structures necessary to represent Iceberg Table Metadata. The main focus lies on serialization and deserialization from JSON. Some functionality might need to be added later on.

I will add some more tests.

By integration tests you mean reading and writing an actual metadata.json file?

By integration tests you mean reading and writing an actual metadata.json file?

Yes, I mean the files quoted by @Fokko in #28

I can include it here. Where should I place the files for testing? Should I create a folder at the workspace level?

I can include it here. Where should I place the files for testing? Should I create a folder at the workspace level?

I see others projects usually put a 'testdata' folder alongside 'src' folder. That's similar to
'''
crates
iceberg
src
testdata
'''
cc @Xuanwo any other suggestions?

cc @Fokko PTAL

Left some comments, great work @JanKaul 🚀

Hi, @JanKaul I would suggest to add integration tests with json data in following pr. This pr is a little to large for me.

It seems that the V1/V2 suffix is not clear enough to show that they are only used for making ser/de easier to write, and caused some misunderstanding for reviewers. I would suggest two improvements:

Move structs for serde into private modules such as _serde
Add comments to explain that these are only for format conversion, not user facing api.

cc @JanKaul @Fokko

Good idea, thank you for your great comments!

To add some background here about the design philosophy here for reviews not familiar with rust:

All  structs with the suffix V1/V2 are used for making serializtion/deserialization easier to maintain. It's sth like handwritten schema definition of specs, and they will be discard after reading from/writing to disk file, and it's not user facing. Unlike java/python, rust has no runtime reflection, and the serializtion/deserialization codes are generated in compile time.

About access modifiers. pub in rust is similar to public in java, which means accessible to code outside of package. pub(crate)  is similar to default access modifier, which is only visible to codes in same package.

We have a discussion about the overall structure design in #2 #3
cc @Fokko Hope this comment can help you understand it better.


Why  windows only requiiess 12 GB of VRAM vs at least 16 GB VRAM required in Linux?

From the README:
Requirements for Windows 10: Nvidia 3060 12 GB
Requirements for Linux: Nvidia A10 24GB & Nvidia V100 16GB & Nvidia A100 40GB
How can it be so different?
Perhaps the authors meant to say the above is the hardware they could test the software on, and not strictly the requirements ?
Why with ChatGPT and all these crazy things we are seeing people are still falling for language barriers?

Sorry myfriend,
The difference in VRAM requirements is because, in the Chinese SDWEBUI community, there are many modified SDWEBUI integration packages suck as AKI that have optimized VRAM usage effectively. With their optimizations combined with some of Windows' VRAM swapping mechanisms, it is possible to run most features even with 12GB of VRAM. I have seen instances in the community where 8GB（even6GB but too slow） Windows systems successfully run most features. However, on Linux, the original SDWEBUI settings might cause the usage to spike to 13GB when running main features. If you can correctly set up --xformers, you might be able to run most features based on SD 1.5 with 12GB.**

If you meet some problem， we‘d like to help you solve those problem, and we are pleased to recieve you PR to improve our usage!


Update scalafmt-core to 2.7.3

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

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-minor

Codecov Report

Merging #14 into main will increase coverage by 6.66%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
+ Coverage   73.33%   80.00%   +6.66%
==========================================
  Files           2        2
  Lines          15       15
==========================================
+ Hits           11       12       +1
+ Misses          4        3       -1

Impacted Files
Coverage Δ

.../de/tobiasroeser/mill/vcs/version/VcsVersion.scala
50.00% <0.00%> (+50.00%)
:arrow_up:

Continue to review full report at Codecov.

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


Performance issues for  while netconf client create-subscribe

Hi Michal,
There is another issue for .
If a netconf client subscribe netconf-config-change notifications, edit-config a list with 10k entries, it will take a lot time.  about 30 second. if no netconf client subscribe, the time less than 1 second
The reason may be that it takes a lot of CPU time to generate netconf-config-change data.

The reason may be that it takes a lot of CPU time to generate netconf-config-change data.

Well, yeah, obviously, but there is nothing we can do about this. You may want to wait some time, we are going to implement yang-push very soon (which is basically a much more complex mechanism that replaces this notification) that should allow to handle use-cases such as this one with a smaller performance impact.


Getting a TypeError in waf.XssMatchTuple waf.py

Traceback (most recent call last):
File "cf_waf_ddos_elb_ssl.py", line 540, in
TextTransformation = "LOWERCASE"
TypeError: init() takes at least 2 arguments (1 given)
xss_body_detect_match_set = template.add_resource(waf.XssMatchSet(     "XssBodyMatchSet",     Name = "Find XSS in Body lowercase",     XssMatchTuples = [         waf.XssMatchTuple(             FieldToMatch = waf.FieldToMatch(                 Type = "BODY"             ),             TextTransformation = "LOWERCASE"         )     ] ))

Thanks. Please try the fix I just pushed.

Perfect this works. Thanks.


Can I know about the rank1 precision of the code?(such as on market1501)

I have build a similar project for person reid with pytorch? But somehow, my baseline's rank1 precision is not satisfying. So who could tell me the precision of this code, for example, evaluation on market1501 ?

https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluators.py#L82-L98

@zydou thanks, but what I want to know is the result of evaluation. what precision can it get? thanks!

Calculate mAP:
https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluation_metrics/ranking.py#L82-L83
Calculate CMC:
https://github.com/Cysu/open-reid/blob/3293ca79a07ebee7f995ce647aafa7df755207b8/reid/evaluation_metrics/ranking.py#L18-L22

Thank you @zydou for the answer!
Please feel free to reopen the issue if there are any further problems, @YunpengZhai


Be able to do code generation on file modification

As a developer, I want to have the TS auto-generated for me when I modify the Java files so that I don't have to restart the server or run a maven goal to get the updated TS code.
This was the behavior with the old generator but not the new generator yet.

Close this issue as it will be fixed automatically once #137 is fixed.


About 2D model

Any example to accept a 2D dataset?

Hi, unfortunately the code cannot be used off-the-shelf for a 2D dataset. For example, the medical.py environment assumes the scan is in 3D with a xyz coordinate system. If you would like to make a PR to support 2D datasetsmI'd be happy to review it.


Missing docblock in Customer

src/Model/Customer/Customer.php
return values of getDefaultShippingAddress and getDefaultBillingAddress not known to ide

Added the missing doc block. Also improved the annotation generator, so all getById methods are added to the collections with correct return type. Which improves support IDE support a lot.


Search Files blank after setup

Describe the bug
I cloned the repo and ran nvim. Setup ran. No idea if to completion. It finished with a message about "tree splitter" having been installed. Then I closed and re-opened nvim. Using file search via "space sf" shows a blank list in every directory.
telescope: require("telescope.health").check()

Checking for required plugins ~
- OK plenary installed.
- OK nvim-treesitter installed.

Checking external dependencies ~
- OK rg: found ripgrep 12.1.0 (rev 1980630f17)
- OK fd: found fd 8.3.1

===== Installed extensions ===== ~

Telescope Extension: `fzf` ~
- OK lib working as expected
- OK file_sorter correctly configured
- OK generic_sorter correctly configured

To Reproduce

Run setup according to readme
press "space sf"

Desktop

OS: 5.15.0-76-generic #83-Ubuntu SMP Thu Jun 15 19:16:32 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Terminal: Konsole

Neovim Version
:version
NVIM v0.9.1
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Compilation: /usr/bin/cc -O2 -g -Og -g -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fno-
common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -fstack-protector-strong -DUNIT_TESTING -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -I/build/nvim/parts/nvim/build/.deps/usr/include/luajit-2.1 -I/usr/inclu
de -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/build/src/nvim/auto -I/build/nvim/parts/nvim/build/build/include -I/build/nvim/parts/nvim/build/build/cmake.config -I/build/nvim/parts/nvim/build/src -I
/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include -I/build/nvim/parts/nvim/b
uild/.deps/usr/include -I/build/nvim/parts/nvim/build/.deps/usr/include

Updating to
NVIM v0.10.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3
Run "nvim -V1 -v" for more info
Solves it.


Advanced Paste Suggestion

Description of the new feature / enhancement
Much like plain paste i would love if it also has a Paste as Keystrokes Option,
Scenario when this would be used?
pasting into Paste disabled Forms/locations
Supporting information
Code i currently use Via AutoHotkey
^#Numpad1::
SendRaw %Clipboard%

Love this suggestion! There are forms and other elements , for whatever reason, don’t allow pasting. This would be a fantastic bypass. As these forms tend to be secure or password field oriented, it might not hurt to include an option, along with it to remove the entry from the clipboard once pasted.

@AbbynatorNZ - did you happen to see https://github.com/CoreyHayward/PowerToys-Run-InputTyper? You could just paste into PowerToys Run, after the activation command, "@@".
I'd love to see this implemented natively into the Advanced Paste tool, as the tool itself implies it can be used for password fields, and I'd prefer not to leave that to a third-party developer.


Huge FPS decrease when browsing plugins

Huge FPS decrease when browsing plugins.
FPS drastically decreases if you're scrolling through plugin menu.

Do you have the FPS control plugin's limit mode set to unfocused? If that's not it then try this.


rebuilding data model, Profile.js, Food.js,resolvers.js, updating ind…

rebuilding data model, Profile.js, Food.js,resolvers.js, updating index.js"

closed


Missing CRS for HPC locations

When running the standard potential scenario with python -m tracbev potential_scenario --mode potential the CRS for the HPC output is missing. I did not check it for other scenarios.

This issue seems to stem from the input file hpc_positions.gpkg having an undefined crs. This could be hotfixed via the set_crs function, but that would not lead to consistent behaviour with custom input data. As a solution I propose fixing the input data set and using that opportunity to update the input data with the newest information for existing charging infrastructure. As such I will close this Issue and instead work on it in Issue #29


Fix alpha bugs to handle duplicate f/, nf/ prefixes, enforce empty inputs after f/ and nf/, and grammer issues

Fixes #156, closes #155, fixes #134
Made changes stated in the title for:
add: No duplicate f/, require empty input tokenised under f/
edit: No duplicate f/ and no duplicate nf/, require empty input tokenised under f/, require empty input tokenised under nf/
find: Require empty input tokenised under f/
Questions/Clarifications
Do we have to disallow duplicate f/ in find? I was thinking if the find command is too long then the user might not be able to check back effectively if an f/ is stated before so he/she can just add it multiple times.

currently if i dont use nf/ at the end of the command then i get an error. is this expected?

currently the system is unreponsive when i try to find an invalid telegram handle.

currently if i dont use nf/ at the end of the command then i get an error. is this expected?

currently i dont intend for add to support the nf/ prefix, but i think it makes sense to include it as well for consistency across the commands. thanks for pointing out, will fix this!


multicore_lockout_start_blocking assertion failure v1.4.0 and v1.4.1

Similar with an old closed issue: #687
EDIT: Workaround found (check the bottom)
assertion "us_since_boot <= INT64_MAX" failed: file

Version of SKD:

I tried Master with SDK 1.4.0
And Develop with 1.4.1

The repo where I have the code is here, is a pretty complex one

core 0 is handling wifi and tcp socket server
core 1 is handling some service specific data, in the case where I tried the functions is for an adjustable desk

Repo: https://github.com/RaresAil/pico-w-template/tree/feat/flash-saving-data
Called from the main thread of core 1:
void save_flash_data() {
  uint8_t* bytes = (uint8_t*) &flash_data;
  int data_size = sizeof(flash_data);

  printf("[Flash] Programming flash (Size: %d)\n", data_size);

  printf("[Flash] Requesting core 0 to pause\n");
  multicore_lockout_start_blocking(); // ERROR HERE
  printf("[Flash] Locking core 1\n");

  uint32_t interrupts = save_and_disable_interrupts();
  flash_range_erase(FLASH_TARGET_OFFSET, FLASH_SECTOR_SIZE);
  flash_range_program(FLASH_TARGET_OFFSET, bytes, FLASH_PAGE_SIZE);
  restore_interrupts(interrupts);

  printf("[Flash] Unlocking core 1\n");
  multicore_lockout_end_blocking();
  printf("[Flash] Releasing core 0\n");
  printf("[Flash] Done.\n");
}

At the beginning of core 0 in main
  multicore_launch_core1(core1_entry);
  multicore_lockout_victim_init();

Workaround
Instead of using multicore_lockout_end_blocking and multicore_lockout_start_blocking i managed to get it working by using the timeout version of them:
// 10 years in microseconds
#define MULTICORE_LOCKOUT_TIMEOUT (uint64_t)10 * 365 * 24 * 60 * 60 * 1000 * 1000

const bool locked = multicore_lockout_start_timeout_us(MULTICORE_LOCKOUT_TIMEOUT);

if (locked) {
  uint32_t interrupts = save_and_disable_interrupts();
  flash_range_erase(FLASH_TARGET_OFFSET, FLASH_SECTOR_SIZE);
  flash_range_program(FLASH_TARGET_OFFSET, bytes, FLASH_PAGE_SIZE)
  restore_interrupts(interrupts);
  bool unlocked = false;

  do {
    unlocked = multicore_lockout_end_timeout_us(MULTICORE_LOCKOUT_TIMEOUT);
  } while(!unlocked);
}

are you definitely sure you tried this with 1.4.1?

are you definitely sure you tried this with 1.4.1?

I used the develop branch when building and tried but the same issue

Hitting the same issue here on 1.4.0 FWIW. Will try on develop tomorrow at some point.


This is a .uasset of a game called Tower of fantasy. As you can see in the picture below, on the left side, Export1 contains Datatable with one item, and TableInfo contains 207 items. According to the official GitHub tutorial code, only the DataTable can be obtained, and the content of TableInfo cannot be obtained. How can I modify the code to obtain the content of TableInfo?

SOS！
This is a .uasset of a game called Tower of fantasy. As you can see in the picture below, on the left side, Export1 contains Datatable with one item, and TableInfo contains 207 items. According to the official GitHub tutorial code, only the DataTable can be obtained, and the content of TableInfo cannot be obtained. How can I modify the code to obtain the content of TableInfo?
Thank you so much！

using UAssetAPI.ExportTypes;
using UAssetAPI.PropertyTypes.Structs;
using UAssetAPI.PropertyTypes.Objects;
using UAssetAPI.UnrealTypes;
using UAssetAPI;
using System;

class Program
{
    static void Main(string[] args)
    {
        UAsset myAsset = new UAsset("C:\\FashionDataTable.uasset", EngineVersion.VER_UE4_26);

        Console.WriteLine(myAsset.Exports.Count);//1
        System.Type myType = myAsset.Exports[0].GetType();
        NormalExport myExport = (NormalExport)myAsset.Exports[0];
        Console.WriteLine(myType);//UAssetAPI.ExportTypes.DataTableExport
        Console.WriteLine(myAsset.Exports[0].ObjectName);//FashionDataTable

        Console.WriteLine(myExport.Data.Count);//1//God！it only has one thing .How is that possible!!
        Console.WriteLine(myExport["RowStruct"]);//-9//"RowStruct" is the name of the only property this program can read
        //Console.WriteLine(myExport["fashin_dress_61"])//It will be wrong! There is no property whose name is "fashin_dress_61",
        // but obviously there is one (just as you can see in the picture)!
        foreach (ObjectPropertyData myStruct in myExport.Data)
        {
            Console.WriteLine(myStruct);//-9
        }
    }
}

FashionDataTable.zip

The files are at the end.

Tower of fantasy is a MMO game with pvp, we don't support modding this kind of games


Target DB placeholder not available during singledb mode parsing

Describe the bug
While parsing a function (yaml with !include, sql file in sql/my_file.sql) i get back an error ValueError: Unknown placeholder [TARGET_DB]
Expected behavior
According to the docs, this placeholder should always be available when the parameter --target-db is passed.
Can't attach log or yaml config sadly - however I was able to pinpoint the issue:
In singledb init_config the call config=super().init_config() happens before the target_db placeholder is set. Then, in super.init_config, the attempt to parse blueprints happens at line 281-282. This fails because of the missing target db placeholder.
Hopefully that is enough context. Let me know. I will try passing in the placeholder explicitly via command line until this is fixed.

@AndreiTapai , should be fixed in 0.25.3.
Placeholder TARGET_DB is now set earlier, so it can take effect before parsing of YAML configs. But argument --target-db must be set explicitly for this placeholder to work.
Thank you for pointing this out. We do not use SingleDB mode internally, so some issues might be present. I'll see if I can add more tests regarding to SingleDB mode specifically.

This worked. Thank you for the update.


Jetson Orin NX - USB Camera not detected

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, feature request, or anything other than a bug report directly related to this project.

Description
ZED Diagnostic Tool

Cannot find CUDNN Diagnostic : 35%
- Running ZED SDK Diagnostic : Warning
    Object detection module corrupted. Please reinstall the ZED SDK and enable the Object Detection option.
    ZED SDK version: 4.0.8
    CUDA version: V11.4.315
- Running Processor Diagnostic : OK
    Processor:   ARMv8 Processor rev 1 (v8l)
    Motherboard:  NVIDIA orin_nx by PCB Arts, Unknown
Error: unable to open display stic : 50%
- Running Graphics Card Diagnostic : OK
    Graphics card:  Orin
FileLocker - Thread<PHONE_NUMBER>21792 - UNLOCK - Already unlocked.
FileLocker - Thread<PHONE_NUMBER>21792 - UNLOCK - Already unlocked.
- Running Devices Diagnostic : Warning
    No GMSL driver found. USB camera are not impacted by this.
FileLocker - Thread<PHONE_NUMBER>21792 - UNLOCK - Already unlocked.
FileLocker - Thread<PHONE_NUMBER>21792 - UNLOCK - Already unlocked.
- Running Camera Test Diagnostic : Failed
    Camera not detected  Make sure the camera is plugged in or try another USB 3.0 port.

Diagnostic finished, a file has been generated : ZED_Diagnostic_Results.json

ZED_Diagnostic_Results_201223.txt
We're having a own NVIDIA Jetson based hardware, which has an Orin NX 16GB included. Between the Jetson Orin and the Camera we're using a USB Hub "VL822-Q7" from ViaLabs, it is an USB 3.1 Hub, which delivers enough power per Port and the bandwidth is also verified. There is running a JetPack 35.3.1 on the Hardware, we've installed this package "ZED_SDK_Tegra_L4T35.3_v4.0.8.zstd.run"
When plugging it into a USB Port (or rebooting it via the Python API), i got the following dmesg output:
[527183.768818] usb 1-2.4.2: reset full-speed USB device number 11 using tegra-xusb
[527183.882919] hid-generic 0003:2B03:F881.000B: hiddev96,hidraw0: USB HID v1.11 Device [STEREOLABS ZED-2i HID INTERFACE] on usb-3610000.xhci-2.4.2/input0
[527184.226823] usb 2-1.4: USB disconnect, device number 14
[527184.288911] usb 1-2.4.2: USB disconnect, device number 11
[527185.024217] usb 1-2.4.2: new full-speed USB device number 12 using tegra-xusb
[527185.136551] usb 1-2.4.2: New USB device found, idVendor=2b03, idProduct=f881, bcdDevice= 3.09
[527185.136561] usb 1-2.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[527185.136565] usb 1-2.4.2: Product: ZED-2i HID INTERFACE
[527185.136568] usb 1-2.4.2: Manufacturer: STEREOLABS
[527185.136572] usb 1-2.4.2: SerialNumber: 31855993
[527185.144723] hid-generic 0003:2B03:F881.000C: hiddev96,hidraw0: USB HID v1.11 Device [STEREOLABS ZED-2i HID INTERFACE] on usb-3610000.xhci-2.4.2/input0
[527185.205087] usb 2-1.4: new SuperSpeed Gen 1 USB device number 15 using tegra-xusb
[527185.229175] usb 2-1.4: config 1 has an invalid descriptor of length 0, skipping remainder of the config
[527185.239256] usb 2-1.4: config 1 has 1 interface, different from the descriptor's value: 2
[527185.248095] usb 2-1.4: config 1 interface 0 altsetting 0 has 0 endpoint descriptors, different from the interface descriptor's value: 1
[527185.262940] usb 2-1.4: New USB device found, idVendor=2b03, idProduct=f880, bcdDevice= 1.00
[527185.262943] usb 2-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[527185.262946] usb 2-1.4: Product: ZED 2i
[527185.262947] usb 2-1.4: Manufacturer: Technologies, Inc.
[527185.262949] usb 2-1.4: SerialNumber: OV0001
[527185.268204] uvcvideo: Found UVC 1.10 device ZED 2i (2b03:f880)

We got, as expected, the SuperSpeed USB for the ZED 2i Camera.
Also the lsusb -t looks good:
root@edgekit-desktop:/home/edgekit# lsusb -t
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 10000M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 10000M
        |__ Port 4: Dev 15, If 0, Class=Video, Driver=uvcvideo, 5000M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 480M
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/5p, 480M
        |__ Port 4: Dev 9, If 0, Class=Hub, Driver=hub/2p, 480M
            |__ Port 2: Dev 12, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 5: Dev 4, If 0, Class=, Driver=, 480M

In the lsusb view, however i didn't see the correct ZED names:
Bus 002 Device 015: ID 2b03:f880
Bus 002 Device 002: ID 2109:0822 VIA Labs, Inc. USB3.1 Hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 2109:8822 VIA Labs, Inc.
Bus 001 Device 012: ID 2b03:f881 VIA Labs, Inc.          USB2.0 Hub
Bus 001 Device 009: ID 0424:2512 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 2109:2822 VIA Labs, Inc. USB2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Steps to Reproduce

Plug in the Camera

Expected Result
Running the camera & ZED_Diagnostic -c without any issue.
Actual Result
Camera not detected  Make sure the camera is plugged in or try another USB 3.0 port."
ZED Camera model
ZED2i
Environment
OS: Ubuntu 20.04 focal
Module: NVIDIA Jetson Orin NX (16GB ram)
Release: 5.10.104-tegra
CUDA: 11.4.315

Anything else?
When interacting with the Python API and i want to receive some data from the camera, i got the following output in the dmesg:
[526519.935081] tegra-i2c 3190000.i2c: I2C transfer timed out
[526520.047077] tegra-i2c 31b0000.i2c: I2C transfer timed out
[526520.159076] tegra-i2c 31c0000.i2c: I2C transfer timed out
[526520.270816] tegra-i2c 31e0000.i2c: I2C transfer timed out

Please use the official customer support channels<EMAIL_ADDRESS>or https://community.stereolabs.com/
GitHub issues should be used to report problems of the repository they refer to.

Were you able to find a solution to this issue @saberkaygusuz ?


CTL-994 Fixed DesignPersonViewModel so it can be used to populate PersonWindow class with sample data at design-time

Changes proposed in this pull request:

CTL-994 Fixed DesignPersonViewModel so it can be used to populate PersonWindow class with sample data at design-time.
Regarding to current master branch,did some balance adjustment on PersonViewModel between Fody.Exposed properties and regular dependency properties. In short, FirstName and MiddleName are still using Fody.Expose, LastName became a regular dependency property along with Genre. This way the sample code provides both flavours easing the decision on learning

Looks good, thanks!


how can I reset placeholder

place holder is (year)-(month)-(date) now, how can I use datetimePlaceholder  to reset it ?

datetimePlaceholder is a plain object. You can modify its properties in config phase. For example:
https://plnkr.co/edit/cTHSYNlh1bHVqyxFR43o?p=preview


Licence?

Hello Yang,
How do you intend to licence super-maria? Once decided could you please add the licence file?

here you go =)
https://github.com/yang-wei/super-maria/blob/master/LICENSE.md

Thank you, sir!


Ingestion md docs review

Describe your changes:
Aligning style and some fixes on the md docs

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Thanks for going through the different pieces of the doc. What is the changes related to Pulsar connection?

We had it listed in the UI as a possible connector, although it has no implementation. I am removing it from the MessagingServices possible types and thus, have to update all the places where it was actually being used (mostly tests)


Clear forcerename monitor names on namelock more completely

Okay, now this one I don't get. Is the entire list of usernames namelocked? Is that why you're doing this?

Yes, (i think) that that list of names will namelock on login, so reporting isn't necessary

I still think it makes more sense not to report any names that are namelocked on login, rather than manually clearing them all here.

I don't think that's possible without changing when the namefilter is checked, they're not namelocked at that point

The simple solution is to move the reporting to outside of the namefilter check.

And/or check namelocks before namefilter.

Can I move it to a loginfilter?

That's a possibility.

bump?


Fix bug in BindingsArray.__getitem__()

Summary
This PR fixes a critical bug in BindingsArray.__getitem__() that causes this method not to work at all, and adds tests for it.
Details and comments
The tests that used to test the behaviour of this function were somehow removed in the process of porting this class into Qiskit from a prototype library. This bug was introduced by #11642.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
11 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.02%) to 89.229%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/expr.rs
1
93.81%

crates/qasm2/src/lex.rs
4
92.44%

crates/qasm2/src/parse.rs
6
97.62%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
58845

Relevant Lines:
65948

💛  - Coveralls


Two mathml rules were causing errors during string generation due to …

…too large min/max values.
Removed those rules
Sample generating was failing at line 231 in grammar.py due to calling chr() on values > than 255. These values were due to two rules in mathml that set large min and max values for htmlsafestring.

Traceback (most recent call last):
File generator.py", line 244, in
main()
File generator.py", line 216, in main
generate_samples(template, [args.file])
File generator.py", line 180, in generate_samples
result = generate_new_sample(template, htmlgrammar, cssgrammar, jsgrammar)
File generator.py", line 110, in generate_new_sample
html = htmlgrammar.generate_symbol('bodyelements')
File grammar.py", line 578, in generate_symbol
return self._generate(name, context, 0)
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 508, in _expand_rule
File grammar.py", line 431, in _generate
File grammar.py", line 490, in _expand_rule
expanded = self._built_in_typespart['tagname']
File grammar.py", line 235, in _generate_html_string
return _escape(self._generate_string(tag), quote=True)
File grammar.py", line 231, in _generate_string
for _ in range(length)]
ValueError: chr() arg not in range(256)

Thanks for catching!


Ghost fetches assets from non-www url, violating my CSP policy

Issue Summary
When I visit my website at somedomain.com, everything works as intended. However, if I visit at www.somedomain.com, Ghost seems to only fetch assets from somedomain.com which violates my CSP policy, and all of the assets are blocked. Notable, this issue only cropped up after I migrated the blog from Ghost 1.22 -> 2.38 -> latest

A slightly redacted copy of my nginx config file for this blog:
server {
	listen 443 ssl;

	server_name somedomain.com www.somedomain.com;
	server_tokens off;

	ssl_certificate     /etc/letsencrypt/live/somedomain.com/fullchain.pem;
	ssl_certificate_key /etc/letsencrypt/live/somedomain.com/privkey.pem;

	ssl_dhparam /etc/ssl/certs/dhparam.pem;
	ssl_prefer_server_ciphers on;
	ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
	ssl_ciphers ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:RSA+AESGCM:RSA+AES:!aNULL:!MD5:!DSS;

	add_header Content-Security-Policy "default-src https: 'unsafe-inline' 'unsafe-eval'; img-src 'self' data:";
	add_header Referrer-Policy "no-referrer-when-downgrade";
	add_header Strict-Transport-Security "max-age=31536000; includeSubDomains";
	add_header X-Content-Type-Options "nosniff" always;
	add_header X-Frame-Options "SAMEORIGIN";
	add_header X-XSS-Protection "1; mode=block" always;

	location / {
		proxy_set_header Host $host;
		proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
		proxy_set_header X-Forwarded-Proto https;
		proxy_set_header X-Real-IP $remote_addr;
		proxy_pass http://localhost:1000;
	}
}

server {
	listen 80;
	server_name somedomain.com www.somedomain.com;
	return 301 https://$host$request_uri;
}

To Reproduce

Setup a Ghost blog via the Docker image ghost:latest
Terminate SSL via reverse proxy using above config

Any other info e.g. Why do you consider this to be a bug? What did you expect to happen instead?


Examples in List are actually Arrays

The problem
Here are the examples in the intro to List:
my @a = 1, 2, 3;

They are actually Arrays:
my @a = 1, 2, 3;
say @a.^name ;# OUTPUT: «Array␤»

Suggestions
Revise the examples and fix them.

I gave it a try at fixing the examples.
my $s = (1, 2, 3);
for $s { }      # one iteration
for $s.list { } # three iterations

my $t = [1, 2, 3];
for $t { }      # one iteration
for $t.list { } # three iterations

my @a = 1, 2, 3;
for @a { }      # three iterations
for @a.item { } # one iteration

my $a = (1, 2, 3);
my $nested = ($a, $a);  # two elements

my $flat = $nested.map({ .Slip });  # six elements, with explicit Slip

my @b = <a b>;
@b.append: $a.list;     # The array variable @b has 5 elements, because
                        # the list $a is the sole argument to append

say @b.elems;           # OUTPUT: «5␤»

my @c = <a b>;
@c.append: $a.list, 7;  # The array variable @c has 4 elements, because
                        # the list $a wasn't the only argument and thus
                        # wasn't flatten by the append operation

say @c.elems;           # OUTPUT: «4␤»

my @d = <a b>;
@d.append: $a;          # The array variable @d has 3 elements, because
                        # $a is an itemized list and as far as append is
                        # concerned a single element

say @d.elems;           # OUTPUT: «3␤»

BTW, the sentence "The difference is that ... element, as long as it's part of another ." seems to be incomplete.

El jue., 21 mar. 2019 a las 20:06, Luis F. Uceta<EMAIL_ADDRESS>escribió:

I gave it a try at fixing the examples.
my $s = (1, 2, 3);
for $s { }      # one iteration
for $s.list { } # three iterations
my $t = [1, 2, 3];
for $t { }      # one iteration
for $t.list { } # three iterations
my @a = 1, 2, 3;
for @a { }      # three iterations
for @a.item { } # one iteration
my $a = (1, 2, 3);
my $nested = ($a, $a);  # two elements
my $flat = $nested.map({ .Slip });  # six elements, with explicit Slip
my @b = ;
@b.append: $a.list;     # The array variable @b has 5 elements, because
                    # the list $a is the sole argument to append

say @b.elems;           # OUTPUT: «5␤»
my @c = ;
@c.append: $a.list, 7;  # The array variable @c has 4 elements, because
                    # the list $a wasn't the only argument and thus

                    # wasn't flatten by the append operation

say @c.elems;           # OUTPUT: «4␤»
my @d = ;
@d.append: $a;          # The array variable @d has 3 elements, because
                    # $a is an itemized list and as far as append is

                    # concerned a single element

say @d.elems;           # OUTPUT: «3␤»

As long as they are well explained, it's OK.

BTW, the sentence "The difference is that ... element, as long as it's
part of another ." seems to be incomplete.

Right.


CheckboxesElement within ActionsBlock silently fails to render when initial_options does not exactly match a given Option in the element's options list

I'm building a form that gets pushed onto a modal's view. One of the blocks within that form is an ActionsBlock, and within that block is a CheckboxesElement. Up until today, this modal view was rendering just fine.
Over the course of the day today, I had updated one of the CheckboxesElement's description fields, forgetting to update the corresponding initial_options list of Options to match. I then continued about refactoring some other code in the codebase, forgetting that I had made that change.
Later on, when I went to run my application and load that form, it would just silently fail. There were no exceptions in the logs, just Slack showing in the UI "We had some trouble connecting. Try again?". After much hand-wringing and debugging, I went back to the original CheckboxesElement and realized that the Option I had updated in the options field of CheckboxesElement didn't exactly match the Option in the initial_options field of CheckboxesElement. Once I updated that, the form began rendering again.
Obviously this was my mistake, so I don't necessarily think that this is a bug. However - it would be ideal if, when trying to render the view, it would pass back some kind of validation error from the API so that I could find the issue and fix it. It took an embarrassingly long time to figure out what I did wrong, so I'd like to save others from a similar fate :)
Category (place an x in each of the [ ])

[ ] slack_sdk.web.WebClient (sync/async) (Web API client)
[ ] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
[x] slack_sdk.models (UI component builders)
[ ] slack_sdk.oauth (OAuth Flow Utilities)
[ ] slack_sdk.socket_mode (Socket Mode client)
[ ] slack_sdk.audit_logs (Audit Logs API client)
[ ] slack_sdk.scim (SCIM API client)
[ ] slack_sdk.rtm (RTM client)
[ ] slack_sdk.signature (Request Signature Verifier)

Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Or - perhaps when the View() is being serialized to be sent over the wire, it should tell me if it can't find an exact match of all initial_options in the options field. That would save y'all from updating the API, and it would make it easier to find this problem from stepping through the code.

Over the course of the day today, I had updated one of the CheckboxesElement's description fields, forgetting to update the corresponding initial_options list of Options to match. I then continued about refactoring some other code in the codebase, forgetting that I had made that change.

This has happened to me as well!
You raise an interesting suggestion @macintacos - it'd be nice if the SDK could be more helpful in this way, appreciate you writing it up and giving us your feedback! I've opened this issue to track the suggestion separately, and close this one up. 🙇♀


Lure 5 Enchant not working with gofish

I am playing the "better minecraft" modpack and the Lure 5 fishing rod doesn't catch anything when you have the lure and golden fish in you inventory from the mod gofish. So technically I should be getting lure 7 but I do not catch anything at all.

This is a vanilla bug. Anything above Lure 5 doesn’t work.


Reset Scan Default Home Page URL Changed

Source information
Reset Scans 1.4.42
Source language
English
Source new URL
https://rspro.xyz/home/
Other details
Previously the home page URL was "https://rspro.xyz".
Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

The #5340 issue is the site of their beta website design. Currently this is the website they are now updating the manga's.

Auto-closed cause the site is technically still on the same link


Upgrading to CLI 1.0.0-preview5-004432

CLI is now based on 1.0.3 therefore we no longer need to explicitly install the 1.0.3 runtime for the 1.0 images.  Additionally the latest CLI now supports Nano Server again therefore the nano images were updated to use the latest preview5 CLI.

:shipit:


Extract blocks/elems/mods/mixes from html

Is it possible to fetch deps data in a common bem-decl format?
To pass after as a parameters to bem-deps to resolve a list of only needed blocks/elems/mods.
p.s. Guess this is wrong repo because it's based on parsed AST from posthtml... But do you mind by self about building only needed parts into the bundle files (js/css)?

It possible ;) https://github.com/rajdee/posthtml-bem/blob/master/index.js#L19-L75
Decl output from to file?
p.s. this repo about HTML only now


fs: nffs: during inode update the file name might be corrupted

While inode is updated it is possible that Garbage Collection
is called which caused overwrite of inode's filename as the same
buffer was used to keep the filename and copping data in GC.
bug was spoted in zephyr copy of nffs: https://github.com/zephyrproject-rtos/zephyr/issues/9749
Patch is here: https://github.com/apache/mynewt-nffs/pull/9

Fixed and merged on https://github.com/apache/mynewt-nffs/pull/9


Fix hashFn reference

Something has changed in the structure of the input trees, hashFn was always returning undefined so we would have the same hash on our vendor.js file but not the same content which is bad! I tested in ember-cli 2.3.0-beta.1 and 1.13.8 and both work as expected.

We've significantly refactored the addon implementation, so this PR is now out of date. Please open an issue if you believe your issue hasn't been fixed as of 0.2.0-beta.1. Thanks!


docs: Updated Mission Statement

Updated mission statement as discussed on gitter
It is ready for review and merge

Codecov Report

Merging #1276 (ee8b565) into master (7ef0808) will decrease coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1276      +/-   ##
==========================================
- Coverage   84.96%   84.89%   -0.07%
==========================================
  Files         174      174
  Lines       10977    10973       -4
  Branches     1822     1822
==========================================
- Hits         9327     9316      -11
- Misses       1280     1288       +8
+ Partials      370      369       -1

Impacted Files
Coverage Δ

dffml/util/data.py
72.92% <0.00%> (-2.77%)
:arrow_down:

tests/util/test_net.py
98.30% <0.00%> (-1.70%)
:arrow_down:

dffml/noasync.py
78.94% <0.00%> (-1.06%)
:arrow_down:

dffml/base.py
83.81% <0.00%> (-0.29%)
:arrow_down:

dffml/util/testing/consoletest/commands.py
60.74% <0.00%> (-0.09%)
:arrow_down:

dffml/source/df.py
57.62% <0.00%> (ø)

dffml/source/dfpreprocess.py
75.60% <0.00%> (ø)

Continue to review full report at Codecov.

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

IDK how coverage is affected by this 🤔
All other failing tests are either failing on master as well or are not valid for this PR like changelog lint.


Adding documentation of Interface to Contract documentation

Hi, again :)
I have a case of a contract with an interface.
The interface defines an event.
The event in the interface is documented and shown in the created documentation.
Documentation is set to create an md file for every sol file.
The md-file for the contract does not list the events.
Since evens can not be overridden in the contracts i can not use inheritdoc.
Is there a way to use inheritdoc or any other way to inject the documentation of the event from the interface to the contract?

Yes, this kind of use case is where you should get into writing helpers. You can implement a helper that given a contract finds all of its parents and extracts all inherited events.

Here's a way which you could get what you want.
hardhat.config.js
...
  docgen: {
    templates: 'docgen',
  },
...

docgen/helpers.js
const { findAll } = require('solidity-ast/utils');

module.exports = {
  eq: (a, b) => a === b,

  /** @this {import('solidity-docgen').DocItemWithContext} */
  allEvents() {
    if (this.nodeType === 'ContractDefinition') {
      const { deref } = this.__item_context.build;
      const parents = this.linearizedBaseContracts.map(deref('ContractDefinition'));
      return parents.flatMap(p => [...findAll('EventDefinition', p)]);
    }
  },
};

docgen/contract.hbs
{{>common}}

{{#each (allEvents)}}
{{#hsection}}
{{>item}}
{{/hsection}}
{{/each}}

{{#each items}}
{{#unless (eq nodeType "EventDefinition")}}
{{#hsection}}
{{>item}}
{{/hsection}}
{{/unless}}

{{/each}}

I realize it should be a little easier but I'm learning from this, still figuring out how to best enable this kind of customization, which I think is really important.

That works thx you are a lifesaver.
I can not speak for typescript/javascript but what I would do in C# create a class that has all the properties used in the hbs files (items, parameters, functions, ...). I would use this class with an injection framework in my project and made it the default class in the configuration if nothing eles is configured. I would then allow users to override the class and allow users to inject the customized class instead of the original one with the config.
I suspect with typescript this could be even done in an typesafe way. The logic of finding event, functions,... would be in that class an there would be an easy way to customize some or all functionality in an easy way. There is even the possibility to  provide variants of the class with preset use cases like only get events, functions from the actual file or from all files in the inheritance path.

@frangio One last thing since I prefer typescript over javascript I played a bit to create a minimal typescript version for the helper.
I could not find any location where eq would be called so I skipt the implementation the helpers.ts I came up with looks like
import { ContractDefinition, EventDefinition } from "solidity-ast";
import { Node } from "solidity-ast/node";
import { ASTDereferencer, findAll } from "solidity-ast/utils";
import { DocItemWithContext, DOC_ITEM_CONTEXT } from "solidity-docgen/dist/site";

export function allEvents(this: DocItemWithContext)
{
	if (this.nodeType ===  "ContractDefinition")
	{
		const deref: ASTDereferencer = this[DOC_ITEM_CONTEXT].build.deref;
		const parents: ContractDefinition[] = this.linearizedBaseContracts.map(deref("ContractDefinition"));

		const r: EventDefinition[] = parents.flatMap((p: Node) => [...findAll("EventDefinition", p)]);
		// console.log(`Events: ${this.canonicalName} -> ${r.map(e => e.name)}`);
		return r;
	}
}
```
In project using ts-node there is no need to call tsc and even debugging the helper works fine :)

eq is called in {{#unless (eq nodeType "EventDefinition")}} in the template I shared above!
That's great that you were able to set it up TypeScript though!


Remove unsubscription if subscription failed

Currently, when a microservice starts it tries to subscribe to a discovery service already running.
Also, if the microservice crashes it tries to unsubscribe from the discovery service.
Thus, an inconsistency occurs when the microservice crashes due to a
minos.networks.exceptions.MinosDiscoveryConnectorException: There was a problem while trying to subscribe.
The problem is it could not subscribe, but when it crashes it tries to unsubscribe causing a
minos.networks.exceptions.MinosDiscoveryConnectorException: There was a problem while trying to unsubscribe.

Hi @albamig! As that behaviour comes from minos.common.MinosSetup I'll proceed to close this issue because it will be resolved when https://github.com/Clariteia/minos_microservice_common/issues/446 is done!


sngrep: 1.4.8 -> 1.4.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/irontec/sngrep/releases.
meta.description for sngrep is: "A tool for displaying SIP calls message flows from terminal"
meta.homepage for sngrep is: "https://github.com/irontec/sngrep"
meta.changelog for sngrep is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

/nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9/bin/sngrep passed the binary check.

1 of 1 passed binary check by having a zero exit code.

1 of 1 passed binary check by having the new version present in output.

found 1.4.9 with grep in /nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9

found 1.4.9 in filename of file in /nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9

directory tree listing: https://gist.github.com/8ccd1a35235afa5924afa2a5d5c3f7ac

du listing: https://gist.github.com/e0177490fb5b7744e8c38882a31b6708

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
sngrep

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sngrep https://github.com/r-ryantm/nixpkgs/archive/1535510190c21675619f27647f63dde91bccc2cf.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9
ls -la /nix/store/a329zs7aakm3nsnlnxzf9wfkf85hmlpj-sngrep-1.4.9/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

sngrep

Maintainer pings
cc @JorisE for testing.

Result of nixpkgs-review pr 134582 run on x86_64-linux 1

1 package built:

sngrep

Result of nixpkgs-review pr 134582 at 15355101 run on x86_64-linux 1

1 package built successfully:

sngrep

1 suggestion:

warning: unclear-gpl
gpl3 is a deprecated license, please check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/networking/sniffers/sngrep/default.nix:34:5:
   |
34 |     license = licenses.gpl3;
   |     ^


[DEVOPS-529] Buildkite migration

This is ready for review now. It's building and signing on Travis and Buildkite.
I have rebased the branch onto release/0.9.0 and changed the PR merge target. For reference, the original branch is pushed to devops-529-buildkite-unsquashed, and we can delete it later.

@rvl, the idea is that both Travis CI and Buildkite pass -- and oddly I'm not seeing the CI reports at all..

I can see them:
https://buildkite.com/input-output-hk/daedalus/builds/133
https://ci.appveyor.com/project/jagajaga/daedalus/build/0.9.4356
https://ci.appveyor.com/project/jagajaga/daedalus/build/0.9.4357
https://travis-ci.org/input-output-hk/daedalus/builds/336446510?utm_source=github_status&utm_medium=notification
https://travis-ci.org/input-output-hk/daedalus/builds/336446492?utm_source=github_status&utm_medium=notification

Apparently the GitHub hook integration has regressed..

Nevermind -- I was thrown off the scent by a slight UI oddity -- not seeing the per-commit status marks.

@rvl, looks great!

I'm confused about the versions (commit 617c6906e7135bf2f8d2437629defc7d38569c84).
I thought daedalus version is 0.9 and cardano version is 1.1.
The version here affects the filename of the installer package. In the daedalus installer filename, should the version number correspond to daedalus or cardano?

For historical reasons we used cardano version for installer and it would confuse users if we switch now to daedalus.

OK fair enough. I have updated the versions.

New commits on this branch since last review: 24a9fe68a9ff7edf790cefe5b0ade4cbbd0fd945..a148aa86f12cdf42f5f93536ba67990e71d36dc3

I think we still need signing on travis to make sure that if buildkite doesn't work we can use those installers for hotfixes :(

OK, good point, will address that.

@domenkozar Added two more commits to re-enable travis signing. Buildkite build fail is just due to the missing cert.


[JAVA] Implement all the API calls

We are working on a Java CORE API client.
We have a workflow setup and we need help in finishing the implementation of all the rest call through the APIs, have a look at the README on the project page.
A full Swagger documentation of the API is available at https://core.ac.uk/docs.
A usage example can be found here.
Pull requests and feedback through the issues panel are highly encouraged and appreciated.
We need help in documenting and in implementing the rest of the calls.

@giorgiobasile helped us build a Java API clien: oacore4j [https://github.com/oacore/oacore4j].
Please head to the repository to see how to contribute and help us finalised the Java API client.


where is the channel.rs source code that corresponds to QueueDeclareOptions?

what is the location of the source that corresponds to QueueDeclareOptions? this source seems to be derived at compile time from a data file that I do not see packaged with the crate.  https://docs.rs/lapin/0.26.2/lapin/options/struct.QueueDeclareOptions.html

found it: https://crates.io/crates/amq-protocol-codegen
I will have to use docs.rs rather than read source to understand what is going on.  thanks.

Which problem are you trying to solve? I can guide you
On Mon 12 Aug 2019 at 15:05, Darin<EMAIL_ADDRESS>wrote:

Closed #196 https://github.com/sozu-proxy/lapin/issues/196.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sozu-proxy/lapin/issues/196?email_source=notifications&email_token=AABWNXRZEJDL6TG5FUEJ2YLQEFGXBA5CNFSM4ILAIIV2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOS76U6BA#event-2549960452,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABWNXXD6KVE3KX2Q4CDDW3QEFGXBANCNFSM4ILAIIVQ
.

@Keruspe in this case, I wanted to understand what the default values were and what other options were available.  I first tried searching for an answer through code but failed because the answer was part of derived code.  Instead, I had to rely on docs.  This is fine, but as I am unfamiliar with the project wasn't aware until now.

Yeah, as most rabbitmq client, this part is generated from a json
descriptor provided by rabbitmq.
Default values are basically the default of each type.
This should probably be documented, if you want to give a shot at improving
the situation
On Mon 12 Aug 2019 at 16:02, Darin<EMAIL_ADDRESS>wrote:

@Keruspe https://github.com/Keruspe in this case, I wanted to
understand what the default values were and what other options were
available. I first tried searching for an answer through code but failed
because the answer was part of derived code. Instead, I had to rely on
docs. This is fine, but as I am unfamiliar with the project wasn't aware
until now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sozu-proxy/lapin/issues/196?email_source=notifications&email_token=AABWNXX5RZHGOUPUZJYSW5LQEFNNVA5CNFSM4ILAIIV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4COTDI#issuecomment-520415629,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABWNXSQBINFU3HECRU5JDLQEFNNVANCNFSM4ILAIIVQ
.


Hand Gesture

Hand
Gesture

Created Gameplay Tags and Replicating Functions TODO Update Character Settings and create Replicated Animation function

TODO
Check if Hand is Available for Gestures (ie not holding item)
Menu UI


Add docker deployment instructions to app panel

Adds configurable instructions for Docker deployment with both personal and teams hub. Also unifies it with the instructions we have on the teams hub page.
Personal

Teams

Two initial nitpicks:

Move the warnings under the hub name
When we say Livebook Teams, let's link to https://livebook.dev/teams/ :)

When we say Livebook Teams, let's link to https://livebook.dev/teams/ :)

The warnings are just string messages, but I guess we can inline the link and use raw on render. Mixing html/css in there is not fantastic, but well :)

Updated and added tests for the warnings :)

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Ongoing Documentation

Create documentation. readme.so will be a good resource.

[x] Getting started
[x] Installation
[x] use

The basics are up and running! 😄


markdown-it-hierarchy - plugin help

Hello.
I've put together a pretty nice pipeline here using markdown-it and a handful of plugins.
When I added markdown-it-hierarchy, https://github.com/shytikov/markdown-it-hierarchy/blob/master/index.js, the headers that this plugin is modifying have lost their anchors added by markdown-it-anchor.
Looking at the source it looks clear that the issue is that most of the token information is being dropped. I've looked briefly at the plugin docs but I'm not sure what the right fix is. I'd appreciate some help on the direction here. I've reported the issue to the author but haven't heard back yet, that plugin may not be maintained at the moment.

Sorry, no resources for generic programming questions.

@puzrin, the plugin guide said I could post questions here. I’ve spent a few hours and have run into issues in two ways I’ve tried to fix the plugin that are due to my lack of full understanding of the processing pipeline in markdown-it, could I post specifics with code here?
One is that I’m not able to preserve the md.renderer.heading_open (typing on mobile without code here). I was looking to save that, modify the tag content and then call the default heading_open. Unfortunately it looks like that parameter isn’t valid when the plugin is loaded so it can’t be saved and used like defaultRender in the examples. I’m referencing the example plugin code that uses that approach to override images.
The other approach was modeled after the markdown-it-anchor plugin where during one of the core phases, can’t recall but code copied from that plugin, and I modify the content of the inner text token. This works but because I’m adding headings at that level it conflicts with the markdown-it-toc-done-right plugin that adds its own numbers and there are two sets of section numbers like 1.1 1.1 some section etc. Should I look for the toc plugin to avoid adding those numbers as a solution?
I almost prefer the modification of the content at the core phase as it doesn’t require overriding the header_open function like the plugin was doing before. Overriding this was losing the id attribute and breaking the anchors that markdown-it-anchor put in but I can imagine other plugins could add other fields and it seems wrong for the plugin to be modifying the output at the rendering phase.
I’m just looking for some direction here, I’m not sure where else to ask and I’ve done the work to understand quite a bit about the system but I’m not sure which approach to pursue.

I can try to help with concrete questions, if small samples available. But can not analyze whole project. Try to harrow down your question.

@puzrin I appreciate that.
How do I get the original md.renderer.rules.heading_open? I'm trying to follow the model specified at https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md#data-flow because I'd like to call the default rule to finish processing the token after I've adjusted its content.
Here is the plugin code:
let accumulator = {};
let last = '';

let read = function (accumulator, level) {
    let value = '';

    for (let header in accumulator) {
        value += `${accumulator[header]}.`;

        if (header == level) {
            return `${value} `;
        }
    }

    return `${value} `;
}

let hierarchy = function (md, opts) {
    var defaultRender = md.renderer.rules.heading_open // NOTE: This doesn't appear to be valid at this point...

    md.renderer.rules.heading_open = function (tokens, idx, options, env, self) {
      let level = tokens[idx].tag;

      console.log(tokens[idx])
      console.log(tokens[idx+1])

      if (last < level) {
          accumulator[level] = 1;
      } else {
          accumulator[level]++;
      }

      output = read(accumulator, level)
      console.log("output", output)

      tokens[idx].content = output + tokens[idx].content

      // pass token to default renderer.
      return defaultRender(tokens, idx, options, env, self);
    };
};

module.exports = hierarchy;

[13:34:37] TypeError: defaultRender is not a function
    at Object.md.renderer.rules.heading_open (/Users/cmorgan/projects/dlc-user-manual/node_modules/markdown-it-hierarchy/index.js:40:14)
    at Renderer.render (/Users/cmorgan/projects/dlc-user-manual/node_modules/markdown-it/lib/renderer.js:326:38)
    at MarkdownIt.render (/Users/cmorgan/projects/dlc-user-manual/node_modules/markdown-it/lib/index.js:543:24)
    at markdownToHtml (/Users/cmorgan/projects/dlc-user-manual/gulpfile.js:43:21)
    at DestroyableTransform.modifyFile [as _transform] (/Users/cmorgan/projects/dlc-user-manual/node_modules/gulp-tap/lib/tap.js:53:11)
    at DestroyableTransform.Transform._read (/Users/cmorgan/projects/dlc-user-manual/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at DestroyableTransform.Transform._write (/Users/cmorgan/projects/dlc-user-manual/node_modules/through2/node_modules/readable-stream/lib/_stream_transform.js:172:83)
    at doWrite (/Users/cmorgan/projects/dlc-user-manual/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/Users/cmorgan/projects/dlc-user-manual/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    at DestroyableTransform.Writable.write (/Users/cmorgan/projects/dlc-user-manual/node_modules/through2/node_modules/readable-stream/lib/_stream_writable.js:334:11)
[13:34:37] 'build' errored after 61 ms
[cmorgan@CHRISTOPHERs-MacBook-Pro dlc-user-manual]$

See this peace of code
https://github.com/markdown-it/markdown-it/blob/bda94b0521f206a02427ec58cb9a848d9c993ccb/lib/renderer.js#L323-L329
Seems header uses "default" renderer. For block rules, call renderToken() is named rule not exists.

@puzrin this helped a ton, thank you for the pointer there, I appreciate the help. I think I've been able to update the plugin to be less intrusive, use the previous rule if there was one in place and I'm working to get it pushed out as the next rev through the original author. Thanks for the help here, I know it can be a pain and that I'm not well versed with the terminology or design of markdown-it, I appreciate it!


Can't you just archive this project if you're not maintaining it anymore?!

Would have saved me all morning if they did.


Recipes

Essencially, allows to start a tutorial within an existing program. In Aracde, this means that "game concepts" can be followed while making a game.

[x] slurp list of recipes from the /recipes markdown page
[x] adding experiment
[x] don't leave editor when finishing tutorial
[x] add "tutorials" button in toolbox above advance
[x] filter tutorials based on editor type

Use https://github.com/microsoft/pxt-arcade/tree/ututorials to test locally in arcade.

@shakao could you check that i merged your changes properly?

This is ready for review. Updates from UI meeting integrated.

looks good to me!


Fixed the rust container not building due to out of date sources

I'm currently fixing this by re-building maxmcd/gstreamer:1.14-buster. This fix will soon not be needed.

got it, will close the pr once its done


translate website into Chinise

Thanks @kentcdodds , now we can handle docs with markdown files, it  will be so easy to translate docs. I would like to translate thie website into Chinise. If anyone can help, raise you hands here so that we can work together :smile_cat:

Wonderful! Yes! Please get started! I recorded myself adding German. Wasn't practiced so I had to do a lot of stuff, but it will hopefully be helpful: http://www.twitch.tv/kentcdodds/v/156447077?sr=a&t=17s

Happy to help!

Ok, I've added chinese. All you need to do now is follow the contributing guidelines. Good first step would probably be to fix anything Google Translate messed up here :smile:

Good reference for terminology here: https://discountry.github.io/react/ This will probably form the core of the Chinese translation when React gets its translation tool up and running
Referenced in https://github.com/facebook/react/issues/9860

This project is now in an unmaintained status. Please see the glamorous README for more information.


#30 Install SSL certificate on AKS cluster

Unfortunately, I need to close this pull request because letsencrypt is not going to allow me to create a production certificate for the URL of this AKS cluster for another week. I accidently hit the cap of 5 in a week during development 🤦♂
I'll open a new pull request so a new URL will be created and we should be able to validate the changes.
Apologies for the noise!


FullText-Search

Search functionality to be improved

@NagaBharanM -- thank you for your feedback.  Please add it here:

SQL Server Feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


[Docs] List Carla versions available in deb repo

Extends the quickstart guide to suggest apt-cache madison carla-simulator to find out which versions are available in the deb repo.

This change is

Hey, thanks for the contribution.
I ran the command but it wasn't returning anything for me. What is the expected output? Should it be run in a particular directory?

Hey, thanks for the contribution.
I ran the command but it wasn't returning anything for me. What is the expected output? Should it be run in a particular directory?

The output should look like this:
carla-simulator |     0.9.11 | http://dist.carla.org/carla bionic/main amd64 Packages
carla-simulator |   0.9.10-2 | http://dist.carla.org/carla bionic/main amd64 Packages
carla-simulator |   0.9.10-1 | http://dist.carla.org/carla bionic/main amd64 Packages

As the command operates on the apt cache, you might have to run apt update first. You must also have the Carla deb repository already enabled. (Both of those are covered by the preceding instructions.)

The output should look like this:
carla-simulator |     0.9.11 | http://dist.carla.org/carla bionic/main amd64 Packages
carla-simulator |   0.9.10-2 | http://dist.carla.org/carla bionic/main amd64 Packages
carla-simulator |   0.9.10-1 | http://dist.carla.org/carla bionic/main amd64 Packages

As the command operates on the apt cache, you might have to run apt update first. You must also have the Carla deb repository already enabled. (Both of those are covered by the preceding instructions.)

It seems like the output depends on the version of Ubuntu being used and passed into $(lsb_release -sc). I have focal being passed as that variable and was not getting anything returned from apt-cache madison carla-simulator. However when I pass bionic manually instead of $(lsb_release -sc) when initialising the repository, then apt-cache madison carla-simulator returns the same as what you see.
So I am not sure if this command will be useful for everyone depending on their Linux version.

It seems like the output depends on the version of Ubuntu being used and passed into $(lsb_release -sc). I have focal being passed as that variable and was not getting anything returned from apt-cache madison carla-simulator. However when I pass bionic manually instead of $(lsb_release -sc) when initialising the repository, then apt-cache madison carla-simulator returns the same as what you see.
So I am not sure if this command will be useful for everyone depending on their Linux version.

The output of the tool in this case is exactly right then: There is simply no release for focal in the repo yet (see http://dist.carla.org/carla/dists). Doing a deb release for focal at all is a different issue, but I have no idea what Carla’s policies are in that regard.

The output of the tool in this case is exactly right then: There is simply no release for focal in the repo yet (see http://dist.carla.org/carla/dists). Doing a deb release for focal at all is a different issue, but I have no idea what Carla’s policies are in that regard.

You're right. Thanks for that!

You're right. Thanks for that!

@s-hillerk Hi! Thank you for your contribution! Can you please change the target branch from master to dev. Thanks!


Add fetchpriority="high" to  for loading async js source

For example, if you load an asynchronous route, the JS load after the first screen is a low-priority load, and then your chunks are split into dozens of chunks, then you will be blocked by some requests.The most serious problem is that the chunks are cached locally by the browser, but it takes hundreds of milliseconds to load them
see Network requests stuck in pending state

to resolve: script.setAttribute("fetchpriority","hight")
see MDN

Sorry, no, we don't want to change default behaviour, we have https://github.com/webpack/webpack/pull/17249 if you want to set it

The problem has been solved, the option is a good way to solve, thank you for the answer


Enhance the UI of Event section.

I want to improve the UI of the project such as Logo, Color Palette, Navbar, Footer.
Please assign this issue to me under GSSOC'23.

Yes sure, go ahead @laveenahub . Please open a PR with required screenshot, we will  be happy to review and merge it soon!!


Document the requirement that the number of processes must be a power of 2

See https://github.com/bempp/bempp-rs/issues/66

This is documented in #107


[BUG] Supersonic Quiz and Daily poll not completed

I don't know why but it looks like the supersonic quiz and daily poll didn't complete anymore

Any thoughts?
I am a US user by the way

I can definitely try! How do I add the argument? Do I just run it from the command prompt?

Update! I started the program a second time and it completed the quizzes!

Might be related to slow internet


Create 0231-power-of-two.cpp

File(s) Modified: 0231-power-of-two.cpp
Language(s) Used: C++
Submission URL: https://leetcode.com/problems/power-of-two/submissions/1297179299/

Important
Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

@prajval-malhotra Thank you for your contributions 👍


Command line history alignment issue

Using previous commands in the history (up arrow) sometimes messes up the alignment of the text and the position of the "real text" which shifts to the right it seems.
By this I mean that the cursor in the image is at the start of the line (by pressing ^A or Home) but it appears to be in the middle of the command line text.

The command will still work fine, but frustrating when I'd like to edit a previous command. (It can be done by calculating the offset).
I noticed ^L in bash (clear the terminal) will fix the alignment.

Turns out it was my PS1 config messing it up.


Consider pooch library for test data

Currently, to run the typhon tests completely, users need to checkout the typhon-testfiles repository to a specified path.  If these test data are really needed for running the tests (and can't be mocked or created on the fly), the pooch library may provide a more git- and user-friendly alternative.  Compared to the status quo this has the advantage that:

Users only need a single package (typhon) to run the tests, and
No data files would need to be stored within a git repository (for which git is not well suited).

Thanks for pointing out the pooch library. It looks really useful.
I've played around with it and added a first implementation for the typhon tests (only in my fork for now).
A script in typhon-testfiles creates registry files for pooch in the typhon/test directory which are needed to retrieve the files during the tests.
The get_testfiles_directory function will try to retrieve the testfiles via pooch if a local copy of typhon-testfiles is not available.


iptables DROP rules not removed

Sometimes it happens, that iptables DROP rules are not removed, we think that it is caused by marathon-lb
6156  369K DROP       tcp  --  *      *       <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:9090 flags:0x17/0x02
We think that this problem happens during the marathon-lb startup, to be more precise on these lines of code - if there is an error between creating and removing iptables rules, they are left behind...
https://github.com/mesosphere/marathon-lb/blob/master/service/haproxy/run#L32-L36

👍
We have also seen this. Also happens if there is lots of events from marathon.

Awesome :) any idea when this is going to be released?


Normalize the BBox entry in Tiling Pattern dictionaries (issue 8117)

According to the PDF specification, see http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G7.3982967, the BBox entry should have the form [left, bottom, right, top].
Since some PDF generators apparently violates the specification, we normalize the BBox to ensure that the pattern is (correctly) rendered.
Fixes #8117.

/botio-linux preview

/botio test

/botio makeref

Nice work!


Add javadoc

This seems like a very useful library. Publishing the API (to GitHub pages?) would make it easier for me (and others) to adopt it. I don't even need the comments to be good.

Thanks @kgeis for the feedback, this is a very good suggestion short term until I write the javadoc, the main page was updated to add links to the published API for the latest version 0.1.3 (which should be available for all modules within 24 hours according to http://javadoc.io). Also on the main page the code examples were updated to include the relevant import statements.
Let me know if this helps + if there is anything else that I could do to help until the javadoc is written.


I can't reproduce your results

Dear Authors,
Thank you for sharing a code and weights for your work, but frankly I am struggling to reproduce your results that are reported in the paper or in the repo's readme. And it seems I am not the first one who tried to reproduce your results and faced an issue #52 #21.
Besides, the fact that you are using a different kernels (K), and you didn't use the adaptive kernel size technique that you have proposed in your paper #46 #24 #58 , which makes me suspicious in your reported results.
I hope you can reply and explain why you didn't use the adaptive kernel despite mentioning in the paper it is better than the fixed K, and also I hope you can update us by checkpoints that match the reported accuracies and the training logs too as I am suspicious you have trained the network more than 100 epochs to be able to achieve a higher performance.
Hopping a response from your side to elevate suspicions about your reported results.
Thanks.

I also doubt


fix error in inserable stream

Description
failed to run with receiverStreams.readableStream.getReader()

Thank you so much! Will merge this right after work.

Merged with d71bd9aa2a220e72a4229a8b391bd147715d92f2
Thank you so much @o0olele I really appreciate you taking the time to open this PR.


Partially sticky header behavior

This issues describes the recommended approach for handling sticky headers on desktop and mobile.
Context
We have a statewide header:

And an agency header:

Desktop
My recommendations is to not build any sticky behavior for the header on desktop until:

We implement the "sticky" behavior on the page index [see issue]
We implement the sticky behavior on mobile for which there is a more clear user need
We evaluate how well these are working.

Mobile
A consolidated version of the agency header slides down from top of browser window on reverse scroll or when we bottom of page is reached.

When scrolling down the page, agency header should not be visible
When a user reaches the bottom of the page, it will become visible by sliding in from the top of the page
When scrolling up the page, it will become visible by sliding in from the top of the page
When a user stops scrolling up the page, it will remain visible until the user scrolls down the page at which point it slides off the top of the page
The same motion behavior should be applied to the Back to Top link (which enters and exits from the side of the screen)
When it is in the partially sticky state, the header's height will be reduced by removing the agency name
When it is in the partially sticky state, the header will be separated from the page content with a drop shadow
The slide-in animation should have a duration that is roughly the speed at which a person scrolls (e.g. 300–400ms long). See https://www.cb2.com/ on mobile for an example.

Note that this issue about the sticky page index may have dev implications for this issue.

@wrendo What action do you want me to take here?


iOS 14 support

Location permission mandatory for BLE operation on iOS 14
Practical experiments have discovered that without location permission, a background iOS 14 device is discoverable, and connectable by other iOS and Android devices, but service discovery will not report any services, thus characteristic read / write / notify is not possible. However, RSSI is still obtainable from the advert.
While location permission was optional for HERALD on iOS 13 or earlier, it should now be mandatory.

Accepted due to iOS 14.2 change of behaviour


Feature Request: Option to inform style by tslint config.

If you can find one and load it, (maybe using tslint itself to do it?) you could override settings that aren't explicitly set in the workspace. That would be cool. Interested in accepting a PR for it? Thanks!

Can you make a example?
I do not exactly understand what you are looking for...

Am 26.11.2016 um 19:19 schrieb Joel Day<EMAIL_ADDRESS>If you can find one and load it, (maybe using tslint itself to do it?) you could override settings that aren't explicitly set in the workspace. That would be cool. Interested in accepting a PR for it? Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I would imagine maybe the single to double quote setting falling into this. Also, you can set up rules to order your imports. I imagine this is what @joelday is talking about.
I would be interested in seeing this as well.

No further informations from joelday -> closed.


Wrong command to activate the environment.

Chapter:  Basics of API and Endpoint Design:
Section:
Lab1:Build REST API Endpoints with FastAPI
.........................
The HTML document provided in the syllabus section,provides guidelines to create a conda evironment using the requirements provided in the conda.yml file.
While following the steps I found out that it instructs to activate the environment using the command conda env create -f conda.yml, instead which should be conda activate lab1 because it creates an environment named lab1.

Thanks.

This is correct; it must have been an editing error when copying over the images. Thank you for pointing this out.

I will close issue once it has been updated on the course website.

The issue has been addressed - closing issue.


SemanticReleaseChangeLogServiceSpec does not work in forked repos

Some of the tests in the spec test for generated URLs to contain tschulte. It should work for forked repos as well.

@rzabini can you please check against upstream/develop?

Yes, it is working now.


cannot find "Add URI" when follow steps inside section "Storage Sources"

If you develop locally or self host the reader click on "Add URI" inside the "Single-page Application" box and add "http://localhost:5173/auth" and/or adjust ports etc. depending on your needs;

I try to create a custom credentials but failed when follow the steps, need help pls;
And I notice that, when i visit "http://localhost:5173/auth" on my self host site, it seems error happened, turn out a page "403 Forbidden
nginx/1.23.3" as the  result; it cannot access, maybe because i didn't set any Environment Variables, is it right?

hope soon webdav could be a option for sync; maybe more useful than hard to create a custom credential.....

hi,
it should look like this for you:

(also tested with a new registered app so you should theoretically get to this screen too)
regarding your selfhost: not sure as i don't know your config.. but it sounds like your server is trying to serve the directory instead of the html.. i just noticed sth similiar seems to be the case for the one in the provided docker image.. i just pushed a fix which at least seems to work on my end.. maybe you can compare your config with the one in the repo (in the apps/web/nginx/conf.d directory)?
let me know if your issues were solved

Closing for now - feel free to reopen this one in case you still have questions


Autorest Regen Preview to 3.0.0-alpha.20230823.1 by Pan Shao from refs/pull/3627/head

Triggered from https://github.com/Azure/autorest.csharp/pull/3627

API change check
API changes are not detected in this pull request.


uriparser does not generate and install cmake files

uriparser port has a custom CMakeLists.txt file without the cmake generation and cmake install sections.

Changes in uriparser master now generates the correct cmake files. Waiting for 0.9.2 tag. As soon as it is tagged I will modify the port file according.

Version 0.9.2 with CMake support released. There is a new PR #6178 that solves this case.


Fixes for scrutinizer and composer install routine.

Fixed some issue reported by scrutinizer as well as some incompatiblities with install routine.

A new inspection was created.

A new inspection was created.

A new inspection was created.

The inspection completed: 1 new issues

The inspection completed: 1 new issues

A new inspection was created.

The inspection completed: 1018 new issues, 2033 updated code elements

A new inspection was created.

The inspection completed: 1018 new issues, 2033 updated code elements

A new inspection was created.

The inspection completed: 1018 new issues, 2033 updated code elements

A new inspection was created.

The inspection completed: 1018 new issues, 2033 updated code elements


Avoid "Done" button in notifications bar navigating to Unread Notifications

First of all, thanks for the continued work on refined-github. One of my favorite browser extensions!
Sometimes when I click on the Done button in the notifications bar, it returns me to the "Unread Notifications" page, although I wasn't there before.
Not sure what is causing this, but if it's from GitHub, it would be nice to disable this behavior (so that it returns to the unfiltered notification page).

GitHub remembers the last view you used. If you clicked “Unread” once, every time you open the notifications you’ll land there. The Done button just points to the notifications page, in whichever view you used last.

GitHub remembers the last view you used. If you clicked “Unread” once, every time you open the notifications you’ll land there. The Done button just points to the notifications page, in whichever view you used last.

Hm... but I never click on that button 🤔  It is a useless view for me.
I think something else is going on here...

Hm... but I never click on that button 🤔  It is a useless view for me.
I think something else is going on here...

I guess no interest from refined-github to have an option for this then?

I guess no interest from refined-github to have an option for this then?

@fregante would you be open for reconsidering this one, considering my comments above?

@fregante would you be open for reconsidering this one, considering my comments above?

For now, I'm using this userscript to avoid this behavior:
https://github.com/karlhorky/dotfiles/blob/main/userscripts/disable-github-unread-notifications-view.user.js

For now, I'm using this userscript to avoid this behavior:
https://github.com/karlhorky/dotfiles/blob/main/userscripts/disable-github-unread-notifications-view.user.js

I wonder if this has anything to do with this Notifications Preview for GitHub extension that I installed - maybe it is silently sending me to that "Unread" view? I didn't see an option to turn this off though in this extension...

I wonder if this has anything to do with this Notifications Preview for GitHub extension that I installed - maybe it is silently sending me to that "Unread" view? I didn't see an option to turn this off though in this extension...


[83120] Enable GA skip for OpenVINO in Dev Cloud environment

OpenVINO Deep Learning Workbench Pull Request
All Submissions:

[x] Create a meaningful name of the PR with reference to JIRA. Example: [43714] [NIGHTLY] Take correct tag for snyk scans
[x] JIRA tickets:

83120 - Model analyzer fails with topology type guessing

[x] Set assignee to the PR.
[x] Add corresponding labels to the PR.
[x] Set appropriate milestone to the PR.
[x] Added tests for new functionality (unit / e2e)
[x] Followed code style guidelines:

Code covered with typings
No debug printing in production code
No commented blocks of code in production code

Available commands in pull request comments

/bump:client - bump to latest master branch in client submodule
/bump:client:releases/2021/4 - bump to latest releases/2021/4 branch in client submodule
/bump:client:yatarkan:feature/yt/feature-name - bump to latest feature/yt/feature-name branch from yatarkan remote fork in client submodule
/update - merge base (target) branch into target branch and push changes

NOTE:
For more details, please visit the DEVELOPER.md

/update


bilinear interpolation in dask

anyone have ever programmed a bilinear interpolation using dask? I have this function where im is 2D dask array (an image)  and uv is a tuple of 2 1D dask arrays, say (u,v) which are in an irregular space:
import dask.array as da
import numpy as np

def bilinear_interpolate(im: da.Array, uv: tuple) -> da.Array:

    u0 = da.floor(uv[0]).astype(np.int32)
    u1 = u0 + 1
    v0 = da.floor(uv[1]).astype(np.int32)
    v1 = v0 + 1

    u0 = da.clip(u0, 0, im.shape[1] - 1)
    u1 = da.clip(u1, 0, im.shape[1] - 1)
    v0 = da.clip(v0, 0, im.shape[0] - 1)
    v1 = da.clip(v1, 0, im.shape[0] - 1)

    Ia = im[v0, u0]
    Ib = im[v1, u0]
    Ic = im[v0, u1]
    Id = im[v1, u1]

    wa = (u1 - uv[0]) * (v1 - uv[1])
    wb = (u1 - uv[0]) * (uv[1] - v0)
    wc = (uv[0] - u0) * (v1 - uv[1])
    wd = (uv[0] - u0) * (uv[1] - v0)

    return wa * Ia + wb * Ib + wc * Ic + wd * Id

The output of this function must have the same shape of one of the 1D arrays.
The problem is that this part of the code has a problem since these lines
Ia = im[v0, u0]
Ib = im[v1, u0]
Ic = im[v0, u1]
Id = im[v1, u1]

are throwing the dask does not support fancy indexing. Has anyone ever been able to make a bilinear interpolation with dask bypassing the fancy indexing error? Cheers

@miguelcarcamov thanks for the issue and clear example.
If I understand correctly, this function would work properly with in-memory numpy arrays, and so this question is more about how to work around dask's limitation in fancy indexing and less about the implementation details of array-based bilinear interpolation.
Is that right?

@phobson Yes, exactly. I have been told to use map_overlap but I'm not sure if that's going to work....

Thanks for clarifying. I see the conversation on slack that alludes to that. I agree with Martin that the first thing I'd try is to use .map_overlap.
I also wonder if xarray supports this better, though it's hard to imagine you won't run into the same issue if the DataArray is backed by dask.

I have tried with map_blocks and it seems to work. However, I have changed my bilinear_interpolation function a little bit.
import dask.array as da
import numpy as np
from typing import Union

def bilinear_interpolation(u: Union[float, np.ndarray, da.Array], v: Union[float, np.ndarray, da.Array], im: Union[np.ndarray, da.Array]) -> Union[float, np.ndarray, da.Array]:

    u0 = np.floor(u).astype(np.int32)
    u1 = u0 + 1
    v0 = np.floor(v).astype(np.int32)
    v1 = v0 + 1

    u0 = np.clip(u0, 0, im.shape[1] - 1)
    u1 = np.clip(u1, 0, im.shape[1] - 1)
    v0 = np.clip(v0, 0, im.shape[0] - 1)
    v1 = np.clip(v1, 0, im.shape[0] - 1)

    Ia = im[v0, u0]
    Ib = im[v1, u0]
    Ic = im[v0, u1]
    Id = im[v1, u1]

    wa = (u1 - u) * (v1 - v)
    wb = (u1 - v) * (v - v0)
    wc = (u - u0) * (v1 - v)
    wd = (u - u0) * (v - v0)

    estimated_data = wa * Ia + wb * Ib + wc * Ic + wd * Id

    return estimated_data

Then I have used map_blocks such that:
data = da.map_blocks(bilinear_interpolation, uv[0], uv[1], grid_fft, meta=np.array(uv[0].shape, dtype=grid_fft.dtype)).
This seems to work. However, I have tried to use map_overlap since I know there might be the case that when a coordinate needs to look to a neighbour pixel the value might be in another block. And I'm getting this error:
data = da.map_overlap(bilinear_interpolation, uv[0], uv[1], grid_fft,
                             depth=1, boundary=0, align_arrays=True, allow_rechunk=True, meta=np.array(uv[0].shape, dtype=grid_fft.dtype))

ValueError: Chunks do not add up to shape. Got chunks=((3000,), (48959,)), shape=(3000, 3000)

@miguelcarcamov Can you provide code to generate sample input from scratch?

@phobson
import numpy as np
import dask.array as da

grid_fft = da.random.random((3000,3000)) + 1j * da.random.random((3000,3000))
u = da.random.randint(0, 3000, 48959) + da.random.random(48959)
v = da.random.randint(0, 3000, 48959) + da.random.random(48959)
uv = (u,v)

@phobson I have already posted this question on the dask discourse, but nobody seems to answer :)