Misaligned label for checkboxes

Description of the bug
We encountered a bug in our project (altinn-app-frontend) where the label of the checkboxes would be misaligned caused by some css from the Designsystem being overridden by another css module from the Designsystem.

I was unable to find out why this happened in our project spesifically and could not reproduce the issue in codesandbox:
https://codesandbox.io/s/blue-sun-m23q3j?file=/src/App.js
Steps To Reproduce

Follow documentation to get an Altinn app up and running locally: https://github.com/Altinn/app-frontend-react
Add a checkboxgroup with checkboxes from the Designsystem in the frontend code in some component that you are using in your app
See that the label is misaligned.

Additional Information
No response

Thanks for reporting this!
I suspect this might be due to the nature of css modules being CSS-in-JS and thus loaded by JS in runtime and tree-shaking. 🤔
Luckily we are moving away from css-modules, so this issue will in time resolve itself, but not sure when we'll get there.
Either way we'll have a closer look at this to verify thats the use-case and see if we can't find a more immediate fix! 🛠

Me and @Magnusrm tested importing Label higher up in the dom tree ("App") which should inject the Label before Checkbox modules .label. This "fixes" the problem confirming the problem relates to css being injected by js in the wrong order.

This is also happens with Search and the search button.

@Thuneer @mimarz, I have tested the fix, and the Search component seems to works now as expected. :)

Re-opened as the previous short-term "fix" broke Radio 😞


An error "RepositoryToken is invalid..." occurs when creating a static web app

OS: Remote Codespaces
Build Version: 20230423.1
Regression: Previous release (0.11.4)
Repro Steps:

Create a Codespaces environment using ReactSite.
Install Static Web App extension.
F1 -> Azure Static Web Apps: Create Static Web App... -> Enter a name -> Select a region -> Select "Custom" -> Type "app" -> "build".
Check whether no error occurs.

Expect:
No error occurs.
Actual:
An error occurs.

More Info:

This issue does not reproduce on previous release 0.11.4.
This issue does not reproduce on Local codespaces and non-codespaces environments.
This issue also reproduces when creating an advanced static web app.

I'm having the same issue. Any progress with this?

I'm having the same issue. Any progress with this?

So apparently this error happened on my browser. So when I moved the codespace to Vs Code desktop it worked fine.

As stated in the issue description this only reproduces when connected to a GitHub CodeSpace in a browser. I'm able to consistently reproduce this error.
In my investigation, I found that the type of token returned to the extension by the built-in VS Code GitHub authentication provider is different on browser CodeSpaces than it is everywhere else.
In a browser connected to a CodeSpace we receive "GitHub App user-to-server tokens" (prefixed with ghu_). In all other places I tested, we receive "OAuth access tokens" (prefixed by gho_) [^1]. The user-to-server tokens are created by GitHub Apps, whereas OAuth tokens are created by OAuth apps [^2].
ghu tokens have their own set of scopes different from gho tokens. I discovered that ghu tokens require the actions scope for workflow related REST API endpoints [^3]. Adding the actions scope to our requested scopes does fix the issue, but what happens is this makes the GitHub authentication provider return a gho token. So an easy fix is to just request an additional scope outside of the default ghu token so that we get a gho token.
[^1]: GitHub authentication token formats: https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/
[^2]: Differences between GitHub Apps and OAuth apps https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/differences-between-github-apps-and-oauth-apps
[^3]: https://docs.github.com/en/rest/actions/workflow-jobs?apiVersion=2022-11-28#about-workflow-jobs-in-github-actions

Upstream issue: https://github.com/microsoft/vscode/issues/185915


[Suggestion] a fix for tfa compatibility.

theres many good tfa sweps and is there any way to stop tfa from crashing gmod with beatrun in any way.
i hope to see a fix soon cause theres some REALLY nice tfa sweps that i sadly had to remove.

I was thinking about removing TFA from incompatible, because I don't have any issues running any TFA weapon with beatrun

I was thinking about removing TFA from incompatible, because I don't have any issues running any TFA weapon with beatrun

sorry for the lat late reply but unsubbing tfa for me fixed some crashes...

¯\(ツ)/¯

This definitely would be nice

removed tfa from addonwarning, dunno why it's crashing tho


Incorrect contouring

Hi,
I think I have found a fairly rare but quite bad bug producing seemingly randomly incorrect contours:
Processing the attached JSON file
1600.json.gz
with tippecanoe --quiet --coalesce-smallest-as-needed --detect-shared-borders --coalesce --reorder -z5 -d 14 -D 14 -pw 1600.json
Produces rendering that looks like this:

When it should look (more like) this:

Notice that in the tippecanoe'd tiles that it's as though the colours that should be a continuous progression are somehow out of order. I have added an "idx" parameter to the GeoJSON to assist with tracking the contiguity. It jumps from 8->4->21 in this example producing the discontinuity around the pentagon shaped hole.
I have confirmed on mapshaper that they are in fact continuous in the GeoJSON.

Mapbox Studio shows they are not continuous after tiling with tippecanoe:

To find the exact location in the example, see here - although it is present in many places.

More curiously, the ordering is correct if I remove -d 14 -D 14 from the flags. But the contours becomes jagged.

Thanks for the report! I'll download your source file and try to figure out what is going on.

The hole you identify is at 38.1531/138.5892

Just clarifying the hole itself is not part of the problem (as far as I can tell) - I think that's because of the reversed windings in the file, but the odd order of contours around it are the unexpected behaviour.

To be clear, are you aware that --coalesce-smallest-as-needed can cause features to be combined even if their attributes are not identical? I think this is what is causing the disordered contours you see, as features in tile 5/28/12 are merged together to reduce the tile size. Small inner contours are probably inheriting the attributes of the large outer contours they are being coalesced onto.

I was not aware of that - I'll try it without and see if it affects it.

That fixes the issue for me.
I think there is still a bug here though? Shouldn't they be coalesced into their nearest neighbor such that they never get out of order like this?

That would be ideal, but nearest neighbor is a difficult concept to define precisely, especially when features can overlap. Tippecanoe uses the quadkey sequence of the feature centroids, which is fast and generally gives reasonable results, but occasionally makes some surprising jumps. Maybe there is another sequencing that would be more appropriate for nested features.

Perhaps via some interaction with --detect-shared-borders. I'm happy to close this if it's implausible. I created a pull to improve the documentation as I think this behaviour may catch other people.

Thanks for the documentation improvement!
I just realized that it is actually currently using the center of the feature bounding box rather than the centroid, and that the centroid might give better results, so I will try that. But that's the only plausible idea I have currently.

Using the centroid instead of the bounding box center doesn't seem to make much difference. The other possibility I should try: using a Hilbert curve instead of quadkey sequence, since it is continuous instead of ever jumping.

It doesn't solve the problem entirely, but the Hilbert curve does seem to have better locality in general, so I think I will make that switch (after some more testing, since it affects everything).

I'm still trying to decide how risky a change this is, since it does change the order of every output tile, but if you want to try it out and see if it improves the handling of your data, it's in https://github.com/mapbox/tippecanoe/pull/682.

Actually this breaks basezoom guessing, which relies on the feature indices within each tile being contiguous. Or maybe it is still OK, and the indices are still contiguous, but in a different tiling scheme? I need to verify, anyway.

I think the basezoom guessing is actually still OK. Tiles are still contiguous in sequence, and decoding indices to tile number always goes through the decode function, so it doesn't matter that the exact bit patterns have changed.

https://github.com/mapbox/tippecanoe/pull/683 added the --hilbert option, which should make Tippecanoe do a better job of choosing which features to coalesce together, and is as much as I can do currently to improve the situation here.


No existing migrations are applied - cannot rollback

When running
bundle exec rake db:rollback
getting
No existing migrations are applied - cannot rollback
My Rakefile
base_config = {
  project_root: Dir.pwd,
  dbadapter: 'postgres',
  # dbname: 'liberty_bell_development',
  dbname: dbname,
  # username: 'postgres',
  username: username,
  # password: 'postgres',
  password: password,
  # default log_level is nil, in which mode the executed actions such as
  # starting/finishing a migration in a given direction or creating and
  # dropping the database are not logged to standard output.
  log_level: :info,

  # Default options:
  sql_log_level: :debug,
  dump_schema_on_migrate: false, # it's a good idea to enable it for the reference environment
  pg_dump: 'pg_dump', # command used to run pg_dump
  # pg_dump: 'psql', # command used to run psql when calling rake db:shell if adapter is postgres
  migrations_location: 'db/migrations',
  schema_location: 'db/migrations/schema.sql',
  seeds_location: 'db/seeds.rb',
  # for tasks such as creating the database:
  # when nil, defaults to the value of the :dbadapter config.
  # This is the database we should connect to before executing "create database dbname"
  # maintenancedb: :default,
  migrations_table: "schema_migrations",
  # allow other tables data to be included in the dump file generated by rake db:schema_dump
  # extra_tables_in_dump: nil
  # for example, if you want to keep migrations from ActiveRecord in the dump file, while using
  # another table for Sequel migrations:
  # migrations_table: 'sequel_schema_migrations',
  # extra_tables_in_dump: ['schema_migrations']
}

namespace 'db' do
  SequelTools.inject_rake_tasks base_config.merge(dump_schema_on_migrate: true), self
end

rake db:create db:migrate db:drop
all work.
Database has a table schema_migrations it shows
[{:version=>5}]

What is the content of this table? And what are the files under db/migrations?


Generating a META.pkg.name file with a rule doesn't work.

Consider a rule like:
(rule (copy META META.ppx_tools.template))

And running $ jbuilder build gives me:
File unavailable: META.ppx_tools.template

Indeed, the code was referring to the META.foo.template from the source directory


Add variables for default config path

Rebase on main

Description
What is this PR?

[ ] Bug fix
[ ] Addition of a new feature
[ ] Other

Why is this PR needed?
What does this PR do?
References
Please reference any existing issues/PRs that relate to this PR.
How has this PR been tested?
Please explain how any new code has been tested, and how you have ensured that no existing functionality has changed.
Does this PR require an update to the documentation?
If any features have changed, or have been added. Please explain how the
documentation has been updated.
Checklist:

[ ] The code has been tested locally
[ ] Tests have been added to cover all new functionality
[ ] The documentation has been updated to reflect any changes
[ ] The code has been formatted with pre-commit

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

Project coverage is 47.76%. Comparing base (e371bf9) to head (ee6cc7f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #244      +/-   ##
==========================================
+ Coverage   47.69%   47.76%   +0.06%
==========================================
  Files          24       24
  Lines        1562     1564       +2
==========================================
+ Hits          745      747       +2
  Misses        817      817

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


Set Team Favorites Link Changes Menu on Left

When I'm here: Review Team Delivery Plans and I click on Set team favorites, the menu on the left changes.  I don't think that is supposed to happen, right?
Before click

After click

This issue can be closed. The toc has been updated to work as expected.

@KathrynEE nice!  works now 👍


"IsRequired" wrong for InternalNode

Good Day, thank you for this amazing tool.
I am currently testing out restler-compile on this file, TS29510_Nnrf_NFDiscovery.yaml.
Restler is able to compile successfully. However when I check the generated grammar.json, for some optional parameters, the "isRequired" option is wrongly set inside InternalNode.
For example, in the grammar.json the optional parameter: "service-names" is set as "isRequired": true here. (snippet below)
{
                "name": "service-names",
                "payload": {
                  "InternalNode": [
                    {
                      "name": "",
                      "propertyType": "Array",
                      "isRequired": true,
                      "isReadOnly": false
                    },

But from the openAPI description (snippet below) of this optional parameter "service-names", it did not state that it is required, meaning that this should be not required/optional.
        - name: service-names
          in: query
          description: Names of the services offered by the NF
          schema:
            type: array
            items:
              $ref: 'TS29510_Nnrf_NFManagement.yaml#/components/schemas/ServiceName'
            minItems: 1
            uniqueItems: true
          style: form
          explode: false

If you require for testing purposes, here is a repo which includes the file in question and dependencies required for restler to compile, as well as my results from running.
Is this also related to the #399 ?
edit: updated comment with inline code for easy references

Hello @JustinnT,
We will look into this, thank you for reporting it.  This is not related to #399.
Thanks,
Marina

Hi @marina-p
Thank you for the reply. For now, is there any workaround to prevent restler from including these parameters in the requests?
I tried manually setting the grammar.json "isRequired": true -> "isRequired": false but it does not have an effect.
Thanks,
Justin

Related issue: #408


IScreenshotResult: no matching element

The .NET 7 API docs build process has introduced the following into docs/xml/Microsoft.Maui.Media/IScreenshotResult.xml:
        <!-- No matching elements were found for the following include tag -->
         <include file="../../docs/Microsoft.Maui.Essentials/IScreenshotResult.xml" path="//Member[@MemberName='CopyToAsync']/Docs/*" />

This will most likely need removing, and the MAUI source correcting, before mdoc can update this file.

Should be fixed by: https://github.com/dotnet/maui/pull/11223
Although when merged it needs to be ported to the net7 branch


[v0.14.x] - Expose CoreDNS to Prometheus

Changes

Updates the CoreDNS service deployment to allow scraping by Prometheus.
This matches the Kubernetes upstream CoreDNS addon deployment, shown here

Codecov Report

Merging #1635 into v0.14.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           v0.14.x    #1635   +/-   ##
========================================
  Coverage    25.49%   25.49%
========================================
  Files           98       98
  Lines         5049     5049
========================================
  Hits          1287     1287
  Misses        3619     3619
  Partials       143      143

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 2483b5d...3d78aaf. Read the comment docs.


feat: link logos to website for projects

Signed-off-by: Chris Gianelloni<EMAIL_ADDRESS>

does this affect rendered UI?

No. Unless someone does a mouse over, they wouldn't know.


Uploading 'hangs' when glueing

Your package looks awesome. I am testing it out right now.
When I upload a big file (1G) the uploading itself goes pretty quicky, but then it seems to hang here :

I am not sure what this is... I guess this is now glueing the chunks ?
However when I close the browser during this process,, then the filesize on the server stops increasing (only 200M instead of 1G)
I am using your uppy example
Uploading smaller files works like a charm

Any idea why it stops here at 99%
Would a 'processing' feedback be possible
Why does it stop glueing when the browser window is closed / or moved to a different page on the site ?

For others: To prevent request body to large I
I had to upgrade my nginx server
server {
        listen              443 ssl;
        client_max_body_size 20G;

and my php settings:
upload_max_filesize = 20G
post_max_size= 20G

ps. I am not using redis
Would that make a difference ?

@robov Could you please let me know what do you mean by you are not using redis.
If you have used the setup instruction provided on the repository itself then it already has the redis.
How did you setup the project for test?

Without redis Like this:
$this->app->singleton('tus-server', function ($app) {
            $server = new TusServer();

For the rest I followed your default instructions and used your uppy example.
I also noticed the same type of behavior on the uppy test website with the 1G file. So I guess it is something on their side.

@ankitpokhrel Can we mark this as duplicate of https://github.com/ankitpokhrel/tus-php/issues/44
They look to be very similar.

Closing as a duplicate of #44


create ping example for users

Codecov Report

Merging #28 into master will decrease coverage by 0.16%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
- Coverage   69.49%   69.32%   -0.17%
==========================================
  Files          17       17
  Lines        2416     2416
==========================================
- Hits         1679     1675       -4
- Misses        589      592       +3
- Partials      148      149       +1

Impacted Files
Coverage Δ

server.go
58.99% <0%> (-1.18%)
:arrow_down:

Continue to review full report at Codecov.

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


Add contour conformance report for v1.0.0

What type of PR is this?
/area conformance
What this PR does / why we need it:
Contour v1.28.1 supports Gateway API v1.0.0, add conformance report for this version.
Which issue(s) this PR fixes:
N/A
Does this PR introduce a user-facing change?:
NONE

/cc @skriss

Thanks @sunjayBhatia! This LGTM, but I'm not sure where we are in the transition between report structures here.
@mlavacca @shaneutt Are we holding off on using the new reporting structure until the v1.1 release?

/lgtm


Further dimensionality reduction

Hello,
As discussed by email with @bittremieux, I compared the hashing trick currently used in falcon with other dimensionality reduction methods. Here are my results.
Dimensionality reduction methods
I compared the following methods :

Hashing trick (by using the functions directly available in falcon);
PCA (sklearn implementation);
Gaussian random projection (sklearn implementation).

Since the dimensionality reduction methods proposed in sklearn require high dimensional vectors as input, I've implemented a function to convert spectra to high dimensional vectors, sp_to_vecHD (which is not required for the hashing trick since the spectra are converted to low dimensional vectors on the fly, without storing the high dimensional vectors in memory).
Comparison for 800 components
Since falcon uses the cosine distance to measure distances between vectors, I compared how the cosine distance between pairs of spectra was conserved from the HD vector representation of the spectra and the corresponding LD vector. Ideally, the distance should be conserved as much as possible, s.t. the loss of precision caused by the dimensionality reduction is insignificant.
In the following figure, I plotted these distances (HD distance vs LD distance) for all the pairs of a subset of 5000 spectra (charge 2, the first 5000 spectra with a precursor mz greater than 600 in the draft of the human proteome).

It shows that for close pairs of spectra (distances close to 0), the hashing trick does the job (it works well if small epsilons are used in DBSCAN, e.g. 0.1). However, for larger distances (e.g., if we use an epsilon equal to 0.3), the distance between some pairs of points is overestimated: some pairs of spectra for which the HD vectors are separated by a large distance are converted to LD vectors for which the cosine distance is under-evaluated (bottom right part of the plot). It seems PCA is not a good candidate (the mean squared error, used to assess the difference of distance between HD and LD pairs of vectors, is worse than for the hashing trick). However, Gaussian random projection shows good results: it preserves better the cosine distance during dimensionality reduction.
Note that some distances between LD vectors can become larger than 1: LD vectors obtained with random projection can have negative components (which was not the case with the hashing trick), thus the cosine can be negative and the cosine distance > 1. This is not a problem.
Comparison for a similar MSE
Since Gaussian random projection preserves better the distances than the hashing trick (of course, it would be useful to verify that on other subsets to make sure these results are generalizable), we could consider further reduce the dimensionality: instead of using 800 components, we can obtain similar precision compared to the hashing trick with only 200 components by using Gaussian random projection:

Performances
Of course, the performance is crucial for falcon. I cannot provide a clear comparison between the two methods, since the implementations differ. During my tests, I generated HD vectors corresponding to the vectors, then I used the implementation provided by sklearn for random projections. However, it would easily be possible to perform the conversion on the fly as is the case for the hashing trick. Note that random projections introduce a memory overhead: it requires storing the matrix used for the projection, which is of size d * d' (where d is the number of components in HD and d' is the number of components in LD). For example, for d = 28 000 (default) and d' = 200, the matrix would contain ~5M entries which (only) requires 44 MB (8 bytes/float).
I can propose a PR implementing random projection in falcon, such that we can evaluate the gain in performance (reducing the number of dimensions should improve the speed of the approximate neighbor search).

These are interesting results, thanks!
Something that's not fully obvious from the plots is the performance at low distances. We're mainly interested in the bottom left quadrant, but because there are so many dots in the figures, it's challenging to see the density of those regions. A density plot on both axes and using alpha values for the points could be useful to visualize that a bit better.
However, maybe it's not surprising that random projections are very competitive. Gaussian projections use the full dimensionality, whereas the "real" dimensionality when using feature hashing is the number of peaks after preprocessing (50 by default) and the larger dimensionality is only used to minimize hash collisions rather than to store more information.
With a lower dimensionality, (approximate) nearest neighbor searching will probably be (i) faster, and (ii) more accurate (curse of dimensionality as dimensionality increases). Given the performance benefits you have shown, it could be useful to first just substitute feature hashing for random projections and see how it impacts the cluster quality. If that comparison is positive, we can investigate how to make everything as efficient as possible. Both time consumption and memory consumption for random projections is bigger than for feature hashing, so we have to be mindful of that.


OpenSecrets gem at RubyGems still reflecting old version

Hello
I've installed the 'open secrets' gem successfully.
I'm trying to run the example from within irb and I receive the following error:
2.1.5 :006 > member = OpenSecrets::Member.new
NoMethodError: undefined method `blank?' for "---myapikey---":String
from /Users/######/.rvm/gems/ruby-2.1.5/gems/opensecrets-0.0.5/lib/opensecrets.rb:21:in `initialize'
	from (irb):6:in `new'
	from (irb):6
	from /Users/######/.rvm/rubies/ruby-2.1.5/bin/irb:11:in `<main>'

When I open up open secrets.rb and look at line 21, it does not reflect the current version of the code. Could the gem be updated and pushed out?
Thanks in advance.

Hi.
Well, I've dusted off this gem, fixed some API issues, added all remaining new API endpoints as they are documented today, updated the Gem infrastructure to be more modern, and cleaned up the docs and examples a little.  Your issue should be solved now.
See Commit:
b35b2268bd987bddc708349b4267d32ce7428bfb
I've pushed this new code as v1.0.0 to RubyGems.
https://rubygems.org/gems/opensecrets
Cheers,
Glenn


Muse主题下，打开菜单的同时，点击展开个人信息。

I agree and want to create new issue

[x] Yes, I was on Hexo Docs page, especially on Templates, Variables, Helpers and Troubleshooting.
[x] Yes, I was on NexT Documentation Site.
[x] And yes, I already searched for current issues and this is not help to me.

Expected behavior
右侧个人信息应该置于顶层。The personal info at right side should be at the top level.
Actual behavior
右侧个人信息的Z-index过低，左侧菜单的Z-index过高
Steps to reproduce the behavior

点击菜单 click to expand menu
点击右侧个人信息 click to expand personal info at right side

Link to demo site with this issue: wangziling.github.io
Link(s) to source code or any usefull link(s): N/A

Hexo Information

Latest.

NexT Information
NexT Version:

[x] Latest Master branch.
[] Latest Release version.
[] Old version -

NexT Scheme:

[] All schemes
[x] Muse
[] Mist
[] Pisces
[] Gemini

Other Information

Try to aplly #1993 pull. Issue still exists?

I'm not going to use 'git' very much，but I update those files changed by him ,  this problem fixed. Every page is good.

@ivan-nginx thank you

Welcome.

为啥我的菜单图标显示不出来


Fix Task Names

Purpose

Fix the task names for Optimus
Addressing issue GL-192

Changes
Please list out what major changes were made in this PR to address the issue:

Renaming of MarkDuplicates.wdl to UmiCorrection.wdl
Changes to the UmiCorrection Task name
Change the name of the postUMI sort step to preMergeSort

Review Instructions
Please provide instructions about how should a reviewer test/verify the changes in this PR:

Run the pipeline to confirm that it works for you (I did that already)
Check that the output checksums of the Pipeline match what was previously generated

@rexwangcc I've update the figure now. This does indeed change dependency names.

retest this please

retest this please

retest this please

@barkasn The test timed out after 1hr but the underlying workflow succeeded after 2 hrs: https://job-manager.mint-dev.broadinstitute.org/jobs/53eafd79-195d-4107-9ba4-0acc8fc12dfc Feel free to merge this PR!

retest this please

Per offline discussion with @barkasn , forcefully merging this PR since all workflows are passing. The failing tests are due to timeout limits of the test suite itself. QA should only check if https://job-manager.mint-dev.broadinstitute.org/jobs/53eafd79-195d-4107-9ba4-0acc8fc12dfc passed or not.


DiscordProvider always leads to having to authorize the page when signing in

Environment

Operating System: Windows_NT
Node Version:     v18.12.1
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      modules, auth, app
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
No response
Describe the bug
As the title says, the DiscordProvider always leads to having to authorize the page when signing in a user.
That's not the normal Discord login-flow, as far as I know.
Additional context
No response
Logs
No response

Heya @NullBrowbeat!
Can you:

try again with the latest stable release<EMAIL_ADDRESS>provide a reproduction for the issue so that I can debug? (:

See here for a quick guide on reproductions: https://nuxt.com/docs/community/reporting-bugs#create-a-minimal-reproduction
Thanks!

Closing this now as there was no further response from questioner. Feel free to ping in this issue again / open a new one (:


[local_auth] Support the v2 Android embedder plugins API

current blocked since the plugin is using lifecycle callbacks. Waiting for https://github.com/flutter/plugins/pull/2168 to be merged and published.

This one is unblocked now right?


Memory keeps increasing and stacking up upon displaying and closing the camera preview multiple times

Steps to Reproduce
If you keep displaying and closing the camera multiple times it will increase the RAM usage to a point where the app crashes due to OOM.

As you can see in the image the spike is when you open the camera and when it drops upon closing it never comes back to the previous level of mem usage. And it is because of some memory retain that is happening on the call tree bellow

I've found this thread but I don't know if it relates to how the plugin was implemented.
Due to the nature of our app, the users open and close the camera quite a lot and OOM issues is the main cause of crashes for us right now.
Expected results
App running smoothly
Actual results
App crashing
About your device

Brand
Model
OS

Apple
iPhone X
13.6.1

Thank you for this great analyze.
We will investigate further to reproduce and see what we can do.

@g-apparence Thank you! I've also tested under the example project on this repo and the same happens.. So it is def something related to how we display the camera preview on the native side.
Let me know if you need any help!

@GabrielAraujo nice find!

Checked on Android
Seems ok

Going to try reproducing on some iOS phones now.
I'll let you know

@g-apparence Thank you! I've also tested under the example project on this repo and the same happens.. So it is def something related to how we display the camera preview on the native side.
Let me know if you need any help!

Seems related yes...
This seems like a big flutter issue that should get more attention

I've tested using the Camera from the Image picker package and the same does not happen.. Could it be something this package is not properly handling/disposing? Due to the not released mem size it feels like it is some kind of image buffer that is not properly released..
Do you have any next steps in mind or are you planning on waiting for the flutter side?

@g-apparence is there a specific Flutter issue on Github that you're referencing?

From the initial message

I've found https://github.com/flutter/flutter/issues/77621

I've some ideas, but I have to discuss first with our iOS expert as I'm not comfortable with ObjC.

I can't reproduce this on an Iphone X / iOS 16.3.

What is your flutter version? (I've stayed on the previous flutter version).
what is the camerAwesome version you used?
Did you run this test in profile mode?

Maybe that's related to pre iOS 16 and textures.
I've added an unregister texture before closing the videoon iOS, but I cannot garantee that's going to fix your bug.

What is your flutter version? (I've stayed on the previous flutter version).
I've used the version 3.3.10 and also the 3.7.0 both with the same problems

what is the camerAwesome version you used?
I've tested with the 0.3.3 version and also with the 1.2.0, both showed the same results

Did you run this test in profile mode?
Yes, I've also tested on my iphone 13 Pro on profile with iOS 16 and it also occurs

Even seems to be a bit worst and the memory don't return to a lower level at all.
Here is the gist on the changes I did on main.dart for the example project so we could simulate closing/reopening the camera. (Could also be something on the way I've implemented it too)

The good news is that on the Fix you worked on it seems to solve the issue:

Here is the mem profile after opening/closing the camera multiple times

Ahh great.
I think it's related on the fact that you are using a constant Key on the camera page.
Flutter tries to recreate the same widget without the texture properly disposed.
Just out of curiosity, I'll try to see if that's right.

I close this as it seems fixed.
Thank you for your help fixing this. 🙏🏻

Thank you for fixing this! Do you have an idea when this will be released as an official version increment to the package?


Update cypress test for custom serving runtime

Closes: RHOAIENG-3835
Description
This PR aims to update cypress test for custom serving runtime
How Has This Been Tested?
npm run test
Test Impact

Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/lgtm

/lgtm


support onnx/tensorrt

Hi,
I have another question for you.
Your ViTPose with Halpe model works well with Pytorch. I  sucessfully exported some official vitpose models to onnx/tensorrt file by mmdeploy(command is like this),  but I don't know how to export from your Haple model. Could you share me some more infomation about your Halpe model?

since i developed from the ViTPose repo, the export script should work. If you provide the config file with the weights, I believe it should work. Unless you already ran into an error?

Thanks a lot for your reply.
I finally exported your halpe .pth model to tensorrt  .engine file and it can infer very well now.
I will close this issue, and maybe ask for your help with training techniques  in the future.


runtime error when init

Not working in Brave (cors issue).
Not working in Firefox (attached console log).
console-log.txt
(I was using this url: http://<IP_ADDRESS>:8080/ipfs/QmTvGbPiS1PaE7AAn4gEszNiYMgdrbMXwLkGnLKYSADs8K/#QmSS3dUE5oKdyDNvpGsYCXgm2mBW4fSDzC5B3NDf7DR8VR which I got from ZeroNet)

Hm, no bueno. It's trying to use the API but is not allowed because of CORS. You'll need to whitelist the URL in your IPFS daemon, to allow ipfsbin to be able to access your daemon.
If you set API_ORIGIN environment variable before starting the daemon, to the value  http://<IP_ADDRESS>:8080/ipfs/QmTvGbPiS1PaE7AAn4gEszNiYMgdrbMXwLkGnLKYSADs8K it should work alright.
Let me know if it doesn't.
Btw, ipfsbin is not really much maintained anymore, and there are better alternatives both in terms of functionality and maintenance. I would recommend trying out either hardbin or ipfessay:

https://github.com/jes/hardbin
https://gitlab.com/stavros/IPFessay

Maybe I get your meaning wrongly, I tried to run below but same problem:
ipfs shutdown
API_ORIGIN="http://<IP_ADDRESS>:8080/ipfs/QmTvGbPiS1PaE7AAn4gEszNiYMgdrbMXwLkGnLKYSADs8K" ipfs daemon

By the way, I tried hardbin, it works for me. Thanks for suggesting it.
I also created a shortcut to hardbin https://hardbin.surge.sh


--json without request items omits body instead of sending empty object

Checklist

[x] I've searched for similar issues.
[x] I'm using the latest version of HTTPie.

Minimal reproduction code and steps
Run http --offline --json post :
Current result
A request with Content-Type: application/json and an empty body is sent.
Expected result
{} is sent as a body.

It seems to me that HTTPie shouldn't construct an invalid JSON body if it picks a JSON content type.
(Without the --json flag no Content-Type header is sent, so everything's fine.)
See also:

ducaale/xh#218
#137

Thanks for the report @blyxxyz, but we have concluded that this might not be very intuitive (adding a different behavior when a default option is specified explicitly). I think the easiest route is just sending it with --raw, e.g http --offline pie.dev/get --raw="{}".

#137 already decided opposite by making explicit --json add a Content-Type header, so then maybe that should be reverted instead? Right now it's inconsistent.


Destinations without HTTP prefix are interpreted as keywords

Destinations without an http:// prefix don't seem to work properly. Take, for example:

Typing http://go:8998/google in the browser takes me to:

From the logs:
{"level":"info","msg":"<IP_ADDRESS>:56036 GET /google","time":"2023-11-03T21:25:40+01:00"}
{"level":"info","msg":"<IP_ADDRESS>:56036 GET /google.com","time":"2023-11-03T21:25:40+01:00"}

2023/11/03 21:25:40 /home/vterron/code/golinks/pkg/controllers/keyword.go:26 record not found
[78.770ms] [rows:0] SELECT * FROM `links` WHERE keyword = "google.com" ORDER BY `links`.`id` LIMIT 1
{"level":"info","msg":"keyword not found  in exact match. trying wildcard","time":"2023-11-03T21:25:40+01:00"}

2023/11/03 21:25:40 /home/vterron/code/golinks/pkg/controllers/keyword.go:31 record not found
[0.122ms] [rows:0] SELECT * FROM `links` WHERE keyword = "google.com/{*}" ORDER BY `links`.`id` LIMIT 1
{"level":"info","msg":"<IP_ADDRESS>:56036 GET /?q=google.com","time":"2023-11-03T21:25:40+01:00"}
{"level":"info","msg":"<IP_ADDRESS>:56036 GET /api/v1/links","time":"2023-11-03T21:25:40+01:00"}

It seems that the destination is being interpreted as a keyword.
Typing http://go:8998/bing in the browser, on the other hand, forwards to bing.com as expected.
Is this intentional? I can try to submit a fix if you confirm this is indeed a bug.

@vterron its definitely not intentional.
Ideally It should have url validation before saving to prevent links without http or https. I believe I had this at one point but dropped it because it was too strict and was causing some urls to fail.
I'll have a second look and try to fix this

fixed in latest release https://github.com/crhuber/golinks/releases/tag/0.0.11

I can confirm the fix works. Thanks!

Not so fast — just noticed that the validator is rejecting all URLs, e.g:

The problem is in the if statement here: we need not(x or y), but have:
if !(strings.HasPrefix(s, "http:")) || !(strings.HasPrefix(s, "https:")) {
    return errors.New("requires scheme http or https")
}

Sent a fix in https://github.com/crhuber/golinks/pull/9.

ooops good catch


Platform Specific Shutdown Methods for Generic Templates

I confirm that

[X] I have searched for an existing feature request matching the description.

Feature Description
Games like Eco require different shutdown methods per platform.
https://discord.com/channels/266012086423912458/1287282019507634288

Added "ExitMethodLinux" as a setting - it has a value of None by default which will make it use whatever is set in EditMethod for backwards compatibility. If it's set, then on Linux it'll use that method instead.


my client crashed

my client crashed even with -l and by every other lan thing in the list, which i get from ipconfig, it says medium disconnected.

You can try the following in an administrator command prompt (run cmd as admin):
net start npf```

If that doesn't work, next questions are: 1) are you using a vpn? if so, disconnect. 2) are you using a mobile hotspot? if so, there's known issues there with winpcap and can try installing npcap instead (https://npcap.com/#download).

Let me know if any of these resolve your issue.

Thanks, the first one solved the issue


Process displayName in collection registers in array

add support syntax
  _array:
    PCDTO?:
      displayName: PCDTO%s
      description: Data offset for Preempted channel %s

If displayName patch not provided, replaces index with "%s"

The description processing has also been changed for cases when the array is not numbered from the zero index.

The description processing has also been changed for cases when the array is not numbered from the zero index.

0 was allowed because it is rare when it can be twice or more times in description.
Indices can also be chars, not only numbers.
This change can fix some cases, but break others.

It's a good idea. We need introduce this not only this place, but for all name tags too. Instead this #166 for example

https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=18222a71b5d6be13f546d398d3985ad7

@kossnikita it's off-topic, but
There is yet one tool I'm often use:
https://github.com/burrbull/svd-yaml-compare
It is helpful in searching differences.
Just install and run
svd-compare PATH_TO_SVDDIR
It converts SVDs to yaml and cut them by peripheral.

closing. See #178


About chained subscriptions

Hello there,
I want to chain a subscription but I couldn't find a solution, is there a way to run another subscription (like callback) after the first one.
ex.
Now, I'm using this below but if user didn't logged in fetchProject still be subscribed.
actions/user.js
export const loadUser = () => {
  return function(dispatch) {
    // subscribe extra users' data
    const sub = Meteor.subscribe("users.current", () => {
      // then dispatch to store
      dispatch(
        registerReactiveSource({
          key: "USER",
          get: () => {
            return Meteor.user() || {};
          }
        })
      );

      // and then subscribe for more
      dispatch(fetchProjects());
    });
  };
};

actions/projects.js
export const USERS_PROJECTS_SUBSCRIPTION_READY =
  "USERS_PROJECTS_SUBSCRIPTION_READY";
export const USERS_PROJECTS_SUBSCRIPTION_CHANGED =
  "USERS_PROJECTS_SUBSCRIPTION_CHANGED";
export const USERS_PROJECTS_SUB = "users.projects";

export const fetchProjects = () =>
  startSubscription({
    key: USERS_PROJECTS_SUB,
    get: () => {
      return Projects.find({ _owner: Meteor.userId() }).fetch();
    },
    subscribe: () => Meteor.subscribe(USERS_PROJECTS_SUB)
  });

if I could do this, it will be awesome I guess
ex2.
        registerReactiveSource({
          key: "USER",
          get: () => {
            return Meteor.user() || {};
          },
          callback: data => {
            if (data._id) {
              dispatch(fetchProjects());
            }
          }
        })
      );

thanks.

btw, for reactive sources it could still doable with
export const loadUser = () => {
  return function(dispatch) {
    // subscribe extra users' data
    const sub = Meteor.subscribe("users.current", () => {
      // then dispatch to store
      dispatch(
        registerReactiveSource({
          key: "USER",
          get: () => {
            return Meteor.user() || {};
          },
          callback: data => {
            if (data._id) {
              dispatch(fetchProjects());
            }
          }
        })
      );
      if (Meteor.userId()) {
        // and then subscribe for more
        dispatch(fetchProjects());
      }
    });
  };
};

but with startSubscription ?

Hi,
I think you should have two actions:

loadUser, dispatched when your main component (ProjectsPageComponent for instance) is mounted. Inside this main component, you have to render a sub-component (ProjectsListComponent for instance) only if the user is logged in.
loadProjects, dispatched when your sub-component is mounted.

This way, you don't need any callback within the registerReactiveSource function.
What do you think about this solution?

This could actually works on most cases but sometimes that callback could be mandatory like some comments' owners etc. anyhow if you interested in a pull request I tried something like that below and it works for me. ```import { STOP_SUBSCRIPTION, START_SUBSCRIPTION } from "./actions";
import { actionCase } from "./utils";
/*globals
setTimeout
*/
const subscriptions = {};
const computations = {};
const subscriptionsReady = {};
const stopSubscription = action => {
if (subscriptions[action.payload]) {
const subscriptionId = subscriptions[action.payload].subscriptionId;
computations[subscriptionId].stop();
subscriptions[action.payload].stop();

computations[subscriptionId] = undefined;
subscriptions[action.payload] = undefined;

}
};
export default tracker => ({ dispatch }) => next => action => {
if (action.type === STOP_SUBSCRIPTION) {
const stop = () => {
stopSubscription(action);
};
setTimeout(stop);

} else if (action.type === START_SUBSCRIPTION) {
const start = () => {
stopSubscription(action);
  const { key, subscribe, afterReady } = action.payload;
  const subscription = subscribe();
  const { subscriptionId } = subscription;

  subscriptions[key] = subscription;
  computations[subscriptionId] = tracker.autorun(() => {
    const ready = subscription.ready();

    if (ready) {
      dispatch({
        type: `${actionCase(key)}_SUBSCRIPTION_CHANGED`,
        payload: action.payload.get()
      });

      if (afterReady && !subscriptionsReady[subscriptionId])
        afterReady(action.payload.get());
      subscriptionsReady[subscriptionId] = true;
    }

    dispatch({
      type: `${actionCase(key)}_SUBSCRIPTION_READY`,
      payload: {
        ready,
        data: action.payload.onReadyData ? action.payload.onReadyData() : {}
      }
    });
  });
};

setTimeout(start);

}
return next(action);
};

and usage is like
export const loadUser = () => {
  return function(dispatch) {
    // subscribe extra users' data
    const sub = Meteor.subscribe("users.current", () => {
      // then dispatch to store
      dispatch(
        registerReactiveSource({
          key: "USER",
          get: () => {
            return Meteor.user() || {};
          }
        })
      );
      if (Meteor.userId()) {
        // and then subscribe for more
        dispatch(fetchProjects());
      }
    });
  };
};

Hi @berkaey, please send a PR or close the issue! Thanks


Version 7: Connected components are objects instead functions

With react-redux 6 connected component was returned as function. eg:
ƒ Connect(props)
Instead version 7 returns it as object because react hooks:
{$$typeof: Symbol(react.memo), type: ƒ, compare: null, WrappedComponent: ƒ, displayName: "Connect(Component)", …}
I think this should be noted for developers with PropTypes module for type checking.

This is because we use React.memo on the component. As a workaround, you can set the pure option to false, which comes with a performance penalty.

@timdorr We dont have any fontra arguments. But it is breaking change and should be noted

This is not a breaking change to our public APIs.
As of React 16.6, special component types like React.memo() are objects, not functions.  Any code that assumed a React component can only be a function is wrong, and has been wrong since 16.6 came out.
I'll update the release notes accordingly, but this is an incorrect assumption on the part of the other libraries.

We handle this correctly in React Router 5, FWIW.

bro help me out ,how should i retrive my component from this


added support for rdf site summary (rss 1.0)

e.g. http://sfbay.craigslist.org/ccc/index.rss can now be parsed with the rsshandler

Great idea. I merged it into my own fork (https://github.com/FB55/node-htmlparser).

cool. I just merged your branch into mine.    This undoes some of the normalization of the names, e.g. "lastBuildDate" is no longer returned as "updated" but I'm doing normalization after parsing it anyway.  I might add a convenience function that automatically normalizes some of the crucial names later.

I like the idea to not check every single item multiple times, but normalisation is absolutely required. My idea is to rewrite the entire thing to use my EventedHandler, so that it's not necessary to build a DOM or anything.
Besides: I already opened a pull request for my own changes, so if you want to change my code, it would be easier if you fork my fork and send me a pull requests. I don't think @tautologistics is still actively developing this project, so any pull requests here will probably be forgotten.


Rename the environment variable FRONTEND_URL to CORS_ALLOWED_ORIGIN_LIST and accept list

What type of PR is this?
/kind cleanup
/kind feature

What this PR does / why we need it:
Rename the environment variable FRONTEND_URL to CORS_ALLOWED_ORIGIN_LIST and accept list.
Which issue(s) this PR fixes:

Fixes #156
Special notes for your reviewer:
/label tide/merge-method-squash

Thanks!
/lgtm


A GUI ?

Good work. One question. What about GUI ? I don't liked to do the command line to load the roms, you know. And again, good work. Amazing!

Try just running the program without specifying command line parameters :)

Thank you!


Request: after optimization, also reformat the file using current settings of the project

As the title says.
Or offer an option to do it.

But it decreases the optimization of the Avocado work. By reformating it after the Avocado, it breaks some lines.

But the work is already done. The files were optimized. That's now just formatting.
Doesn't it get to a minimal size when generating the APK later, especially in release mode?


[all] Phasing out CJS & UMD builds in favor of ESM

ESM support has been pretty solid in all major browsers for a while now AND recent versions of NodeJS seemingly cope with these modules very well too (at least in my experience). It's long been a bug bear (and major time waster) for me having to emit 3 different versions (ESM, CJS, UMD) of each package and maintain extra tooling for producing these. I don't know if there're still people out there using CJS or UMD in 2021, but going forward and staying with the times, all packages in this monorepo will only be published as ESM, with these (top off my head) benefits:

faster builds

potentially finally allowing to use TS project references between packages in the repo (maybe 🤷♂ )

less build infrastructure needed
smaller packages
deep/selective imports possible

e.g. import { map } from<EMAIL_ADDRESS>vs import { map } from<EMAIL_ADDRESS>these more precise imports can/will lead to drastically smaller userland file sizes too (some concrete example stats coming soon, early experiments already show file sizes going down to 30-60% of current state (before gzip))...
package-level imports will remain possible of course, but each pkg now also defines an export map to expose most of its features

Since this will mean breaking changes for some users (depending on how/where the projects were used so far), this is just a heads up and note to say that intense work is/has already been ongoing (1700+ source files already updated at the time of writing) on the feature/export-maps branch...
The readme files on this branch have already been updated re: installation & import instructions, take a look and let me know please!
As part of this major (structural) update there will also be some further internal restructurings (or even split ups) needed for some of the packages... All in all, a somewhat overdue house cleaning exercise & I hope as such, it's a welcome one for you too!
👍

Some promised statistics to illustrate file size savings in the ~100 examples bundled in the repo.
The first table shows a few of the larger examples which have been updated with selective deep imports and their resulting new file sizes ranging between an incredible 5%(!) - 64% compared to previous builds:

example
old
new
ratio

dominant-colors
122.83 KB
61.78 KB
50.3%

fft-synth
171.25 KB
73.20 KB
42.7%

geom-voronoi-mst
132.46 KB
66.58 KB
50.3%

imgui
486.44 KB
111.86 KB
23.0%

parse-playground
397.03 KB
49.25 KB
12.4%

poly-spline
151.96 KB
54.54 KB
35.9%

rdom-dnd
353.82 KB
16.13 KB
4.6%

rdom-lissajous
403.46 KB
32.18 KB
8.0%

rstream-spreadsheet
70.35 KB
44.87 KB
63.8%

shader-ast-raymarch
146.99 KB
83.89 KB
57.1%

shader-ast-workers
94.15 KB
15.14 KB
16.1%

soa-ecs
141.30 KB
75.06 KB
53.1%

text-canvas
103.11 KB
34.61 KB
33.6%

webgl-msdf
169.20 KB
91.98 KB
54.4%

xml-converter
71.79 KB
34.94 KB
48.7%

Some of these more extreme savings are seemingly due to the previous inability of snowpack/webpack to efficiently filter/tree-shake larger packages like the @thi.ng/hiccup-carbon-icons collection (1000+ icons), @thi.ng/vectors (850+ functions) or the @thi.ng/geom geometry package (to name a few). I don't understand why these didn't get optimized properly before, but being able to e.g. directly import only the functions/icons we care about, the problem now disappears entirely. Nice! Most of these import updates are nicely assisted by VSCode and the fact that packages now provide an export map... Only takes a few mins per (lager) example...
The next table shows the impact of the new ESM-only packages without doing any code/import changes to the examples with a range of new file sizes between 37% - 99%:

example
old
new
ratio

adaptive-threshold
101.00 KB
60.36 KB
59.8%

async-effect
31.81 KB
28.59 KB
89.9%

bitmap-font
61.07 KB
40.19 KB
65.8%

canvas-dial
83.37 KB
63.02 KB
75.6%

cellular-automata
22.12 KB
19.26 KB
87.1%

color-themes
121.17 KB
87.34 KB
72.1%

crypto-chart
113.20 KB
64.28 KB
56.8%

devcards
30.75 KB
29.95 KB
97.4%

dominant-colors
122.83 KB
100.50 KB
81.8%

ellipse-proximity
100.57 KB
60.99 KB
60.6%

fft-synth
171.25 KB
120.46 KB
70.3%

geom-convex-hull
114.78 KB
73.51 KB
64.0%

geom-fuzz-basics
140.57 KB
81.25 KB
57.8%

geom-knn
121.43 KB
64.74 KB
53.3%

geom-tessel
152.74 KB
106.38 KB
69.6%

geom-voronoi-mst
132.46 KB
104.33 KB
78.8%

gesture-analysis
158.58 KB
112.29 KB
70.8%

grid-iterators
53.61 KB
35.48 KB
66.2%

hdom-basics
15.11 KB
12.76 KB
84.5%

hdom-benchmark
54.34 KB
33.33 KB
61.3%

hdom-benchmark2
34.44 KB
31.69 KB
92.0%

hdom-canvas-clock
68.83 KB
46.56 KB
67.7%

hdom-canvas-draw
109.76 KB
69.49 KB
63.3%

hdom-canvas-particles
115.51 KB
87.71 KB
75.9%

hdom-canvas-shapes
178.63 KB
151.90 KB
85.0%

hdom-dropdown-fuzzy
40.39 KB
39.12 KB
96.9%

hdom-dropdown
34.08 KB
32.75 KB
96.1%

hdom-dyn-context
28.49 KB
27.70 KB
97.3%

hdom-elm
20.48 KB
18.24 KB
89.0%

hdom-inner-html
15.40 KB
13.05 KB
84.8%

hdom-local-render
56.26 KB
35.19 KB
62.5%

hdom-localstate
16.62 KB
14.37 KB
86.5%

hdom-skip-nested
15.70 KB
13.35 KB
85.0%

hdom-skip
15.43 KB
13.08 KB
84.8%

hdom-theme-adr-0003
17.87 KB
15.62 KB
87.4%

hdom-toggle
17.92 KB
15.02 KB
83.8%

hdom-vscroller
202.50 KB
199.70 KB
98.6%

hiccup-canvas-arcs
137.67 KB
108.42 KB
78.8%

hydrate-basics
31.63 KB
30.31 KB
95.8%

imgui-basics
164.40 KB
106.07 KB
64.5%

imgui
486.44 KB
452.80 KB
93.1%

interceptor-basics
33.26 KB
31.94 KB
96.0%

interceptor-basics2
33.24 KB
32.45 KB
97.6%

iso-plasma
116.03 KB
74.75 KB
64.4%

json-components
17.32 KB
14.51 KB
83.8%

login-form
32.60 KB
32.52 KB
99.8%

mandelbrot
76.97 KB
55.93 KB
72.7%

markdown
93.69 KB
47.67 KB
50.9%

multitouch
109.06 KB
51.36 KB
47.1%

parse-playground
397.03 KB
376.94 KB
94.9%

pixel-basics
46.04 KB
22.01 KB
47.8%

pixel-indexed
79.28 KB
59.76 KB
75.4%

pixel-sorting
114.84 KB
79.80 KB
69.5%

poisson-circles
115.70 KB
87.33 KB
75.5%

poly-spline
151.96 KB
92.70 KB
61.0%

porter-duff
46.34 KB
22.31 KB
48.1%

ramp-synth
73.19 KB
50.94 KB
69.6%

rdom-basics
58.96 KB
35.13 KB
59.6%

rdom-delayed-update
53.57 KB
30.25 KB
56.5%

rdom-dnd
353.82 KB
316.93 KB
89.6%

rdom-lissajous
403.46 KB
346.40 KB
85.9%

rdom-search-docs
68.58 KB
44.85 KB
65.4%

rdom-svg-nodes
96.57 KB
61.09 KB
63.3%

rotating-voronoi
178.61 KB
132.79 KB
74.3%

router-basics
42.66 KB
41.90 KB
98.2%

rstream-dataflow
70.00 KB
50.38 KB
72.0%

rstream-event-loop
55.53 KB
35.33 KB
63.6%

rstream-grid
130.91 KB
78.63 KB
60.1%

rstream-hdom
57.30 KB
36.30 KB
63.3%

rstream-spreadsheet
70.35 KB
54.75 KB
77.8%

scenegraph-image
133.78 KB
NaN bytes
0.0%

scenegraph
117.42 KB
90.38 KB
77.0%

shader-ast-canvas2d
125.25 KB
85.88 KB
68.6%

shader-ast-evo
126.30 KB
80.49 KB
63.7%

shader-ast-noise
145.57 KB
106.43 KB
73.1%

shader-ast-raymarch
146.99 KB
107.86 KB
73.4%

shader-ast-sdf2d
145.52 KB
106.39 KB
73.1%

shader-ast-tunnel
166.55 KB
114.40 KB
68.7%

shader-ast-workers
94.15 KB
35.10 KB
37.3%

shader-graph
141.70 KB
110.36 KB
77.9%

soa-ecs
141.30 KB
97.08 KB
68.7%

spline-tangent
107.47 KB
81.30 KB
75.7%

stratified-grid
115.51 KB
87.13 KB
75.4%

svg-barchart
18.81 KB
16.03 KB
85.2%

svg-particles
20.12 KB
17.31 KB
86.1%

svg-waveform
86.34 KB
48.72 KB
56.4%

talk-slides
76.63 KB
55.58 KB
72.5%

text-canvas-image
50.85 KB
24.57 KB
48.3%

text-canvas
103.11 KB
76.72 KB
74.4%

todo-list
31.31 KB
30.00 KB
95.8%

transducers-hdom
56.52 KB
35.50 KB
62.8%

triple-query
79.99 KB
61.31 KB
76.7%

webgl-cube
137.03 KB
92.55 KB
67.5%

webgl-cubemap
146.12 KB
82.71 KB
56.6%

webgl-grid
137.85 KB
93.26 KB
67.6%

webgl-msdf
169.20 KB
122.85 KB
72.6%

webgl-multipass
136.96 KB
94.81 KB
69.2%

webgl-shadertoy
120.67 KB
73.83 KB
61.2%

webgl-ssao
157.14 KB
139.51 KB
88.8%

wolfram
73.10 KB
52.24 KB
71.5%

xml-converter
71.79 KB
50.75 KB
70.7%

Hi @postspectacular,
We (@vorg) are hitting an issue with the use of the "Conditional exports" fields (since v5 in paths and color package at least) when using const paths = require("@thi.ng/paths");:
Module not found: Error: Package path . is not exported from package
<EMAIL_ADDRESS>(see exports field in<EMAIL_ADDRESS>
Quoting Node.js docs, I think using "import" only makes sense when a package exports both cjs and esm:

When using environment branches, always include a "default" condition where possible. Providing a "default" condition ensures that any unknown JS environments are able to use this universal implementation, which helps avoid these JS environments from having to pretend to be existing environments in order to support packages with conditional exports. For this reason, using "node" and "default" condition branches is usually preferable to using "node" and "browser" condition branches.

So this issue is easily resolve by not specifying the condition or adding the default key to the package.json alongside the "import" (@thi.ng/paths example below):
    ".": "./index.js",
    "./api": "./api.js",
    "./delete-in": "./delete-in.js",
    "./get-in": "./get-in.js",
    "./getter": "./getter.js",
    "./mut-in-many": "./mut-in-many.js",
    "./mut-in": "./mut-in.js",
    "./mutator": "./mutator.js",
    "./path": "./path.js",
    "./set-in-many": "./set-in-many.js",
    "./set-in": "./set-in.js",
    "./setter": "./setter.js",
    "./update-in": "./update-in.js",
    "./updater": "./updater.js"

"exports": {
    ".": {
      "import": "./index.js",
      "default": "./index.js"
    },
    "./api": {
      "import": "./api.js",
      "default": "./api.js"
    },
    "./delete-in": {
      "import": "./delete-in.js",
      "default": "./delete-in.js"
    },
// ...
  },

Hi @dmnsgn - I don't think I understand what you're asking... For the past 7 months all the packages have ONLY been published as ESM and aren't usable in a CJS environment anymore. So I don't see how an updated export map would help to restore CJS compatibility if the actual syntax in the source files are incompatible with this older format... can you please explain how that would (suppose to) work? Also, may I ask why you're still using CJS?

For the past 7 months all the packages have ONLY been published as ESM and aren't usable in a CJS environment anymore.
if the actual syntax in the source files are incompatible with this older format

The fact that they are published as ESM doesn't mean that they can't be used in a CJS env where loading ESM modules  has been backported to the supported Node.js versions. The difference is that you need to dynamically import them.
Simple example with concat-typed-array (which is published as ESM):
package.json
{
  "name": "a-cjs-module",
  "version": "1.0.0",
  "main": "index.cjs",
  "scripts": {
    "test": "node ."
  },
  "dependencies": {
    "concat-typed-array": "^2.1.0"
  }
}

index.cjs
// import concatTypedArray from "concat-typed-array";
// Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
// SyntaxError: Cannot use import statement outside a module

// const concatTypedArray = require("concat-typed-array");
// Error [ERR_REQUIRE_ESM]: require() of ES Module /my-path/a-cjs-module/node_modules/concat-typed-array/index.js from /my-path/a-cjs-module/index.cjs not supported.
// Instead change the require of index.js in /my-path/a-cjs-module/index.cjs to a dynamic import() which is available in all CommonJS modules.

(async () => {
	const concatTypedArray = (await import("concat-typed-array")).default;

	console.log(
		concatTypedArray(Uint8Array, Uint8Array.of(1, 2), Uint8Array.of(3, 4))
	);
        // Uint8Array(4) [ 1, 2, 3, 4 ]
})();

So I don't see how an updated export map would help to restore CJS compatibility
can you please explain how that would (suppose to) work?

My understanding of the error is that because the thing packages provide conditional exports with the "import" key and no "default", bundlers or babel don't know what to do when mixing ESM and CJS (trying to load an esm module inside a cjs one).
The "default" key would allow fallbacks for these not-so straightforward loading cases (from Node.js docs):

"default" - the generic fallback that always matches. Can be a CommonJS or ES module file. This condition should always come last.

Also, may I ask why you're still using CJS?

Avoiding it as much as possible but still indirectly needed inside Nodes as they are written in legacy cjs (although this might change in a near future).

Thanks @dmnsgn - have just pushed changes using default instead of import everywhere. Seems to work indeed, didn't know (also didn't want to know, was glad to leave the CJS vs ESM nightmares behind me...) Will do some more tests, then hopefully release later today...

Thanks @dmnsgn - have just pushed changes using default instead of import everywhere. Seems to work indeed, didn't know (also didn't want to know, was glad to leave the CJS vs ESM nightmares behind me...) Will do some more tests, then hopefully release later today...

I moved all my packages to ESM last year and looking forward to forget about CJS too.. I have sticked to "exports": "./index.js" though where I export everything public; no conditional exports yet, hoping tree-shaking works correctly.

@dmnsgn could you please check the latest pkg versions and let me know if the changes helped your cause? Thank you!

Yes it did! Thanks 🙏

Amazing! :)

I dont know if this is related but I have a very strange error saying that:
Error [ERR_REQUIRE_ESM]: require() of ES Module<EMAIL_ADDRESS>not supported.
Instead change the require of index.js in null to a dynamic import() which is available in all CommonJS modules.
There is no require in my code and as far as I can see  and I could not find require in the grid-iterators/index.js. I am using windows, visual studio code and have already deleted caches, reinstalled node_modules, etc.
Do you have any advise?

Sorry @stevedevel - I've got no idea what this is supposed to mean. Is your project using CJS? Are you using a bundler? Can you reproduce the issue in CodeSandbox or CodePen etc. or create a temporary dummy repo/gist? Also, which version of Node are you using?

Hi Karsten,
Thanks for your reply. I have setuped a simple ts project (on node 16.20):
import { floodFill } from<EMAIL_ADDRESS>let structure:number[] = [
1, 0, 0, 0, 0,
1, 0, 0, 0, 1,
1, 1, 0, 0, 0,
0, 0, 0, 0, 0,
1, 1, 0, 0, 0
]
let size = 5;
const region = floodFill((x, y) => structure[x + y * 5] === 1, 1, 0, size, size);
Thats the package.json:
{
"name": "test",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1",
"start:dev": "npx nodemon"
},
"author": "",
"license": "ISC",
"dependencies": {
<EMAIL_ADDRESS>"^4.0.19"
},
"devDependencies": {
"@babel/core": "^7.23.0",
"@types/node": "^20.7.0",
"nodemon": "^3.0.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
}
}
Same error here. There is absolutely no require in the code above.

I have recreated your project, downloaded & installed node 16.20.2 and can confirm the same error...
However, looking at your package.json, I can also see you'll still need to:

add the line "type": "module" to allow your code using ESM imports (unless you want to stay in CommonJS land, and if so, why?)...
add some barebones tsconfig.json, something like:

{
    "compilerOptions": {
        "module": "es2020",
        "target": "es2020",
        "esModuleInterop": true,
        "experimentalDecorators": true,
        "moduleResolution": "node",
        "strict": true,
        "strictNullChecks": true,
        "verbatimModuleSyntax": true
    },
   "ts-node": { "esm": true },
    "exclude": ["./**/node_modules"]
}

Once you've got these, you can then run your script via yarn ts-node index.ts or node --loader ts-node/esm index.ts...
(Ps. None of these things have anything to do with this particular project though...)

Thank you so much for your answer - greatly appreciated. Especially because this has indeed nothing to do with your code. Now the small test works!
I am using so many 3rd party libs with different JS dialects (CJS, TS, ESM...) within a create-react-app. Thats why I thought there was maybe something related with the library - which is fantastic by the way.
Now my challenge: I cant really modify the toolchain without ejecting and do everything manually :-((

Don't envy you & I really have no idea how most JS devs accept & manage to cope with this kind of absolutely insane & unnecessary complexity...

I really have no idea how most JS devs accept & manage to cope with this kind of absolutely insane & unnecessary complexity

That's because you knew better than to accept any dependencies of your own.


NPM Package

Make it super easy to deploy for new users.

A package for a client? A server? Both?

Server, since client is built in to server currently.
Something like, npm install fastchat-server -g
And then you could go to localhost and it would be there.

Blocked by #118, #119, #120.

Unblocked.

Live now!


Firebase Performance Monitoring integration instructions

👋 Is there a special trace that needs to be invoked/stopped when integrated with Firebase performance monitoring? The Firebase documentation says to follow the instructions on this repo, but the example callback is for Google Analytics and the "first input delay" metric on the firebase console remains unpopulated.
Thanks in advance!

Update! Values started populating now, just weird that this metric took multiple days to show up, whereas the other did after a few hours. 👍

Hmmm, that is weird, but I'm glad it's working now!

Hi!
I working on an Angular project hosted on Firebase and I want to mesure FID. Can you help me, how to implement this?
I installed this project with NPM and I added the js file to the header:
<script src="node_modules/first-input-delay/dist/first-input-delay.min.js"></script>
But I dont't know where to put the callback method and what to write to the body.
I use AngularFire to connect firebase and added the performance module to the project.
Thank you!

I installed this project with NPM and I added the js file to angular.json's scripts array.

I wouldn't do this. As the instructions in the README say, this script should be inlined in the <head> of your page. It needs to be the first script executed on the page, and it shouldn't block rendering.

But I don't know where to put the callback method and what to write to the body.

As far as I know, the Firebase performance monitoring code will call the callback for you. You don't need to do anything other than add the script to the page.


Confirm with user if they want to clear the search.

Is your feature request related to a problem? Please describe.

At times when user wants to click on the filter button, by mistake, they click on the clear button as they are closeby and there is no defined boundary/border visible between them, so there must be an extra option in settings where user can check/tick if they need to be asked for confirmation every time clear button gets clicked(knowingly or unknowingly).
Describe the solution you'd like
If the user has unchecked this particular settings option, we can directly clear the input field and related results, but if he has checked this settings option then every time we will ask for confirmation to clear the fields. If confirmed by the user we can clear both result and the input field else we will do nothing.
This may save time and data usage of users.
Describe alternatives you've considered
To go with the present functionality.
Additional context
I am keeping it as a settings option so that user don't get bothered by this activity of asking confirmation every time.

@techievivek Nice idea!
This can be broken down into two things:

Ask for confirmation in a popup if the user wants to indeed clear the search results.
Add a checkbox on the options page to toggle this feature.

This issue will focus on the first objective.
Confirmation popup box implementation
Taking from the conversation in https://github.com/creativecommons/ccsearch-browser-extension/pull/82

Do not use any external dependency for this.
Do not use the DOM confirm() method, as it does not match with the design.
Make sure to make the utility modular and reusable (eg: like the showNotification() utility)
Make and use src/popup/sass/components/_confirm_popup.scss as the stylesheet for the component.

@makkoncept yeah exactly what you have explained. So do I have to add another issue too?

Let me make the issue. If you want to work on this, comment below after we have merged your pending PR.

@makkoncept Please have a look I have added the updated image for inspecting in chrome.

@makkoncept Yes I would like to work on this one.

@makkoncept You can assign me this one now.
Thank you.

@makkoncept I will make this modular, please go through it and let me know what else I can improve.

@techievivek You can start by removing the lint errors and warnings.

@makkoncept I will make a utility function that will accept a message, function to be called if pressed yes and function to be called if pressed no.
In fact, I am planning to even make more generic by setting user-defined value for buttons in the popup.
So that it can be used everywhere as a popup.
So (message, yes_function(), no_function(), cancel_text, ok_text) these will be the field.

Sounds good. I have reviewed your PR again. Let me know if you have any queries.
Also, let's have the conversation about the implementation on the PR.


Disable sudden termination plist flag

We don't really support sudden termination since we need to remove the mount dir (the dir was being left behind on restarts).

@keybase/react-hackers


update dependency

Coverage remained the same at 98.333% when pulling cb2dc4bb30b1c056ff67ac3d85eedaba3908c4b3 on brandon-binary:upgrade_dependency into f72845959ac2ac84e67678ad450e612e32be73e6 on binary-com:master.


Keyname to basestring

Hi, I am working on a rather complex cloudformation template and here is a snippet of a resulting block that I am trying to output
"KeyName": {
                   "Fn::If": [ "IsAppKey",
                            {"Fn::FindInMap": ["KeyNames", {"Ref": "Environment"}, "App"]},
                            {"Ref" : "AWS::NoValue"}
                   ]
                },

Here is what I have so far but its not working
I get an error for KeyName (rightly so) which I am not sure how to fix, the relevant error is:
TypeError: KeyName is <type 'dict'>, expected <type 'basestring'>

However I am not sure how to convert the following line:
KeyName= {"Fn::If": ["IsAppKey", FindInMap("KeyNames", Ref(Environment), "App"), Ref("AWS::NoValue")]},

To one that will appropriately output the json block stated at the top of this issue. Please advise.
Thanks in advance and your help will be greatly appreciated.

KeyName is an attribute of a Resource?  It looks like you're trying to mix raw Cloudformation (your Fn::If statement) in your python/troposphere templates?
This should work - just use the built in If() method of troposphere:
KeyName=If("IsAppKey",
           FindInMap("KeyNames", Ref(Environment), "App"),
           Ref("AWS::NoValue")))

What @phobologic said and import those with something like:
from troposphere import If, FindInMap, Ref

You guys rock, thanks for all you help.


Actions not updating in interactive learning,when i try to use same intent again its not remembering the action to be performed..

Rasa version:
rasa-core                          0.13.7
rasa-core-sdk                      0.12.2
rasa-nlu                           0.14.6
Python version:
3.6.0
Operating system (windows, osx, ...):
Kali linux 2019
Issue:
The intents are not getting updated in interactive learning when i try to run the same intent again after i have corrected it, It still does not classify it properly.
i have seen similar issue on #2636
But i have not got the clear answer on what to do ?
and also i get error after interacting learning
ValueError: Could not locate the resource '/root/rasa_chatbot2/data/nlu.md'
But its automatically creating file nlu_interactive.md
Content of configuration file (config.yml):
{
"pipeline":"spacy_sklearn",
"path":"./models/nlu",
"data":"./data/data.json"
}

Content of domain file (domain.yml) (if used & relevant):

slots:
   stream:
      type: text

intents:
 - new_admission
 - greet
 - goodbye
 - affirm
 - intro
 - events
 - health
 - entrance_exam
 - question_paper_entrance
 - college_timings
 - calculate_distance
 - abusive
 - out_of_scope

entites:
 - stream
 - location

templates:
  utter_greet:
   - 'Hello how can i help you'
   - 'Hey there'
   - 'Hi how can i help you'
   - 'Hi buddy'
   - 'hello'
   - 'hey buddy'
  utter_goodbye:
   - 'ok bye :('
   - 'bye have a nice day'
   - 'bye talk to you later'
   - 'bye have a nice day'
   - 'have a good day ahead'
  utter_affirm:
   - 'okayy'
   - 'cool'
   - 'chill'
   - 'i got that'
  utter_intro:
   - 'I am a chatbot to answer your queries related to college admission,placements,fees,etc'
   - 'I am a chatbot created by HARVINDAR SINGH GARCHA to answer queries related to college'
  utter_events:
   - 'We have a good record of conducting co-curricular activities'
   - 'We have big events as well as separated department events'
   - 'Co-curricular activities in our college help students to reduce study load which are organized properly every year'
  utter_health:
   - 'I am good Buddy,you say'
   - 'I am doing well today'
   - 'Life is always good'
   - 'I am fine'
   - 'I am cool'
  utter_entrance_exam:
   - 'Please keep checking the dates on website we will update it soon'
  utter_question_paper_entrance:
   - 'All the question papers of previous year question papers can be found on www.modencollege.edu'
  utter_ask_stream:
   - 'Please specify me the stream'
   - 'Please tell me the stream such as mba,bcs,mcs,bcom,mcom,bba '
  utter_default:
   - 'Sorry I am not trained Yet to do that,For More information Please Keep Checking The College Website '
  utter_abusive:
   - 'Please be polite to me.'

actions:
 - utter_greet
 - utter_goodbye
 - utter_abusive
 - utter_affirm
 - utter_events
 - utter_health
 - utter_entrance_exam
 - utter_question_paper_entrance
 - utter_college_timings
 - utter_intro
 - utter_ask_stream
 - admission_mcs
 - admission_bcs
 - admission_bba
 - admission_mba
 - admission_bcom
 - admission_mcom
 - fees_mcs
 - fees_bcs
 - fees_mba
 - fees_bba
 - fees_bcom
 - fees_mcom
 - placement_bcs
 - placement_mcs
 - placement_bcom
 - placement_mcom
 - placement_bba
 - placement_mba
 - timing_mba
 - timing_bba
 - timing_bcom
 - timing_mcom
 - timing_mcs
 - timing_bcs

the model doesn't actively get trained while you're running interactive learning, so that's intended behaviour. Once you export your data and retrain, it will learn to recognise that intent instead.


getting a UID as a string for sending to Print.serial1(UID.hex) or as Keyboard.print(UID.dec)

Hello,
I'm looking for a simple way of getting UID as HEX but without spaces with upper letters and to be able to send them as string.
In actual demo of Dump info the value of UID is coming as byte after byte,
When i use Println before getting the UID i get the bytes one after another, it is hard to manage in my project.
It would be superb. if there would be a separate functions to call just if you need UID as string, both as Decimal or if you need as hex. For both 4byte and 7 byte UID's
For example : "0A5C9F76" not (byte)0A (byte) 5C (byte)9F (byte)76
If there is a way i just can't find it.

Hi,
that is not an issue with this library, please use platforms which are specialized in c/c++ problems like http://forum.arduino.cc/ .
Best


KAFKA-9465: Enclose consumer call with catching InvalidOffsetException

In maybeUpdateStandbyTasks, the try block encloses restoreConsumer.poll and record handling.
Since InvalidOffsetException is thrown by restoreConsumer.poll, we should enclose this call in the try block.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@tedyu @guozhangwang The cleanup on trunk is done. What is the status of this PR and ticket? Still valid? Or implicitly fixed by the refactoring?

I just checked the current trunk this issue is already resolved.

Thanks @guozhangwang. I resolve the Jira ticket. Closing this PR.


Change string substitution from % to format

In order for translations to work consistently substitution needs to be done using named parameters rather than position.
For example _("%s is in %s") might be translated in a different language to something meaning "%s contains %s" and a substitution like _("%s is in %s") % (inside, outside) which in english would give "inside is in outside" might result instead in "inside contains outside" rather than "outside contains inside" as it should.
Instead we plan to do _("{inside:s} is in {outside:s}").format(inside="inside", outside="outside") which uses named parameters so that a translation "{outside:s} contains {inside:s}" will still result in the correct substition order.
The minimum required is to convert translation strings containing 2 or more variable substitutions. Ideally for consistency all translations should use str.format(), and ideally all % substitutions would be changed also.
PLUS...
This is also an opportunity to ensure that console command help strings do not have the command names translated (which is an error in current code). e.g. @self.context.console_command("bind", help=_("bind <key> <console command>")) should be @self.context.console_command("bind", help="bind "+_("<key> <console command>")).

I am committing only the first file at this stage and request review of this to make sure that the changes are on the right lines.

This set of changes is still good but will need to be done in 0.8.0 given that a number of gui files are changed in there.

Yes - I agree. Hopefully we will move to 0.8.0 beta 1 soon.
I think we will need a 0.7.5 first though as a final stable with all other changes before we switch to 0.8.


Add hook to ban users

When user makes many attempts to login or many requests with wrong access key or many attempts to change password we should block him. We may mark his account as suspended in user store, provided by app (add methods to block/unblock to API, if necessary).
We should provide mechanisms to detect such attempts, block user and notify application about it.
There should be settings in the lib for this task:

number of attempts to login, to change password;
number of attempts to use API with wrong access token;
callback to notify app (may be callback in user service is already enough? try to implement sample with it);
whether block user or only notify app (if we just notify app via user service, it may decide for itself, without additional options);

How to unblock user? Should lib provide some schedulers, or leave it to app itself?
Another concern: it may be better to block user at web server level, not on application side to minimize load. So, application may use approach similar to fail2ban, external tool or invoke system calls itself to add iptable or firewall rule to block user's IP and add system timer to unblock it later.
We may add primitives to do this task via calls to systemd, for instance.

I decided to postpone this issue. Currently I have no idea how it could be properly implemented in general case. We could only think about some special callback to notify app about failed attempt, but it's not a very big deal, we may add this callbacks when we really need them.
In LR project we want to use authkit as a module for Nginx. Initially on the same host as Nginx with unix socket connection, but potentially we may need to put it onto another node. So, it should invoke some command on different node. In-process communication (callbacks etc) won't work in such case. But module already reports failed attempt to Nginx - in the form of response to the Nginx's request.
I think, (at least for now) it's better to use fail2ban to protect Nginx and app. Especially, because we already use it to protect ssh. Also, this tool is external to the app, so, it could be more easily replaced if required. Fail2ban analyzes nginx or custom logs and best we can do to assist it is to write recognizable errors into log files. I think, we already able to do this. Fail2ban may be customized to implement custom "jails", it seems, that it is possible to implement required scenarios with it.
I think, we may provide some example of fail2ban usage for scenarios above for Nginx module, after we implement module itself.
See https://www.digitalocean.com/community/tutorials/how-to-protect-an-nginx-server-with-fail2ban-on-ubuntu-14-04#configuring-fail2ban-to-monitor-nginx-logs.


🚆docs: Railway template

Summary
Created a template
Change Type

[x] Documentation update

Checklist

[x] My code adheres to this project's style guidelines
[x] I have performed a self-review of my own code
[x] I have commented in any complex areas of my code
[x] I have made pertinent documentation changes
[x] My changes do not introduce new warnings
[x] I have written tests demonstrating that my changes are effective or that my feature works
[x] Local unit tests pass with my changes
[x] Any changes dependent on mine have been merged and published in downstream modules.

Closed, since the PR was not intentional


Updates path in README.md

Just a small update for a path we missed during the errors PR review

PIng @cicoyle

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

Comparison is base (fd317d2) 80.10% compared to head (79a47c1) 80.10%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   80.10%   80.10%
=======================================
  Files          54       54
  Lines        4248     4248
=======================================
  Hits         3403     3403
  Misses        702      702
  Partials      143      143

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

thanks @elena-kolevska


Authentication Error

Hi,
i've created the this template via nuget comand "dotnet new BlazorHero.CleanArchitecture"
I starting the server with .net console (not IIS). All builds fine but the console writes some exceptions:
I have not changed anything yet.
How can I fix these errors?
Thanks!
Sending HTTP request GET https://localhost:5001/api/identity/account/profile-picture/c6feb5e1-61e6-426a-9117-e3d253ef1dab crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]       Unhandled exception rendering component: TypeError: Failed to fetch System.Net.Http.HttpRequestException: TypeError: Failed to fetch    at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Demo.Client.Infrastructure.Authentication.AuthenticationHeaderHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in C:\code\private\Demo\Demo.Client.Infrastructure\Authentication\AuthenticationHeaderHandler.cs:line 30    at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Toolbelt.Blazor.HttpClientInterceptorHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Toolbelt.Blazor.HttpClientInterceptorHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)    at Demo.Client.Infrastructure.Managers.Identity.Account.AccountManager.GetProfilePictureAsync(String userId) in C:\code\private\Demo\Demo.Client.Infrastructure\Managers\Identity\Account\AccountManager.cs:line 33    at Demo.Client.Shared.Components.UserCard.LoadDataAsync() in C:\code\private\Demo\Demo\Client\Shared\Components\UserCard.razor.cs:line 36    at Demo.Client.Shared.Components.UserCard.OnInitializedAsync() in C:\code\private\Demo\Demo\Client\Shared\Components\UserCard.razor.cs:line 20    at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()    at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle) crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]       Unhandled exception rendering component: TypeError: Failed to fetch System.Net.Http.HttpRequestException: TypeError: Failed to fetch    at System.Net.Http.BrowserHttpHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Demo.Client.Infrastructure.Authentication.AuthenticationHeaderHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) in C:\code\private\Demo\Demo.Client.Infrastructure\Authentication\AuthenticationHeaderHandler.cs:line 30    at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Toolbelt.Blazor.HttpClientInterceptorHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at Toolbelt.Blazor.HttpClientInterceptorHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)    at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken)    at Demo.Client.Infrastructure.Managers.Identity.Account.AccountManager.GetProfilePictureAsync(String userId) in C:\code\private\Demo\Demo.Client.Infrastructure\Managers\Identity\Account\AccountManager.cs:line 33    at Demo.Client.Shared.Components.UserCard.LoadDataAsync() in C:\code\private\Demo\Demo\Client\Shared\Components\UserCard.razor.cs:line 36    at Demo.Client.Shared.Components.UserCard.OnInitializedAsync() in C:\code\private\Demo\Demo\Client\Shared\Components\UserCard.razor.cs:line 20    at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()    at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle) Debugging hotkey: Shift+Alt+D (when application has focus) blazor Loaded 12.36 MB resources This application was built with linking (tree shaking) disabled. Published applications will be significantly smaller. Loaded 12.36 MB resources from cache info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]       Authorization failed. These requirements were not met:       ClaimsAuthorizationRequirement:Claim.Type=Permission and Claim.Value is one of the following values: (Permissions.Roles.View) info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]       Authorization failed. These requirements were not met:       ClaimsAuthorizationRequirement:Claim.Type=Permission and Claim.Value is one of the following values: (Permissions.Users.View) info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]       Authorization failed. These requirements were not met:       ClaimsAuthorizationRequirement:Claim.Type=Permission and Claim.Value is one of the following values: (Permissions.Products.View) info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]       Authorization failed. These requirements were not met:       ClaimsAuthorizationRequirement:Claim.Type=Permission and Claim.Value is one of the following values: (Permissions.Brands.View) info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful. info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[1]       Authorization was successful.

Was the create command complete ?  "dotnet new BlazorHero.CleanArchitecture -n NameOfProject "

could you try to run the application in a different browser? maybe without caching?

Hi,
sorry for my late answer.
@Duelbat  yes. this was the complete command. I used the steps in the documentation.
@iammukeshm  I've testet on Firefox and Chrome as well. The same issue. I also testet with incognito tab.
The issue comes only with .net hostet console app. In IIS-Express works fine. But i become a JSinterOp Exception from MudBlazor on pciture upload...

I've just tried creating a new projectc from the template, as well as downloaded the repo directly, and get this error trying to run the site after successful compilcation.  This is at the logon screen.
Failed to load resource: the server responded with a status of 404 ()
blazor.webassembly.js:1 info: Microsoft.AspNetCore.Authorization.DefaultAuthorizationService[2]
Authorization failed. These requirements were not met:
DenyAnonymousAuthorizationRequirement: Requires an authenticated user.
blazor.webassembly.js:1 crit: Microsoft.AspNetCore.Components.WebAssembly.Rendering.WebAssemblyRenderer[100]
Unhandled exception rendering component: Response status code does not indicate success: 404 (Not Found).
System.Net.Http.HttpRequestException: Response status code does not indicate success: 404 (Not Found).
at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.NegotiateAsync(Uri url, HttpClient httpClient, ILogger logger, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.GetNegotiationResponseAsync(Uri uri, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.SelectAndStartTransport(TransferFormat transferFormat, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsyncCore(TransferFormat transferFormat, CancellationToken cancellationToken)
at System.Threading.Tasks.ForceAsyncAwaiter.GetResult()
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsync(TransferFormat transferFormat, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncCore(CancellationToken cancellationToken)
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncInner(CancellationToken cancellationToken)
at System.Threading.Tasks.ForceAsyncAwaiter.GetResult()
at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync(CancellationToken cancellationToken)
at BlazorHero.CleanArchitecture.Client.Shared.MainLayout.OnInitializedAsync() in C:\Users\e99444\Documents\GitHub\CleanArchitecture\BlazorHero.CleanArchitecture\Client\Shared\MainLayout.razor.cs:line 61
at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle)


[ADAM-1438] Add ability to save FASTA back as a single file.

Resolves #1438. To support saving FASTA as a single file, moved the private writeTextRdd method from the FeatureRDD to GenomicRDD, and opened protections to protected.

Coverage decreased (-0.5%) to 82.542% when pulling 18c12e8f1d35caf6280d05fa7e75b853f90c7dd3 on fnothaft:issues/1438-as-single-fasta into 0306717cb952511d48e514475b70ae995a468b5a on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2149/
Test PASSed.

FYI, some of this was done already in #1505, which has been hanging around a while because GenomicRDD keeps changing.

Rebased.

Coverage decreased (-0.6%) to 83.431% when pulling 2ebac20b89a1eaf39a0a9beda62f528f5c632129 on fnothaft:issues/1438-as-single-fasta into 97a8498becd03720465b862bea8e1c339152eafd on bigdatagenomics:master.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/ADAM-prb/2194/
Test PASSed.

Thank you, @fnothaft


Bug: Command Line Help Prints Nothing

Description
When I run cswinrt.exe -?, no help is printed
Steps To Reproduce
Run cswinrt.exe -?
Expected Behavior
To see help printed
Version Info
CsWinRT: 2.2.0
Additional Context
No response

I am able to repro this and it seems to have changed in behavior in the last build.  Something might have happened when we added a new option.

I've figured out the problem. It is a buffer overrun when we tried to print -idic_exclusiveto. The buffer size of write_printf is 128 whereas -idic_exclusiveto is 142 characters (not including the null-terminator). A temporary workaround would be to make the buffer larger or reduce the number of characters in it, but I feel like we should have a more scalable solution.