Link the Kafka Env to it's associated Schema Registry

What is currently missing?
Currently we do not have a hard link between the Kafka Env and the Schema registry which is associated with it.
This decoupling is very powerful but from an admin point of view it would be great to be able to link the two environments so you know when a schema registry is missing for a topic or a topic is missing for a schema Registry.
This will also enable the react UI to allow us to make the screens topic focused and allow the correct schemas to be viewable under that view.
How could this be improved?
Create a mechanism to link the Kafka Env to a Schema Registry Environment.
Is this a feature you would work on yourself?

[x] I plan to open a pull request for this feature

Completed


[Bug]: The duplicate error message is displayed in the debbuger

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
The error message should be displayed only once when the Label and value are not in expected format in the select widget

Steps To Reproduce

Go to canvas
drag and drop the select widget
add the mongo query
Now bind it to Select widget
When the data is not in the Label and value format the error is displayed

Environment
Release
Version
Cloud

@riodeuno, Should we handle this.
The Error messages are actually valid.

@Tooluloope
Problem 1: This seems to be a DX issue. I can see why having all of them printed at once can make it difficult to navigate the errors.
Problem 2: There is also the issue of validating so many entries, this can reduce response time (performance)
The solutions we can explore here should deal with both of them separately.
Solution 1: We "load more" errors on demand for similar type of errors.
Solution 2: We bail out from logging errors in the same array after we have identified 10 errors or so.
We need to discuss further with the team regarding Solution 2.
However, we should move ahead with Solution 1. This will involve creating a data structure which would be provided by the validations, and understood by the debugger, resulting in a collapsed view, showing only 3-5 errors of the same time. There will also be a "show more" option that when clicked, would load more of the errors.

Solution 2. is available in release. #10886

@RakshaKShetty @dilippitchika This shouldn't be an issue anymore, with #10886 merged. Can we revisit and close this issue if we won't be tackling it?


Install Cygwin to the SSD

I haven't found documentation confirming the exact setup of the DSv2 Windows runners, but while working on a migration to GitHub Actions for OCaml, I discovered that the temporary storage drive (D: - 14GiB) is considerably faster than the system drive.
I tested this on one of my repos where the build itself is mere seconds. Before this change, setup-ocaml needed an average of 5:39 to install OCaml+opam and 1:53 to build the dependencies of the library. After this change, it needs an average of 3:15 for the installation and 1:27 for the deps.

Weird, but it seems right... Could you add a change log entry?

Thank you @dra27!

I just remember about that. Azure has a unique fast temp storage by default, as described in the documentation.
https://docs.microsoft.com/en-us/azure/virtual-machines/dv2-dsv2-series#dsv2-series
https://docs.microsoft.com/en-us/azure/virtual-machines/disks-performance

Indeed - what I couldn't find was confirmation that the runners for GiHub Actions use mechanicals for the default drive, rather than SSDs too... but performance-wise, they certainly seem to!

Oh, I see! Indeed, that is a very weird point.


Change runner.py

Сompilation time was not ruled out. Fixed line 147.

Please create PR with only changes in performance tests runner. You need to exclude changes in performance tests and README.md from the PR.


the main page moves when adding source of grounding

It does not occur every time, but sometimes...

The main page also moves when deleting sources sometimes.


Having badly formatted template tags in html source will throw server error

Put a badly formed tag anywhere in a page:
{% include file1.txt %}}   (double closing brace)
Complete page crashes when viewed.
Make this nicer! Do some checking and print relevant errors to page.

fixed


Allow additional input types for clear()

This resolved a problem I ran into where clear() was failing silently on an input[type=search]

@neilsh thank you for this PR. Can you add a test?

@andrewsmedina  Unfortunately it doesn't look like there's any existing tests for webdriver/__init__.py and/or the WebDriverElement class. Are there any tests elsewhere in the repo that you'd suggest looking at for guidance on how to implement a test of WebDriverElement?

Closed in favour of #780


Issue with databroker v2 BlueskyMongoCatalog

When running tests against the 2022-3.1-py39-tiled environment with databroker v2+ (PR, logs), I am observing the following issue:
File ~/miniconda/envs/2022-2.4-py39-tiled/lib/python3.9/site-packages/xview/spectra_db/db_io.py:6, in <module>
      1 from bluesky_live.run_builder import RunBuilder
      5 from event_model import compose_run
----> 6 from databroker._drivers.mongo_normalized import BlueskyMongoCatalog
      7 from suitcase.mongo_normalized import Serializer
      8 import time as ttime

ModuleNotFoundError: No module named 'databroker._drivers'

@dleshchev, @danielballan, have you encountered that issue? Any suggestions on solving it?

Lifted from Slack chat:
As we know, _drivers was intended to be internal, so there is no backward-compatibility plan there.
Here is a new approach: https://gist.github.com/danielballan/83e381e2ad52888ee5129d228fca7f12
Notes:

All the Mongo stuff happens on the server side now, so the custom methods are implemented on a client object.
I updated the search(...) calls to use the new query API.
It generally recommend doing custom search and read conveniences as functions rather than methods. See https://blueskyproject.io/tiled/reference/queries.html#convenience-functions.
The structure_clients injection can be done more gracefully with entrypoints, but this is the quick/explicit method.

@danielballan, thanks a lot for the suggestions and the example code! Should we now check the version of the databroker used, and apply different logic based on the version? We can do try/except of course.
@dleshchev, can we schedule 1-2 hours next week to take care of the transition? That will unblock us from switching to the tiled conda environments.

Seems reasonable.

I believe it was resolved during our recent work with @dleshchev at ISS. Closing it. Please re-open if there are still concerns.


could  provide concurrency security and primitive types map？

our DTO is protoBuffer and long is primitive type.
but we need use primitive type long to get object from map , cause lots of Long.valueof

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.

just like ConcurrentHashMap，but user primitive type long or int？

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.
just like ConcurrentHashMap，but user primitive type long or int？

I don't think I understand your question but use LongObjectHashMap or LongObjectWormMap.

just like ConcurrentHashMap，but use primitive type long or int？

Oh, I see. No - you can't use HPPC collections for multi-threaded access, sorry. There are no plans to do it.


Quality assessment

Evaluate quality of ros2/rclc packages regarding quality standard rep-2004

Items:

[x] versioning: version 1.0.0
[x] API and ABI stable: branch for each release (Foxy, Galactic, Rolling) , dashing will not get a new branch
[ ] platforms: Linux, Windows
[ ] declaration statement .md


Upgrade to Bytes 0.0.6

Quick update for evmap to use latest version of bytes
cargo test makes this look simple enough

This change is

Thank you! Sadly, this is a breaking change, so I'll have to hold off on merging this until the next major release. I think that'll come in not too long though :)

All good I'd just left the version as version = "11.0.0-alpha.1" based on master, but yeah its def a major version change.
I ended up moving my other deps back to bytes=0.5 anyway (:

Heads up that this will be fixed by #83, since it no longer uses the ShallowCopy trait, and thus we don't need to implement anything for Bytes at all!


Cannot recognise some CODE_39 barcodes

Using the barcode capture example almost everything is working as expected, however we have a range of ID stickers with a 5-digit CODE_39 barcode. The app cannot recognise these as a barcode,
It does recognise other CODE_39 (and other format) barcodes OK, and ZXing recognises the stickers as normal.

Duplicate of issue #12 -- the API only returns results for 1D barcodes with 6 or more digits.


added proper margins.

Fixed the margins so that the controls don't cover the attribution text.

@tdunn Can you please review?


NetBox changes: Unit size for VirtualMachine.disk and VirtualDisk.size changed from 1 gigabyte to 1 megabyte.

Hello,
based on the recent changes in version 4.1.0 of NetBox regarding the unit size for VirtualMachine.disk and VirtualDisk.size (from 1 gigabyte to 1 megabyte), NetBox-sync reports an incorrect value in the virtual disk size of virtual machines.

Thank you. for this hint, will add a fix.

Hey,
I just pushed another commit to development branch to fix this issue with NetBox 4.1.0. Would you be able to try it out?
Thank you

Hello,
I've tried the last commit to development and it works correctly. Thank you.
Reviewing the commit a doubt have raised.  According to this netbox discussion, it seems that the preferred option to convert units is using SI (divide by 1000)
https://github.com/netbox-community/netbox/discussions/17484
The information provided by vmware uses the SI units (decimal) or are binary based?

Hello @bb-Ricardo,
as written by @cguadall NetBox uses Base 10 (MB or GB) in place of Base 2 (MiB or GiB).
While adding a new virtual disk, the size is entered in MB, but it is then displayed in GB (by dividing by 1000).
Before you answered to this issue, I modified the code inside /module/sources/vmware/connection.py  FROM:
disk_size = grab(vm_device, "capacityInKB", fallback=0)
disk_size_in_gb = int(disk_size / 1024 / 1024)
if disk_size_in_gb < 1:
	vm_device_description.append(f"Size: {int(disk_size / 1024)} MB")
	disk_size_in_gb = 1

disk_data.append({
	"name": grab(vm_device, "deviceInfo.label"),
	"size": disk_size_in_gb,
	"description": " / ".join(vm_device_description)
})

...TO:
disk_size = grab(vm_device, "capacityInKB", fallback=0)
disk_size_in_mb = int(disk_size / 1024 / 1024 * 1000)
disk_data.append({
	"name": grab(vm_device, "deviceInfo.label"),
	"size": disk_size_in_mb,
	"description": " / ".join(vm_device_description)
})

Hi,
I noticed this as well the next day. Just reading this: https://en.wikipedia.org/wiki/Byte#Multiple-byte_units makes you realise what happens if you led toner heads run your company. What a mess.
Will try to fix it the next few days.

The issue https://github.com/bb-Ricardo/netbox-sync/issues/400 is pretty much the same problem in a different location.
Because the values of the API have not changed (at least with the issue #400). So I will combine these two and with the config option the decission is up to the user. What do you think?
VMWare reports base 2 based values.

Hi @lucafabbri365 and @cguadall,
I just pushed a new commit to the development branch with newly added config option:
; In NetBox version 4.1.0 and newer the VM disk and RAM values are displayed in power of
; 10 instead of power of 2. If this values is set to true 4GB of RAM will be set to a
; value of 4000 megabyte. If set to false 4GB of RAM will be reported as 4096MB. The same
; behavior also applies for VM disk sizes.
;vm_disk_and_ram_in_decimal = True

Would you be able to try it out and see if this fixes the issue?

Hello @bb-Ricardo,
tested and worked like a charm !!!
Thank you guy !!!
May I continue using the version from development branch ?

Hello @bb-Ricardo,
Tested and worked perfectly.
Thank you very much!


SHA256.h: No such file or directory

hi
Which sha256.h are you using?
I cannot find it.
/Users/terao/Documents/Arduino/libraries/AliyunIoTSDK/src/AliyunIoTSDK.cpp:4:20: fatal error: SHA256.h: No such file or directory

solved. I used the "Crypto" library.


Add a subdomain for my minecraft server

Requirements

Minecraft server created
Server reachable
Yes
Using NS record
Yes

Description

As a redirect for my aternos minecraft server
Link to Website

paradize.aternos.me:21453

CLA Assistant Lite bot: Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request


variations of primary colors

Contributing a collection of primary color variants in the spirit of Hacktoberfest.

Thanks for contributing. Sorry for the delay in merging.


Odd behaviour

Hi,
First and foremost excellent component, but i have been witnessing some strange behaviour, but not able to simulate it, at times when i tap on the + button it disappears and nothing appears on screen, no tableview, no blur background, it just disappears and only the parent view on which it has been sub-viewed is visible. But if i rebuild the source by cleaning and building, at time it fixes it self. Not sure i can put my finger on the issue. Any help would be greatly appreciated.

I found out the reason. I was calling the method before execution of [self.window makeKeyAndVisible], which in turn I was getting _mainWindow = [UIApplication sharedApplication].keyWindow; as nil value.
Thanks.


EOFError: Compressed file ended before the end-of-stream marker was reached

Hi there, I was trying to run the code by MPExecutor but got the following error:
2020-07-23 20:44 INFO 156:root - Downloaded https://commoncrawl.s3.amazonaws.com/crawl-data/CC-MAIN-2017-51/wet.paths.gz [200]
2020-07-23 20:44 INFO 156:root - Starting download of https://commoncrawl.s3.amazonaws.com/crawl-data/CC-MAIN-2017-51/segments/1512948512054.0/wet/CC-MAIN-20171211014442-20171211034442-00400.warc.wet.gz
2020-07-23 20:48 INFO 171:root - Downloaded https://commoncrawl.s3.amazonaws.com/crawl-data/CC-MAIN-2017-51/segments/1512948512208.1/wet/CC-MAIN-20171211052406-20171211072406-00300.warc.wet.gz [200]
2020-07-23 20:48 INFO 171:HashesCollector - Processed 2_915 documents in 0.078h ( 10.4 doc/s).
2020-07-23 20:48 INFO 171:HashesCollector - Found 0k unique hashes over 522 lines. Using 0.1GB of RAM.
multiprocessing.pool.RemoteTraceback:

Traceback (most recent call last):
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/multiprocessing/pool.py", line 121, in worker
    result = (True, func(*args, **kwds))
  File "/home/cc_net-master/cc_net/execution.py", line 145, in global_fn
    return f(*args[1:])
  File "/home/cc_net-master/cc_net/mine.py", line 233, in _hashes_shard
    file=conf.get_cc_shard(shard),
  File "/home/cc_net-master/cc_net/jsonql.py", line 449, in run_pipes
    for res in results:
  File "/home/cc_net-master/cc_net/jsonql.py", line 296, in map
    for x in source:
  File "/home/cc_net-master/cc_net/process_wet_file.py", line 199, in __iter__
    for doc in parse_warc_file(iter(f), self.min_len):
  File "/home/cc_net-master/cc_net/process_wet_file.py", line 117, in parse_warc_file
    for doc in group_by_docs(lines):
  File "/home/cc_net-master/cc_net/process_wet_file.py", line 89, in group_by_docs
    for warc in warc_lines:
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/gzip.py", line 300, in read1
    return self._buffer.read1(size)
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/_compression.py", line 68, in readinto
    data = self.read(len(byte_view))
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/gzip.py", line 493, in read
    raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached

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

Traceback (most recent call last):
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/cc_net-master/cc_net/__main__.py", line 24, in <module>
    main()
  File "/home/cc_net-master/cc_net/__main__.py", line 20, in main
    func_argparse.parse_and_call(parser)
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/site-packages/func_argparse/__init__.py", line 72, in parse_and_call
    return command(**parsed_args)
  File "/home/cc_net-master/cc_net/mine.py", line 524, in main
    regroup(conf)
  File "/home/cc_net-master/cc_net/mine.py", line 379, in regroup
    mine(conf)
  File "/home/cc_net-master/cc_net/mine.py", line 272, in mine
    hashes_groups = list(jsonql.grouper(hashes(conf), conf.hash_in_mem))
  File "/home/cc_net-master/cc_net/mine.py", line 221, in hashes
    ex(_hashes_shard, repeat(conf), *_transpose(missing_outputs))
  File "/home/cc_net-master/cc_net/execution.py", line 174, in __call__
    global_fn, zip(itertools.repeat(f_name), *args)
  File "/home/app/anaconda3/envs/ccnet/lib/python3.7/multiprocessing/pool.py", line 748, in next
    raise value
EOFError: Compressed file ended before the end-of-stream marker was reached

and the config I've changed in the mine.py is just like this:
config_name: str = "base"
    dump: str = "2017-51"
    output_dir: Path = Path("data")
    execution: str = "mp"
    num_shards: int = 800
    num_segments_per_shard: int = -1
    min_len: int = 300
    hash_in_mem: int = 25
    lang_whitelist: Sequence[str] = ["zh"]
    lang_blacklist: Sequence[str] = []
    lang_threshold: float = 0.5
    lm_dir: Path = Path("data/lm_sp")
    cutoff: Path = CUTOFF_CSV
    lm_languages: Optional[Sequence[str]] = ["zh"]
    mine_num_processes: int = 10
    target_size: str = "2G"
    cleanup_after_regroup: bool = True
    task_parallelism: int = 500
    pipeline: Sequence[str] = []
    experiments: Sequence[str] = []

I searched about this error and they all say that caused by the incomplete download file, but I saw your code annotation in jsonql.py func open_remote_file : "Download the files at the given url to memory and opens it as a file" How can I delete these incomplete download file in the memory ? or any other solution to fix this error ?
By the way ,the environment  I was running the code is docker containner Ubuntu20.04

Closing since no activities, I'm trying to clean up my backlog. Feel free to reopen if you observed a non transient failure.
Note that dev branch I was mentionning is now merged in master

Hi @gwenzek , I got the same error when running on a test mode on my local computer, but at a later processing stage. Is it because I am not running on slurm, or the bin file is not a valid file? Any solution to fix this error? Thanks.
/data/cc_net/cc_net/flat_hash_set.py:116: UserWarning: Module 'getpy' not found. Deduplication will take more RAM. Try `pip install cc_net[getpy]
  "Module 'getpy' not found. Deduplication will take more RAM."
2023-02-01 14:54 INFO 27658:cc_net.jsonql - Opening test_data/wet_cache/2022-49/wet_2022-49.paths.gz with mode 'rt'
2023-02-01 14:54 INFO 27658:cc_net.jsonql - Opening test_data/wet_cache/2022-49/CC-MAIN-20221203075717-20221203105717-00000.warc.wet.gz with mode 'rt'
2023-02-01 14:54 INFO 27658:HashesCollector - Saved 27105 hashes to test_data/hashes/2022-49/0002.tmp.bin
2023-02-01 14:54 INFO 27658:HashesCollector - Processed 175 documents in 0.00058h ( 84.3 doc/s).
2023-02-01 14:54 INFO 27658:HashesCollector - Found 27k unique hashes over 40k lines. Using 0.1GB of RAM.
submitit ERROR (2023-02-01 14:54:04,589) - Submitted job triggered an exception
2023-02-01 14:54 ERROR 27658:submitit - Submitted job triggered an exception
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/sonla/.local/lib/python3.7/site-packages/submitit/core/_submit.py", line 11, in <module>
    submitit_main()
  File "/home/sonla/.local/lib/python3.7/site-packages/submitit/core/submission.py", line 72, in submitit_main
    process_job(args.folder)
  File "/home/sonla/.local/lib/python3.7/site-packages/submitit/core/submission.py", line 65, in process_job
    raise error
  File "/home/sonla/.local/lib/python3.7/site-packages/submitit/core/submission.py", line 54, in process_job
    result = delayed.result()
  File "/home/sonla/.local/lib/python3.7/site-packages/submitit/core/utils.py", line 133, in result
    self._result = self.function(*self.args, **self.kwargs)
  File "/data/cc_net/cc_net/mine.py", line 276, in _hashes_shard
    inputs=conf.get_cc_shard(shard),
  File "/data/cc_net/cc_net/jsonql.py", line 455, in run_pipes
    write_jsons(data, output)
  File "/data/cc_net/cc_net/jsonql.py", line 496, in write_jsons
    for res in source:
  File "/data/cc_net/cc_net/jsonql.py", line 284, in map
    for x in source:
  File "/data/cc_net/cc_net/process_wet_file.py", line 216, in __iter__
    for doc in parse_warc_file(self.open_segment(segment), self.min_len):
  File "/data/cc_net/cc_net/process_wet_file.py", line 149, in parse_warc_file
    for doc in group_by_docs(lines):
  File "/data/cc_net/cc_net/process_wet_file.py", line 122, in group_by_docs
    for warc in warc_lines:
  File "/data/cc_net/cc_net/jsonql.py", line 971, in _close_when_exhausted
    yield from file
  File "/usr/lib/python3.7/gzip.py", line 289, in read1
    return self._buffer.read1(size)
  File "/usr/lib/python3.7/_compression.py", line 68, in readinto
    data = self.read(len(byte_view))
  File "/usr/lib/python3.7/gzip.py", line 482, in read
    raise EOFError("Compressed file ended before the "
EOFError: Compressed file ended before the end-of-stream marker was reached

@datquocnguyen I have the same problem. The wet file(test_data/wet_cache/2022-49/CC-MAIN-20221203075717-20221203105717-00000.warc.wet.gz) is corrupted, you need to delete it and run the program again.


React Native - undefined TYPED_ARRAY_SUPPORT

Hey, I've been trying to implement redux-oidc today in React Native but I'm getting this error. I raised it on the redux-oidc repo but as pointed out it seems from the error message that it's to do with oidc-client. I understand that oidc-client is targeted towards browsers but if we could get something working with React Native that would be awesome as there are no other OpenID Connect client libraries.
undefined is not an object (evaluating 'r.TYPED_ARRAY_SUPPORT')

Issues faces with react-native are similar to those faced when using server-side rendering. From past experience when this happens the library tries to access either window.sessionStorage (userManager's state store by default) or XmlHttpRequest which is only available in the browser.
The first step to remedy this is to use a custom implementation of WebStorageStateStore which uses a native-compliant storage mechanism (in-memory for example). This will then be passed into the userManager's settings to use instead of the default store which uses sessionStorage.
The second step is to replace XMLHttpRequest with a native-compliant version such as this. I have opened a PR (#245) to set the XMLHttpRequest used by this library manually, which is currently under review.

I'm currently trying to reproduce these issues by bulding a version of my sample-app using react-native.
The questions I'm asking myself are:

How would you go about registering a callback route for the OIDC provider to redirect to? @MyGuySi do you have a code sample you can share with me where you did that?

@brockallen Is the OpenID-Connect implicit grant the correct grant to use for smartphone apps? From my understanding it is, since the authorization code grant would require the authorization key to be present in the binaries of the app and could thus be reverse-engineered and abused by malicious users. Please correct me if I'm wrong.

@maxmantz I haven't actually gotten as far as handling the callback but all I've done is registered a URL Scheme for my app to receive callbacks from. I should probably break this out into a new app to test with so once I've done that I'll put it up for you to see.

Understood. Since everything concerning react-native is not connected to oidc-client, let's have this discussion here.

Can we close this one here?

Yes, I think we can. However, could you have a look at #245 ? Implementing this would go a long way in making this library browser independent.

Oh yea, I can have a look -- that was from a while ago. I've been busy on other things :)
In a week or so I'll be getting back to releasing 1.3 and I'll try to add this in. Thx

Thank you :)

np

@MyGuySi I'm currently experiencing the same issue  undefined is not an object (evaluating 'r.TYPED_ARRAY_SUPPORT') with oidc-client when importing it into a react-native app. How did you solve your issue?

@maxmantz I didn't 😄  that's what prompted me to find another solution

This error is caused by this line in the dist version. It is the source code of this library. How it got into oidc-client I don't know. It is neither a dependency of oidc-client, nor jsrasign. Got to investigate further...

In an effort to debug this further I switched the main from "lib/oidc-client.min.js" to "lib/oidc-client.js" in the package.json - and the error goes away? Not sure why?

@keirk Having look at both files, I'd say that your feedback is tied to the one provided by @maxmantz : In both dist/ and lib/, the minified versions have a reference to feross' Buffer module.
Is there any update for this ?


Refine type inference for arithmetic tensor operation

This PR includes:

Refine inference of arithmetic tensor operation (e.g. add, sub, mul, etc.)

Choose "smaller" expression when the math expression for shapes collide

Remove dtype= and shape= from the pretty printing of TyTensor

/test


add config fallback ttl to avoid default ttl when fallback response

add configuration to separate  default ttl from fallback ttl

hi @DarthSim, is there something wrong with this PR too? Can't add either?

Merged. Thanks for your contribution!


feat: progress bar  for install

Operating system and version:
How did you install nvm?
scoop
What steps did you perform?
nvm install xxx
What happened?
when nvm downloading node.js, I didn't know its progress.
$ nvm install lts
Downloading node.js version 20.9.0 (64-bit)...
Extracting node and npm...
Complete
npm v10.1.0 installed successfully.

Installation complete. If you want to use this version, type

nvm use 20.9.0

What did you expect to happen?
I am expecting that nvm could show me a progress/status when downloading node.js
e.g., 12.45 MB/25.30 MB, 49.21%
Is there anything in any of your profile files that modifies the PATH?
no

You’re using nvm-windows, which is a different project. actual nvm has a progress bar.

thanks!


Fix notebooks

🚀 Feature Request
Some notebooks aren't working after changes in inference track, we should fix them.
Notebook examples/custom_transform_and_model.ipynb isn't in accordance with hierarchy of models.
Proposal

Fix notebooks with errors.
Fix LGBMMultiSegmentModel to be like CatBoostMultiSegmentModel. Add some clarifications about parent classes and its purpose.

Test cases
Notebook works.
Additional context
No response

Closed by #974.


ability to use multiple environments

It would also be cool to be able to override some variables locally, with a .env.local file (maybe even some .env.environment.local files like .env.dev.local or .env.prod.local). Perhaps for a separate PR though.


bugfix for function getRepresentationsByName RegExp was not working

The current getRepresentationsByName function does not work for regular expressions.
The return value of typeof RegExp is object, so the function jumps into the else clause and tries to access a member repr of name which not exists and assigns undefined to reprName. In the following every representation is added to the list. An additional instanceof condition in the if statement should do the work.

thanks, good find!


Logits all reduced to very small value when training multi-label image classification

Tensorflow version: 1.7-gpu
Operating system: ubuntu 16.04

I was training a multi-label image classification model (an image could have multiple labels, and the label is like [1,0,0,0,1,0,0,1] with variable number of 1s).
I have switched to the sigmoid_cross_entropy_with_logits like below:
with slim.arg_scope(inception_resnet_v2_arg_scope()):
            logits, end_points = inception_resnet_v2(images, num_classes=dataset.num_classes, is_training=True)

        exclude = ['InceptionResnetV2/Logits', 'InceptionResnetV2/AuxLogits']
        variables_to_restore = slim.get_variables_to_restore(exclude=exclude)

        fp_labels = tf.cast(labels, tf.float32)
        loss = tf.nn.sigmoid_cross_entropy_with_logits(labels=fp_labels, logits=logits)

        total_loss = tf.losses.get_total_loss()

        global_step = get_or_create_global_step()

        # Define your exponentially decaying learning rate
        lr = tf.train.exponential_decay(
            learning_rate=initial_learning_rate,
            global_step=global_step,
            decay_steps=decay_steps,
            decay_rate=learning_rate_decay_factor,
            staircase=True)

        # Now we can define the optimizer that takes on the learning rate
        optimizer = tf.train.AdamOptimizer(learning_rate=lr)

        # Create the train_op.
        train_op = slim.learning.create_train_op(total_loss, optimizer)

        def train_step(sess, train_op, global_step):

            # Check the time for each sess run
            start_time = time.time()
            total_loss, global_step_count, _ = sess.run([train_op, global_step, metrics_op])
            time_elapsed = time.time() - start_time

            # Run the logging to print some results
            logging.info('global step %s: loss: %.4f (%.2f sec/step)', global_step_count, total_loss,
            time_elapsed)

            return total_loss, global_step_count

But when I started training the loss is decreasing very fast (from 0.5 to almost 0 in several minites), and all the logits value became almost zero for every image.
I tried manual loss function implementation but also failed.
Any advice would be greatly appreciated!

I resolved it by replacing tf.nn.sigmoid_cross_entropy_with_logits by tf.losses.sigmoid_cross_entropy, though I don't know the reason...

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce


My slide

I have created a branch, created a file and made a commit, and opened a pull request

Learning faster bit by bit


NO prdicttion

Hello, Dr. Alexander Kroll.：
After I downloaded all the files and configured my environment, I can run the example you gave me, but there is no Prediction in the results, and the GNN FP and enzyme rep are empty.

GNN.py  is empty

I also ran into this issue but this is not actually due to GNN.py being empty. Instead, the error comes from line 58 in ES_predictions.py
if isinstance(gnn_rep, str) or isinstance(esm1b_rep, str) or isinstance(df_ES["enzyme"][ind], str):
			df_ES["complete"][ind] = False

This marks the corresponding entry as incomplete if the enzyme stored at that index is a string. This is counter-intuitive as the enzyme column is supposed to be strings as that is how the argument is passed to the function. It is also defined earlier in the code in line 21,26
enzyme_list = ["" if pd.isnull(value) else value for value in enzyme_list]
df_ES = pd.DataFrame(data = {"substrate" : substrate_list, "enzyme" : enzyme_list, "index" : list(range(len(substrate_list)))})

As a solution, swapping line 58 to be
if isinstance(gnn_rep, str) or isinstance(esm1b_rep, str) or  df_ES["enzyme"][ind] == "":
            df_ES["complete"][ind] = False

fixes the problem.  This way, we keep marking entries as complete when they are strings, but mark them as incomplete if they have an empty field

Thank you very much, your explanation solved my problem. The issue was indeed in that area.


A clarifiction of the delta restore option

Since we were talking at the meetup I re-read the docs and the delta docs do not mention removing files. So I added that bit.

Yes, thanks.  That's a very good clarification to make.  I changed the wording a little and committed 87dd0a1.
BTW - please don't forget to submit the error message you were seeing for that group issue.


blob:http://localhost:8080/1bd540ec-970b-4851-b7d5-10323bbdd314 is loaded on load

i never called blob. It is loaded on load and it takes 4 secs to load that can any one help me with this issue
Thanks,
Praveen

Hey @praveen4554, could you please share a bit more details?


Added new option and removed old ajax options

We added new features to our product. Hence we removed old options enableAjaxAbort and enableAjaxErrors. We added our new option disableAjaxMonitoring.
Can you please merge it?
Also please remove enableAjaxAbort and enableAjaxErrors options from segment atatus integration page.
And add an option disableAjaxMonitoring with following  name in the integration page.
  Disable tracking of AJAX requests.

The description of this option:
  If you don't want to monitor AJAX requests, enable this setting.

@f2prateek Removed lines from History and component. Can you check and merge it?

@fizerkhan lgtm, can you please squash and rebase your changes and I can merge it.

@f2prateek  Since i already committed and pushed the code, i could not squash and rebase it.
I tried it, but it creates lot of conflicts. So i abort the rebase.

@f2prateek any updates on this?


ArcCell: wait-free get()

As an idea I got from @schets in #80, I wrote a slightly less locking implementation of ArcCell. In this version:
get() is always wait-free.
set() is wait-free with respect to other set()s. Whenever any get() arrives, the set() will block and have to wait until no concurrent get()s are active, behaving like the original implementation would in the degenerate case of the spinlock always going to get()s.
Since this will scale better for many readers, but most likely worse for many writers, I may also PR this as a new type, even though the change is backwards-compatible in terms of behaviour.

I was looking at this again today and was wondering if it makes sense to set the high bit if the writer can't acquire the lock after a while. A reader seeing that should backoff.

If you already have an Arc then isn't what you want to implement https://en.wikipedia.org/wiki/Read-copy-update ?

@sstewartgallus RCU requires a memory management scheme to go along with the read-copy-update part. Imagine that you load the Arc ptr, stall, somebody drops the arc, and then resume trying to acquire the pointer. The Linux kernel scheme for doing so is often referred to RCU as a whole. Crossbeam EBR could also be used to manage the memory. This is managing it independently of the EBR with what's essentially a second refcounting scheme.
The orderings here are subtly incorrect. In get, the SeqCst load doesn't prevent the refcount increment from reordering past it, see generated code here. SeqCst on a load is essentially an acquire load that's also ordered with respect to all other SeqCst operations and observe a global order of all SeqCst operations.
In an ideal world an Acquire on the fetch_add should work, but on aarch64 the load could still reorder behind the store part of the ll/sc pair (it's basically load-linked-acquire->store-conditional). aarch64 rmw orderings are extremely screwy and a major stretch of the c++11 atomic memory model, but oh well. I guess acquire only applies to the load ordering technically. I'm not sure of a performance-friendly way to do this without platform specific code.

@schets I was checking this thread, what's wrong with the linked code? I get
load(std::atomic<int>&, std::atomic<int>&):
        nop nop nop

.L2:
        ldxr    w2, [x1]
        add     w2, w2, 1
        stxr    w3, w2, [x1]
        cbnz    w3, .L2
        nop nop nop

        ldar    w0, [x0]
        nop nop nop

.L3:
        ldxr    w2, [x1]
        sub     w2, w2, #1
        stxr    w3, w2, [x1]
        cbnz    w3, .L3
        nop nop nop

        ret

I know little about arm64 assembly but it doesn't look unordered to me.

@arthurprs It's possible for the ldar instruction to be ordered-before the stxr and I'm pretty sure the ldxr instruction, so it's possible for the SeqCst load to happen partially or completely before the fetch_add/swap. That's definitely a problem in get(), and I believe a problem in set as well (less clear on that one).

Ahh I misunderstood the "reorder", you meant inside the execution units. Just like I say, my arm64 skills such.
You suggest using this, right? https://docs.rs/crate/atomic_utilities/0.5.0/source/src/fence_rmw.rs

That's what I've used for similar cases. It basically does:

acquire rmw on x86, since that's just an rmw + full fence all in one
relaxed rmw + seqcst fence, since every other architecture needs that sort of fencing or does it for acquire

More general types have been proposed in crossbeam-rs/rfcs#28.


SecretManager bump version v1beta1->v1

Client lib has been updated<EMAIL_ADDRESS>

Should I request a review from someone explicitly? Who would be a good person?


SATT-59: Added start and end date url parameter and added right_of_occupancy_payment field

Description
Drupal side changes for ticket SATT-59. Added start and end date url parameters which is needed that API will give results and also cron will fill right_of_occupancy_payment field value to apartment.

Not needed any more because #570

Not needed any more because https://github.com/City-of-Helsinki/drupal-asuntotuotanto/pull/570


Teach kubectl to avoid local/util, since its gone.

local/util.sh was removed in: https://github.com/GoogleCloudPlatform/kubernetes/commit/61cc821506af2de05c2c902960dd64b9cca16188
Another option would be to check for the file before sourcing it.

@jlowdermilk

I think checking for the file before sourcing it is a better solution.

PTAL

LGTM.

One minor nit, otherwise good.

Ping. Minor change needed before merge.

Sorry, got sidetracked. PTAL.


Incompatibilities in MAT_v5.jl with v1.0.2

When making my Julia code campatibile with the latest stable version 1.0.2, I have figured out some lines in "MAT_v5.jl" that were still not compatibile, so I have fixed them as follows:
Line 171: field_name_strings = Vector{String}(undef, n_fields)
Line 175: index = findfirst(isequal( 0), sname)
Line 193: data[field_name] = Array{Any}(undef, dimensions...)
Line 260: data = Vector{String}(undef, dimensions[1])
With these modifications at least my code works as before.

I had the same problem when I tried some benchmark suite that depends on MAT in a fresh Julia installation, and I found your suggestions useful 👍
This is of course a tiny fraction of PR https://github.com/JuliaIO/MAT.jl/pull/86. There was some discussion in that thread about splitting it out into smaller pieces. So i opened #104.


Import code initially

@bishopbm1 build is passing now

@bishopbm1 build is passing now

@paxri01 @bishopbm1 FYI i'm removing ipa::client::install::manual as it doesn't function right and isn't used anyways

@paxri01 @bishopbm1 FYI i'm removing ipa::client::install::manual as it doesn't function right and isn't used anyways

@bishopbm1 @paxri01 this is ready to go

@bishopbm1 @paxri01 this is ready to go


[freeimage] add compatibility with latest OpenEXR

Due to #5227, some modifications are required in this port.
I also simplified it a lot in the meantime, recycling as much code as possible instead of having to maintain many doubles

@vicroms I confirm no problem on my side pulling this PR, merging it with #5210, #5227 and also #5226 (or rebasing this PR on the latest master, since #5226 has already been accepted). If it is done, then freeimage[core]:x64-windows is built correctly
log.txt

@cenit
I had better luck pulling the PRs for libwebp and openexr into this branch (at least it builds locally).
On my previous attempt I started from the libwebp branch as base.
I'll trigger a CI build and let you know the results.

thanks! hoping for the best, please let me know in case you find anything that requires a modification

@cenit
Shouldn't OpenEXR be disabled for UWP? The now removed port for ilmbase didn't support UWP, and now that it is embedded into OpenEXR doesn't the same restriction apply?

closed in favor of #5417


Issue with output.cpu().tolist() function in downstream task

I have developed a new downstream task and I am facing an issue with predicted.cpu.tolist(), I followed the emotion recognition example. Please let me know if someone has come across similar issues.

Hey,
I am not sure this is really related to S3PRL. It seems to me that it is related to how you are using torch's Dataset class.


Bulk Stream > Rate limiting

Ref #585
Current rate limiter is based on single concurrent request per Range. Further customization of that limiter is desirable to achieve greater performance.

Currently only client side buffering is serial per key-range, where as processing the batch is parallel.
And the serial part doesn't include T -> Stream conversion which is a significant part. With-out it its worth validating the requirements once.

What is not yet clear is if we want a Rate limiting based on RU/s (which would need to be across all key-ranges) or at the request-per-key-range level.

Got it. I mis-interpreted it.


Issue building on Ubuntu 16.04 "undefined reference to `lyra2re_hash'"

Hello, I see the following error during make.  This is on a vanilla Ubuntu 16.04 machine.  The autogen and configure steps succeed.  I am running --without-gui
/home/luxor/C/vertcoin/src/primitives/block.cpp:32: undefined reference to `scrypt_N_1_1_256(char const*, char*, unsigned char)' /home/luxor/C/vertcoin/src/primitives/block.cpp:28: undefined reference to `lyra2re_hash' /home/luxor/C/vertcoin/src/primitives/block.cpp:24: undefined reference to `lyra2re2_hash' collect2: error: ld returned 1 exit status Makefile:3941: recipe for target 'test/test_bitcoin' failed make[2]: *** [test/test_bitcoin] Error 1 make[2]: Leaving directory '/home/luxor/C/vertcoin/src' Makefile:9733: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/home/luxor/C/vertcoin/src' Makefile:746: recipe for target 'all-recursive' failed

This issue tracker is only for technical issues related to bitcoin-core.
General bitcoin questions and/or support requests and are best directed to the Bitcoin StackExchange.
For reporting security issues, please read instructions at https://bitcoincore.org/en/contact/.
Describe the issue
Can you reliably reproduce the issue?
If so, please list the steps to reproduce below:

Expected behaviour
Tell us what should happen
should build
Actual behaviour
Tell us what happens instead
doesn't build
Screenshots.
If the issue is related to the GUI, screenshots can be added to this issue via drag & drop.
What version of bitcoin-core are you using?
List the version number/commit ID, and if it is an official binary, self compiled or a distribution package such as PPA.
self-compiled
Machine specs:

OS: Ubuntu
CPU:
RAM: 32Gb
Disk size: 160Gb
Disk Type (HD/SDD): SDD

Any extra information that might be useful in the debugging process.
This is normally the contents of a debug.log or config.log file. Raw text or a link to a pastebin type site are preferred.
NA

Fixed in e233f1fc3f752004189ef2a5601c4234d7ee55f6

I have confirmed this is resolved.  Thank you @metalicjames


trained models

Any directory or link for the trained models?

Unfortunately, they are too large to be hosted online.


Update status icons to aid recognition

Summary
The ICDS status icons could be improved to aid in recognition. The current icons use similar shapes which can detract from swift recognition when many are used in a single screen.
The use of only colour can cause issues with accessibility, although the current icon colours all pass required contrast ratios.
💬 Description
Update status icons to use different colours across each, different glyphs, and different background shapes.
Status icons now have the following unique features:

Glyph - the iconographic representation inside the status icon is unique to the message.
Shape - each status icon has a unique shape, with increasing number of vertices depending on the severity. The shape also matches the mental metaphor created by many road signs with triangles as warning and octagons as stop signs.
Colour - the status colour palette has been updated slightly to include new tokens for light, contrast, default and dark variants of each status colour allowing it to be used in many different scenarios.
Label - Icons should normally be associated with a label where possible. This would describe the severity of the message and add more detail.

The new colours have been tested for accessibility with the system text colours and all have a pairing with a text colour that achieves at least 4.5:1. Most have a pairing with a text colour that achieves 7:1.
New tokens to add:

Status

Success

Light
Contrast
Default
Dark

Warning

Light
Contrast
Default
Dark

Error

Light
Contrast
Default
Dark

Info

Light
Contrast
Default
Dark

Anomalous

Light
Contrast
Default
Dark

Status unknown

Light
Contrast
Default
Dark

The new status icons to use from the existing icon library are as follows:

Success: check-circle
Info: information
Warning: alert
Error: close-octagon
Unknown: help-box

💰 Use value
This will make the status icons easier to recognize and understand. It will aid accessibility by not relying too much on colour to denote differences.
Acceptance Criteria
Given that the status palette and icons have been updated
When used in other components
Then the new icons and colours should be used.
Additional info
See Figma branch 'Status icon updates' for details on the new colour styles and icons.

Still work to be done for Figma components. Re-opening.

All relevant icons now updated.


Save/restore burner equipment from vehicle grids

For example, this can be used on vehicle burner generators from Angel's Industries.
Fixes #12.

Perfect, thanks!


BandagedBD Not Installing

It's just stuck on extracting core, even after moving it to the Desktop and running it as admin.

Make sure you have the latest release. Have you tried both the regular and the NoAdmin versions?

Yes, it's the latest release, and I've tried both.

Is your discord version 0.0.301? Has it been run once since installing?

My Discord is the latest version and it has been run lots of times. I've tried both leaving it open and letting the installer close it and running the installer without it open.

Did you place it in another folder instead of the downloads folder.

He/She did. Right in the description of the Issue. @timbooo1 Indicated to have been tested on the Desktop.

@PoorPocketsMcNewHold I only saw "BandagedBD Not installing" Where can I see these descriptions?

That's the first message on an Issue, written by the user who opened the issue in the first place.

I'm blind hahaha

@KastVachez My problem with such an issue is that my computer wasn't updated and a certain windows update was withholding my installer working. Try to update your computer?

Check that you have the latest versions of the .NET framework installed, it is often installed through windows update.


Added overall cancel command

Description:
Overall cancel command will stop ongoing voice commands and let the user start another workflow if asked.
Why Needed:
Unhappy workflow
User: Select a car (Backend: Start car selection form and keep checking pre-requisites and if fulfilled select a car)
Bot: which one do you want to select? 1? 2? 3? (This is a custom message, just added here to decrease complexity)
User: Start Recording
Bot: Wrong request
User: Please start recording
Bot: Wrong request
User experience: 😞
Bot persists to have memory for a long time which makes it hard for the user to start another workflow. While this can be easily handled by adding an edge story to handle the start recording while car selection is happening. But it becomes hard to maintain this for every other command.
Happy workflow
User: Select a car (Backend: Start car selection form and keep checking pre-requisites and if fulfilled select a car)
Bot: which one do you want to select? 1? 2? 3? (This is a custom message, just added here to decrease complexity)
User: Cancel car selection
Bot: Okay, canceling running commands!
User: Please start recording
Bot: (start recording action starts)
User experience: 😄
Action points:

[x] Added training data
[x] Added stories
[x] Added rules
[x] Cancel command custom action
[x] Tested

Screen recording:
I will add it soon!

Closing and reopening the pull request to trigger the action.


Immersive Portal is incompatible with Sodium & Iris

Is it a mod compatibility issue?
Yes
If it's a mod compatibility issue, please provide the link(s) to the incompatible mod(s)
https://www.curseforge.com/minecraft/mc-mods/irisshaders
https://www.curseforge.com/minecraft/mc-mods/sodium
Minecraft version
1.20.1
Describe the issue

And it was working before updating all my mods (idk if immersive portal was updated or if it's the other mods)

first of all, get rid of Iris.

It says to use Sodium 0.5.3 and iris 1.6.11

but those versions doesn't support distant horizons + they are very outdated


[WIP] [DOC-11205] Document how to shut down the entire cluster

[DOC-11205] Document how to shut down the entire cluster

I'll close this for now until we are sure what to advise.


Kingdoms+

Pretty self explanatory.
https://www.spigotmc.org/resources/kingdoms-battle-for-land-might-and-glory-1-8-8-1-11.11833/

It's a premium plugin, and I'm not gonna buy it just to add support.
You need to find a public repo which hosts a copy of the plugin/API and pull request the hook.


Added Rumble Support for generic devices

This adds support for generic HID controllers to have rumble Support (#611)
Every device which reports usages from 0F 95 to 0F 9C will be marked as a rumble-capable device (hid_parser.c#L196) along with 0F 50, 0F 70, 0F 7C and 0F A7 (hid_parser.c#L197).
Please note that there is no effect support, so usages from 0F 99 to 0F 9C have no use.
The way it works is by getting the Maximum and the Minimum value for the report. In case the Rumble State is off, then the BlueRetro will send the minimum value to every usage. Otherwise, it'll send the maximum value multiplied by a multiplier constant (its value is from 0.0 to 1.0. I leave it there just in case) or the value from fb_data.
This should work with generic controllers like the Stadia one, Chinese clones/alternatives, and projects like my BluControl (TBA) an BluN64, without needing to integrate them separately.
Main Changes:

Added RUMBLE report id
Added USAGE_GEN_PHYS_INPUT Usage Page
Moved HID_MI_OUTPUT to the block of HID_MI_INPUT (hid_parser.c#L392)
Implemented the feedback functions for generic HID controllers

Tested with:

Config: HW1 GameCube
Console: Nintendo Wii
Game: Super Smash Bros Brawl
HomeBrew: GameCube Controller Tester
Controller: Generic one based on BluControl

There shouldn't be any breaking change as I didn't touch anything related to the current functionalities. Also, I didn't note any type of input lag, and I tried to simplify as much as I could.
If you have any question or feedback, please let me know

Note: The reason about pytest failling is because (I think) it originally didn't count about BlueRetro printing an Output usage.
Below is the test Descriptor parsed by USB Descriptor and Request Parser, and I marked both Output which were ignored on previous version of BlueRetro:

Test Descriptor
0x05, 0x01,        // Usage Page (Generic Desktop Ctrls)
0x09, 0x06,        // Usage (Keyboard)
0xA1, 0x01,        // Collection (Application)
0x85, 0x01,        //   Report ID (1)
0x75, 0x01,        //   Report Size (1)
0x95, 0x08,        //   Report Count (8)
0x05, 0x07,        //   Usage Page (Kbrd/Keypad)
0x19, 0xE0,        //   Usage Minimum (0xE0)
0x29, 0xE7,        //   Usage Maximum (0xE7)
0x15, 0x00,        //   Logical Minimum (0)
0x25, 0x01,        //   Logical Maximum (1)
0x81, 0x02,        //   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x95, 0x01,        //   Report Count (1)
0x75, 0x08,        //   Report Size (8)
0x81, 0x03,        //   Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x95, 0x05,        //   Report Count (5)
0x75, 0x01,        //   Report Size (1)
0x05, 0x08,        //   Usage Page (LEDs)
0x19, 0x01,        //   Usage Minimum (Num Lock)
0x29, 0x05,        //   Usage Maximum (Kana)
0x91, 0x02, /////////   Output (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0x95, 0x01,        //   Report Count (1)
0x75, 0x03,        //   Report Size (3)
0x91, 0x03, /////////   Output (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0x95, 0x06,        //   Report Count (6)
0x75, 0x08,        //   Report Size (8)
0x15, 0x00,        //   Logical Minimum (0)
0x26, 0xFF, 0x00,  //   Logical Maximum (255)
0x05, 0x07,        //   Usage Page (Kbrd/Keypad)
0x19, 0x00,        //   Usage Minimum (0x00)
0x29, 0xFF,        //   Usage Maximum (0xFF)
0x81, 0x00,        //   Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0,              // End Collection
0x05, 0x0C,        // Usage Page (Consumer)
0x09, 0x01,        // Usage (Consumer Control)
0xA1, 0x01,        // Collection (Application)
0x85, 0x02,        //   Report ID (2)
0x15, 0x00,        //   Logical Minimum (0)
0x25, 0x01,        //   Logical Maximum (1)
0x75, 0x01,        //   Report Size (1)
0x95, 0x16,        //   Report Count (22)
0x0A, 0xB1, 0x01,  //   Usage (AL Screen Saver)
0x0A, 0x23, 0x02,  //   Usage (AC Home)
0x0A, 0xAE, 0x01,  //   Usage (AL Keyboard Layout)
0x0A, 0x8A, 0x01,  //   Usage (AL Email Reader)
0x09, 0x40,        //   Usage (Menu)
0x09, 0x6F,        //   Usage (0x6F)
0x0A, 0x21, 0x02,  //   Usage (AC Search)
0x09, 0xB6,        //   Usage (Scan Previous Track)
0x09, 0xCD,        //   Usage (Play/Pause)
0x09, 0xB5,        //   Usage (Scan Next Track)
0x09, 0xE2,        //   Usage (Mute)
0x09, 0xEA,        //   Usage (Volume Decrement)
0x09, 0xE9,        //   Usage (Volume Increment)
0x09, 0x30,        //   Usage (Power)
0x0A, 0x83, 0x01,  //   Usage (AL Consumer Control Configuration)
0x0A, 0x24, 0x02,  //   Usage (AC Back)
0x0A, 0x06, 0x03,  //   Usage (0x0306)
0x0A, 0x08, 0x03,  //   Usage (0x0308)
0x0A, 0x01, 0x03,  //   Usage (0x0301)
0x0A, 0x83, 0x01,  //   Usage (AL Consumer Control Configuration)
0x0A, 0x0A, 0x03,  //   Usage (0x030A)
0x09, 0x70,        //   Usage (0x70)
0x81, 0x02,        //   Input (Data,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x95, 0x01,        //   Report Count (1)
0x75, 0x02,        //   Report Size (2)
0x81, 0x03,        //   Input (Const,Var,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0,              // End Collection

// 147 bytes

I didn't change the pytest files because I think that should be done by the maintainers after they accept the Pull, but it's just about updating the expecting string to 1 07E0 0 8 0801 16 5 0700 24 8, 0700 32 8, 0700 40 8, 0700 48 8, 0700 56 8, 0700 64 8, rtype: 0 dtype: 0 sub: 0 (the only thing that changes is the addition of 0801 16 5 and the consecutive offsets)

It's minor but in my view a PR should make sure if they affect the test result expectation to modify them to the new expectation.
This look really good. Does that make both left & right motor work in a sensible way?
I wonder if that would work better than whatever I make for xbox?
With an extra commit to fix the test, I would merge this.

It's minor but in my view a PR should make sure if they affect the test result expectation to modify them to the new expectation.

Yeah, I think the same. My guess is that the test didn't expect to read an output usage so that's why it's failing now, as BlueRetro printed an output that were ignored before. (As you can see, before every output usage would be completely ignored, while now it'll be threated as the same way as an input)

This look really good. Does that make both left & right motor work in a sensible way?

It should, but I need more devices to test it. My code assumes that every report field is a motor, so if there are five rumble motors, they all will be turned on/off in the same way.
Right now BlueRetro doesn't pass much information to handle them separately. But I tried to use them all, like the delay, the cycle count, and the duration. Some of them I get from BlueRetro itself while the others are from Max/Min values.

I wonder if that would work better than whatever I make for xbox?

I actually based my code from the Xbox one, and I thought the exactly the same, but, again, I don't have any Xbox One controller so I cannot test it neither.

With an extra commit to fix the test, I would merge this.

As I said before, the only thing to "fix" the test should be to update the expected output adding the new Output usage

Yes I know, I would expect you to be the one to modify that. You are the owner of the PR and it's failing the test ;)

Ok, I modified the expected output according to what I get with a BlueRetro running on a ESP32 and with a BT Device with the exactly the same descriptor as the test. Right now it should doing the test and I hope it should end successfully

Ok I will look at more closely later, It doesn't make sense for the report # 1 usage offset to change IMHO.
The rumble stuff should be like in another report.

I think the output is on report # 1 because they're declared before changing the ID.

As you can see, all of the inputs (Red) and both Outputs (Blue) are on the same Report (Yellow/1) as the Report 2 was declared after (Orange).
About getting rumble from another report, that's completely from the device's side, as the manufacture defines the structure. For example, in Stadia, Google didn't use Collections while Microsoft did. The same thing for Output reports. In a perfect world, yes indeed, those reports should be in a different report, but you know where we live right now ¯_(ツ)_/¯

Sorry for my confusion,  in my mind the LEDs output case was handled properly all along. So I was surprised when I saw it popping in and shifting all other key usage bit range by one bytes.
That means keyboard where kind of broken since day one but it was kind of ok since having the Leds byte as the first key didn't make anything, and missing the last key just reduced the amount of simultaneous key press by one.
Anyway your PR fix this!

Thanks again for the PR!

No problem! I'm very happy to support this amazing project!!!

Wow. Nice! Thank you @JPZV! I'll give it a try with my Stadia Controller.

@JPZV Seems vibration still not working with Stadia Controller. See #578.


"com.microsoft.mixedreality.openxr-1.0.3.tgz is not a valid package tarball"

I'm seeing this error when attempting to start the BasicSample project. On Windows, using Unity 2020.3.15f2. Any idea why this is happening?

I believe we use git LFS for the tarballs in this repo. https://git-lfs.github.com/
You may need to enable that specifically for this repo in order to ensure the .tgz files are pulled down. You can check if this is the case by looking in the MixedRealityPackages folder and seeing if you see actual .tgz files or placeholders.

@nicolashahn hope you have solved this by enabling git LFS before cloning the repo.  This is a common mistaken developer make for unity git repo.  Let us know if you have further questions.


Translated state

This is a feature request.
Make support for translated state similar to what is possible in templates in HA 2024.3
https://rc.home-assistant.io/blog/2024/02/28/release-20243/#translating-states-in-your-templates

Looking at the code, it should work using hass.state_translated() in pyscript, as hass is a HomeAssistant instance, and state_translated is its field, as is state.


Introduce property based tests with Rapid + bump go version

Description
This PR introduces the rapid property-based testing framework, and introduces 2 new property-based tests.
Additionally, the minimum go version has been bumped to go 1.18 to accommodate for rapid.
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[x] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
The minimum go version is changed from 1.17 => 1.18
Checklist

[x] I have assigned this PR to myself
[x] I have added at least 1 reviewer
[x] I have added the relevant labels
[x] I have added sufficient documentation in code

Codecov Report

Merging #27 (14bfd8d) into main (e43142f) will increase coverage by 0.45%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #27      +/-   ##
==========================================
+ Coverage   93.68%   94.14%   +0.45%
==========================================
  Files           6        6
  Lines        1314     1314
==========================================
+ Hits         1231     1237       +6
+ Misses         60       56       -4
+ Partials       23       21       -2

Impacted Files
Coverage Δ

core/ibft.go
92.86% <ø> (+0.76%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Kourin1996 @dbrajovic @vcastellm @b00ris @JekaMas
Opened up the PR for viewing. Would love to hear suggestions on how we can crunch down (elegantly simplify) the code for common callbacks (for the backend namely) in tests, while still retaining the freedom to re-declare methods on a need-to-set basis 🙏


chore: update license to MIT

Similar to our other libraries and projects, we should all align in use of the MIT license.

If MIT is the path chosen by the org, we'll need to adjust the pyproject.toml metadata, too.


Author/Main Entry information for pocket labels?

Our pocket label practice has been to include a line for Author/Main Entry. These fields were available in the old desktop version of SpineOmatic. Are these fields available in the cloud app? I didn't see them as an option.

Hi @grimmerr - thanks for your question. Can you try adding this to your template? If it works we can add it to the drop-down menu as well.
{{field:bib_data.mms_id}}

Let us know how it goes.


[Feature Request]  Implement Object Detector

i Googled it the whole day, and everyone just use someone models, and build on top, can't understand why, but anyway, my point - workflow could be much easier, with simple flow_from_directory compile fit evaluate but for OD(not class detection)

@chiboreache  Moving this issue to closed status as there has been no recent activity, in case you still face the error please create a new issue.Thanks!


[FIX] Updated README.md

Fixed a spelling mistake in README.md at line 25 "Found a sawag opportunity we don't have yet? You can easily add it using the following steps:" to "Found a swag opportunity we don't have yet? You can easily add it using the following steps:".

@Aditya-Padhiar Thanks for the spelling fix, though I also see some unwanted fixes you have done as a result ill be marking this as invalid for now


Add "break" and "continue" statement support to CodeGen

"break" statement has supported

continue statement supported


Use Ninja build system when available

When Ninja is installed, use it instead of Make for native builds and for Android cross-builds.
Ninja is faster and generates less output in the terminal on successful builds.

@caffe2bot retest this please

@bddppq PTAL


Many params missing change after initial = False

https://github.com/ansible/ansible-navigator/blob/9d00602cf6dd87c9c76df1d4e2ec0f7179096dab/ansible_navigator/configuration_subsystem/navigator_configuration.py#L294
Also the log message for "cannot be changed" in configurator should probably be DEBUG since, these always show and are not generated by any user input

The configuration subsystem allows certain settings option to be flagged as change_after_initial True or False.  (https://github.com/ansible/ansible-navigator/blob/main/src/ansible_navigator/configuration_subsystem/definitions.py#L76)
If the user specifies one of these options at the colon prompt and the particular setting cannot be changed after ansible-navigator has been initialized, a message is logged for the user: https://github.com/ansible/ansible-navigator/blob/0918b3c142fb6dc5d1d1aa5f9704434397edf6f3/src/ansible_navigator/configuration_subsystem/configurator.py#L131
One example of this is the no_color option, the colors are initialized when ansible-navigator starts up, and changing this setting later would have no effect: https://github.com/ansible/ansible-navigator/blob/0918b3c142fb6dc5d1d1aa5f9704434397edf6f3/src/ansible_navigator/configuration_subsystem/navigator_configuration.py#L225
All settings option should be reviewed and a determination made of what can be changed after initialization, for instance logging is setup early on and therefore cannot be changed, but is not flagged as such:
https://github.com/ansible/ansible-navigator/blob/0918b3c142fb6dc5d1d1aa5f9704434397edf6f3/src/ansible_navigator/configuration_subsystem/navigator_configuration.py#L325
https://github.com/ansible/ansible-navigator/blob/0918b3c142fb6dc5d1d1aa5f9704434397edf6f3/src/ansible_navigator/configuration_subsystem/navigator_configuration.py#L336
https://github.com/ansible/ansible-navigator/blob/0918b3c142fb6dc5d1d1aa5f9704434397edf6f3/src/ansible_navigator/configuration_subsystem/navigator_configuration.py#L343


Feature: Improve CII-Best-Practices-Badge API access

Scorecard check for CII-Best-Practices-Badge makes a single HTTP request per repo. With our current scale of 1M repos, the cron job constantly receives 429 errors and is also affecting the CII Best Practices servers. To remediate this, will use the page-based API to pre-download the data into Google Cloud and access this instead - https://github.com/coreinfrastructure/best-practices-badge/blob/main/doc/best_practices.py
@david-a-wheeler FYI.

Thanks so much! I think this optimization will improve help both Scorecard & CII Best Practices.


How to accelerate training on MPS (Apple M2 chip)

Unless I'm missing something, The docs do not show how accelerate training on MPS GPU

Same here. I looked at the source code and didnt find anything obvious to enable mps

Also looking into this.

It looks like ultralytics supports MPS for model training (YOLOv8). I can add this into our Autodistill package. I will push a release tomorrow and message here when it is done.

I have pushed autodistill-yolov8==0.1.2 which supports providing a device="mps" argument in the train() call to enable MPS. Let me know if this resolves the issue!

You may want to add a note in the doc about this option. If not present, does it uses CPU or automatically goes for the CUDA GPU?

@capjamesg When you use autodistill to label images, does it also take advantage of MPS as well?

Good question! Autodistill base models do not support explicitly setting MPS. We have logic that sets your device to either cpu or cuda depending on whether you have a CUDA-enabled GPU. If you want to see MPS support for a specific base model, let us know and we can investigate whether the change is possible!

Good question! Autodistill base models do not support explicitly setting MPS. We have logic that sets your device to either cpu or cuda depending on whether you have a CUDA-enabled GPU. If you want to see MPS support for a specific base model, let us know and we can investigate whether the change is possible.

Hey @capjamesg can you enable mps for GroundedSAM base model?

Same question here. Base models still run really slow on Mac M2 and performance might be better on MPS.


Adapt to new pyhessio

Adapt the function calls to pyhessio to the newer api introduced a couple of days ago.

This is handled in my pull request: #273

I'm in the process of merging @watsonjj's PRs now, so this should all be fixed shortly...

I was just confuse by the PR name "EventFileReader", which really is a lot more than that (including fixing this issue)


Update PHP-Versions

Coverage decreased (-0.3%) to 95.918% when pulling 7d6d9c1578ab7b4df4adad218e4378d91b0ce96e on updatePhpVersions into 90a7184c600a9f926fc5a26d567d28f7891c80d5 on main.


ADD Ambassadors form how to apply

I guess Damsky DMs aren't scalable enough and would be nice to generate form and add it to
https://docs.kodadot.xyz/ambassador-program/ambassador-intro.html#compensation
I would also add to show up on ambassador-program channel

Up and running at https://form.kodadot.xyz/ambassador
Can you add it to the docs @thea-exe ?:)

Done!

(Close this issue)


SSL Customer Cert Upload

Allow CDN tenants to upload a custom cert to the CDN for application to their services.
Customers that split traffic across multiple CDNs have to use their own FQDN and SSL cert. We need a process for them to securely upload their certs to us for storage and application against their services.
We also need to capture the FQDN of the cert and make sure it is applied as a host regex for their service so that the CDN recognizes it. It's possible that it is already in place when they upload the cert, but this should be checked.
@ryandurfey
@mitchell852

@ryandurfey @mitchell852 would this be a valuable feature?

I would also love to see such a feature


Improve code style.

There are 2 gist packages imported by this package.
https://godoc.org/github.com/shurcooL/go-goon?imports
There are 3 main problems with that:

The import path is not descriptive of what the package offers.
The packages live in an external repository.
That external repository contains a lot of unrelated and unused by go-goon functionality (it's a common-Go-code monorepo).

I should fix that. /cc @neelance

No more gists in the import graph!


chore: clean up and try to speed up tests

Closes https://github.com/momentohq/dev-eco-issue-tracker/issues/958
Tests were consistently taking anywhere from 18-31 minutes in CI recently. This PR attempts to refactor the tests to speed them up. The tests pass in 3-4 minutes now!
Improvements:

Uses BeforeSuite and AfterSuite instead of BeforeEach and AfterEach to initialize test resources (clients, caches, stores, etc). BeforeEach created resources before each "spec" (we have at least 500 specs whereas we have only 3 suites: auth, batchutils, and momento).
Uses BeforeEach only to provide unique names for topics and collections.
Adds new helper functions for creating unique string and byte keys.
Control plane tests that use cache client with default cache name now use their own dedicated cache client to avoid polluting the shared context.

@pgautier404 If desired, I can also pin the staticcheck version in the Makefile in this PR


Do not re-typecheck closures in the presence of dangling type variables

It is never safe to spawn a new constraint system in the presence of
free type variables.  In this case, if CSDiag re-typechecks a closure
involving any type variables in a bound generic type, the type checker
would skip opening those type variables into the constraint system on
the second go-around but would still create constraints referencing the
variables as though they were a part of its domain.
Cutting this off at the source (re)-causes a bunch of diagnostic regressions that
require attention.

@swift-ci please smoke test

@xedin I think a general answer for this is something that walks the expression tree and reverts bound generic types with type variables to unbound generic types before re-typechecking but that just sounds... wrong.

@CodaFi I know about this problem and it might be that we actually need to do some more sanitization of AST before type-checking again. The way the patch is regresses diagnostics in an unfortunate way, if there any way to make changes less impacting?

@xedin Ultimately, the trouble is that we are opening type variables into the TypeLocs in casts and not making an effort to overwrite them.  As they're currently the only thing in the AST that looks like this, I've just added a little scrubber that walks the expression and fills in ErrorTypes.
Should be no regressions now.

@swift-ci please smoke test

There's more structural issues here that should be addressed instead.  Going to close this for now.


[bug] auth_request fails

When attempting to use auth_request to authenticate connections, the auth request will fail with the following error:
2018/09/24 20:01:57 [emerg] 139#139: io_setup() failed (38: Function not implemented)
Expected behavior
Depending on the response code of the auth_request, it should either allow the connection or reject it
Actual behavior
In browser the connection hangs, in the error log it reports failed
Steps to reproduce the behavior
Snippet from config:
    location /live {
        flv_live on; #open flv live streaming (subscribe)
        chunked_transfer_encoding  off; #open 'Transfer-Encoding: chunked' response
        auth_request /auth_flv ;
    }
    location /auth_flv {
        proxy_pass https://url_to_auth.php;
        proxy_pass_request_body off;
        proxy_set_header Content-Length "";
        proxy_set_header X-Original-URI $request_uri;
    }

In browser, go to http://server_ip/live?app=live&stream=some_stream_name
If auth_request works, the stream will load/play. If it fails, the request will hang.

The bug is fixed, try the latest code.
Thank you for posting the issue.
Good luck!

Thank you so much! You are greatly appreciated!


Missing Container Docs: Kafka, Nginx and Redis

There are no mention of Kafka, Nginx or Redis on https://testcontainers-python.readthedocs.io/
See:

https://testcontainers-python.readthedocs.io/en/latest/search.html?q=kafka
https://testcontainers-python.readthedocs.io/en/latest/search.html?q=nginx
https://testcontainers-python.readthedocs.io/en/latest/search.html?q=redis

#268

Fixed in #286. But feel free to reopen if there's something missing.


Example

Add tair module use cases.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Handle .pth files

Things like python setup.py develop install with a special link file and make an entry in easy-install.pth. Need to special case the handling of these files to either:

pull in the required files as necessary
error if easy-install.pth isn't empty

I'm not sure which behavior is intuitive here.

I went with the second one (error nicely) as editable packages may accidentally slip in, and may not have been intentionally packaged for redistribution. If they should be part of the archive then they can be fully installed in the environment beforehand.
Fixed in 50e838a6a99.


how to build&run examples

Hi,
On Windows 11, x64, using Ninja, and MSVC
Recently, I've been trying to run examples from slang, but encountered numerous issues.
Firstly, there's a compilation issue. If you want to compile the examples, you need to manually add --target all-examples to the compilation command. Additionally, after compilation, I realized the actual execution path for the code is under ./slang, so it's unable to find the corresponding .slang files. I had no choice but to move all the shaders that needed to be executed to the outermost ./slang directory. At this point, the target example was able to run, but there were still some problems.
Also, when running the "hello world" example, I encountered the following error:
(0): error 100: failed to load downstream compiler 'spirv-opt'
(0): note 99999: failed to load dynamic library 'slang-glslang'

Moreover, for projects that utilize gfx, it seems like nothing is actually being rendered. I checked the source code and found that something seems to fail during creation without returning an error. After debugging, I believe the error code encountered is as shown in the following image:

I'm not entirely sure if the issue lies with my method of compilation or the way I'm running it.

We have not completed our cmake support yet. You can try configure cmake with presets, e.g.
cmake --preset default
Or please refer to our build instructions to use premake to generate the project files.
All examples need to be run with work directory set to where the same path as their main.cpp file.

On windows, the build process is:

Clone repo
git submodule update --init
.\premake.bat vs2019 --deps=true
Build slang.slam

To run an example, e.g. set the current work directory to the main.cpp file of that example, and run the project from visual studio.

ok, thank you.
I have already tried compiling with
cmake --preset default,
but it seems that due to some incomplete compilation configurations, it cannot correctly compile the executable file for the example. That's why I went to check the CMakeLists.txt to see if it can be compiled correctly.
Since that's the case, I will try again using premake.


[BEAM-13925] Add weekly automation to update our reviewer config

Right now, we don't have a well defined automated system for staying on top of pull request reviews - we rely on contributors being able to find the correct OWNERS file and committers manually triaging/calling attention to old pull requests. This is the continuation of an effort to improve our automation around this. Design doc for the full effort here.
This specific change adds automation to automatically find and suggest reviewers for different areas and remove inactive reviewers from the configuration
I mostly tested this locally to make sure it came up with the correct configuration on this repo, I also did test that it correctly creates the pr here - https://github.com/damccorm/beam-pr-bot-demo/pull/11
Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

R: @KonradJanica for TS changes


Delete regression that make every component accessible by default

Summary
Fixes https://github.com/react-native-community/react-native-svg/issues/1244
Test Plan

What's required for testing (prerequisites)?

Init a project with create-react-app and react-native-web
Add this fork of react-native-svg as a dependency and add a random SVG using it without setting accessible prop

What are the steps to reproduce (after prerequisites)?

Try to focus SVG elements: it will not be possible unless you enforce accessible={true}

Compatibility

OS
Implemented

iOS
❌

Android
❌

Checklist

[x] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

lgtm

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Select queries should cope with null values in columns

Describe the bug
I have a collection of records with a generally consistent set of properties, however one of those properties can either be a number or null. I can't find a way to select the column with or without the rows with a null value. It works fine if I only select columns that are always non-null.
To Reproduce
I am using the Explore query feature of https://grafana.com/grafana/plugins/pgollangi-firestore-datasource/
I tried the query
Select channel_uuid,duration_ms,end_time_ms,lanes from LatestQuantum
FireQL doesn't cope with this, reporting "fireql.Execute: unknown field duration_ms in doc " (I've replaced the actual doc id). The value of the field in that doc exists with the value of null, while it is a number in other docs.
So I tried various govaluate operators eg.
Select channel_uuid,(duration_ms ?? 0) as duration_ms,end_time_ms,lanes from LatestQuantum
but I get the error "fireql.Execute: syntax error at position 35 near ':v1'"
I also can't seem to exclude those records :
select channel_uuid,end_time_ms,lanes,duration_ms as duration_ms from LatestQuantum where duration_ms != null

fireql.Execute: firestore: must use '==' when comparing <nil>

select channel_uuid,end_time_ms,lanes,duration_ms as duration_ms from LatestQuantum where (duration_ms ?? 0) > 0

fireql.Execute: syntax error at position 105 near ':v1'

Expected behavior
The column should return whatever type the data contains. Or at least allow nullable types. Or at the very least allow me to exclude those records. Right now I simply can't use that column because the data may contain nulls.
Thanks for these projects though - they have a lot of potential

@buzzware thanks for reporting this issue. Sorry it took sometime to get back.
We can allow selecting fields having NULL values in the document. I'll make necessary changes.
However I have to check the possibility of filtering by NULL values using WHERE condition. let me know if you really need this? so that I can plan accordingly

This has been fixed with FireQL version 0.3.6 A new version of Grafana plugin submitted which includes this change. https://github.com/pgollangi/firestore-grafana-datasource/releases/tag/v0.2.6
Please give it a star and share if you think FireQL and Grafana Plugin is useful to you!
Thanks!


Cannot view as scrollable element

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
Output is truncated. View as a scrollable element.
Clicking [scrollable element] does nothing. It stopped working since a month or so.
I think this was still working in 1.80.2, so this is a regression. Not sure how it happened, because this bug was solved more than a year ago.
VS Code Version
1.81.1
Jupyter Extension Version
v2023.7.1002162226
Jupyter logs
Clicking the link has no effect on the jupyter logs

Coding Language and Runtime Version
python 3.10
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
Local

duplicate of https://github.com/microsoft/vscode/issues/189699
the fix is out in insiders and will be in stable next week.
As a temporary workaround, you can also use the command notebook.cell.toggleOutputScrolling, bound to ctrl+k y by default.


Display hours in day scheduler

I would like to have the ability to use the scheduler to view a single day with the resources on the left and the hours where the days are currently displayed.
As far as I can see, this is not currently possible, would it be possible to add this as a feature?
This is an example of what I have in mind:
https://www.bryntum.com/examples/scheduler/basic/

@msinkgraven Interesting you should bring this up as I am working on a new "resource" view at this very moment.

It will be available in QCalendar v2.0
The sematic verson change is because the event system has changed and will break existing if not modified (slight modifications)

Please keep this ticket open until v2.0 is done. Thanks.

v2.0 has been released with new resource view. Enjoy.


RF: forum post on RF5 metrics

What is it?
Explain the metrics, where they come from, how they're calculated

Draft...
Open Source Observer is happy to support the latest Retro Funding round with another suite of impact metrics.
As RF5 features OP Stack contributions, the metrics we’ve developed for the round are focused on GitHub repo-level contributions. They are intended to give human voters some helpful “data in the loop” as a complement to projects’ self-reported impact statements.
The metrics comes in three flavors:

Basic vanilla GitHub stats. We took a snapshot of projects’ GitHub repo stats (stars, forks, etc) at the end of the review process (2024-09-23). Nothing fancy here. You can double-check any of these by clicking on the project’s repo link.
Contributor counts. We indexed the event history for each repo to identify unique, non-bot contributors over the lifetime and the past 6 months of the project. We also present a count of “trusted” contributors.
Trust weighted metrics. With our friends at OpenRank, we implemented a “developer rank” and a “repo rank” algorithm. The algorithm considers contributions to over 40K repos, seeded by a set of “high impact” repos identified by core devs. These trust-weighted metrics offer a better approximation of the impact a project has had specifically on the Optimism ecosystem versus the broader Ethereum / open source universe.

As always, you can see the source code and underlying data behind metrics here.
A few caveats:

The metrics come exclusively from public GitHub activity.
The majority - but not all - projects in the round submitted GitHub repos as part of their impact statements.
Metrics are presented only at the repo level (we don’t roll them up to the project level). Some projects submitted more than one repo and therefore have multiple sets of metrics.
The underlying data behind the metrics comes from gharchive. We only capture contributions to public repos; we don’t capture any private contributions that happened before the repo turned public. This may cause minor differences between the metrics on the project’s voting page and the ones you see on the project’s actual GitHub.

Metrics are continuously evolving. Feedback or questions on our GitHub forum are always welcome!
The Metrics
The following fields are included in the GitHub-based metrics analysis for Retro Funding 5:

artifact_url: Repository URL associated with the project based on the application. A project may have multiple repos in its application.
project_name: Name of the project.
project_category_id: Category ID of the project (1, 2, 3).
num_contributors: Total number of contributors before August 1, 2024. A contributor is defined as any non-bot user that has contributed to the repository (since 2015) by committing code directly to a repository, opening an issue, or opening/reviewing a pull request.
num_trusted_contributors: Number of trusted contributors before August 1, 2024. A subset of the contributors defined above, this is the number of contributors that are also in the top 420 of the OpenRank developer trust score.
num_contributors_last_6_months: Number of contributors over the period Feburary 1, 2024 - August 1, 2024.
num_stars: Total number of stars as of September 23, 2024.
num_trusted_stars: Number of stars from trusted users before August 1, 2024. A subset of the stars defined above, this is the number of stars from users that are also in the top 420 of the OpenRank developer trust score.
trust_weighted_stars: This metric is a percentage score between 0% and 100%, representing the sum of the reputation share of the developers who starred the repo.  If all developers in OpenRank developer ranking have starred a particular repo, the metric's value is going to be 100% for this particular repo. The more and the higher ranked developer who starred the repo, the higher the percentage value, the higher impact and quality of this repo. We calculate this metric by first calculating every developer's reputation share (%) based on their OpenRank score, then sum them up if they starred the target repo.
num_forks: Total number of forks as of September 23, 2024.
num_trusted_forks: Number of forks from trusted users before August 1, 2024. A subset of the forks defined above, this is the number of forks from users that are also in the top 420 of the OpenRank developer trust score.
trust_weighted_forks: This metric is a percentage score between 0% and 100%, representing the sum of the reputation share of the developers who forked the repo. If all developers in OpenRank developer ranking have forked a particular repo, the metric's value is going to be 100% for this particular repo. The more and the higher ranked developer who forked the target repo, the higher the percentage value, the higher impact and quality of this repo. We calculate this metric by first calculating every developer's reputation share (%) based on their OpenRank score, then sum them up if they forked the target repo.
trust_rank_for_repo_in_category: Ranking of the repository's OpenRank trust score within its category. A score of 1 indicates the highest ranking repo in its category.
age_of_project_years: Age of the project in years, measured from the project's first public commit to August 1, 2024.
license(s): License(s) used by the project.
application_id: Application ID in the sign-up and voting UIs.

Shipped: https://gov.optimism.io/t/impact-metrics-for-retro-funding-5/8931


chore(release): making a new release

Contains PRs:

https://github.com/splunk/pytest-splunk-addon/pull/840
https://github.com/splunk/pytest-splunk-addon/pull/846
https://github.com/splunk/pytest-splunk-addon/pull/883
https://github.com/splunk/pytest-splunk-addon/pull/881

:tada: This PR is included in version 5.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix for issue #14: connection timeouts in cluster mode

This PR is fixing the connection timeouts when the Redis backend lib is connected to multiple Redis servers (i.e. cluster mode). The problem was that a activated connections (ready to receive a response from Redis) got skipped and only a timeout would re-activate the connection to continue processing/receiving.
Also, fixes the handling of a corner case where no more new scan commands need to get issued.
While looking at the scan command, I noticed that there might be several empty lists getting return but with a valid cursor indicating that another scan is needed to complete the iteration. Therefore a count argument was added to the scan command to reduce the number if 'empty' iterations.
Also added a timestamp to the logging as a minor add-on to this.

I was pretty sure it wasn't a copy-paste error :) thanks for clarifying


Build user interface

Create GUI to interact with the API

Moved to separate package: http://github.com/kuhnrl30/LendingClubAccess


Add Proximity Labs, an awesome startup, great clients, 100% remote, BLR based

Proximity Labs

Clients:

Nasdaq
Disney
ESPN
Upsox
Brick

About:

100% Remote
Cutting edge tech stack
Proximity talks with industry and SM experts
Autonomy and complete ownership of what you work on
An amazingly talented engineering team who are just as fun to work with as they are knowledgable

great thank you for your help.


Make Go module builds faster!

Right now all the Go is compiled inside the Docker image, which makes JUST go test ./... alone take ~30 seconds on a fresh module, and go mod download takes more if you change the go.mod file at all.

It would actually be okay to compile stuff (both Go & Typescript) outside the image and copy it inside because:

It would make the development way faster
If the user's module is getting pushed to Dockerhub via CI, they still have a standardized build environment in the form of the CI environment that compiles the code outside before copying it inside the Docker image


*: upgrade rustc and clippy

Now we need to upgrade rustc to 1.17.0-nightly (ccce2c6eb 2017-03-27). If you use rustup, try rustup override set nightly-2017-03-28.

LGTM


Images not loaded initially - Fix proposal

Hey all
When I load images the first time, they are not loaded via the lazyload plugin. Only when I scroll a little bit, then it is working without problems.
I checked the plugin and changed this line in the update method:
if (settings.skip_invisible && $this.css('display') === 'none') {
//if (settings.skip_invisible && !$this.is(":visible")) {
It seems, that it is a problem with jquery's .is(':visible') method. So after the small change, it is working properly.
I hope this helps.
Kind regards
Dave

You are using Safari and images do not have width and height attributes set? For jQuery they are invisible images. So you could also set skip_invisible to false or add width and height to images.

No I am not using Safari... It is on all browsers not working. I set the width and height to the DIV and include the IMG with width 100% & height 100% in it.
Well it is working with the above change, I just wanted to post my experience in case any one other is struggling with such an issue.

Having the same problem with Firefox and Chromium. When explicitly setting weight & height to a fixed 'px' value I get empty gray rectangles, only when doing a minor scrolling this is okay.

So you could also set skip_invisible to false

Are images not in viewport still lazy loaded then?

The fix from @daverupp seems to work

Or you can just use skip_invisible to false. No it will not load all images. It will just also check if images which are not :visible appeared in viewport.

Since 1.9.5 skip_invisiblenow defaults to false. Too much confusion about what it does.


heap_caps.c:heap_caps_get_largest_free_block() returns incorrect value  (IDFGH-6129)

Environment

Module or chip used:  ESP32-WROOM-32D
IDF version(s): v4.2.1, v4.2.2, release/v4.4, v5.0-dev-79-gbcbef9a8db
Build System:         idf.py
Compiler version: 8.4.0
Operating System:     Linux
Power Supply:         USB

Problem Description
heap_caps_get_largest_free_block(MALLOC_CAP_8BIT) always returns a value which is the largest available allocatable block rounded down to the nearest power of 2. This is in contradiction with the documentation and the semantics prior to implementation of the TLSF allocator.
The error arises from this line in the multi_heap_get_info_impl() function:
    info->largest_free_block = info->largest_free_block ? 1 << (31 - __builtin_clz(info->largest_free_block)) : 0;

The semantics of this function were changed in commit bd9b921713d80 in October 2020 as part of the implementation of the TLSF allocator. (See multi_heap.c:L374)
This bug has a significant impact on the Micropython port to all ESP32 platforms by significantly reducing the amount of RAM available to the Micropython heap when built against any IDF version since the TLSF allocator was implemented.
Expected Behavior
heap_caps_get_largest_free_block(MALLOC_CAP_8BIT)  should return the size of the largest allocatable block - in agreement with the documentation and the semantics prior to implementation of the TLSF allocator.
Actual Behavior
heap_caps_get_largest_free_block(MALLOC_CAP_8BIT)  returns the size of the largest allocatable block rounded down to the nearest power of 2.

@glenn20 Thanks for reporting the issue. We did run into the same issue recently, and there is a fix submitted for this internally. Please try changing that line as follows:
    if (info->largest_free_block) {
        uint32_t sl_interval = (1 << (31 - __builtin_clz(info->largest_free_block))) / SL_INDEX_COUNT;
        info->largest_free_block = info->largest_free_block & ~(sl_interval - 1);
    }

@igrr I can confirm that fix works for me and resolves the issue for the Micropython ESP32 port. Will this fix be applied to updated v4.XX release tags, or only to future v5.X releases?

Should be fixed on master branch in https://github.com/espressif/esp-idf/commit/0028e2c23c74872f9e424652a4758a358666b797, we will backport to release branches as well.

Thanks for fixing that - Took me a while to figure out because I was trying to reserve 65535 bytes for DMA. Because of this issue, it  split the block in two, but ended creating a pool of 65524 and ... trying to create another of 11 which failed obviously!


Add Nong Song:

Song Name
Space Abyss (Lunar & Solar Mashup)
Artist Name
Lchavasse
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=WjAWl5wQGLo
Direct File Link
No response
Song ID
737166
Start Offset [ms]
No response
Extra
Originally used in master duel, need it on solar abyss to sync on mobile or other places where NONGs are not avaliable

accept


The source property of problem matchers is not documented

This page mentions it exists https://code.visualstudio.com/docs/editor/tasks
This page is missing it entirely https://code.visualstudio.com/docs/editor/tasks-appendix
It's an important one too. If it's missing then the "code" property is silently thrown away and it's a pain to figure out why it's not showing up in the problems view.

@meganrogge I've just submitted a PR in the docs repo. Could you please review it?


How to train a new model with 8k data

Thanks for your contribution. What parameters need to be modified to train a new model with 8K data

Thanks for your interest!!
#8, #12 will be helpful to you.
Make the parameters related to FFT smaller, set upsample_rates to fit hop_size, set segment_size to be a multiple of hop_size and adjust 'sampling_rate' and 'fmax'.
Adjusting upsample_kernel_sizes according to 'upsample_rates' is recommended, but not required. It's a good idea to experiment to see which is better.

I close this as there are no recent updates. Please reopen if anyone needs additional comments.