[FEAT] Blog Post Listing Endpoint - Backend

Description
Develop an endpoint to handle requests to fetch and return all blog post data. If the data is fetched successfully, it will be returned to the client with a 200 OK status. If an error occurs, an appropriate error status will be returned.
Acceptance Criteria

The endpoint fetches and returns blog post data including title, excerpt, publish date, and author.
Supports pagination through query parameters page and page_size.
Returns a 200 OK status code and the correct response body when data is fetched successfully.
Returns an appropriate error message when an error occurs.
Filters out soft-deleted blog posts for users.
The endpoint does not require authentication.
Fetches blog post data ordered by the created date in descending order.

Requirements

[ ] Implement API endpoint for fetching paginated blog post summaries.
[ ] Fetch and return blog post data including: Title, Excerpt, Publish Date, Author.
[ ] Implement pagination with query parameters page and page_size.
[ ] Handle unexpected errors and return the appropriate status code.
[ ] Ensure soft-deleted blog posts are not returned for users.
[ ] Ensure the endpoint does not require authentication.
[ ] Order blog post data by the created date in descending order.

Expected Outcome

Visitors should be able to send a request to the backend to retrieve a paginated list of all blog post summaries.
Visitors should receive appropriate status codes and responses based on the outcome of the request.
Blog posts should be retrieved and returned in order of most recently created first.

Endpoints
[GET] /api/v1/blogs

Description: Fetches a paginated list of blog post summaries.

Query Parameters:

page: The page number to retrieve. Default is 1.
page_size: The number of blog posts per page. Default is 10.

Success Response:

Status: 200 OK

Body:
{
  "count": 100,
  "next": "http://example.com/api/v1/blogs?page=2&page_size=10",
  "previous": null,
  "results": [
    {
      "id": "uuid",
      "title": "My First Blog",
      "excerpt": "This is an excerpt from my first blog.",
      "image_url": "https://example.com/image1.jpg",
      "tags": [
        "python",
        "coding"
      ],
      "created_at": "datetime"
    },
  ]
}

Error Response:

Status: 500 Internal Server Error

Body:
{
    "error": "Internal server error."
}

Invalid Method Response:

Status: 405 Method Not Allowed

Body:
{
    "error": "This method is not allowed."
}

Bad Request Response:

Status: 400 Bad Request

Body:
{
    "error": "An invalid request was sent."
}

Testing
Test Scenarios

Successful Retrieval of Paginated Blog Posts

Ensure that the endpoint successfully retrieves a paginated list of blog posts.
Verify that the response includes the total count, next and previous page URLs, and the results with title, excerpt, publish date, and author for each blog post.
Confirm that the status code is 200 OK.
Confirm that the blog posts are ordered by the created date in descending order.

No Blog Posts Present

Simulate a scenario where no blog posts are present in the database.
Confirm that the response body contains an empty list.

Internal Server Error

Simulate an internal server error to raise an exception.
Verify that the endpoint returns a 500 Internal Server Error status code.
Confirm that the response body contains an appropriate error message.

Invalid Page or Page Size Parameters

Send requests with invalid page or page_size parameters (e.g., negative numbers, non-integer values).
Verify that the endpoint returns a 400 Bad Request status code and an appropriate error message.

Invalid Method

Send a request using an invalid HTTP method (e.g., POST) to the endpoint.
Verify that the endpoint returns a 405 Method Not Allowed status code.

Soft-Deleted Blog Post Access Control

Ensure that soft-deleted blog posts are filtered out for users.

Issue reassigned to someone else.

Very sad.


Build fails with newly created environment

Ran into this because I didn't keep the website build environment around and re-created it: https://github.com/getpelican/pelican-plugins/issues/928

That's been fixed I believe and everything should work with the fresh instructions in the current readme.


update code completion tests to account for the new ranking algorithm

update code completion tests to account for the new ranking algorithm

Some unit tests re-written to use async rather than futures, for easier debugging,
@domesticmouse @johnpryan

@domesticmouse the CI failure looks unrelated: Failed to precompile protoc_plugin:protoc_plugin:

@domesticmouse the CI failure looks unrelated: Failed to precompile protoc_plugin:protoc_plugin:

The most recent publish of package:analyzer depends on a not-yet-published file in package:meta; we're looking at the breakage.

Restarting the build...


cluster.discoverConnection now uses ConnectionWatcher on the client a…

…s well as the server. Added a server side method to pick endpoint from client, which is used by ConnectionWatcher when not on the server.
Addresses #27

All tests pass when run locally.

I'm not sure the best practices for doing adding a Meteor.Method to a package. If you have a better way let me know.

This works locally but running into some issues when deployed.
On my production environment, pickEndpoint returns an IP Address instead of a domain name. The IP address is http, not https.
Guessing this has something to do with balancer, and selecting the balancer URL instead of the endpoint when available.

@arunoda Please advise on usage of balancer in this situation.
I'm concerned with the scenario where a balancer is not provided for the endpoint, as then it would return the IP Address?

ConnectionWatcher is server side only. It wraps a DDP connection. Once disconnected, it'll try to connect to a different service instance.
I'll response #27 regarding the issue.


[Backoffice] Use Record Elements directly in collections

Collections classes such as CentralServicesList use strings as keys instead of directly using the internal datatypes. With equality operators and GetHashCode implemented in #10, they can be used directly.

Correction: This will require the types to implement the IEquatable<T> interface


Add RUNTIME_DISTRIBUTION argument to Dockerfile

Add the RUNTIME_DISTRIBUTION argument to Dockerfile, so we have an option to choose which ruby runtime binary distribution repository to use. This also gives us a way to test any staging runtime binaries in GAE Flex workflow.

@dazuma please review


apple music

Suggested Widget Name
Apple music
Desired functionality
It would do what the spotify widget does but for apple music
Additional context
Add any other context or information about the widget request here. Maybe even some design mockups, pseudo-code, or resources to APIs and things I would need to put it together and get it functional.

Duplicate of #28


82% coverage;

Codecov Report
Patch coverage: 100.00% and project coverage change: +12.30 :tada:

Comparison is base (ec0a3b7) 63.79% compared to head (f602c82) 76.09%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##           stable      #27       +/-   ##
===========================================
+ Coverage   63.79%   76.09%   +12.30%
===========================================
  Files           7        7
  Lines         569      569
===========================================
+ Hits          363      433       +70
+ Misses        206      136       -70

Flag
Coverage Δ

unittests
∅ <ø> (∅)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/courier.py
78.68% <100.00%> (+38.25%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Code changes needed to update to drf-spectacular latest version

Environment

Nautobot version (Docker tag too if applicable): 2.2.0

Steps to Reproduce

poetry add --extras sidecar drf-spectacular~0.27.2
Build container
invoke check-schema

Expected Behavior
Schema generation to pass without errors

Observed Behavior
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type6adEnum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type09dEnum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "TypeF53Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type7b8Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "type". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Type459Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "mode". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Mode308Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.
Warning: enum naming encountered a non-optimally resolvable collision for fields named "mode". The same name has been used for multiple choice sets in multiple components. The collision was resolved with "Mode791Enum". add an entry to ENUM_NAME_OVERRIDES to fix the naming.

Schema generation summary:
Warnings: 7 (7 unique)
Errors:   0 (0 unique)

SchemaGenerationError: Failing as requested due to warnings

This appears to be due to additional validation logic added by https://github.com/tfranzel/drf-spectacular/pull/1113

Once this is done, ensure the dependency is actually updated.


Can't find any server when I started the server

Describe the bug
When I run 'CodeChecker server',It worked and log has no error.The web can be accessed.
But I can't find anything when I run 'CodeChecker server --list',it found nothing.
I think the reason should be my environment.But is there any way to find out how to resolve it.
I have tried re-install it but nothing changed.
CodeChecker version
Base package version | 6.22.2
Package build date   | 2023-07-13T15:52
Git commit ID (hash) | a3d35cfd509b995187288cd8631446415a334257
Git tag information  | 6.22.2
CodeChecker web version:
Base package version                | 6.22.2
Package build date                  | 2023-07-13T15:52
Git commit ID (hash)                | a3d35cfd509b995187288cd8631446415a334257
Git tag information                 | 6.22.2
Server supported Thrift API version | 6.53
Client Thrift API version           | 6.53
To Reproduce
Steps to reproduce the behaviour:

Run command 'CodeChecker server'
Start another theminal and run 'CodeChecker server --list'
It can't find anything

Expected behaviour
It should list something.
Desktop (please complete the following information)

OS: linux
Browser: firefox
Version: 6.22.2

Additional context
Here is the log of 'CodeChecker server' and 'CodeChecker server --list'
https://pastebin.com/xJuQ1vcS
https://pastebin.com/spTYsjMn

Hi,
According to the second logs the server is not running when CodeChecker server --list and CodeChecker cmd products list -o json are executed. They both print the server is probably not running.
I can't reproduce the issue, for me these commands are working properly.
Are you using CodeChecker natively or in some separate environment, like docker? Can you open CodeChecker GUI in the browser while the server is running? If the GUI works then CLI should work too.

I'm using CodeChecker natively on my development server.
The server cannot connect to the Internet.Could that be the reason?
Browser GUI is able to work.I can see the 'default' project in the browser with url:'localhost:8001' and the server will print log but I can't find it in cli.
When I try to start another default server,It said 8001 is already used.I can see it is occupied by python.

In addition to this, there are some strange things, I can‘t use 'CodeChecker server --stop' to shut down the server, or is this also because CodeChecker server can not search for the running server?

Hi,
I have checked the source code and I have found why I can't use --list and --stop,but I still not found how to use cmd and store.
When I started a server,the file '.codechecker.instances.json' generated successfully like this
[   {     "pid": 3835729,     "hostname": "sha-isbu-ed15n",     "workspace": "/users/yifanlin/.codechecker",     "port": 8001   } ]
But with these code in the source:
def __check_instance(hostname, pid):
    if hostname != socket.gethostname():
        return True
    try:
        proc = psutil.Process(pid)
        cli = os.path.join("codechecker_common", "cli.py")
        return cli in proc.cmdline()[1] and \
            proc.username() == getpass.getuser()
    except psutil.NoSuchProcess:
        return False

my result of proc.cmdline()[1] is
>>> psutil.Process(3868841)
psutil.Process(pid=3868841, name='CodeChecker', status='sleeping', started='17:38:09')
>>> proc = psutil.Process(3868841)
>>> cli = os.path.join("codechecker_common", "cli.py")
>>> cli in proc.cmdline()[1]
False
>>> proc.cmdline()[1]
'/users/yifanlin/.local/bin/CodeChecker'
>>>

I think that's the reason why the server can't found by '--list'.I tried to use
python ./.local/lib/python3.9/site-packages/codechecker_common/cli.py
to start server.I can find the server with 'CodeChecker server --list' but I still can not use 'CodeChecker store' or any other cmd.
I haven't check the whole code about session file. I found that when I opened a server, file '.codechecker.session.json' still only contain these:{"tokens": {}}
Should there something in the tokens after I started a server?
Thank you for your support.

These symptoms sound very strange to me. If the browser can reach the CodeChecker server in the GUI then it should work in the CLI too, because it uses the same API. I'm thinking of some proxy issue, because I experienced differences when the browser uses a proxy server. In CLI we don't use proxy. But in your case the server is executed on localhost, so this should work properly.
What does this command do in terminal?
curl localhost:8001
Is this presenting some HTML code which tells that JavaScript is not enabled in this environment?

this is what displayed when I run the command
curl localhost:8001
I don't know anything about JavaScript but it looks like doesn't worked?
https://pastebin.com/S4gmxJaE

Hi,
Thank you for your hint about proxy, I finally found that my terminal have http_proxy so I can't access to my localhost 😠 (I'm Chinese, it's hard to do many things if you don't set proxy😄). After some change with my proxy configuration. The web server finally be usable.
But, about the cmd '--list' and '--stop', it still cannot work when I use cmd 'CodeChecker server' to start server.
This is because my result of return cli in proc.cmdline()[1] is false.I don't understand the function of this judgment.
This is confusing and I think it can be easily repaired.Maybe it could be a valid issue?
You can close this issue after evaluate it.
Finally, thank you for your support again.

Hi,
Thank you for the valuable information about the proxy settings, we'll remember it for the future if the same symptoms occur again.
That source line consists of two conditions:
return cli in proc.cmdline()[1] and \
    proc.username() == getpass.getuser()

Could you, please, print the value of proc.cmdline() and the two other usernames? Note that this condition returns "true" only if the user who started the server and the user who runs CodeChecker server --list command are the same.
Thank you!

These are my result:
>>> import psutil
>>> import os
>>> proc = psutil.Process(36143)
>>> proc.cmdline()[1]
'/users/yifanlin/.local/bin/CodeChecker'
>>> proc.username()
'yifanlin'
>>> import getpass
>>> getpass.getuser()
'yifanlin'

I can't pass
cli = os.path.join("codechecker_common", "cli.py")
cli in proc.cmdline()[1]

there is no 'codechecker_common/cli.py' in the proc.cmdline()[1]  if I start the server by command 'CodeChecker server'.I use pip to install CodeChecker with --user. Could that be the reason.

I can reproduce the issue, so I can confirm that this is a bug. This should be fixed. Until then you can simply stop the server with a Ctrl-C as a workaround.


[Breaking change]: Type.GetType throws TypeLoadException

Old behavior
Type.GetType(string) throws TypeLoadException for most types with invalid element type, except a few corner cases such as byref-of-byref.
New behavior
Type.GetType throws TypeLoadException for all types with invalid element type, including byref-of-byref.
Example:

Type.GetType("System.Object&&") - returns null in .NET 7, throws TypeLoadException in .NET 8
Type.GetType("System.TypedReference[]") - throws TypeLoadException in all .NET versions

Introduced by https://github.com/dotnet/runtime/pull/83484.

More context: https://github.com/dotnet/runtime/issues/98426


Export from steep

Steep has definitions for the parser, https://github.com/soutaro/steep/tree/55c58d0f8aa1fc65a8add95a5fde43f6b4375164/sig/shims
but they conflict with those in gem_rbs_collection, so only one can be used.
I believe the best approach for the community is to support and develop the ones in gem_rbs_collection.
Here are the steps I propose:

Stop distributing the sig directory from Steep.
Merge the parser definitions from Steep into gem_rbs_collection.

@soutaro @pocke
How about you all?

BTW I checked the contributors of the RBS files for the parser gems. There is no contributor other than Soutaro-san. So we do not need to be concerned about the license (if Soutaro-san approves it of course).
https://github.com/soutaro/steep/commits/master/sig/shims/parser

I didn't have an idea to export the interfaces. They are opinionated, unfinished, and not used in fact recently...
Totally 👍 for other parts.


Update CREATE FUZZY SEARCH INDEX statement

*** REMOVED by org owner. ***

Thanks, this will be updated in the next refresh of the documentation.


Slurm6. Replace vars disable_X -> enable_X

Looks like some files are needed to be updated.

After tests pass, gtg from my side.


For renamer, space(\u0020) is not an vaild name when used as first char in fullname of type or name of nested type

For the below code, will get TypeLoadException after rename Z0 to  Z0 or Z3 to  Z3, Z0  works well, and  Z2 will get Z2 in runtime.
Seems dotnet runtime just trim the lead space in fullname of type and name of nested type when read it from string, and the same logic as dnlib does. Maybe renamer should consider this and follow the same logic to avoid crash.

See the result of Type.GetType("    System.Collections.Generic.Dictionary2+    Enumerator"), it will get the same result as Type.GetType("System.Collections.Generic.Dictionary2+Enumerator")

    class Program
    {
        [Z2(Z = typeof(Z0), Z1 = Z3.A, Z3 = Z3.A)]
        public class Z0
        {
        }
        public enum Z3
        {
            A = 1
        }

        [Z2(Z = typeof(Z2))]
        public class Z2 : Attribute
        {
            public Type Z { get; set; }
            public object Z1 { get; set; }
            public Z3 Z3 { get; set; }
        }
        static void Main(string[] args)
        {
            Console.WriteLine(typeof(Z0).GetCustomAttribute<Z2>().Z);
            Console.WriteLine(typeof(Z2).GetCustomAttribute<Z2>().Z);
        }
    }

Could you please prepare a unit-test for such a case (see my example? Ideally, minimal reproducible sample.

I do the test again and again manually  with ConfuserEX or edit assembly with dnSpy to verify this, since Renamer use random names every time, and not always hit the issue.
Maybe I can try to find an fixed magic seed to do that.
The fullname of output type needed to be one of <space>Namespace.Type*(space at begin of namespace) or <space>Type*(with empty namespace and space at begin of typename) or *Type+<space>NestedType*(space at begin of nested type name) to hit the issue.

Well that is a very specific issue. The space as first character is legal for msil types, but types with names like this do not work anymore when using the Type.GetType(string) method to load the specific type.
In general I strongly recommend not using the unicode renaming mode on types that are meant to be used by reflection. It may work with it, but in general that is considered plain luck.
The Letters renaming mode is the first one that is safe for reflection. The more complex modes may add characters that are "special" into name name of the members. Such as +-signs or square brackets. Those will mess with the detection of nested types and generic types.
This is also the reason why all types that are referenced by WPF are limited to this renaming mode. WPF relies heavily on reflection and there are all sorts of problems when using more complex renaming modes.

@mkaring
Yes, but seems this will also broken async stackTrace for netcoreapp >= 3.0. Because the stackTrace now use typeinfo inside [AsyncStateMachineAttribute(stateMachineType: typeof(<M>d__0))]see code here internal in [StackTrace.ToString()] (https://github.com/dotnet/runtime/blob/71283319d0bf0f8c9132e117419fc2294342b510/src/libraries/System.Private.CoreLib/src/System/Diagnostics/StackTrace.cs#L395) to hide all async internal method from output, and which is failed to load after rename.

Does this only break the display of the stack trace or does it cause a crash?


Fix jumping in water and mid-air

When walking off a cliff, the player can press spacebar to jump mid-air. This shouldn't happen when their numberOfJumpsMax is set to 1 (one ground jump, no air jumps).
To fix this behavior, numberOfJumpsLeft is decreased when player's isGrounded() state is changed from grounded to not grounded.
As a side effect, this fixes the problem mentioned in PR #3269 (issue #3267), where the player was able to jump in water when he fell or walked into it.
How to test
Mid-air bug:

Build a tower 4-6 blocks high.
Walk off the top.
While falling, try to jump.

Water bug:

Walk or fall into water (without jumping).
While in water, try to jump.

Can one of the admins please verify this patch?


: The Dialog element

Prerequisites

[X] I have searched for duplicate or closed feature requests
[X] I have read the contributing guidelines

Proposal
Implement native <dialog> element in Bootstrap for enhanced accessibility and usability.
Proposal to Implement Native <dialog> Element in Bootstrap
MDN - The dialog element
Introduction
The native HTML <dialog> element has recently gained full browser support. It offers built-in accessibility and usability features, making it an ideal choice for modal dialogs. This proposal suggests that Bootstrap should adopt the <dialog> element to enhance its dialog components.
Benefits

Accessibility: Implicit aria-modal="true" for modal dialogs.
Usability: Built-in .showModal() and .show() methods for rendering.
Standardization: Native HTML element, no need for custom implementations.

Example Code
<dialog id="myDialog">

Dialog content here

  <button id="closeBtn">Close</button>
</dialog>

Built-in Methods for <dialog>
.show()

Opens the dialog as a non-modal.

const dialog = document.getElementById("myDialog");
dialog.show();

.showModal()

Opens the dialog as a modal, making all other elements inert.

const dialog = document.getElementById("myDialog");
dialog.showModal();

.close([returnValue])

Closes the dialog and optionally sets a return value.

const dialog = document.getElementById("myDialog");
dialog.close("User clicked OK");

Conclusion
Incorporating these built-in methods will enhance Bootstrap's dialog components in terms of usability and accessibility.
Motivation and context
I love bootstrap and have used it for years. Anything I can do to make it smaller. =)

Thanks for this feature request @suchislife801
It's not easy to find in our tracker but there's already an issue for this one in https://github.com/twbs/bootstrap/issues/33804.
To avoid duplicates, could you please copy your detailed proposal as a comment in https://github.com/twbs/bootstrap/issues/33804 so we can study your suggestion when we start the implementation in v6?


Update GH actions to fix deprecation warning

https://github.com/chmp/serde_arrow/actions/runs/7684931164

Done in main


Keyboard overlay

What is the reason why the native keyboard will overwrite the emoji keyboard when clicking on the input box

设备:Harmony Mate60 PRo ROM<IP_ADDRESS>


mobile can't show

I input ip:8888 in mobile bowser, but only show "Loading..." in pages.

@bestjane were you able to look at the console and see what's the issue? Are you on Android or iPhone?

Going to close this for now, but if the issue still persist let me know and we can try to figure this out.


Style Transfer Backend Code

Corrected un-initalized code in the style transfer descriptors
Added a model_backend implementation for the Style Transfer network.
Tested weight initialization for the training and inference graph

WAHOO!!!!!!


Update Envoy config to comply with 1.18.3 api

This patch makes the following updates:

Use type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog in admin
Use type.googleapis.com/envoy.extensions.access_loggers.stream.v3.StdoutAccessLog in listeners
Use explicit http2 config

Signed-off-by: Sotiris Nanopoulos<EMAIL_ADDRESS>

Codecov Report

Merging #3393 (6dfd34f) into main (76c6843) will decrease coverage by 0.08%.
The diff coverage is 66.66%.

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

@@            Coverage Diff             @@
##             main    #3393      +/-   ##
==========================================
- Coverage   65.88%   65.80%   -0.09%
==========================================
  Files         169      169
  Lines        7839     7858      +19
==========================================
+ Hits         5165     5171       +6
- Misses       2644     2657      +13
  Partials       30       30

Flag
Coverage Δ

unittests
65.80% <66.66%> (-0.09%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/envoy/types.go
50.00% <ø> (ø)

pkg/envoy/xdsutil.go
89.24% <18.75%> (-6.73%)
:arrow_down:

pkg/envoy/cds/cluster.go
97.79% <100.00%> (-0.05%)
:arrow_down:

pkg/injector/envoy_config.go
95.20% <100.00%> (+0.42%)
:arrow_up:

pkg/injector/envoy_config_health_probes.go
95.71% <100.00%> (-0.07%)
:arrow_down:

Continue to review full report at Codecov.

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

@shashankram do you want to do another round of review


Params in "Params" is not updating when variables changes.

When using variables in the "Params" option and change the variable, the query doesn't change.
https://user-images.githubusercontent.com/39485579/112290812-df547c00-8c8f-11eb-9c18-00eb63027d2d.mp4
Param in "Path" panel

Param in "Params" panel

Some additional notes
There is no query string added to the datasource setup.
Docker and the API is in a docker container.

Grafana version: 7.4.3
Plugin version: 1.0.1

This is likely due to the cache. I can see that you've configured the cache to 5 minutes. Currently, the cache key is set to the URL + the path, but I'm considering adding the params to the cache key as well. It should work for you if you set the cache time to 0s.

That would be great.
P.S.
It does update when the cache is set to 0s.

#/ #

Hi, I have encountered two issues here. One is that modifying the cache time does not take effect, and the other is that when changing the variable value, Grafana does not reissue the query request.


🐛 Can't open a Flyout with a navigatorKey

I have a title bar like that:

This bar is outside the navigation and global to all page.
For this usage, I asked for https://github.com/bdlukaa/fluent_ui/issues/538 (thanks for that @bdlukaa)
After the upgrade of fluent_ui (from 4.1.5 to 4.4.1), I'm facing the following issue:
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: 'package:flutter/src/rendering/object.dart': Failed assertion: line 2961 pos 14: 'renderer.parent != null': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:51:61)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:40:5)
#2      RenderObject.getTransformTo (package:flutter/src/rendering/object.dart:2961:14)
#3      RenderBox.localToGlobal (package:flutter/src/rendering/box.dart:2661:39)
#4      FlyoutController.showFlyout (package:fluent_ui/src/controls/flyouts/flyout.dart:569:19)
#5      _ActionState.showMenu (package:dncui/src/controls/core/mw_window_caption.dart:190:16)

The problem is caused by this line (https://github.com/bdlukaa/fluent_ui/blob/master/lib/src/controls/flyouts/flyout.dart#L569 and line 572).
If I comment , ancestor: navigatorBox, that's work !

The code for open the flyout:
controller.showFlyout(
      navigatorKey: widget.action.navigationKey,
      builder: widget.action.flyoutBuilder!,
      position: position,
      placementMode: FlyoutPlacementMode.bottomRight,
      margin: 0,
      // additionalOffset: -kWindowCaptionHeight,
);

If ancestor is not provided, the position of the flyout is likely to be incorrect in a nested Navigator context (using go_router's ShellNavigator, for example)
From the documentation of the RenderBox.localToGlobal function:

If ancestor is non-null, this function converts the given point to the coordinate system of ancestor (which must be an ancestor of this render object) instead of to the global coordinate system.

This is what it looks like if the , ancestor: navigatorBox is commented in a nested Navigator context (It uses shellNavigatorKey from the example app):
Expected

Actual

On the other hand, if the Navigator is not a parent of the Flyout, this error will be thrown (as of renderer.parent != null). I'm not sure that removing the reference to the navigator box is the way to go.
Your code may need to be updated to support a global navigator context

Yeah, I tried to create a new Navigator on the new tree, but that's not what I want:

My tree:

The app bar is builded like that:
return FluentApp(
  ...
  builder: (context, child) {
    return CoreView(
      child: child ?? const Text('internal error'),
      ...
    );
  },
);

The appbar is constructed in the CoreView widget, and the content of the page is in the child variable. So, the Navigator is in child and my CoreView widget is not an ancestor of him.
Maybe we can add the possibility to pass a custom navigator ancestor (aka pass à null ancestor, otherwise we use the default navigator key..)

In fact, I found the problem.
You calculate the position with the ancestor like that:
    final targetBox = context.findRenderObject() as RenderBox;
    final targetSize = targetBox.size;
    final targetOffset =
        targetBox.localToGlobal(Offset.zero/*, ancestor: navigatorBox*/) +
            Offset(0, targetSize.height);
    final targetRect =
        targetBox.localToGlobal(Offset.zero/*, ancestor: navigatorBox*/) &
            targetSize;

But I give him the position manually, so the position is used like that:
targetOffset: position ?? targetOffset,

Si for resolve this problem, we simply must don't calculate the targetOffset if the position is gave.
If you are ok with that, I will make a PR.


Not getting response from matcher Api?

Hi,
For creating own matcher i use waves-testnet_1.0.2_all.deb file
Os : ubuntu 16
Config File :
`# Waves node settins
waves {
blockchain.type = TESTNET
P2P Network settings
network {
# Network address
bind-address = "<IP_ADDRESS>"
# Port number
port = 6863

# Node name to send during handshake. Comment this string out to set random node name.
node-name = "MyTESTNETnode123"

# String with IP address and port to send as external address during handshake. Could be set automatically if uPnP is enabled.
#declared-address = "<IP_ADDRESS>:6863"

black-list-residence-time = 30 minutes

}
Wallet settings
wallet {
# Password to protect wallet file
password = "1234567890"
# Wallet seed as BASE58 string
seed = XXXXXXXXXXXXXXXXXXXXXXXXXX

}
Blockchain settings
blockchain.type = TESTNET
Node's REST API settings
rest-api {
# Enable/disable node's REST API
enable = yes
# Network address to bind to
bind-address = "<IP_ADDRESS>"

# Port to listen to REST API requests
port = 6869

# Hash of API key string
api-key-hash = "H6nsiifwYKYEx6YzYD7woP1XCn72RVvx6tC1zjjLXqsu"

}
waves.extensions = [
"com.wavesplatform.dex.Matcher"
# ... here may be other extensions
]
waves.dex {
account = "3PMyQhACo9YFLXBrxFt74EEqS3ELQoM6H4k" # This account must be known at the Node, e.g. created through POST /addresses
bind-address = "<IP_ADDRESS>" # uncomment this line to accept connections from any host
}
Matcher settings
matcher {
# Enable/disable matcher
enable = yes
# Matcher's account address
account = "3PMyQhACo9YFLXBrxFt74EEqS3ELQoM6H4k"

# Matcher REST API bind address
bind-address = "<IP_ADDRESS>"

# Matcher REST API port
port = 6886

# Minimum allowed order fee
min-order-fee = 300000

# Fee of order match transaction
order-match-tx-fee = 300000

# Matcher's directories
matcher-directory = ${waves.directory}"/matcher"
data-directory = ${waves.matcher.matcher-directory}"/data"
journal-directory = ${waves.matcher.matcher-directory}"/journal"
snapshots-directory = ${waves.matcher.matcher-directory}"/snapshots"

# LevelDB's internal cache size
leveldb-cache-size = 256M

# Snapshots creation interval
snapshots-interval = 1d

# Invalid/Expired orders cleanup interval
order-cleanup-interval = 5m

# Maximum allowed amount of open orders
max-open-orders = 1000

# Maximum allowed amount of orders retrieved via REST
rest-order-limit = 100

# Maximum orders stored in OrderHistory per address
max-orders-per-address = 1000

# Base assets used as price assets
price-assets = [
 "WAVES",
 "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe",
 "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj",
 "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux",
 "6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8"

]
# Predefined ordering of base assets
predefined-pairs = [
 {amountAsset = "WAVES", priceAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe"},
 {amountAsset = "WAVES", priceAsset = "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj"},
 {amountAsset = "WAVES", priceAsset = "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux"},
 {amountAsset = "WAVES", priceAsset = "6pmDivReTLikwYqQtJTv6dTcE59knriaodB3AK8T9cF8"},
 {amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "2aSqCbvCTgvCpwkGsk4mea4tCLG4Zgp69aQDhHNvRUZv"},
 {amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "8zEZuJcKPQmFuYgVe5ZMpxgiPLu5zBhjA6xgdGomQDaP"},
 {amountAsset = "Fmg13HEHJHuZYbtJq8Da8wifJENq8uBxDuWoP9pVe2Qe", priceAsset = "D2MNuUyA38pSKoV7F7vpS15Uhw9nw5qfbrGUfCLRNuRo"},
 {amountAsset = "2xnE3EdpqXtFgCP156qt1AbyjpqdZ5jGjWo3CwTawcux", priceAsset = "HyFJ3rrq5m7FxdkWtQXkZrDat1F7LjVVGfpSkUuEXQHj"}

]
# Maximum difference with Matcher server time
max-timestamp-diff = 3h

# Blacklisted assets id
blacklisted-assets: []

# Blacklisted assets name
blacklisted-names: []

# Blacklisted addresses
blacklisted-addresses: []

}
}
include "local.conf"`
But am not getting any response from matcher api. Is that my config file is correct.
Please a give a possible solution for that.
Thanks

@osiz-blockchainapp

Error: The WAVES-DWgwcZTMhSvnyYCoWLRUXXSH1RSkzThXLJhww9gwkqdn asset pair should be reversed

The right order in the config is:
price-assets = [
  DWgwcZTMhSvnyYCoWLRUXXSH1RSkzThXLJhww9gwkqdn,
  WAVES
]

See explanation in https://docs.waves.exchange/en/waves-matcher/matcher-api#asset-pair  ;)

Hi,
I configure waves full node in AWS.  The node synchronization was stopped on this block 1964603 then again restarted the waves node service then the node was not started to synchronized but it throws below error.
Error:
WARN c.w.s.a.ExtensionAppender$ - Can't process fork starting with 4B5eZheiVAxMfpkwPgLKYzTe5j9LHyAet4jLWFwgkVjAGGsTgqBz6Nf2z1VJqusQqonKQPmeX86VyJTcMuGqXkQq, error appending block Block(FMi3E8S8tfzgsp2zUUA15pBbFCAKxXfT2WA7sjw1a6TM21wz8hgWDyE6MkLntFCv4pkdBy7CGnzS67WwW5CsjFn -> 4B5eZhe..., txs=75, features=Set(), rewardVote=600000000): GenericError(Block Block(FMi3E8S8tfzgsp2zUUA15pBbFCAKxXfT2WA7sjw1a6TM21wz8hgWDyE6MkLntFCv4pkdBy7CGnzS67WwW5CsjFn -> 4B5eZhe..., txs=75, features=Set(), rewardVote=600000000) is invalid: Block time<PHONE_NUMBER>413 less than expected)
Then i was upgraded waves node to this version (waves_1.1.10_all.deb) then again restarted waves node service but again getting the same error.
I take back up of node configuration file then removed all the old data of waves node after that i started node synchronization from scratch but still am receiving same error can you please help me to solve this issue. here attached screen short.

Here the repository of Waves Node: https://github.com/wavesplatform/Waves


Max. recursion depth with nested structures exceeded at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Storable.pm line 328, at /usr/bin/pgbadger line 12106.
Our command line: pgbadger -q --start-monday -I -R 2 -f csv -O /storage/_pgbadger/out -r db /var/log/postgresql/postgresql-date --date="yesterday" +%F_000000.csv
pgBadger version 9.2

Sorry for the response delay, one of the binary file is probably corrupted. I guess that the responsible file have been removed since this time. Use latest development code and reopen the issue to report the new error if it still occurs.


How to get Custom Cell / Extension to work?

In your docs you are showing some custom cells such as dropdowns. I can't find any hints about getting them to work. Can you please let us know how one would implement a dropdown cell?

I have updated the readme here to show how to useExtraCells from the @glideapps/glide-data-grid-cells package to get the dropdown cell if you desire.
You can also go look at the source of the dropdown cell in that package if you want to see how to do it yourself.


Sample code for loading HiveList from storage

Question
How to retrieve HiveList ?  How to open the box for HiveListImpl.box"
Code sample
static Future<List<SaleTicket>> getAllSaleTickets() async {

final _saleTicketBox = await Hive.box<SaleTicket>(_hive.SALE_TICKET_BOX);
final _saleTicketHeaderBox = await Hive.box<SaleTicketHeader>(_hive.SALE_TICKET_COL_BOX);

final _saleTicketHeader = (_saleTicketBox.isEmpty || _saleTicketBox.values.isEmpty)
  ? SaleTicketHeader()
  : _saleTicketHeaderBox.values.firstWhere((t) => t.id=1);

//  _saleTicketHeader.saleTickets = HiveList(_saleTicketBox); // open ticket box but empty list
  return _saleTicketHeader.saleTickets.toList();
}

Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: [e.g. 1.14.6]
hive: ^1.4.0-dev3
hive_flutter: ^0.3.0+1

I don't really know what you are asking. Could you please protmkre information? What exactly are you trying to achieve? Could you share your model class?

I am trying to load HiveList data from another box. Manage to make it work by loop through the key. here is my solution and model class.
static Future<List> getAllSaleTickets() async {
final _saleTicketBox = await Hive.box('sale_ticket_box');
final _saleTicketHeaderBox = await Hive.box('sale_ticket_header_box');
final _saleTicketHeader = (_saleTicketBox.isEmpty || _saleTicketBox.values.isEmpty) ? SaleTicketHeader() : _saleTicketHeaderBox.values.firstWhere((t) => t.id = 1);
var saleTicketList = <SaleTicket>[];
_saleTicketHeader.saleTickets.keys.forEach((key) {
  saleTicketList.add(_saleTicketBox.get(key));
});

}
class SaleTicket extends HiveObject{
@HiveField(0)
String TicketName;
...
}
class SaleTicketHeader extends HiveObject{
@HiveField(0)
String TicketHeaderName;
...
@HiveField(1)
HiveList saleTickets;
}

Please wrap your code inside `````. What exactly is the problem?

Please wrap your code inside ```. What exactly is the problem?

the problem is unable to retrieve HiveList data.

Sorry could you please rephrase that and explain to me what you are trying to do and what result you are getting?

Sorry and really sorry if all my messy code make u confuse. forget about it.
Can you show me one sample how to retrieved saved HiveList data from below Hive documentation link. Sample only have add all HiveList data and print it, I can not find how to reload from the Box. Hope you can understand what is my point.
  mario.friends = HiveList(persons); // Create a HiveList   mario.friends.addAll([luna, alex]); // Update Mario's friends   print(mario.friends);
https://docs.hivedb.dev/#/custom-objects/relationships

Thanks for the clarification. I think the sample in the documentation is missing mario.save() to persist the changes in the HiveList. Could you please try to call .save() after you changed the HiveList?


pressing 'enter' key on a ui.select with a selected item causes the highlight to fall of the first element

if the select has a selected value and is not collapse, pressing the enter key will cause it to collapse and highlight the first option (pressing the 'down' arrow works fine).
I suppose it is caused by https://github.com/angular-ui/ui-select/blob/master/src/uiSelectController.js#L561 but I might be wrong (that line of code was the source of the problem when ui.select was one big file).

Can you reproduce this in a Plunker based on the latest release?

Closing the issue down, due not been commented over a year if needed it can be reopened.


1.17?

When is 1.17 for this mod coming out? it's so amazing thank you 19MisterX98.

it is out already https://github.com/19MisterX98/SeedcrackerX/releases/tag/2.8


Complete rewrite in Kotlin

This rewrite will make error handling better because of Kotlin features.
You can follow progress on https://github.com/babariviere/flutter_sms/commits/kotlin

That's really cool

Yeah but I take too much time to do it haha

You are completely right, but for now it's experimental. As I said in another issue, I want to finish the rewrite in kotlin to implement it properly


Fix test-ios-static with XCMODE=xcpretty

Update xcrealm_work_around_rdar_23055637 to invoke the expected-to-fail build in a subshell so we can ignore its exit status in all cases.
This should also fix the releasability tests as they invoke test-iso-static with XCMODE=xcpretty.
/cc @jpsim @tgoyne

:+1:


Could this be adapted to handle other security types?

I've been looking for something like this for a while. I run multi-time-frame strategies across about 100 stocks. Updating TV alerts manually takes hours.
Could this be easily adapted to handle stocks or would I just be better starting from scratch to automate the browser? If adapting is possible, I could try digging into the code. I have zero experience with currency trading so the csv's you create aren't clear to me.
I would be fetching the stocks from an IBKR market scanner via their API. From a quick review of your YAML configuration, I assume the YAML would work for stocks - it's the csv part that might need to be very different.

Can try uploading a csv file of stock symbols at alertzmanager.io


create file div

[x] Icon
[x] Title
[x] Source
[x] Sol version
[x] Path
[x] Window size change bug
[x] Camera zoom in on select
[x] Window size change bug after max File View
[x] State machine for view

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
weswinder, @jgkiano, @cao7113, @benhalverson, @Leask, @paulantoine2, @michaelmccallam, @HydraJedi, @nwhitmont, @enoch-su, @iesta, @HighTide2020, @dnovaes, @keepfocusontechnology, @head77x, @zeque98, @eveagle, @yiyawu, @pengyuanzhi, @YYvanYang, @CraigMcAulay1101, @yanisurbis, @evdatsion, @yinhangfeng, @Ahmzyjazzy, @developerdavi, @orbxball, @maxisgrom, @mcadamm4, @Guihgo, @yyxx2z, @gamunax, @schmty, @renyushu, @MJL85, @tasvln, @fmpaychain, @daikikohara, @akelstrom, @nadongjun, @lynamick6, @wuwe1, @pengjinning, @syrakozz, @jillmnolan, @rajpatel507, @zsrl, @1456118242, @isaac-infotrend, @rainstormza


How to build for mobile native platforms?

I tried to build a "Hello World" app for Android, but the Ionic CLI is telling me I need a custom build script.
Is there an example or some boilerplate to work with here? I haven't been able to find anything.
What is the process required to build this app for mobile native platforms such as Android and iOS?
Thanks

Hi there
which command are you using? I would generally not use the ionic cli for capacitor or even cordova commands - at least as long as this library is not adopted by Ionic and the CLI.
So I would use the capacitor commands directly, so I can also control the config of the project - idem cordova.
But, again - which command do you use?

I've been digging into it, but I can't even find the command I used during the attempted build. There are different sets of instructions for different time periods and I cannot find the incantation that I had gotten stuck on before.
Given that I am probably barking up the wrong tree with my initial issue, I will change the title to reflect the more general concern of how to get a build functioning for a native mobile app. (Perhaps this is two separate issues, but I'll try to blunder my way towards some sort of progress.)

Ok - no problem -
I don't want to copy everything from capacitorjs.com here - but assuming you have your environment setup properly (https://capacitorjs.com/docs/getting-started/environment-setup), you at one point need to initialise the capacitor project.
After the  npx cap init you need to manually change the output build directory in capacitor.config.ts.  For SvelteKit projects (with the config adapter static - which is default for ionic-svelte), this should not be www or dist but build.

This is where npm run build will put the stuff you need to sync with capacitor. And you need to run this npm run build before doing npx cap sync! Otherwise there is nothing to build.
All this covered in https://capacitorjs.com/docs/getting-started and from there on, most of the work is related to Capacitor, Android Studio and XCode.

Much appreciated. I am still figuring out the boundaries between Capacitor and Ionic.

Ionic is the company, and a general reference to the open source UI framework they published. It has various integration options (Angular, Vue and React, as well as CDN) - the Svelte integration is not supported by Ionic Company.
Capacitor is another product from the Ionic company. Just as Stencil (to compile webcomponents), Trapeze (for native app configuration), Portals (for integration web UI in native apps) and AppFlow (cloud based, paid, solution for CI/CD).
Makes more sense like this?

I understand the relationship between the two entities, I was just having trouble figuring out which command to run to get the desired outcome.
I was running the npx cap commands during my previous efforts (you helped to jog my memory on that one). I was having trouble getting the app to build, but after deleting and re-creating the existing android/ directory with npx cap add android and npx cap sync and npx cap run android, I am able to get a functioning build.
Unfortunately, the old project shows just a blank page when run in the Android app (works fine in the browser though). Your new example project builds just fine though, so I can just copy the old files over and go from there. :)

Ok great - keeping the issue open for now - so people can see some of the FAQ

'npx cap sync' gave me this warning:
[warn] Cannot copy web assets from dist to ios/App/App/public
Web asset directory specified by webDir does not exist. This is not an error because server.url is set in config.
do you have any suggestions?

@arcanemachine How did you solve 'blank page' issue?
I managed to copy 'build' directory after 'npm run build', but I got a blank page both on ios and android.

I resolve this by removing url in server.

I resolve this by removing url in server.

Hi there. Thx for sharing
How have created the app? Did you use the npm create command with either ionic-svelte-app or capacitor-svelte-app?
These scripts default the url and i would like to understand in which cases this does not work


correcting the destination of create train data

Changes to write output data to folder ch11 in relevant bucket.

@lakshmanok for your review


Implement user collection

Please do work for this task in a branch named issue-22.
Create the user schema using the model on miro board.

Hi @balemayehu1 , what's still missing on this task?

Completed.


Using one page template for multiple collections

Hi guys,
it's a question as I haven't found enough info on this topic. Basically what I would like to make is to have one page template, which would be then used to display multiple collections (per route only one collection).
I use Strapi and strapi source plugin (@gridsome/source-strapi) but it doesn't seem to work well with Gridsome's template option (I have even read in one of issues that it's a problem with the way the plugin works). So instead of having just one page template, I need to have one for each collection and then inside the template I query my data, which I need on a given page.
What I would like to have is following:

one Vue component, which serves as my default page template for collections
all data should be passed in as prop/route params/context variable (I assume in gridsome.server.js)

I would appreciate any feedback or piece of advice.

I figure it out. Sadly Gridsome's error messages sometimes aren't really helpful or detailed. The reason I couldn't fetch a collection was that it didn't exist on all of the articles and that's why the code broke.


Make better use of rust features in forc-util

Currently there's only one feature in forc-util. This crate does a few very distinct functions, and these functions should each be gated behind features (probably one for each module).

Fune


Error in example

The example given on this page cannot work as the textblock is inside grid.
m_window.CustomTitleBar gives error.
I wrote the code as given below:
`protected override void OnLaunched(Microsoft.UI.Xaml.LaunchActivatedEventArgs args)
{
m_window = new MainWindow();
        m_window.ExtendsContentIntoTitleBar = true;
        Grid CGrd = m_window.Content as Grid;

if (CGrd != null)
{
UIElement Elem = CGrd.Children[0];
m_window.SetTitleBar(Elem);
}
m_window.Activate();
    }`

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

ID: 0b229bb1-99a0-8bba-fae5-824aa9e9e778
Version Independent ID: 4189e409-0f1a-f754-bf12-5cbaacd00083
Content: Window.SetTitleBar(UIElement) Method (Microsoft.UI.Xaml) - WinUI
Content Source: winui-api-build/xml/Microsoft.UI.Xaml/Window.xml
Product: reunion
Technology: winui-reference
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks for the feedback. This document has been updated with corrected information and a new code example.


Port to Dune build system

Dune is the new de-facto standard in OCaml world, greatly simplifying building, maintenance, vendoring, and developing the code. It would improve a lot of things in piqi.

does dune support cross-compilation for windows?

Should be easier now if anyone wants to take a shot at it. I have just removed dependency on camlp4/camlp5. I have also removed custom solution for building third-party dependencies. It is all managed by opam now.


[Fuel backend] ModelIdentifier unit test

Original report (archived issue) by Shane Loretz (Bitbucket: Shane Loretz, GitHub: sloretz).

Lots of info is stored on ModelIdentifier, but there is no unit test for this class. There should be one.

There's a unit test now. Please reopen this if that's not enough.
https://github.com/ignitionrobotics/ign-fuel-tools/blob/master/src/ModelIdentifier_TEST.cc


[TASK] Update the longhorn rancher chart v1.1.1

Goals
After v1.1.1 ready, we need to update the rancher chart.
Definition of Done

[ ] have a PR to update the rancher chart
[ ] verify the chart installation and upgrade work as expected

References

https://github.com/longhorn/longhorn/issues/2262
https://github.com/longhorn/longhorn/issues/2061

cc @khushboo-rancher @meldafrawi

update please chart

Closing because it's part of #2529


Added two free courses

Actually I created this repo so that anyone can write something related to android they know, blog type. Not like just adding a link of the course. These links are very common to everyone and no one will come to this repo just to open that link.  These days writing blogs related to the technology you use is also great step towards learning. :)

@saketkumar95  thanks for the suggestion :+1:


OpenZeppelin 2.1.1 imported but not installed in readme

Describe the bug
OpenZeppelin 2.1.1 is imported in Simpletoken.sol
https://github.com/oceanprotocol/vw-cli/blob/d7a723a1476ef3d47f0c5d8da12b362847b8286f/contracts/Simpletoken.sol#L4
This is never installed.
SafeMath.sol 5.0.0^ is also in the contracts folder, so either we use SafeMath.sol in the contracts or we download the entire OpenZeppelin 2.1.1
To Reproduce
Steps to reproduce the behaviour:

Download using the steps in readme
install python prerequisites
brownie install OpenZeppelin 4.0.0
brownie compile
See error

Error

Expected behavior

Thanks for the catch @officialnico ! Fixed. LMK if issues persist.


Added region tag, module source, and version to bucket example

Intending to add to another standalone page, similar to https://cloud.devsite.corp.google.com/load-balancing/docs/terraform/ext-https-lb-gce-tf-module
I notice this is getting added to my earlier PR. Let me know if I should be doing this in a new branch. Thanks!

Thanks for the PR! 🚀✅ Lint checks have passed.

Going to do this in a new branch.


Added django-password-protect to add password barrier for dev sites;

Coverage remained the same at 91.097% when pulling 37552988c1c0d75a891e2025c30a73f88b2d5eae on htaccess into 5b229852bea58a6412b8dbd80104f6ac69a9ccd6 on master.


bug-fix-3.5/fix-duplicate-actions

Scope & Purpose
Prevent duplicate DDL actions from popping up

[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behaviour change can only be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, such as all cluster DDL tests.
https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5213/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5228/

https://jenkins01.arangodb.biz/view/PR/job/arangodb-matrix-pr/5238/


[FEATURE REQUEST] Add icon indicator of notes in budget category

It would be helpful to know at a glance which of my categories have notes attached to them - especially when using the category notes to communicate with my partner about our spending.
I'd like to have a simple icon after the category name if there are notes in it. Maybe a document-type icon? Thanks!

+feature

We use Trello to track Feature Requests so that users can vote on what they'd like to see next. This is crucial for us since there are so many requests and so little time amongst those of us who work on the Toolkit.
Your feature request has been added here and will need to be manually sorted.
This issue can now be closed.


feat(EC2): Change service to adjust the data saved in template_data in LaunchTemplateVersion

Context
While trying to do a new check I noticed that in __get_launch_template_versions__(now __describe_launch_template_version) method we were saving a big dictionary with a lot of data in LaunchTemplateVersion that we were not using later. To follow good practices I will change the service creating a new Model TemplateData in which we will save only the things we need to do the checks. This will lead to a change in ec2_launch_template_no_secrets check that is currently using the template_data and some adjustments on the service tests and check tests.
Description
I had to change the ec2_service adding TemplateData model and adding only two attributes user_data for the secrets check and associate_public_address for a new check. This lead to a change in the ec2_service_test and some changes in the ec2_launch_template_no_secrets check and his test.
Checklist

Are there new checks included in this PR? No
[X] Review if the code is being covered by tests.
[X] Review if code is being documented following this specification https://github.com/google/styleguide/blob/gh-pages/pyguide.md#38-comments-and-docstrings

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

@sergargar Requested changes added in commit 2abc66e

Please review the raw tests log here https://productionresultssa16.blob.core.windows.net/actions-results/0188922c-ba52-4c6b-8b6b-8e1e9f23ab91/workflow-job-run-312e9aa0-de28-546d-3462-8d46f0cf99e7/logs/job/job-logs.txt?rsct=text%2Fplain&se=2024-08-30T10%3A59%3A29Z&sig=mHp6MltV0SWpUcAWAJZVAdQg3TnefH2ueL6Jmbc08kQ%3D&ske=2024-08-30T20%3A15%3A52Z&skoid=ca7593d4-ee42-46cd-af88-8b886a2f84eb&sks=b&skt=2024-08-30T08%3A15%3A52Z&sktid=398a6654-997b-47e9-b12b-9515b896b4de&skv=2024-05-04&sp=r&spr=https&sr=b&st=2024-08-30T10%3A49%3A24Z&sv=2024-05-04
Something is broken in a type definition, I think in this line public_ip_addresses: list[IPv4Address | IPv6Address].


How to pass business object to nested parameter.

Hi,
I want to pass a instance of class to parameter and access them in report using nested parameters.
Ex:
public class Employee
{
public string FirstName { get; set; }
public string LastName { get; set; }
}
var employee = new Employee { FirstName = "Name1", LastName = "Last1" };
report.SetParameterValue("Employee", employee);
In my report, I tried to access them like this,
[Employee.FirstName] [Employee.LastName]
and that didn't work.
how can i do this. can i pass objects to parameters.

Hi,
Unfortunately this type of parameters is not supported yet.

So, how this work ?

You can set any plain parameter name and value pair.
report1.Load("report.frx");
report1.SetParameterValue("MyParam", 10);
report1.Prepare();

so ...
report1.Load("report.frx");
report1.SetParameterValue("somevar.a", somevar.a);
report1.SetParameterValue("somevar.a", somevar.a);
report1.SetParameterValue("somevar.a", somevar.a);

report1.Prepare();

Hi, @andrelec1
If you had not succeed with parameters, please, check out this article.
And this one.


Why is >= necessary when building .NET Core for distribution to allow upgrades?

Dependencies between packages should use an equal or greater than version requirement. For example, dotnet-sdk-2.2:2.2.401 requires aspnetcore-runtime-2.2 >= 2.2.6. This makes it possible for the user to upgrade their installation via a root package (for example, dnf update dotnet-sdk-2.2).

Why does a >= dependency "make it possible" for a user to upgrade? What is it contrasting against that doesn't allow the user to upgrade their installation via dnf update etc.?
For example, does the following block upgrade from 3.0.0 to 3.0.1 somehow?

dotnet-sdk-3.0 3.0.0 requires dotnet-targeting-pack-3.0 = 3.0.0
dotnet-sdk-3.0 3.0.1 requires dotnet-targeting-pack-3.0 = 3.0.1

This more accurately represents the actual dependency (more info at https://github.com/dotnet/core-sdk/issues/5738).
/cc @leecow @tmds @omajid @nguerrera @dleeapho

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

ID: 1ce2ad2f-c2fb-b15a-fb97-75417a1b51e8
Version Independent ID: 40eec307-4ff8-e68f-c8a7-ead32cccf776
Content: .NET Core distribution packaging - .NET Core
Content Source: docs/core/build/distribution-packaging.md
Product: dotnet-core
GitHub Login: @tmds
Microsoft Alias: mairaw

This makes it possible for the user to upgrade their installation via a root package

This is about expressing a dependency on a version vs not specify a version.
When not specifying a version, updating dotnet-sdk package won't update dotnet-runtime for example.
On the difference between >= and =, this is about whether dependencies are backwards compatible, and if they may be updated to a later version without updating the dependent.
If there is no backwards compatibility, = should be used.


ci: test with latest GCC/Clang

What feature or improvement would you like to see?
https://github.com/apache/arrow-adbc/pull/1990#issuecomment-2215559549
Perhaps we can do this in a nightly job. Ideally we'd enable all warnings and such and even clang-tidy for completeness.

Thanks for the pointer, put up our own dockerfile based on that.


Version 0.0.5+ not workintg with Gradle 8

Version 0.0.4 works fine, but version 0.0.5+ gets this error:
Could not create task ':module:packageReleaseAar'.

'com.android.build.api.dsl.PackagingOptions com.android.build.api.dsl.LibraryExtension.getPackagingOptions()'

Gradle Version: 8.1.1
AGP: 8.0.1
Thank again for this plugin.

Some extra info:
https://stackoverflow.com/questions/75172062/how-to-replace-deprecated-packagingoptions-in-android-gradle-build-files

@GMCristiano thanks for the report! I think it's because in that version we started to respect the packaging options' resource exclude rules to filter out some additional files from the final AAR. It looks like the classes for this API were renamed in AGP 8, though.
I just published a commit that I believe addresses this. Can you test the latest 0.0.8-SNAPSHOT version to verify that this is now solved for AGP 8?

Not public? https://repo1.maven.org/maven2/sh/christian/aaraar/sh.christian.aaraar.gradle.plugin/

0.0.8 is now published and will be available on Maven Central shortly. Make sure to consult the readme and change log for updates on how this new version works.


[Question] Are there any server side performance implications to enabling anti aliasing when running on windows desktop?

Our app runs both on HoloLens and Windows desktop and we make extensive use of ARR alongside locally rendered content. We have MSAA switched on of the locally rendered content when we're running on desktop, but we can see that upon connection to an ARR session the local content is no longer anti-aliased.
Digging into the code we can see that the proxy camera's render texture is created disregarding the global MSAA settings. If we modify the code to create the render texture with MSAA the local content renders as we like.
I know what the performance implications of turning antialiasing on for a standard desktop app are, but I wasn't sure whether enabling MSAA on the proxy texture would somehow setup an oversized render target on the server increasing both GPU and bandwidth overheads?
Are there any other considerations for enabling MSAA that we should be aware of?

Hi and thanks for detailed elaboration. The server side MSAA setting is fully independent from the client setting. In fact the server always renders with MSAA enabled, but the video stream (color and depth buffer) does not hold per-sample information. That's why you get aliasing when the remote content is merged with local content.
I'll create a ticket on our end to fix this client MSAA setting as well. The problem might be more involved later in the pipeline (and maybe even break when running on HL where reprojection is performed?) but that's what we will be looking into as part of the ticket.
If your local fix works for you, there is at least nothing to worry about as far as server performance is concerned.

Great, thanks. I wouldn't expect or want it to run with MSAA on the HoloLens anyway.

SDK 1.0.6 has been released on github and it has the proposed change in it.


Document differences between 'serialize_map' and 'serialize_struct'

Someone in #rust-beginners on IRC asked about the differences, and the API documentation doesn't make it very obvious. If I knew the differences, I'd be happy to open a PR :)

It was me!
For example -- if I write my own serialization for a struct, and use it with serde_json, the resulting JSON is the same whether I use serialize_map or serialize_struct.
Is one more efficient than the other? (My bet would be struct, which can rely on the keys being &str?)  Is one preferable to the other?  what do the name and len parameters mean for serialize_struct()?  (The name seems unused in JSON output. is len the number of elements? Why is that necessary)
And these are just questions off the top of my head.  :p   A high-level summary would be super helpful, along the lines of: "here are the abstract types that Serde can handle, and how they might map to a couple example output formats."

@frewsxcv Oh! There are docs here: https://serde.rs/impl-serialize.html
Maybe it's enough to link to those docs from the Rustdocs? I didn't know they existed.
That page seems to imply that, if you're serializing a struct, you should just use user serialize_struct. Though, I'm still not sure what the name and len params are used for. Maybe name is for XML tags?

Not all data formats are going to use all the information. JSON in particular does not use the name and len (number of fields) of the struct, as you observed.
As an example of something that does use the name, consider implementing serde_rust which will serialize a data structure into the corresponding Rust source code to build the data structure. So if you have a type which is struct S { a: u8 } then it might serialize an instance of S as "S { a: 0 }".
The difference between serializing maps vs structs is that when you deserialize a struct, you are expected to know what the fields are without looking at the input data. You can see this in the signature of Deserializer::deserialize_struct. The same is not true for maps - the input data will determine what the keys are. As you know, JSON doesn't distinguish between these cases. There are other formats that do, for example Bincode which is a compact binary data format. When serializing a map it will put both the keys and the values into the binary data. When serializing a struct it will serialize just the values in order to save space and improve performance.
I agree this stuff needs to be covered more thoroughly in the rustdoc and serde.rs. Thanks for filing a ticket!

I clarified this in the docs that will be released along with the next version of Serde.


managed-gitops: Update gitops component to use new kustomize-based manifest organization

Update gitops component to use new kustomize-based manifest organization

https://github.com/redhat-appstudio/managed-gitops/pull/303

/retest

Appears to be a failure on openshift-ci setup.
/retest

/retest

Fail in pipeline test
/retest

/retest

Cluster claim fail
/retest

/retest
Cluster pool issue

/devfile_private_source.go:146
[FAIL] [e2e-demos-suite] RHDP-467: create an application with a component from private and public quay.io images [It] create component quay-public-component from public container source [e2e-demo]
/tmp/tmp.8SKSgNrBWz/tests/e2e-demos/e2e-demo.go:157
[FAIL] [e2e-demos-suite] multi-component-application [It] Check multiple components are deployed [e2e-demo]
/tmp/tmp.8SKSgNrBWz/tests/e2e-demos/multi-component.go:221
Ran 128 of 149 Specs in 1343.587 seconds
FAIL! -- 124 Passed | 4 Failed | 7 Pending | 14 Skipped

/retest


will lost the first scoped style when the tags has a selector with v-if

Version
2.6.10
Reproduction link
https://codesandbox.io/s/vue-template-ptrum?fontsize=14
Steps to reproduce
When the parent style is scoped the <slot> will lost the style of the first tag if other tags on component has a selector with v-if.
Example:
Main.vue:
<template>
  <Test>

  </Test>
</template>

Test.vue
<template>

    <slot v-else>
    </slot>

</template>

Open it on Chrome, and no style set on class test but I have set it on Main.vue.
If I remove class="..." or remove v-if="f" on Test.vue then the class test will set..
Is it that I lost something to know in using <slot>?
Thanks.
What is expected?
No lost style.
What is actually happening?
No Style set on the first tag.

Duplicate of #10416


Safari happen to error

Upgrade from 1.0.3 -> 1.1.3
Now, everything work fine.
Except save content throw error only in Safari . Below is error msg
TypeError: r.set is not a function. (In 'r.set("_validate","1")', 'r.set' is undefined)

Chrome/Firefox work fine.

Solved !
    // Safari 11.1 Bug
    // Filter out empty file just before the Ajax request
    // https://stackoverflow.com/questions/49672992/ajax-request-fails-when-sending-formdata-including-empty-file-input-in-safari
    for (i = 0; i < this.elements.length; i++) {
        if (this.elements[i].type == 'file') {
            if (this.elements[i].value == '') {
                continue;
            }
        }
        data.append(this.elements[i].name, this.elements[i].value)
    }
    data.set('_validate', '1');

/// safari not support data.set , change to data.append , it works .  My safari version is 10.1.1

Are you able to create a PR to fix this?

I think GH-3546 should be a more reliable way to fix these problems.

Closing as #3546 was merged.
Please let use know when this does not fix your problems (be aware, the PR was merged into 1.x)


Improve README

Add badges and list of contributors (maybe using Sourcerer's AHll of Fame?).
Add details of the package, install instructions, etc.

Can I get this one too? 😛


Rate Limit handling may not work with GitHub Enterprise

In the code at github/github.go#L766, it parses the response body to check if the message starts with the words "API rate limit exceeded for ".
Besides being brittle, it is also plain wrong for an enterprise version of GitHub. Reason - The error message which is returned seems to be a configurable option where an enterprise admin can tweak the exact message that is returned. I know this because at my company, the error message which is returned is different than this. Hence, the library is not able to correctly identify that the GitHub's rate limit has been reached.
To rectify, remove the response body check. The HTTP status code and the corresponding rate-limiting headers ("X-RateLimit-Limit", "X-RateLimit-Remaining", "X-RateLimit-Reset") should be enough to confirm that it is indeed a rate-limiting error.

Thanks, @tkhandel.
This would be a great PR for any new contributor to this repo or a new Go developer.
All contributions are greatly appreciated!
Please make sure that your unit tests are comprehensive for this change.
Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.
Please check out our CONTRIBUTING.md guide to get started.
Thank you!

@gmlewis can I work on this?

@gmlewis Can you assign it to me?

Thank you, @xitter, but let's let @tkhandel work on this since @tkhandel is the issue reporter.
This is actually my fault for opening it up to everyone before asking if the issue author wanted to work on it, so I apologize. Thanks for your understanding.
@tkhandel - it is yours.  Thanks.

Thank you, @gmlewis. I will put up the PR soon.


training data where does it live?

I'm confused in your blog post and here, you talk about training data and getting it from the data page. Where does the zip file actually live? Sorry to be so dense :-)

Oh I get it the article isn't clear, it comes from the Kaggle hotline, might want to clear that up in your medium/blog post


Use of different set of tweets

Hey,
I have a a few basic question: How do I tag my own set of tweets?
With what parser do I have to parse the data?
And how do I train the model on my own dataset?
Any help is much appreciated!

Sure, my recommendation is to use twokenize.py to tokenize your tweets, possibly use the existing model to generate some initial labels and then manually correct them. You can quite easily retrain the existing model on your new dataset by changing the input_path parameter in lstm.py and then the final, uncommented line of [train.sh] (https://github.com/Sentimentron/Dracula/blob/2016-04-16/train.sh) contains the hyper-parameters I used for the final model. One of the other branches (currently called python-3, although it doesn't actually run on Python 3) also swaps out the initial layer for a convolutional one, which trains a bit faster and performs a bit better.
I'm happy to help if you need further assistance.

Thanks a ton for the detailed answer.
I haven't found the method that actually adds the sentiment score to the tweets yet. Is that also implemented in lstm.py?
I already trained the model with Gate-Train.conll before. When I tried running server.py I got two syntax warnings repeatedly:
server.py:167: SyntaxWarning: name 'model' is assigned to before global declaration global model model options {'optimizer': <function adadelta at 0x7f749a8fcc08>, 'word_layers': encoder': 'lstm', 'letter_layers': 2, 'patience': 10, 'reload_model': 'lstm_model.00, 'dispFreq': 10, 'decay_c': 0.0001, 'use_dropout': True, 'char_dict': {}, 'wordpz', 'valid_batch_size': 64, 'pos_dict': {}, 'noise_std': 0.0} max length 140 server.py:55: UnicodeWarning: Unicode equal comparison failed to convert both argu being unequal   word_dict[w.decode('utf8')] = word_dict[w] Continuing with model... Starting server... server.py:167: SyntaxWarning: name 'model' is assigned to before global declaration   global model model options <...> max length 140 server.py:55: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal   word_dict[w.decode('utf8')] = word_dict[w] Continuing with model... Starting server... WARNING:werkzeug: * Debugger is active!
When I run eval.py with Brown.conll I get a lot of terminal outputs stating "WRONG: 'string' JJ should be  P/N..." and the accuracy is around 0.4. Is there something wrong with my trained model? Because I didn't change Brown.conll.
Also is it fairly easy to run the training on multiple gpus or ist that something that can be done easily?

Ah, OK, so Brown.conll actually has a different tagset to Gate-Train.conll - there is a script somewhere that attempts to retag it so that it's more similar. There are a variety of sentiment branches too, unfortunately they do seem to be missing a process_training_data.py file in Data/. I'll check that file in as soon as I find it.


Update missing aws-sdk package, update firebase as well

Hi @JoeRoddy, great project! I absolutely need this, so I'm happy to help.
I had to add/update some packages to get this to run locally.
Also, I had an issue with running this, as I opened another PR against Firebase: https://github.com/firebase/firebase-js-sdk/issues/329
Do you have any special setting that requires the '.node' over the '.js'?

This is great, thanks Ryan.  Not really clear on the .node question, I'm not totally sure what a .node file is, hah.  Where do you see them in the project?


Renaming directory with Dired causes errors

Emacs version: <IP_ADDRESS>
Tern version: 0.18
With the following file:
/Users/Jackson/test/tern-1/foo.js:
var a = 5;
a;

When I use Dired to rename the directory tern-1 to tern-2 containing foo.js while it is in an open buffer and that has been analyzed by Tern, the Emacs plugin starts to malfunction.
It is unable to find the definition of the second a when I ask for it, and eventually an error gets printed "Error running timer ‘tern-reparse-on-idle’: (file-error "Setting current directory" "No such file or directory" "/Users/Jackson/test/tern-1/")".
Also, .tern-port is created in that test/tern-1 directory.
I guess the Emacs Tern plugin or the server doesn't realize its directory has been renamed? I wonder if it is possible for the plugin or the server to be pessimistic about the locations of their files.

Tern-mode keeps some buffer-local state (tern-project-dir is the most likely culprit) that it doesn't know to automatically update in such a case. If you want to try and fix this, that'd be great, but I don't have time to work on it myself.


Fix pkg conflicts with in-box libmfxgen1.2

@mckees this doesn't need to be merged asap but we need to fix the problem with the conflicting pkg
this is my proposal, shall we add a replaces as well??


Anthropic API Endpoint

I would like to request the inclusion of Anthropic in the list of API endpoints. Why? I regularly pay for API access through Anthropic and use that API in various places. I would like to use the credit I have there within SystemSculpt, instead of having to manage another balance through OpenRouter just to use it with Obsidian. Thanks.

I believe the inclusion of this feature would allow for it: #16 https://github.com/SystemSculpt/obsidian-systemsculpt-ai/issues/16
So, please close this if I'm correct.

Hey, thanks for the details - I'll bump this up in prio and it will be present in next week's update along with the addition of allowing more custom model endpoints via a custom model API access list you can build out. I'll keep this open until implementation is finished :)

Fantastic, thank you very much!

You're on fire @SystemSculpt, appreciate all the time and effort you're putting into this project.


ISO image availible for build 19042.450 not for 19042.487

@bleblancMSFT Please merge this PR. Thanks.

@bleblancMSFT Please merge this PR. Thanks.

There are conflicts that need to be resolved first.


Mouse scrolling gets "stuck"

I sometimes use my mouse when scrolling a lot and I noticed that sometimes scrolling gets "stuck".
Steps to repro:

Open a file with lots of definitions.

Select an entry and hit enter.

Focus the symbols pane again.

Try to mouse-scroll.

Scrolling only works up to the point where the entry from step 2 is at the edge of the screen. Past that, scrolling bounces right back.
Video: https://share.whynothugo.nl/f6313ece-59d3-4fbc-b184-6691e25ad70d/recording.mp4

@WhyNotHugo This happens because your cursor is still in the code window, so it tries to keep the currently hovered symbol in focus.
You can either:

Disable highlight_hovered_item while setting up the plugin
Click / Focus the symbols pane so your cursor is in it and it doesn't try to hover the symbol

I'll see if I can figure something else in the meantime

Looks like scrolling fires the CursorHold event which is used as a trigger for the plugin to update, and the cursor being in the code file makes it focus on that symbol again and again

Closing because can't really do anything because this is expected behavior, either put your cursor on the outline window or set  highlight_hovered_item to false


Don't crash on Ctrl-C

Displaying a large picture will often wait here for the queue to flush and an impatient Ctrl-C will crash the extension.

Hm, that does make me pretty nervous, I have to admit :) But then, that might be more a feature of the underlying InterruptException design... The main question (I think) is whether we can reasonably assume that things are still OK if that exception is thrown, or does that essentially mean all bets are off?
I'm almost thinking that we might want to handle Ctrl+C differently, such that InterruptExceptions can be thrown while user code runs, but not when our own infrastructure code runs. If that is possible is another question...

The extension is definitely not OK when the InterruptException happens at that location. The REPL is still there, but there's no communication happening with VSCode because the channel is closed, means plotting doesn't work, etc.
Another option would be to restart the VSCodeServer.serve(...) with a new RPC connection when it happens.


Buildkite client sdk

Moves client SDK building to buildkite.
Note: We definitely want to shared-cache the opam init before this lands as that bit takes >99% of the runtime of the pipeline.

Current status:
There is now a fully-featured DSL for building and manipulating commands rather than manipulating raw strings -- I've found it helpful to abstract away the annoying parts of dealing with docker/caching.
The approach to uploading artifacts (for caching purposes) is as follows:

archive the folders you want onto the shared volume of the inner container
upload said archive

Let's look at the opam-init content in particular on our large instances

Creating .tar takes ~1min and is ~6GB
Creating .tar.gz takes ~6min and is ~2GB
up speed is slightly less than 1GB/min

I haven't measured download speed yet because:
Unfortunately, we cannot use buildkite-agent artifact upload/download for artifacts shared between builds (see
https://github.com/buildkite/elastic-ci-stack-for-aws/issues/352#issuecomment-339733006 ), we'll need to delegate to google cloud storage directly.


Uninstall homebridge-hue ?

I installed the Homebridge Hue plugin on HOOBS. I uninstalled it, but the HOOBS log keeps telling me:
1/9/2020, 08:19:58 [Hue] no bridges or gateways found - retrying in 30 seconds1/9/2020, 08:19:58 [Hue] searching bridges and gateways
Why?
Thanks

Dunno.  Please contact HOOBS support for issue on HOOBS.


Created Feedback Submission System

This PR integrates the frontend feedback form with the backend, introduces a feedback controller, and sets up routes for future handling of feedback submissions, for the issue #33 .
Changes Made:
Feedback Form Backend Integration:
Connected the existing frontend feedback form to the backend system, enabling users to submit their feedback.
Database Model for Feedback:
Created a database model to store feedback, capturing fields such as user comments, email, and user name.
Feedback Routes:
Added backend routes, including a POST route (/submit-feedback) to handle feedback submissions and store them in the database.
Additional routes were created for future management and retrieval of feedback data.
Feedback Controller:
Implemented a feedback controller to manage logic for handling feedback submissions and future feedback-related functionality.
Response Handling:
Users receive success or failure responses based on whether their feedback was submitted successfully.

Summary by CodeRabbit
Release Notes

New Features

Introduced a feedback submission feature, allowing users to provide feedback through a dedicated form.
Added a welcome message and API versioning to the feedback endpoint.

Improvements

Enhanced the feedback form to handle submissions asynchronously with improved error handling.

Bug Fixes

Resolved issues related to feedback submission by validating input data.

Documentation

Updated API documentation to include new feedback-related endpoints.

resolve @coderabit suggestions

@GitGuardian scan

@RamakrushnaBiswal , performed code rabbit changes, removed risks created by git guardian

As the code rabbit is suggesting to use a library for logging errors, such as Logger, but there is no such library pressent neither in forntend or backend, can i create an issue to imcorporate the error of whole backend with logger?

ok then @samar12-rad  go for it

@RamakrushnaBiswal . i create the issue. Also, is this PR completed?

resolve the conflicts please @samar12-rad

Added pre save hook with validator.js library.

One conflict remaining for which i have already raised #72 . @RamakrushnaBiswal

@samar12-rad LGTM 🚀


[DARGA] Revert #157

Something in #157 is causing the build to stall at the vm shutdown phase.  Reverting this PR so we can get darga-4 out the door.
cc @geertj

Do we have log files? Should be somewhere in /root on the installed system (I believe /root/ks.cfg).


Automatic implementation of From and Into for Interface

Description of the feature
It would be nice to have automatic Into and From with the types part of the interface.


Run Diego Inigo and Vizzini tests

Run other Diego tests as noted at https://github.com/cloudfoundry/diego-design-notes

It appears the tests aren't needed as they are primarily integration tests to be run when developing Diego itself.  It looks like we can just rely on the Diego Acceptance Tests[1] which has its test coverage integrated into the CF Acceptance Tests (CATs), which "is a suite of acceptance-level tests that run against CF and Diego deployed together," according to the Diego design notes.
1: https://github.com/cloudfoundry-attic/diego-acceptance-tests


HttpListener on linux vulnerability

Every URI ending in % throws an uncatchable IndexOutOfRange exception. Attached is a code section of the decompiled version of the System.Net.HttpClient.dll library

UPDATE: Work on Windows, but doenst work on Rasbery pi


Fix to enable changing the permission of internal repositories.

Motivation:
Internal repositories are initially created with the internal permission, and I previously restricted the ability to modify this permission. However, users may have valid reasons to adjust the permission settings.
Modifications:

Implemented functionality to change the permission of internal repositories.

Note: The guest role remains restricted from having any permission on internal repositories.

Result:

You can now have the capability to modify the permission settings for internal repositories, excluding the guest role.

Thanks for reviewing. 😉


⚠ GET to /dummy has degraded performance

In bd6bdad, GET to /dummy (https://dev.factiverse.no/v1/dummy) experienced degraded performance:

HTTP code: 200
Response time: 5916 ms

Resolved: GET to /dummy performance has improved in 61c4525.


Implementing maxTimeMS

Implementing #222

Hi @fr3akX, thanks for this. It will be reviewed soon. Best regards.

@cchantep made some changes, as You asked

Thanks for your contribution @fr3akX. This will be published in snapshot build when the merge on master is validated. Best regards.


Crash: Cursor (63, 0) does not match clamp to screen (63, 56).

Short overview
I am currently seeing repeated crashes of contour:
===============================================================================================================================================================================================================================================
Cursor (63, 0) does not match clamp to screen (63, 56).
===============================================================================================================================================================================================================================================
Rendered screen at the time of failure
main page size       : 239x64
history line count   : 1000 (max 1000)
cursor position      : (63, 0)
vertical margins     : 0..63
horizontal margins   : 0..238
main page lines: scrollback cur 1000 max 1000, main page lines 64, used lines 1064, zero index 412
===============================================================================================================================================================================================================================================
<snip>
Image pool:
global image stats: 0 instances, 0 raster, 0 fragments
=============================================================
Hashtale: ImagePool name-to-image mappings
-------------------------------------------------------------
hashslot collisions : 0 (0%)
stats               : 0 hits, 0 misses, 0 evictions, 0% hit rate
hash table capacity : 1024 (0% utilization)
entry count         : 0
entry capacity      : 100 (0% utilization)
-------------------------------------------------------------
===============================================================================================================================================================================================================================================
Abort trap (core dumped)
$

Again, this is FreeBSD 14.0-RELEASE-p4 amd64 with FreeBSD clang 16 and Qt 6. The entire thing is running in a pure Wayland environment.
Reproduce
The issue seems to be quickly reproducible by producing output to the terminal and moving the mouse at the same time.
I did this by running: while :; do ls -lapho; done and then moving the mouse. Contour then crashes within milliseconds.
Logs / Debugger trace
See log at https://gist.githubusercontent.com/herrhotzenplotz/4695175147c1b77c4b6f09aee38e98c5/raw/0a661996166c9dffb7322eee0478a25c5af27be2/log
If you wish that I re-run the same thing again with fancy debug options, please let me know. :-)

Oh, this is a very rare occasion. Many thanks for the report. 🤔 ...

Actually, it wasn't that rare. I was seeing exactly this crash at least 3 times within one hour of using kakoune in contour making it pretty much too unreliable to use.

I also encounter crashes from time to time, but not that often, and was not able to find ways to reliably repro this, lets hope this is it :)

I just got a crash from inside kakoune: https://gist.githubusercontent.com/herrhotzenplotz/4695175147c1b77c4b6f09aee38e98c5/raw/92a5c34b7eaf6909cf9646da77c3caa862276c87/log2
It indeed seems to be the same assertion tripping.


Getting stuck at the connection window connecting to WizDen servers

Description
This is an issue to collect multiple reports from players that they get stuck at the connecting window when connecting to WizDen servers after 76bd5e93b4c4d85.
Some affected have tried to connect to multiple WizDen servers in geographically distinct areas and failed to connect.
Clearing cached engine/client data does not fix the problem.
We probably need someone with WizDen server access to pull the logs and see if there are relevant errors.
Reproduction
Appears to be consistently reproducible for those affected. Unclear what makes people affected.
Screenshots

Additional context

PJB tried to debug the issue by changing some settings on one of the EU servers, no luck.
Report with similar "getting stuck" symptom here: https://github.com/space-wizards/SpaceWizards.Lidgren.Network/issues/6, unclear if this is related.

@Morb0 would you be willing to try this patch against Lidgren.Network for me? This lifts the return false statement out of the if statements so that ActuallySendPacket correctly reports to the caller if an exception is ever raised.
diff --git a/Lidgren.Network/NetPeer.LatencySimulation.cs b/Lidgren.Network/NetPeer.LatencySimulation.cs
index ba3261d..3b4c5c9 100644
--- a/Lidgren.Network/NetPeer.LatencySimulation.cs
+++ b/Lidgren.Network/NetPeer.LatencySimulation.cs
@@ -189,19 +189,19 @@ namespace Lidgren.Network
 				{
 					// send buffer full?
 					LogWarning("Socket threw exception; would block - send buffer full? Increase in NetPeerConfiguration");
-					return false;
 				}
 				if (sx.SocketErrorCode == SocketError.ConnectionReset)
 				{
 					// connection reset by peer, aka connection forcibly closed aka "ICMP port unreachable"
 					connectionReset = true;
-					return false;
 				}
 				LogError("Failed to send packet: " + sx);
+				return false;
 			}
 			catch (Exception ex)
 			{
 				LogError("Failed to send packet: " + ex);
+				return false;
 			}
 			finally
 			{

@Partmedia I don't think it can be done easily, it requires own fork of the engine at least.

Bisected with one of the reporters affected, the first commit that started getting stuck connections was 386c7f922.
In case it matters, working commit (previous one):
[DEBG] szr: Finalized string mapping of size 88767 in 134ms
[DEBG] szr: Wrote string package in 32ms size 459.88 KiB

Broken:
[DEBG] szr: Finalized string mapping of size 88810 in 147ms
[DEBG] szr: Wrote string package in 33ms size 460.11 KiB

I fail to see how this commit causes this issue, but these are the bisection results.

Folks are able to connect after reverting the offending commit from master (76bd5e93b4).
Reverting that commit also brings this down to:
[DEBG] szr: Finalized string mapping of size 88767 in 147ms
[DEBG] szr: Wrote string package in 33ms size 459.88 KiB

Have we ever exceeded 460 KiB of mapped strings?

I can't imagine how that number is in any way special, what the hell.

One user on discord had this issue and said they fixed it by turning off compatibility mode

Sounds like the bisect might have been correct, and the shader introduced in the offending commit is not compatible, and not being able to compile shaders prevents the client from entering the lobby?

Ah yeah the shader fails to compile. I'm pretty sure I tested it in compat but maybe subsequent changes broke it.

#11833 Should fix the shader, but if this was causing the other connection issues that should have been apparent from the logs, so something else is probably also wrong?

I mean... did we ask anybody who had the issue for their logs..?

I'm fairly sure we said the !logging command more than once

Closed since the reporter confirms they're able to connect. The exceptions seen on Corvax appear unrelated, but definitely still worth investigating. Sounds like this could have been fixed much easier if someone actually followed the !logging steps, but bisecting worked.

Well good thing I don't have to ask people to bear with me setting up Wireshark traces... for now.

Don't jinx it!
!wireshark
Install this fun unsigned kernel pcap driver...


Life Expectancy Flask web application

Hello all
The web application for the Life Expectancy model would be developed by all of us together so that every member have a fair idea of how things are working as well as an add-on to the skillset.
Please collaborate with each other and work on the web application development.

Since no one put the effort into learning flask, so I have made the application.
happy Learning


WIP: peng/527-onboarding

Issue
Closes #527

[x] create modals for onboarding steps
[x] create images for onboarding steps
[x] persist onboarding finished status in localstorage
[x] integrate onboarding images into onboarding modal
[ ] unit tests

Screenshots
Work in progress. Here are the five steps of onboarding:

Here are the final screenshots. Going to work on fixing tests now.

This is ready for review. If the changes are small, please make the edit yourself and then merge the PR. It would be great to get this in for the Tuesday meeting later.

so nice peng. well done!

Beautiful images!

Great job @nylira !


Pass normalized (whole-step) points to onPointChanged() callback

We want most computation to deal with non-normalized points because we get better precision, but the callback wants normalized points for doing things like checking correctness.

This change is

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Labels with the same name across projects/organisations do not show up

I have two Social Media labels, one for private social media and one for work. On toggl.com they both show up, one under my private project, the other under my work project.
In the Toggl Desktop app (OS X) only one of them shows up in the search. Even in the full list, the label is missing from the second project (work) and only showing up in the first (private).

We had some fixes with regards to projects and clients of the same name. Labels may possibly still use the old (and wrong) comparison for equality.

@omnidan Please specify the issue. By labels do you mean tags or tasks? Also it would help if you could send us feedback from the app and mention that it's for Indrek. That way I can get more details and can investigate further.

@IndrekV I mean the project field on a task:
I have multiple "project-groups"/teams (the ones in CAPS) with the same project names (e.g. "Social Media"), but only one of the projects shows up, the other teams project just doesn't show up. (it does on toggl.com, though)
I sent feedback from the app too :smiley:
Let me know if you need anything else.

Desk case with logs: #237140

@omnidan It seems that for some reason the list currently only accepts unique items and that is why it doesn't show multiple project with the same name. I will be working on a fix for this.

fixed with #1768


fix: selected row issue

Description

Menu button Column type issues with SelectedROW

Fixes #9175
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions, so we can reproduce.
Please also list any relevant details for your test configuration.

Test A
Test B

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

/ok-to-test sha=c9eab9a

@Tooluloope Tested on deploy preview and it's working fine.

/ok-to-test sha=c0127d3


apply black formatting

related to #2, but forgot to do formatting with black

pr #2 has been reverted since we no longer needs mode choice logsum as part of the estimation for atwork subtour scheduling. This pr is no longer needed as well.


Presentation: Fix red squiggles when using Visual Studio 2022

Presentation headers are usually included as <ECPresentation/...>. Since ECPresentation folder is not currently under the include search path the IDE couldn't always find the correct path to the included file.
Added $(SrcRoot)imodel-native\iModelCore to include search path, where ECPresentation folder can be located.
This change should only affect the IDE behavior and shouldn't affect the actual build.

This seems to help only when using Resharper