Dynamic module path in launch.json config

Cross-post from https://github.com/microsoft/vscode/issues/180005...
I'm working in a Python project organized as a module hierarchy. To execute a file path/to/file.py, I run it as python -m path.to.file in order to resolve relative imports correctly.
To debug this file, my launch.json config currently looks like this:
{
      "name": "Python: Hardcoded Module",
      "type": "python",
      "request": "launch",
      "python": "${command:python.interpreterPath}",
      "cwd": "${workspaceFolder}",
      "module": "path.to.file",
      "args": []
    }

...plus another config for every new file I want to debug.
I would love to make a dynamic "Current file run as module from project root" launch config, and it seems to be very nearly possible, but not quite. The missing link is that I need a way to specify ${relativeFileDirname} using a period as the seperator instead of the normal path separator. If that could be achieved through either a new variable or some sort of modifier, it would improve the debugger a ton for projects structured this way!

Thank you for submitting your feature request and everyone who considered it! Unfortunately, this issue did not receive enough votes over the allotted time, and so we are closing the issue.

All good, thanks @brettcannon. Do you happen to have advice/feedback on how other users with a similar project config work around this issue? There could totally be something solution I'm missing here.

Best I can think of is having a top-level __main__.py for the package where you can specify arguments to choose which script you're running. And then you can use dynamic command-line arguments to choose which submodule you want to run.
Otherwise you could write a Python script to auto-generate an entry in launch.json for every submodule you have.


Increase Symmetra teleporter health

Created by: MaxwellJung
OW2: 50 health/150 shields
OW1: 50 health/250 shields

moved from ow1_emulator_backup#518


chore: migrate delete handler to slack edge

TL;DR
Refactored deleteHandler.ts to remove the form-data package as its provided natively by Bun; also migrated to slack edge

Merge activity

Jun 25, 9:54 AM EDT: @kcoderhtml started a stack merge that includes this pull request via Graphite.


Add catalogue state index list persistence to index

Use a serializer to write/persist list of known fileidentifiers per catalogue, and (try) load list of known when update merge per catalogue happens (e.g. simple avro/json or the likes)
When indexing hold state list of fileidentifiers, when indexing finished compare lists and delete if necessary
This way we can keep track of deleted IDs without deleting indexes

testing needed, to be confirmed working


injectTimes items reset the selected date to today.

Describe the bug
Hello, it seem that selecting a time value passed to the component using injectTimes property reset the current selected date to today.
To Reproduce
Steps to reproduce the behavior:
Can be reproduce in the demo example of injectTimes property (https://reactdatepicker.com/#example-inject-specific-times).

Reopen the datepicker and select an "injectedTimes", e.g. 23h59
See the error, the date is set back to the date of today.

Expected behavior
The date should not be updated to today when you click on an injectedTimes, like the default time.
Screenshots

Desktop (please complete the following information):

OS: Linux Mint 20.3 Una
Browser Firefox, Chromium
Version 122.0.1, 122.0.6261.29

It appear, that the date used while injecting time is used when you select a time. So this is why the date was reset to today every-time I click on one of this time.
I fix it in my implementation by making sure that the date passed to the injected time is the same as the currently selected, so when the user click on a time, it doesn't change the current time.
So there is not a "real" issue here, but the behavior was not 100% clear, the documentation might need a little bit of clarification.


aerokube/defender:latest Crashes

When installing moon and not overridding the defender image, (e.g. as shown in https://github.com/aerokube/charts/blob/b061bf62c4bd9a8db72df78c47ce6510aa9999dc/moon/values.yaml#L300C1-L300C1) , the image aerokube/defender:latest is used. This does not start up correctly and crashes repeatedly.
When getting the log for the failing container, all I see is:
$ kubectl logs -n moon chrome-113-0-5a0db94f-14bf-4549-8c17-6785ccfefb9e -c defender
flag provided but not defined: -proxy-url
Usage of /defender:
  -driver-startup-timeout duration
    	driver startup timeout in time.Duration format (default 5m0s)
  -grace-period duration
    	graceful shutdown period (default 30s)
  -listen string
    	address to bind (default ":4545")
  -moon-url string
    	moon service url (default "http://moon.moon:4444/wd/hub")
  -proxy-path string
    	proxy path (default "/")
  -proxy-port string
    	proxy port (default "4444")
  -quota string
    	quota name
  -retry-count int
    	number of retries to delete session (default 5)
  -retry-delay duration
    	retry delay (default 30s)
  -session-delete-timeout duration
    	session delete timeout in time.Duration format (default 30s)
  -session-timeout duration
    	session timeout in time.Duration format (default 1m0s)
  -version
    	Show version and exit

Overridding the block using the commented block, does work, since it's specifying a specific tag, that isn't latest

@huang-jy this was released as https://github.com/aerokube/moon/releases/tag/1.9.11.

can confirm 1.9.11 works. I removed the override and re-ran my tests. The chart pulled aerokube:defender:1.9.11


Listing tunnels

How do I know how many tunnels are presently connected to sish?

You can check by either enabling the main admin console (which prints users as well as their tunnels) or enabling debug mode which will print the number of tunnels to stdout.

I enabled admin console, but I am getting a 404 error.  My bad, I should've probably highlighted that more in the README. The documentation is in the flag though:
      --admin-console                               Enable the admin console accessible at http(s)://domain/_sish/console?x-authorization=admin-console-token

The route to the admin console is /_sish/console?x-authorization=password.
Hope this helps!

Great! Now it is working!


Runtime: Integrate into Node.js backend

[x] Add shim that forwards DuckDB queries in Node.js backend to runtime
[x] Start runtime as a subprocess in Node.js backend
[x] Add postinstall script that downloads platform-specific runtime binary
[ ] Document dev workflow for testing the runtime in Rill Developer
[x] Await resolution of https://github.com/marcboeker/go-duckdb/issues/39
[x] Test that extensions load correctly (tested only Parquet)
[x] Resolve bug causing test cases to start multiple runtime processes (causing port clashes)
[x] Investigate why npm run cli init-example is failing (looks like it's not using the DuckDB singleton)
[ ] In dev mode changes to server triggers a restart by ts-node-dev. But this doesnt kill the runtime. (Low priority since the runtime is still up)
[x] After a while the server goes into error state (no reproducible steps yet). Parquet plugin is gone, all temporary views are gone as well.
[x] Copying duckdb file during init doesnt copy over the tables. But pointing to existing file does retain the tables.
[ ] A large union query for histogram test takes forever to resolve. Returns within a second for nodejs duckdb and using go-duckdb directly. (Issue identified to be in duckdb) [Benjamin - File an issue with DuckDB] [Aditya - disable the test]

Infra related (I think):

[ ] Travis CI job runs into the scanBlob address violation issue. https://app.travis-ci.com/github/rilldata/rill-developer/jobs/583313459 [Benjamin - checking]
[x] Test vercel/pkg builds on multiple platforms. Binary fails to start on M1 mac after copying it to a different folder. [Aditya] - Resolved by extracting the in-memory binary to an external file.

Follow this pull request: https://github.com/rilldata/rill-developer/pull/854

Did some more debugging – it appears that it’s a DuckDB bug where queries with deeply nested nodes (UNIONs are represented with nested ASTs, not as lists) fail when not executed on the main thread.
Tried to simulate it in Go, C, and C++, and worryingly the symptoms present differently in different languages (bus error in C, hanging in Go, mixed hanging and stack overflow error in C++). The versions I’m testing with are slightly different, though (master for C++, Go and C on v0.5).
 One hypothesis is that on the Go side, instead of crashing when DuckDB (cgo) hits the stack overflow, it just hangs.
Just to document this: the deeply nested query succeeds in Go if run on the main thread, but not when run on another OS thread – maybe because Go allocates a bigger stack for the main thread than for secondary threads. Threads aren't exposed in Go, only goroutines (several of which may run on a single thread), so I haven't found a way to customize their stack size.
The simplest path seems to be to just limit the max_expression_depth as suggested in the issue above.


Use virtio for much better network performance

I don't know if this setting is appropriate for everyone.  On my Mac, without this setting, the network would inexplicably freeze at certain points in the process, sometimes for up to 10 minutes.  With this setting, that never happens, and boxes build much faster.
I can make this an option if you prefer.

Are you doing anything with jumbo frames on your network? That might be an explanation for the freezing.

That being said, I've been hearing better things about the virtio performance in 5.1.x, so worth doing a box build with the drivers enabled. The change can always be reverted if it doesn't work out.

I don't know anything about jumbo frames, or how to know if they are involved.  If you want me to get some information, I can, if you tell me how to get it. :)

Whether or not you use jumbo frames would be a helpful data point
https://discuss.aerospike.com/t/check-jumbo-frame-settings-with-ping/728

I'm on a Mac, and my MTU is set to 1500.  Googling around, there doesn't seem to be a way to set it higher.


improve code coverage

Summary
improve some code coverage for the packages jest-message-util, jest-mock and jest-matcher-utils

Test plan
yarn test

Codecov Report

Merging #3258 into master will increase coverage by 0.63%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3258      +/-   ##
==========================================
+ Coverage    63.6%   64.24%   +0.63%
==========================================
  Files         175      175
  Lines        6433     6433
  Branches        4        4
==========================================
+ Hits         4092     4133      +41
+ Misses       2340     2299      -41
  Partials        1        1

Impacted Files
Coverage Δ

packages/jest-mock/src/index.js
91.81% <0%> (+2.27%)
:arrow_up:

.../jest-message-util/src/separateMessageFromStack.js
90% <0%> (+10%)
:arrow_up:

packages/jest-message-util/src/messages.js
86.84% <0%> (+14.47%)
:arrow_up:

packages/jest-matcher-utils/src/index.js
98.64% <0%> (+28.37%)
:arrow_up:

packages/jest-message-util/src/index.js
100% <0%> (+100%)
:arrow_up:

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 2024e3e...e6a52d0. Read the comment docs.

thank you!

This is nice! Thank you @cpenarrieta.


Re-enable camera path recording

Fixes #47
Who would have thought reading the README would be so useful!

Can we remove this section from the readme now? (Same for video support; is this supported on all platforms?)

Can we remove this section from the readme now? (Same for video support; is this supported on all platforms?)

Yeah I think that's sensible, I'll remove the camera path section as part of this PR


Set item active after toggling

Hi again, once more thank you for this component and Fast replying. I would like to ask... Is it possible to set item as active after toggle event is executed? This works fine when the on click event is fired, but i would like to also set item as active after toggle is executed, not just on click. Thanks for an answer. Best regards, Aleš.

Check the API document for ItemComponent here. When onClick is fired, the item will become active (i.e. active will become true).
So basically what you want to achieve is to fire toggleNode and onClick at the same time when user click on the item (or the toggle Icon).
This behavior is quite different from the default behavoir, so you need to implement your own ItemCompnent, which behaves as described above.


Add startup in tray option

What's the Problem?
No response
Solution/Idea
Add an option to Download Manager so it starts in the tray on startup.
Alternatives
Download Manager could have the option to be started as minimized on startup instead.
Download Manager Version
No response
Windows Version
No response
Comments
No response

Implemented in 42a88c0.


[Feature request] Add the ability to disable acrylic on text box

Setting it to 100% will disable the acrylic completely.

That doesn't do the desired effect.

That doesn't do the desired effect.

What do you mean? If you set it to 100%, the code behind will swap the background with solid color brush and will eventually disable acrylic at all. Can you share screenshot and example that you want to achieve?

What I want to achieve is disabling acrylic on the text area.

Where? These is no acrylic in above screenshot.

I only want to remove textbox acrylic


grpc 1.9.0 memory leak when enabling max idle filter

What version of gRPC and what language are you using?
1.9.0-C++
What operating system (Linux, Windows, …) and version?
Windows, Linux
What did you do?
Set GRPC_ARG_MAX_CONNECTION_IDLE_MS to 2 minutes
What did you expect to see?
Option to work as expected without causing a memory leak.
What did you see instead?
Huge memory leak observed. Log attached.
Anything else we should know about your project / environment?
On server, one thread to process completion queue and another thread to handle the events. From client, bombard the server with few different rpcs. When the option is not enabled, no memory leak is observed. When the option is enabled, I lose about 4 mb per second.
memory_leak.txt

@abaldeva I've created https://github.com/grpc/grpc/pull/14501 to fix the leak. Could you please also verify the fix with your server. Thanks!


path_provider usage of dart:ffi prevents web compilation

Due to the inconsistent set of dart libraries supported by Web and Desktop/Mobile SDKs, certain dart libraries cannot be used safely. dart:ffi is one of those - if it is reachable in a web app, the compilation will fail.

Having a similar issue. Logs show the issue is caused with new update to path_provider released today.
The pub get command is picking all repos:
[  +16 ms] Found plugin onboard_plugin at /home/ubuntu/workspace/Meta-Project-Build-Internal-Android-32bit/onboard_plugin/
[   +4 ms] Found plugin path_provider at /home/ubuntu/.pub-cache/hosted/pub.dartlang.org/path_provider-1.6.16/
[        ] Found plugin path_provider_linux at /home/ubuntu/.pub-cache/hosted/pub.dartlang.org/path_provider_linux-0.0.1+2/
[   +1 ms] Found plugin path_provider_macos at /home/ubuntu/.pub-cache/hosted/pub.dartlang.org/path_provider_macos-0.0.4+4/
[   +1 ms] Found plugin path_provider_windows at /home/ubuntu/.pub-cache/hosted/pub.dartlang.org/path_provider_windows-0.0.2/

Temporary fix: roll to previous version path_provider: 1.16.14

I guess we'll need to conditional-include path_provider_windows, with a dummy version of PathProviderWindows that's just an empty class for web?

Why didn't this fail flutter/plugins CI?

I wonder if we don't have anything in flutter/plugins that both supports web and depends on path_provider.

Just to clarify I ran into this same problem and the path provider version that fixes this is path_provider: 1.6.14, not 1.16.14

I am Facing Same Problem,
even   path_provider: 1.6.14 not working.
i am using dev channel, flutter web
Flutter 1.22.0-12.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision a27c242b0e (9 days ago) • 2020-09-11 17:46:57 -0400
Engine • revision fee6f9e533
Tools • Dart 2.10.0 (build 2.10.0-110.0.dev)
can anybody help me? [ i am new to flutter, but i have 12 years of c#.net experience in desktop coding.]

@mavtar-software the issue should be fixed for now. If you are still having issues, switch over to beta channel using “flutter channel beta” and running “flutter upgrade” and “pug get” If you are still having issues I would create another ticket as your issue could be unrelated.

@mavtar-software the issue should be fixed for now.

It is not fixed yet.

Same issue

Everyone with a project that has a dependency (transitive or otherwise) on path_provider will have this problem building for web if they have 1.6.16. Please just subscribe to the issue if you want to get an update when the fix is landed and published; there's no need to comment about the existence of the problem.

I didn't use the path_provider package in my case
then I just added  path_provider_windows: ^0.0.4+1 in my pubspec.yaml file.
So, working fine!
You can try this one.

thanks a lot Mr. faisalramdan17.
its working now.

It shouldn't be necessary to manually pin a version of path_provider_windows if the dependency is transitive; you just need to re-pull the latest versions of packages so that you get the latest path_provider and path_provider_windows.

thanks a lot Mr. faisalramdan17.
its working now.

It's okay brother

This should still be open. It's not fixed yet. Fixed for windows builds, not web. I confirm I still have the same problem with   path_provider: ^1.6.27

This should still be open. It's not fixed yet. Fixed for windows builds, not web. I confirm I still have the same problem with   path_provider: ^1.6.27

Fixed for windows builds, not web.

This was only ever an issue for web, so I'm not sure what you mean by "fixed for Windows build".

I confirm I still have the same problem with path_provider: ^1.6.27

Please file a new issue with the exact error message. Either your packages have not updated correctly, or you're getting an FFI inclusion some other way.

Fixed for windows builds, not web.

This was only ever an issue for web, so I'm not sure what you mean by "fixed for Windows build".

I confirm I still have the same problem with path_provider: ^1.6.27

Please file a new issue with the exact error message. Either your packages have not updated correctly, or you're getting an FFI inclusion some other way.

for those the above solution didn't work, try removing ffi.dart if it is imported in your project in lib section. I had the same issue, when I remove the import all was working fine

for those the above solution didn't work, try removing ffi.dart if it is imported in your project in lib section. I had the same issue, when I remove the import all was working fine

It seems like there's some confusion about what this issue was about. Any inclusion of ffi in a web project will fail to compile, which is expected behavior. This issue was about the fact that path_provider created a transitive dependency on ffi, and that has long since been fixed.
Unless your output contains:
 Target dart2js failed: Exception: [...]/path_provider_windows.dart:7:8:
 Error: Not found: 'dart:ffi'

—note the path_provider_windows as the place where the dart:ffi include is coming from—your issue is unrelated to this one, and you should look at what file is listed there instead of path_provider_windows to find out what is including ffi in your project.

It seems like there's some confusion about what this issue was about. Any inclusion of ffi in a web project will fail to compile, which is expected behavior. This issue was about the fact that path_provider created a transitive dependency on ffi, and that has long since been fixed.
Unless your output contains:
 Target dart2js failed: Exception: [...]/path_provider_windows.dart:7:8:
 Error: Not found: 'dart:ffi'

—note the path_provider_windows as the place where the dart:ffi include is coming from—your issue is unrelated to this one, and you should look at what file is listed there instead of path_provider_windows to find out what is including ffi in your project.


Write shortest solution: How to check if ufw is active (ufw)

Please help us write most modern and shortest code solution for this issue:
How to check if ufw is active (technology: ufw)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to check if ufw is active


Missing Credit

Seems like you have copied the work of someone else based on similarity.
Please give credit to the site you took it from.
https://givemeans.wordpress.com/2018/03/04/upload-sharex-screenshot-with-custom-name-using-php-uploader/

This project was started a year before post you found was made, check commits.


suggestion: autocommit - disable at all or at least to make it disabled by default

hi dbeavers,
this tool is pretty cool. Please consider changing connection "autocommit" feature from default "on" to "off". From my experience the autocommit=on causes real issues in all possible working flows leading into accidentally deleted/updated/inserted data.
So chaning on->off can make our lives safer a bit.
(Personally I'd like to see autocommit completely hidden or even removed at all ;))

I vote for autocommit = off as the default settings for all database connections (irrespective of production / test / development connection). Working with auto commit on databases is like programming without a software versioning system.

Same here, i think it's better to have autocommit = off as the default settings for all database connections. And if we want to have autocommit = on by default, then add a parameter to change it. Like that you have the default autocommit  you want.

I agree, having the option to choose the default setting for autocommit per database connection is the best option

to everybody: autocommit is already a setting that can be changed per connection. Also for groups of connections depending on connection type.
This ticket is here because the default setting for a new connection type is development, and default autocommit for development is on.
I'd argue that current connection wizard no longer offers the explicit option to choose connection type: you have to know which button to press to get to a page where autocommit behavior can be changed. So maybe this is worth improving; that said, autocommit on development connections makes sense.

@p91paul thanks for explaining this 👍
Probably we could add "Connection Type" selector somewhere in the connection wizard to make it more obvious.
E.g. on driver selector page near to Project selector. Or right on connection properties page near to Edit Driver button.
WDYT?

To be honest, the autocommit=on (even in DEV env) is a Bad idea (tm).
I still think that having this option in connection wizard should help more experienced people and solve the problem..

@serge-rider I personally prefer the second option, in the connection property page.
@pvanek if autocommit on dev is a bad for you, you can disable it globally in preferences. By default, autocommit is fine: if you think about it, people with weak database knowledge expect that when they modify a table from the table editor and click save, changes are persisted. Which is not true with autocommit off, and leads to errors (there are plenty of issues here like "I saved it, then after closing and reopening DBeaver it disappeared").
People like you, who are transaction-aware, can also handle editing an option.

For what it is worth, I just want both sides to understand how much chaos either default value for the setting can cause.

When you disable auto-commit, every query or update you initiate could potentially open a transaction that will lock tables.  With less knowledgeable analysts running just SELECT queries against your system, they might end up leaving a window open that is locking a table that will cause your overnight processes to fail when they try to update that table.
When you enable auto-commit, if you are performing updates and accidentally make a mistake (oops, I did a DELETE * FROM but forgot to include the WHERE clause!) you can't rollback the transaction.

My point is simply that there is no single "correct" answer to this.  I think that @serge-rider nailed this by placing global default preferences in Database > Connection Types (Production/Development/Test), plus allowing the override on each connection itself.

In my opinion opening a transaction for only SELECT queries is quite useless and obstructing, especially if it is not visible there is an open transaction.  SELECT queries is what I do 90% of the time. Because many other tools for PostgreSQL have default autocommit=on, I always explicitly use START TRANSACTION; ... COMMIT; in my queries if I want to use transactions when I do DELETE/UPDATE/INSERT.
Could be I don't oversee things enough, but some feature like this would be great:

Only start a transaction on DELETE/UPDATE/INSERT/... initiated either with SQL scripts or when editing a data tab
do not start a transaction for single SELECT queries
Make it more clear/visible once a transaction is started

Hi, i noticed these last times that my Auto commit is off and once i do one commit it is switching to Auto commit enabled instead to remain in manual commit...
Could it be possible to remain in manual commit?
Cause it is really dangerous on Production DB to be in autocommit.
And checking the autocommit state after each manual commit is not valuable.

Wow, I can't believe autocommit is on by default. This is an extremely bad idea and makes me doubt the overall design of this application.

I set my connection type to production without knowing that it disables autocommit. I did a couple of updates which locked various rows and caused parts of the production system to get stuck. In my opinion, this actually defeats the purpose of the "production" connection type, especially for users coming from other tools (adminer/pgadmin in my case) that use autocommit.

You can prompt me when I try to close the application but not when I attempt to commit a transaction? Smart Commit should be the default at the very least. Committing transactions are only applicable to Updates, Deletes, etc., so if someone is confused about how transactions work, then they should not be performing them.

Here is some things you can do:

set autocommit default for connection type (i.e. you can set development connections as manual commit as well)

set or unset autocommit per connection, ignoring the connection type default (to access this view, right click on a connection in Database Navigator and select "Edit Connection (F4)"

Thanks, I would have never looked in initialization if a menu point transactions is existing.


How to properly do User Authentication with Hug

I know I could do basic user authentication the traditional way, but I would like to know how I could do this with hug the proper way using middleware. I can't seem to find much in the way of any docs or examples for this. It's possible I missed something. So I was just hoping to get pushed in the right direction.

I'm new to hug but I think method chaining is preferred over middleware for authentication purposes.
import hug

admin_area = hug.http(requires=hug.authentication.basic(hug.authentication.verify('Nick', '1234')))

@hug.get('/')
def hello_world():
    return 'Hello world'

@admin_area.get('/admin/hello')
def admin_hello():
    return 'Hello Nick'

@admin_area.put('/admin/goodbye')
def admin_goodbye(name: hug.types.text):
    return 'Goodbye {0}'.format(name)

# -- TEST --
from base64 import b64encode
token = b64encode('{0}:{1}'.format('Nick', '1234').encode('utf8')).decode('utf8')

api = hug.API(__name__)

response = hug.test.get(api, '/')
print(response.status, response.data)

response = hug.test.get(api, '/admin/hello', )
print(response.status, response.data)

response = hug.test.get(api, '/admin/hello', headers={'Authorization': 'Basic {0}'.format(token)})
print(response.status, response.data)

response = hug.test.put(api, '/admin/goodbye', name='Joe', headers={'Authorization': 'Basic {0}'.format(token)})
print(response.status, response.data)

Outputs:
200 OK Hello world
401 Unauthorized {'errors': {'Authentication Required': 'Please provide valid Basic HTTP Authentication credentials'}}
200 OK Hello Nick
200 OK Goodbye Joe

References:
http://www.hug.rest/website/learn/routing (scroll down to chaining)
https://github.com/timothycrosley/hug/blob/develop/examples/authentication.py
https://github.com/timothycrosley/hug/blob/develop/tests/test_authentication.py
https://github.com/timothycrosley/hug/blob/develop/hug/authentication.py

@timothycrosley I think this can be closed.

@timothycrosley I think this should be re-opened, only if @incognick is willing to contribute to the hacktoberfest with a better authentication example for the /examples/ folder.
Perhaps it can even be called "auth_advanced.py". Let us know how you feel about contributing an example @incognick :)

Sure, I would be willing. I just used hug for a decent sized API and could write a few examples.
Has there been a decision on the documentation style? I saw some comments about this but wasn't sure. E.g. Markdown, HTML, or plain text?

@incognick The examples will live in the /examples/ folder for now. Having just the code (with some good comments on what each piece of code is doing) will help beginners for now. Once we decide on the documentation format, we can add more detailed walk-throughs of certain examples on the website.

Going to go ahead and close this as the question was nicely answered by @incognick, the question label will help us dig it up for documentation purposes
Thanks!
~Timothy

Shouldn't we have an auth parameter providing this entire boilerplate in the testing module?

anyone who know that how can i handle multiple users?


Added TLS support

This is to be merged after the TLS support for the server is merged to master.
TODO: add docs

Coverage remained the same at 100.0% when pulling 1b69dcbf8aa694beabef85cc64069b4413ad478e on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling 1b69dcbf8aa694beabef85cc64069b4413ad478e on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling 5eb448978fa4a2b044811335353a39c79f3a78cf on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling 609e35a41a0b1f579e558d556a4a2eaeb2ce9f71 on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling 26dd9cc3622613df3f345239b644d949a7100ef2 on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling d9b5fe0713df5e7097623b3d6f65de54c7ff4fcf on yuce:tls-support into 4015ea8e9a6f611c9bff8d4461e0deaa25f46b51 on pilosa:master.

Coverage remained the same at 100.0% when pulling 891e59bdacdc253445d5e27591f7af61e9c8922d on yuce:tls-support into eefb7e06b4f22ad6624f85864a8c07fd1eb1a3ad on pilosa:master.


[Tool] Restart crashed BE process at the application level and collect coredump

Why I'm doing:
collect coredump in k8s environment
What I'm doing:

Restart crashed BE process at the application level
Compress coredump
Upload coredump zip to blobstore

What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[x] This pr needs user documentation (for new or modified features or behaviors)

[x] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1-cs
[ ] 3.1
[ ] 3.0
[ ] 2.5

@chaoyli
can you please merge to branch-3.2 and branch-3.1-cs?
Thank you!

@mergifyio backport branch-3.2

@Mergifyio backport branch-3.1-cs


[Nexus Repository] Wrong Latest

Link to product page on endoflife.date
https://endoflife.date/nexus
Details of incorrect and correct details you have found
endoflife.date:
3.70.1-02
(11 Jul 2024)
Product documentation:
3.70.3
(10 Oct 2024)
What is the source website for the product and for its version information?
https://help.sonatype.com/en/orientdb-downloads.html
https://help.sonatype.com/en/sonatype-nexus-repository-3-70-0-release-notes.html
https://help.sonatype.com/en/2024-release-notes.html

Hello,
seems that the code go to github repo :
https://github.com/sonatype/nexus-public/releases
but I don't see there the release for 3.70.3
Also the code state this page : https://help.sonatype.com/en/sonatype-nexus-repository-3-versions-status.html
I don't see either 3.70.3
did they move out from github ?

3.70.3 - Last LTS version can be loaded from here https://help.sonatype.com/en/orientdb-downloads.html

Ok found it :
https://github.com/sonatype/nexus-public/releases/tag/release-3.70.0-03
https://help.sonatype.com/en/sonatype-nexus-repository-3-70-0-release-notes.html
I don't understand github release tag is from July 10th and the  3.70.0-02 is release one day later !

https://github.com/sonatype/nexus-public/releases/tag/release-3.70.0-03

Wrong. It's 3.70.0

3.70.3 released 10.10.2024

https://github.com/sonatype/nexus-public/releases/tag/release-3.70.0-03

Wrong. It's 3.70.0
3.70.3 released 10.10.2024

Yeah documentaion says 10.10 but actually it pushed to github at 10-06

3.70.0-03  is not
3.70.3-01 from here https://help.sonatype.com/en/orientdb-downloads.html

hmm could you  prepare a MR/PR so we can fix ?

https://github.com/endoflife-date/endoflife.date/pull/6424#discussion_r1888244788:

https://help.sonatype.com/en/orientdb-downloads.html
This is exactly the only place where you can download it "LTS for OrientDB". This is not even on Github, which was discussed in the issue.

Sorry I missed that detail -> re-open
Because 3.70 seems to be a special release we should better add the explanation with mentioned link to the notes and let the latest version link to the release notes. @PiRomant what do you think?


Enforce rtl

@donno2048 what does this change do?

Hebrew is written right to left, this text is written in the default of GitHub, which is left to right, I added the magic RTL character in the right places to enforce a right to left writing (and replaced the placing of some strings)


Refresh the contributing guide

Closes https://github.com/dwavesystems/dwave-ocean-sdk/issues/89
Obviously there is much here that can be debated. I tried to err on the side of clarifying existing conventions rather than adding new ones.
The biggest change is in the C++ section. In that case I included the .clang-format file we're currently using in dimod and dwave-preprocessing. minorminer uses a similar one but uses a 120 character limit.
I have a weak preference for the 100 character limit, but am fine either way.

CI errors seem to be https://github.com/dwavesystems/dwave-cloud-client/issues/553.


Add the Web Almanac Website!

URL: https://almanac.httparchive.org
The Web Almamac is an annual “state of the web” report covering many topics as “chapters” including Accessibility. We have spent considerable time and effort to look to make the website as accessible as possible, and to act as a showcase for the many techniques discussed in the chapters.
We use well-structured, semantic, HTML with the addition of ARIA attributes were appropriate. We also use additional, newer APIs like prefers-reduced-motion and reducing data on limited connections or where asked by users. We aim to make the site progressively enhanced so it should still work well on the simplest HTML device.
Being a data-driven report, we make particular efforts to ensure all data figures are well-described with both a caption and an easily-displayed description, linked with aria-labelledby and aria-describedby attributes. The source data and queries are also linked from each chapter to make the data further accessible to those wanting to analysis further.
We also make the report available in PDF format and take extra efforts to ensure it is an tagged PDF/UA-1 compliant PDF.
We perform automatic Lighthouse checks, using the underlying axe checks on every, single commit to try to avoid regressions - particularly in Accessibility. This check also runs weekly on the project website and ensures we keep our score of 100 for every, single page on the website.
We also regularly test manually, using keyboard navigation and the likes of VoiceOver on Safari. Plus, we are lucky to have access to Accessibility experts involved in the report to ask questions to (example). We give credit on the website to all contributors both in individual chapters, and on our contributors page.
We are very open and transparent on our accessibility work and issues through GitHub and have so far always addressed any accessibility issues raised quickly (within days).
We aim to make the site accessible to as many people as possible and so put considerable effort into translating the content with volunteers having made some of the content available in 11 different languages. We also aim to support those languages as best as possible and have added new functionality to handle the nuances and grammar of certain languages, rather than a basic translation. For example, the logo is different on our Japanese pages to represent the different ordering in that language, we have added RTL support to our templates (though currently unused as that language stalled) and also support things like Russian plurals.
We don’t limit ourselves to AA conformance and look also to AAA conformance - particularly with its enhanced colour contrasts.
I believe this site would make a good addition to your show case and would be happy to answer any questions and address and issues you spot when considering this site.

@calumryan many thanks for reviewing the site and for identifying the reflow issues on large text and smaller viewports. I’ve just pushed a fix that I believe addresses this, but would be very keen to hear if this is not the case. Thanks again for running the site and for featuring us!

That's improved for 320 pixels. Still some issues at around 1000 pixels wide as demonstrated here with the dropdown open it causes a reflow issue.

Thanks for looking again.
I can see what happened here: it decides the left/right hang on menu open based on whether it will overflow the screen. So can overflow if you zoom or change browser width while it's open - if you closed it and then reopened it again it would stop overflowing. Or if you'd opened it after zooming or changing size it would also not have been an issue. So a bit of an edge case, I hadn't fully considered. I added an onresize call to check this again and rehang it if necessary.
I also decided to change to em-based media queries as felt the desktop view wasn't the ideal view at those very large base font sizes except on really wide screen. So we go to mobile view more often which makes this issue less likely to happen - but still, the functionality is in there for when it does.
Both those changes are released now.

Thanks, that's fixed it now to scale much better in all cases for resize, zoom level consistently without any overflow.
Updated with overall AA grade 🎉

Thanks @calumryan for the time you spent on this and for helping improve our site!


Some recommendations for OBI github/website/obo page to enhance usability

A few assorted recommendations
Create a link from the GitHub repo to http://obi-ontology.org/
Many people will end up at the GitHub repo which is optimized for developers, the README dives straight in with editing details (in the odk we put this in src/ontology and have the top level README be more general interest). It's customary to have a bit more background in the README, also link to main site. And currently there are no links to the main obi site.
You can also configure GH to show the link to the website prominently at the top. I don't have permission to do this but it should look like this:

Show examples of use on OBI site
The website http://obi-ontology.org/ is really good but I recommend having a bit more about how OBI can be used before diving into what an ontology is. Links to any examples would be really helpful. May be hard as many OBI usages may be internal e.g. mapping internal schemas etc.
There are great examples in
https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0154556

IEDB
EuPathDb
ISA

There are 11 listed here: https://fairsharing.org/bsg-s000070/
Don't underestimate the confusion of the average user coming to an ontology site. Having simple examples of how an ontology is used on the ground can really help.
I would hyperlink the example terms.
Consider a link to OLS as it's more biologist-friendly
Curate examples in obi.md on OBO site
OBO has a usages field. See for example https://github.com/OBOFoundry/OBOFoundry.github.io/edit/master/ontology/cl.md or https://github.com/OBOFoundry/OBOFoundry.github.io/edit/master/ontology/envo.md
We don't yet show this but it's really useful to have this metadata curated for (re)review. This info can be uploaded to fairsharing too, but obo foundry needs are for more granular curation of usages.
Update other info on obo site
https://github.com/OBOFoundry/OBOFoundry.github.io/edit/master/ontology/obi.md

Frontmatter links to old Brinkman paper
no publications field curated in yaml section
no documentation on what the obi_core product is
no link to an obo artefact. I know most obi people want to ignore obo format but unfortunately it's in common use in the bioinformatics world

I agree with pretty much all of the proposals. The one thing I am wondering is if some of these should not be part of @rvita OBO registry wide review of ontology metadata. I believe some things like publication are already on her to-do list (but maybe that was primary citation).

Yes, I think Randi was doing publications, but ontologies should be eager
to be proactive and get their publications up there themselves!

Create a link from the GitHub repo to http://obi-ontology.org/

I can't add the link to the GitHub, but I made a PR to update the README: #1047

Show examples of use on OBI site

@ddooley has been working on updating the documentation: https://github.com/obi-ontology/obi-ontology.org/pull/2

Curate examples in obi.md on OBO site
Frontmatter links to old Brinkman paper
no documentation on what the obi_core product is

I've created a PR to update the OBO Foundry md: https://github.com/OBOFoundry/OBOFoundry.github.io/pull/967.
It includes TURBO and ECO as users, but perhaps there are others we can include? If @rvita isn't taking care of publications, I can add that in as well.

no link to an obo artefact. I know most obi people want to ignore obo format but unfortunately it's in common use in the bioinformatics world

We don't currently have an OBO release. I will work on stripping some axioms out and generating an OBO release so that we can add this to the OBO Foundry md.

Thanks @beckyjackson. I added that link to the GtiHub repo and merged the registry update. Please make a PR for the OBO-format artifact when it's ready.

@beckyjackson has addressed all of the suggestions.  The OBO format file will be posted as is.  If anyone downloads it and experiences problems, we can look into additional;l validation.

We now have an OBO product available - http://purl.obolibrary.org/obo/obi.obo (will work as soon as purl is updated, see https://github.com/OBOFoundry/purl.obolibrary.org/pull/563)
The only thing we have left from the recommendations is the documentation updates, which are in progress.

James will fork this issue into a new one for the doc updates.

Closing in favour of #1052


Tuesday December 8 2020 Meeting

Please comment on this PR or DM with things we should discuss or other changes that should be made to this document.
Once the meeting has happened I will add meeting notes and then once they have been reviewed this will be merged into meetings directory.

Might be worth bringing up long term Taproot planning? It did get merged into bitcoin core, but there is still no activation plan AFAIK.

One other thing that might want to be mentioned:
I we've at least internally talked about removing range events
https://github.com/discreetlogcontracts/dlcspecs/blob/master/Oracle.md#range
Should this be discussed?


rc: update 1.7.4 -> 2021-08-03

Description of changes
Updated to latest. Upstream switched to github. Added yacc.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 171301 run on x86_64-linux 1

1 package failed to build:

rc

error: Function called without required argument "yacc" at /home/mathym/.cache/nixpkgs-review/pr-171301-1/nixpkgs/pkgs/shells/rc/default.nix:1, did you mean "byacc", "sacc" or "ytcc"?
(use '--show-trace' to show detailed location information)

Link to currently reviewing PR:
https://github.com/NixOS/nixpkgs/pull/171301

1 package failed to build:
rc

error: build log of '/nix/store/h4ykb9c5xl85x6i6fydwp29k5fxbfzyi-rc-unstable-2021-08-03.drv' is not available
error: build log of '/nix/store/5p6jh94c4n8db399fhagsh36g7wqrf69-rc-unstable-2021-08-03' is not available

hmm... I guess yacc was deprecated in favor of bison or byacc at some point but I don't understand why it only raises flags during submission and not on my box... well, whatever. I'll resubmit after trying both out first.

minor formatting tweaks

adjusted everything asked except https://github.com/NixOS/nixpkgs/pull/171301#discussion_r867554558 since I'm not sure what to do ¯_(ツ)_/¯

thanks :)


How to perform additional checks on cookie login?

Hello. I’ve got a UserStatus claim that says if the user is Activ/Suspended/Banned. I use this to check if a user can sign-in or not. This works fine for controller-based logins, i.e. external or username & password as I can add my custom check code there, but how can I add this check when a user is signing in using a cookie?

You could add a validator, or an event. A validator would probably be better because it'll allow you to sign out users when you change their status.
Start with https://docs.microsoft.com/en-us/aspnet/core/security/authentication/cookie?tabs=aspnetcore2x#reacting-to-back-end-changes - and then if you are using ASP.NET Core Identity let us know and we'll help you wire it up.

Thanks. I'm using ASP.NET Core Identity with Identity Server 4 to service OIDC clients.
I did try the CustomCookieAuthenticationEvents approach from that article but it didn't fire for me. For now I'd be happy with a sign-in event I could hook into.

I've solved this. I needed to do it this way:
Startup.cs:
services.AddSingleton<IConfigureOptions<CookieAuthenticationOptions>, ConfigureCookieOptions>();
NEW: ConfigureCookieOptions.cs:
internal class ConfigureCookieOptions : IConfigureNamedOptions<CookieAuthenticationOptions>
    {
        private readonly IConfiguration _configuration;

        public ConfigureCookieOptions(IConfiguration configuration)
        {
            _configuration = configuration;
        }

        public void Configure(CookieAuthenticationOptions options) { }

        public void Configure(string name, CookieAuthenticationOptions options)
        {
            options.Events = new DatabaseCookieAuthenticationEvents(_configuration);
        }
    }

New: DatabaseCookieAuthenticationEvents.cs:
 public class DatabaseCookieAuthenticationEvents : CookieAuthenticationEvents
    {
        private readonly IConfiguration _configuration;

        public DatabaseCookieAuthenticationEvents(IConfiguration configuration)
        {
            _configuration = configuration;
        }

        public override Task ValidatePrincipal(CookieValidatePrincipalContext context)
        {
            if (!context.Principal.IsAuthenticated())
                return base.ValidatePrincipal(context);

            using (var connection = new SqlConnection(_configuration["DefaultConnection"]))
            using (var command = new SqlCommand())
            {
                connection.Open();
                command.Connection = connection;
                command.CommandText = $"SELECT [Status] FROM AspNetUsers WHERE [Id] = '{context.Principal.GetSubjectId()}'";

                var status = (UserStatus) command.ExecuteScalar();
                if (status != UserStatus.Active)
                {
                    context.RejectPrincipal();
                    context.HttpContext.SignOutAsync(CookieAuthenticationDefaults.AuthenticationScheme).Wait();
                }
            }

            return base.ValidatePrincipal(context);
        }
    }

Not very elegant, but I couldn't work out how to get UserManager into the ConfigureCookieOptions singleton.


Tailchat Nightly部分群组和私聊会出现黑白色的bug || Tailchat Nightly has black and white bugs in some groups and private chats

不知道如何解决

Don't know how to solve it

any trigger? maybe because some group added style css code and change global style?
maybe you can share me which group id will make browser looks like this?

I think someone sent message like:
[md]
<style type="text/css">
html {
  filter:grayscale(100%);
  -webkit-filter:grayscale(100%);
  -moz-filter:grayscale(100%);
  -ms-filter:grayscale(100%);
  -o-filter:grayscale(100%);
 filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=1);
  -webkit-filter:grayscale(1)
}
</style>
[/md]

It looks like:

can send message below to resolve (or change current group):

[md]
<style type="text/css">
html {
  filter:grayscale(0%);
  -webkit-filter:grayscale(0%);
  -moz-filter:grayscale(0%);
  -ms-filter:grayscale(0%);
  -o-filter:grayscale(0%);
 filter:progid:DXImageTransform.Microsoft.BasicImage(grayscale=0);
  -webkit-filter:grayscale(0)
}
</style>
[/md]

ok interesting. i will fix it.

you can limit markdown feature in tailchat, like disable  tag.


[Bug]: npm run deploy not updating app scopes in partner dashboard for Remix application

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
Running npm run deploy with updated app scopes in shopify.app.toml should update app scopes for remix app in partner dashboard. Specifically, I am changing scopes in shopify.app.toml from:
scopes = "write_products,read_metaobject_definitions,write_metaobject_definitions,read_metaobjects,write_metaobjects"
to :
scopes = "write_products,read_metaobject_definitions,write_metaobject_definitions,read_metaobjects,write_metaobjects,read_orders"
Actual behavior
After deploying new version of Remix app to AWS ECS task with updated scopes in task definition environment variables, running npm run deploy does not update app scopes in the partner dashboard. After installing the app, the app goes into a redirect loop and eventually displays the message:

If I look at the version of the app released from running npm run deploy, the scopes are not updated and if I look at the configured scopes panel of API access, the scopes are not updated as well. The same issue also occurs when I run the app locally with npm run dev.
Verbose output
npm run deploy runs to completion without errors.

Reproduction steps

Update remix app scopes in shopify.app.toml
Deploy new version of app to AWS ECS task
Run npm run deploy
App enters url redirect loop and fails to load after installation.

Operating System
Linux amd64
Shopify CLI version (check your project's package.json if you're not sure)
3.53.0
Shell
zsh
Node version (run node -v if you're not sure)
v21.6.2
What language and version are you using in your application?
No response

have you found a solution?, currently stuck on the same problem

Have the same problem, can't find a way to push the updated config

No solution yet

Same issue here. Seemly, either functionality has changed or cli instructions don't match what is possible.
Making a development version of an existing custom distribution.
running: yarn dev --reset and selecting "(y) Yes, create it as a new app" prints this dialog

running: npm run shopify app config push gives
?  Make the following changes to your remote configuration?
   ┃    [access_scopes]
   ┃  - scopes = ""
   ┃  + scopes = "write_cart_transforms,write_products,write_discounts,read_orders"
 >  (y) Yes, confirm changes

but this gives:
Command no longer supported. To update your app configuration, upgrade Shopify CLI to the latest version and run the 'app deploy' command.
currently running "@shopify/cli": "^3.50.0"
running: yarn shopify app deploy gives
(y) Yes, release this new version
which seems to succeed, but without the scopes being updated

Not sure if I'm doing something wrong here. But certainly confusing

Hi everyone. To be able to update scopes from the CLI you need to be on version 3.55+ (ideally the latest one, 3.57.0 at this time).
Before version 3.55 the way to do it was with the app config push command, that command has now been deprecated for all versions as you can see from your error message.
From version 3.55, updating the scopes in the toml and running app deploy will update them in the dashboard.
Please update to 3.57, run deploy and let me know if it works :)

Hey @isaacroldan,
Thanks! I had the Shopify CLI up to date globally but was using v3.53.0 in my package.json for both @shopify/app and @shopify/cli. Using yarn upgrade @shopify/app@latest @shopify/cli@latest upgraded local project dependencies which updated the scopes in the partner dashboard after running yarn run deploy.
I already had include_config_on_deploy = true included in the [build] section of my app.toml but thought I'd mention that for anyone else having the same issue.

We are working on solving the issues of using global vs local :)
Thanks for the update @alexshwe1, i'm going to close this issue now.

I was noticing the same issue and i tried to do various things with shopify CLI, none of which worked. However, i fixed this issue by manually creating a app in the Shopify partners dashboard.
It seems like this works temporarily atleast. Not really a long term fix though.
If anyone comes across this issue, here's how I fixed it.

take a backup of your app TOML file. For example, if its shopify.app.toml you can rename it to shopify_config_backup.toml
go to the all apps section in Shopify partners dashboard and click on Create new app
on the next screen, click Create app manually. type in your app's name and click create. You can change any settings manually after you create the app.
You can then download the apps config by running 'npm run shopify app config link' locally. Make sure to select the app you just created and set the config file name to shopify.app.toml
copy the API scopes along with any other changes you made to shopify_config_backup.toml back to shopify.app.toml. Make sure the client ID and any other auto generated IDs remain the same
finally, you can run 'npm run shopify app deploy' to sync the local changes back to the shopify partners dashboard.

From there, you can change your local config and deploy again to sync any new changes.
I know this is a tedious workaround but its the only one that worked. Hope it can help someone else.


patch bug template

updated the bug report template with the correct cmdlet to collect HCI logs

Thanks for the fix @dmc-tech


Add margin notes to articles

Margin notes are a type of footnote or commentary that appear inline or
in the margins of the text close to where they are defined, rather than
at the bottom as regular footnotes do. Margin notes are declared in
Markdown using the just-invented syntax:
[#] This is a margin note.
Two possible use cases:

lol, it actually was true: https://en.wikipedia.org/wiki/Buckethead

I'm wondering, will this replace footnotes?

I'm wondering, will this replace footnotes?

This is an implementation of what I was suggesting in the footnote discussion (#258).

IMO, this is much better than having footnotes.

Did you deploy after merging this?

nope


Add EIP712 library

Move the EIP-712 code used in ERC20Permit into a separate library.

Published in v0.0.57.


[New feature proposal] Save history to indexdb/local storage

IMO persisting the previous text for the created images will be a nice feature to add, so a user can easily recreate them with different styles.
As now the url is allowing to fully reconstruct the state it might be easy just to persist this to something like local storage and add a combo/history component to the UI that allows the user to pick previously created carbon's :)
Maybe name spacing those urls by user may allow something similar to user "accounts".
Any thoughts?

@alvaropinot, as mentioned by @yeskunall in this comment, there can be storage issues.

@alvaropinot with the 4.0.0 release, we have introduced user profiles, where you can save your snippets to the cloud. This should cover your use case, and you won't run into any storage issues.


Fix Darwin framework APIs to accept arbitrary types for command invokes

Review note: It may be easier to review the commits separately.
Problem
Lists, structs, nullables, optional command fields all broken.
Change overview
Fix all that stuff.
Testing
Enables various complex-types command tests on Darwin.

Fast tracking, given this is a platform maintainer updating their platform - and also adding tests.


Leadership Quantum

Project name
Leadership GPU Quantum
Github repo
https://github.com/Qiskit/ecosystem/issues/
Description
Optimizes leadership decision-making using quantum circuits and GHZ states, leveraging error mitigation for enhanced results.
Email
<EMAIL_ADDRESS>Alternatives
There are no alternatives to this project.
License
Apache License 2.0
Affiliations
No response
IBM maintenance status

[X] This project is officially maintained by IBM Quantum

Group
transpiler_plugin
Labels
No response
Documentation
No response
Website
www.potenzialfinder.com/quantum
Reference paper
No response

https://github.com/Qiskit/ecosystem/issues/795

https://github.com/Qiskit/ecosystem/issues/795


Image update schedule

Hi,
Do you plan on enabling a build-on-push strategy or is there some other process for updates images on the github registry?
Looking forward to see the updated github actions runner version pushed as disabling gha auto updates crashes the runner at the moment :)
Thanks!

The base image is updated automatically on the first Saturday of the month. Deploying off pick hours allow to slowly populate local caches of the workers over the weekend.
Regarding the Xcode variant, it is updated manually upon a release in this repository. I just cut 15-beta-5 release which will contain the new version but it won't be tagged as latest.
On a side note. For Cirrus Runners we found that disabling auto-update is not working as expected. To our knowledge there is no public knowledge about when a particular runner version will stop working.

Thanks @fkorotkov -- shouldn't https://github.com/cirruslabs/macos-image-templates/pkgs/container/macos-ventura-xcode/101275224?tag=14.3.1 have been updated yesterday with the newest version of GitHub Runners?

Unfortunately, no. Only the base was updated during the cron. Fixing it in #94.
In the meantime I've manually re-ran the task that rebuilt 14.3.1.

@fkorotkov it seems like ghcr.io/cirruslabs/macos-ventura-xcode:14.3.1 is still shipping with 2.303.0. Do you confirm this as well?


Update gitea.com/macaron/i18n

Prevents the panic on missing locale files.
Fixes #1014
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

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

@@            Coverage Diff             @@
##           master   #12806      +/-   ##
==========================================
- Coverage   43.22%   43.20%   -0.03%
==========================================
  Files         651      651
  Lines       72118    72118
==========================================
- Hits        31174    31158      -16
- Misses      35902    35912      +10
- Partials     5042     5048       +6

Impacted Files
Coverage Δ

modules/notification/mail/mail.go
34.48% <0.00%> (-3.45%)
:arrow_down:

modules/notification/ui/ui.go
80.55% <0.00%> (-2.78%)
:arrow_down:

modules/process/manager.go
72.50% <0.00%> (-2.50%)
:arrow_down:

services/pull/check.go
47.69% <0.00%> (-2.31%)
:arrow_down:

models/notification.go
66.13% <0.00%> (-0.92%)
:arrow_down:

models/error.go
34.81% <0.00%> (-0.86%)
:arrow_down:

services/pull/pull.go
41.57% <0.00%> (-0.47%)
:arrow_down:

modules/queue/workerpool.go
60.00% <0.00%> (+1.22%)
:arrow_up:

modules/indexer/stats/db.go
69.56% <0.00%> (+8.69%)
:arrow_up:

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 4728934...8a0fce6. Read the comment docs.


Mirror TMP C to GCW UP

Per @wilsonsj100 request in #116  , this PR adds some custom code to L1_normalize.qmd: after the normal file-write step, if we're handling data from TEMPEST control plot then change it to being GCW upland and write again. This mirrors the former into the latter.
Closes #116

Very nice!
With the test data, I only see upland data added in the last file (see screenshot), is there a change over date? Shouldn't all these files have upland added? Or is this just because this test data is only a sample of the data.
Also, do you know why there is so many NAs in the same dataset for GCW? Just another product of the sampling taken for test data? Let me know if anything is unclear above.

TMP UP data only appear in the GCW data for November 2023 because we only have that month in the TMP raw test data:

why there is so many NAs in the same dataset for GCW

You mean in the GCW_20231104-20231104_L1_v0-9.csv file that gets written?

For NAs I'm just quickly looking at one of the files. Actually, it looks like it's Na in the raw data too, so I think we're good to go


Cannot connect to remote SD server

Resolve: Add --share --api for remote server connection
===================================
Hi, I found problem after I installed this plugin
My webUI is running and can use to generate image,
But the plugins still has red A at the top right corner.
I had --api added to the startup command line.
About install Environment:
Ps plugin was Installed from zip.(Guide 2) On windows OS
WebUI plugin was checkouted by git on the remote server.
Then open PS and  setting the url for sd.
click refresh.
It always said that:" autoxxxx backend is not runing"
but I  can use  browser webui  to generate image with that url.

fix #160

Since you are running Auto1111 on a remote device you will need to add both command line arguments "--api --share"

Thank you,it works now! great job!

Update: I guess I reported my issue a tad too soon, but I found the solution; I just needed to set the SD url under the Settings tab of the plugin to be http://<IP_ADDRESS>:8000 then refresh.
When using a remote instance of A1111, I needed to do the following:

Set the SD_URL=http://<IP_ADDRESS>:7860 in the start_server.bat
Set the SD url in the Photoshop plugin under the Settings tab to http://<IP_ADDRESS>:8000
Refresh the Photoshop plugin from its main Stable Diffusion tab.

@theamazingfedex Actually you only need to change the sd url in the settings tab.
Also, no need to run the start_server.bat anymore. It's more convenient to install this repo as an extension in Auto1111, and it will run automatically whenever you run Auto1111.

@AbdullahAlfaraj my photoshop is running on a separate computer than Auto1111, so I think I still need to run start_server.bat in this plugin's folder in the photoshop install directory, or else it doesn't proxy correctly to the PC that's running Auto1111. Or did a change get pushed recently to simplify remote access?

When I deploy SD locally and set the SD plugin in Photoshop to use "<IP_ADDRESS>:7860," it can connect successfully. However, when I set the SD plugin in Photoshop to use a remote address, it fails to connect.

当我在本地部署 SD 并在 Photoshop 中将 SD 插件设置为使用“<IP_ADDRESS>：7860”时，它可以成功连接。但是，当我在 Photoshop 中将 SD 插件设置为使用远程地址时，它无法连接。

I can successfully access the remotely deployed SD page by visiting the remote address "<IP_ADDRESS>:7860" through a web browser.

When I deploy SD locally and set the SD plugin in Photoshop to use "<IP_ADDRESS>:7860," it can connect successfully. However, when I set the SD plugin in Photoshop to use a remote address, it fails to connect.

I can successfully access the remotely deployed SD page by visiting the remote address "<IP_ADDRESS>:7860" through a web browser.


Use config.ini for configuration

This separates the utils from the configuration. Config now lives in a config.ini file that only needs to be set once. Users do not need to look in the util.py source file.
Developer tip: Once this is merged into master, add config.ini to your .git/info/exclude file so that your local changes to it don't show up for git status, etc.

ACK 3050da5ecbacc7987b4ba4e847b9db11d17d41a7. Tested locally, works as promised.


All paths have to be relative to the caller instead of the workload file

It is unintuitive that all the paths, defined in a helm-templexer workload config, have to defined relative to the caller instead of the config file.

It is important to not drop backwards compatibility when changing this. Hence the config version will have to be bumped to v2, which also requires some work overall. Then v1 can still maintain the current behavior.
Both the config validator and the renderer are not config version aware as of now and need that added.

It is important to not drop backwards compatibility when changing this. Hence the config version will have to be bumped to v2, which also requires some work overall. Then v1 can still maintain the current behavior.
Both the config validator and the renderer are not config version aware as of now and need that added.

Added the current behavior to the documentation for config v1.

Added the current behavior to the documentation for config v1.

It is important to not drop backwards compatibility when changing this. Hence the config version will have to be bumped to v2, which also requires some work overall. Then v1 can still maintain the current behavior.

Both the config validator and the renderer are not config version aware as of now and need that added.

We decided to drop v1 when increasing the major version. To avoid confusion, the next release will increase the major version to 1, so we match the configuration. Once we introduce v2 features, the major version will be increased to 2 as well. From then on, config for v1 will only work with 1.x.


Ginkgo CI: consul Docker containers are left running on Jenkins slaves

While triaging issues on Jenkins a few days back, I noticed that there were some Consul Docker containers running. This is an issue introduced by the Ginkgo tests. Make sure that Consul docker images left behind from unit tests are cleaned up during each build.

@ianvernon is this a problem? the docker-compose has the option to remove the containers, so I'm not sure about this :\

@eloycoto hm, I'm wondering if when the build is aborted, if this causes docker-compose to not run its cleanup. This could be tested by running the Ginkgo build, and then aborting it during the unit tests. That is just a hypothesis though. On the node where the Ginkgo tests run, there are no containers running:
root@jenkins-slave-4:~# docker ps -a
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES
root@jenkins-slave-4:~#

We could introduce a check during the post section of the Jenkinsfile to clean up containers spawned during the build if they exist. I'm not too concerned about this as there isn't any cruft leftover currently, though.


[docs] the Skip struct needs documentation

The Skip struct implements the parallel iterator skip() combinator. It needs some simple docs that say precisely that and link to skip() method for more information.

Done in #248.


Some options dont keep on windows start

unparked cores and max cpu frequency options under settings do not work when windows restarts when start with windows is on. They are seen again if you press no on them.

this software is not being supported anymore. find my latest here:
https://github.com/project-sbc/Power-Control-Panel-v2


Hi @vladimir-dudnik
For face detection with multi channel demo was given as shown below:
https://github.com/opencv/open_model_zoo/tree/master/demos/multichannel_demo/fd
In the similar wa, can i expect multi channel face recognition demo like extension for face detection with multi channel demo

@durgabhavaniv we do not plan to extend multi channel face detection demo  with face recognition. At least not in the nearest future. If you want try to implement such feature by yourself you may take a look on processing pipeline, implemented in security_barrier_camera_demo. Although, it also would require non trivial modifications if under face recognition you mean re-identification the same face on subsequent frames.

Looks like there's nothing to be done here; closing.


[bp/1.28] CI: explicitly specify the service want to start for kafka and websoc…

…ket example (#31175)

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

cc @soulxu


$os collides with existing fact. Code should not be doing this.

SUMMARY
$os collides with existing fact. Code should not be doing this.
The change doesn't necessarily have to be exactly like this, but that variable needs to be renamed in a non-colliding manner.

Thanks! Lemme tweak this slightly to be a little more clearly-named, but I see what’s going on.


ec2 amis: update 19.09 AMIs

this adds support for ap-east-1 and eu-north-1 regions as well.
Fixes: https://github.com/NixOS/nixos-org-configurations/issues/105

Motivation for this change
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Tested us-east-1 image which seems to work fine

cc @edolstra


The scraper does not show that Audit Intelligence Data Analyst job was duplicated and posted twice

ENVIRONMENT:
https://admin.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:
Enter url in browser
In go to "https://admin.peviitor.ro/" and click to jobs for "Allianz"
Click on "Audit Intelligence Data Analyst" tab on "Catre Job "option
EXPECTED RESULTS:
The page shows the full description of the job
ACTUAL RESULTS:
The page shows the same full description of the previous job announcement
See below the screenshot
Attachment:
Page from Validator for Allianz

Joburile sunt disponibile și pe site-ul lor de cariere. Uită-te atent la link ul jobului ca au id uri unice. Nu sunt duplicate.


[OS X] Unable to debug sample HelloMvc app with latest dotnet CLI

Although I'm able to properly restore, build, and run the ASP.NET sample CLI HelloMvc app with the latest dotnet CLI, I am unable to properly debug it in VS Code.
Steps to reproduce
git clone https://github.com/aspnet/cli-samples.git
dotnet restore
dotnet build
code .
fn+F5 and modify the program and args properties of launch.json to point to your dotnet executable and DLL accordingly (see sample below)
{
			"name": ".NET Core Launch (web)",
			"type": "coreclr",
			"request": "launch",
			"preLaunchTask": "",
			"program": "/usr/local/share/dotnet/dotnet",
			"args": ["exec /Users/miguellira/Documents/Github/aspnet/cli-samples/HelloMvc/bin/Debug/netcoreapp1.0/HelloMvc.dll",
                     "--additionalprobingpath /Users/miguellira/.nuget/packages"],
			...[snip]
}

start debugger
Expected behavior
VS Code launches browser and attaches debugger
Actual behavior
VS Code launches browser but the HelloMvc app cannot find Index.cshtml.
InvalidOperationException: The view 'Index' was not found. The following locations were searched:
/Views/Home/Index.cshtml
/Views/Shared/Index.cshtml

Enviornment info
.NET Command Line Tools (1.0.0-beta-002205)

Product Information:
 Version:     1.0.0-beta-002205
 Commit Sha:  f665c28173

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.11
 OS Platform: Darwin
 RID:         osx.10.11-x64

You should update your .NET Core SDK bits to the latest. There's been a lot of churn over the past few days.
If you install the latest C# extension from https://github.com/OmniSharp/omnisharp-vscode/releases/download/v0.3.9/csharp-0.3.9.vsix into VS Code, you will get a prompt to automatically generate launch.json and tasks.json. Once this is done, F5 works properly for me on OS X. I hit a breakpoint and everything. :smile:

@DustinCampbell I've been following the latest changes. Thanks.
As far as I know VSIX is not supported by OS X. Is there any documentation out there for manually installing 0.3.9 of omnisharp-vscode? I've only used the built-in package manager.

You can install a VSIX into VS Code with File->Open File. It totally works on OS X, Linux and Windows.

Awesome! Learn something new every day!

@DustinCampbell Thanks for the help. F5 on OS X without any issue. 🎉
Not sure if its worth keeping this issue open until 0.3.9 or the next stable build goes live.

Since we've got downloadable bits, I'll go ahead and close this.


Project folder renaming stopped working

Discord username
No response
What type of issue is this?
Permanent – Occurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[ ] Yes, previous version of Enso did not have this issue.

What issue are you facing?
Renaming of folders stopped working:

Expected behaviour
Folder to be named after the project name
How we can reproduce it?
No response
Screenshots or screencasts
No response
Enso Version
2023.5.2 nightly
Browser or standalone distribution
Standalone distribution
Browser Version or standalone distribution
standalone
Operating System
Windows
Operating System Version
Win11pro 22H2 22621.1555
Hardware you are using
12th Gen Intel(R) Core(TM) i9-12900HK / RTX3060 Laptop / Nvidia Drivers 531.68

@xvcgreg the directory rename is happening after the IDE is closed because we cannot move an opened project. Can you confirm that the folder is not renamed after the IDE is shut down?

yes, it was a project I created on Monday. But only today when I wanted to zip it I found out that it's not renamed. And yes, I have closed Enso in the mean time ;)

Also, I cannot use the name BC_Day01 due to some weird/unnecessary naming restrictions. Even more annoying is that it accepts the name but doesn't store it (so the user is happy that he has named the project to later discover with puzzlement that he/she might have opened some different project since one he has been working had a different name).
https://user-images.githubusercontent.com/108271897/235895243-c40e5e13-4fd0-4f48-9300-de25e9f7f803.mp4

Tried to reproduce with latest nightly but no avail. One thing I noticed was that it takes 1-2 seconds for the finalizers to kick-in/finish, and I was tempted to just ctrl-c and kill it. Not much we could do in that case anyway.
Alternative, we could maybe persist somehow the action to move folders and on startup check that it really happened?

@hubertp I can confirm - with 2023.5.3 Nightly renaming folders works.
This is left still:

@4e6 It happened again that after Enso shut down it didn't rename the folder:

Enso_201 - localhost-1683182927733.log
Enso_201 - console.txt

One thing which I'm not seeing at the end of the logs is something along the lines of
[info] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerController] Language server shut down successfully [Project(21260df1-f569-43d3-b2b2-d70944d8db8b,Warning_2,local,UserProject,xxx,Some(Edition(Some(0.0.0-dev),None,Map(),Map())),Some(xxx),Some(/home/hubert/enso/projects/Warning_2),Some(xxx))].
[info] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerKiller] All language servers have been killed.
[info] [org.enso.projectmanager.infrastructure.languageserver.ShutdownHookRunner] Firing shutdown hooks for project [21260df1-f569-43d3-b2b2-d70944d8db8b].
[info] [org.enso.projectmanager.infrastructure.log.Slf4jLogging] Project [21260df1-f569-43d3-b2b2-d70944d8db8b] moved to [/home/hubert/enso/projects/Warning_3].
[info] [org.enso.projectmanager.infrastructure.languageserver.ShutdownHookRunner] All shutdown hooks fired for project [21260df1-f569-43d3-b2b2-d70944d8db8b].
[info] [akka.actor.CoordinatedShutdown] Running CoordinatedShutdown with reason [ActorSystemTerminateReason]

That would indicate renaming action being triggered. Lack of it explains why you are seeing the problem.

Yes, I have noticed that too. I have closed the app normally. And I was running it with debug flag.

Oh wait. Seeing in the logs
[warn] [2023-05-04T06:49:15.991Z] [org.enso.projectmanager.infrastructure.languageserver.LanguageServerController] Received unknown message: class org.enso.projectmanager.infrastructure.languageserver.LanguageServerController$ShutDownServer$

That's a bit unexpected at this stage, right @4e6 ?

I will take over while Dmitry is busy

Additional info:

Op9 is at

@xvcgreg That verification is something else. It's done on GUI side. Probably warrants a separate ticket, right @Procrat ?

I don't see the GUI-side verification here. I see a response from the project manager that replies that the project name is not in upper snake case. @hubertp

@vitvakatu ah yes, sorry got confused in that error.

The GUI-side check that was added in #6366 is done by parsing it as a Cons AST node (for sake of not duplicating validation logic), which might not be as restrictive as the check that's done on the engine side. This error is indeed from the engine (which is called "Peer" here).

So I managed to create theoretically possible scenario that would cause it by adding delays within the implementation of language server:

Project is renamed in the editor, all good.
Enso is closed.
Added a (small) timeout to LanguageServerKiller (https://github.com/enso-org/enso/blob/cd7fb7323200608e7ba3286e959b924c190f3a1c/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerKiller.scala#L36) so that LanguageServerController receives the information about the disconnected client first (https://github.com/enso-org/enso/blob/4b7afbfd3619c22b6b31f2840fa807f0af41fb57/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerController.scala#L207)
That enters the shutdown sequence in https://github.com/enso-org/enso/blob/4b7afbfd3619c22b6b31f2840fa807f0af41fb57/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerController.scala#L258 so more delays here...
... so that LanguageServerKiller eventually sends the PoisonPill https://github.com/enso-org/enso/blob/cd7fb7323200608e7ba3286e959b924c190f3a1c/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerKiller.scala#L66. And, more importantly, that message is handled before LanguageServerController is able to receive information about the ServerTerminated in https://github.com/enso-org/enso/blob/4b7afbfd3619c22b6b31f2840fa807f0af41fb57/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerController.scala#L276
This means https://github.com/enso-org/enso/blob/4b7afbfd3619c22b6b31f2840fa807f0af41fb57/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/LanguageServerController.scala#L312 is never triggered, ProjectClosed message is never sent and no hooks are ever fired via https://github.com/enso-org/enso/blob/4b7afbfd3619c22b6b31f2840fa807f0af41fb57/lib/scala/project-manager/src/main/scala/org/enso/projectmanager/infrastructure/languageserver/ShutdownHookActivator.scala#L42

That way I managed to have a package.yaml renamed but the directory not. It may be a bit shaky, given that I had to add some weird delays in various places to simulate delayed processing/handling of messages. But it also confirms why we see it so rarely and on potentially lower spec machines. The logs seems to confirm the sequence of exchanges as well.
What we are missing, I think, is LanguageServerKiller sending ProjectClosed.


unable to handle more request

Hi,
I am getting error while trying to push more then 50 records.
after 10-15 records.
..............................
204 No Content
204 No Content
429 Too Many Requests
"Too Many Requests"
429 Too Many Requests
"Too Many Requests"
429 Too Many Requests
........................................................
Thanks.

Hi @abhimanyu-susan,
What's your configuration ?
There is a RateLimit in the configuration so the relay will respond a status code 429 if this limit is reached.

Hi @damoun
Thanks for your quick reply.
my problem is i am not getting good performance

you can check this for better understanding.
Thanks.

Hi @abhimanyu-susan,
Can you share your configuration file ?
Thanks

[[http]]
Name of the HTTP server, used for display purposes only.
name = "example-http"
TCP address to bind to, for HTTP server.
bind-addr = "<IP_ADDRESS>:9096"
Timeout for /health route
After this time, the host may be considered down
health-timeout-ms = 10000
Request limiting (Applied to all backend)
rate-limit = 50000
burst-limit = 100000
Ping response code, default is 204
default-ping-response = 200
Enable HTTPS requests.
#ssl-combined-pem = "/path/to/influxdb-relay.pem"
InfluxDB instances to use as backend for Relay
[[http.output]]
name: name of the backend, used for display purposes only.
name = "local-influxdb01"
location: full URL of the /write endpoint of the backend
location = "http://<IP_ADDRESS>:8086/"
endpoints: Routes to use on Relay
write: Route for standard InfluxDB request
write_prom: Route for Prometheus request
ping: Route for ping request
query: Route fot querying InfluxDB backends
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout: Go-parseable time duration. Fail writes if incomplete in this time.
timeout = "10s"
buffer-size-mb = 1000
max-batch-kb = 1000
max-delay-interval = "5s"
skip-tls-verification: skip verification for HTTPS location. WARNING: it's insecure. Don't use in production.
skip-tls-verification = false
InfluxDB
[[http.output]]
name = "local-influxdb02"
location = "http://<IP_ADDRESS>:8086/"
endpoints = {write="/write", write_prom="/api/v1/prom/write", ping="/ping", query="/query"}
timeout = "10s"
buffer-size-mb = 1000
max-batch-kb = 1000
max-delay-interval = "5s"
EOF

Can you remove the following line in your configuration and test again ?
rate-limit = 50000
burst-limit = 100000

after removing the limit i checked but request/s is so less.

What's the request/s if you only request influxdb (http://<IP_ADDRESS>:8086/) ?


Memoize numberFormatter and pluralRules in translate utility

Description
Memoizes some usages of Intl.NumberFormat and Intl.PluralRules to significantly reduce the number of new objects being created.

Created memoizedPluralRules in utilities/translate.ts
Removed creation of Intl.PluralRules object from I18n constructor (this.ordinalPluralRules)

This object only existed for memoization purposes
The ordinal method now uses memoizedPluralRules instead

Moved memoizedNumberFormatter from i18n.ts to utilities/translate.ts so that it can be used by other functions in that file and exported for use by I18n
Note: This has no effect for SSR because memoization is disabled:

Know that memoization will be skipped on server process

Type of change

[x] @shopify/react-i18n Patch: Bug/ Documentation fix (non-breaking change which fixes an issue or adds documentation)

Checklist

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

I'm thinking this should actually be a minor version bump. Is exporting new utility methods "added functionality"?


Remove no_clobber task from Refresh lockfiles Action

🚀 Pull Request
Description
Closes #4606
Currently the no_clobber task is broken. It looks like github.repos is no longer returning what we expect. My best guess would be that this may need to be changed to github.rest.repos but I'm not sure! I struggled to find much information on this!
However, at yesterday's peloton we discussed changing our development workflow such that when a auto-update-lockfiles branch fails the tests, a developer creates a new branch with those changes, and adds the fixes onto their own branch and then we merge the new branch.
Effectively reverts the change added in #4157

Consult Iris pull request check list

@lbdreyer I expect github.rest.repos is correct, yes


Expansions inherit preferred players from base game without it necessarily being right.

Eg. In Archipelago, one of the expansions is a solo expansion. I did not give it a recommended number of players, just a required. Now it inherits the 4-5 ideal from its parent, even though the ideal should either be the possible number or just 1.

Hmm, for the sake of brevity, I think I prefer the inheritance, as this is a much rarer case — I'd recommend setting the preferred players to [1, 1] on the expansion, unless you have another idea?

I have added that change to the #26 pull request


add longPathAware to shim manifest

Depending on the version of Go used to build the shim binaries the process may or may not be long path aware, for example MS Go removed it https://github.com/microsoft/go/commit/af3d04ecaf07be0e0f37ccfda756a2279047aab3.
Microsoft recommends adding long path support through manifest https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later

repushed, since license/cla was stuck.


UML Package diagram for CleanArchitecture

@android10
Hi,
I came to the concept of Clean Architecture & it is really inspiring. I have read all your 4 articles including the last one for dynamic parameters, & I think you are doing gr8 work here & I really admire your sharing attitude with others.
In the path to understand the code especially I'm not Android guru (Just want to get my hand dirty in Android field) I have used draw.io to draw UML package diagram for the 3 layers as below. (I'm an old guy that is used to UML more in the design field).
If you liked the idea, I can draw several UML diagrams including (Class & sequence) & share it with you & if you can correct me & maybe u are generous enough to write a 5th post to describe the code assisted with diagram it will be great.

Again thanks for yr gr8 effort, and keep up the good work 👍 👍 👍

Hello @ashraffouad thanks for the good words! I really appreciate that you guys find all this useful!
By the way, very interesting stuff and I definitely encourage you to keep it up with the diagrams. I cannot promise to write an article about it (many times due to the lack of time) but we can keep the discussion here and I'm sure about one thing: I will definitely share all this with the community.
Thanks for the contribution as well and keep up the good work too!

No worries about article, I think we can figure out something if you really find such diagrams useful at the end of this discussion. As long you bare with me in answering questions it will be great.
Some thoughts about the project after this package diagram:
1- Presentation layer: "com.fernandocejas.android10.sample.presentation.navigation" package, I think its natural place will be as sub-package under "com.fernandocejas.android10.sample.presentation.view" as it is related to this layer more than separate. What do u think?
2- Presentation layer: "com.fernandocejas.android10.sample.presentation.mapper" it seems separate from "com.fernandocejas.android10.sample.presentation.model" although I think may be for consistency across the whole project to appear as sub-package similar to data layer mapper & its relation with entity "com.fernandocejas.android10.sample.data.entity.mapper". What do u think?
3-I'm trying to find my way in RxJava, but I didn't understand package "com.fernandocejas.android10.sample.data.executor" (Marked red in diagram) having a single class "JobExecutor" and used in the presentation layer ApplicationModule only, can u give me more information?

@android10 Can you pelase check the above 3 questions mentioned above in comments

@ashraffouad unfortunately I cannot reply every single question from the community due the lack of time.  Everything related with this repo is in this section. People are great contributing and repllying questions, so I encourage you to dive deeper, there were super interesting questions.
Also that is why I wrote 2 articles:
http://fernandocejas.com/2014/09/03/architecting-android-the-clean-way/
http://fernandocejas.com/2015/07/18/architecting-android-the-evolution/
Will try to quickly reply now:
1 - I think it is a matters of taste. It made more sense to me to have it separately as a separation of concerns. Views contain only android views whereas navigation could also mean deep linking, external intents or urls,  that are part of the application navigation.
2 - Good feedback. Although not very strong on this one. Would not mind changing it.
3 - It is not used in the "presentation layer", it turns out that dependency injection (for instance ApplicationModule) sits on this layer for simplicity.

Hello,
Following a new issue I opened about that, this diagram made my observation more clear :
Isn't this architecture more a classic 3 tier architecture than a Clean Architecture ?
I followed this repository architecture for all my clean arch projects but now I'm wondering if it was really the case

Hello,
Following a new issue I opened about that, this diagram made my observation more clear :
Isn't this architecture more a classic 3 tier architecture than a Clean Architecture ?
I followed this repository architecture for all my clean arch projects but now I'm wondering if it was really the case

Hello,
Following a new issue I opened about that, this diagram made my observation more clear :
Isn't this architecture more a classic 3 tier architecture than a Clean Architecture ?
I followed this repository architecture for all my clean arch projects but now I'm wondering if it was really the case

Hello,
Following a new issue I opened about that, this diagram made my observation more clear :
Isn't this architecture more a classic 3 tier architecture than a Clean Architecture ?
I followed this repository architecture for all my clean arch projects but now I'm wondering if it was really the case


"Unsupported Architectures" when uploading to iTC

I'm trying to upload my new & shiny tvOS app to iTunes Connect. But unfortunately I retrieve the following error on upload:
"Unsupported Architectures. The executable for ... TVMLKitchen.framework contains unsupported architectures '[x86_64]'".
I've downloaded & installed v0.7.1 with Carthage. Any Idea whats wrong?

As a workaround, this made an upload possible:
http://stackoverflow.com/questions/30547283/submit-to-app-store-issues

Discussion continued in #86
Please feel free to reopen.


feat: add gap in docs component nav

Adds a little spacing on the docs component nav. On page transitions you can see both the hover state and default buttons glued together. I thought adding a little spacing makes it look nicer 😄
Tested on chrome desktop and safari latest (macOS).
After screenshots:

@jca41 Thank you for the PR! Although I agree it looks nicer, functionality wise I'd argue it's worse, because you can click between the links, causing frustration when a click does nothing. You'll see that the pattern of gapless navbar is quite common:

Maybe gap-1? 😄
I think vertical on desktop looks nice it's just the mobile horizontal version that looks a bit weird. All good anyways, great library!
Feel free to close!

Maybe gap-1? 😄
I think vertical on desktop looks nice it's just the mobile horizontal version that looks a bit weird. All good anyways, great library!
Feel free to close!

Hmm, I'd be fine with having a visual gap in mobile, but that still triggers the actual click somehow... E.g. having the link actually be a wrapper with no bg that has some padding horizontally.

Maybe gap-1? 😄
I think vertical on desktop looks nice it's just the mobile horizontal version that looks a bit weird. All good anyways, great library!
Feel free to close!

Hmm, I'd be fine with having a visual gap in mobile, but that still triggers the actual click somehow... E.g. having the link actually be a wrapper with no bg that has some padding horizontally.

Not sure how that would affect keyboard navigation and active states as we're now adding a "fake" transparent border around it.
I think that's fine for now, i do understand your point on in-between clicks.
Another suggestion could be to apply this bellow sm- only as you're likely to be using touch screens and precision there is much worse.


Improve design of Official Reports tooltip

Suggested by @RoniRos on Slack:
"In tooltip text, include all Official Reports statistics: Cases (date), Cases (7dav), Cases per 100,000 (date), Cases per 100,000 (7dav), Death (date), Deaths (7dav), Deaths per 100,000 (date), Deaths per 100,000 (7dav). "
Right now, this would take 6 API calls... so we'll need better API support if we want to do this.

Closing this issue as obsolete.


New Crypto Icon

I have found a very good collection of Icon set on Github located at --> AllienWorks
I consider by using this icon set will add support for many new Icons in this application.

Thanks for these. I won't use them because

I personally prefer the coloured icons, and
LibAppIndicator does not support SVG images.

However, if you put in the time to turn them into PNG images, you can simply save them into the resources folder of your installation, as asset.png (where asset is the abbreviation of the asset in lowercase, e.g. btc.png, eos.png). When you restart the indicator, it should automatically load the correct image.
You're also welcome to do a pull request if you want to add any to the repository.


Add WPILib dependency

With WPILib being released on the marketplace, it may make sense to add it as a dependency to bundle them together.

Addressed by commit 4de53b3


Add new FSBP Control

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Reference announcement
Doc History - https://docs.aws.amazon.com/securityhub/latest/userguide/doc-history.html
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Released on v0.41


Add Act 1, Scene 1 of Gameroom walkthrough

Should the gameroom walkthough be in an example/ directory? Possibly under the 0.4/ directory as the goal is to eventually bring the walkthrough up to date with the 0.4 version of splinter?

Probably, but instead of debating it in this PR, I suggest merging it and move it as we sort out the rest of the navigation details on the site.


POL-400 Check for VPCs without flow logs enabled

Description
[Describe what this change achieves]
Issues Resolved
[List any existing issues this PR resolves]
Contribution Check List

[ ] All tests pass.
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable
[ ] New functionality has been documented in CHANGELOG.MD

          2 Errors

:no_entry_sign:
Please add a ‘default_frequency’ property field and value. security/aws/vpcs_without_flow_logs_enabled/aws_vpcs_without_flow_logs_enabled.pt

:no_entry_sign:
Please add labels to this Pull Request

  Generated by :no_entry_sign: Danger