fix(ui): Make edit header view available by default in ui

Hello! Thanks for great project!
submitted issue with explaination https://github.com/springwolf/springwolf-core/issues/650
Problem - no schema for headers without schema in Kafka Listeners (HeadersNotDocumented schema).
Scenario - user wants to send custom headers in springwolf kafka ui, headers are not defined in schema and changes in internal implementation.
Now there are two workarounds to this:

Define headers for schema using annotations
Add example to schema HeadersNotDocumented

Hi @victorlev01 , thank you for the contribution.
Just to clarify, the issue is not that publishing does not work.
Instead in the case of HeadersNotDocumented, the header input box is not shown in the ui, leaving the user unable to modify the headers?

Hi @timonback , thanks for quick response.
Yes, the issue is that the header input box is not shown in the ui.
So user cannot change headers there.
On controller side everything works as expected with HeadersNotDocumented.
Listener receives and can process them.

Perfect, thanks for the clarification.
I'll merge it right away and it will be part of the next release 🎉


[Adopter]: Trend Micro

Name
Trend Micro
Website
www.trendmicro.com
Logos

The Legal Stuff

[X] My organization consents to their logo being displayed on the Eclipse Temurin adopters page.

requested at https://gitlab.eclipse.org/eclipsefdn/it/api/eclipsefdn-project-adopters/-/merge_requests/288


Data Source Interface Upgrade

Is your feature request related to a problem? Please describe.
Need to upgrade the interface if we do not use file as intermediate media to rely data from a data source to Kestrel storage (firepit). In log management, the data may be in the data lake or database already without the need to ingest it.
Describe the solution you'd like
Kestrel already allow data retrieval into firepit directly bypassing file, need to double check the logic and upgrade if needed. Need to implement an open source interface that does ingestion in this way.

Done in v1.7.0
Files are only used in debug mode for intermediate output (JSON for normal translation and parquet for fast translation).


Accessibility project

To complete this milestone;
I completed the following instruction:

Page titles - no issues found.
Alternative text - no issues found.
Text headings - no issues found.
Color contrast - no issues found.
Resize text - no issues found.
Moving content- no issues found.
Multimedia - no issues found.
The basic structure of the page - no issues found

it was approve yesterday but my partner didn't work on it thats why they change it. so all the changes has already been made.
you can wacht this link video


replace leaflet with mapbox-gl-js, remove authentication

This PR replaces leaflet/mapbox.js with Mapbox GL JS (and replaces leaflet-draw with mapbox-gl-draw), deprecates user auth, etc.  The goal is to modernize the app and its development environment, making use of the latest rendering tech and styles offered by Mapbox, while keeping most of the existing layout, functionality, apis, etc. in place.
This will open the door to easier maintenance and updates.
Deprecations

Removes authentication UI and references to auth/saving.  We can figure out a new plan to reintroduce auth/saving at a later date.  The code for github auth remains in place for later re-use.
Removes the browser CLI and references to it in the help text and readme.
Simplestyle styling is no longer supported, and default population of simplestyle properties is removed. All features in the working dataset will now have the same style

Development Environment Updates

Upgrades browserify and other dependencies, allowing for a working build with newer versions of node.js (v14).
Adds some vs code settings to automate running make on save, for a more streamlined development process.

New Features

Uses mapbox-gj.js for map rendering, including the new globe projection.
Adds mapbox-gl-draw with a rectangle mode and a custom edit UI/UX to be similar to the edit button in leaflet-draw
Adds a projection toggle UI (visible at zoom 6 and below) for switching between globe (default) and mercator
Replaces the existing layer switch with more mapbox core style options (Streets, Satellite Streets, Outdoors, Light, Dark)
Formats geojson on paste (useful when pasting single-line geojson from a scripted output somewhere, if the pasted string is valid JSON it will be automatically pretty-printed in the editor)

TODO:

[ ] Add alternate styles so the feature geometries contrast on different base styles
[ ] Only show edit mode when there are features to edit, hide edit button when editing
[ ] Troubleshoot cursor change on editing (cursor should be crosshair when drawing but seems to not work after the first time going into edit mode
[ ] Feature popups should not appear when clicking in edit mode

One nit is that I notice if I click on overlapping features, all of their info boxes open up. Maybe just file this as an issue and defer a solution, since it's a pretty minor issue.
https://user-images.githubusercontent.com/572717/196724037-72bb490d-8e1d-473b-ae5a-11932cbb8ed5.mov

One nit is that I notice if I click on overlapping features, all of their info boxes open up at the same time. Maybe just file this as an issue and defer a solution, since it's a pretty minor issue.
info.mov

Issue: https://github.com/mapbox/geojson.io/issues/710


Documentation?

Excuse me where I can find documentation?

ha)) the same ))

+1

sorry for late response, I was very  busy with other projects. I plan to update soon.

where is document! plz

where is document?


How do I see ALL the Python function logs

Is your question related to a specific version? If so, please specify:
3.0.14916.0
What language does your question apply to? (e.g. C#, JavaScript, Java, All)
Python3.6
Question
I have a few Python3 functions running, some in elastic premium plans, others in consumption plans with various runtime versions [2.x, 3.x] and all logging to application insights. The one common thing across all the functions is that logging is very inconsistent, to the point it is unusable.
When I attempt to see logs in application insights traces, nothing is present, in the log stream console on the new UI, only about 3% of my logs lines are present, this happens as well for async handlers.
I have attempted to disable the application insights sampling settings and various other host.json config settings without success.
To illustrate the issue, take the following example on a timer trigger:
import logging
import azure.functions as azfunc

N = range(100)

def main(timer: azfunc.TimerRequest) -> None:
    for i in N:
        logging.info("%s This is spat out from info logging.", i)
        logging.warn("%s This is spat out from warn logging.", i)
        logging.error("%s This is spat out from error logging.", i)

It produces the following logs:
2020-11-16T16:37:51Z   [Verbose]   [HostMonitor] Checking worker statuses (Count=1)
2020-11-16T16:37:51Z   [Verbose]   [HostMonitor] Worker status: ID=027685f4-2316-4efc-aeaf-bda4cba45326, Latency=0ms
2020-11-16T16:37:51Z   [Verbose]   [HostMonitor] Host aggregate CPU load 1
2020-11-16T16:37:51Z   [Information]   Executing HttpStatusCodeResult, setting HTTP status code 200
2020-11-16T16:38:00Z   [Information]   Executing 'Functions.standard_logging' (Reason='Timer fired at 2020-11-16T16:37:59.9965915+00:00', Id=fb6fa1ce-0fdf-4c45-a0d2-c8f12cced07a)
2020-11-16T16:38:00Z   [Verbose]   Sending invocation id:fb6fa1ce-0fdf-4c45-a0d2-c8f12cced07a
2020-11-16T16:38:00Z   [Verbose]   Posting invocation id:fb6fa1ce-0fdf-4c45-a0d2-c8f12cced07a on workerId:027685f4-2316-4efc-aeaf-bda4cba45326
2020-11-16T16:38:00Z   [Information]   0 This is spat out from info logging.
2020-11-16T16:38:00Z   [Warning]   0 This is spat out from warn logging.
2020-11-16T16:38:02Z   [Verbose]   [HostMonitor] Host process CPU stats: EffectiveCores=2, CpuLoadHistory=(1,0,1,0,1,0,1,0,29,2), AvgCpuLoad=4, MaxCpuLoad=29
2020-11-16T16:38:12Z   [Verbose]   [HostMonitor] Host process CPU stats: EffectiveCores=2, CpuLoadHistory=(1,1,1,1,0,1,1,1,0,0), AvgCpuLoad=1, MaxCpuLoad=1
2020-11-16T16:38:12Z   [Verbose]   [HostMonitor] Checking worker statuses (Count=1)
...

Contents of the host.json:
{
    "version":  "2.0",
    "extensionBundle": {
        "id": "Microsoft.Azure.Functions.ExtensionBundle",
        "version": "[1.*, 2.0.0)"
    },
    "logging": {
        "applicationInsights": {
            "samplingSettings": {
                "isEnabled": false
            }
        }
    }
}

Am I missing something critical to be able to see ALL my logs?
Thanks.

Hello guys,
I don't know if opening this issue is the best way, but I'm facing the same problem as @afdezl .
I have this very simple function, that triggers every 5 seconds:
import datetime
import logging

import azure.functions as func

def main(mytimer: func.TimerRequest) -> None:
    utc_timestamp = datetime.datetime.utcnow().replace(
        tzinfo=datetime.timezone.utc).isoformat()

    if mytimer.past_due:
        logging.info('The timer is past due!')

    logging.info('INFO - Python timer trigger function ran at %s', utc_timestamp)
    logging.warning('WARNING - Python timer trigger function ran at %s', utc_timestamp)
    logging.error('ERROR - Python timer trigger function ran at %s', utc_timestamp)

But as you can see below, not all the occurrences  all logs are printed.
2021-02-24T15:03:41Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:03:40.0035733+00:00', Id=d703bf60-0e9f-4b38-8f06-c39ff18dec30)
2021-02-24T15:03:41Z   [Verbose]   Sending invocation id:d703bf60-0e9f-4b38-8f06-c39ff18dec30
2021-02-24T15:03:46Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:03:44.9948036+00:00', Id=b23e90a9-1541-46cc-8637-85658fe5fcc5)
2021-02-24T15:03:46Z   [Verbose]   Sending invocation id:b23e90a9-1541-46cc-8637-85658fe5fcc5
2021-02-24T15:03:46Z   [Verbose]   Posting invocation id:b23e90a9-1541-46cc-8637-85658fe5fcc5 on workerId:1835e639-cf70-4d8f-aefb-3fdf63e8e7f8
2021-02-24T15:03:56Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:03:55.0069037+00:00', Id=a218cf0c-73c8-4c72-ad94-087032ffd94f)
2021-02-24T15:03:56Z   [Verbose]   Sending invocation id:a218cf0c-73c8-4c72-ad94-087032ffd94f
2021-02-24T15:03:56Z   [Verbose]   Posting invocation id:a218cf0c-73c8-4c72-ad94-087032ffd94f on workerId:1835e639-cf70-4d8f-aefb-3fdf63e8e7f8
2021-02-24T15:03:56Z   [Information]   INFO - Python timer trigger function ran at 2021-02-24T15:03:55.011743+00:00
2021-02-24T15:03:56Z   [Warning]   WARNING - Python timer trigger function ran at 2021-02-24T15:03:55.011743+00:00
2021-02-24T15:04:01Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:00.0065134+00:00', Id=5625f73a-1f2e-486d-84a4-b732951f7f4a)
2021-02-24T15:04:01Z   [Verbose]   Sending invocation id:5625f73a-1f2e-486d-84a4-b732951f7f4a
2021-02-24T15:04:06Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:05.0046830+00:00', Id=d6197f65-8d03-42c3-b5a6-ea606bbc4071)
2021-02-24T15:04:06Z   [Verbose]   Sending invocation id:d6197f65-8d03-42c3-b5a6-ea606bbc4071
2021-02-24T15:04:06Z   [Verbose]   Posting invocation id:d6197f65-8d03-42c3-b5a6-ea606bbc4071 on workerId:1835e639-cf70-4d8f-aefb-3fdf63e8e7f8
2021-02-24T15:04:08Z   [Verbose]   [HostMonitor] Host process CPU stats: EffectiveCores=2, CpuLoadHistory=(1,0,1,0,1,1,1,1,0,2), AvgCpuLoad=1, MaxCpuLoad=2
2021-02-24T15:04:11Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:09.9972258+00:00', Id=f24876bd-7a53-4842-be2f-206832bcd10b)
2021-02-24T15:04:16Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:14.9936511+00:00', Id=b632c806-5631-4829-aff2-db107d1712ab)
2021-02-24T15:04:16Z   [Verbose]   Sending invocation id:b632c806-5631-4829-aff2-db107d1712ab
2021-02-24T15:04:16Z   [Verbose]   Posting invocation id:b632c806-5631-4829-aff2-db107d1712ab on workerId:1835e639-cf70-4d8f-aefb-3fdf63e8e7f8
2021-02-24T15:04:18Z   [Verbose]   [HostMonitor] Host process CPU stats: EffectiveCores=2, CpuLoadHistory=(1,1,0,1,1,1,0,1,0,1), AvgCpuLoad=1, MaxCpuLoad=1
2021-02-24T15:04:21Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:19.9972000+00:00', Id=3738566b-1e94-4b8b-a381-54085b5bbbd7)
2021-02-24T15:04:26Z   [Information]   Executing 'Functions.timerFunctionLogsGenerator' (Reason='Timer fired at 2021-02-24T15:04:25.0050632+00:00', Id=4f569a67-8c03-4cf1-9ccb-3dae1bea1bf8)
2021-02-24T15:04:26Z   [Verbose]   Sending invocation id:4f569a67-8c03-4cf1-9ccb-3dae1bea1bf8
2021-02-24T15:04:26Z   [Verbose]   Posting invocation id:4f569a67-8c03-4cf1-9ccb-3dae1bea1bf8 on workerId:1835e639-cf70-4d8f-aefb-3fdf63e8e7f8
2021-02-24T15:04:28Z   [Verbose]   [HostMonitor] Host process CPU stats: EffectiveCores=2, CpuLoadHistory=(1,0,1,1,1,1,0,1,2,0), AvgCpuLoad=1, MaxCpuLoad=2

Could you please tell me what I'm doing wrong? This is only a test function to try to understand how stream logs work and to replicate this approach to other functions, but I'm not sure that all the logs will be printed every time.


Update zh_cn.json

Updated the old Chinese translation for the new version of the mod

Looks good! Do note that I recently finished up the update for 1.19.4, which adds a lot more translations.
If you wish I could sync up the missing translation keys between this and english, to make it easier to see what isn't currently translated.
Even if you do not wish to translate the rest, your contribution is much appreciated. Thank you for taking your time to do so!

Bumping this. I realize in hindsight I messed up the branch a bit, sorry. This should now be fixed.

the new keys aren't translated,I am translating the mod,in about a couple weeks I'll create pr

Bumping this translation, as it has not been updated in a while


Calliope mini: modal dialog moves with the cursor

Describe the bug
If I want to change the Pin from "off" to "analog" or "digital" in "open/close the robots view" for Calliope mini, the modal dialog starts to follow my cursor.
To Reproduce
Steps to reproduce the behavior:

Go to Open Roberta Lab, Calliope mini
Click on 'Simulation' -> 'Start your program in simulation' -> 'open/close the robots view'.  Open the option list for pin modes (off, analog, digital) and leave the option field without confirming any option.
See error.

Expected behavior

The modal dialog should not move with my cursor.

Device information

Type: Desktop
OS: macOS Mojave, Version 10.14.5
Browser: Firefox 67.0.3

seems to be a macOSX problem, no problem with Chrome or Firefox and Ubuntu 18.04,
what about Windows?


Network system

There were three goals to this. The first was to combine the client and server network managers into one shared manager that can be accessed from anywhere. The second was to remove the lidgren networking code from SS14Server. The third was to encapsulate the server packets so that some form of sanitizing can be done.
Things that were not in the scope of this were changes to the client/server communication protocol, and converting the client/shared to the new network system. This is currently designed to work with minimal changes to the client, and minimal changes outside of SS14Server (now named BaseServer, maybe the content assembly could inherit from it?), SS14.Server.Networking*, and SS14.Server.Player*.
The public interfaces for the NetManager are pretty much what you would expect, check out the doc comments on them. Packets are now their own object that serializes and deserializes itself. The big benefit to this is the system can enforce a template and easily detect malformed packets.
Systems define their own packets and register them with the NetManager and a callback. Currently since Client code has not been migrated, they still rely on the static shared NetworkMessages enum. This should be removed in the future. You can currently find the existing NetMessages for the game inside SS14.Shared.Network.Messages. Yes, the protocol is a mess.
I'm not super satisfied with how this turned out but it does meet my goals, and I think it is way better than what we had before. I do believe it would be a good base to keep building off of. I have been coding this in a vacuum though, there may be something major I missed.


Remove tophat script

Description
Fixes (issue #)

Type of change

[ ]  Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)
[ ]  Minor: New feature (non-breaking change which adds functionality)
[ ]  Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above

@cartogram  Y tho

I quickly pulled it out and into a separate package that gives a bit of a UI and stuff. This isn't quite ready yet though.

@TheMallen it is fully backwards compatible tho, you can pull down this branch and it all still works.


JEI overlay seems to disappear now and again while working in the crafting grid

Probably related: - using Jei for crafting moves the interface of the crafting grid to the left and makes the JEI interface smaller

I think I know what causes this, probably a side effect of the sidebutton refactor.


Propeller render bug

Hi, i've tried to make 2 propeller on my airship (1 5x5, 1 7x7).
But when i right click for assembling the second propeller (5x5) the first (7x7) stop turning (no animation) and the second not animated too.

Click to  central propeller

Gearbox bug?

Gearbox animation working. Only big propeller, multiple 3x3 propeller working.

Can you send your latest log file?


Disable VS Notebook configuration settings

These aren't used and would just cause confusion currently

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.002%) to 42.04%

Totals

Change from base Build<PHONE_NUMBER>:
-0.002%

Covered Lines:
26394

Relevant Lines:
56916

💛  - Coveralls


I am very interested in your combination Isotope / LightGallery - does it allow easy sorting?

Hi @opieters I am currently using another LightGallery plug-in https://jimmyxiao.me/guides/technical/2019/07/28/folder-based-jekyll-lightgallery which however does not feature Isotope.
I am looking for a sorting solution so this got me interested in your plug-in. I understand Isotope allows for filtering/sorting?
Does it allow for a way to e.g. reverse the order of the images, e.g. Z->A instad of A->Z? Many thanks in advance.

Sorting is possible with Isotope if you include the necessary attributes in the HTML code. You should have a look at the Isotope documentation: https://isotope.metafizzy.co/

Sorting is possible with Isotope if you include the necessary attributes in the HTML code. You should have a look at the Isotope documentation: https://isotope.metafizzy.co/


Improvement of the diff colors

It'd be nice to show on a stronger color the differences of the code.
Something like this:

I've just seen that it's taken care by #53 :+1: :tada:


Top of the app is cut off

Slide v0.5.11, iPhone SE 10.2.1
Video of the issue:
https://streamable.com/gc86v

Interesting, what device are you using? Cannot reproduce on iPad or iPhone 6s

What happens if you enable the bottom bar in comments?

@ccrama no change.

Also how are you doing video on iOS 10?

@ccrama yep, cut off on main page.
I'm using the Cydia tweak "EasyRecord" by SparkDev.

Ah gotcha, should be fixed now

If it is not fixed in the update I'm pushing out momentarily, please re-open this!

Unfortunately, it is not fixed in 0.5.12.
https://streamable.com/egdk4

I'm probably going to have to buy an iOS 10 device to test this on

Fixed


Support for Libre 2 US without transmitter

Libre 2 US now has an app that allows it to be used without the hardware reader. However, none of the transmitters work as far as I can tell.
How do I get this working? If you can point me in the right direction, I will try to get it working and send you a diff.
I have not programmed in swift but, if I know how the EU version was hacked, I can do the same for the US version.

Unfortunately, the US version works completely differently. So far, the Libre 2 US/CA sensors, just like the 3s, could not be decrypted.
As far as I know, the Libre 2 US/CA sensors currently only work with the transmitters and the app from https://www.ambrosiasys.com.
These are apparently allowed to use Abbott's SDK.


Add connection URI support

Will close https://github.com/sqlectron/sqlectron-gui/issues/612
This PR adds a URI field at the bottom of the database info. That field works in 2 ways:

If the user changes that field directly, it will update the database info details.
If the user changes the database fields, the URI field will be updated based on those changes.

Also, this URI field respects the password hidden button. So, it will sanitize the password in the URI field based on that button state.

@MasterOdin good catch. I disabled the URI field when the password is hidden, and it will show a message to the user, in that case, to make it clear the password must be visible to change that field. Please, let me know if you can think of a better message than what I used there.

Hello!
I am the author of connection-string library.
See the following PR with some improvements: PR-644.


[SPARK-49604][SQL] GROUP_BY_POS_OUT_OF_RANGE should not appear if group by Literal

What changes were proposed in this pull request?

The PR adds a check in resolveGroupByAlias to check if any integer literal is presented in the group expressions. If found, replace the original integer literal with an integer literal of the index from the select list. The original integer literal may cause failures with a later GROUP BY ordinal resolution as described below.
Why are the changes needed?

https://issues.apache.org/jira/browse/SPARK-49604
As described in the issue,
create table t1(id int);
create table t2 as select id, -1 as x from t1 group by id, x;

will throw:
[GROUP_BY_POS_OUT_OF_RANGE] GROUP BY position -1 is not in select list (valid range is [1, 2]).;
We should support group by Literal as it's a valid operation.
Does this PR introduce any user-facing change?

No
How was this patch tested?

Unit Test
Was this patch authored or co-authored using generative AI tooling?

No

cc @wangyum


Design issues

First of, thanks for making the library, it's an excellent base for most devs who need a quick solution.
After having implemented it, I noticed several design issues:
-why separate the Trimmer() instance from the TrimmingView()? The screen should contain the instance and simply return the new file
-global variables are a bad pattern, I think the player should be passed along
-changing the start or end is sometimes very, very slow and will cause skipping frames. This is actually not required, since the user is only interested in the end result, meaning the start/end changes should only be applied once, when the dragging motion stops.
-when the total video duration is greater than the max duration set, moving that duration is near impossible. This solution is mandatory
I'll write a PR which will adress those issues.

PR is up. Also solves #43. The solution for #43 I linked had horrible design, so I wrote a cleaner, simpler system myself.
@Everyone for future reference: I plan on creating my own plugin for trimming videos in around 2 months or so, this time using native ressources. Ffmpeg is just too big for a mobile app.

Fixed in PR #109


feat: Make the automatic start of data collection configurable

Add a config option to TrapConfig that can change the default behaviour where the data collection was automatically enabled when the TrapManager was instantiated.

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

Project coverage is 58.32%. Comparing base (29459ce) to head (f22c341).

Additional details and impacted files
@@             Coverage Diff              @@
##               main      #23      +/-   ##
============================================
+ Coverage     58.27%   58.32%   +0.05%
  Complexity      163      163
============================================
  Files            32       32
  Lines          1644     1646       +2
  Branches        269      269
============================================
+ Hits            958      960       +2
  Misses          497      497
  Partials        189      189

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


MSVC 16.0

The library fails to compile with MSVC 16.0 (Visual Studio 2019 Preview 1).
error C2338: Regular Expression contains syntax error.
find_captures.hpp(11): error C2672: 'find_captures': no matching overloaded function found
etc

I am unable to reproduce this. Do you have a complete test case I could try?

#include <compile-time-regular-expressions/include/ctre.hpp>

static constexpr auto Pattern = ctll::basic_fixed_string{ LR"(^(\S+;\d+)\s+(\d+|\d+/\d+)?\s+((\d{1,2})-([A-Z]{3,3})-(\d{4,4})\s+(\d{1,2}):(\d{2,2})(:(\d{2,2})(\.\d{2,2})?)?(\s+\[(\S+),(\S+)\]\s+\(([A-Z]*),([A-Z]*),([A-Z]*),([A-Z]*)\))?)?)" };

int main()
{
	const wchar_t test[]{ L"abc" };
	const wchar_t* begin = test;
	const wchar_t* end = begin + 3;
	const auto results = ctre::re<Pattern>().search(begin, end);
}

Thank you.


#adhoc Remove CLA bot

No longer needed as per legal guidelines.

coverage: 98.571%. remained the same
when pulling bfab958972c2fe46a36d5e280fdfb1cfe517ea6d on adhoc/remove-cla-bot
into f29a4de98991e9136266a545ff76f66a3ea44487 on master.

As of mid-2023 the guidelines for http://go/opensource were modified to remove the CLA bot requirement. Existing repos with the CLA bot can opt to remove it at their discretion, so this is good to go.
I'm going to modify the required status checks to remove the CLA requirement.


Feat(web): Switch Tooltip component to v3 design tokens #DS-1451

Description
We can't do visual tests until Button, Radio, Checkbox and Select are updated.
Additional context

Issue reference

coverage: 79.191% (+0.7%) from 78.449%
when pulling 5f0c04db24b8f0bf2487b0146a8e34641f295ee3 on feat/v3-tooltip
into fb1db3dea88378e8468a2fb831f8841d07a9b813 on feat/v3-checkbox.


Update sort key tunnel test because data changed.

TCH was updated to layer=-1, which changed the sort key. Updating test to point at another layer=null trunk tunnel.
The set() of IDs is in there because we seem to be merging roads - are we intending to do that at z16?
@rmarianski could you review, please?

:+1:


Planet Centred Design collaboration

Ned Garside

Cool that you are working with Anne and NatureScot! Things have moved a looooong way from the article that I did back last March that you mention
There are now a bunch of x-gov working groups, co-ordinated by the Digital Sustainability team at Defra, to look at various aspects of more sustainable services, such as training, standards, procurement etc
Mark Kiehlmann sent the following messages at 1:06 PM
View Mark’s profile Mark Kiehlmann
Mark Kiehlmann   1:06 PM
Delighted to hear that, hopefully all good.???
Awesome
Ned Gartside sent the following message at 1:08 PM
View Ned’s profile Ned Gartside
Ned Gartside  (He/Him)  1:08 PM
My work is feeding into the bit on future standards. And then there is work being done on the supplier-side through the 'Government Digital Sustainability Alliance', also co-ordinated by Defra. They have a group looking at reporting on Scope 3, on planetary impacts of digital beyond carbon, and of circular economy stuff
Mark Kiehlmann sent the following messages at 1:09 PM
View Mark’s profile Mark Kiehlmann
Mark Kiehlmann   1:09 PM
WOW, it really does sound like it's a fast moving environment.
View Mark’s profile Mark Kiehlmann
Mark Kiehlmann   1:11 PM
One of my colleagues at NatureScot, Service Designer Nick  Kirkman would really like to meet with you to understand how we can contirbute to the movement.
Would you have any time next week to meet with us for 30 mins tops?

1130 Mon 22 Jul. with Nick.


Fixed concatenating ChildElements

Fixed variable substitution for configSections

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

closing this PR, as the changes are already in master.


Make --gen-c-runnable produce runnable C code

Description of changes:
A PR introducing a --gen-c-runnable flag which produces a runnable C program from the compiled goto program. The existing --gen-c flag acts as a starting point, but there are a few issues listed in #237 that prevent the generated C file from compiling.
The change builds off of the visitor pattern introduced by #321, creating a symbol table transformer that normalizes identifiers and perform some extra processing on the symbol table.
(Replaces #317.)
Resolved issues:
Partially resolves #237 (possibly fully after more changes.)
Call-outs:
Todo:

[x] Generate default bodies for nondet_<k>() functions.
[ ] Generate nondet_<k>() functions from a sample trace.
[ ] Verify definition for overflow
[x] Fix field access in src/test/cbmc/FatPointers/boxtrait.c
[x] Set up distinct flags for readable and runnable gen-c
[ ] Figure out testing strategy
[ ] Documentation
[ ] Clean up commits

Testing:

How is this change tested? Existing regression suite.

Is this a refactor change? No.

Checklist

[ ] Each commit message has a non-empty body, explaining why the change was made
[ ] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

To fix:

[ ] CodegenConstValue/u128.rs

error: integer literal is too large to be represented in any integer type

[ ] Strings/fixme_boxed_str.rs

Something to do with pointers

[ ] BitManipulation/Stable/fixme_main_fail.rs

error: implicit declaration of function 'irep' is invalid in C99

[ ] BitManipulation/Unstable/Rotate/main.rs

error: implicit declaration of function 'irep' is invalid in C99

[ ] Asm/main_fixme.rs

No default value for type empty

[ ] ForeignItems/main.rs

Static extern variables not declared

[ ] Cast/cast_abstract_args_to_concrete.rs

powi and powif not defined

[ ] Cast/from_be_bytes.rs

Something to do with overlapping parameter and local variable names?

[ ] SizeAndAlignOfDst/main_fail.rs

__CPROVER_atomic_begin and __CPROVER_atomic_end
error: use of undeclared identifier '_ZN3std9panicking11panic_count18GLOBAL_PANIC_COUNT17hbb0e4a14d9617703E'

[ ] SizeAndAlignOfDst/main.rs

__CPROVER_atomic_begin and __CPROVER_atomic_end

[ ] FatPointers/boxmuttrait.rs

byte_extract_little_endian defined wrong

[ ] SIMD/Operators/main.rs

error: assigning to 'long *' from incompatible type '__attribute__((__vector_size__(2 * sizeof(long)))) long'
error: address of vector element requested

[ ] Atomics/*

__CPROVER_atomic_begin and __CPROVER_atomic_end

[ ] Vectors/fixme_main.rs

?

[ ] DynTrait/*

error: indirection requires pointer operand ('struct _closure_DynTrait_boxed_closure_fail_fixme_rs_14_44__16_6_' invalid)

[ ] CopyIntrinsics/main.rs

default is a keyword
Something to do with pointers

[ ] PointerOffset/*

error: implicit declaration of function 'POINTER_OBJECT' is invalid in C99

[ ] Intrinsics/fixme_catch_unwind.rs

Something to do with overlapping parameter and local variable names?

[ ] VolatileIntrinsics/main.rs

default is a keyword
Something to do with pointers

Simplified version of error: assigning to 'long *' from incompatible type '__attribute__((__vector_size__(2 * sizeof(long)))) long'
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT
#![feature(repr_simd)]

#[repr(simd)]
#[allow(non_camel_case_types)]
#[derive(PartialEq)]
pub struct i64x2(i64, i64);

fn main() {
    assert!(i64x2(0, 0) == i64x2(0, 0));
}

Changes:

Normalizing identifiers

Replace non-alphanumeric + "" + "$" with ""
Add "_" before name if starts with number
Add "_" to key words
If overlapping output names, add "_"

Transform names

Symbol name
Parameters
Member access to structs/unions
Symbol expr
Structs

Struct name
Struct component
Struct type

Unions

Union name
Union field
Union component
Union type

Goto/labels

Replacements

Big nums

If a constant goes above u64::MAX, break into (a * u64::MAX + b)

Bin ops

Replace lhs ==> rhs with !lhs || rhs

Vector indexing

Cast vector to array, and then index

Replace main with main_ so we can create main with int return type

Nondet

Replace nondet calls with calls to custom non_det functions with default return values

Except padding fields, since they are ignored, and ignored nondets are not genned in --dump-c

Fill in missing extern functions with calls to nondet

C library

Manually define some CPROVER stuff


Give option to bookmark a challenge

Give options to bookmark a challenge

In what way can you not bookmark a challenge now?  All challenges have a unique url that you can bookmark with your browser.
What is it that you would like to do with a bookmark?

@SaintPeter is correct. You can just use you're browsers bookmarks.
Happy Coding!


Clicking on 'Export results > Download all results' and nothing is happening

I have 150 results from Audit Log Search for activities of type 'when a SharePoint List column is created'.
I click on Export > Download all results and nothing happens.
Microsoft Edge
Version 105.0.1343.27 (Official build) (64-bit)

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

ID: 3494b782-92ad-e365-3398-bd2d760d10c6
Version Independent ID: fa4bca98-3975-23dd-dfac-f23049c71d01
Content: Search the audit log in the Microsoft Purview compliance portal - Microsoft Purview (compliance)
Content Source: microsoft-365/compliance/search-the-audit-log-in-security-and-compliance.md
Service: o365-seccomp
GitHub Login: @v-tophillips
Microsoft Alias: v-tophillips

@oshihirii Thank you for your feedback. I was able to test and download the result to CSV, this sounds more like a technical issue in the tenant and I'd recommend you create a support ticket via the need help section on the admin center so that a support engineer can fix this issue.
Hope this helps!
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @oshihirii Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


next-nprogress-bar causes deopting into client-side rendering in Nextjs 13 app router

Hello!
In my NextJS projects, I'm using your progress bar, but there's a major bug: my static pages, such as "/" or "/mag," are deopting into  client-side rendering, the server-side components aren't mounted in my page source, and my html tag has this attribute:
<html id="__next_error__">.
However, my dynamic routes and catch all routes, such as [city] and [...city], work fine and are server-side.
I discovered that your package is the source of this error, and I tried a number of adjustments, such as removing it from the root layout and importing it using next-dynamic, but nothing worked.
What should I do as this issue is affecting my SEO and my large-scale projects?

Hello, I'm really sorry to hear this, what version are you on?
This normally happens when the component is not surrounded by : https://nextjs.org/docs/messages/deopted-into-client-rendering
However, in the latest version, the ProgressBar component is well surrounded by the Suspense component.
Check that you are on the latest version 2.3.4.

My version was 2.1.2
I changed the version to 2.3.4 and it was fixed
Thak you very much :heart_eyes: :heart:


Enhancement suggestion: Components as attributes in other components or tags

<MyComponent Memoize="true" ComponentProperty="@SomeValue" />

Memoize would be another component which defines the Attribute and had full access to the underlying component.
As an example it could even prohibit rendering and inject a dynamic rendertree which could be stored in a cache. I believe Taghelpers can do something similar.
More Examples:
<MyComponent Repeat="5" ComponentProperty="@SomeValue" />
<MyComponent HideWhenEnvironment="Production" ComponentProperty="@SomeValue" />
<MyComponent DisplayWhenEnvironment="Debug" ComponentProperty="@SomeValue" />
<MyComponent LazyLoad="true" ComponentProperty="@SomeValue" />
<MyComponent DataSourceWithCachingAndErrorHandling="/api/category/value/@value;bindto(ComponentProperty)" ComponentProperty="@SomeValue" />

[...]

It looks like a continuation of this https://github.com/aspnet/Blazor/issues/1739#issuecomment-443628737
Assuming I understand your examples correctly, components which mirror basic programming constructs (Repeat, HideWhen, etc.) are in my opinion not very useful. For caching I prefer Razor syntax:
https://docs.microsoft.com/en-us/aspnet/core/mvc/views/tag-helpers/built-in/cache-tag-helper?view=aspnetcore-2.2

@Andrzej-W These are JUST examples. Replace with any functionality you like. I took the first that sprung to mind. Nothing more. btw: If you LIKE my examples or not is not very helpful at all.
And no, #1739 is not the same, but this could be a possible solution, I give you that. Everyone could implement such functionality themselves if they so choose. But that was not the reasoning behind my suggestion.
I think the Memoize example reflects the most what I had in mind. The others are just additional possibilities, nothing more.


[Bug]: flakey test on FocusScope.test

Environment
Environment: GitHub Actions
Node version: 16.0.0
Package manager<EMAIL_ADDRESS>Radix Vue version: 1.8.1
Browser: JSDOM

Link to minimal reproduction
https://github.com/radix-vue/radix-vue/actions/runs/9234626056/job/25408556669
Steps to reproduce

Run tests
Observe error

Describe the bug
TypeError: Failed to execute 'dispatchEvent' on 'EventTarget': parameter 1 is not of type 'Event'.
This error originated in "src/FocusScope/FocusScope.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
This error was caught after test environment was torn down. Make sure to cancel any running tasks before test finishes:

cancel timeouts using clearTimeout and clearInterval
wait for promises to resolve using the await keyword

Expected behavior
Tests should pass
Context & Screenshots (if applicable)
No response

@epr3  would you be able to pick up the reason why is that pipeline failing? 😁

@zernonia I'll take a look, but it'll take some time because I can't reliably reproduce the issue. Will keep you posted :+1:


fixed cgroup udev deadlock

I experienced a little problem with your code on modern cgroup-based udev versions (Fedora 29+). Because the edid is not written till the udev events finish (don't know exactly why) your edid-retry code runs into some kind of deadlock/race-condition situation.
First I tried to fix it by adding a call to udevadm settle but this leads to a complete deadlock scenario. I think this does not happen on "traditional"/non-cgroup udev implementations because you already fixed this by spawning a background-task inside the udev-rule. This helps on old versions, but on a cgroup setup all processes (even background ones) are expected to finish before the rule completes. My fix uses dbus-send (without waiting for a result) instead of awesome-client to start the updateScreens call. This resolves the race-condition and waits till the edid is properly set (by using udevadm settle) so it should even be more error-resistant on slow systems.
Thx this cool project! Please think about publishing it under an open-source license to make additions like this a bit less problematic. I simply assumed that it is ok to provide modifications/patches based on your past approvements of PRs. Legally it is not clear if you are allowing modification or even usage of your code. So please please please add some kind of license information, on GitHub its just one click away

Thank you for contribution.
As you pointed out I've added an MIT license to project.


EwmaT only handles unsigned?

This breaks (returns high numbers instead of negatives when the "average" goes negative) when fed negative values.
EwmaT <long int> diff_ewmat(3, 10, 500);
...
filtered = diff_ewmat.filter(value);

This works (add/subtract an offset to keep everything positive):
EwmaT <long int> diff_ewmat(3, 10, 1000500);
...
filtered = diff_ewmat.filter(value+1000000)-1000000;

Sorry, C++ isn't nearly my day job, so maybe I'm expecting too much, but there's nothing to indicate this shouldn't work with signed numbers.

We are talking about Arduino and Arduino-like platforms here, right?
Integer-based types (non-floating) are differently implemented on different platforms. On some, an int would be 16 bits, on some it would be 32 etc.  It is much safer and cleaner to use aliases defined in <Arduino.h> such as "uint8_t" for "unsigned 8-bit integer", "int16_t" for "signed 16-bit integer" etc. That way you will always know what are you dealing with.
You have to know what range of data to expect, and therefore use an appropriate data type, because the overflow can occur each time you add or multiply something. Besides, there is also the additional alphaScale factor. There is no (simple) universal solution for this problem, without making the class big and heavy.


Issues with image widths and overlapping cards in Chrome.

As per this issue, I am experiencing this in Chrome mobile: #875

As with other users, using a $(window).load(function(){.........})) has solved the issue.
This is with current (today) code.

Actually, that hasn't fixed it on slower connections still, though it seems intermittent, I guess depending on how slow the connection is.
Also, sometimes the slideshow appears OK for a moment, and then pulls back to approx a third the width of the screen, and the markup round the carousel has lots of strange widths associated (0px!), this often seems to be after a scroll event, which on Android devices at least may trigger anything attached to window.height():

#######################

#######################

I have found that this is reproducible when the height of the document changes, this occurs on a mobile when the address bar disappears as you scroll down, so can be very easily broken on mobile.
To reproduce on desktop, just change the height of the browser.
Both tested in Chrome (mobile and desktop)

More info..... in onResize() this.$element.width() is getting returned as 0, this is probably the crux of the problem.
Other than that I'm not an expert, but be great if you could look at this!
Thanks!
Peter.

Please provided a reproducible test case as described in https://github.com/smashingboxes/OwlCarousel2/blob/develop/CONTRIBUTING.md#bug-reports and we'll see if we can't figure this out.


bugfix(radixtree_host_uri): match priority, host > uri.

Fix #761.

👍

Rebased right now

@membphis  when will this PR going to be merged into master？

Have you tested this feature at your ENV?

@membphis when will this PR going to be merged into master?

Have you tested this feature at your ENV?


is ubuntu 22.04 feasible to work

this is latest bridge i have seen, can I use ubuntu 22.04 to do all these works

Of course, but remember to switch to humble branch
https://github.com/evshary/autoware_carla_launch/tree/humble


HttpClient Enhancements

The 2 enhancements below have been developed to address the concerns raised with the HttpClient being created/disposed on every request, and requests for the ability to have access to the HttpClient itself from the consuming application. (detailed in #57 and #58).

Addressing the HttpClient being created/disposed on every request:
The HttpClient is not a thread-safe in entirety and there are other considerations that were required to ensure that the issue addressed all concerns. Utilizing the HttpClient as a singleton throughout the application can introduce issues in high load environments such as deadlocks, potential memory leaks, and potentially affect fail-over and load balancing scenarios where underlying socket sessions will prevent host switching.

To overcome this, we added a new LimitedPool and LimitedPoolItem class and refactored them to suit the requirements of SDK. These refactored classes do not use the HttpClient as a singleton which ensures thead-safe and deadlocks are not hit, and are configurable to specify the lifetime of the cached HttpClient objects which avoids potential fail-over and load balancing issues.
To specify a specific lifetime of the cached HttpClient objects, you either supply the optional constructor parameter httpClientPoolItemLifetime to the Configuration class, or you set it directly in the Configuration class through the HttpClientPoolItemLifetime property.
When the Configuration class HttpClientPoolItemLifetime property has not been specifically set via the constructor or direct property access, the HttpClientPoolItem and its associated HttpClient will have a lifetime of 1 hour.

Providing the ability to have access to the HttpClient itself from the consuming application via a constructor and/or public property. NOTE: When utilizing it this way, you will in effect bypass the pooling entirely and must supply the HttpClient that is to be used.
Using this method of HttpClient consumption, you supply the Client class with the HttpClient to be utilized – whether it be during instantiation through the optional httpClientInstance constructor parameter, or afterwards through the HttpClientInstance property accessor.

Overall Refactoring Specifics:

Added optional httpClientPoolItemLifetime parameter to constructor of Configuration class. If unspecified, will utilize a default value of 1 hour.
Added public get/set HttpClientPoolItemLifetime property to Configuration class.
Added optional httpClientInstance parameter to constructor of Client class.
Added public get/set HttpClientInstance property to Client class.
Added private static get access to new HttpClientPool property with instantiation lock.
Added and refactored LimitedPool and LimitedPoolItem class for SDK specific usage with IDisposable objects and varied configuration lifetimes.
Refactored all HttpClient accesses in Client to utilize the HttpClientInstance if not null, otherwise it will draw an instance from the HttpClientPool.

 As the initial issue was only occurring under load.

I share these concerns: you still have a using around an IDisposable with an await in it.

Is the await inside the using not going to cause problems with threading + disposing?

The using is not directly instantiating a HTTP client, but catching a LimitedPoolItem which holds the client instance. As soon as the pool item is disposed it's returned to the pool as long as it's not expired. Only if the pool item is expired the item as well the client will be disposed.

And the LimitedPool uses a ConcurrentStack which is thread safe for storing the pool items

The referenced concerns about memory leaks, deadlocks etc are not detailed. Could you point to some resources that support these claims? Client is just calling methods on HttpClient and all documentation and best practices from Microsoft that I have read instead suggest reusing the same HttpClient instance.
HttpClient is indeed not thread safe in its entirety, but all the relevant methods are (https://msdn.microsoft.com/en-us/library/system.net.http.httpclient(v=vs.110).aspx#Anchor_5):
CancelPendingRequests
DeleteAsync
GetAsync
GetByteArrayAsync
GetStreamAsync
GetStringAsync
PostAsync
PutAsync
SendAsync
The current implementation that create a new instance for every request will leak connections (see https://aspnetmonsters.com/2016/08/2016-08-27-httpclientwrong/). In Azure functions there's a 300 connection limit that I've experienced due to incorrectly creating too many HttpClients (https://github.com/Azure/azure-functions-host/wiki/Managing-Connections). In a high concurrency situation the pooling solution will create exessive HttpClients as well.
I suggest instead refactoring the Client code:

Set headers on HttpRequestMessage instead of DefaultRequestHeaders on the HttpClient instance
Remove code duplication for GET/POST/DELETE requests.
Client is instead creating a new instance of HttpClient when not supplied in the constructor and let that instance live with Client.
Update documentation and examples with recomendations of how to use it. Client isn't doing anything other than calling methods on an HttpClient so the same best practices for HttpClient should apply for Client in this library.

Also it's not an ideal solution I will merge the actual state.
First it's now possible to inject a HTTPClient to bypass the internal instantiation. Second @sshibani added the client interface in order to be able to refactor the whole client implementation. But this should be done in another PR.


What is the proper way to forward a user.

Is there a proper way to forward a user.
ie:
<FowardRoute path="/orginalpath" to="/newpath" />
<FowardIndexRoute to="/home">

Thanks for your question!
We want to make sure that the GitHub issue tracker remains the best place to track bug reports and feature requests that affect the development of React Router.
Questions like yours deserve a purpose-built Q&A forum. Would you like to post this question to Stack Overflow with the tag #react-router? https://stackoverflow.com/questions/ask?tags=react-router.
We also have an active and helpful React Router community on Reactiflux, which is a great place to get fast help with React Router and with the rest of the React ecosystem. You can join at https://discord.gg/0ZcbPKXt5bYaNQ46.


Fix typo -> Teamss to Teams

Minor typo fix.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@CarolynRowe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Is there a way to combine a Seq of ScanamoOps into one Op programmatically?

use case: combine a set of queries into one operation

Hmm, do you mean to run them in parallel? if yes, that would be something the underlying monad could give you, e.g. with zio:
import scalaz.zio.IO
def parallel(ops: List[ScanamoOps[A]]): IO[DynamoReadError, List[A]] =
  IO.parTraverse(ops)(ScanamoZio.exec(client)(_))

otherwise you may be referring to Table#getAll?

Yes, running in parallel would work fine for me. I will try that. Thanks!


major refactoring

This PR  is in regards to the
https://github.com/TomGeorge1234/RatInABox/issues/55

This needs additional testing to verify the imports
Will also include a requirements.txt

Closes #55

Gonna shelve this for now. It does need to be done but I think it will require a bit of thought from my end (updating all the demos etc.) and I don't have the time rn. It's not exactly going to be backwards compatible so I'm thinking of combining it with a bunch of other updates later down the line, maybe a RiaB2.0.
Happy to reconsider and/or chat once I'm more free in July.

Yes, backward compatibility is an issue with this kind of significant refactoring...i guess its better to have it in a major release but maybe start a branch for it so that the new developments can use the new package structure.
I did solve the imports in the demos but yes more testing is needed

Ok I merged it into v2_beta branch.


Required updates due to ed25519-dalek moving to v1.0.0-pre.4

Fixes #103.
Since ed25519-dalek moved to v1.0.0-pre.4 (from v1.0.0-pre.3) approximately 15 hours ago, pgp no longer builds due to a change in the ed25519-dalek API.
The fix involves:

Using the following now required traits in src/crypto/eddsa.rs: signature::{Signature, Signer, Verifier}
Bringing in the signature crate as an explicit dependency (as this is where the above traits are exported)

thanks

published 0.6.1


GitHub API request rate seems wrong

Looks a bit over the top to me.

Yeah I've seen this before as well. I think the data is coming down incorrectly from GitHub, but it's also possible I have a bug in my calculations.
It's a couple of lines of code, please let me know if I'm doing something stupid :) https://github.com/czechboy0/Buildasaur/blob/master/BuildaGitServer/GitHubRateLimit.swift
But, when you look at it, it does make sense based on the data. Your example says it will renew in 3598 seconds, which means just 2 seconds elapsed, and the count is already at 185. So 185/2 = 92.5 requests per second (according to github) would really mean we're using a huge number of requests, even 12000% of what's allowed. At this pace, we'd be done in less than a minute :) That's why I think the rate limit headers from GitHub sometimes go bonkers (maybe when the reset hour just happened).
Again, any theories or fixes are welcome :)

I tried more debugging and it's definitely GitHub sending incorrect header values. Closing since it's not a Buildasaur bug (and hopefully we won't even be affected by it, other than making these rate-limit estimates useless sometimes).

:+1: thanks for investigating


feat(unocss): improve unocss pkg types

@chris-zhu dts shouldn't be added also to the package exports entry?

@chris-zhu dts shouldn't be added also to the package exports entry?

Can you guide me on what to do next ?

@chris-zhu dts shouldn't be added also to the package exports entry?

Can you guide me on what to do next ?

"exports": {
  ".": {
    "types": "./dist/index.d.ts", // <== this entry
    "main": "./dist/index.cjs",
    "module": "./dist/index.mjs"
  }
}

You will need also add the "files" entry if missing or just add the dts entry if missing  (i.e: https://github.com/antfu/vite-plugin-inspect/blob/main/package.json#L31):
"files": { // <== this one
  "dist",
  "*.d.ts" // <== or this one
}

@antfu how about "typesVersion"? some packages here haven't the exports types entry nor files including the dts files (for example, inspector missing entries while preset-icons have the exports types but not the files types). We need to review all package.json files..


how the dbeaver to load the image

there are two kind of images for dbeaver, xxx.png and<EMAIL_ADDRESS>in which case dbeaver use xxx.png, and in which case dbeaver use<EMAIL_ADDRESS>

Here i means the icons,. i find that the icon is different when i connected to different screen

Hello @janiu-001,
The xxx.png icons are used for FHD monitors and below.
The<EMAIL_ADDRESS>icons are used from HiDPI monitors and above.
In code we explicitly don't specify which version of icon to load, it's determined automatically.

@ShadelessFox is it an eclipse mechanism ? anyway we have a method to determine the icon


[EPIC] Make Network Policy Advisor more useful

The idea behind the Network Policy Advisor is very cool but the generated policies are hard to understand. Part of the problem is that the policies are very big and not very clear. There are many ways of selecting pods according to their labels and our tool doesn’t necessarily pick the groupings that make the most sense for a human.
While it’s almost impossible to generate the same thing a human would generate, we could try to improve our groupings with the goal of putting things that are common to all or many pods together. We could also improve how we observe the traffic, group also by quantity, not just by connection. Have separate policies for big services vs a lot of small services.
Also, we currently only capture the calls to TCP connect and accept, rather than the actual traffic (based on https://github.com/weaveworks/tcptracer-bpf/). We should capture TCP and UDP traffic. The dns gadget can be used as an example of this.
Additionally, it would be helpful to validate a policy by surfacing traffic that has been blocked, or that would be blocked if the policy was applied. Calico already has this feature and Cilium was working on it, but it would be nice to have it independent of the CNI provider. See https://github.com/box/kube-iptables-tailer for more information.
This epic includes:

[x] #172
[ ] Group generated network policies to make understanding them easier
[ ] Capture all TCP and UDP traffic
[ ] Surface traffic that is blocked (this would be using audit network-policy)

All gadget/network-policy issues

To capture traffic we could use network capture, which is already independent of the kernel version so it doesn't need BTF magic.

Oh this would be awesome! Inspektor Gadget is such a great tool. And also, if it generated easier to understand Network Policies it would be even greater. And then further, making it surmountable to convert the generated NetworkPolicies to CiliumNetworkPolicies.
Thanks. I'll monitor this issue.

I just commented on #1199 about having an alternative to the iptables-trailer. We've been evaluating both calico and cilium for this (though a CNI neutral option would be prefered) and haven't actually found documentation that either of them can surface blocked connections without a lot of shenanigans (calico: write LOG rules that are ordered correctly, cilium: use a well-crafted hubble flow query). Is there something we've overseen with both of those (you know, apart from an enterprise option for something that is really basic IMO)


use tour.dlang.io

I already created an A entry to <IP_ADDRESS>, so feel to change your server config.

It's working already. There is no special server config needed because the tour doesn't need to know its hostname. The current server is a private server with very limited resources so before going to public the tour has to move anyway.

@wilzbach Could you change the IP address of tour.dlang.io to <IP_ADDRESS>? This will be the official server that also tour.dlang.org is pointing to.

Could you change the IP address of tour.dlang.io to <IP_ADDRESS>? This will be the official server that also tour.dlang.org is pointing to.

That's great news! DNS is updated and should be proprogated in the next minutes/hour.


html-proofer linting: Blog Posts, Related Tools

This PR updates two articles, Blog Posts and Related Tools.

Repaired markup to be Markdown (links, table, local linking)
Update hyperlinks to use the most accurate content and the fastest way to get there (avoiding redirects, for example)
Blog Posts: go through content, make our language more neutral
Related Tools: go through all old content, get rid of things lost to time

Preview links: Blog Posts and Related Tools
Fixes #38

See #38

Awesome stuff!

@plaindocs Thanks, you.


allowableValues extends in stead of replaces allowed values

Awaiting restored support for @JsonProperty/@JsonValue in enums (#3553), I tried to work around the issue using @Schema and allowableValues, but it turns out this only adds to the set of allowed values, and does not replace the Java names, which my API does not actually support.
Java code:
@Schema(allowableValues = {"num-one", "num-two"})
public enum SomeEnum {
  @JsonProperty("num-one")
  NUMONE,

  @JsonProperty("num-two")
  NUMTWO
}

Expected in OpenApi schema:
enum: ["num-one", "num-two"]
actual:
enum: ["NUMONE", "NUMTWO", "num-one", "num-two"]

This is a duplicate of existing issue: https://github.com/swagger-api/swagger-core/issues/2949. The workaround suggested elsewhere is to specify the Schema type as "string", though the implications of this are unclear.


fix(tilecatalog): should page to the selected tile id

Summary

There was a bug in statefultilecatalog where changing the selectedTileId wouldn't update the page number

Acceptance Test (how to verify the PR)

To test, view the TileCatalog with pages story and change the selectedTileId and once you try and select a selectedTileId that is past the first page, it should automatically page to the second page for you

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.40.1 :tada:
The release is available on npm package (@release-1.x dist-tag)
Your semantic-release bot :package::rocket:


Package settings

Settings are not visible in package control in Sublime.

Ctrl + Shift + P, and type "LuaFormat: Settings"
else: copy console log to me (HotKey: Ctrl + `)


Settings UX: arrow keys do not properly switch focus

Environment Details:
VSCode Version : 1.23.1
OS Version : HighSierra10.13.5
Additional Details:
MAS Violated : MAS 2.4.3
Repro Steps:

Launch VS Code while VoiceOver is ON.
Navigate to Settings icon in Activity Bar->Press Enter->Select "Settings" from dropdown.
Focus is lost when upward arrow key is pressed(once) while navigating through the list items in a Bottom-Up manner on the screen.

Actual:
Keyboard focus is lost when upward arrow key is pressed(once) while navigating through the list items in a Bottom-Up manner.
No action takes place and keyboard focus is found missing when the upward arrow key is pressed once while moving up the list of the items.
Expected:
Keyboard focus should not be lost when upward arrow key is pressed(once) while navigating through the list items in a Bottom-Up manner.
Keyboard focus should be  found on the previous list item  when the upward arrow key is pressed once while moving up the list of the items.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
The end user will not be able to understand the movement of the keyboard focus if the focus is lost.
MAS Reference:
MAS 2.4.3 - https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Attachment For Reference:
A11y_VSCode_UserSettings_Keyboard_FocusLoss2.pptx
Does this issue occur when all extensions are disabled?: Yes

This is the new settings ux editor, moving to @roblourens

/duplicate of #54039


Style local notifications#19

Name of the PR
:recycle: Current situation & Problem
Link any open issues or pull requests (PRs) related to this PR. Please ensure that all non-trivial PRs are first tracked and discussed in an existing GitHub issue or discussion.
:gear: Release Notes
Add a bullet point list summary of the feature and possible migration guides if this is a breaking change so this section can be added to the release notes.
Include code snippets that provide examples of the feature implemented or links to the documentation if it appends or changes the public interface.
:books: Documentation
Please ensure that you properly document any additions in conformance to Spezi Documentation Guide.
You can use this section to describe your solution, but we encourage contributors to document your reasoning and changes using in-line documentation.
:white_check_mark: Testing
Please ensure that the PR meets the testing requirements set by CodeCov and that new functionality is appropriately tested.
This section describes important information about the tests and why some elements might not be testable.
:pencil: Code of Conduct & Contributing Guidelines
By submitting creating this pull request, you agree to follow our Code of Conduct and Contributing Guidelines:

[ ] I agree to follow the Code of Conduct and Contributing Guidelines.

This PR was superseded by #45


Add ShadCN's Data Table component set

This PR adds ShadCN Svelte's "Data Table" component set to web-common/components/table-shadcn. The PR includes a basic Storybook story to show it in action.
This PR will be followed by another that uses this component on the Cloud UI project status page.

Looks good to me. Would you want to keep this pure or could I extend these components for use elsewhere in the application?

Looks good to me. Would you want to keep this pure or could I extend these components for use elsewhere in the application?

I didn't modify/style these ShadCN components at all. I'm game if we want to customize them a bit. If possible, we should just avoid too much style proliferation (though control-plane tables and data-plane tables probably differ).


DWM issues

Hi, when running the script to install the tiles version on my Arch machine I get the message:
It would appear that you do not have a graphical environment installed...
even though I am currently using DWM and Xorg.

Hmm, that's pretty strange. Could you do me a favor and return any output when you enter pacman -Q | awk '{print $1}' | grep -E "xinit\|wayland" in the terminal?

That command doesnt return anything. Using pacman -Q | awk '{print $1}' | grep -E "xinit|wayland" returns with values containing "xinit" and "wayland" however. Changing that in the script solved it for me.

Thank you for providing this fix, it's strange that I didn't find this issue during testing.

No worries! Thanks for making playing this game on Linux much easier :)


Faster byte[] copy

This makes me sad that this is even possible to do (+4% RPS)...
Issue: "Array.Copy & Buffer.BlockCopy x2 to x3 slower < 1kB" https://github.com/dotnet/coreclr/issues/2430

Until that is fixed, there is this, +4% RPS
Before

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     7.31ms   17.04ms 430.36ms   96.48%
Req/Sec    63.61k    11.37k  121.07k    89.55%
60603911 requests in 30.04s, 7.45GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2017281.16
Transfer/sec:    253.95MB

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     7.86ms   18.76ms 319.53ms   96.10%
Req/Sec    65.93k     7.22k  233.05k    91.79%
61092441 requests in 30.10s, 7.51GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2029658.31
Transfer/sec:    255.50MB

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     7.76ms   18.81ms 338.18ms   96.30%
Req/Sec    65.90k     6.02k  141.64k    88.76%
61119465 requests in 30.10s, 7.51GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2030569.81
Transfer/sec:    255.62MB

After

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     6.54ms   16.04ms 421.70ms   97.95%
Req/Sec    66.30k    13.82k  277.14k    91.29%
63126220 requests in 30.10s, 7.76GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2097240.79
Transfer/sec:    264.01MB

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     6.39ms   15.65ms 315.77ms   98.11%
Req/Sec    68.62k     7.74k  234.24k    87.15%
63593990 requests in 30.10s, 7.82GB read
Socket errors: connect 35, read 0, write 0, timeout 8
Requests/sec: 2112790.91
Transfer/sec:    265.97MB

Running 30s test @ http://.../plaintext
32 threads and 1024 connections
Thread Stats   Avg      Stdev     Max   +/- Stdev
Latency     6.25ms   15.05ms 332.33ms   98.25%
Req/Sec    66.43k    13.67k  283.71k    92.85%
63515232 requests in 30.10s, 7.81GB read
Socket errors: connect 35, read 0, write 0, timeout 0
Requests/sec: 2110181.96
Transfer/sec:    265.64MB

Closed as still investigating

@benaadams Any updates on this. I think it is still possible to make it faster than Buffer.MemoryCopy. I can make a PR for this but that would be without using IllyriadGames.ByteArrayExtensions (-;

Holding off till post v1.0.0 RTM


Stats CSV is overwritten on autoquit

Describe the bug
The Stats CSV is overwritten with just the header information after the locust process exits.  Prior to the process exiting, the Stats CSV contain the proper information (see screenshots below).  Before Autoquit, the size of results_stats.csv is 471B, after it is down to 290B.  Upon inspection, the CSV is overwritten with just the header information.
Prior to Autoquit

After Autoquit

Expected behavior
Stats CSV should not be overwritten.
Actual behavior
Stats CSV is overwritten.
Steps to reproduce
Deploy Locust test using the Delivery Hero Helm charts.
Environment
Using Delivery Hero Helm Charts for Locust (AKS)
image:
  tag: "2.7.2"

master:
  args: ["--autostart", "--autoquit", "180", "-u", "1", "-r", "1", "-t", "120s", "--expect-workers", "1", "--csv", "/mnt/locust/results/results"]

Well, that's annoying... Can you have a look at fixing it? I dont really have time... Probably the problem is somewhere in main.py

I had a look at the issue and discovered that it was not an issue with Locust itself, but with the restartPolicy was handled in AKS.  The overwriting was happening due to the pod restart after autoquit.  The only restartPolicy available is "Always", therefore, after the locust process quits, the pod restarts and goes through its initialization process and overwrites the CSVs.  Closing the bug.


Captcha error.

Captcha Bypass Doesnt Working!

i’ll take a look at it; it might’ve been temporarily patched

Sounds great! I'll be waiting for news and looking for the solution myself anyway, if I fix it I make a pull request!

this is usually because of the proxies that you are using. if you're proxies aren't very good, then it won't work.

it's patched as of now anyways, and can only really be used to bot members

and still that is very inefficient

Yo

and still that is very inefficient

Yo can you add me on discord Mojon#3115

sure

sure

slamsal#1667 i changed my name

sent it


Decoding H.264 stream failed

Decoding H.264 stream failed, the stream is generated by Redmi Note Phone with Mediatek MT6592 SOC. Error messages as:
./h264dec vv.h264 cc.yuv -trace 2
[OpenH264] Warning:DecodeCurrentAccessUnit() failed (1048) in frame: 24 uiDId: 0 uiQId: 0
[OpenH264] Warning:invalid syntax vertical mv 2814
[OpenH264] Warning:DecodeCurrentAccessUnit() failed (1048) in frame: 27 uiDId: 0 uiQId: 0
in general, DecodeFrame2 function return 32 or 36.
In addition, a copy of sample(raw H.264 file with .jpg suffix) is attached and openh264 version is v1.2.0.

Any help is welcome, thanks a lot.

Hi seems this bit stream has some loss in it so the decoder complains.

This bitstream has the feature of 8x8 transform, a feature of HIGH profile. It is not well supported yet in codec. It is now in development.
Thanks for your interest for that.

@sijchen VLC, SMPlayer, ffplayer decode this file normally, excepting incorrect UV panels in display.
Could you do some test with the sample, thank you.

@cyberwetware , huili2 above did some test with the bit stream and he has an answer.

@huili2 Thanks for your comment, looking forward the new feature in next release.

Yeah, I known the reason of decoding issue, thank you both, @sijchen and @huili2 .

I'm running into the same issue. I'm encoding with x264, baseline profile. What setting do I need to change to make openh264 decode it properly?

@dapirian could you please post the error message you met.

[OpenH264] this = 0x0x7fb7d9736ac0, Warning:invalid syntax vertical mv 23913
[OpenH264] this = 0x0x7fb7d9736ac0, Warning:DecodeCurrentAccessUnit() failed (1035) in frame: 3 uiDId: 0 uiQId: 0
[OpenH264] this = 0x0x7fb7d9736ac0, Info:decode failed, failure type:36

let's move to the new github issue you raised.


Feature: Accept cyBQM

The current version doesn't work with cyBQM, specifically AdjArrayBQM

Closed by https://github.com/dwavesystems/dwave-tabu/pull/56

Reopening until #56 is merged.


Meter Integration

Hi There,
i would like to use a integration of the energy meter from my loxone system.
"statistic":{"frequency":8,"outputs":[{"id":0,"name":"Leistung Produktion","format":"%.3f kW","uuid":"17298973-0185-56a4-ffffdd31cf902ab5","visuType":0},{"id":1,"name":"Leistung Verbrauch","format":"%.3f kW","uuid":"17298973-0185-56a9-ffffdd31cf902ab5","visuType":0},{"id":2,"name":"Leistung Energieversorger","format":"%.3fkW","uuid":"17298973-0185-56b9-ffffdd31cf902ab5","visuType":0},{"id":3,"name":"Leistung Batterie","format":"%.3f","uuid":"17298973-0185-56ba-ffffdd31cf902ab5","visuType":0},{"id":4,"name":"Ladestand Batterie","format":"%.3f %%","uuid":"17298973-0185-56bb-ffffdd31cf902ab5","visuType":0},{"id":5,"name":"Zähler Produktion","format":"%.3f kWh","uuid":"17298973-0185-56bd-ffffdd31cf902ab5","visuType":2},{"id":6,"name":"Zähler Verbrauch","format":"%.3f kWh","uuid":"17298973-0185-56be-ffffdd31cf902ab5","visuType":2},{"id":7,"name":"Zähler Lieferung","format":"%.3f kWh","uuid":"17298973-0185-56bf-ffffdd31cf902ab5","visuType":2},{"id":8,"name":"Zähler Bezug","format":"%.3f kWh","uuid":"17298973-0185-56c0-ffffdd31cf902ab5","visuType":2}
is there a easy way to use theys sensors ?
Tryed

name: "Sensor Zähler Bezug"
platform: loxone
uuidAction: "17298973-0185-56c0-ffffdd31cf902ab5"
unit_of_measurement: "kWh"

but at energy config i've just got the error  "statistics_not_defined" on the sensor.
did you need some extra information to integrate meters like this ?
greetings Thomas

Did you use the right uuid?
Use one of the state uuid
"states": {
"actual": "xxxxxx-0361-3b4a-xxxxx",
"total": "xxxxxxx-0361-3b49-xxxxxxx"
}
I tested it and it works like a charm without any problem.

hi Joachim,
the Values are Right in the Diagram (when you look at the sensor values alone). i couldn't set it as a energy sensor.
greetings thomas

Have set the device type for the sensor like in the example described?

I pushed a new update to the main branch with a improvment. Please download it and override the existing files in the
custom_components folder.
There you have the posibility to add a state_class attribute to the custom sensor like this:
  - platform: loxone
    name: EneryCounter
    uuidAction: "xxxxxxxxx-xxxxx-xxxxxx-xxxxxxx"
    unit_of_measurement: "kWh"
    device_class: "energy"
    state_class: "total"

For more infos head over to the docu page: https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
In my case the sensor showed up in the statistics section.

hi,
thank you very much . it works :))
and thnx for your greate work :)
greetings from germany
thomas


fix: Resolve reference to hard coded bucket in "NOAA Passive Bioacoustic" dataset.

Description
Resolution of overseen variable issue.
Checklist

[x] (Required) This pull request is appropriately labeled
[x] Please merge this pull request after it's approved

Data Onboarding

[x] I'm adding or editing a dataset
[x] The Google Cloud Datasets team is aware of the proposed dataset
[x] I put all my code inside  datasets/noaa_passive_bioacoustic and nothing outside of that directory

If we're expecting that the Composer bucket will always be used, then yes this should be merged


Rename and unify notation for spherical interpolation

Cubic interpolation was implemented some correctly by #63380.
The name cubic_slerp() has a contradictory meaning, "cubic spherical linear interpolation", so it is renamed spherical_cubic_interpolate() to correspond to slerp(). I felt that scerp() is odd.
Transform3D::sphere_interpolate_with() is also renamed to Transform3D::spherical_interpolate_with() to accommodate this.

Thanks!


Support for multiple upstreams and clients

Hi @p53, I'm search for gateway to shift the responsibility of interaction with kk.
So in my infrastructure I have some micro-services which I want to protect, I can deal with limitation of single upstream with proxy server, but what about clients? The documentation of kk says "one client represent e.g spa" so I need to create multiple clients for my spa's.
Maybe I don't understand the idea of gogatekeeper and need to implement it for each micro-service in front of, but it seems not right.

Hi, gatekeeper is small oidc proxy it doesn't have multi stream and multi client configuration, for that it would need major rework, which would need much more time resources and would be not backward compatible, so that would be nice new project ;)

@pepellsd but you can do setup with one client and multiple upstreams with https://gogatekeeper.github.io/gatekeeper/userguide/#forward-auth


Replace faker with @faker-js

Linked to #592
Validated & coverage by PostmanDynamicVarGenerator.test.ts

no other changes?

It is a drop-in replacement, we ported the original postman dynamic-variables.js and created tests to cover it.

I pinned it to the same version as postman-collection package:  "@faker-js/faker": "5.5.3",


Logs Summary wrong path

I think you are setting wrong path in Logs Summary.
Current path: <IP_ADDRESS>:8000/stdout/root/.osmedeus/workspaces/domain.com/
Right path: <IP_ADDRESS>:8000/static/domain.com/

This should be fixed now.


Semantics traversal order needs to be implemented on iOS engine.

The Semantics traversal order API has been implemented in the framework and on Android, but the iOS engine work still needs to be completed.
The engine now receives, for each semantics node, a "nextNodeId" which is the next node in the traversal order.  On Android this calls setTraversalBefore to indicate the order, but on iOS there isn't a similar facility.
The place in the code that orders accessibility nodes is here.  It currently orders them geometrically (upper left to lower right), but we don't want that (it doesn't respect directionality, or the custom ordering API in the framework).
In addition, it orders them only on the basis of ordering the children of each node, and not globally: the custom ordering is completely orthogonal to the widget hierarchy, and could order any semantics node after any other.
I think that an approach similar to the one given in stackoverflow here is a possible solution, but I don't know enough iOS development to know for sure.
This is part of implementing #12187

It seems like what you might want to do is to implement a top-level view that handles:
-(BOOL)isAccessibilityElement
-(NSInteger)accessibilityElementCount
-(id)accessibilityElementAtIndex:(NSInteger)index
-(NSInteger)indexOfAccessibilityElement:(id)element
-(void)didAddSubview:(UIView *)subview
-(void)willRemoveSubview:(UIView *)subview

And when it adds a subview, it traverses all of the subviews, not just the immediate children, and order them by their nextNodeId.  You'd have to disable this API in the subviews, however, and I'm not sure if we'd get the right behavior then (or exactly how to do that).
And I may just be speaking gibberish. :-)

@yjbanov I assigned this to you based on rumours that you wanted to fix this.

Sounds good, but heads up. I'm on vacation starting this Friday. Back Feb 27.


replace function python tutorial

Populate common-built-in-functions/replace.py with a tutorial and challenge.

Can I work on this?

sure @FaMoSi

@funbeedev The PR is #51.
Let me know if everything is ok by merging it or adding the label "hacktoberfest-accepted" to the PR :)
Thank you!

Hey,  I would like to contribute to it too

Hey, I would like to contribute to it too

Hi there, check out the issues section and look for issues not already assigned to someone else. Then request to be assigned :)


short codes for larger areas?

Low priority.

I'm new, probably missing something, but maybe it would be nice to be able to link to or describe the greater Boston area with something like?:
https://plus.codes/87JC+
Or the North Shore with like
https://plus.codes/87JF+
See: https://github.com/google/open-location-code/wiki/Guidance-for-shortening-codes

@drinckes WDYT about the ability for the libraries to parse codes with <8 digits? I believe they will fail the isValid check right now if they don't have the "+" separator.

@petjal This is possible, but there need to be eight characters in front of the plus sign. For a bigger area you can use zeroes to fill up: https://plus.codes/87JC0000+

Exactly what I was looking for!  Thanks!

Nice!


Support for UUID key column

Currently only working for MySQL, but I'm posting it for comments about my approach and choices.
Next steps would be to -

Add more tests. Maybe into test_database_types

Support more databases and column types.

@sirupsen This PR is ready. I added a few more changes, but nothing too surprising.
Still, thought I'd give you a chance to review it.


Could not compile rustc-serialize

aborting due to 2 previous errors
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
   Compiling rustc-serialize v0.3.24
   Compiling wasm-bindgen-macro-support v0.2.42
error[E0046]: not all trait items implemented, missing: `encode`
    --> /Users/huangwutao/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1358:1
     |
853  |     fn encode<S: Encoder>(&self, s: &mut S) -> Result<(), S::Error>;
     |     ---------------------------------------------------------------- `encode` from trait
...
1358 | impl Encodable for path::Path {
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `encode` in implementation

error[E0046]: not all trait items implemented, missing: `decode`
    --> /Users/huangwutao/.cargo/registry/src/github.com-1ecc6299db9ec823/rustc-serialize-0.3.24/src/serialize.rs:1382:1
     |
904  |     fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>;
     |     ----------------------------------------------------------- `decode` from trait
...
1382 | impl Decodable for path::PathBuf {
     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `decode` in implementation

error: aborting due to 2 previous errors

For more information about this error, try `rustc --explain E0046`.
error: Could not compile `rustc-serialize`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Error: Compiling your crate to WebAssembly failed
Caused by: failed to execute `cargo build`: exited with exit code: 101

my code
extern crate wasm_bindgen;
extern crate console_error_panic_hook;
extern crate libsm;

use wasm_bindgen::prelude::*;
use libsm::sm2::signature::{Pubkey, Seckey, Signature, SigCtx};

#[wasm_bindgen]
pub fn keyPair () -> String {
    let ctx = SigCtx::new();
    let (pk, sk) = ctx.new_keypair();
    let pk_raw = ctx.serialize_pubkey(&pk, true);
    hex::encode(&pk_raw)
}

Thanks for the report but the rustc-serialize crate does not support WebAssembly, and there's unfortunately not a ton we can do about that form wasm_bindgen. I'd recommend contacting upstream authors and asking them to drop rustc-serialize support


Figure out exactly what happens during Vio short-circuit to GND

On revA the fuse blows immediately. Need to check if the current limiting works as designed (probably not since the fuse blows. lol.) and decide what to do about it.

I put a hard short on one VIO port and did not pop the fuse. I measured a peak of 350 mA and 280 mA steady state (without the short and with the I/O toggling at 15 MHz I was seeing 77 mA). I put a hard short on the other port as well and managed to pop it. That suggests to me that we're close to being able to tolerate two full shorts on the I/O banks, and that dropping down to 100 mA LDOs would probably put us into safe territory. It also becomes sort of a question as to whether we need the USB IC at that point... But then you had your issue earlier so I'm not totally sure what's going on.
Thoughts? Can you replicate your one-port fuse popping?

With both shorts in place I nearly popped the 600 mA fuse on my ammeter - it looked like 580 mA with both LDOs in current limit.
With one short in place I got up to 350 mA and then it looked like the LDO was going into a thermal shutdown loop. So I think the full-short current is pretty much 350 mA. But again, I was only able to get 77 mA from the pins toggling at 15 MHz, so it looks like the LDO is actually limiting much higher than 150 mA.

 The current limit for the TPS731 is min 150, typ 360, max 500 mA. No wonder it's not protecting us.
I was going to suggest the LP2980-ADJ, which is a 50 mA output LDO, and whose current limit is "typical" 150 mA. That would put us into safe territory. I'd be worried about starving the shifters but it looks like we can't feed them any faster than like 30 MHz, so we should be safe.

Thoughts? Can you replicate your one-port fuse popping?

I, uh, don't have any fuses left.

I'd be worried about starving the shifters but it looks like we can't feed them any faster than like 30 MHz, so we should be safe.

Hm, I wouldn't put 50 MHz out of question with async FIFOs.

Yeah, the dropout's not ideal. The alternative is to rely on the USB protection IC. The bummer with that is that it will probably brown out the FX2 and cause the device to flap on the user's PC. The LDO will stop this further downstream.

I think a brownout is OK.

Since a brownout seems OK (and even beneficial in some ways, as you get a pretty visible indication of something going wrong!) I'm closing this as a duplicate of #34.


Web3Torrent Restart Fixing

closes #1448
The button now it's shown.
A bug remains when re-starting the download:
Channel doesn't exist with channelId A CHANNEL ID HERE
I think we need to do some sort of clean up left, to make this work.

the apparent reason for the E2E tests failing

(although I don't think that the seed download test it's supposed to cancel the seeding)


The bike-rentals-auto-ml image has 1.6 GiB

Unlike the tensorflow-housing image that has 120.6 MiB (at https://quay.io/repository/rhoai-edge/tensorflow-housing?tab=tags&tag=latest, and also reproduced in my setup), the bike-rentals-auto-ml reported size is 1.6 GiB, at https://quay.io/repository/rhoai-edge/bike-rentals-auto-ml?tab=tags and again in my setup -- see https://github.com/opendatahub-io/ai-edge/issues/93#issuecomment-1730827828 and https://github.com/opendatahub-io/ai-edge/issues/93#issuecomment-1730835827.
Assuming both just ship a runtime without bundling the AI model, there seems to be some serious bloat in bike-rentals-auto-ml.
The pipelines/README.md should likely explain why those container images differ by an order of magnitude in size, what is so special about the second one that it warrants the extra bits.

Assuming both just ship a runtime without bundling the AI model, there seems to be some serious bloat in bike-rentals-auto-ml.

Can you elaborate? Both include the serving runtime and model.
The serving runtime image alone for bike-rentals is almost 900MB compressed: seldonio/mlserver:1.3.5-slim. It is large, but supports a wide range of models: https://github.com/SeldonIO/MLServer#inference-runtimes
https://github.com/opendatahub-io/ai-edge/blob/d2972aba80644e750a28595524e20f86943f3912/pipelines/containerfiles/Containerfile.seldonio.mlserver.mlflow#L28-L30
The bike-rentals image also contains all of the dependencies for the model:
https://github.com/opendatahub-io/ai-edge/blob/d2972aba80644e750a28595524e20f86943f3912/pipelines/containerfiles/Containerfile.seldonio.mlserver.mlflow#L16-L30
See #27 for seldonio/mlserver vs openvino/mlserver.

Our discussions typically revolved around the model being huge. In this case though, the model is small (54 MB) and the runtime is huge.
I wonder if we are able to demonstrate the behaviour with a runtime that might not be so generic but whose size would be more palatable.


Fix broken links in IS 7.0.0 Docs

Describe the issue:
Identity and fix any broken links in IS 7.0.0 Docs.

PRs:

https://github.com/wso2/docs-is/pull/4225
https://github.com/wso2/docs-is/pull/4224
https://github.com/wso2/docs-is/pull/4225
https://github.com/wso2/docs-is/pull/4223
https://github.com/wso2/docs-is/pull/4216
https://github.com/wso2/docs-is/pull/4186
https://github.com/wso2/docs-is/pull/4010

PRs:

https://github.com/wso2/docs-is/pull/4199
https://github.com/wso2/docs-is/pull/4213


Refactor shard_args ShardedDeviceArray slow path.

@mattjj does this look reasonable to you? Once ShardedDeviceArrays can be sharded in arbitrary ways, this slow path may get even slower and more complex. I'd like to simplify the code by breaking it out here. This presumably adds some overhead, but I figure we mostly care about the case where the input is already correctly sharded.


Add retries to resources

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request.
Please do not leave +1 or me too comments, they generate extra noise for issue followers and do not help prioritize the request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Terraform Version
Terraform version – 1.7.5
Prefect provider version – 0.1.2
Affected Resource(s)

prefect_*

Terraform Configuration Files

terraform {
  required_providers {
    prefect = {
      source = "prefecthq/prefect"
    }
  }
}

provider "prefect" {
  account_id = var.prefect_account_id
  api_key    = data.aws_secretsmanager_secret_version.api_token.secret_string
}

resource "prefect_workspace" "this" {
 name  = var.name
  handle = lower(var.name)
}

Expected Behavior

In the event of failure to create by 429 or 5XX errors, add retries to bring resiliency across the board.
Actual Behavior

In this example a 503 was returned when attempting to create multiple workspaces at once
Steps to Reproduce

terraform apply

Important Factoids
Discussed adding https://github.com/hashicorp/go-retryablehttp

I have a plus one on this ticket from customer.

Received another report of this happening for prefect_variable resources.

We recently added retries for prefect_workspace resources in https://github.com/PrefectHQ/terraform-provider-prefect/pull/242. We can look into doing this for variables as well.

Workspaces and variables seem to be the two resources where this popped up the most. For now, rather than adding retries to all resources, let's stick with what we've added so far. If anyone notices similar problems on other resources, please leave a comment here and we'll reopen to investigate.

Hey!
We are seeing the same issue with a couple of other resources:
resource prefect_work_pool
│   on modules/prefect_work_pool_ecs/prefect_work_pool.tf line 99, in resource "prefect_work_pool" "project_work_pool":
│   99: resource "prefect_work_pool" "project_work_pool" {
│
│ Could not get Work Pool, unexpected error: status code 503 Service
│ Unavailable, error=
╵

Error: Process completed with exit code 1.

data prefect_workspace_role
│   on modules/prefect/main.tf line 12, in data "prefect_workspace_role" "developer":
│   12: data "prefect_workspace_role" "developer" {
│
│ Could not list Workspace Role, unexpected error: status code 503 Service
│ Unavailable, error=upstream connect error or disconnect/reset before
│ headers. reset reason: connection termination
╵
Error: Process completed with exit code 1.

These fail every once in a while.
It would be quite nice if all resource/datasource had retries, as it seems to be possible to get this issue for most resources/datasources.

Thanks for the feedback! I'll reopen this one.

I have another one for:
│    5: resource "prefect_service_account" "bot" {
│

Appreciate!

We have a new one:
│    8: resource "prefect_workspace_access" "bot_developer" {
│
│ Could not read Workspace Access, unexpected error: status code 503 Service
│ Unavailable, error=upstream connect error or disconnect/reset before
│ headers. reset reason: connection termination

We've released v2.4.0, which includes a change that will now retry HTTP requests under the hood in specific scenarios. This applies to all resources and data sources.
We have pretty fine-grained control of when to retry and when not to, so please reach out and open an issue if there are any specific cases we can address.
Thanks everyone for the reports and feedback 🤝


2.1.8 does not show on packagist.org

Having "snc/redis-bundle": "^2.1" in my composer.json, I can't update to version 2.1.8 with composer update (it remains on 2.1.7)

Uh that's weird. @B-Galati and I do not have permissions to review the settings on GitHub nor Packagist so I'll have to call in others here. @snc or @Seldaek have any idea why this release wasn't picked up yet after 2 days?

@DamienHarper Thanks a lot for reporting this!
Could be related to https://twitter.com/packagist/status/1037035587453235201

That would be for @snc to investigate.

Have been having issues with the whole phpredis and lazy loading issue and 2.1.8 release addresses these. For anyone else wanting this version, you can add an entry into composer.json:
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/snc/SncRedisBundle"
     }
]

And then composer require snc/redis-bundle "^2.1.8"

@curry684 seems the package is set to autoupdate correctly - maybe @snc did it in the meantime - and the 2.1.8 is available.

@Seldaek Yes he did! Thank you all!


❓ [Question] how to enable "torch fallback"

❓ Question
I was told that torch-trt was able to partially convert graph to tensorrt while keep the unsupported part running on torch-runtime.
And I also hava Found some 'Torch Fallback' or 'torch_fallback' str at the source code.
So I generate a module containing torch.argmax , which is not supported by torch-tensorrt. And give it a shot, but it failed.
I hava two question:

Is the fallback feature really supported by torch-tensorrt or is going to be supported?
If allready supported, is there any sample showing how to use it.

What you have already tried
take a look at this script:
import torch
import torch_tensorrt
import numpy as np
from torchvision import models

class MyModel(torch.nn.Module):

    def __init__(self):
        super(MyModel, self).__init__()
        models_dict = {
            "resnet50_v2": models.resnet50,
            "resnet101_v2": models.resnet101,
            "resnet152_v2": models.resnet152,
            "mobilenet_v2": models.mobilenet_v2,
            "shufflenet_v2": models.shufflenet_v2_x1_0,
            "densenet169": models.densenet169
        }

        self.model = models_dict['resnet50_v2'](pretrained=False)

    def forward(self, x):
        x = self.model(x)
        return torch.argmax(x, -1)

def main():
    model = MyModel().eval().cuda()  #.cuda()
    x = torch.from_numpy(np.random.randn(1,3,224,224).astype(np.float32)).cuda()
    scripted_model = torch.jit.script(model)

    compile_settings = {
        "inputs": [x],
        "enabled_precisions": {torch.float},
        "torch_fallback":  { # also tryied with Torch Fallback
            "enabled": True
            "min_block_size": 1
            "forced_fallback_operators": [
            ]
            "forced_fallback_modules": [
            ]
        }
    }
    trt_ts_module = torch_tensorrt.ts.compile(scripted_model, **compile_settings)
    print(trt_ts_module)

    torch_tensorrt_out = trt_ts_module(x)
    print('torch_tensorrt_out shape: \n', torch_tensorrt_out.shape, print(torch_tensorrt_out))

    pytorch_out = model(x)
    print('pytorch out shape: \n', pytorch_out.shape, pytorch_out)

# torch._C._jit_to_backend is buggy, spec will be transformed into wrong json structure.
def main2():
    model = MyModel().eval().cuda()  #.cuda()
    x = torch.from_numpy(np.random.randn(1,3,224,224).astype(np.float32))
    scripted_model = torch.jit.script(model)

    spec = {
    "forward":
        torch_tensorrt.ts.TensorRTCompileSpec({
            "inputs": [torch_tensorrt.Input([1, 3, 224, 224], dtype=torch.float)],
            "enabled_precisions": {torch.float},
            "refit": False,
            "debug": False,
            "device": {
                "device_type": torch_tensorrt.DeviceType.GPU,
                "gpu_id": 0,
                "dla_core": 0,
                "allow_gpu_fallback": True
            },
            "capability": torch_tensorrt.EngineCapability.default,
            "num_min_timing_iters": 2,
            "num_avg_timing_iters": 1,
        })
    }

    trt_ts_module = torch._C._jit_to_backend("tensorrt", script_model, spec)
    print(trt_ts_module)

    torch_tensorrt_out = trt_ts_module(x)
    print('torch_tensorrt_out shape: \n', torch_tensorrt_out.shape, print(torch_tensorrt_out))

    pytorch_out = model(x)
    print('pytorch out shape: \n', pytorch_out.shape, pytorch_out)

if __name__ == "__main__":
    main()

get output:
Traceback (most recent call last):
  File "./torch_trt_custom.py", line 86, in <module>
    main()
  File "./torch_trt_custom.py", line 42, in main
    trt_ts_module = torch_tensorrt.ts.compile(scripted_model, **compile_settings)
TypeError: compile() got an unexpected keyword argument 'torch_fallback'

Environment
ngc pytorch 22.02
Additional context

closing this issue for having found some mistakes.


link papers when creating new profile from BAI

Legacy had profiles (with BAI) with no associated records. There exist in the system as Literature records with a BAI but no linked record. Users/curators can create new author profiles for those, but upon creation the existing signatures in Literature records with that BAI don't get linked to the newly created author profile. We should fix that and automatically add the author record ref to the Literature record.

TECH NOTES

Create a function that will take as an argument an author record. It should query db for all the papers where this author exists (by using his BAI). For every paper in the result set, assign the reference to this author.
On author create call the new function.


BigQuery job for joining source tables

Create a BigQuery job that joins source tables on county and stores the resulting table.

Trying an initial swag at some of the files. Right now it's a snapshot upload of the CDC provisional deaths file, and the urgent care facility data.
https://github.com/SatcherInstitute/prototype/blob/sql-builds/sql/pdccr.sql

Data Notes:

urgent_care_facilities: Unable to find a data dictionary, not sure what the X and Y columns in the downloaded CSV are, as they don’t seem to correlate to anything on the data exploration section on the source webpage. X_26 and Y_27 are the proper lat/long coordinates.

Unable to find the raw data for https://www.countyhealthrankings.org/explore-health-rankings/measures-data-sources/county-health-rankings-model/health-factors/clinical-care/access-to-care/primary-care-physicians


Update 3rd Episode of Golden Path

Also remove calendar: true from past episodes.

@danielramirez0 ready for review + merge


[ADD] feat(submission-section): Modification request in submission form.

Added a new section to display potential modification request in the submission form.
This section is only shown when a change request is active for the submission.

Preview of the frontend result