Not an issue, but need help

Hello!
I am an absolute beginner with very little previous experience in coding, but I generally know a lot about PCs, networks etc. Can someone explain to me how to actually use this script on windows 10? This guide assumes that you already know a bunch of stuff. Do I type in CMD? In Python? What exactly do I type to get the script going? At my workplace we have a MIKROTIK RouterOS with 6.29.1 version, so the script should work. I just don't know how to initiate it. I need to extract the password as noone knows it. It was installed a few years ago.
Edit: I know the IP address of the router

I just made a virtual CentOS in HyperV, so I don't actually know how to run Python on Windows.
Found a guide that might be useful for you, but I only just googled for it and haven't really read it myself.
Here: https://docs.python.org/3.3/using/windows.html

Ok, what I needed to do was start the command with "py" instead of "python". Not sure if it's python version related or the fact that I'm using windows 10.
Worked like a charm!


I have noticed that for all the (many) intrinsics that I use:-
All 512-bit intrinsics can be almost trivially and efficiently rewritten as two 256-bit intrinsics, rarely more.
All 256-bit intrinsics can be almost trivially and efficiently rewritten as two 128-bit intrinsics, rarely more.
I think that we can consider SSE4.2 (or perhaps even SSE2) as a minimum baseline but we could continue further.
For instance (very simplified):-
In 512-bit header
simde_mm512_my_operation() {
#if CPU_HAS_512
_mm512_my_operation();
#else
simde_mm256_my_operation();
simde_mm256_my_operation();
#endif
}
In 256-bit header
simde_mm256_my_operation() {
#if CPU_HAS_256
_mm256_my_operation();
#else
simde_mm128_my_operation();
simde_mm128_my_operation();
#endif
}
In 128-bit header
simde_mm128_my_operation() {
#if CPU_HAS_128
_mm128_my_operation();
#else
simde_straight_C_coded_my_operation();
#endif
}
Can anyone see any intrinsics which don't easily fall into this type of decomposition?
Even if there are, I am sure that the vast majority of intrinsics can be easily handled by divide and conquer.
Another beauty of this approach is that there would be an enormous number of highly stereotyped functions which could be generated automatically from the "inner function name" by a macro processor, possibly even the C preprocessor.
For instance there are lots of intrinsics like:
r = some_full_sized_function(a, b)
which can be decomposed into:
top_half_r = some_half_sized_function(     top_half_a,        top_half_b)
bottom_half_r = some_half_sized_function(bottom_half_a, bottom_half_b)
Moreover generating these by macros would avoid copy/paste errors like those I corrected recently.
Supporting remarks:-
Some AMD processors supporting AVX2 do this with no 256-bit execution unit, only 128-bit ones.
Even on Intel AVX2 has virtually zero cross-lane operations.
Operations which should logically be cross-lane are not: for instance 256-bit byte shifts are in fact two 128-bit byte shifts.
To perform a 256-bit byte shift the programmer has to save and restore the byte(s) which would be shifted out.
  It's quite reasonable.
The vast majority of intrinsics work like you describe, but there are are decent number that don't; most of the shuffle ones come to mind, and some bit shifting code like _mm_slli_si128.  As a percentage it's pretty low, but it's still a decent number of functions.
The basic approach is what we're trying to do for larger vectors, though as you've seen there are quite a few functions where we haven't done it yet.  While the basic idea is sound, there would have to be a lot of special cases.  A few problems that come to mind:

It would leave a lot of optimization opportunities on the table.  Sometimes you can do stuff a lot faster than just calling the shorter version twice.  This is the main reason SIMDe is structured the way it is.
It would make the code much more difficult to understand and reason about.  We already have more macro magic than I'd like.
There are often no comparable functions.  AVX-512 is a major offender here.
Often the "shorter" way is in the same ISA extension (or sometimes even a later one).  For example, _mm_blendv_epi8.
Sometimes the compiler is able to generate better code for the "portable" fallback of a larger version.  This was just happening to me a couple days ago on clang (although GCC did much better with 2 × the smaller operation).
If we have support for larger vectors but not the operation in question, it can be faster to use alternate methods with larger vectors.  For example, _mm256_and_si256 (AVX2) should probably use _mm256_and_ps (AVX) if available instead of 2 × _mm_and_si128.
Non-x86 intrinsics.  Most CPUs these days only support 128-bit vectors, but ARM has SVE, and RISC-V is planning something similar.
The names may not be the same (yes, really.  I can't think of examples right now, but I do remember seeing it happen in Intel's APIs).
Sometimes we have to do some extra work to convert to 2 × smaller operations.
Compiler bugs or missing functions mean we sometimes need special cases.  I actually run into this pretty frequently with SIMDe… PGI has been particularly troublesome, but I've had to work around issues in MSVC, GCC, clang, and ICC.
All the special cases would be a problem for consistency.

That is my no means a complete list.  Unfortunately I could go on.
Some of these don't really show up much in the codebase currently because up until recently I've been pretty focused on getting the portable implementations done, not optimizing (i.e., adding non-x86 implementations).
As for the C&P errors you've been finding, obviously they're a bit embarassing, but I'm actually not too troubled.  They can almost always be fixed with a simple search & replace, and they'll disappear pretty quickly as we spend more time working on the code adding optimized versions, and as people actually use SIMDe.  AVX and later just haven't received much attention yet; AVX2 still doesn't have all the portable implementations done, and we've barely started working on AVX-512.
I'm going to close this since I don't think it's really an open issue, but I'm happy to discuss it further if you have any questions.


Error whilst checking proxy breaks connection with RST

`Next proxy: http://<IP_ADDRESS>:8888
Traceback (most recent call last):
File "requestProxy.py", line 192, in
request = req_proxy.generate_proxied_request(test_url)
File "requestProxy.py", line 169, in generate_proxied_request
headers=req_headers, timeout=req_timeout)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 69, in get
return request('get', url, params=params, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/api.py", line 50, in request
response = session.request(method=method, url=url, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 465, in request
resp = self.send(prep, **send_kwargs)
File "/usr/local/lib/python2.7/dist-packages/requests/sessions.py", line 605, in send
r.content
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 750, in content
self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
File "/usr/local/lib/python2.7/dist-packages/requests/models.py", line 673, in generate
for chunk in self.raw.stream(chunk_size, decode_content=True):
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 307, in stream
data = self.read(amt=amt, decode_content=decode_content)
File "/usr/local/lib/python2.7/dist-packages/requests/packages/urllib3/response.py", line 243, in read
data = self._fp.read(amt)
File "/usr/lib/python2.7/httplib.py", line 573, in read
s = self.fp.read(amt)
File "/usr/lib/python2.7/socket.py", line 380, in read
data = self._sock.recv(left)
socket.error: [Errno 104] Connection reset by peer
proxy_reset.zip
`

Looks like the exception was caused by the specific server, shutting down the connection abruptly. I would not expect this error to happen often/again - is that correct?

I could reproduce this behaviour five times before I print the proxy URL
and took capture so I don't know if every time it was this specific server.
Anyway, if it happens to be just this server, it may happen again and we
should manage this exception.
On Jul 13, 2016 7:55 AM, "Panagiotis Garefalakis"<EMAIL_ADDRESS>wrote:

Looks like the exception was caused by the specific server, shutting down
the connection abruptly. I would not expect this error to happen
often/again - is that correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pgaref/HTTP_Request_Randomizer/issues/6#issuecomment-232263414,
or mute the thread
https://github.com/notifications/unsubscribe/ABudQdeuK4NR04PbUIamTcq9aQ-nABivks5qVH3pgaJpZM4JLEn_
.


[FEATURE] Support shufflenet

tkx for your wonderful work, I found the timm is not support shufflenet v1 and v2 yet, there is any plan to support it? and here is the official repository and related papers.

@flywheel1412 it's never been a priority since they didn't seem particularly stronger or better than other mobile models here already (mobilenet-v2/v3, hardcorenas, tinynet, lcnet, ghostnet, etc). Could likely be supported via efficientnet/mobilenetv3 backbones with additional block type(s) and the extra SE in head... GhostNet is also a very similar model layout that'd be a template to follow... open to well tested full impl with features_only, etc working. But hasn't been a priority for me to tackle.

tkx for your reply, where cloud i found the benchmark table of timm's models? which cloud be a better guide for everyone to choose models

@flywheel1412 the last batch of results are all in the csv files here: https://github.com/huggingface/pytorch-image-models/tree/main/results
benchmark-* are the per architecture inference and train throughput numbers, and the results-* are the per-weight instance accuracy numbers for imagenet and other test sets. You need to join them on the architecture (portion before the .) to get a per result score to plot a pareto curve like I've done in the past https://twitter.com/wightmanr/status/1463684184912711689
Latest GhostNet-V2, RepGhostNet, MobileOne models that I just added are not in the results yet... probably another week or two as it takes a while to run these days.


maintainers/scripts/haskell/update-stackage.sh: Clean up script

Motivation for this change

Ignoring the package versions from Stackage for a given set of packages was useful when Nixpkgs used to track Stackage LTS, but no longer necessary since we now track Stackage Nightly.

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

Oh, wow. @dalpd thank you for that contribution! Incidentally I had to touch that file anyways just now and I did nearly exactly the same that you did, sorry that I didn‘t see yours before.

No worries! I'll try to find other issues I can take care of :)


github action support

Hi,
maybe it would be helpful for some people to document, how this code could be used with github actions:
name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2

    # Runs a single command using the runners shell
    # The checked-out repository is by default mounted as working directory.
    - name: Build
      uses: docker://andrerichter/tum-dissertation-latex
      with:
        entrypoint: make
        args: pdf-local
    # if your makefile is not in the root directory of your github repository, you can specify the path using make's -C argument:
    # args: -C PATH-TO-MAKEFILE-DIRECTORY pdf-local

    # Publish the artifacts, can be downloaded as zip.
    - name: Publish artifact
      uses: actions/upload-artifact@v1
      with:
        name: dissertation
        path: dissertation.pdf

Is this for people who write their dissertation openly and want to have it built by GitHub on each new push?

this also works with private repositories on github ;)
But yes, this would query a build on every push (or pull request)

a very similar version should also be possible using gitlab-ci, which would be usable at lrz's gitlab servers (if you have setup some runners).

Gitlab CI config is already available in the repository. (#13)

Right, I always forget private repos exist on github...
Feel free to open a PR for the main Readme, we‘re happy to take it.

Hi,
two options for that:

simply edit it in the readme
add the file under .github/workflows, this would directly enable building, testing and publishing, even for this template. This, however, fails, as there is no inc/fak_placement.tex... One could provide a new fak_placement.tex, that just spells out "404 not found" or sth. similar.

Which option do you prefer?

I'd option 1. I do not see too much benefit in having an auto-built PDF that incorporates a 404 message, and we have a preview with actual logos already.
I'd suggest that we split the current chapter Auto build and publish dissertation into Gitlab and GitHub actions subsections.
By the way, are the logos still accessible in the places where the README references them? My TUM Alumni account doesn't have enough rights anymore to navigate there.

ok, will do.
https://portal.mytum.de/corporatedesign/vorlagen/index_Logos is still valid, but I would remove the detailed list of resources at the bottom, as at least some are no longer valid.


Correction

az iot hub show-connection-string --hub-name
(not --name)

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

ID: 9afeaa5c-1af2-8fcc-69b4-15ae81a0d342
Version Independent ID: dea97474-170e-f678-f812-a1e4cdf56c76
Content: az iot hub
Content Source: src/command_modules/azure-cli-iot/azure/cli/command_modules/iot/_help.py
Service: iot-hub
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

I don't see anything on this page that references --hub-name.

That's the point, you have an error in the command syntax.

--name is correct. You likely have an outdated version of the CLI or may be using the IoT extension, which could be different.

I indeed do have the extension, as required by various MS tutorials on IoT, and only now realize what a colision there is between command syntaxes. Very confusing!

Totally understandable @mcurko.  For you reference, here's the link to the extension documentation:
https://docs.microsoft.com/en-us/cli/azure/ext/azure-cli-iot-ext/?view=azure-cli-latest
You might consider opening an issue in the extensions repo so they can address the inconsistency:
https://github.com/Azure/azure-cli-extensions


build: add kodiak configuration, disable percy and styleguide workflows

env context is not available to jobs.<job_id>.if, so I removed the env variable.
(Reference)


bundle external-helpers

I'm seeing external-helpers get loaded. There should be an easy way to also bundle this.

WANT

Look at the systemjs-seed project how we implemented this in gulp.

Could you point me to the line in the gulpfile where you're doing this? It would be nice if this were handled automatically though.

Ya, its really depends on your setup though.  Wanted to keep it flexible.  https://github.com/Swimlane/angular-systemjs-seed/blob/master/gulpfile.js#L161

I am concatenating es6-module-loader.js, system.js, and system.config.js into system.js, but keeping app.js separate. I just did a search and found you are doing import 'babel/external-helpers'; in your app.js. Bundling via jspm.bundle handled it automatically which is why I didn't have it. Adding that line breaks the bundle step though... Any ideas? This is the only output:
tracing source files...
		 tracing app/app.js


Force xDebug v2 for workspace

Description

Force xDebug v2 for workspace. Maintains compatibility with existing laradock usage, and matches the ini files currently in use.

#2794
Motivation and Context
Currently turning on xDebug doesn't work properly because the version and ini files are out of sync. Anyone already using laradock that has made changes is also expecting xDebug v2.
Blindly updating to xDebug v3 would be a breaking change.
Types of Changes

[x] Bug fix (non-breaking change which fixes an issue).
[] New feature (non-breaking change which adds functionality).
[] Breaking change (fix or feature that would cause existing functionality to not work as expected).

Definition of Done Checklist:

[x] I've read the Contribution Guide.
[n/a] I've updated the documentation. (refer to this for how to do so).
[x] I enjoyed my time contributing and making developer's life easier :)

The CI build errors don't appear to have anything to do with my changes.
The majority are for services I haven't even touched. Those that are on workspace are not failing at the xdebug stage.


rdb to csv but the key with ,

run rdb -c memory dump.rdb > memory.csv
result: 0,string,test,1,2,string,8,8
how to deal with Special characters ,
thank you!

hello
any progress on this issue?
i meet the same problem

您好，我已收到您的邮件，谢谢！！~~


Configuring a Dictionary

The Question
Does this library support dictionary values like described in this article?

In the example, the configuration options are initialized via
services.Configure<MySettings>(options => Configuration.GetSection("MySettings").Bind(options));
I have a class as below:
public class QueueConfiguration {     public Dictionary<string,string> Uris { get; set; } }
and I issue:
serviceCollection.Configure<QueueConfiguration>(configuration.GetSection(nameof(QueueConfiguration)))
but my Dictionary of Uris is always empty.
I have a SSM Parameter of /system/blue-green/block-ssm/green/QueueConfiguration/Uris/SqsEventHandlerAsyncYadaYadaBubbleBoyWebApiFunctionsMasterFunctionQueue
and /system/blue-green/block-ssm/green is configured as the path via AddSystemsManager()

This is a :question: general question

Hi @hounddog22030,
Good morning.
Thanks for creating guidance issue. Using your model/use case as starting point and ASP.NET Core WebApi project template, I was able to retrieve list of Uris as  a dictionary using the Amazon.Extensions.Configuration.SystemsManager package. Here is the source:
Startup.cs
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;

namespace ParameterStoreDictionaryTest
{
    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddControllers();
            services.Configure<QueueConfiguration>(Configuration.GetSection("QueueConfiguration"));
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }

            app.UseHttpsRedirection();

            app.UseRouting();

            app.UseAuthorization();

            app.UseEndpoints(endpoints =>
            {
                endpoints.MapControllers();
            });
        }
    }
}

Kindly note the addition of services.Configure<QueueConfiguration>(Configuration.GetSection("QueueConfiguration")); in ConfigureServices().
Program.cs
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;

namespace ParameterStoreDictionaryTest
{
    public class Program
    {
        public static void Main(string[] args)
        {
            CreateHostBuilder(args).Build().Run();
        }

        public static IHostBuilder CreateHostBuilder(string[] args) =>
            Host.CreateDefaultBuilder(args)
                .ConfigureAppConfiguration((context, builder) => {
                    builder.AddSystemsManager("/system/blue-green/block-ssm/green");
                })
                .ConfigureWebHostDefaults(webBuilder =>
                {
                    webBuilder.UseStartup<Startup>();
                });
    }
}

ValuesController.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Options;

namespace ParameterStoreDictionaryTest.Controllers
{
    [ApiController]
    [Route("[controller]")]
    public class ValuesController : ControllerBase
    {
        private readonly IOptions<QueueConfiguration> _queueConfiguration;

        public ValuesController(IOptions<QueueConfiguration> queueConfiguration)
        {
            _queueConfiguration = queueConfiguration;
        }

        // GET api/values
        [HttpGet]
        public ActionResult Get()
        {
            return Ok(new
            {
                QueueConfiguration = _queueConfiguration.Value
            });
        }
    }
}

*.csproj file
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Amazon.Extensions.Configuration.SystemsManager" Version="3.0.0" />
  </ItemGroup>

</Project>

QueueConfiguration.cs
using System.Collections.Generic;

namespace ParameterStoreDictionaryTest
{
    public class QueueConfiguration
    {
        public Dictionary<string, string> Uris { get; set; }
    }
}

RESULT: QueueConfiguration.Uris has values in a dictionary:

Could you please check if you added services.Configure<QueueConfiguration>(Configuration.GetSection("QueueConfiguration")); in ConfigureServices()? Please let me know if anything else is required.
Thanks,
Ashish

So sorry, about three hours after posting this, I found an async call without an await and that was the issue.  I typically try to be a good citizen and close issues if I find it was because of another problem, but it was 2:00 am and I was tired.  But, at least there's a great example for someone.  Again, sorry and thanks.


Nuxt

Is this Lib, compatible with nuxt?

Generally, all Vue libraries are compatible with Nuxt, you just need to render them as a client-only plugin.
import Vue from 'vue'
import VuejsDialog from 'vuejs-dialog'
import 'vuejs-dialog/dist/vuejs-dialog.min.css'

Vue.use(VuejsDialog)

Thanks


Fix #14 - Using stubbed collections for publication tests

I tried and failed to reproduces the issue in a new project. It is probably something specific about the packages in use or the order in which dependencies are resolved.
Instead I tried a simple fix that passes through the name to the collection constructor and instead sets connection: null in the options object. This failed the package tests because using the same name for subsequent tests meant the changes are persisted between stubs.
The solution then was to postfix the name with a random string. This now passes the package tests and my app's tests.

Using a stub-collection with johanbrook:meteor-publication-collector
sometimes causes the error

Error: Can't publish a cursor from a collection without a name.

The simple fix for this is to create a localCollection with a name. To
ensure that the stubbed collection doesn't connect to an existing local
collection that was stubbed previously, we randomise the name.

Awesome @coagmano, this looks great - thanks very much!


runtime: madvise() failure during scavenging causing crash on darwin arm64

What version of Go are you using (go version)?

go version go1.7 darwin/amd64

What operating system and processor architecture are you using (go env)?

iOS 9.3.4 arm64 (though I believe this applies to armv7 as well)

What did you do?

Create a gomobile library with gomobile bind -target ios and link the framework into an iOS app. Run the app, then switch away for five minutes or more. Switch back to the app.

What did you expect to see?

Normal operation.

What did you see instead?

Upon returning to the app, one thread will have crashed via notok as a result of a failed madvise syscall during scavenging. GODEBUG=scavenge=1 accelerates things significantly, and it will crash almost immediately.

It seems this was fixed for 386 and amd64 a while ago, but the same treatment never got applied to arm/arm64. I tested a similar fix and it solved my problem, but I'm not that confident in my ability to edit ARM assembly correctly.
Frustratingly, I couldn't replicate the problem with any of the gomobile example apps. I suspect that they are too simple to sufficiently provoke the GC.

@aclements

The fix to 386 and amd64 just covers up the problem. The real fix is in
#16644.
I'm going to close this as a dup for that issue.


Documentation for the .NET parser

I could take a look at this at the weekend, I left it out from the original docs PR as we didn't have the parser started yet.

API docs are generated...  now we can fill out the docs by adding code comments on classes, properties, and methods to complete the docs.
Nice work @AlexHedley !


Fix TestSphericalVoronoi error on Windows

Fix ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'long' in File "scipy\spatial\_voronoi.pyx", line 43 reported in https://github.com/scipy/scipy/issues/7055:
======================================================================
ERROR: test_sort_vertices_of_regions (test_spherical_voronoi.TestSphericalVoronoi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python35\lib\site-packages\scipy\spatial\tests\test_spherical_voronoi.py", line 112, in test_sort_vertices_of_regions
    sv.sort_vertices_of_regions()
  File "X:\Python35\lib\site-packages\scipy\spatial\_spherical_voronoi.py", line 306, in sort_vertices_of_regions
    self.regions)
  File "scipy\spatial\_voronoi.pyx", line 43, in scipy.spatial._voronoi.sort_vertices_of_regions (scipy\spatial\_voronoi.c:2607)
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'long'

======================================================================
ERROR: test_sort_vertices_of_regions_flattened (test_spherical_voronoi.TestSphericalVoronoi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "X:\Python35\lib\site-packages\scipy\spatial\tests\test_spherical_voronoi.py", line 121, in test_sort_vertices_of_regions_flattened
    sv.sort_vertices_of_regions()
  File "X:\Python35\lib\site-packages\scipy\spatial\_spherical_voronoi.py", line 306, in sort_vertices_of_regions
    self.regions)
  File "scipy\spatial\_voronoi.pyx", line 43, in scipy.spatial._voronoi.sort_vertices_of_regions (scipy\spatial\_voronoi.c:2607)
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'long'

ping @tylerjereddy
I wonder if a better fix is or is not changing int[:, ::1] in to npy_intp[:, ::1] in
https://github.com/scipy/scipy/blob/master/scipy/spatial/_voronoi.pyx#L31

I tried to find a fix without touching the Cython code and nee to rebuild the extension.

@ev-br I'll aim to check your alternative fix suggestion next. I'm not sure if that is theoretically more robust because of type enforcement at the Cython level. I'm pretty sure @rgommers and I had to have a bit of a PR discussion to sort out what types to use.
Just starting off by checking out the original fix proposed in this PR branch, I ran the asv benchmarks against the tip of the release candidate and didn't find any drops in performance for SphericalVoronoi (or the associated sorting code):
asv continuous --bench SphericalVor* 133fc3efc fb79d9fc81 -e:
· Creating environments
· Discovering benchmarks
·· Uninstalling from virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six
·· Installing into virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six..
· Running 4 total benchmarks (2 commits * 1 environments * 2 benchmarks)
[  0.00%] · For scipy commit hash fb79d9fc:
[  0.00%] ·· Building for virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six..................................................................................................................................................................................................................
[  0.00%] ·· Benchmarking virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six
[ 25.00%] ··· Running spatial.SphericalVor.time_spherical_voronoi_calculation                                                                                ok
[ 25.00%] ····
               ============ =============
                num_points
               ------------ -------------
                    10         1.03±0ms
                   100       3.12±0.01ms
                   1000      24.2±0.05ms
                   5000       124±0.4ms
                  10000       258±0.3ms
               ============ =============

[ 50.00%] ··· Running spatial.SphericalVorSort.time_spherical_polygon_vertex_sorting                                                                                ok
[ 50.00%] ····
               ============ =============
                num_points
               ------------ -------------
                    10        189±0.5μs
                   100         1.79±0ms
                   1000      18.0±0.03ms
                   5000       92.0±0.2ms
                  10000       186±0.6ms
               ============ =============

[ 50.00%] · For scipy commit hash 133fc3ef:
[ 50.00%] ·· Building for virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six................................................................................................................................................................................................................
[ 50.00%] ·· Benchmarking virtualenv-py2.7-Cython0.23.4-Tempita0.5.2-numpy1.8.2-six
[ 75.00%] ··· Running spatial.SphericalVor.time_spherical_voronoi_calculation                                                                                ok
[ 75.00%] ····
               ============ =============
                num_points
               ------------ -------------
                    10         1.05±0ms
                   100         3.12±0ms
                   1000      25.4±0.05ms
                   5000       132±0.3ms
                  10000       257±0.8ms
               ============ =============

[100.00%] ··· Running spatial.SphericalVorSort.time_spherical_polygon_vertex_sorting                                                                                ok
[100.00%] ····
               ============ ============
                num_points
               ------------ ------------
                    10       189±0.4μs
                   100        1.82±0ms
                   1000      18.2±0.1ms
                   5000      93.2±0.4ms
                  10000       191±1ms
               ============ ============

BENCHMARKS NOT SIGNIFICANTLY CHANGED.

When I implement the alternative proposed fix, using np.npy_intp at the Cython level as described above, I get unit test errors on a unix machine for the same two tests as above, but with slightly different tracebacks:
ERROR: test_sort_vertices_of_regions (test_spherical_voronoi.TestSphericalVoronoi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/treddy/github_projects/scipy/scipy/spatial/tests/test_spherical_voronoi.py", line 112, in test_sort_vertices_of_regions
    sv.sort_vertices_of_regions()
  File "/Users/treddy/.local/lib/python2.7/site-packages/scipy-0.19.0rc1-py2.7-macosx-10.7-x86_64.egg/scipy/spatial/_spherical_voronoi.py", line 306, in sort_vertices_of_regions
    self.regions)
  File "scipy/spatial/_voronoi.pyx", line 31, in scipy.spatial._voronoi.sort_vertices_of_regions (scipy/spatial/_voronoi.c:2318)
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int'

======================================================================
ERROR: test_sort_vertices_of_regions_flattened (test_spherical_voronoi.TestSphericalVoronoi)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/treddy/github_projects/scipy/scipy/spatial/tests/test_spherical_voronoi.py", line 121, in test_sort_vertices_of_regions_flattened
    sv.sort_vertices_of_regions()
  File "/Users/treddy/.local/lib/python2.7/site-packages/scipy-0.19.0rc1-py2.7-macosx-10.7-x86_64.egg/scipy/spatial/_spherical_voronoi.py", line 306, in sort_vertices_of_regions
    self.regions)
  File "scipy/spatial/_voronoi.pyx", line 31, in scipy.spatial._voronoi.sort_vertices_of_regions (scipy/spatial/_voronoi.c:2318)
ValueError: Buffer dtype mismatch, expected 'npy_intp' but got 'int'

I thought this looked familiar, and indeed @rgommers and I have discussed this line of code / issue in detail. Check out that PR discussion for the gory details and concerns about types / overflow, which traces all the way back to ConvexHulldata handling / typing.
I don't see any compelling reason not to accept the originally proposed fix in this PR if the tests are passing on Travis AND windows (and I've confirmed the performance is stable in py2), but I do agree that it would be nice if the typing could be fully converted to np.npy_intp without issues. This hasn't proven possible despite our best efforts. At the very least, my thorough testing in the PR linked above provides some confidence that i.e., overflow issues resulting from the use of int are exceedingly unlikely (because ConvexHull can't handle enough data for that anyway).

OK, thanks for checking @tylerjereddy, and thanks Christoph for the fix. Merging.

forward ported in gh-7085


Add Bower Support

I know ChocolateChip-UI is availible through NPM but it would be great to have it also availible through Bower.
I will add this and create a pull request if this is desired.

Actually, we'll looking to this. I think it's just a matter of adding a bower.json file to the repository. Busy with other issues for the next few days, so hold on.

Will do. Thanks for the update.

For anyone wanting Bower, we do have a very good NPM module: https://www.npmjs.com/package/chui
Install and create basic projects from command line.


Change the height and the pressure values of CAP and PBL

pb2nc sets the height and pressure from the message if the variables are available. So the computed CAPE and PBL value can be generated with different pressure or height values. Perry asked us to set the pressure to NA and the height to 0 for derived CAPE and PBL.

Fixed and merged to master_v8.1 and develop branches


Add support for MemoryCacheEntryOptions.ExpirationTokens

Add support to FusionCacheEntryOptions for ExpirationTokens.
Update FusionCache with Memory.Eviction event to call Remove when a Token is expired. This forces complete eviction of cache entries out of distributed and sending backplane notifications
Added tests for Memory Cache eviction.
Update Docs for Options
Addresses https://github.com/ZiggyCreatures/FusionCache/discussions/61

Hi @b-twis , thanks for the PR!
I will take a look at it as soon as possible.

@jodydonetti sorry, had some merge issues getting it aligned after the most recent changes which required a force-push to cleanup.
I have reapplied the changes onto the latest main branch, if you could please take a look.

Hi @b-twis , first of all thanks for your contribution!
Before moving further, I've trid to answer your design considerations in the original issue here.
Let me know what you think.

Posted my thinking here.
Closing for now since there has not been a response.
Will reopen for sure in case something new will came up.


Docs not giving correct info for MacOSX config file location

Description
At least in MacOSX Sonoma, the current doc information fails to identify any means by which the config file can be found. The doc should make it very clear how and where to find it.
Type of correction

[ ] Missing Content
[ ] Broken Link
[x] Inaccurate content
[ ] Outdated/Deprecated content
[ ] Inappropriate content
[ ] Document structure needs updating

Link
https://github.com/EmotiBit/EmotiBit_Docs/blob/master/Working_with_emotibit_data.md#emotibit-oscilloscope-settings
Screenshots

@mikkokotila Can you highlight which config file you are talking about? The link to config.txt is common for all operating systems.
And the location of the Oscilloscope Settings-files are linked in the location you have already highlighted. If you have specific comments on the problems you faced, please let us know and we can address those.
If you are talking about another configuration file, please let us know and we can update the documentation to increase the clarity.

@mikkokotila the application package is os agnostic.
For example, the docs say that the settings files can be found in EmotiBitSoftware-macOS/EmotiBitOscilloscope.app/Contents/Resources/
and that is where it is, even in the latest macos-Sequoia 15

Maybe the .app is causing the confusion? Macos by default hides the extension on application bundles, therefore EmotiBitOscilloscope.app shows up as EmotiBitOscillosocpe. If that is indeed the confusion you are highlighting I understand and we can make that patch to update to clarity.


Demo project does not compile

{$include CompilerOptions.inc} has to be commented out because the file is not included
uses WinMemMgr has to be commented out because the file is not included
uses MemTest has to be commented out because the file is not included
uses CorrectLocale has to be commented out because the file is not included
The .dproj file is missing and therefore the following properties are not set:
a.  Use .\..\source\ and .\..\source\windows\ as search path
b. Compile as a console application
c. Enable detailed map file
d. Post-Build event

Yes, I have much more own library units than I'm willing go post here, including an Memory Manager replacement (as the built-in one fragments address space too much) and a Memory validator (including allocations made by COM).
As for the dproj file: Delphi 2009 and 10.1 do not work well with the same dproj. D2009 sometimes gets confused with some msbuild things inside the dproj or otherwise, and D10 has problems with adding the 64bit part to a D2009 dproj and inheritance of options (for example, enabling the IDE debugging can cost you hours). So just create one yourself.

Please also see my comment to the other issue (as not being intended to be a stand-alone "project" in the first place).


Geo-coding

We want to add to each Incident a property place of type Place[] where Place is defined as:
interface Place {
    municipality: string
    country: string
}

When an admin creates/updates an Incident, the places should be set by reverse geocoding each of the Coordinates on the location property
Stadia Maps Geocoding APIs
Also, if possible, we want to be able to search general locations and zoom in on them by geocoding the text. In particular, we would want admins to be able to do this and the ability to search by municipality (hopefully this "just works" with their geocoding API). We can split this part into a separate issue if it seems right to do so.

We don't need this actually, based on what Frederic said today when I met with him


Fix quality bonus of 'Summon Skeleton' and 'Vaal Summon Skeletons'.

I don't think there was a reported bug, but I noticed changing quality had no influence on their damage.
Fixed to the best of my knowledge.

I think you missed the comment at the start of those files stating:
This file is automatically generated, do not edit!
The skill data files, as with most of the data files used by the program, are generated from template files using the export system, so editing them is futile. The best you can do in these cases without setting up the exporter on your system (which is a little involved, due to dependencies) is to submit pull requests for the template files, which are in Export/Skills. I've made the necessary changes to fix this particular issue, though.

Cool, thank you.


Power Automate flows for Field Service portal

Step 2: Configure email and SMS connectors in Power Automate
There are 5 flows in the Dynamics 365 Field Service PowerApps Portal – Flow solution, not 3.
Two flows are turned off

Field Service PowerApps Portal Flow Email Notifications
Field Service PowerApps Portal Flow SMS Notifications

You cannot edit these flows - "This flow cannot be updated because the managed properties of this solution component do not allow customizations."
You have to edit the flow and in the flow details page, use Save As to create a copy of the flow so that you can create connections for the flows

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

ID: 882b812b-2c1b-f033-7dfa-43a329a1d420
Version Independent ID: 97269cb4-2ebd-3a1f-0231-76fc78ef90bf
Content: Enable self-scheduling service appointments in Dynamics 365 Field Service (contains video)
Content Source: ce/field-service/scheduling-self-customers.md
Service: dynamics-365-field-service
GitHub Login: @Deana-Fuller
Microsoft Alias: drfuller

Thanks for your comment, @julians1966. This issue has been assigned to the doc author for review.

Also the flows are incorrectly named in step 2

"Field Service PowerApps Power Flow Email Notification" should be "Field Service PowerApps Portal Flow Email Notifications"
"Field Service PowerApps Power Flow SMS Notification" should be "Field Service PowerApps Portal Flow SMS Notifications"

Hi Julian @julians1966, we're working on revising the Field Service portal docs entirely and the update for this issue is already implemented in the draft version. I've linked my internal working branch to this issue to it will automatically close as completed when I merge that branch (might take another week or two). It then takes a few hours to see the changes in the live site but you'll notice an updated structure and updated content.
Thanks again for reporting it and please keep the feedback coming!
Michael


can implement tokenswap demo for solana dex?

very appreciate.
my implement always wrong in tokenswap.  i do not know how to solve.

@enjoyhomelife I remembered. There are some demo scripts here https://github.com/kal1er/simpleClient-for-pyserum.


Add support of java.time.LocalDate to quill-cassandra

Version: (e.g. 2.1.0)
Module: (e.g. quill-cassandra)
Expected behavior
encoding for java.time.LocalDate
Actual behavior
no encoding for java.time.LocalDate
Workaround
Use MappedEncoding
  import com.datastax.driver.core.{LocalDate => CasDate}
  import java.time.{LocalDate => JavaDate}

  implicit val encodeJavaLocalDate = MappedEncoding[CasDate, JavaDate](x =>
    new JavaDate(x.getYear, x.getMonth, x.getDay))

  implicit val decodeJavaLocalDate = MappedEncoding[JavaDate, CasDate](x =>
    CasDate.fromYearMonthDay(x.getYear, x.getMonthValue, x.getDayOfYear))

@getquill/maintainers

Hi @fwbrasil @mentegy, I am trying to do the same thing but to map Cassandra timestamp to String. Any idea?

@todor-kolev Since String is already mapped by quill you cannot use this type to map another cassandra type. The easiest way is to create some wrapper like case class StringTimestamp(value: String) and provide mapped encoding:
implicit val encodeStringTimestamp = MappedEncoding[StringTimestamp, Timestamp](strtimestamp => ???)
implicit val decodeStringTimestamp = MappedEncoding[Timestamp, StringTimestamp](timestamp => ???)

@mentegy Yeah that would work, it's just that I was using a case class from another library to map the Cassandra entity to and that would mean that I need to create an almost exact replica of this case class with just one difference - the type of the timestamp field now being StringTimestamp.  Thanks for your help!


Plugin generated a warning from the characteristic

Hello,
you since newest my log is spammed with the following message:
[homebridge-midea-air] This plugin generated a warning from the characteristic 'Target Humidifier-Dehumidifier State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.
Can you help me?
Thx

same here...
Docker Homebridge
Comfee Dehumidifier
This plugin generated a warning from the characteristic 'Target Humidifier-Dehumidifier State': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info.

send full log

Did you try version 1.6.4?

Yep thx dude you fixed it ;)

Yep thx dude you fixed it ;)

confirmed, it works for me too

thanks for the update


Add cardinality properties for 27 spaces

This PR adds cardinality properties for 27 spaces. 20 are of cardinality $\mathfrak c$, 2 are of cardinality $2^\mathfrak c$, 1 is of cardinality $\aleph_0$, and the remainder I added properties for but was unable to determine the precise cardinality of. For reference, the list of these spaces and what I know of their cardinalities is as follows:

S92 Thomas corkscrew; $|X| \ge \mathfrak c$
S147 A Luzin subset of the reals (Scheepers 1999);  $\aleph_0 < |X| \le \mathfrak c$
S148 A Luzin subset of the reals (Just et al 1996);  $\aleph_0 < |X| \le \mathfrak c$
S180 Solomon's scattered space; $|X| \ge 2^\mathfrak c$

I also corrected the description of P58 "Cardinality < $\mathfrak c$" and added links to spaces mentioned in the description of S92.

S40: remove P59
S45: remove P59
S54: remove P59
S92: add P65 instead of P58 (we know the cardinality exactly, as a corkscrew is formed by stacking up a countable number of planks)
S101: no need to assert P59, as it was already deduced
S180: were you able to look at the paper? (it's not open access for me)

S180: were you able to look at the paper? (it's not open access for me)

I was, via my university. Turns out I misread $2^{\aleph_0}$ as $2^{\mathfrak c}$ anyways, so I'm glad I reread it. Turns out the space is of cardinality $\mathfrak c$, since it's constructed as a set $S$ of cardinality $\mathfrak c$ along with points $x_{rs}$ for all $r\in (0,1), s\in F_r$ where $F_r$ is a particular family of sequences of reals, which have cardinality no greater than $\mathfrak{c}^{\aleph_0}=\mathfrak{c}$.


What if tiller is already installed?

Hi! I'm looking to use this plugin but I have tiller already installed in its name space with specific settings. Will the plugin screw the installed tiller when it runs or does it see that it's installed and skip? Or does it anyway leave the existing settings instead of say reinstalling? Not sure how to read the code unfortunately. Thanks!

It looks like it skips if already installed.


There is no way to delete the phone number or email address of a person

Will be added to Planned Features in UG.


Add folder filter to DEFAULT_IMAGE_FILES_INFO

The current filder is just for filenames, but in order to support more usage scenarios an additional filter for the folder names should be added.
The two filter parameter names are "file_pattern" and "folder_pattern". Both filters are case-insensitive. If missing or empty they are disabled.

@uweseimet I didn't ask when you introduced the filename filters, but I wanted to confirm the expected behavior: The filter here is a string of alphanumeric chars, and there are not special characters such as wildcards implemented, right? I don't think so looking at the code, but wanted to double check.
BTW, did you have particular scenarios in mind when users would want to filter files in the images dir? Off the top of my head, I could think of filtering a particular subdir, or filtering by file endings if you only want .iso files to be listed, say. But there seemed quite narrow cases.

@rdmark Yes, this is just a string, not a regex. Regarding the filtering if files, if you have a lot of files in a folder you may want to filter them by filename. Or by extension, which is also covered by the filename. I thought about introducing one more filter, for the extension only, but I decided against it. (This can be added any time if need should be.)
Clients are not forced to support filtering by filename, i.e. if you don't see a need for this in the web ui, you can just not offer this option. Or you can always set both filters to the same pattern, which is effectively the same as having a single filter for the complete filename, including the folder part.


Can no longer automatically infer size of resized images

You used to be able to do the following:

Supply both an ANM and directory image source:  truanm c -i original.anm -i images/ ...
...where images/ contains an image of a size that differs from the texture dimensions of its entry in original.anm...
...without needing to specify img_width/img_height.

Basically, the PNG dimensions would override those in the ANM entry, and the use case was to make life easier for people who need to make a sprite bigger than would fit in the original texture by not requiring them to write the new dimensions.  There used to be a test case for this here.
This functionality is no longer compatible with the new correct behavior for handling subregion extraction and compilation (see #67).  You must manually specify img_width/img_height if you are resizing an image, otherwise truth will interpret the offset/size from the ANM file as reading a region of the PNG.
Perhaps img_width: "auto" could at some point be added to restore this functionality.

wait wait wait i remember implementing this, doesn't it already do this i am confused


Fix bug with signal testing, add decimal parsing

Add decimal-like strings parsing (maybe useful). Supported formats: (2.145e-2, -22.1458)
Fix broken signal test case

Not for this project


Add support for always_bcc per domains

Originally created by Reza Muhammad on 2012-06-22T16:41:26Z
It would be great if there is a way to setup an 'always_bcc' per domains. It is generally useful for email archiving.

This issue was moved to modoboa/modoboa-admin#12


Show dependency tree breaks when attempting to use MobX v5

Mobx v5 isn't officially supported by this package yet but I wanted to start a conversation about the biggest breaking change I found when upgrading.

.$mobx property has been dropped from all observables and replaced by a Symbol. Instead of using x.$mobx.name, use import { $mobx } from "mobx"; x[$mobx].name etc.

This change breaks here:
https://github.com/mobxjs/mobx-react-devtools/blob/master/src/globalStore.js#L113
mobx-react solved this while keeping it backwards compatible in this commit:
https://github.com/mobxjs/mobx-react/commit/486f078e2dc1f164e9f814ebf0f22ad6374c6ff1

Fixed and released as<EMAIL_ADDRESS>


Setup Initial Repository Structure

[x]  Create a new GitHub repository.
[x]  Clone the repository to your local machine.
[x]  Initialize the project with npm init.

Closing this issue as the initial steps for project setup have been completed successfully.


Missing Slack link for the prototype kit channel on UK Gov Slack

In the Prototype Kit documentation there's a reference to Slack if people get stuck during installation. But we don't include a link to the Slack channel. It'd be good to include this.
Installation guide for new users
'This guide will walk you through installing and getting started with the kit. You don’t need any technical knowledge to follow along. If you get stuck, post a message on Slack, or if you have a developer on your team, they should be able to help.'

PR - Add install guide Slack link #698 raised to cover this.


Disney+ Clone (react)

Disney+ Clone (react) added with readme
#443
SS
https://user-images.githubusercontent.com/91609324/171232455-f108da7d-fcad-4116-9271-5a7e1ffcade3.mp4

BRO PLS GIVE ITS PR IN FRONTNDT REACT REPO

@Jaideep25-tech  closing this PR and made new in reactjs repo do check it out 😀


SSR on Multiselect 3.0.0 import problem

I'm running Vue-Multiselect 3.0.0 on Laravel 11. I simply using the basic syntax on documentation (copy and paste). I'm using Laravel inertia 1.2.0 on npm package and inertiajs/inertia-laravel on composer php also using node version 20.12.2. The problem is on SSR, it showed
SyntaxError: Cannot use import statement outside a module.
If I'm not turning on the SSR mode, it just went fine. Perhaps this is a bug because it is said to have SSR support officially.
I expected no errors to happened, I noticed it like 2 weeks after production when migrating the app. Here's the picture for reference. I confirm problem is within the package as I removed some of the usage in my vue files, it just went gone. Just not sure how to repair.
Update:
As I try to fix the issue, I update the file from vue-multiselect.esm.js to vue-multiselect.esm.mjs as well in its package.json file and it work as temporary solution.

Can you provide an example of the fault in a repo to we can try and reproduce this?


hello , I intall the lib. react native Qr scanner and i get an error

What's happening?

How can it be reproduced?

Build details?

hey @shubhamjz, can you describe it better telling us what exactly is the error that you're facing, please? I believe that just filling the fields, as suggested in the description of this issue, would be enough to help you as you need (:
by the way, it would be good to have a better title as well, because this issue could be useful for someone else facing the same problem 👌

closing this by inactivity and the missing of information, let me know if you're still having this problem @shubhamjz


Enhancment with Steam Guard code input

It would be better for it to automatically uppercase all letters in the input

truckersmp-cli doesn't handle any authentication. If you have to login, e.g. because you haven't saved your credentials in the steam client, then that part is entirely handled by steamcmd.


Exception Handler - Domain Exceptions should be registered

Currently they appear as just 500 unexpected error has occurred...

Domain exceptions should be able to be checked if valid, for specific ones, e.g. perhaps when trying to run methods with BL...


Contracts hash and data are not updated

Description
On contract update event deployment data and deployment hash are not updated and stored, they remain the same as before the update.
For example:
Contract 50401 on devnet:
https://gridproxy.dev.grid.tf/contracts/50401
It shows a hash of d74277ebc9bc1be9a7681a27dfca525a while querying the chain shows a hash of 95c3dee2b592ee9b92b909691d451f9f
After investigation with @sameh-farouk it turned out the processor ignores these changes for some reason here while it should set the data from the update event.

close as duplicated https://github.com/threefoldtech/tfchain_graphql/issues/135


OpenEBS CI to support cloud providers

OpenEBS CI must be able to deploy OpenEBS on various cloud providers and run test and performance suites on them.

See openebs.ci


asteroid, bounded

This pull request was generated by the 'mq' tool
[test]
flake rate: 0.4
logical conflict every: 100
sleep for: 300s
[pullrequest]
requests per hour: 30
deps=[a,b]

/trunk merge


Vertical Alignment

Hi,
thanks for your awesome work. Very useful !
It could be nice to have a special option for vertical alignment.
We can imagine predefined options like: top, middle, bottom
and with an offset.
Maybe that already exists but I found nothing.
Thanks.

Vertical alignment will be hard to implement on the current approach, as the modal tries to constantly adjust its height with the content height,
currently if you set the 'alignMiddle' property to false, it will stick the model on the top. unfortunately, bottom option is not available.


allows to be scheduled to non-request-serving nodes

What type of PR is this?
Bug
What this PR does / why we need it?
Allows the addon-operator pod(s) to be deployed to non-request-serving nodes.
Which Jira/Github issue(s) this PR fixes?
Fixes MTSRE-1845
Special notes for your reviewer:
I'm not exactly sure how to validate that the package is built correctly or that this deploys correctly on a cluster without deploying this, if something is wrong please feel free to take the relevant bits and adjust them as necessary and close this PR. Hopefully this at least illustrates the correct intention.
Pre-checks (if applicable):

[ ] Tested latest changes against a cluster
[x] Ran make go-test command locally to run all the unit tests and mock tests locally.
[x] Included documentation changes with PR - N/A

This requires more changes as we are using the pko template feature so few more changes need to be added .
I have added it here in this PR :  https://github.com/openshift/addon-operator/pull/609


Debugging non-encoded javascript code

Hello,
I am trying to use bytenode in such way that some of the application files will be compiled
and some will stay in plain source code. I would like to have the ability to debug the
non-compiled files.
The compiled file loads the non-compiled one and this works ok, but the
ndb debugger will not break at the debugger statement if it is being launched
through compiled file.
Any idea on that?

Can you provide a minimal setup that shows your issue?

I have tried a small project with index.js that requires module1.jsc which will eventually require module2.js.
module1.jsc was compiled using bytenode -c module1.js as usual.
I tried both debugger; statement and manual breakpoints inside module2.js, both works just fine with me. The ndb debugger will break as expected.
I'm using Node v14.16.1.

Thank you for the quick help!
Let me prepare the minimum example, we might discover something while preparing it.
I'm a bit suspicious - there are some eval() calls in the code...
Thanks,
Jure

Hello @OsamaAbbas,
I have prepared small setup with the code that I found suspicious, however it works fine.
https://github.com/jurepetrovic/encoding
You can do:
ndb simplay.loader.js
and the debugger statements are already inside.
However, the real code is still not working. The points I noticed:

if there is no debugger statement, the code will execute correctly to the end.
if there is debugger statement the code will hang there, but the ndb debugger will not show anything.

Any clues?
Thanks a million,
jure

Hello @OsamaAbbas,
okay, now I have a working example. And I cannot figure it out.
Please check here:  (https://github.com/jurepetrovic/encoding)
Running:

ndb simplay.loader.js works like a charm, the debugger will stop in simulworker.js, line 11.
ndb slotsimplay.loader.js will start and the debugger will hang on the same line, not showing anything.

My concern was there is an issue in this Thread loading logic. However, in that case simplay would not work properly.
What does slotsimplay.js contain to prevent proper debugging?
Thanks,
Jure

Ok, I changed line 124 to change anonymous function to the classic declaration.
this. simulate = function() {}
https://github.com/jurepetrovic/encoding/blob/master/slotsimplay.js
However, I don't understand why anonymous functions can be a problem?
Thanks,
Jure

Arrow functions have cause a few issues and bugs before. I don't know the exact reason, but I believe it is related to the way v8 handles them in the C++ source code. So there is nothing that can be done to fix them from bytenode or node itself.
I will add your case to the known issues and limitations in the README file soon.
Thank you for reporting and finding out the cause of the issue.

Thank YOU for bytenode actually.
Is there any way to fix the case where the code does:
var code = fs.readFileSync("./file.js").toString();
eval(code);
yes, I know - but people still do this :)
Thanks,
Jure

This code:
var code = fs.readFileSync("./file.js").toString();
eval(code);

Should work with bytenode. So if that code is in a file named script.js and you compiled it to script.jsc: it will work as usual.
The only place where toString() does not work is with function objects. If you have a function and your code depends on its string content (for analyzing purposes, or transpiling, or to send it to another context like in Puppeteer), then it won't work with bytenode and you will have to find another way. However, all these purposes are typical in tools and utilities, not in your everyday code.

No, not this case :-)
The problem is, when you need "file.js" encoded

No, not this case :-)
The problem is, when you need "file.js" encoded

This can't be done. If you want to protect file.js too, you have to change the previous code.


Multiple fixes for development setup problems caused by celery

Short description

See: https://chat.tuerantuer.org/digitalfabrik/pl/p1ndf4rjaibdiqm3k4g1foeyer
Proposed changes

(temporarily?) downgrade celery and setuptools
add further celery/redis artifacts to gitignore
start redis server in nix flake, since it is now required due to celery

Side effects

downgrading celery is probably a non-issue, but I am not 100% about setuptools.

Resolved issues

Fixes: n/a

Pull Request Review Guidelines

Thank you! It looks good to me but I have no idea about nix. In the coming days I will probably create a similar PR for Dev Container.

Ah, great! The devcontainer is the thing I have no clue about :D


True "done" event?

I want to be able to change things in the download row after the upload is fully complete. Whenever I use the fileuploaddone event or the fileuploadstop event, I am unable to find data in the "template-download" table row, only the "template-upload" row.
Is this even possible?

Thanks for the suggestion. I've added several new events/callbacks in this commit:
https://github.com/blueimp/jQuery-File-Upload/commit/02c859529ded0d029bb76a4199a2bdcb0d692455
The Options/Callbacks/Events documentation has been updated (scroll to the bottom of the page):
https://github.com/blueimp/jQuery-File-Upload/wiki/Options


interface Geolocation (lib.d.ts) has the wrong type for watchId

This is the definition of Geolocation in lib.d.ts:
interface Geolocation {
    clearWatch(watchId: number): void;
    getCurrentPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): void;
    watchPosition(successCallback: PositionCallback, errorCallback?: PositionErrorCallback, options?: PositionOptions): number;
}

watchId variables in watchPosition() and clearWatch() are declared as numbers, but actually the Cordova documentation on Geolocation states it's a string.

@zhengbli can you take a look.

Both watchId and clearWatch() are indeed number in the spec. And they are also defined as long in the w3c spec.

Looks like by design then.


fix: re-evaluate isRenderable on alpha change

On low powered devices / heavy operation UI's there might be a race condition where the animation/transition is ends prior to the update loop finishing its first run. This causes the isRenderable to not be evaluated in time for the alpha changes to take affect.
This PR ensures isRenderable is always re-evaluated on an alpha change and moves the worldAlpha calculation slightly up to ensure it gets handled in the correct order if its a 1 shot update.
Also save a little processing by ensuring on alpha change the children only re-evaluate the worldAlpha and not a global, reducing child update processing.
Fixes #388
Might fix #372  - though cant reproduce to validate on my setup (even with 20x slowdown).

This indeed seems to fix the issue in #372


Export data citations to markdown for README

DBS suggests looking into Pandoc

Regenerate dataset table to include Medoc papers

Regenerate dataset table to include Medoc papers

This has been attended to, correct?

Correct.  Done.


matchRoute export is missing in wouter-preact

matchRoute helper was exported recently with https://github.com/molefrog/wouter/pull/456 from wouter package but wouter-preact is missing this export

Hmm... I can see that it is exported here https://www.npmjs.com/package/wouter-preact?activeTab=code in file esm/index.js at the very bottom.

Hmm... I can see that it is exported here https://www.npmjs.com/package/wouter-preact?activeTab=code in file esm/index.js at the very bottom.

Oh sorry, then I think the type is not exported. It's not listed in index.d.ts

Right, we forgot to export the type. I've fixed this in 3bbf10a40de1b12776364b3c891eb08a74d7330a
You can upgrade to the latest version and this error should be gone.


Changes to make scala 2.13.0-M5 supported

One test needs to be changed, and may need a specific scala 2.13 version, but otherwise this works.

It seems these changes have been subsumed by https://github.com/estatico/scala-newtype/pull/41, which I've merged. The only other changes appear to be some minor style edits to build.sbt (changing the () to {}). If there's something else introduced by this PR that should be included, let me know; otherwise, we can probably close it.

I'll go ahead and close this for now, please reopen if there's something I've missed!


Replace fake player code with fakelib

Replaces the fake player code with fakelib's fake player.
https://content.minetest.net/packages/OgelGames/fakelib/

A few weeks ago I wanted to implement the fake player API in the engine using a detached RemotePlayer so that such implementations would no longer be necessary. Unfortunately such addition would require special handling in many functions.
For the time being I suppose it's easiest to rely on a "proper" Lua implementation. The code looks good. I'll give it a try by the next opportunity.

Thanks. Will merge in a few days unless there are objections.


This should not be in the source. It could be sourced from a config file.

https://github.com/lawen4cer/storm-bot/blob/47f68c16084ee7e094fc5fc21568642c9a299863/src/main/java/Events/GameEventChange.java#L22-L35

Fixed. Thanks again chad for pointing this out.


PRIVACY MANIFEST FILE FOR IOS

Description

Use Case

Here are two helpful links describing the issue. It does appear as the root cause is this library
https://stackoverflow.com/questions/78163859/itms-91053-missing-api-declaration-privacy
https://github.com/FlutterFlow/flutterflow-issues/issues/2527

This library uses NSFileSystemFreeSize, and systemFreeSize needs to declare NSPrivacyAccessedAPICategoryDiskSpace.

Here's an additional resource from Apple about these Privacy Manifest requirements from SDKs and apps:
https://developer.apple.com/videos/play/wwdc2023/10060

@mikehardy Could you help us with this, do you know if we already have something in mind?

Should I fix this immediately? Or this is just warning and I can fix this before 2024/5/1 ?

@frankA10019 Its a warning currently, personally like most people I'm sure they have a list of these libraries to work through, I for one would like to see things fixed asap so I can see progress being made.

Same problem

Ideally, if we're not using the calls, it would be great to not have them included in the source code, so that no privacy manifest is required.
Perhaps we could take a similar approach to that of react-native-permissions; if you want to get access to a permission API, you have to uncomment that permission in the Podfile. This links the source code in:
https://github.com/zoontek/react-native-permissions?tab=readme-ov-file#ios

Apple docs ref, btw:
https://developer.apple.com/documentation/bundleresources/privacy_manifest_files/describing_use_of_required_reason_api

:wave: reading the docs and looking at how this field is used in this lib, it sounds to me like it might be worth requesting a new reason for the diskspace apis using the link provided there that is similar to those in the other categories:
Declare this reason if your third-party SDK is providing a wrapper function around file timestamp API(s) for the app to use, and you only access the file timestamp APIs when the app calls your wrapper function.
This reason may only be declared by third-party SDKs.
This reason may not be declared if your third-party SDK was created primarily to wrap required reason API(s).
Information accessed for this reason, or any derived information, may not be used for your third-party SDK’s own purposes or sent off-device by your third-party SDK.

if such a reason existed for the disk space APIs believe this lib would qualify as it is just asking disk space when client apps request it. Unfortunately currently does not, but might be added if requested.
barring that a version with a way to not include that code would be great.

I've opened this PR to add the privacy manifest, let me know if it's all good or the reasons need to be changed https://github.com/react-native-device-info/react-native-device-info/pull/1624

Does anyone know if this is necessary? Apple doc said only the listing SDKs need to include the privacy manifest file.

I think is clear that this library should include the manifest.
React Native team has release a comprehensive post about it: https://github.com/react-native-community/discussions-and-proposals/discussions/776.
Any SDK that does use of APIs that are follow under privacy policy, needs to define a privacy manifest. Since this library use NSUserDefaults, NSFileSystemFreeSize and NSFileSystemSize, it will need to publish a privacy manifest.

Maybe Async Storage's lastest version can help with some inspiration :D
https://github.com/react-native-async-storage/async-storage/pull/1076

+1

I ended up removing the disk space code as I didin't need it. A patch below for those interested:
diff --git a/node_modules/react-native-device-info/ios/RNDeviceInfo/RNDeviceInfo.m b/node_modules/react-native-device-info/ios/RNDeviceInfo/RNDeviceInfo.m
index 4b4b4dd..ddf8290 100644
--- a/node_modules/react-native-device-info/ios/RNDeviceInfo/RNDeviceInfo.m
+++ b/node_modules/react-native-device-info/ios/RNDeviceInfo/RNDeviceInfo.m
@@ -511,12 +511,7 @@ - (double) getTotalMemory {

 - (double) getTotalDiskCapacity {
     uint64_t totalSpace = 0;
-    NSDictionary *storage = [self getStorageDictionary];
-
-    if (storage) {
-        NSNumber *fileSystemSizeInBytes = [storage objectForKey: NSFileSystemSize];
-        totalSpace = [fileSystemSizeInBytes unsignedLongLongValue];
-    }
+    // Remove disk space APIs to not to trigger NSPrivacyAccessedAPICategoryDiskSpace for privacy manifest
     return (double) totalSpace;
 }

@@ -530,12 +525,7 @@ - (double) getTotalDiskCapacity {

 - (double) getFreeDiskStorage {
     uint64_t freeSpace = 0;
-    NSDictionary *storage = [self getStorageDictionary];
-
-    if (storage) {
-        NSNumber *freeFileSystemSizeInBytes = [storage objectForKey: NSFileSystemFreeSize];
-        freeSpace = [freeFileSystemSizeInBytes unsignedLongLongValue];
-    }
+    // Remove disk space APIs to not to trigger NSPrivacyAccessedAPICategoryDiskSpace for privacy manifest
     return (double) freeSpace;
 }

Thank you for your cooperation.
Also, it looks like this PR is Approved, but will it be merged?https://github.com/react-native-device-info/react-native-device-info/pull/1624
I'm wondering if the privacy manifest will be added as well as AsyncStorage.

I'm not sure if the reason given for NSPrivacyAccessedAPICategoryDiskSpace in https://github.com/react-native-device-info/react-native-device-info/commit/23f95dbe55f38f11fc2cba8efe0eb3e11676d07b is legit..
85F4.1 corresponds to

Declare this reason to display disk space information to the person using the device. Disk space may be displayed in units of information (such as bytes) or units of time combined with a media type (such as minutes of HD video).

If we're not using getTotalDiskCapacity or  getFreeDiskStorage, then we're not displaying disk space info anywhere, meaning if Apple enforces this in the future our apps may be at risk. On top of that, shipping an app with 10.13.2 would arguably break compliance for us.
I think what @dansimau said in https://github.com/react-native-device-info/react-native-device-info/issues/1622#issuecomment-2007619898 would be safer (other than straight up removing the APIs)

Ideally, if we're not using the calls, it would be great to not have them included in the source code, so that no privacy manifest is required.
Perhaps we could take a similar approach to that of react-native-permissions; if you want to get access to a permission API, you have to uncomment that permission in the Podfile. This links the source code in: https://github.com/zoontek/react-native-permissions?tab=readme-ov-file#ios


Add HTTPException handling for if the engine fails to the /query endpoint #12 #13

Add HTTPException handling for if the engine fails to the /query endpoint #12 #13

 📝 Indexing
I'm indexing your repository.


Search bar issue has resolved  #1026

Fixes Issue
Closes  #1026
Changes proposed
Make a changes in the style.css file.
And i also make a change in the index.html file because in this file the closing script tag was missing.
Screenshots

now it is properly working ?

Yes, It is working properly. I checked it.


Issue #98 Row Selection Behavior

I fixed this issue by adding additional scope attributes on the mdSelect directive. I kept the default behavior if this attributes are not included.
--md-select-all : Expects an array of Objects, this will select all rows across all pages.
--md-search : Expects a string(variable you filtering on ), this will select all rows across all pages that show up when filter is applied.

Could you give an example of how this is used please.


Upgrade org.pitest:pitest-maven 1.9.5 -> 1.9.6

This PR contains the following updates:

Package
Type
Update
Change

org.pitest:pitest-maven (source)
build
patch
1.9.5 -> 1.9.6

Release Notes

hcoles/pitest
v1.9.6
Compare Source

1092 - Upgrade to ASM 9.4
1091 - Properly escape coverage XML
1088 - Remove unused dependency distance param
1085 - Do not produce timestamp reports by default

Note that 1085 changes the default behaviour so reports are no longer written to timestamped directories by default. If you require this behaviour you will need to explicitly enable it.

[ ] If you want to rebase/retry this PR, click this checkbox.

Suggested commit message:
Upgrade pitest-maven-plugin 1.9.5 -> 1.9.6

See:
- https://github.com/hcoles/pitest/releases/tag/1.9.6
- https://github.com/hcoles/pitest/compare/1.9.5...1.9.6


How to pass --exit to mocha ?

My package.json script
"scripts": { "test": "istanbul cover node_modules/mocha/bin/_mocha test/Testcases/ --exit"   }
I want to run Istanbul coverage for mocha testcases, but after executing all the testcases mocha just hangs and hence istanbul coverage command doesn't run, so I tried passing the exit command, but it's not working still.
Am I missing ?

is there some reason you can't use nyc?
what version of mocha are you using?
ideally this script would be
{
  "test": "nyc mocha --exit test/Testcases"
}


Added Prettier and a .prettierrc to auto-format YAML now, and Ruby in the future

I've started using the formatOnSave option in VS Code with Prettier, and it's amazing. I feel so much more productive. It's especially useful for open-source projects. Prettier enforces a consistent style, so you don't have to think about code formatting in PRs.
I noticed that Prettier was fixing a few things in the YAML files, so I've set up a .prettierrc configuration file that matches the current format (single quotes, and tab width: 2.) I also ran it on the existing YML files with: prettier --write *.yml **/*.yml. (I've added a ./bin/format command that people can run before sending PRs.)
I've also added a minimal package.json and yarn.lock so that people can run yarn install to install the right version of Prettier.
It's also worth mentioning that prettier-ruby is being developed, so we might be able to auto-format Ruby code in the future. This will pair really nicely with RuboCop, just like Prettier + eslint. Prettier can auto-format the code, and then RuboCop will handle the code linting with cops. When prettier-ruby is stable and ready for production, the ./bin/format command can be updated to format all the Ruby files as well.
(I know it's a bit weird to add a JavaScript tool to a Ruby project, but it works really well and has a huge community.)

RuboCop::RSpec::ConfigFormatter is taking care of YAML files formatting in rubocop-rspec. It might be beneficial to extract it to rubocop for other extensions to be able to make use of it.
Are you up to contribute this, @ndbroadbent ?

@ndbroadbent ping

I'll close this PR because it taken #645, which does not depend on Prettier and it can be consistent with the RuboCop core. Anyway thank you take the time for that.


API resource representation should be consistent in all the views

Describe the issue:
When viewing the API resources, the management APIs and Organization APIs separation make it easy to understand and access the system and business APIs.
image 1

But that improvement is not reflected in some other views which are more likely to be used for the management operations.
2 - Authorizing APIs to the application

3 - Assigning scopes to the roles.

If we can group the APIs based on the type, better if we can have Tenant APIs above the Organization APIs as shown in the image 1.
Expected behavior:
The UIs should be consistant and should improve the UX
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 7.0.0-beta6]
OS: [Mac]
Database: [H2]
Userstore: [DBC]

This is identified as a UX issue by external users as well https://discord.com/channels/955510916064092180/1200392660817559602/1201536740041691199

We may have to use multi level dropdown menu or any convenient UX


release 0.0.4

add checkstyle
wrap return value in optional

Codecov Report

Merging #3 into master will decrease coverage by 0.25%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
- Coverage     33.33%   33.07%   -0.26%
+ Complexity       65       64       -1
============================================
  Files            36       36
  Lines           258      257       -1
  Branches          0        1       +1
============================================
- Hits             86       85       -1
  Misses          171      171
  Partials          1        1

Impacted Files
Coverage Δ
Complexity Δ

...otlin/com/truedev/kinoposk/api/model/staff/Data.kt
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

.../kotlin/com/truedev/kinoposk/api/model/top/Data.kt
66.66% <ø> (ø)
2 <0> (ø)
:arrow_down:

...ruedev/kinoposk/api/service/KinopoiskApiService.kt
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...m/truedev/kinoposk/api/model/people/Filmography.kt
9.09% <ø> (ø)
1 <0> (ø)
:arrow_down:

...tlin/com/truedev/kinoposk/api/model/review/Data.kt
20% <ø> (ø)
2 <0> (ø)
:arrow_down:

...n/com/truedev/kinoposk/api/model/staff/StaffExt.kt
50% <ø> (ø)
2 <0> (ø)
:arrow_down:

...tlin/com/truedev/kinoposk/api/model/people/Data.kt
11.11% <ø> (ø)
2 <0> (ø)
:arrow_down:

...lin/com/truedev/kinoposk/api/model/film/FilmExt.kt
50% <ø> (ø)
2 <0> (ø)
:arrow_down:

.../kotlin/com/truedev/kinoposk/api/model/top/Type.kt
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...truedev/kinoposk/api/service/KPApiClientService.kt
65.38% <25%> (-1.29%)
3 <0> (-1)

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 2728c71...5c2643f. Read the comment docs.

Codecov Report

Merging #3 into master will decrease coverage by 0.25%.
The diff coverage is 25%.

@@             Coverage Diff              @@
##             master       #3      +/-   ##
============================================
- Coverage     33.33%   33.07%   -0.26%
+ Complexity       65       64       -1
============================================
  Files            36       36
  Lines           258      257       -1
  Branches          0        1       +1
============================================
- Hits             86       85       -1
  Misses          171      171
  Partials          1        1

Impacted Files
Coverage Δ
Complexity Δ

...otlin/com/truedev/kinoposk/api/model/staff/Data.kt
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

.../kotlin/com/truedev/kinoposk/api/model/top/Data.kt
66.66% <ø> (ø)
2 <0> (ø)
:arrow_down:

...ruedev/kinoposk/api/service/KinopoiskApiService.kt
100% <ø> (ø)
9 <0> (ø)
:arrow_down:

...m/truedev/kinoposk/api/model/people/Filmography.kt
9.09% <ø> (ø)
1 <0> (ø)
:arrow_down:

...tlin/com/truedev/kinoposk/api/model/review/Data.kt
20% <ø> (ø)
2 <0> (ø)
:arrow_down:

...n/com/truedev/kinoposk/api/model/staff/StaffExt.kt
50% <ø> (ø)
2 <0> (ø)
:arrow_down:

...tlin/com/truedev/kinoposk/api/model/people/Data.kt
11.11% <ø> (ø)
2 <0> (ø)
:arrow_down:

...lin/com/truedev/kinoposk/api/model/film/FilmExt.kt
50% <ø> (ø)
2 <0> (ø)
:arrow_down:

.../kotlin/com/truedev/kinoposk/api/model/top/Type.kt
100% <ø> (ø)
2 <0> (ø)
:arrow_down:

...truedev/kinoposk/api/service/KPApiClientService.kt
65.38% <25%> (-1.29%)
3 <0> (-1)

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 2728c71...9fe2c87. Read the comment docs.


Custom icons for Properties

Is your feature request related to a problem? Please describe.
Obsidian by default doesn't offer much customization for Properties outside of name, and the icons are determined solely by data type
Describe the solution you'd like
Ideally, in Properties view, right-clicking a custom Property would let you choose a custom icon to accompany it, and that icon will replace the default icon based on its type (e.g. if you have a List property, instead of the List icon, you could change it to a different one)
Describe alternatives you've considered
I have tried using a CSS snippet to override the icons, but this only works in the Properties editor that shows at the top of a note, not in the sidebar (CSS selectors can't filter by element content, and that's the only way the property names are exposed)
Additional context
Results of aforementioned CSS snippet:

(it's a rather messy snippet, using SVG inlining to replace the icon, and I don't think it would hold up at scale; I mostly offer this as an example use case)

I just opened a PR (https://github.com/FlorianWoelki/obsidian-iconize/pull/353) which makes it possible to associate file properties with specific icons using custom rules. So the solution is a little different from what you proposed, rather than right-clicking a property, you would go to the Iconize plugin settings and add a custom rule.
For example, if you wanted a particular icon for all files that have a characters property you would simply write:
this.characters


Wrong layout for "Create PR" page on personal server

Gitea version (or commit ref): 1.10.0+dev-189-g08c63190c
Git version:
Operating system: N/A (docker gitea/gitea:latest)
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[x] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[x] No
[ ] Not relevant

Log gist:

Description
The "Create Pull-Request" page is full-width instead of being "contained" like other gitea page. I checked the DOM of the pages, and here is what I found:

on https://try.gitea.io, the containing <div> has ui container classes;
on my server, the containing <div> has ui container fluid padded.

Tested on the same browser and same display for both hosts. On a newly created gitea server, the layout is correct.
Here is my docker-compose.yml:
version: '2'

services:
  server:
      image: gitea/gitea:latest
      restart: unless-stopped
      hostname: gitea.myhost.fr
      environment:
        VIRTUAL_HOST: 'gitea.myhost.fr'
        VIRTUAL_PORT: '3000'
      networks:
        - proxy
        - default
      expose:
        - '3000'
      ports:
        - '2222:22'
      volumes:
        - data:/data

  drone:
    image: drone/drone:latest
    restart: unless-stopped
    hostname: drone.myhost.fr
    environment:
      VIRTUAL_HOST: 'drone.myhost.fr'
      DRONE_GITEA_SERVER: 'http://server:3000'
      DRONE_GIT_ALWAYS_AUTH: 'true'
      DRONE_RUNNER_CAPACITY: 2
      DRONE_SERVER_HOST: 'drone.myhost.fr'
      DRONE_SERVER_PROTO: 'https'
      DRONE_TLS_AUTOCERT: 'false'
      DRONE_USER_CREATE: 'username:mikael.capelle,admin:true'
    networks:
      - proxy
      - default
    expose:
      - '80'
    volumes:
      - drone:/data
      - /var/run/docker.sock:/var/run/docker.sock

volumes:
  data:
    driver: local

  drone:
    driver: local

networks:
  proxy:
    external:
      name: nginxproxy

Screenshots
Here is what I have on my server:

Here is what I expect (try.gitea.io):

Do you have customize page?

@lunny No, I am using the standard gitea/gitea image and I have not modified anything except the app.ini file.

On try.gitea.io, now this UI is also full-screen-width. So I think it's not a problem, but by design now.


matchers: add firstOf matcher

For something like ALPN list matching, we need a way to say: iterate over the input, which is a list, until the inner matches accepts.
The core API does not provision this use case, so this has to be done as a meta-matcher with a custom matcher.

I think it is a good idea to add firstOf matcher, but first we have to reconstruct Envoy::Matcher::DataInput. We can only get string result currently, and we need list for ALPN and ProtobufWkt::Value for metadata.

Correct. We can make DataInput produce a variant of a string and a vector of strings like CelValue does it as a start. Protobuf is not good for generic runtime objects AFAIK. Alternatively, we can use string and then parse as a list when necessary yielding string views.

/assign @vikaschoudhary16


Fix inexact wording in M4.03 Q1

Related to #590. Do not close Issue until changes have been done in FUN.

Thanks!

FYI I merged the matching MR on the private repo.


Initial seeding from MP sandbox

Signed-off-by: Gordon Hutchison<EMAIL_ADDRESS>

Did you mean for this to be in a directory structure of /proposals/event-sourcing? I think we can just have it at the root.

@kenfinnigan I had mirrored the structure of the microprofile-sandbox, but I think you are right so have moved the files up towards the root.

Is the idea that what's in /proposal becomes a possible spec doc?
I think initially it's probably easier to have all that information/docs in the main repo README, no?
The main piece of work here is developing a set of APIs and then implementing them. Whatever might constitute a "spec doc" would be the last piece

I consider the REDAME, proposal and spec docs to be different documents.
The README's job is to be the readable webpage/landing page for the repo - an attractive open door.
The proposal is a document making the case to exit the sandbox and become a proper MicroProfile project it is not a draft specification document. For example, topics like value, approach and possible future directions and others that are useful in a proposal do not belong in a specification.
The specification would be developed only based on our findings and subsequent work as an accepted
project group and ideally be created with an open process of issue/PRs/hangouts (if desired) and so on.

@kenfinnigan  I am happy to start with a blank page for the draft proposal doc
developed 100% as a group effort but at this stage I am just dumping ideas and
trying to raise interest.
I believe we need some readable text in order to share the idea of the spec area
in order to help to have an sigpost/open door to whomever wants to get involved.
One of the reasons I choose 'proposal' and the sandbox was exactly because it
generates lots of attention. I once watched as Mark Struberg got
lots of 'energy' from the 'community' because he used the word
'specification' and the wrong package name in some strawman work
he was doing - #audatious. Lots of people popped up and said
he had no right to do it - but it kickstarted the effort which was
redone 'properly'.

In terms of dumping ideas, the best way to do that is to create issues.
You mention that the proposal doc is making a case for exiting the sandbox. We're not "in" the sandbox at present. This is meant to be for an implementation, once we have an implementation we can then revisit creating of a sandbox proposal based on what was learnt in the implementation

@kenfinnigan  @cescoffier I have moved the ideas/discussion material into the readme and made the draft proposal document a blank slate as suggested. Lets have a discussion about how to proceed. Shall we schedule a videocon sometime?  Perhaps after today, as the 'rules' for proposals
might change from the hangout and I have put this in the adgenda too.
What makes a good proposal?
I was pending Gunnar's opinion about where/how to work a little, but imagine you might have spoken to him in the meantime. Let me know any other changes you want in the PR.

@hutchig this isn't an MP proposal, so we don't need to do anything in the MP community.
What we're doing here is implementing an idea that might one day be part of MP.
I don't think there's need for any calls, we can do everything async via GH issues

@kenfinnigan Could it not be good audience for seeing if anyone (especially other vendors thant IBM-Redhat and users/customers) might be interested in being involved?
Either way, once the idea comes up once in the hangout (today hopefully) I will be happy to follow your lead from then on, while keeping an IBM green-light in the corner of my eye of course.
I would rather make SOMETHING 1.0 happen than be too opinionated about the mechanics/control
of exactly what/how it is done, #validatedlearning :-)

I'm not saying don't ask for those in the MP community to help contribute, just that right now it's not an MP spec to be discussed/agreed.
We're working on an implementation to see where it goes. It may even lead to us saying there really isn't anything useful above what's already available. We won't know until work is begun

Hey @hutchig, first of all, thanks for interest in CDC and your efforts for exploring how this could be brought together with mP, thinking about standardization etc. That's much appreciated!
That said, it's still a bit blurry to me how all these different ideas and concepts brought up in this proposal fit together and what it actually is that would be built here. I.e. I could need some guidance on what you'd envision to build :)
On a conceptual level, I feel there's a disconnect between the notions of "event sourcing" and "change data capture". In the former, you'll typically work with higher level "business" events, which describe an event happening in the reality (e.g. "customer placed a purchase order") which may lead to the alteration of state of multiple entities (e.g. a new order gets created, the customer's credit limit gets reduced etc.). Typically, those events also might convey some kind of intent and contextual information such as a use case identifier, application user etc. In CDC on the other hand, as I see it, events are more technically oriented and fine-grained, e.g. the UPDATE of a customer, or the INSERT of an order. So one might derive CDC-style events from the ES-kind events, but it will be hard to do the opposite due to the lack of contextual information when receiving CDC events from the logs of a database. Both concepts, ES and CDC, have their place and use cases, but I'm not sure to what extent it's possible or sensible to try and implement a true ES-style architecture using CDC.
I'm bringing this point up so to better understand what you are after here. So, perhaps it's the best to illustrate the ideas in some strawman code examples here in the proposal? I.e. how would code using that suggested API look like, and what would it achieve? Details are not too important at this point, but some basic example  might help folks here to grasp the idea.
Another idea you brought up recently (and I'm not sure whether it's meant to be explored here as well or somewhere else) was to expose CDC connectors such as Debezium's as "sources" for mP Reactive Messaging. That's definitely something I could see as being very useful and it's also less blurry to me. What you described in the "Library of shared Connectors to plug-into MicroProfile Reactive Messaging as Stream sources/sinks" thread makes lots of sense to me and that'd be a great thing to explore. The biggest hurdle is management of the internal state of these CDC stream sources, as they need to persist the position in the source log they've read last in order to continue from there after an application restart.
If you are interested, I can dig out some related exploration we did a while ago based on RxJava and Debezium's embedded engine (it runs connectors as a library within a Java application, invoking a configured callback for each emitted event, i.e. there's no inherent need for something like Apache Kafka, although one common use case of this is to submit CDC events to brokers other than Kafka with a bit of glue gode, e.g.to Kinesis or Pulsar).

Hi @gunnarmorling you are absolutely right the readme text in this PR contains an absolute dump
of lots of ideas (I have shared everything I have thought of (much of it second hand of course).
As I see it the primary first goal of this project is to get a working
https://download.eclipse.org/microprofile/microprofile-reactive-messaging-1.0-RC1/apidocs/org/eclipse/microprofile/reactive/messaging/spi/IncomingConnectorFactory.html
that is fed from Debezium sourced CDC events.
This can be used to for an inital PoC (milestone1.0?) where such CDC events are feeding into application code and processed using reactive streams methods.
We might learn a lot about what might belong in a subclass of https://download.eclipse.org/microprofile/microprofile-reactive-messaging-1.0-RC1/apidocs/org/eclipse/microprofile/reactive/messaging/Message.html that is more aware of change events
or whether we should do this in processing the payload
or via type-converters which we want in reactive message 1.next anyway.
milestone2.0: We could create a OutgoingConnectorFactory that reproduces
the wire format the Debezium's Kafka Connector can consume on
the other end. That would allow 'applications' to create reactive messages
that feed Debeziums remote state changing code.
milestone3.0: After that we can explore what might happen on a
CDC event receiving IncomingConnectorFactory that can be used
to feed a CDC event via reactive messaging consumption into a
application.
milestone4.0
It might be interesting for us to explore how 'nested' message envelopes
work in reactive messaging     {Debezium{Kafka{Payload}} so that we can
swap Kafka for something else.
The rest of the stuff is just bluesky thinking.
What if I proceed by creating some issues that might be in the scope
of milestone1.0 (and deleting the parts of the readme document that relate
to each issue in turn as the issue is created).
When I start doing this I will move the readme file into something like
ideasDump and have a more sensible readme.

I agree that you could not generally build a ES system out of CDC like events and that the scale, intent and context is generally different. In some senses it is 'cheeky' appropriating the name/brand of a architectural approach called 'event sourcing' - I recognise that.  I think we are really building some slightly nicer plumbing. I was sort of after a better name at the bottom of
https://groups.google.com/d/msg/microprofile/F0ehhd1MFMc/UPFcUOjGBwAJ
and I don't have one. It seems to attract the right sort of interest from the right
sort of people for now, even if it is a bit 'wrong'

Apologies in advance but I won't typically be able to reply to any comments/questions in this repo between 9 and 5, Monday to Friday at the moment. I am not ignoring you if I don't :-).

Thanks for your patience @hutchig


error

{
"readyState": 4,
"responseText": "{"message":"You are not subscribed to this API."}",
"responseJSON": {
"message": "You are not subscribed to this API."
},
"status": 403,
"statusText": "Forbidden"
}

Can you please try again? :)
Thank you.


All the doors in the station have yellow above them like their on emergency open mode

Description

everyone has probably already notice this but making it an issue doesn't harm
Screenshots

Additional context

I can confirm this is an issue.

Due to drawdepth and y-sorting yes


Also commit new generated files

merging directly to try teh change. The generated PR for the snapshot site should contain new files related to JaCoCo


"github.com/golang/glog": feature request: support for including stack trace in non-Fatal logs

Go version
go version go1.22.2 linux/amd64
Output of go env in your module/workspace:
NA

What did you do?
glog.ErrorContextDepthf(ctx, 0, "failed: %v", err)

What did you see happen?
it adds a log that shows the call site.
What did you expect to see?
I want to get the hierachy of the call stack, not just the calls site at depth 0.
this is already implemented in the package internally with stack bool type and consts "withStack" and "noStack" but it is not exposed to the users of the package.
What I need is essentially the package exposing some way to pass in "withStack" as an option to the log statements of lower sevirity than "Fatal", like "Error".
Having a "ctx" key:value for it and adding it to the ctx I think can also be fine, and would not need a change in the function signatures or introducing new functions.
something like:
ctx = glog.ContextWithStack(ctx)
glog.ErrorContextf(ctx, "failed: %v", err)

shouldn't have much perofrmance impact either to do a simple key lookup from context.
it can be added to the condition check here:
https://github.com/golang/glog/blob/861d094757551d2f65d1003f0ec93bc92b254a5a/glog.go#L219
if stack == withStack || ctxHasWithStack(ctx) || backtraceAt(file, line){

from the repo readme:

The repository contains an open source version of the log package used inside Google. The master copy of the source lives inside Google, not here. The code in this repo is for export only and is not itself under development. Feature requests will be ignored.