Supporters and PrismJS Lang Fixes

Temporarily fix\ing a bug created by #1159. Need to discuss w @bebraw before adding that back in.
Also removing an unsupported prismjs language.

@bebraw I tried to fix the <Support> issue by using two <Interactive> components but it seems that isn't supported by antwar-interactive (I guess because both use the same id?). Are any of the lifecycle methods called where I could call the fetch so this can execute during the build? If so, I guess I could use that in combination with the isomorphic-fetch package?
Or is there any way to bypass the <Interactive> issue?


Epic: create per-service unit tests for pageserver services

We have a bunch of lazy_static variables in the pageserver that make it quite hard to spin up one or more of the pageserver services (like page service, wal service, etc). We did a good job in the safekeeper to allow such tests: https://github.com/neondatabase/neon/blob/main/safekeeper/src/safekeeper.rs#L968-L975 Such test are most quick to run, so we can programmatically generate a lot of edge cases, use more fuzzing, etc.
There are a few blockers in the pageserver codebase for that tests like:

avoid lazy_static global state, as it hard to spin them up in unit tests
talk with disk and S3 via an intermediary object that could be mocked in tests

Good candidates for such tests:

branching and GC interaction
on-demand S3 load
rebalancing

While this epic is really wide in its scope I suggest writing such tests for one of the suggested topics (e.g. only for rebalancing) to consider this epic as done.

Testing is good, but I don't think this epic is tracking anything specific enough to make the ticket useful


Resources are changed after a rebuild

Version: 1.3.7

When compressing some lost text, will it have any effect on the application?

When recompressing the data, the changes are small and not very important.

We can't reproduce this issue without the apk. The attr case needs further investigation.
On second dimen case the problem comes from java's float number division/multiplication accuracy, normally it is less than +/- 0.00005, for some reason if you want to keep original value you need to use json format

https://gofile.io/d/3pZ7xr
Here is the apk, thanks

Same issue, this is the last I know of, the tool is improving day by day.

File apk:
https://mega.nz/file/VNlwUYRA#1sJD4ZRy2bvWWd3OG8ZfjEH7jg5coBAypZAfiHwrhZE

I can't reproduce your issue, i did DECOMPILE -> COMPILE -> DECOMPILE , then the output is the same. How you did your comparison ?

Use apktool or another decoder to see, I use mt manager to compare resources.arsc

APKEditor is different from other tools our main goal is to produce editable files so that you can build it back correctly to working apk. Where as apktool intended to produce android  standard source code, check #51 .
formats="reference|string|integer|bool|color|float|dimension|fraction" is equivalent to format=any thus you are free to code it like <attr name="__removed3" >.
Q: Why APKEditor is not stripping away format=any like other tools?
A:
During encoding we don't rely/trust xml tag name. Some obfuscators may use different name <abcd name="__removed3" >, but we need to correctly identify the type of entry is attribute, style or plural therefore our logic is:

If element contains  format="xxx" -> encode it as attribute
If element contains parent="xxx" -> encode it as style
If element contains quantity="xxx" -> encode it as plural

Thank you for your explanation. Great tool. Wishing you a good life.


Unsuccessful Integration

Done installation from HACS
Rebooted HA
SmartThinq not showing up in Integration list
SmartThinq not showing as installed integration in HACS.
Look into HA logs. Logs indicating all custom components are successfully loaded but not for SmartThinq

Need help on this. Thanks.

Go to integration page and setup new integration. If not available refresh your browser cache.

thanks for your prompt response.
The component is not showing as installed integration in HACS even after multiple installation attempts made.
and to note, i did refresh/clear my browser cache. integration still not showing up

found this error
This error originated from a custom integration.
Logger: custom_components.hacs
Source: custom_components/hacs/base.py:597
Integration: HACS (documentation, issues)
First occurred: 11:51:54 PM (4 occurrences)
Last logged: 11:51:54 PM
A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/ollo69/ha-smartthinq-sensors/v0.12.10/custom_components/smartthinq_sensors/const.py, check the network on the host running Home Assistant
A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/ollo69/ha-smartthinq-sensors/v0.12.10/custom_components/smartthinq_sensors/device_helpers.py, check the network on the host running Home Assistant
A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/ollo69/ha-smartthinq-sensors/v0.12.10/custom_components/smartthinq_sensors/manifest.json, check the network on the host running Home Assistant
A timeout of 60! seconds was encountered while downloading https://raw.githubusercontent.com/ollo69/ha-smartthinq-sensors/v0.12.10/custom_components/smartthinq_sensors/diagnostics.py, check the network on the host running Home Assistant

fixed by doing manual git clone. thanks for the awesome work.


Issue in publishing for linux due to NetIrc2 1.0.0

When we restored package NetIrc2 got below warning:
Package 'NetIrc2 1.0.0' was restored using '.NETFramework, Version=v4.6.1' instead of the project target framework '.NETCoreApp,Version=v2.0'. This package may not be fully compatible with your project.
project worked with that package and when tried to publish with this command:
dotnet publish -c release -r ubuntu.16.10-x64
getting this error:
error NU1605: Detected package downgrade: System.Diagnostics.Debug from 4.3.0 to 4.0.11. Reference the package directly from the project to select a different version.

@xPaw  Would you please at least add some suggestion for this issue?

It's just a warning, latest net core works fine with .net dependencies.


urlname upgrades

Codecov Report

Merging #61 (2fbec02) into main (27e5527) will decrease coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #61      +/-   ##
==========================================
- Coverage   88.37%   88.32%   -0.06%
==========================================
  Files          13       13
  Lines        1299     1293       -6
==========================================
- Hits         1148     1142       -6
  Misses        106      106
  Partials       45       45

Impacted Files
Coverage Δ

new.go
91.76% <100.00%> (ø)

patch.go
96.48% <100.00%> (ø)

urlname.go
86.04% <100.00%> (-1.71%)
:arrow_down:

Continue to review full report at Codecov.

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


502 - Failed to verify validator signature

Hey all, I've been having some issues on spinning up mev-boost on a goerli testnet machine with two validators (64 goETH) being staked. Both the validators can be seen using the following links:
https://prater.beaconcha.in/validator/0xa26f92f0a0482db5b2d5c697058599587045b522a31ed22f392bb4d1be58b840cc5f66af8032db5723672a733d1593a0
https://prater.beaconcha.in/validator/0x8fe2fd7a550ef84b8abc725c4b2044f95a2a8815c6f6b0ed7ade5aef509a678926fc5243eef226fa94a26d8b92092d2d
I see the following logs on my machine running geth v1.10.23 / prysm v3.0:
koala@koala:~$ mev-boost -goerli -relay-check -relays<EMAIL_ADDRESS>INFO[2022-08-31T04:55:44-04:00] mev-boost v0.7.10                             module=cli
INFO[2022-08-31T04:55:44-04:00] Using genesis fork version: 0x00001020        module=cli
INFO[2022-08-31T04:55:44-04:00] using 1 relays                                module=cli relays="[{0xafa4c6985aa049fb79dd37010438cfebeb0f2bd42b115b89dd678dab0670c1de38da0c4e9138c9290a398ecd9a0b3110<EMAIL_ADDRESS>INFO[2022-08-31T04:55:44-04:00] Checking relay                                module=service<EMAIL_ADDRESS>INFO[2022-08-31T04:55:45-04:00] listening on localhost:18550                  module=cli
INFO[2022-08-31T04:56:09-04:00] http: GET / 200                               duration=0.000114296 method=GET module=service path=/ status=200
INFO[2022-08-31T04:56:15-04:00] http: GET / 200                               duration=4.6419e-05 method=GET module=service path=/ status=200
INFO[2022-08-31T04:56:38-04:00] http: GET /eth/v1/builder/status 200          duration=0.049115153 method=GET module=service path=/eth/v1/builder/status status=200
WARN[2022-08-31T04:59:12-04:00] error calling registerValidator on relay      error="HTTP error response: 400 / {\"code\":400,\"message\":\"failed to verify validator signature for 0xa26f92f0a0482db5b2d5c697058599587045b522a31ed22f392bb4d1be58b840cc5f66af8032db5723672a733d1593a0\"}\n" method=registerValidator module=service numRegistrations=2 ua=Go-http-client/1.1 url="https://builder-relay-goerli.flashbots.net/eth/v1/builder/validators"
INFO[2022-08-31T04:59:12-04:00] http: POST /eth/v1/builder/validators 502     duration=0.20179482 method=POST module=service path=/eth/v1/builder/validators status=502

My validator routinely shows this upon each epoch:
Aug 31 05:18:24 koala validator[10757]: time="2022-08-31 05:18:24" level=warning msg="Failed to update proposer settings" error="could not submit signed registrations to beacon node: rpc error: code = InvalidArgument desc = Could not register block builder: could not register validator(s): Post "http://<IP_ADDRESS>:18550/eth/v1/builder/validators": dial tcp <IP_ADDRESS>:18550: connect: connection refused: Builder API validator registration unsuccessful" prefix=validator slot=3785792

Any thoughts?

The error message inside this shows that the relay couldn't verify the signature:
failed to verify validator signature for 0xa26f92f0a0482db5b2d5c697058599587045b522a31ed22f392bb4d1be58b840cc5f66af8032db5723672a733d1593a0

@metachris What could be causing this issue?

It appears that I was missing the "--goerli" flag on my validator. It may be useful for people to note that you must have this flag if you are using somer-esat's testnet systemd settings for prysm.


Monthly reports to Client

Hello! Thank you for your work. Is it possible to do a monthly report including a single website for a client?

Hey @Kulcanhez, are you talking about a way to export a report or about the possibility to view previous weeks/months. Could you specify the data you're looking for more precisely?

I'm referring to something like this: https://support.google.com/analytics/answer/6081893?hl=en

It's not planned to add this feature to Ackee, but it's possible to use the API to generate such reports (after previous weeks/months are supported). Maybe someone wants to build a tool for this :)

Hey, I just finished building a CLI tool called ackee-report which solves this issue.
It lets you create monthly (or in any interval) reports for any one of your websites and send them to multiple email addresses. You can create multiple reports for different websites and recipients.
It requires minimal knowledge of the command line and cron (all explained in the README) and you have to use your own email service like gmail, SendGrid or any other service which supports SMTP.
CC @Kulcanhez

@BetaHuhn amazing work! 😄 I would love to have a screenshot of how the email looks and see how we can improve it.

Right now it's just simple text, but I am already working on mimicking the design of the Ackee UI. For now it's just going to use Ackee's color scheme.
The email is just a ejs template which gets rendered with the data from the API. The plan is to create different templates which you can choose from.
You are very welcome to create your own and submit them via a PR! Also let me know if there's something else missing in the tool.
Here's is screenshot:

Right now it's just simple text, but I am already working on mimicking the design of the Ackee UI. For now it's just going to use Ackee's color scheme.
The email is just a ejs template which gets rendered with the data from the API. The plan is to create different templates which you can choose from.
You are very welcome to create your own and submit them via a PR! Also let me know if there's something else missing in the tool.
Here's a screenshot:

Edit: fix typo

For me, it sounds amazing and feels really complete. I was also thinking in use Ackee design feel, so I'm excited to see the look. 😄

That's awesome! Thanks a lot for creating such an amazing tool for Ackee!

Thanks! I just released a new version which now uses Ackee's color scheme and a overall cleaner structure in the report:

I still need to work on how to display the pages, referrers and other detailed data in a cleaner way, but I think for now it's good enough 😄

@BetaHuhn looks much better!! Thank you for your amazing contribution! 🚀


Make AnnotatedService support multipart/form-data

Motivation:
Make AnnotatedService support Multipart with @Param File or @Param Path
Modifications:

Make @Param supports File & Path
[x] Allow setting upload temp folder in ServerBuilder
[ ] Support DocServicePlugin (?)

Result:

Closes #3578
User can use @Param with File & Path
User can use Multipart if they want to aggregated in memory
Setting multipartLocation by using Flags

--
Make this draft and want to have a design feedback of ResolverContext/FileAggregatedMultipart.

About Doc service, it's better to split to another PR?

Updated

Move multipart upload location to ServiceConfigSetters, but have question that if it's ok.
Moving file after upload complete.
Not sure if Files.createDirectories is safe even checking the doc. So wrap it with Caffeine to keep single computation.

Merging your PR (#4101) caused conflicts in this PR 😅 Would you mind resolving them?


Sponsored you

Hi
I have just supported you :) I can only support for a little while but I wanted to show my appreciation to your. Ode efforts with Blazer. I found it interesting. If you would share the code for the survey system I'd love to see it. I worked on a similar dynamic form / page system before using xml and was interested in your solution. I get the technologies are different of course but the basic idea is the same. How would you approach a dynamic page and dynamic menu / sub .menu pointing to dynamic pages? I don't know if you have that already, just wondering.
I tried to message you on you website but it didn't work, kept saying try again later.

Hi @BobZielonka,
thank you so much for sponsoring me. Currently, the code is quite wobbly and I'm working on fixing it. When it will be stable, I'll share the code. What technologies are you using?
I have a component to create menus. When you say dynamic menu, do you mean you have a model with all the MenuItem like name and link and want to render it?
Sorry for the message on the website, something funny happened but I can see your message but I haven't received the notification.

No problem. To be honest I'm just interested in seeing it, I'm a c# dev myself. I was looking at learning Blazer and thought it was a fantastic way for me to do it.
No problem, I wanted to let you know ow that the site was having issues. I like how much you are doing for the dev community, its good to see  :)
Yes I was thinking a model as you say with the Jason properties, how it could like to a dynamic page also from a model. You would have to do routing somehow I guess? I don't know about Blazer.so just guessing.

As I say, it doesn't even have to work I won't be using it for anything I was just interested in seeing your approach.


Spurious messages when setting environment.usrbinenv to null

Describe the bug
If environment.usrbinenv is set to null in configuration.nix
environment.usrbinenv = null;

then nixos-rebuild switch prints
rmdir: failed to remove '/usr/bin': No such file or directory
rmdir: failed to remove '/usr': No such file or directory
Activation script snippet 'usrbinenv' failed (1)

This is because the current logic
      else ''
        rm -f /usr/bin/env
        rmdir --ignore-fail-on-non-empty /usr/bin /usr
      '';

ignores the non-existence of /usr/bin/env but does not check whether /usr/bin or /usr exist before the rmdir.
As rmdir does not have a -f flag it's a bit awkward, but I think just adding an idempotent mkdir should be ok.
      else ''
        rm -f /usr/bin/env
        mkdir -p /usr/bin
        rmdir --ignore-fail-on-non-empty /usr/bin /usr
      '';

Steps To Reproduce
Steps to reproduce the behavior:

Create a configuration.nix like

# Edit this configuration file to define what should be installed on
# your system.  Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running `nixos-help`).

{ config, lib, pkgs, modulesPath, ... }:
{
  ...
  environment.usrbinenv = null;
}

Run nixos-rebuild switch.

Expected behavior
No errors printed to console.
Notify maintainers

I'm not quite sure who to ping, maybe @roberth and @dasJ?
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -I nixpkgs=flake:nixpkgs -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.56, NixOS, 23.11 (Tapir), 23.11.20231009.f99e5f0`
 - multi-user?: `no`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.17.0`
 - nixpkgs: `not found`

(I'm using a flake with nixpkgs pinned to f99e5f03cc0aa231ab5950a15ed02afec45ed51a)

Somewhat related, systemd-update-done.service will error when it tries to stat the (non-existent) /usr.
Wrapping the service to make /usr and remove it again seems to work.
  systemd.services.systemd-update-done.serviceConfig.ExecStart = [
    "" # clear
    (
      pkgs.writeShellScript "systemd-update-done-wrapper" ''
        mkdir -p /usr
        ${pkgs.systemd}/lib/systemd/systemd-update-done
        rmdir --ignore-fail-on-non-empty /usr
      ''
    )
  ];

The implementation of the first fix proposed above also seems to work.
  system.activationScripts.usrbinenv =
    lib.mkIf (config.environment.usrbinenv == null) (
      lib.mkForce ''
        rm -f /usr/bin/env
        mkdir -p /usr/bin
        rmdir --ignore-fail-on-non-empty /usr/bin /usr
      ''
    );

I really don't like the extra operations. Those just make it slower and more chaotic.
The nicest solution would involve improving mkdir itself.
Short of that, you could test -d and only run rmdir if it makes sense to do so.
Something like if test -e /usr/bin; then rmdir /usr/bin; fi and the same line for /usr.
This actually also makes it ever so slightly faster in the common case, because test does not create a process.

Sure, something like
  system.activationScripts.usrbinenv =
    lib.mkIf (config.environment.usrbinenv == null) (
      lib.mkForce ''
        rm -f /usr/bin/env
        if test -e /usr/bin; then
          rmdir --ignore-fail-on-non-empty /usr/bin
        fi
        if test -e /usr; then
          rmdir --ignore-fail-on-non-empty /usr
        fi
      ''
    );

works fine.
I think -e is preferable to -d as we might want to warn if either /usr/bin or /bin are files rather than silently ignore.

@roberth I opened #264523. On second thought -d is preferable to -e because if for whatever reason /usr/bin or /usr are files we probably shouldn't touch them. Rather, it should basically be a perfect inverse of
        mkdir -p /usr/bin
        chmod 0755 /usr/bin
        ln -sfn ${config.environment.usrbinenv} /usr/bin/.env.tmp
        mv /usr/bin/.env.tmp /usr/bin/env # atomically replace /usr/bin/env


Update message seen when usb cable bad

When I tried to upload my data, I had a cable that apparently only provides power and does not transfer signal.  After a bunch of troubles, I found the entry on http://support.tidepool.org/article/13-upload-your-dexcom-g4 about trying another USB cable and that fixed the problem.  Having that as an option in the error message would've likely been a nicer experience.
I would've preferred to add the comment at the end of the message, but it appears like the error handling is forcing the link to the device driver to be at the end of the message.  I'm not necessarily in love with the wording or anything here, if you think it's suitable great.  If not, feel free to do something else that is more meaningful and just close this PR.

Hey @cheddar thanks for pointing this out. The surfacing of errors in the UI is being pretty heavily revamped in jebeck/redux, which should be going into review and then through testing very soon. I'll check in with @gniezen and try to figure out a way to work in a "maybe your cable is bad" message.

Fwiw, as I thought about it some more, just linking to the Support portion of the tidepool.org website might actually be preferable?

Hmm, yes, that's a good idea @cheddar! I bet we could easily configure a link to the relevant section on a per-driver basis :)


resolve rubocop offenses for home_controler.rb

I decided to start small by resolving the offenses in home_controler.rb
There is only one left that I didn't touch:

Do not itroduce global variables.
at break_counter = $redis.with { |conn| conn.get('break_counter') } || 0

There's clearly a few things that need adjustment in rubocop's config, so here's a checklist:

[ ] block style should be changed from "functional-vs-imperative" to "multiline-vs-singleline"
[ ] trailing comma in hash should be disabled (is it enabled?)
[ ] Ignore global variables

It shouldn't be a problem for me to do this but I probably can't work on this till Wednesday.

That's alright, it's not urgent :thumbsup:

Made the suggested changes everything should be alright now.

:+1: LGTM


Where to use CUDA stream when transferring?

Thank you for contributing high-quality code! When I scan the code, it is difficult for me to find where using CUDA streams and threads for device-to-host and host-to-file transfers, as the paper shows. I will appreciate if you can point out the position of cuda stream in this repo.

@preordinary
The streams for doing D2H and H2D copies are at https://github.com/DataStates/datastates-llm/blob/main/datastates/ckpt/src/tiers/gpu_tier.hpp#L11
The threads for host-to-file and file-to-host are initiated at https://github.com/DataStates/datastates-llm/blob/main/datastates/ckpt/src/tiers/host_tier.cpp#L9
Hope this helps!


Add minimum spanning tree algorithm

minimum_spanning_tree.h
In this file, I have define a helper struct DisjointSet for managing disjoint sets. The minimum_spanning_tree function implements the Kruskal's algorithm for finding the minimum spanning tree. It utilizes the DisjointSet data structure and sorts the edges in ascending order based on their weights. The algorithm iterates over the sorted edges and adds an edge to the minimum spanning tree if it does not form a cycle.
minimum_spanning_tree.tpp
Since the entire implementation of the minimum_spanning_tree function is already coded in the header file, there is no additional implementation required in the "minimum_spanning_tree.tpp" file. The code in the header file is already complete and self-contained.

I have implemented the tests in test file

Sir,
I have implemented the clang-format successfully.
I also have implemented the tests in test/graaflib/algorithm/minimum_spanning_tree_test.cpp)
But I am getting an error while including minimum_spanning_tree.h in the test file, so I believe u may include it in your makefile or something to make it work, I apologise for not doing it myself.
I am pushing my code for now, Thank You.

Sir, I have made pull request implementing the test cases for scenerios like

Empty graph
Single vertex

Linear graph
Complete graph
Graph with disconnected components

FYI, I opened #27, which adds support for header-only installation of the library. When merged, this will introduce conflicts to any changed made under src/graaflib.
The conflicts should however be fairly simple to resolve, as the src directory was just renamed to include. Simply discard any changes made under src/graaflib and add them to the respective files under include/graaflib.
Feel free to reach out if you encounter any issues 🤖

@bobluppes I am still getting the error - graaflib/algorithm/minimum_spanning_tree.h: No such file or directory, after doing everything, but except this I am getting no error and code working fine

@bobluppes I am still getting the error - graaflib/algorithm/minimum_spanning_tree.h: No such file or directory, after doing everything, but except this I am getting no error and code working fine

Hi @Aliqyan-21, I suspect that your CMake configuration has not yet detected the new files. Could you try reconfiguring your CMake? From the command line this would be:
# Assuming you have a build folder at the root of the project
cd build

# Re-generate the build system
cmake ..

# Now trying to rebuild the project
cmake --build .

Hi @Aliqyan-21, closing this for now. If you want to continue on this in the future feel free to re-open.
More information on contributing and our development setup can be found on the wiki.


Incorrect JSON Response

Please provide us with the following information:

We are extracting datetimev2 entities via LUIS api using prebuilt model. In the json response, we  are not able to deserialiize it due to additional values being returned. For eg: "10D" is added without the correct format of the json response body.
This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Submitted line - to extract datetimev2 entities
Mannauðslausnir - RMKT,$63.87,From Feb 28, 2021, 12:00 AM to Mar 21, 2021, 2:15 PM,2021 - Mannauðslausnir - RMKT - RMKT - 10D,6,858 Impressions,$63.87,2020 - AutoBoost - Post Engagement,$155.13,From Feb 28, 2021, 12:00 AM to Mar 21, 2021, 2:15 PM,2020 - AutoBoost - Post Engagement - IS,4,095 Impressions,$12.76,2020 - AutoBoost - Post Engagement - IS,8,270 Impressions,$24.13,2020 - AutoBoost - Post Engagement - IS,8,008 Impressions,$21.98,2020 - AutoBoost - Post Engagement - IS,6,277 Impressions

The json response for datetimev2 we got
[{ 		'type': 'datetimerange', 		'values': [{ 			'timex': '(2021-02-28T00:00,2021-03-21T14:15,PT518H)', 			'resolution': [{ 				'start': '2021-02-28 00:00:00', 				'end': '2021-03-21 14:15:00' 			}] 		}] 	}, 	'10D', 	{ 		'type': 'datetimerange', 		'values': [{ 			'timex': '(2021-02-28T00:00,2021-03-21T14:15,PT518H)', 			'resolution': [{ 				'start': '2021-02-28 00:00:00', 				'end': '2021-03-21 14:15:00' 			}] 		}] 	} ]

Any log messages given by the failure

Expected/desired behavior

JSON response with correct format.

OS and Version?

Windows 7, 8 or 10. Linux (which distribution). macOS (Yosemite? El Capitan? Sierra?)

Versions

Microsoft.Azure.CognitiveServices.Language.LUIS.Runtime  V3.0.0 nuget

Mention any other details that might be useful

Thanks! We'll be in touch soon.

Duplicate - https://github.com/microsoft/Recognizers-Text/issues/2691


Add searchbox

Changed header to include search-box.
Should we change the css here or keep the css file in the website repo?

@RamitKataria do we still need this PR?

Nope, not needed anymore, so closing the PR.


Kill tasks in batches.

Instead of send kill requests for all tasks at once we send them in batches.

Thanks!

Superseded by #3513


After copying a report in the test tab, the copies are confused when edited

Steps to reproduce:

In Test a Pipeline, run the adapter of frank-manual/misc/manual-test/configurations/processXml. Input message is <person>Jan Smit</person>.
Open in debug tree and copy to test tab.
Go to the Test tab. Select it and press the copy button to the top (not copy to folder).
Open the first copy. Go to edit mode. Leave Stub Senders and add description saying the senders are stubbed.
Open the second copy. Go to edit mode. Select Never for sender stubbing pulldown menu. Add description saying that senders are not stubbed.
See errors. In the test tab, the descriptions are not as expected from editing.

When I try to reproduce, I do not get the option to add a description. I opened the report from the Test tab. Then I went to edit mode, but the body of the panel remained the same. Previously, the XML of the report went away and there were edit fields, one for the description/


Need a way to cache channel messages from Android services

The ID service, etc for Firebase Messaging will be registered in the Android manifest and will respond (onTokenRefresh(), etc) before the Flutter lifecycle has an opportunity to execute. Any messages sent to Flutter from the service will therefore be lost (e.g: notify flutter that the token has changed). This means implementing logic on the native side to deal with these situations.
It would be great if there was a way to cache the channel messages and restore them on application start so you don't need to resort to other mechanisms.
cc/ @xster

@gaaclarke I seem to remember that we do cache message now?

Yep, channel buffers hold messages destined for the framework from the host API: https://api.flutter.dev/flutter/dart-ui/ChannelBuffers-class.html
By default the buffers are just one size, but they can be increased.


[Feature request] snippet comment option

When posting a snippet on slack, I can usually add a comment, but I don't see any --comment option here in slackcat. This is something I would definitely use. Perhaps others feel the same way?

Added in #32; will be included in the next release.

Damn, I'm really loving your quick responses @bcicen Thank you!

Thank you for the feature suggestion :)


A Bug of 0.5.2 ? use closed HConnection in HBaseStoreManager.ensureTableExists()

line 1295 of GraphDatabaseConfiguration will call HBaseStoreManager.ensureTableExists()
the HBaseStoreManager.ensureTableExists() finally close the HBaseAdmin;
the HBaseStoreManager.cnx will be closed when close the HBaseAdmin;
line 1296 of GraphDatabaseConfiguration will call HBaseStoreManager.ensureTableExists() again,
this call will use the closed HConnection which cause problems:
the HConnection.masterAddressTracker will reference to the closed HConnection.zookeeper

the version of HBase i use is HBase 0.94.2

Those GraphDatabaseConfiguration line numbers seem inconsistent with 0.5.2.  Here's GraphDatabaseConfiguration @ 0.5.2:
https://github.com/thinkaurelius/titan/blob/0.5.2/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/configuration/GraphDatabaseConfiguration.java#L1295-L1296
1296 assigns the null literal to a field.  I don't see how that could possibly call ensureTableExists.
Is it possible to reproduce this problem?  A config file and script to cause the problem would be great.  If I can trigger the bug, then I can investigate.

Sorry, it's my fault. they are line 1259 and 1260
https://github.com/thinkaurelius/titan/blob/0.5.2/titan-core/src/main/java/com/thinkaurelius/titan/graphdb/configuration/GraphDatabaseConfiguration.java#L1259-L1260

and it will close HBaseStoreManager.cnx at
https://github.com/thinkaurelius/titan/blob/0.5.2/titan-hbase-parent/titan-hbase-core/src/main/java/com/thinkaurelius/titan/diskstorage/hbase/HBaseStoreManager.java#L755-L757

@christoperzeng thanks for following up.  I took a closer look.  Lines 1259 and 1260, as you linked in your reply, make sense.  However, I disagree that HBaseStoreManager.cnx is closed on HBaseStoreManager.java 755-757.  It's true that we call HBaseAdmin.close there.  But we constructed HBaseAdmin using the HBaseAdmin(HConnection) constructor (at https://github.com/thinkaurelius/titan/blob/0.5.2/titan-hbase-parent/titan-hbase-core/src/main/java/com/thinkaurelius/titan/diskstorage/hbase/HBaseStoreManager.java#L984-L990).  The source for that constructor shows it setting the final boolean cleanupConnectionOnClose field to false.  HBaseAdmin.close consults cleanupConnectionOnClose; since that's final and was set to false at construction, it should not attempt to close cnx.  So this narrative doesn't seem to add up.
I used the source for HBase 0.94.25 when investigating.  0.94.2 is really old.  That might have something to do with it.  I'd be surprised if they changed the connection cleanup behavior in a bugfix release though.
Please reopen if you can provide instructions to reliably reproduce this, or a complete exception stacktrace if you can't reproduce it.  Thanks.


IOS 14 - notice about TV Icon

Hi all,
Since GM / Final of IOS 14, it seems that first TV accessory does not have a TV icon anymore, if it is published through the bridge and not as an external accessory.
The beahvior changed during the beta one way and another, so I won't do anything until 14.1 at least .
Meanwhile, if you really want the icon, you can publish all TV accessories as external accessories (use corresponding option publishAllTVAsExternalAccessory  .
Support of bridged TV accessories has never been really official, and it has at least never been really supported for control center widget (that is why the second hub is published as an external accessory).
I might move to a default behavior of publishing all TV Accessories as external (I did not do that at first since it needs one more steps to add - and remove -  them in home app but thinking of it).
#297  - #295  - #282

@nicoduj
iOS 14 has a new “Set Top Box” accessory category, which might be useful for the plug-in.
https://appleinsider.com/articles/20/09/16/apple-quietly-adds-new-streaming-device-categories-to-homekit-in-ios-14

This issue is still there in IOS 14.2 Eta.

Thanks, glad to have my icon back. If this situation doesn't change it might be nice for this information to be spelled out in the Config UI X settings screen for the plugin.

This issue is still there in IOS 14.2 Beta.

In my case (homebridge-harmony v1.4.1 and iOS 14.2), I had to add: "publishAllTVAsExternalAccessory": true to my HB config.json (this can also be accomplished from the WebUI under "General").  The documentation suggests this defaults to true but it doesn't appear to be the case.  After doing this, I had to re-add the TV accessory to HomeKit and the "TV" icon is back.

Hi, It defaults to true for new installs. Existing install which have a cached accessory will still retrieve it from cache . If you remove it from cache, at next start it will publish as an external accessory

This actually doesn’t seem to work for me. If I delete the plug-in and then reinstall with the publish as external set to true, the tv just doesn’t appear.

This actually doesn’t seem to work for me. If I delete the plug-in and then reinstall with the publish as external set to true, the tv just doesn’t appear.

You have to add it manually it won't' be linked to the hub

This actually doesn’t seem to work for me. If I delete the plug-in and then reinstall with the publish as external set to true, the tv just doesn’t appear.

You have to add it manually it won't' be linked to the hub

Oh, I see.  That worked now, thank you!  Sorry about that.

@nicoduj What do you mean by "You have to add it manually it won't' be linked to the hub". I can't get the TV to show up at all, only the separate switches.


Player View Change

Alright, silly question to those who know how, but I've no clue and don't know a better place to put the question. How do you adjust the viewing height of a model? I feel I'm still seeing things from the vanilla height, even though my model is technically shorter. If this isn't a base feature for the mod for the viewing height to be adjusted with the placement of the 'Head', the original, then it'd be very useful. Sorry to complain about such a wonderful program though!

I now realize it's the hitbox as a whole is still set the base model, even with everything set different. I realized this as I was playing some and got plinked in my 'Air' by an arrow.


feat: add checking on string field for point

 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.


License

I didn't see a license this was under. It might be worth adding one, as I'd like to know whether it's okay to use this as a start page for a small group (quite often projects will license images separately from code, etc.).
Awesome page by the way.

Good point. I believe the gifs under img/ are licensed under CC, since so many wallpaper websites have them. Anyways, I added the MIT license.
Thanks for the tip.


Update documentation to DPS client v0.0.6 release

@Danielius1922 is v0.0.4 retry mechanism diagram needed? In the future, the doc will support functionality to switch between versions directly in the UI. But I wouldn't commit all versions to the main.

@Danielius1922 is v0.0.4 retry mechanism diagram needed? In the future, the doc will support functionality to switch between versions directly in the UI. But I wouldn't commit all versions to the main.

How will we get older release versions of the docs? We don't have releases or tags for this repo, so how it be done? I guess creating an archive with version matching the DPS version makes most sense or what's the plan?


azure-cli installation on SLES12SP4 fails - once again

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Cannot install azure-cli on SLES 12 SP 4
To Reproduce
Do Steps 1 to 4 from https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-zypper#install
sudo zypper install -y curl
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli
sudo zypper install --from azure-cli azure-cli
Expected behavior
azure-cli is installed.
Environment summary
SUSE Linux Enterprise Server 12 SP4 x86_64 (64-bit)
bash
Additional context
azmvbmt1ci:~ # sudo zypper install --from azure-cli azure-cli                                                     Refreshing service 'Advanced_Systems_Management_Module_x86_64'.
Refreshing service 'Containers_Module_x86_64'.
Refreshing service 'HPC_Module_x86_64'.
Refreshing service 'Legacy_Module_x86_64'.
Refreshing service 'Public_Cloud_Module_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Server_x86_64'.
Refreshing service 'SUSE_Linux_Enterprise_Software_Development_Kit_x86_64'.
Refreshing service 'Toolchain_Module_x86_64'.
Refreshing service 'Web_and_Scripting_Module_x86_64'.
Loading repository data...
Warning: Repository 'Backports SLE-15-SP2 (standard)' appears to be outdated. Consider using a different mirror or server.
Reading installed packages...
Resolving package dependencies...
Problem: azure-cli-2.12.1-1.el7.x86_64 requires libpython3.6m.so.1.0()(64bit), but this requirement cannot be provided
uninstallable providers: libpython3_6m1_0-3.6.10-lp<IP_ADDRESS>.x86_64[openSUSE_Leap_15.2_Update]
libpython3_6m1_0-3.6.10-lp<IP_ADDRESS>.x86_64[openSUSE_Leap_15.2_Update]
Solution 1: Following actions will be done:
install glibc-2.26-lp<IP_ADDRESS>.x86_64 (with vendor change)
SUSE LLC https://www.suse.com/  -->  openSUSE
install glibc-locale-2.26-lp<IP_ADDRESS>.x86_64 (with vendor change)
SUSE LLC https://www.suse.com/  -->  openSUSE
install nscd-2.26-lp<IP_ADDRESS>.x86_64 (with vendor change)
SUSE LLC https://www.suse.com/  -->  openSUSE
Solution 2: do not install azure-cli-2.12.1-1.el7.x86_64
Solution 3: break azure-cli-2.12.1-1.el7.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/3/c] (c):
Solution 2 as mentioned on https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-zypper#install Step 4 is no solution -> azure-cli will not be installed. Why should i install openSUSE packages, when using SLES?
I had these type of errors month ago. It is really frustrating, that azure-cli is not working on SLES. We need the for the Enhanced Monitoring Extension for SAP.
Link to older issue: https://github.com/Azure/azure-cli/issues/9665

Solution https://docs.microsoft.com/de-de/cli/azure/install-azure-cli-zypper#install-on-sles-12-or-other-systems-without-python-36 is not working too.

thanks for reporting. @fengzhou-msft could you pls have a look? thanks

We have a script to build python 3.6 from source, then download azure-cli and install without dependency. Please try:
curl -sL https://azurecliprod.blob.core.windows.net/sles12_install.sh | sudo bash

@tp199314 are you able to give the above script a try?

Script is working. Needed to remove azure-cli package before. It is possible to add a check for this?
Is this script a long-term solution or will it be replaced in the near future? maybe we will integrate this in some scripts.

I have added a removal step in the script.
It is a long-term workaround as the default Python 3.4 on SLES12SP4 reached end-of-life and Azure CLI dropped support for it.


:seedling: Improve syncer/nsmap local testing experience

We have docs on running the syncer locally, but they haven't been updated for #1708
Also, we can improve our logging to help people figure out when the syncer is failing because of DNS lookups

/ok-to-test

Will reopen if I ever rebase


Removed unnecessary alias

Fixes https://github.com/OHDSI/WebAPI/issues/1168

Was fixed in v.1.9.0


refactor(CategoryTheory/Sites): rename Sheafification file

In preparation for #9012, to make the diff nicer.

maintainer merge


how to use the interface

and when i use "ik" it showed undefined

Can you show the code you're trying to compile that causes this error?
Please also say which OS you're on and which branch you checked out.

Can you show the code you're trying to compile that causes this error?
Please also say which OS you're on and which branch you checked out.

#include <ik/ik.h> int main() { struct ik_solver_t* solver = ik.solver.create(IK_FABRIK); return 0; }
VSCode on ubuntu16.04

and i use terminal to build
g++ ik-master-test.c -L /usr/local/lib -I /usr/local/include/ik
/tmp/ccf6dLel.o：在函数‘main’中：
ik-master-test.c:(.text+0xb)：对‘ik’未定义的引用 (Undefined reference)
collect2: error: ld returned 1 exit status

OK I have solved this problem

when I run the example code in Readme A new problem has occured ：Exception has occurred.
Segmentation fault

You need to call ik.init(); first before using any other functions

I'm going to assume it worked for you, so I'll close this issue now :)


VSCode-insider can't be upgrade to newest version

Does this issue occur when all extensions are disabled?: Yes/No

Version: 1.92.0-insider
Commit: 3e283de567f5701a2be639bdacdac2c3cfdb088a
Date: 2024-07-08T05:03:50.245Z
Electron: 29.4.0
ElectronBuildId: 9728852
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Windows_NT x64 10.0.22631
Steps to Reproduce:

Try to install new version VSCode Insider via gear icon --> Install Update... (1)

Confirm to Upgrade Now VSCode Insider to install an update

Fail to install

Log vscode-inno-updater-1720768104.txt

Jul 12 07:08:24.087 INFO Starting: C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe, false, Updating Visual Studio Code...
Jul 12 07:08:24.088 ERRO Bad arguments: Code path doesn't seem to exist: C:\Program Files\Microsoft VS Code Insiders\Code - Insiders.exe

However my installation of VSCode insider is in user folder "C:\Users\238724\AppData\Local\Programs\Microsoft VS Code Insiders\Code - Insiders.exe"

/duplicate 220999


SDA-6239 | fix: Add message to helper --delete param on init cmd

Related issue: https://issues.redhat.com/browse/SDA-6239
What
Adds message from the deprecated value this substituted
Why
There was no helper message

/lgtm


SclParser does not close FileInputStream

Hello,
I've found that the parse method on the SclParser class does not close the FileInputStream it creates before throwing a SclParseException.
As a result, the file is locked for delete, rename etc. operations.

Closing as there is an override of the parse method that accepts an InputStream. My bad.


Update network_file_desc.rst typos

Fix spelling errors.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (6c5a871) 89.06% compared to head (f4fcbf1) 89.06%.

:exclamation: Current head f4fcbf1 differs from pull request most recent head c4d6fba. Consider uploading reports for the commit c4d6fba to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #707   +/-   ##
=======================================
  Coverage   89.06%   89.06%
=======================================
  Files          28       28
  Lines        5068     5068
=======================================
  Hits         4514     4514
  Misses        554      554

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mark config keys that are available with wg-quick only

DNS and Address for example are only valid config items when using the wg-quick tool, IMO it would be good to distinguish these and any others, just a brief:

[wg-quick only]

marker, perhaps linking to a section that explains.

Sure, although I'm surprised anyone uses raw wg tbh, wg-quick has always seemed like the primary user-facing CLI to me.

Depends on use case I suppose, if you're using it as a client(s) - server VPN for privacy or whatever wg-quick is probably great. For networking many servers though you might prefer to use systemd (supports WireGuard netdevs as of v241 as I recall, better support in 243) or similar file-based config.

I just checked and wg-quick handles a superset of wg's file-based config features. I use it for my server-to-server VPN, not for privacy, and have never felt the need to drop down to raw wg. I remain unconvinced that anyone should start by using wg directly unless they already know what they're doing (in which case they don't need these docs anyway), but I still think labeling them better is harmless so I'll leave this issue open.

Note that some environments, such as OpenWRT, don't provide/support wg-quick.


Bit of code rewrite

I don't know if you are interested in this, but I did a bit of code refactoring.
The changes should safe a few KB in the minified version. I removed a lot of redundant calls of the form $(jQueryObject) and added chaining whereever possible. I tried to unify the code for some effects.

The public interface of the slider was not changed at all.
Just the code was changed / unified to save a few (redundant) calls and variable references.
The only possible BC break that this could introduce is a higher required version of jQuery, but I don't think it does.
But I have not tested this with older versions of jQuery though...

I will push through a set of build scripts and update the packed files -- following that should be able to merge into Master branch -->


Latest version 0.1.2 not compatible with fsspec<2022.3.0

Hello,
The addition of this line depends on fsspec.registry:available_protocols which from what I see was added in fsspec 2022.3.0 so the latest 0.1.2 build is only compatible with fsspec >= 2023.3.0. This was a silent failure in my system because universal_pathlib doesn't have version constraints on fsspec, it lists all versions as compatible which doesn't seem to be the case anymore.

Fixed via https://github.com/fsspec/universal_pathlib/releases/tag/v0.1.3
will be on pypi soon, and in a few hours on conda-forge.
Cheers,
Andreas 😃

Amazing. Thank you so much for the incredibly quick turnaround. Much appreciated ❤


loader.js is not merged in the vendor.js file

When using this addon with an updated version of ember-cli >= 2.3.0-beta.2, the loader.js module is not loaded in the vendor.js file, resulting in a JS error stating that define is not defined.
I believe this is due to an upstream change in ember-cli, which changed the loader.js dep to a node module in package.json. Previously loader.js was a bower component.
See: https://github.com/ember-cli/ember-cli/blob/v2.3.0-beta.2/CHANGELOG.md#230-beta2

Thanks for the heads-up - I updated the readme that an exact ember-cli version of 2.2.0 is needed. I'm open for PRs to improve this, but personally, I am not pushing this project much further and rather looking at ember-engines.

Yeah I definitely agree moving forward with ember-engines is much better long-term. However, our team is desperate for lazy loading and need an implementation for the short term. This addon works great for that use case and doesn't require a ton of changes to the overall app structure.
I have a fix for this issue locally that works with newer versions of ember-cli and would be happy to submit a PR.

Happily accepting a PR! Especially if it supports both ember-cli versions
On Wed, 29 Jun 2016, 17:24 Joshua Bailey<EMAIL_ADDRESS>wrote:

Yeah I definitely agree moving forward with ember-engines is much better
long-term. However, our team is desperate for lazy loading and need an
implementation for the short term. This addon works great for that use case
and doesn't require a ton of changes to the overall app structure.
I have a fix for this issue locally that works with newer versions of
ember-cli and would be happy to submit a PR.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/duizendnegen/ember-cli-lazy-load/issues/11#issuecomment-229391792,
or mute the thread
https://github.com/notifications/unsubscribe/AAoow5aR0DWVYfrMbnZ1BxHIICMXIBzcks5qQo5HgaJpZM4JAjoQ
.


Error while adding DVR DH-XVR5116HE-4KL-I2

Is your feature request related to a problem? Please describe.
I can't configure the integration to use the DVR DH-XVR5116HE-4KL-I2.
I keep receiving the error Username, Password or Address is wrong
Tried with the local IP address and HTTP and HTTPS ports.
Describe the solution you'd like
Be able to use the DH-XVR5116HE-4KL-I2 with this integration.
Describe alternatives you've considered
n/a
Additional context

Home Assistant Core version: 2022.12.6
Dahua integration version: 0.9.44 (installed using HACS)

DVR:

Model: DH-XVR5116HE-4KL-I2
Hardware version: V1.0
Web version: V<IP_ADDRESS>020
Onvif server version:  16.12(V<IP_ADDRESS>8802)
ONVIF version: V2.4.1
System version: V4.001.0000004.1, Fecha compilac.: 2021-10-20
Safe Baseline version: V2.1

Hi, is there any update on this? I would like to integrate my DVR connected cameras into Home Assistant. Thanks.


Updated relevant pods and pod spec for swift 4 migration

Thanks for this @WesleyBuck! When the new version of Xcode with Swift 4 is publicly released, I'll push this to master!


Allow iframing Mailcatcher

Instead of having to remember a separate port number, it would be nice if applications were able to iframe Mailcatcher.
if Rails.env.development?
  get 'email' => 'email#index'
end

class EmailController < ApplicationController
  def index
    render inline: '<iframe src="http://localhost:1080" style="width: 100%; height: 100%">'
  end
end

Unfortunately Mailcatcher sets a same-origin header preventing this.

It should be a fairly simple change. Is there a reason it shouldn't be allowed by default?

Allowing iframe access makes certain attacks possible, but is that even a concern for Mailcatcher users? My use for Mailcatcher is to capture emails from a Rails app that are 100% trusted content.
Perhaps there are cases where that's an unacceptable risk, but it seems to me the option should be available. (I'd be happy to submit a PR making it configurable)

Could you use a redirect, instead?

My goal is to have a URL that's easy for people to remember. Going to localhost:3000/email just to be redirected to localhost:1080 breaks the illusion and doesn't allow for easy memorization.

is that even a concern for Mailcatcher users

I think so, yes! It's common to see exploits in the wild which probe for developer tools at known addresses and locations. And such tools tend to be a bit more permissive, and so are juicy targets. I don't want to open a hole on developer's machines by default and be responsible for an attack.

I'd be happy to submit a PR making it configurable

I appreciate the offer, but I'm reticent to add too many knobs and dials to mailcatcher. It has a single focus and purpose, and I don't like straying too far or increasing the potential maintenance issues too much. This is probably a rare enough use case that I'm hesitant to add it.
I'd suggest using a redirect, or a reverse proxy if you really want.


Release to Pypi?

Hi @ivan-chai
Thanks for the great work. I would like to hear if it would be possible for you to release the code as a package to Pypi such that it can be installed using pip install torch-linear-assignment?
We want to use this code as a dependency in Torchmetrics (PR: https://github.com/Lightning-AI/torchmetrics/pull/2777) for a new implementation and it messes with our CI that the package currently needs to be installed from src.
Thanks!

Hi!
I think about Pypi myself. However, It's quite difficult to build and support CUDA extensions for all PyTorch and CUDA versions as well as all GPU architectures. Do you have any reference code with the established release pipeline? May be there are some GitHub pipelines?

Hi! I think about Pypi myself. However, It's quite difficult to build and support CUDA extensions for all PyTorch and CUDA versions as well as all GPU architectures. Do you have any reference code with the established release pipeline? Are there useful examples of GitHub pipelines?

You don't need to publish compiled wheels which (you are right) could be challenging, but you can just publish sdist...
We could assist you with it 🦩

Thank you for clarifications! I will be very grateful for some handy manual, if you have one.

created draft #7 and seems that the package can't be easily installed on clean env. it somehow expects that torch was already installed...

Yes, Torch is needed to build Torch CUDA extensions. Thus, it is a build dependency.

I'll look at pyproject.toml specification. However, I'm not sure it is compatible with Torch extensions.

Thank you for writing setup code! I've merged the PR and added pyproject.toml. By now the CI pipeline seems OK.

The package was uploaded to Pypi.

@ivan-chai cannot find it on Pypi?
https://pypi.org/search/?q=torch-linear-assignment

@ivan-chai cannot find it on Pypi?
https://pypi.org/search/?q=torch-linear-assignment

Alrighty, now I can find a v0.0.1post1 version. I try it out in our PR to see if everything works as expected

The post1 release didn't include '.cu' files. I fixed this issue in the post2 release.


Enable/Disable the Quiet Zones

I'm migrating from IDAutomation to render the barcodes in the browser.  I found one of the configurations regarding the  "Quiet Zones". Is Enabling/Disabling Quiet Zones available in Bwipp? If yes, how can we configure in the options while generating the barcode?

It sounds like you are using bwip-js, so the question is better asked there.  But to answer your question, look at the bwip-js specific option paddingwidth.

Thanks. That's working perfectly.


Multi categories parents

What I'm trying to achieve
Men > Denim > Denim Jacket = Men > Jacket & Coat > Denim Jacket
Describe a proposed solution
Improve categories taxonomy with multi parents.
Denim Jacket:
Parent 1: Denim
Parent 2: Jacket & Coat

Hey @ArnaudJeannin. Thanks for your suggestion! We're not planning to do that, at least not for now. If you would like to have multi categories parents, then you can try to use logic from the menu.


Use fast opt in mdoc to circumvent a bug in Scala.js incremental linker

Just making sure CI is happy

Releasing https://github.com/scalameta/mdoc/pull/456 would be a better workaround


allow count() as group function

Currently there are several aggregate (here called "group") functions implemented:
https://docs.prestd.com/query-statements/#groupselect-functions-support
https://www.postgresql.org/docs/13/functions-aggregate.html
However that is not the complete list of aggregate functions natively supported by postgres.
I would like to add count(columnName|*) here.
maybe one can explore whether some of the other functions are also worth implementing. But I would like to keep the focus on this issue on count(), because I actively need that currently, to do something like:
select column, count(column)
from table
group by column
;
to have a list of all unique values of "column" with their associated frequency.

Prest == Lovely work btw. ❤

@trensetim to count there is the query string parameter with the name ?_count={field name}
read more here

Thanks. I have just tried this on my test database.
Using http://localhost:3010/test/public/person
Results in
[{"id":1,"name":"a","birthday":"1998-05-21","favorite_number":3},
{"id":2,"name":"b","birthday":"1999-11-09","favorite_number":3.1415},
{"id":3,"name":"c","birthday":null,"favorite_number":1},
{"id":4,"name":"c","birthday":null,"favorite_number":2}]
Using http://localhost:3010/test/public/person?_groupby=name
Results in {"error": "pq: column "person.id" must appear in the GROUP BY clause or be used in an aggregate function"}
Using http://localhost:3010/test/public/person?_groupby=name&_count=id
Results in {"count":1}
Using http://localhost:3010/test/public/person?_groupby=name&_count=name
Results in {"count":1}
All of those are not what I want.
I would like to receive
[{name:'a', count:1},{name:'b', count:1},{name:'c', count:2}]
How can I achieve this?
Btw. I am running prest/prest:v1.0.12 which seems to be the latest version-pinned image currently.

I'm marking this issue as a bug, but I need to do some testing and understand how we are going to resolve this issue
@trensetim do you have a proposal to do this fix?

Using http://localhost:3010/test/public/person?_groupby=name&_count=name
Results in {"count":1}

accessing the endpoint with the mentioned parameters we execute this sql query:
SELECT COUNT("name") FROM "prest"."public"."prest_users" GROUP BY "name"

follows my example
dataset:
[
  {
    "id": 1,
    "name": "pREST Full Name",
    "username": "prest",
    "password": "8c60e97b9cf709c643e4a583b1ae9cb1",
    "metadata": null
  },
  {
    "id": 2,
    "name": "test",
    "username": "lero2",
    "password": "8c60e97b9cf709c643e4a583b1ae9cb1",
    "metadata": null
  },
  {
    "id": 3,
    "name": "test",
    "username": "lero3",
    "password": "8c60e97b9cf709c643e4a583b1ae9cb1",
    "metadata": null
  }
]

request URI:
GET /prest/public/prest_users\?_count\=name\&_groupby\=name

response:
{
  "count": 2
}

query sql (executed internment by prestd):
SELECT COUNT("name") FROM "prest"."public"."prest_users" GROUP BY "name"

the correct is to return:
{
  "count": 2,
  "count": 1,
}

had a condition to return the first record as an object (not the object list)
https://github.com/prest/prest/blob/39cd7ca287f6abb6619e8ca2e84276fb59736668/controllers/tables.go#L211-L214
solution
I think it is worth having the option to return the first record, in some cases I "only" want to know the sum of the record and return it in a list I would have to interact in a list of 1 to get the result, but I agree that should not be the default behavior.
Thinking about this we are implementing a parameter called _count_first that will have the behavior to bring the first record, when not passed it will bring the list of records as it works in the execution of the query in postgres

This is awesome. To answer my own question according to your new version: I have to call
GET /prest/public/prest_users\?_count\=name\&_groupby\=name&_select\=name

Which gives me exactly what I expected:
[{"count":1,"name":"a"},
 {"count":1,"name":"b"},
 {"count":2,"name":"c"}]

@trensetim yep, did it behave differently?

Well it behaves as I expect it now. So huge thanks and this issue is solved for me 👍


Extending a styled component

I have a question about the intended inheritance pattern for StyledComponents.
Say I have:
class MenuItem extends React.Component {
  render() { return <foo className={this.props.className} />; }
}
const StyledMenuItem = styled(MenuItem)`
  height: 10px;
`

I'd like to extend StyledMenuItem with a subclass, let's say Settings
class Settings extends StyledMenuItem {
  render() { return <bar className={this.props.className} />; }
}
const StyledSettings = styled(Settings)`
  width: 10px;
`

But this pattern doesn't seem to be functional, the render method of MenuItem is getting called rather than Settings. What's the best practice for extending React methods as well as styling? Right now it seems like I need to do it in two steps, extending MenuItem to Settings, and then applying the MenuItem and Settings styles.

You need to pass the className down to the component.

The issue isn't that the styles aren't getting applied correctly, it's that the incorrect render method is being called. I oversimplified my example, I will modify it to include passing in the className as a prop.

This seems like the shortest way to do this currently:
const MenuItemDiv = styled.div`
  height: 10px;
`;
class MenuItem extends React.Component {
  render() { return <MenuItemDiv />; }
}

const SettingsDiv = styled(MenuItemDiv)`
  width: 10px;
`;

class Settings extends MenuItem {
  render() { return <SettingsDiv />; }
}

Inheritance isn't a good pattern in React. Read more about that here: https://facebook.github.io/react/docs/composition-vs-inheritance.html
Personally I would rewrite your solution like this:
const MenuItemWrapper = styled.div`
  height: 10px;
`;

class MenuItem extends React.Component {
    render() {
        return (
            <MenuItemWrapper>
                {this.props.children}
            </MenuItemWrapper>
        );
    }
}

const SettingsWrapper = styled.div`
  width: 500px;
`;

class Settings extends React.Component {
    render() {
        return (
            <SettingsWrapper>
                {this.props.settings.map(setting => (
                    <MenuItem>
                        {setting}
                    </MenuItem>
                ))}
            </SettingsWrapper>
        );
    }
}

Hopefully that's what you want to accomplish ;)

That's helpful feedback, thanks for the advice. Time to do a little bit of refactoring


Fixed test

Broken test case was breaking the build.
Just needed a block_till_done

OK I am out until tomorrow. I have just merged this into #23336 already, so as long as that gets accepted and merged there's no need to merge this one. It's just a one-liner anyhow :grin:


Add support for Facter 2.5

Looks like Facter 2.5 came out on the 14 July, so appears to create an unfortunate situation where rspec-puppet-facts doesn't test anything if bundler happens to get the facter 2.5.0 gem, as it can't find any OSes in the FacterDB.

This is addressed in #46 , which I just merged.


terraform-docs: Add Version 0.15.0

What type of Apps related PR is this? (check all applicable)

[x] ✨ Add Manifest
[ ] ♻ Refactor
[ ] 🐛 Bug Fix
[ ] 👷 Optimization
[ ] 🚩 Other

Description
Add cli to generate terraform documentation
Related Tickets & Documents
None
Did you verify the followings
Add/Modify a description in the manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Check URLs?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update to the latest version?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Update Hashes?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Format the json manifest?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Did you identify extra steps
Notes in the manifest?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Dependencies?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Application Suggestions?

[x] 👍 yes
[ ] 🙋 yes, but I need help
[ ] 🙅 no, because they aren't needed

Pre-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

Post-installation steps to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

File persistence to perform?

[ ] 👍 yes
[ ] 🙋 yes, but I need help
[x] 🙅 no, because they aren't needed

[optional] What gif/emoji best describes this PR or how it makes you feel?

:page_with_curl: :innocent:

All changes look good.
Wait for review from human collaborators.
terraform-docs

[x] Description
[x] License
[x] Hashes
[x] Checkver
[x] Autoupdate
[x] Autoupdate Hash Extraction


[feat] Rewrite scripts/data/cllient.sh into python

Provide a python version of client.sh.
Call format.py and  generate_data.py directly in python.

Can I work on this? @maciejka


Add laser beam

If we really want to make this true to the Garry's Mod Physics Gun, we should add a laser when objects are grabbed :D
I found this, which I think we can use - looks awesome:
https://github.com/sunduk/BezierLaser

And we need something that comes close to this:

It doesn't have to be EXACTLY like in Garrys mod visually, I guess people who pick this script up will alter it to fit there games anyway.

Fixed in #3


New backend system for Azure Site backend plugin

Hey, I just made a Pull Request!
Added New backend system for the Azure Sites backend plugin

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[x] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

@awanlin super fast review 🚀 👍
I will fix the comments that you suggested.


[audio] Some sounds play twice

Some loaded sounds from wave files repeat twice on playing, weird. It only happen with some .wav files, format and paramaters have been compared (between sounds that work ok and not) and they looks the same but when played, some sounds repeat twice... Need to investigate this issue in detail.

Same issue also happen in Android, where generated audio buffer ids are wrong.

Issue corrected on commit https://github.com/raysan5/raylib/commit/4a9b77dd705790ec1c15fb139afdcc7093c8e2ad


Change: error code in TokenValidator class

What issue does this PR address?
In TokenValidator.cs, when catching SecurityTokenExpiredException, method return InvalidToken code instead ExpiredToken. This change fixes this issue.
Does this PR introduce a breaking change?
no
Please check if the PR fulfills these requirements

[x ] The commit follows our guidelines
[- ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

Do you have a specific reason for needing this error code?

Yes, in my implementation, this errorCode is important to complete correct accessToken validation.
Now, program recognizes token as invalid, which makes difficult further programming application behavior.
If error code is  "ExpiredToken", application knows that token need to be refreshed and not recognize it as invalid.

Yes, in my implementation, this errorCode is important

How do you call the validator? or from where?

Yes, in my implementation, this errorCode is important

How do you call the validator? or from where?

When checking if access token is generated by me (using my certificate installed in my identityServer WebApi)

I found some time to track this down. In principal I am OK with this change - but we are "leaking" the error in the UserInfo endpoint. Whereas RFC6750 says this is the right format

HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer realm="example",
error="invalid_token",
error_description="The access token expired"

This could be fixed in the Error method in UserInfoEndpoint.
I can do this - just wanted to document it.

OK - I added a check https://github.com/IdentityServer/IdentityServer4/commit/023d7844e86d6f055aabf04fb7f233c70f896956

thanks!


GPR for MAR08664

MAR08664: (3S)-citramalyl-CoA [m] ⇔ H2O [m] + itaconyl-CoA [m] currently has no genes associated with it.
According to Uniprot and this paper (4th paragraph of discussion), AUH (ENSG00000148090, already in Human-GEM) catalyzes it.

Good point! Please go ahead make the change and add the paper as the reference of this rxn.

based on above paper, should this reaction be in the irreversible direction of hydrolysis?

Yep I hadn't noticed that before; I can make that happen (and also switch the products and reactants around so it isn't constrained to only have negative fluxes)

Yep I hadn't noticed that before; I can make that happen (and also switch the products and reactants around so it isn't constrained to only have negative fluxes)

thanks

fixed in #591


Tutorial problem

Tutorial for fetching data gets an error when accessing http://localhost:3000/p/975 directly as tutorial recommended.
error produced: Cannot read property 'replace' of undefined
there is a miscommunication between server routing and post.getInitialprops. server routing names params.id as "title" whereas getInitialprops attempt to read context.id. Change them both to id or title, easy fix.

You tried to import or render a component that is undefined.


SPYT: One more redundant sort

This issue is similar to the recent one https://github.com/ytsaurus/ytsaurus/issues/367
Adding where clause after join
STORAGE_INFO_KEY = ["market", "deal_id"]

def join_deals(
    deals: DataFrame, books: DataFrame
) -> DataFrame:
    return (
        deals.alias('deals')
        .join(
            books.alias('books'),
            on=[*STORAGE_INFO_KEY],
        )
        .where(F.floor((deals.unix_timestamp + 1) / 10) == F.floor (books.unix_timestamp / 10)) # <--- here
        .select(
            '*',
        )
    )

modify query plan such that spyt wants to sort deals and books table
if i comment line with where clause

query plan works as intended (i.e. there is no sort stage before SortMergeJoin):

input tables can be generated in the similar way (as were in https://github.com/ytsaurus/ytsaurus/issues/367 issue):
from enum import IntEnum
import sys
import datetime
from more_itertools import chunked
from typing import (
    Iterable,
    Optional,
)

from yt.wrapper.schema.types import (
    yt_dataclass,
    Uint8,
    Int64,
)

from yt.wrapper import YPath, TypedJob, yt_dataclass, TablePath
from yt.wrapper.schema import RowIterator, Uint64, OtherColumns, TableSchema
import yt.type_info as yt_type_info
from yt.wrapper import YtClient
from yt.wrapper.default_config import get_config_from_env

@yt_dataclass
class Row:
    market: str
    deal_id: Int64
    unix_timestamp: Int64

def main():
    final_config = get_config_from_env()
    client = YtClient(config=final_config)
    deals_table_path = '//tmp/mchichvarin/deals'
    books_table_path = '//tmp/mchichvarin/books'
    schema = TableSchema.from_row_type(Row).build_schema_sorted_by(['market', 'deal_id', 'unix_timestamp'])
    client.create('table', deals_table_path, attributes={'schema': schema}, recursive=True, force=True)
    client.create('table', books_table_path, attributes={'schema': schema}, recursive=True, force=True)

    books_rows = []
    deals_rows = []
    for i in range(100000):
        books_rows.append(Row('CME', i // 2, i))
    for i in range(10000):
        deals_rows.append(Row('CME', i * 10, i))

    print('here')
    for chunk in chunked(deals_rows, 1000):
        client.write_table_structured(TablePath(deals_table_path, append=True), Row, chunk)
    print('here')
    for chunk in chunked(books_rows, 10000):
        client.write_table_structured(TablePath(books_table_path, append=True), Row, chunk)

if __name__ == "__main__":
    sys.exit(main())

And also here is jupyter notebook with spyt query to reproduce:
https://gist.github.com/desertfury/becf93ac28685fb65f681a17c8c7b53b

Probably duplicate of https://github.com/ytsaurus/ytsaurus/issues/163 ?

Dear friends, is the description good enough? Please tell me if you need any additional information. Thanks!

You provided enough information. Thank you.
I'll check your sample on this week and give a feedback.

Hello!
I made fix that will be available in the next release. But I need to give some explanation of the further behaviour.
When you join with filter Spark optimizer can insert filter condition into join. And then Spark joins by [c/1000,a,b] (without filters), for example. You can observe this in detailed physical plan. This situation has necessary sorts because your table is really unordered by value c/1000.
In tests I use workaround to avoid such Spark optimizations, where filter table1.c / 10 == table2.c / 10 replaced by equivalent (in case of numbers) filter table1.c / 10 - table2.c / 10 == 0.
https://github.com/ytsaurus/ytsaurus/commit/bd32fb91b1cd838e02015afa8451e0513d383ae0#diff-94a4868844aa6b15b389057b772e662b384b18d6f20a9750f098610256cb8ecdR149
The workaround helps to preserve an original join condition table1.a == table2.a && table1.b == table2.b that will not require sorts. But it requires further filtering.
So you can try both ways and choose optimal optimization for your task.
Feel free to ask questions and report about other uncovered cases.


Added changes for serviceID API Key to access resources

What this PR does / why we need it:
If API Key created under a specific service ID, getResourceGroup method requires to pass accountID explicitly.
With the changes submitted, both generic API key and service ID API key can be handled.
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

@dharaneeshvrd do we know why do we need to mention account id for the service id api keys? It will be great if you can add that information for the record purpose.
btw: this change doesn't cause any harm for the existing flow, hence change is lgtm

/approve
/retest

@mkumatag could not find the reason documented anywhere. Not mentioned in API doc as well https://cloud.ibm.com/apidocs/resource-controller/resource-manager#list-resource-groups.
We are getting this plain error message when we try to use Service ID API key
error getting id for resource group <resource_group_name>, Can not get resource groups without account id in parameter by service id token.

@mkumatag could not find the reason documented anywhere. Not mentioned in API doc as well https://cloud.ibm.com/apidocs/resource-controller/resource-manager#list-resource-groups.
We are getting this plain error message when we try to use Service ID API key
error getting id for resource group <resource_group_name>, Can not get resource groups without account id in parameter by service id token.

This error is clear, lets mention this message in the issue description.

@mkumatag could not find the reason documented anywhere. Not mentioned in API doc as well https://cloud.ibm.com/apidocs/resource-controller/resource-manager#list-resource-groups.
We are getting this plain error message when we try to use Service ID API key
error getting id for resource group <resource_group_name>, Can not get resource groups without account id in parameter by service id token.

This error is clear, lets mention this message in the issue description.

Updated the description with the error message.


TypeError: Cannot redefine property: configDescriptor

I'm using a library that brings in this package as a dependency but I cannot require it since the code of this package errors while loading:
    TypeError: Cannot redefine property: configDescriptor
        at Function.defineProperty (<anonymous>)

      4 | var Jest = require("@glennsl/bs-jest/src/jest.js");
      5 | var HwAppBtc = require("@ledgerhq/hw-app-btc");
    > 6 | var HwTransportNodeHid = require("@ledgerhq/hw-transport-node-hid");
      7 |
      8 | var TransportHid = /* module */[];
      9 |

      at Object.<anonymous> (node_modules/usb/usb.js:47:8)
      at Object.<anonymous> (node_modules/@ledgerhq/hw-transport-node-hid/lib/listenDevices.js:19:12)
      at Object.<anonymous> (node_modules/@ledgerhq/hw-transport-node-hid/lib/TransportNodeHid.js:55:23)
      at Object.<anonymous> (__tests__/ffi/Ledger_test.bs.js:6:26)

The require fails during execution of this code. Can someone help me figure out whats going on?
I'm on mac Os 10.13.6 using node 10.6.0

Nevermind, I found that I was accidentally loading this dependency twice.


Add a Disabled WidgetState

WidgetState::Disabled is there now, time to use it...

Alas, just painting a translucent rectangle over the widget looks ridiculously bad for widgets that are not fully rectangular (like e.g. sliders).
It seems the individual widgets will have to handle their own disabled looks specifically... :-/


Are you still working on this?

Would you like to help with my take on the app? It should be a lot easier to work with than this rust app you've made here.
I threw it together this morning and styled some this afternoon. Please try for yourself and let me know what you think :)
https://github.com/0ceanslim/dwm-app

Nice! I actually started this project with a Flask app. This version is a Rust rewrite.
I’m pretty much done with this though, beyond fixing factual data errors.

Would you like to help expand on mine? I would love to have a little more functionality to it. I've got a lot of good ideas.
The current version is running at my domain if you wanna check it out. https://dwm.happytavern.co I want to make the monster names clickable in the breeding info screens as well as add items / skills data and more stuff

Would you like to help expand on mine?

Yes I'd like to. But I have my hands full at the moment. I have like 5 projects piled up right now 🤦🏻♀


Read only error from adding dependencies preventing mod development

Current Behavior
I'm trying to add dependencies so I can build on the them for my mod.  Whenever it syncs up with Java I get this error.
[{
"resource": "/C:/Users/username/Desktop/New folder/ddwas-container/ddwas/",
"owner": "generated_diagnostic_collection_name#3",
"code": "0",
"severity": 8,
"message": "The supplied phased action failed with an exception.\r\nA problem occurred configuring root project 'ddwas'.\r\nA problem occurred evaluating root project 'ddwas'.\r\nCannot set the value of read-only property 'name' for root project 'ddwas' of type org.gradle.api.Project.",
"source": "Java",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1
}]
Expected Behavior
The error to clear up so it can properly sync with Java 17. I'm just starting out and the fabric community discord hasn't been any help in finding a solution. Can't join the Slack forums to ask there.
Context (optional)
I'm unable to start creating my mod if the dependencies won't set correctly. I've been stuck on this for several hours trying to solve this. Should be noted that when trying to check off read only on the folder it just turns back on.
Steps to Reproduce

Downloaded the preset from fabric for 1.19.2.
Opened the project in visual studio code.
Added the following dependencies to build.grade to the appropriate spots
maven {
name = 'Modrinth'
url = 'https://api.modrinth.com/maven'
content {
includeGroup 'maven.modrinth'
}
}

-modImplementation("maven.modrinth:spell-engine:${project.spell_engine_version}-fabric")
After project syncs with Java 17 the error appears.
Gradle version
8.2.1
Build scan URL (optional)
No response
Your Environment (optional)
No response

Issue resolved itself though I don't know how.


Query and other benchmarks

We don't have proper benchmarks yet and that means we cannot see the potential impact of the changes we are introducing.

"Help wanted"? How can I help?

we haven't discussed anything yet so it is a greenfield project, but here some random thoughts.
we already have a benchmarking CI for prometheus and can probably reuse a lot from the logic and pieces.
We can do a very simplified version for the  tsdb as well.

Implement some tsdb bench tool.
When a test is triggered it will build and run the version from the PR and another one from master or a release.
Than just use grafana to display the exposed metrics and compare the results.

@sipian and I have worked on the Prombench project so can help along the way as well.
@gouthamve should have some better ideas where to start.

not sure if you have looked at the tsdb cli tool, but it already has some benchmarking already so maybe this is a good starting point. Can keep it simple to start with.
https://github.com/prometheus/tsdb/blob/9be883670eaf846e8f5bb65ea577dcd7d28d469e/cmd/tsdb/main.go#L43

@AlekSi  just found  PR: https://github.com/prometheus/tsdb/pull/240 that adds some more benchmarking.
I guess our first goal is to somehow automate these and display the results.
The way I see it:

comment /benchmark
Prow starts a job
The job runs go bench against master and another one against the PR and just displays the logs in the prow job dashboard.

just came across  https://github.com/timescale/tsbs which might help.

Hello contributors, I would like to work on it as my GSOC project. I have used and worked Prometheus, Kubernetes, and Golang. Please guide me and help to start work on it.

@Sangeeta04Sharma can you ping me on IRC and will try to give some directions.


Getting current cloud server time

Hello,
How can I get the current cloud server time from the response of any request that is issued?
The REST response usually returns a "Date" parameter which denotes the server time, but I am not able to access it using the Azure CPP SDK.
Any pointers would be helpful.
Thank you

Most APIs return Azure::Response<T>. You can access RawResponse and get response headers from there.


fix(ai-proxy): gemini: broke cluster compat in last commit

Summary
The last Gemini PR (https://github.com/Kong/kong/pull/12948) broke cluster compat of <3.8 with the new 3.8 control plane.
Checklist

[x] The Pull Request has tests
[x] A changelog file has been created under changelog/unreleased/kong or skip-changelog label added on PR if changelog is unnecessary. README.md
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Issue reference
KAG-5020

This skips changelog because it patches bug in feature https://github.com/Kong/kong/pull/13419 before code freeze.


Alerts not displaying

I am trying out noty in a small project of mine, I am using the pre-packaged js un-minified, I am using it like so:
    $.noty.defaults = {
        layout:'top',
        theme:'defaultTheme',
        type:'alert',
        text:'',
        dismissQueue:true,
        template:'

',
        animation:{
            open: 'animated fadeInDownBig',
            close: 'animated flipOutX',
            easing:'swing',
            speed:500
        },
        timeout:false,
        force:false,
        modal:false,
        maxVisible:5,
        killer: false,
        closeWith:['click'],
        callback:{
            onShow:function () {
            },
            afterShow:function () {
            },
            onClose:function () {
            },
            afterClose:function () {
            },
            onCloseClick:function () {
            }
        },
        buttons:false
    };

    noty({text: 'Test'});

The alerts are not displaying, when I say that I mean they are not showing up, but are on the page.
 As you can see I have both jquery and the pre packaged library as I mentioned above. I also highlighted the display:none attribute causing all the issues.
I chose to use animate.css for the animations as I saw it was supported. I also have this, it is in the initial  tag
My best guess is the animations are not running, however there are no errors in the chrome debug console.
I hope someone can help me figure out why it isn't showing up. Apart from this issue I like this library :smile: :+1:

Works for me! I'm on OS X, Chrome v 44.
Can you make a gist or provide some more info?

Faced the same issue. It didn't work with jQuery 2.x whereas it worked with jQuery 1.x for me.

Works fine for me with jQuery 2.x

I have the same issue, including class "i-am-new". Problem tested in newest FF and Chrome.

Yes, I am facing this problem right now when using the animation.css class name. If I remove the animation options, it is working.
Not working:
function showWithAnimationName() {
  noty({
    layout: 'top',
    theme: 'defaultTheme', // or relax
    type: 'error', // success, error, warning, information, notification
    text: 'msg', // can be HTML or STRING

    //dismissQueue: true, // If you want to use queue feature set this true
    //force: false, // adds notification to the beginning of queue when set to true
    //maxVisible: 5, // you can set max visible notification count for dismissQueue true option,

    //template: '

',

    timeout: false, // delay for closing event in milliseconds. Set false for sticky notifications
    animation: {
      open: "animated tada", // or Animate.css class names like: 'animated bounceInLeft'
      close: "animated tada", // or Animate.css class names like: 'animated bounceOutLeft'

      //NOTE: easing and speed has no effect when string class name is being used.
    },
    closeWith: ['click'], // ['click', 'button', 'hover', 'backdrop'] // backdrop click will close all notifications

    modal: false, // if true adds an overlay
    killer: false, // if true closes all notifications and shows itself

    //callback: {
    //    onShow: function () { },
    //    afterShow: function () { },
    //    onClose: function () { },
    //    afterClose: function () { },
    //    onCloseClick: function () { },
    //},

    buttons: false // an array of buttons, for creating confirmation dialogs. });
  });
}

jsFiddle: https://jsfiddle.net/skylee91/6t10q47t

@skylee91 which operation system and browser?

@needim Hi, I changed to version 2.3.11, now the noty can show now but on click cannot dismiss the noty.

@skylee91 because you are using the same animation class as closing ("tada"). Try something different. (exit-out animations)

@needim it is working now. Thanks ^^

@skylee91 you are welcome 👍


Unit testing

Would be a good idea to unit test everything to make sure changes don't break.
After this, tests should be added to the GitHub Action mentioned in the issue #10.

Started development in PR #9.


(Solution Needed) Sort a set of strings in ascending alphabetical order

i'd like to contribute to this

i would like to do this task


Adding some examples for using subcollections?

This library looks perfect for what I'm aiming to use in one of my projects, but right now the interactions between subcollections and everything else aren't really described too thoroughly.

Happy to add some more documentation! Did you have some specific questions?

Basically, from reading the docs, I can see that elasticstore will load the documents in the given Firestore collection into the index, but it's not clear how that interacts with subcollections. Say I have a collection instances and a subcollection names, e.g. then I can access it via /instances/some-id-123456/names:

Where will it be saved in the index? Say I have index: 'xyz'. Will it be saved to /xyz/some-id-123456/names or /xyz/some-id-123456 or something else?
Should there be another item in references for the root collection?
How should searches be run for subcollections?

Thanks for the quick reply!

Awesome, thanks for the clarifications! I'll ad a bit of a readme here and will adjust it on the repo when it's to your liking.
Subcollections
When this repo was first made, Firestore had some limitations on how collections worked. You could have a root collection and every root Collection could have a Subcollection. Subcollections could not not have Subcollections.
This repo supports the use of subcollections with the note that this is expensive. Why? Because when Firestore returns a Collection Query it does not return the Subcollection's data, meaning, to listen to changes on a Subcollection requires a listener per Subcollection instance.
Have a need for a Subcollection from 400 Collection instances? That's 400 listeners. AFAIK there's not a better way to do this given Firebase's current API.
So with those caveats, the repo allows you to specify some ways to narrow how many listeners you register by narrowing your queries.
For Example
// Firestore Data Model
{
  // Collection
  "users" : {
      "UUID-1" : {
            email<EMAIL_ADDRESS>            isPremium: true,
            // Subcollection
            "profile": {
                 "firstName": "Romeo",
                  "public": false
                  ....
             }
      }
      "UUID-2" : {
            email<EMAIL_ADDRESS>            isPremium: false,
            // Subcollection
            "profile": {
                  "firstName": "Juliet"
                  "public": true,
                  ...
             }
      }
}

To listen to the profile Subcollection on user where the profile is public , you'd create a reference like this:
{
  collection: "users",
  subcollection: "profile",
  index: "user-profiles",
  type: "user-profiles",
  subBuilder: (ref) => ref.where('public', '==', true)
}

Or only profiles where the user isPremium and public (note that the index and type are changed, but that the change is arbitrary):
{
  collection: "users",
  subcollection: "profile",
  index: "user-premium-profiles",
  type: "user-premium-profiles",
  builder: (ref) => ref.where('isPremium', '==', false),
  subBuilder: (ref) => ref.where('public', '==', true)
}

Does that help?

@acupajoe Thanks, that's a lot better!! I have just one more question: it the user-profiles example, how does one access the UUID to tell the users apart?

That'd be in the transform function, for instance, adding the into the data being sent to elasticsearch would look something like this:
{
  // ...
  transform: (data, parentSnapshot) => { id: parentSnapshot.id, ...data}
}

Where parentSnapshot is the Firebase.Snapshot of the containing collection.

@acupajoe Thank you so much! This is all so much clearer now.

How do I access nested subcollection
For eg.
// Firestore Data Model
{
// Collection
"users" : {
"UUID-1" : {
email<EMAIL_ADDRESS>isPremium: true,
// Subcollection
"Notes": {
"data": "Romeo",
"public": false
....
} ,
"Folder":{
"Name":"SecondFolder",
// Nested notes subcollection
"Notes":{
"data":"MyNotes"
}
}
  }
  "UUID-2" : {
        email<EMAIL_ADDRESS>        isPremium: false,
        // Subcollection

        "profile": {
              "firstName": "Juliet"
              "public": true,
              ...
         } ,
     // Subcollection
       "profile": {
              "firstName": "Juliet"
              "public": true,
              ...
         }
  }

}
How do I get the data of Notes subcollection which is inside Folder subcollection?

@helloworldkr this project does not support nested subcollections - sorry!


[DOC] fix math formula in docs

Description
Fix the math formula in docs for gluonnlp.model.LSTMPCellWithClip. There is an extra } that caused formula not displaying as expected. Attached with documentation website screenshot to show the problem.

Checklist
Essentials

[X] PR's title starts with a category (e.g. [BUGFIX], [MODEL], [TUTORIAL], [FEATURE], [DOC], etc)
[X] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[ ] Code is well-documented

Changes

[ ] Feature1, tests, (and when applicable, API doc)
[ ] Feature2, tests, (and when applicable, API doc)

Comments

If this change is a backward incompatible change, why must this change be made.
Interesting edge cases to note here

Job PR-920/1 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-920/1/index.html

@liusy182 thank you for spotting it! looks like it needs a bit more fixing http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-920/1/api/modules/model.html?highlight=lstmpcellwithclip#gluonnlp.model.LSTMPCellWithClip

Job PR-920/2 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-920/2/index.html

Job PR-920/3 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-920/3/index.html

@szha thanks. Fixed with the new commit: link

Job PR-920/4 is complete.
Docs are uploaded to http://gluon-nlp-staging.s3-accelerate.dualstack.amazonaws.com/PR-920/4/index.html

@liusy182 merged. Thank you for the fix!


Link to test example is broken

Hi,
Readme.md section
How to test my validation:
Link to sample is broken: https://github.com/enif-lee/grpc-dotnet-validator/blob/master/src/Grpc.AspNetCore.FluentValidation.Test/IntegrationTest.cs

@joostas Thanks for report! I fixed it.


TRPCClientError: Unable to transform response from server

Hello sir.
So I tried using this in a fresh project, following the steps provided in the docs. But I keep getting this error
TRPCClientError: Unable to transform response from server
    at transformResult (transformResult-6fb67924.mjs?v=c31f6aa1:74:15)
    at httpBatchLink.mjs?v=c31f6aa1:188:41

I feel this is a trpc error and not a trpc-nuxt error, but I felt it is best checked here first before possibly moving to trpc repo to file an issue.
Reproduction
https://github.com/therealokoro/trpc-nuxt-app

The API handler should be inside api/trpc/[trpc].ts file.
Also, useQuery is built-on top of useAsyncData so it's best to use query if you're trying to call it inside a function:
async function query() {
  const data = await $client.auth.getUser.query({ id: 2 })
}

In your code, you could also do

<template>

Hello

{{ user }}

</template>

My bad. Thank you sir


Re-inserting the gallery to the docs

Description of PR
This PR reverts a bugfix that inadvertently removed the plotting-gallery from the docs.
Correct docs are rendered at https://pyam-iamc.readthedocs.io/en/docs-gallery/gallery/index.html

lgtm, thanks @danielhuppmann !


request the image of focal-arm64

I wonder if it's on the plan to share the image of focal-arm64.

https://hub.docker.com/layers/dorowu/ubuntu-desktop-lxde-vnc/focal-arm64/images/sha256-3f88c1db8fe97ec3816e02a93104e8148f3a0e16db5cb89193b2bad40427e23f?context=explore

Thanks a lot :)


Introduce inclusive naming check and update existing language

What this PR does / why we need it:
This addresses https://github.com/vmware-tanzu/carvel/issues/594
Which issue(s) this PR fixes:
Fixes https://github.com/vmware-tanzu/carvel/issues/594
Does this PR introduce a user-facing change?
NONE

Additional Notes for your reviewer:
Review Checklist:

[x] Follows the developer guidelines
[x] Relevant tests are added or updated
[x] Relevant docs in this repo added or updated
[x] Relevant carvel.dev docs added or updated in a separate PR and there's
a link to that PR
[x] Code is at least as readable and maintainable as it was before this
change

Additional documentation e.g., Proposal, usage docs, etc.:

created as a draft until https://github.com/vmware-tanzu/carvel/pull/595 lands


feat: generalize Siegel's lemma to A = 0

The Wikipedia statement of Siegel's lemma did not contain the hypothesis A != 0 in the lean formalization. A slight variant of the statement is still true if A = 0. The original statement is recovered under the assumption A != 0.
Co-authored-by: Michail Karatarakis<EMAIL_ADDRESS>

The Wikipedia page actually says that the coefficients of the linear system are not all zero, so the hypothesis A!=0 is actually there.
In any case, I see no harm in this generalisation, so I am ok with that.

Thanks!
bors merge


[3.x] Laravel 10 support

Would really appreciate v10 support as soon as possible 🙂!

https://github.com/archtechx/tenancy/releases/tag/v3.7.0


Improve content formatting

Replace @example syntax with Markdown header
Only replace the first comment hash to preserve in-example comment lines
Indent code lines

@codeclimate/review

LGTM


Do not debounce onChange option on blur

The current behavior of flatpickr is causing me an issue, when using it with vue-flatpickr-container. I have a time picker and an add button. When the user clicks the time picker, and then uses the keyboard to enter a value, and clicks the add button; the old time is added. I have spent quite a bit of time looking at the source and it seems to be because:
The time that we are adding comes from our component's time, rather than directly accessing the flatpickr's time (this is normal in Vue, so that each component can react to it's own data). The component's time is updated by onChange events.
The issue is that the click event on our add button happens between the blur event on the timeContainer, and before the debounced onChange event, so we don't have an updated time. I tried registering a blur listener, but it was passing the old time (triggered before updateTime?)
I think if blur didn't debounce onChange then it would have worked correctly. I haven't yet come up with another workaround.
Your Environment

flatpickr version used: 4.5.1
Browser name and version: Firefox 64
OS and version: Mac OS 10.14

The flatpickr code is calling self._debouncedChange() internally which is defined like this:
self._debouncedChange = debounce(triggerChange, DEBOUNCED_CHANGE_MS);
The delay var DEBOUNCED_CHANGE_MS = 300; is a local variable and cannot be changed from the outside.
What we can change are instance properties - and _debouncedChange is accessible from the outside.
You can change the function either by using the generated flatpickr instance after calling flatpickr(...) or with the onReady handler, which passes the instance as a param. The debounced triggerChange() function calls triggerEvent("onChange") which calls all registered hooks for this event type and in case the type is "onChange" it also dispatches the native change + input event.
Here is the code to override the debounce delay:
var flatpickrInstance = flatpickr(...); // create instance here

var DEBOUNCED_CHANGE_MS = 10; // change delay here

flatpickrInstance._debouncedChange = debounce(() => {
  var hooks = self.config['onChange'];
  if (hooks !== undefined && hooks.length > 0) {
    for (var i = 0; hooks[i] && i < hooks.length; i++) {
      hooks[i](self.selectedDates, self.input.value, self);
    }
  }
  self.input.dispatchEvent(createEvent("change"));
  self.input.dispatchEvent(createEvent("input"));
}, DEBOUNCED_CHANGE_MS);

function createEvent(name: string) {
  return new CustomEvent(name, {
    bubbles: true,
    cancelable: true
  });
}

function debounce(fn, wait) {
  var t;
  return function () {
      var _this = this;
      var args = arguments;
      clearTimeout(t);
      t = setTimeout(function () { return fn.apply(_this, args); }, wait);
  };
}

I don't know if you can remove the debounce altogether. Most probably it's there for a reason 😆
Tested with flatpickr 4.6.13