⚠ Bofrost.be has degraded performance

In 7b30152, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 967 ms

Resolved: Bofrost.be performance has improved in e55fb0c after 18 minutes.


Weird cursor behavior on Android Chrome with most common keyboards

When testing my app on (real) mobile phones I noticed the cursor jumps somewhere in the beginning of the string when there are few digits to be formatted.
I saw this in two Android 6.0.1 devices (Sony Z3 Compact, Nexus 5), both running Chrome 57.
On the Sony it happens with SwiftKey and the Xperia Keyboard (default one), but not with the Hacker's Keyboard. On the Nexus the same behavior happened (with the default GBoard in place of Xperia Keyboard).
Example:
<CurrencyInput prefix="R$ " precision={2} allowNegative={false} alowEmpty decimalSeparator="," thousandSeparator="."/>

Initial display: empty
Type in: 1234
Final display: R$ 4.320,01

👍 +1

Android 8.1 seems to be incompatible, cursor always picks wrong place to be.   :-S

... followup: Android cursor positioning seems to always be really off.  I haven't tried multiple keyboards, just the stock Android, on 5.x, 6.x, and 8.x.


ignoring debug info with an invalid version (600056001)

Running Xcode Version 7.1.1 (7B1005), I'm seeing 133 warnings in my project within the watsonsdk. I'd like to get rid of these. Two examples follow:
ld: warning: ignoring debug info with an invalid version (600056001) in /Users/jpatrickmc/Desktop/SpeechTest/watsonsdk.framework/watsonsdk(bands.o)
ld: warning: ignoring debug info with an invalid version (600056001) in /Users/jpatrickmc/Desktop/SpeechTest/watsonsdk.framework/watsonsdk(celt.o)

xcode 7.1.1, me too.


Add magic login module (email only authentication)

I added the magic login module which enables users to login with only their email, and without any password.
The concept is well shown here:
NoPassword means you don't need a password or a complicated OAuth scheme. Just email.
Authentication with magic linked email is now used by Slack, Medium and many others.
So I guess this "magic login" is really useful if it's supported by sorcery.
This module works almost in the same way with the existing reset-password module.
(most of the code are copied from it)
If you think it's useful, I'll add the tests and resend the pull-request.
Please tell me what you think.

Hi @Tomomichi, this looks great! I think it you test and document it, @arnvald would be ok merging it!

@Tomomichi, this looks like it would be pretty helpful, do you have any plans on completing it?

Thanks @athix. Sorry I couldn't take a time on this.
The core functionality is almost done. What's left here is to add the test and documentation.
Although I just cloned from the main branch and didn't change existing code, this clone branch doesn't pass the test..
I may try to fix this on this weekends.

@Tomomichi, it's a problem with the mime-types gem having incompatibilities with ruby <2.0. We fixed it by requiring ruby >2.0. If you rebase off upstream it should fix itself.
np, if I have some free time i'll see if I can complete it later.


HTTP: Handle HTTP/2 GOAWAY premature close

The problem can be reproduced with a standard nginx version, with ssl and http/2 activated, as by default, nginx recycles http2 connection every 1000 requests
I've just modified the standard nginx config ( from ubuntu standard package) with http2 and ssl config:
server {
        listen 443 ssl http2 default_server;
        include snippets/snakeoil.conf;

        root /var/www/html;
        server_name localhost;
}

class BasicSimulation extends Simulation {

  val httpProtocol = http
    .baseUrl("https://localhost") // Here is the root for all relative URLs
    .acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8") // Here are the common headers
    .doNotTrackHeader("1")
    .acceptLanguageHeader("en-US,en;q=0.5")
    .acceptEncodingHeader("gzip, deflate")
    .userAgentHeader("Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:16.0) Gecko/20100101 Firefox/16.0")
    .enableHttp2
    .disableCaching // caching disabled to reproduce the problem with static resources

   val scn = scenario("Scenario Name") // A scenario is a chain of requests and pauses
    .forever(
      exec(http("request_1")
      .get("/"))
      .pause(10 milliseconds)
      .exitHereIfFailed
    )
  setUp(scn.inject(constantConcurrentUsers(1) during (5 minutes)).protocols(httpProtocol))
}

The reproduction of the problem depends on the pause duration, the latency between client and server and probably the load of the different systems:

with a remote system and a slow network, the problem can occurs sometimes with 100ms pause
with a local/fast server, I had to reduce the pause to 10 ms
On my real test, I use pace, so when the system starts to slow, I believe the pause time is reduced a lot and explain why the problem occurs

when the error occurs, the following messages can be seen:
---- Errors --------------------------------------------------------------------
i.n.h.c.h.Http2Exception$StreamException: Cannot create stream      1 (100,0%)
 2003 greater than Last-Stream-ID 2001 from GOAWAY.

and then:
i.g.h.c.i.RequestTimeoutException: Request timeout to localhos      1 (20,00%)
t/<IP_ADDRESS>:443 after 60000 ms

Hi,
package computerdatabase
import io.gatling.core.Predef._
import io.gatling.http.Predef._
import scala.concurrent.duration._
class Http2Sample extends Simulation {
val httpProtocol = http // 4
.baseUrl("http://localhost:8081") // 5
.acceptHeader("text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8") // 6
.doNotTrackHeader("1")
.acceptLanguageHeader("en-US,en;q=0.5")
.acceptEncodingHeader("gzip, deflate")
.userAgentHeader("Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Firefox/31.0")
.enableHttp2
.http2PriorKnowledge(Map("www.google.com" -> true, "gatling.io" -> false))
.disableCaching
val scn = scenario("Http2Sample") // 7
.exec(http("request_1") // 8
.get("/")) // 9
.pause(10 milliseconds) // 10
.exitHereIfFailed
setUp( // 11
scn.inject(
atOnceUsers(1)) // 12
).protocols(httpProtocol) // 13
}
I am also facing the same error for aforesaid code, could you please help?Simulation computerdatabase.Http2Sample started...
11:12:12.307 [WARN ] i.g.h.e.GatlingHttpListener - Request 'request_1' failed for user 1
io.gatling.http.client.impl.HttpAppHandler$1: Premature close
11:12:12.317 [WARN ] i.g.h.e.r.DefaultStatsProcessor - Request 'request_1' failed for user 1: j.i.IOException: Premature close
================================================================================
2019-04-16 11:12:12                                           1s elapsed
---- Requests ------------------------------------------------------------------

Global                                                   (OK=0      KO=1     )
request_1                                                (OK=0      KO=1     )
---- Errors --------------------------------------------------------------------
j.i.IOException: Premature close                                    1 (100.0%)

---- Http2Sample ---------------------------------------------------------------
[##########################################################################]100%
waiting: 0      / active: 0      / done: 1
Simulation computerdatabase.Http2Sample completed in 0 seconds

@niyinsil What makes you think you have the same error? What does the application you're testing look like?

We have the same problem as in Stephane's description. Is the fix coming? 😄

Same here, we're not able to use HTTP/2

+1 here

Lots of people interested in getting a fix, but no one interested in contributing one?

Those people know who's the best Gatling contributor, Stephane! 😄

Those people know who's the best Gatling contributor, Stephane! 😄

Yeah, but then it will remain the same forever if no one else gives it a try 🤷

Great job Stephane! 😄


Wider space between clusters

Hi,
I am forking Clustergrammer and would like to add a wider space between clusters like this:

This should be dynamic as well.
Is it possible to do it 'easily' ?
Could you point me where to begin please.
Thanks,
Richard

Hi Richard,
It probably won't be too easy, but it is doable. To do that you should have a look at where the dimensions for the visualization are calculated (see calc_viz_params.js). You will also have to modify the positioning of the rows/columns in calc_matrix_params.js. Sorry that's not too specific, let us know how your progress goes.
Best,
Nick


[solid-query v5] Solid Start dependent query from context throws error (missing defaultQueryOptions)

Describe the bug
Hey! I'm using Solid Start with the Cloudflare Pages adapter, ssr: false and solid-query v5-rc.4.
I've noticed that when I provide a query via context within a layout to my routes and use that result for a different query that depends on the result somewhere inside the nested route, I get the following error when navigating from somewhere else to that route:

Reloading that route or directly navigating to it works fine though. It only happens when the route wasn't loaded before.
Your minimal, reproducible example
https://stackblitz.com/edit/github-czovmr
Steps to reproduce

Go to the home route
Click on the "Nested" menu item
Error appears

Expected behavior
There shouldn't be an error
How often does this bug happen?
Every time
Screenshots or Videos

Platform

macOS Ventura 13.6
Chrome v117.0.5938.92

Tanstack Query adapter
solid-query
TanStack Query version
rc-4
TypeScript version
v5.2.2
Additional context
No response

@ardeora FYI

Should be fixed in #6125
Reproduction here https://stackblitz.com/edit/github-czovmr-z3ccfm?file=src%2Froutes%2Fnested%2F[id]%2Findex.tsx

Should be fixed in the new versions and up! v5.0.0-rc.8
If you could please update your dependency and check if it works as expected, that would be awesome :D
Here is the reproduction with the new version
https://stackblitz.com/edit/github-czovmr-yqt3yz

Should be fixed in the new versions and up! v5.0.0-rc.8 If you could please update your dependency and check if it works as expected, that would be awesome :D
Here is the reproduction with the new version https://stackblitz.com/edit/github-czovmr-yqt3yz

It works now. 😊
Thank you very much, Aryan – you're the king! 👏


Make a logo for the app

Make sure to follow these guidelines: https://developer.android.com/google-play/resources/icon-design-specifications and https://developer.apple.com/design/human-interface-guidelines/ios/icons-and-images/app-icon/
Please provide a standard SVG format icon without any border-radius. Make sure it only contains vector content — no rasterized images, please. We'd like to make the icon infinitely scalable to ensure we can use it in any context. Our development team will resize it to fit into Android and iOS specifications.
You don't need Android Studio or XCode to make this icon.
See this issue for the colour our app is using.
If you want to use Figma to design the icon, you can create a free student account. Send a reply to this issue, and I'll add your username to our team. Please create any icons in this project: https://www.figma.com/files/project/25291611/Branding.

The MyMGS Logo

Transparent background:

Feature graphic:


Add load balancer service type service model changes

Purpose or Intent
Add load balancer service type service model changes. Adding definition of LoadBalancer service, template and options converter
Steps for Testing/QA
None

@bzwei Please review.

@Ladas yes, we could do a followup PR. I put here so that we won't forget :smile:

@bzwei sounds good, I do plan to go through it anyway, once all the PRs are merged. There is too many PRs, so there is a nice chance something will go wrong in the meantime. :-)

@bzwei ok, I've removed service_load_balancer_options_mixin. Rest will go in follow up, this should be ready now? :-)

@bzwei do you think this is mergeable? Our AWS CI breaks because it needs this.

@miq-bot add_label stale

stale, reopen when needed


Delete old pipelineruns only when new staging succeeds

Fixes #452

The only problem I see with this approach is, that it relies on someone checking the completion of staging with the new endpoint to do the cleanup. If another consumer of the API (the web dashboard for example), chooses to not check the status of staging, no cleanup would ever happen. This would be the case of "fire and forget" kind of staging.
Since the only consumer now is the cli and considering this approach fixes the problem for now, I would say it's ok. We can look for an alternative if this becomes insufficient at some point.

The only problem I see with this approach is, that it relies on someone checking the completion of staging with the new endpoint to do the cleanup. If another consumer of the API (the web dashboard for example), chooses to not check the status of staging, no cleanup would ever happen. This would be the case of "fire and forget" kind of staging.

Since the only consumer now is the cli and considering this approach fixes the problem for now, I would say it's ok. We can look for an alternative if this becomes insufficient at some point.

In response to the above I have managed to come up with 2 alternative ways of doing things.

Both have in common that the server does the polling and cleanup, however not triggered by the client, but by the AppStage itself.
First alternative would have any client do their own polling, as the cli does before this PR. Basically client polls for completion so that I can stop tailing the logs. Server polls for completion so that it can clean up pipeline runs. Easy to implement, nothing to sync between pieces, i.e. no coordination stuff required. However also loads the cluster API with more requests, with each client doing polling upping the load.
Second alternative needs some global data structures in the server, and has more complexity. Server does the polling, client queries the server for the state of its polling. Either in a long-waiting request as the current code does, or by polling the server. The complexity comes in because the server has to store the polling result in memory for the (multiple) clients to find on the one hand, and not keep the information around for too long either, to keep memory usage down in the face of clients not asking for the state.

If we go with these alternate solutions I would recommend we start with the first, where clients and server poll spearately. Only if this really gives us trouble because of load on the cluster should we consider the definitely more complex second alternative, as it requires much more coordination logic (global data structures, locking thereof, ...).

Another possible solution, coming out of chatting about this.
See if we can extend the existing pipeline with a stage which would delete the old pipeline runs after it has started the app (posted the deployment).

That would keep the client as is, polling for itself
And the server would be pretty much unchanged as well (just the embedded pipeline definition would change)
And we do not have to care about other clients.
Clients would have no say when the deletion/cleanup happens, and do not have to care either.

Some research with tekton is required tough.
Onwards into that fray ...

That alternative solution works.
See alternate PR #483

Overcome by #483


Any planned updates here?

This is dope. Let me know if you want some help on your next project.

We've mostly completed this game, but there are definitely things we'd like to go back and fix/enhance if we have the time. So no updates planned, but maybe someday.
And thanks for offering some help! We've got a couple different concepts brewing, so we'll reach out if we need some more hands on-deck.

This is a hilarious project. Nice job dude.


Frame skip

Right now, each GB frame advances per requestAnimationFrame so any frame skips would cause a realtime timing mismatch. In addition, the Gameboy runs at ~59.7hz, which should be ~0.5% slower @ 60hz or ~58.5% slower @ 144hz.
At the bare minimum, we should do a timing diff and advanced the frame by real-time instead of frame-time.
FUNDUDE should also have a "consistent" mode that doesn't frameskip on 60hz, and somehow works well on 144hz.

Closed by 861d005f72255a36dff677101e0d2c11d4e21508


fix(v2): fix codeblock copy button not including blank lines

Motivation
Fixes #2284 (copy button in CodeBlock ignores blank line in code block)
Have you read the Contributing Guidelines on pull requests?
Yes!
Test Plan

Click "Copy" button in CodeBlock with blank lines(ex: https://v2.docusaurus.io/docs/creating-pages#adding-a-new-page)
Paste to editor

Related PRs
This is a PR to add "Copy" button https://github.com/facebook/docusaurus/pull/1643

Thanks for your help and approval! 😄


Uploading an image in landscape and switching back to portrait distorts the image in the modal

On Android, when a user uploads and image and the modal pops up in landscape or portrait mode, when the user switches screen orientation, the image is distorted in the modal.

please look into this @sbsmith86 and close out if no longer an issue

I am unable to recreate this issue. But we can reopen if we see it again.


Migrations: Specified key was too long

Hi, I'm having problems when I start the initial migrations.
When I created the mysql database it does not have the option utf8mb4, but i have utf8mb4_bin, utf8mb4_general_ci, utf8mb4_unicode_ci and others.
I tried them all but they all give me the following error:
*** applying m180110_204953_create_account_table
    > create table account ...Exception 'yii\db\Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
The SQL being executed was: CREATE TABLE `account` (
        `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY,
        `username` varchar(255) NOT NULL UNIQUE,
        `profile_pic_url` varchar(255),
        `full_name` varchar(255),
        `biography` varchar(255),
        `external_url` varchar(255),
        `instagram_id` varchar(255),
        `updated_at` datetime,
        `created_at` datetime,
        `monitoring` tinyint(1) NOT NULL DEFAULT 0
)'

in C:\xampp\htdocs\ig-monitoring\vendor\yiisoft\yii2\db\Schema.php:664

Error Info:
Array
(
    [0] => 42000
    [1] => 1071
    [2] => Specified key was too long; max key length is 767 bytes
)

Does anyone know how to help me?
thanks

hi,
the simplest solution is to update the database, in the case of mysql to the latest version 5.7, in the case of mariadb to 10.2
you can also use google, there are plenty of tutorials on how to set up a database and avoid this error 😈


New version: SpecialK.SpecialK version <IP_ADDRESS>

Created by 🥟 Dumplings in workflow run #9006.

Log
Updated: 24.10.22 → <IP_ADDRESS>
Submitting WinGet manifests
Creating manifests
Uploading manifests and making commits
Creating a pull request

Microsoft Reviewers: Open in CodeFlow

Automatic Validation ended with:

Installation failed with exit code -1978335215
2024-10-22 22:46:33.342 [CLI ] Package hash verification failed. SHA256 in manifest [9eae000a217b19735c1a47dd42f213cb481b1dc84d28b7567a1e636a75788e9f] does not match download [13db99074040fdee9a35ac55dfefae9818587fae744c3362479ed295a17bc73c]

Automated error analysis suggests -1978335215 may mean The installer files hash does not match the manifest
(Automated response - build 897.)


nixos/physlock: add allowAnyUser option

Motivation for this change
physlock required root permissions to run. This PR adds the allowAnyUser option, which adds a setuid wrapper for physlock, allowing any user to lock the screen by calling the binary physlock.
Things done

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

[x] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

(Why can't we get the mention bot back? git blame has all the info.)
I feel that this change is incorrect.

I feel really insecure about introducing new setuid binaries then you can do the same without them.
Users could have added dependencies to physlock.service (like dropping LUKS keys), this change would ignore all of that.

The proper way to do this is to allow systemctl start physlock to all users (no idea how to do this with systemd).
I archive the same effect by simply defining a button:
services.actkbd.bindings = [
  # "screensaver" and "ms extended 1" keys lock the screen
  { keys = [ 152 184 ]; attributes = [ "any" "exec" ]; events = [ "key" ]; command = "systemctl start physlock"; }
];

@oxij If you're still interested in this, the polkit rule
/* Allow any user to lock the session/screen */
polkit.addRule(function(action, subject) {
  if (action.id == "org.freedesktop.systemd1.manage-units" &&
      action.lookup("unit") == "physlock.service" &&
      action.lookup("verb") == "start")
    { return polkit.Result.YES; }
});

allows every user to run systemctl start physlock.service. You could easily add this to the security.polkit.extraConfig if physlock.allowAnyUser was set.

That's good to know, thanks.


Spelling Fixes

Additional Spelling fixes @Court72

@ArieHein - thank you (again) for your spelling corrections!


Signing tests for Binance Smart Chain

Description
Signing tests for Binance Smart Chain.  Test for native (BNB) transfer, and a token transfer.
Ethereum signing code is used.
Tests use testnet IDs.
Testing instructions
All unit tests.
Types of changes

New test

Checklist

[x] Prefix PR title with [WIP] if necessary.
[x] Add tests to cover changes as needed.
[x] Update documentation as needed.
[x] I have read the guidelines for adding a new blockchain
[x] If there is a related Issue, mention it in the description (e.g. Fixes #<issue_number> ).

@hewig, please have a look if it makes sense to include this now or not.

bsc signing (Ethereum) should just work, what we need is cross chain contract encoder + bc cross chain / staking messages support

bsc signing (Ethereum) should just work, what we need is cross chain contract encoder + bc cross chain / staking messages support

Yes, this is just the first easy step :)

Let's move this into Ethereum folder? TokenTransfer demonstrates how to sign smart contract call tx

The point here is how to sign for binance chain, using ethereum code.  That's why I did not put in ethereum folder.

since smart chain is Ethereum, if people wants testnet or token transfer example, we can refer to these tests

I will move these tests to my working branch later, close this now


Add mac_os to graphSpecs list

For use when people set SPEC= for testing (linux_x86-64 currently works for mac_os testing, but to avoid confusion, we should add it to the list.

@renfeiw, can you verify that mac_os is in the list.  This is a book-keeping exercise, as we can run and do run tests on mac_os already.

Yes, it is added. But a proper name should be mac_x86-64? If the SPEC follows OSNAME_ARCH-BITS, it will help platform-requirement filter.


calibre: 3.17.0 -> 3.19.0

Also adding locally the lost patches
Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

No attempt on aarch64-linux
The following builds were skipped because they don't evaluate on aarch64-linux: calibre
No log is available.

Failure on x86_64-linux (full log)
Attempted: calibre
Partial log (click to expand)

building path(s) ‘/nix/store/p95jwmf7r7h1y971mqab32dk8wlncgq9-calibre-3.19.0.tar.xz’

trying https://download.calibre-ebook.com/3.19.0/calibre-3.19.0.tar.xz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0 36.4M    0  239k    0     0   480k      0  0:01:17 --:--:--  0:01:17  479k
 33 36.4M   33 12.1M    0     0  8412k      0  0:00:04  0:00:01  0:00:03 8406k
 71 36.4M   71 25.9M    0     0  10.4M      0  0:00:03  0:00:02  0:00:01 10.4M
100 36.4M  100 36.4M    0     0  11.6M      0  0:00:03  0:00:03 --:--:-- 11.6M
output path ‘/nix/store/p95jwmf7r7h1y971mqab32dk8wlncgq9-calibre-3.19.0.tar.xz’ has sha256 hash ‘0sann0aw6ngvmqp7049zg6hyqjrb5myq5ivr4r9x732c1cnjhhw9’ when ‘1w6hw1s0d4daa4q2ykzhxdndiq61l8z7ls7rxh7k7p62ia0i5sxp’ was expected
cannot build derivation ‘/nix/store/pi6i5k3b47f3hxxhnnhw2i93fwmlg8bi-calibre-3.19.0.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/pi6i5k3b47f3hxxhnnhw2i93fwmlg8bi-calibre-3.19.0.drv’ failed

@GrahamcOfBorg build

No attempt on aarch64-linux
The following builds were skipped because they don't evaluate on aarch64-linux: calibre
No log is available.

Success on x86_64-linux (full log)
Attempted: calibre
Partial log (click to expand)
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/calibredb
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/.calibre-customize-wrapped
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/ebook-edit
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/markdown-calibre
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/lrf2lrs
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/.ebook-edit-wrapped
Wrapping program /nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0/bin/.calibre-smtp-wrapped
postPatchMkspecs
postPatchMkspecs
/nix/store/1sfmwq17fwvl9d2f8jjs03qiqvy3gyqj-calibre-3.19.0


chore(docs): add primary name docs

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


use 2018 module style

Use module_name.rs instead of module_name/mod.rs.
Pros:

It's easier to find the module file (especially for modules with lots of
submodules like types)
Module file name is not 'magical'

@WaffleLapkin I think mod.rs is better than module.rs. In that case we encapsulate all module information into one folder without splitting.

@WaffleLapkin I think mod.rs is better than module.rs. In that case we encapsulate all module information into one folder without splitting.

@p0lunin with mod.rs we are placing files which are in different levels of nesting at the same place. a/{mod,sub}.rs - sub is a submodule of a, but is placed next to it. I don't think that's any good, especially (as I said earlier) for convoluted modules like types or payloads.

@p0lunin with mod.rs we are placing files which are in different levels of nesting at the same place. a/{mod,sub}.rs - sub is a submodule of a, but is placed next to it. I don't think that's any good, especially (as I said earlier) for convoluted modules like types or payloads.


410 Depth Module not being recognized

| Camera Model                       | D410 depth module + D4 vision processor card |
| Firmware Version                   | (<IP_ADDRESS>) |
| Operating System & Version |   {Win (10)   |
| Platform                                 | PC  |
| SDK Version                            |  2.0     |
Hello,
I have the Intel Real sense 410 depth module and the d4 vision processor card. I have connected them both using the 50 pin interposer. I am trying to set up the module on my computer.
For some reason the Intel Real Sense Viewer is not recognizing my device. It is being detected but it shows the following error:
Invalid Value in rs2_get_option_range(options:000002B3641140C0, option:Stereo Baseline, min:0.0001, max:0.01, step:1e-06, def:0.001):
OpCodes do not match! Sent 21 but received -6!
Can someone please help me out?

Hi @viprav07
Is updating camera firmware an option for you? Alternatively, I would try going back as far as v2.7.7 to check if it helps.

-I tried updating the firmware
It failed.

I tried the older SDK. It doesn't even detect the device.
The latest SDK does detect the device. It shows the error code as mentioned above.

When I tried the default setting in the realsense viewer it says:
Invalid Value in rs2_open_multiple(sensor:0000024417FD4BD0, profiles:0000024417EF2B68, count:1):
apply_preset(...) failed! Invalid product ID (2774)

Based on the product ID, it seems that the camera was recognized as USB2 device. Could you please make sure it is connected to a super-speed (blue) USB port, check the cable and the connection?

@dorodnic Thank you for your reply.
I connected it using a different cable. I have a USB type C cable and Type C USB 3 port on the pc. I am using this and was able to update the driver. I can see a stream from the camera. But the error still persists and it prints this:

I have two questions:

Do I have to use a Type C to Type A USB 3.0 cable and use it in the regular USB 3.0 port on the PC instead of the C to C cable + C port on pc.
If so, what is the logic behind this?

Do I have to calibrate the device before using?

Here is the procedure I followed:

Updated Windows 10.
Got the Dfu Tool ; updated the device using the latest firmware
Tried both SDK versions, the latest as well as the one you suggested.

I really appreciate your time helping me.

Hi @viprav07
The images suggest that the device was not calibrated. Perhaps dynamic calibration software can help, but usually we don't send customers uncalibrated units (I'm referring to stereo calibration required to generate depth). If you got the camera from Intel representative, perhaps you could reach out for more direct assistance? I would love to help but most of the engineers who respond here have less experience with the calibration process. Alternatively, perhaps @RealSense-Customer-Engineering could help.
Regarding the cable, I'm not aware of any limitation that would prevent you from using Type C to Type C cable, but we do most of our tests with Type A to Type C cables.

[Realsense Customer Engineering Team Comment]
hi @viprav07,
could you please provide the serial number of your D410 so I can check the status of you camera, and your windows version please?
thanks.

Thank You  @dorodnic .
That's what I thought. For example, the baseline parameter in the setting s of the viewer is showing up as 0mm and it's not letting me change it ( says read only).
@RealSense-Customer-Engineering  The details are as follows:
Windows Version : 14393 ( 1607 )
Intel 410:
J32106 100 951913
747512021062
I appreciate your help.

[Realsense Customer Engineering Team Comment]
hi @viprav07,
your D410 is PRQ unit, so it should be calibrated well and should able to update the FW.
so can you please provide your sceenshot of device manager so I can confirm it was detect correctly?
sometimes the type C cable have quality issue, so please check if your cable is USB certified.
also for calibration issue, please make sure the cable is good, then use this link for calibration.
https://downloadcenter.intel.com/download/27415/Intel-RealSense-D400-Series-Dynamic-Calibration-Software-Tools
please let me know how it works there.

Thank You @RealSense-Customer-Engineering
I checked the cable details and it seems to be of a good quality. If you want to verify this please look at the link below:
https://www.bhphotovideo.com/c/product/1202446-REG/griffin_technology_gc41634_usb_type_c_to_usb.html

I compared with another cable and it is indeed showing USB2

Next I tried the Calibration Software:

I am waiting for another type c to type a cable to arrive. do you think that might solve the problem?  It says re calibrate using OEM tools. It might not be calibrated?

@RealSense-Customer-Engineering Having a type c to type cable didn't solve the issue either.

@dorodnic  @RealSense-Customer-Engineering  Can you help me here?

hi @viprav07,
the cable looks good to me, and this seems calibration table corrupted or version not match from the error message of calibration tool, unfortunately we can't fix it outside of intel.
can you please check with your intel contact window to ship the unit to us so we can fix it and send It back?
thanks.
Regards,
Jason
Intel RSG Customer Platform Engineering

Hi all,
I have the exact same problem and I cannot calibrate the D435 using the Dynamic Calibration tool (it stops at step 10, giving me the resolution). I cannot update the firmware either (I have version <IP_ADDRESS>). Is there anyway to fix it? Thanks for your help.


Cannot Color by Boolean Column

I was working on a simple plot example where I wanted to color by a boolean column. The resulting legend defaulted to five color gradients instead of two. Ive attempted to recreate the example with the diamonds dataset but have been churning through this example for several minutes.  It works by truncating the dataframe to only afew record as below (see picture below)
from ggplot import *

def isideal(cut):
    if cut == "Ideal":
        return True
    else:
        return False

df = diamonds
df['isideal'] = df.cut.apply(isideal)
df = df[:10]
ggplot(aes(x='depth', y='price', colour='isideal'), data=df) + geom_point()

fixed


[agent] chart overhaul

This PR rebuilds the prefect-agent chart using bitnamis common as its base.
Related to #44

FYI relevant kube lint flagged issues below. Unfortunately we cannot set container security context as the prefect image expects the agent to run as the root user, otherwise it is unable to create the /.prefect directory & access other relevant directories like /opt/prefect cc: @madkinsz
KubeLinter 0.5.0

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" does not have a read-only root file system (check: no-read-only-root-fs, remediation: Set readOnlyRootFilesystem to true in the container securityContext.)

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" is not set to runAsNonRoot (check: run-as-non-root, remediation: Set runAsUser to a non-zero number and runAsNonRoot to true in your pod or container securityContext. Refer to https://kubernetes.io/docs/tasks/configure-pod-container/security-context/ for details.)

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" has cpu request 0 (check: unset-cpu-requirements, remediation: Set CPU requests and limits for your container based on its requirements. Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits for details.)

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" has cpu limit 0 (check: unset-cpu-requirements, remediation: Set CPU requests and limits for your container based on its requirements. Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits for details.)

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" has memory request 0 (check: unset-memory-requirements, remediation: Set memory requests and limits for your container based on its requirements. Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits for details.)

agent.yaml: (object: test-helm/prefect-agent apps/v1, Kind=Deployment) container "prefect-agent" has memory limit 0 (check: unset-memory-requirements, remediation: Set memory requests and limits for your container based on its requirements. Refer to https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/#requests-and-limits for details.)


External storage solutions draft - Do Not Merge

new article, toc, index files for External storage solutions

@jjaygbay1 Please let me know when you've had a chance to do an initial review, thanks.

@akashdubey-ms Please take a look at the new article for external storage and let me know if you have any feedback.

@jjaygbay1

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

Note: because this PR contains a new article, you'll need to move the commits to the private repo for staging and acrolinx. (we can help as needed).
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team


Utterances for 3.6/3.7 Period 4

Files affected: Period 4: 3.6.1-4 and 3.7.1-4

rejected, code is not needed, to enable utterances you just need
comments: true


I am getting an error  while deploying the image to kubernetes

bash: line 1: ./scripts/wait-for-it.sh: No such file or directory

@mmcfarland  it's a pydantic issue: https://github.com/pydantic/pydantic/issues/5821


Expose information to package distributors in all-packages

For this repository to be useful to downstream I propose two additions:
a) Serve elm-package.json for each package. This way downstream can parse dependency information etc. from packaging metadata. This essentially superseeds https://github.com/elm-lang/package.elm-lang.org/issues/147 with less work.
b) Generate sha256sum for the package and add it on http://package.elm-lang.org/all-packages
The question is, would you accept these two additions? I'd be happy to work on them if so.
cc @evancz
For more information see downstream: https://github.com/NixOS/nixpkgs/issues/20601

The next version of Elm will focus on making our package system nicer (and making CI faster) so I will be sharing designs about these kinds of things as the details come together. I think the best thing is to wait until those designs become available on elm-dev and then give feedback at that point.

@evancz I'd just like to give you some feedback about moving all discussions to elm-dev.
I already follow a dozen mailing list and following another one just to be careful about one topic is far from ideal communication wise.
Could we instead track this in a github issue? I don't mind if you close it once the plan is ready and link somewhere, as long as I don't have to read dozen of emails per day.


Python Plugin / Function Call

Hi @neka-nat , this looks fantastic.
I am looking to incorporate this into my own work, but I was wondering how your code actually gets triggered? Is there a way to only change the lights / colors by calling a function / service?
For context, I am using an RL set up, and am looking to only call this function after the reset of each environment.

Hi @bhairavmehta95.
I think the best way is executing following command.
roslaunch gazebo_domain_randomizer domain_randomizer.launch

However, since the shape_randomizer is still unstable, it is better to execute only light_randomizer.
rosrun gazebo_domain_randomizer light_randomizer


Using import instead of require

For arrayUnion()/arrayRemove() I need to import DocumentSnapshot.  It turns out that doesn't quite help, but the PR is already written, so I propose we do the require to import migration either way.
This PR also removes the default exports from our internal modules. We only default export Firestore now.

The Web client uses the much prettier prettier, and this repo uses clang-format now. clang-format removes those spaces.


Auto-generate a deck when creating a new deck in deck manager

Is there a chance a deck can be auto generated when user is in Deck Manager and Hearthstone is kept open in the 'My Collection' page?
This will perfect HSTracker from the functionality perspective, as everything else is working sweet!

duplicate of #58, it's planned for 0.18 (maybe 0.17 if everything goes fine!)


more rounded nord buttons

This is a super minor 'fix': it makes buttons in the nord theme rounder, more in line with how nord buttons are often styled (see e.g. https://github.com/shaunsingh/nord.nvim). Up to you if you want to merge :)

I'm fine with it! :)


Wrong project name for pipx in FAQ

Hi,
This is from the FAQ:

Install pipx then just do:
pipx install aider

But this command generates this error message:

No apps associated with package aider or its dependencies. If you are attempting to install a library, pipx should not be used. Consider using
pip or a similar tool instead.

It seems that it should be pipx install aider-chat instead.

Thanks, fixed!


Environment is not traversable via Problem/Fact

Describe the bug
The API Schema has environment as a field which should return the Environment type in a couple different places, including on the Problem and Fact types. Attempting to load any environment data from Problem/Fact returns null for every request instead.
To Reproduce
Try to load environment data off a Problem/Fact:
query {
  environmentByOpenshiftProjectName(openshiftProjectName:"high-cotton-master") {
    id
    problems {
      environment {
        id
      }
    }
    facts {
      environment {
        id
      }
    }
  }
}

returns
{
  "data": {
    "environmentByOpenshiftProjectName": {
      "id": 3,
      "problems": [
        {
          "environment": {
            "id": null,
          }
        }
      ],
      "facts": [
        {
          "environment": {
            "id": null,
          }
        }
      ]
    }
  }
}

Expected behavior
Environment data can be returned OR the environment field is removed from Problem/Fact.
Additional context
The resolvers in the API need to either return all the necessary data, or provide a function that can load the environment data as needed. See Deployment > Environment for an example: https://github.com/amazeeio/lagoon/blob/main/services/api/src/resolvers.js#L260

@rocketeerbkw I'm happy to sort this out, total oversight on my side.
How should I approach this from a Lagoon 2 perspective? Anything special I need to do other than just submitting a PR to main?


get-started/consul There is an error

Describe the bug
A clear and concise description of the bug.
Steps to reproduce
Steps to reproduce the behavior:
1.Open page https://steeltoe.io/service-discovery/get-started/consul
2.  “Consul_Register_Example“ Should be replaced with “Consul-Register-Example ”
3. Because the service name obtained by the client(IDiscoveryClient ) is actually “Consul-Register-Example”
Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

Platform: [e.g. Cloud Foundry, Azure, etc.)
OS: [e.g. Windows, Linux, Mac OSX]
.NET Version [e.g. .NET Core 3.1.0,]
Steeltoe Version [e.g. 2.4.0]
Any other library versions to note

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context or links


Demo site deployment decissions

There are few things we need to determine before we can deploy the demo site:

[ ] place to deploy (gh-pages?)
[x] url => we've got ng-bootstrap.io domain
[ ] location strategy for router links (can we use HTML5 mode?)
[ ] versioning of docs (do we have a separate folder per version from the day 0?)

Maybe there are other items but at least the above need to be sorted out.

If we can swing it, I think we do doc versioning right out of the gate.  @Foxandxss set it up on UIBS and I don't think it took him very long.  The one thing will be how many previous versions do we maintain?  I believe Angular only ever shows the latest patch revision for each major/minor release.

I think that we've figured out most of the deployment decisions. I vote for not versioning docs till we gat to the final (or at least rc) release.


pull request for forked repo

5/1/21 pull request. bus file was entered but changes made within are unintended.


rate limit warning does not display properly in Firefox

ref: https://www.reddit.com/r/toolbox/comments/3efn3q/pruning_usernotes_doesnt_work/ctesxw9?context=4
And from my own testing in FF: http://i.imgur.com/UbzI0S5.png
My guess is something is breaking before this line is hit: https://github.com/creesch/reddit-moderator-toolbox/blob/master/tbutils.js#L1062
But I'm not sure what it is.  This issue is critical since mod button mass actions now go through forEachChunkedRateLimit()
@TheEnigmaBlade any thoughts on this?  There were no JS errors in FF's dev console that I saw.  But I'm not convinced that thing works.

I'm getting it displaying like that too.
The error is timer is not defined on this line:
https://github.com/creesch/reddit-moderator-toolbox/blob/master/tbutils.js#L1047

Fixed in: d6a1d13dfbb5f5b8a2fabf8edf5595edb15228b6


Introduce an OAuth2TokenType for ID_TOKEN

@joshuatcasey id_token is not defined as a token type in 4.1.2 OAuth Token Type Hints Registry.
I'd rather leave this out and only define the standard token types in OAuth2TokenType


system-config-printer: 1.5.15 -> 1.5.18

Description of changes
tested by printing a test page
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
23.11 Release Notes (or backporting 23.05 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

[ ] Fits CONTRIBUTING.md.

I will self-merge next week if nobody opposes.


Alternative Map support (Bitter Reach)

I am a player in a Bitter Reach campaign and my GM would like to use the Map feature to track our progress. Could you make it possible to use the map from Bitter Reach instead of the Ravenland?
For example, the user could upload a map of their own to use instead. Or there could be additional pages with different maps.
I would really love it if this feature became implemented, and I am sure so would others.

[ ] Test


[FEATURE] Introduce Windows User Installer

The Problem/Issue/Bug:
How this PR Solves The Problem:
Manual Testing Instructions:
Automated Testing Overview:

Related Issue Link(s):
Release/Deployment notes:

I wouldn't think you'd open this until the other one was pulled.

I wouldn't think you'd open this until the other one was pulled.

Oh yes, it's based on the other one and almost running. Needs some minor improvments

This one's going to get obsolete by work on the main installer right? Should this be closed and have a start-over version when the time comes to work on it again?

I'm going to take the liberty of termporarily closing this per @gilbertsoft 's approval to do so. It can be resurrected when there's time to push it forward. This PR can just be reopened.


${AssemblyVersion}: added format option

Fixes #2617
Requires documentation update at https://github.com/nlog/nlog/wiki/AssemblyVersion-Layout-Renderer

@304NotModified I would really like to start using this feature soon. Do you know roughly when the next release will be?

Not planned yet, I hope within 4 weeks

Thanks, that is good enough


Don't know if these fixes affect me, but gradual progress..

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


GEOMESA-1115 Adding metrics for geoserver instrumentation

Serlvet filter to instrument requests, with grouping by layer in geoserver
Extend dropwizard metrics with reporters for Accumulo and TSV
Configuration of metrics/reporters via typesafe config

Signed-off-by: Emilio Lahr-Vivaz<EMAIL_ADDRESS>

9b831c1


[Bug]: Search filtering for Multiselect

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
When I type into the MultiSelect widget input field, it does not filter the options like it does in the MultiTreeSelect widget.
In its settings, there is not a config option for 'Filterable' like there is for the Select widget.
I would expect the MultiSelect widget to have this config option and behave either like the Select widget or like the MultiTreeSelect widget.
Steps To Reproduce
1. Create a MultiSelect widget
2. Check the settings (no 'Filterable' option)
3. Publish and try typing into the input

Environment
Production
Version
Cloud

@man1cato I can see that the list is getting filtered in the multi-select. Can you elaborate on the problem?


generate gif

Thank you for releasing this project.
But how should I generate the gif in your home page from the generation_results/scenario_records.json.
Thank you very much.

Hi! Generating a .gif exactly as the teaser on the landing page of this repository is a bit involved. However, I have added tools/visualize_scenarios.py,  which is a lightweight script that draws .gifs of the generated scenarios in a simple BEV representation. This is also what we used during development for this project.
To use it, you need to spin up a CARLA server in the background. Make sure the argument --scenario_log_dir  points to the directory where your generation results are located. Additionally you may need to set the environment variables for CARLA's python API as in run_generation.sh (l.3-7).

Okay I got it. Thank you for your reply!


E05 us03 t03 branch

E05-US03-T01
and
E05 us03 t03
But also :
refactoring of the repository architecture.
improved security by deleting the password generation within the gitted scripts.
improved scripts readability, refactored too.
added help and multiple options for Deployment script deploy.sh
added templates for the ungitted scripts.
Updated the docs for security, DEPLOYING, and general README.
!! Didn't implement persitency of all RabbitMQ messages, as agreed upon.

Order service added to docker swarm
Docker Hostnames added to normal compose to insure correct undeploy.sh


SpEL expression in @VaultPropertySource annotation not expanded with enabled renewal

I am using the annotation with SpEL, as the path inside Vault changes as a requirement.
@VaultPropertySource(value="kv/#{'${MY_ENVIRONMENT}'}/domain/apidomain", renewal = VaultPropertySource.Renewal.OFF)

I see the VaultPropertySource listed correctly in the Spring Environment propertySourceList, the value of my System Environment variable is replaced and I can access the values.
But if I use
@VaultPropertySource(value="kv/#{'${MY_ENVIRONMENT}'}/domain/apidomain", renewal = VaultPropertySource.Renewal.ROTATE)

or
@VaultPropertySource(value="kv/#{'${MY_ENVIRONMENT}'}/domain/apidomain", renewal = VaultPropertySource.Renewal.RENEW)

The LeaseAwareVaultPropertySource is also listed in the Spring Environment propertySourceList, but my SpEL expression is not being replaced and can't access the values, due to the request being made without replacing the SpEL expression.
I am using v2 engine

Thanks for report. SpEL expansion works for non-renewable property sources sort of by accident. We never explicitly added property expansion but rather register beans through BeanDefinitionBuilder and use the property source path as String.
For renewable/rotating secrets, we create upfront a RequestedSecret and so we bypass the container's built-in SpEL expansion. We need to consistently call Environment.resolveRequiredPlaceholders(…) on bean registration to resolve property placeholders eagerly.
Flagging this ticket as an enhancement as we should also document that feature.

That's implemented (fixed) and backported to 2.1.x now. Care to give 2.1.3.BUILD-SNAPSHOT a spin?

It works wonders. Thank you!


feat!: add AztecAddress.isValid and make random be valid

Closes https://github.com/AztecProtocol/aztec-packages/issues/10039
Since https://github.com/AztecProtocol/aztec-packages/issues/8970 is not yet implemented, invalid addresses cannot be the recipient of e.g. token transfers, since we end up producing points not in the curve and causing MSM to fail. Making random() return valid addresses seems like very reasonable behavior.

Docs Preview
Hey there! 👋 You can check your preview at https://673e45c2efe1395f39beda4b--aztec-docs-dev.netlify.app

I refactored Point a little bit to reuse this YFromX method, and added AztecAddress.toAddressPoint, which simplified some other parts of the encryption flow.


Only check overlapping for intersections when building RangeIterator

The check for isOverlapping calls b.hasNext(). That can be an expensive operation. Since overlapping only matters for intersections, we should only calculate it when we have an intersection.

Superseded by https://github.com/datastax/cassandra/pull/1210


Bundle extra in setup.cfg?

🚀 Feature
as pointed out by @sofroniewn  in https://github.com/napari/napari/pull/2483#discussion_r605152291, it'd be nice to move the EXTRA_REQS from our bundle.py into setup.cfg to make it clearer what is included where.  This might be made slightly complicated by the extra logic going on to when bundle.py is run as a script... and by what beeware needs in the pyproject.toml.  but it's a good goal!  didn't want to lose it in that thread:
https://github.com/napari/napari/blob/102a7e8f845893c874d2b86f9371d41130100b89/bundle.py#L22-L29

When we do this we might also want to pin scikit-image[data] >= 0.18, see https://github.com/napari/napari/pull/2483/files#r607548848

no worries! I'm glad you merged, easy to fix later


The wrong configuration file was generated

Hi guys, I have installed fluent-operator using helm. it installed successfully and also deployed fluentd and fluentbit pods successfully. but I found out that these two pods are reporting errors by checking the logs. The configuration file it produced was different and produced a @48b7c... label under route. But after I delete the two profiles, these are fluentd.yaml and cluster-fluentd-config.yaml .then everything works fine.
Can't a namespaced level configuration file and a cluster level configuration file exist at the same time? If not, we can specify this in the documentation.

@zhu733756 what do you think?

Can't a namespaced level configuration file and a cluster level configuration file exist at the same time?

It could be exited at the same time, can you give your helm cmdline?

You see one cluster-level ClusterFluentdConfig or FluentdConfig will generate a route. Perhaps at least one filter or output should be defined?

Can't a namespaced level configuration file and a cluster level configuration file exist at the same time?

It could be exited at the same time, can you give your helm cmdline?
You see each one cluster-level ClusterFluentdConfig or namespace-level FluentdConfig will generate a route. Perhaps at least one filter or output should be defined?
I think this part can be optimized. I will see it later.

I used only one command to install.
helm install fluent-operator --create-namespace -n kubesphere-logging-system charts/fluent-operator/  --set Kubernetes=true,containerRuntime=crio,fluentd.enable=true
···

@zhu733756 Is this a bug we should fix?

@zhu733756 Is this a bug we should fix?

I will test and fix it.


Feature request: expose 'with_flags' to allow compilation of unicode patterns

Context
I got to spend a few hours working on getting regress support for pattern into check-jsonschema, and it works great! ... On version 0.4.5! :sweat_smile:
I don't fully understand the issue yet (need more time to research), but I think that I need to pass the "u" flag explicitly to Regress.
Purely if you're curious, my current work is here and is passing in CI with v0.4.5 pinned: https://github.com/python-jsonschema/check-jsonschema/compare/use-regress-for-patterns
MRE
The following python sample demonstrates a change in behavior since 0.4.5:
import regress
pattern_str = '^\\p{L}\\p{Z}\\p{N}$'
pattern = regress.Regex(pattern_str)
print(pattern.find("a 0"))

On 0.4.5 I get a match, and on 2024.8.1 I get None.
To save anyone the effort of looking up those character classes, roughly: L is "letters", Z is "spaces", and N is "numbers".
Change proposal
I'm not sure if the API in Python needs to reflect the regress crate perfectly.
I was thinking that the ideal might be...
pattern = regress.Regex(pattern_str, flags=regress.U)

So that we nicely match the re module's API.
I'd like to work on this when I can throw some cycles at this, if this seems like a good path.

That API looks reasonable to me!

I've been putting together a branch with this and ran into quite a bit of difficulty trying to expose a bitwise-or friendly flag enum. I'm sure a PyO3 expert could solve it, but I'm somewhat stumped.
Even if I can figure it out, I feel like it adds disproportionately much new rust code just to expose a minor nicety.
For contrast, I had it working in no time just accepting flags as a string.
So I'm now proposing:
pattern = regress.Regex(pattern_str, flags="u")

Which would also accept flags=None (default) and flags="iu" (and whatever other string flags regress supports).
I'll have a PR up for this when I get back to my desk, later today, and I might share some of what I tried and struggled with back here.

Okay, I put up #52 with my initial solution. Here's a patch on top of it which... didn't quite work:
flags-enum.diff
diff --git a/src/lib.rs b/src/lib.rs
index e2df317..ca0f1a3 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -1,5 +1,5 @@
 use pyo3::{create_exception, prelude::*, types::PySlice};
-use regress::{Match, Range, Regex};
+use regress::{Flags, Match, Range, Regex};

 create_exception!(regress, RegressError, pyo3::exceptions::PyException);

@@ -13,12 +13,15 @@ struct RegexPy {
 impl RegexPy {
     #[new]
     #[pyo3(signature = (value, flags=None))]
-    fn init(value: &str, flags: Option<&str>) -> PyResult<Self> {
+    fn init(value: &str, flags: Option<&FlagTypes>) -> PyResult<Self> {
         match flags {
-            Some(f) => match Regex::with_flags(value, f) {
-                Ok(inner) => Ok(RegexPy { inner }),
-                Err(e) => Err(RegressError::new_err(e.to_string())),
-            },
+            Some(f) => {
+                let regress_flags: Flags = Flags::from(f);
+                match Regex::with_flags(value, regress_flags) {
+                    Ok(inner) => Ok(RegexPy { inner }),
+                    Err(e) => Err(RegressError::new_err(e.to_string())),
+                }
+            }
             None => match Regex::new(value) {
                 Ok(inner) => Ok(RegexPy { inner }),
                 Err(e) => Err(RegressError::new_err(e.to_string())),
@@ -38,6 +41,42 @@ impl RegexPy {
     }
 }

+#[repr(transparent)]
+#[pyclass(name = "Flags", module = "regress", frozen)]
+#[derive(Clone)]
+struct FlagsPy {
+    inner: Flags,
+}
+
+#[pymethods]
+impl FlagsPy {
+    #[new]
+    fn init(value: &str) -> Self {
+        FlagsPy {
+            inner: Flags::from(value),
+        }
+    }
+}
+
+#[derive(FromPyObject)]
+enum FlagTypes {
+    #[pyo3(annotation = "regress.Flags")]
+    FlagsPy(FlagsPy),
+    #[pyo3(transparent, annotation = "str")]
+    String(String),
+}
+
+impl From<&FlagTypes> for Flags {
+    // convert any Flag type (FlagsPy or str) to regress Flags
+    #[inline]
+    fn from(f: &FlagTypes) -> Self {
+        match f {
+            FlagTypes::FlagsPy(flags_py) => flags_py.inner,
+            FlagTypes::String(s) => Flags::from(s.as_str()),
+        }
+    }
+}
+
 #[repr(transparent)]
 #[pyclass(name = "Match", module = "regress", frozen)]
 struct MatchPy {
@@ -70,6 +109,7 @@ impl MatchPy {
 fn regress_py(py: Python, m: &Bound<'_, PyModule>) -> PyResult<()> {
     m.add_class::<MatchPy>()?;
     m.add_class::<RegexPy>()?;
+    m.add_class::<FlagsPy>()?;
     m.add("RegressError", py.get_type_bound::<RegressError>())?;
     Ok(())
 }
diff --git a/tests/test_regress.py b/tests/test_regress.py
index c8e4f1d..a146425 100644
--- a/tests/test_regress.py
+++ b/tests/test_regress.py
@@ -72,3 +72,17 @@ def test_with_flags():
     flagless_match = flagless_regex.find("a 0")
     assert match is not None
     assert flagless_match is None
+
+
+def test_with_flags_struct():
+    # same as the above flags test, but using the struct variant
+    # "L" for letters, "Z" for spaces, "N" for numerics
+    pattern = r"^\p{L}\p{Z}\p{N}$"
+
+    regex = regress.Regex(pattern, flags=regress.Flags("u"))
+    flagless_regex = regress.Regex(pattern)
+
+    match = regex.find("a 0")
+    flagless_match = flagless_regex.find("a 0")
+    assert match is not None
+    assert flagless_match is None

Basically, I tried to add a FlagsPy construct, which would be exposed as regress.Flags. This was meant to be my first step towards a more sophisticated implementation. But it somewhat bombs out due to the way I defined the FlagTypes enum -- trying to put that into the init signature somehow blows up on me, with errors to the tune of
16  |     fn init(value: &str, flags: Option<&FlagTypes>) -> PyResult<Self> {
    |                                 ^^^^^^ the trait `PyClass` is not implemented for `&FlagTypes`

This surprised me. I was trying to make that enum express the Python types.UnionType of str | regress.Flags. I'm getting a bit out of my comfort zone with this, and given that the pure string version works and is sufficient for my needs... #52 is all I really want/need for the foreseeable future.


Initializing Parse Database with API

I'm trying to initialize a global variable which I can access from all files in my api/actions file. However I'm not sure where I should initialize it. It keep saying Parse is not defined.
import Parse from 'parse/node';
import localStorage from 'localStorage';
import XMLHttpRequest from 'xmlhttprequest';

Parse.initialize("", '');

Disclaimer: The snippet you posted looks incomplete as this should not result in a TypeError. If my advice is not helpful please post a more complete example.
You only want to call the initialize function once, so putting them into any action is not what you want. It's better to call it inside the api/api.js or inside a separate file that is being imported from there.
Once you initialize your Parse object it should be the same instance you import in any other file.

I understand that I should only initialize my Parse object once, however I'm not sure how can I call the Parse object I had initialized in the api/api.js in my action files.
What I had done was to do the import and Parse.initialize("", ''); in api/api.js and then pass Parse inside the action along with the req and params like below.
action(req, params, **Parse**)
      .then((result) => {
        if (result instanceof Function) {
          result(res);
        } else {
          res.json(result);
        }
      }, (reason) => {
        if (reason && reason.redirect) {
          res.redirect(reason.redirect);
        } else {
          console.error('API ERROR:', pretty.render(reason));
          res.status(reason.status || 500).json(reason);
        }
      });

Then in my api/actions/user.js for example I'll just do
export default function user(req, res, Parse) {
}

However I'm not sure if this is the right way to do so, I'm pretty sure there is a better way to do this.

required or imported objects are shared between imports, so you can initialize it at one point and import it initialized at another. Just make sure initialization completes before you use it.


Delay after "Request to pull 2"

When I log in, I get the usual series of logs:

info login Logged in
info login Request to reconnect
info login Request to pull 1
info login Request to pull 2

Since this morning, however, there's been a delay after this log (about 30 seconds to a minute?) before the final two logs (below) are printed and the login callback is called.

info login Request to thread_sync
info login Done logging in.

Is there any reason why thread_sync may have started to hang?

then(function(resData) {
if (resData.t !== 'lb') throw {error: "Bad response from pull 1"};
  var form = {
    channel : 'p_' + ctx.userID,
    seq : 0,
    partition : -2,
    clientid : ctx.clientID,
    viewer_uid : ctx.userID,
    uid : ctx.userID,
    state : 'active',
    idle : 0,
    cap : 8,
    msgs_recv:0,
    sticky_token: resData.lb_info.sticky,
    sticky_pool: resData.lb_info.pool,
  };

  log.info("login", "Request to pull 2");
  return utils
    .get("https://0-edge-chat.facebook.com/pull", ctx.jar, form, globalOptions)
    .then(utils.saveCookies(ctx.jar));
})

i think this is the cause of the problem

thread_sync is not required, also pull 2? https://github.com/fca-unofficial/fca-unofficial/commit/0334f79c2b0345572eae1c2a1a3989ea9cbb6364#diff-168726dbe96b3ce427e7fedce31bb0bc


onHover/onClick event doesn't response to png's transparent area

Hi, I was playing with the IconLayer, my png file passed into the IconLayer has a large transparent area which cannot be recognized by the onHover or onClick event.
I was wondering if there is a way for me to use whole png file to trigger the event rather than just nontransparent area?

I found a way to solve this, it is kinda silly but do the job.
I didn't solve this directly using the icon layer.
Instead, I add an extra ScatterplotLayer as the pickable area, thus I can customize that size whatever I want.
This issue can be closed now.


I have a standard engine and there are two in-repo engine inside the standard engine.When trying to access the in-repo engine, an error is thrown "cannot read meta tag for the name"

 ->host app
       -> standard engine A
             -> in-repo engine B

I have listed engine A under host app's devDependencies and engine B under ember-addon's path in engine A.
Meta tag for engine A is generated in host app's index.html but for engine B there is no meta tag.
How to use engine B inside host app

@rwjblue


fix(task): task errorMsg use rootcause

What type of PR is this?

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

picked by https://github.com/oceanbase/odc/pull/3830


module 'ginza' has no attribute 'STOP_WORDS'

----> 2 spacy_stop_words = ginza.STOP_WORDS
3 len(spacy_stop_words)
AttributeError: module 'ginza' has no attribute 'STOP_WORDS'
Please help me fix this.

Please try following steps. Thanks. @ivrschool
from spacy.lang import ja
stop_words = ja.STOP_WORDS

@hiroshi-matsuda-rit It worked for me. Thank You so much.


⚠ Bofrost.be has degraded performance

In 5f0405c, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1688 ms

Resolved: Bofrost.be performance has improved in 49e0c37 after 31 minutes.


Add linear interpolation to go from the current posture to the first one in the stack

Coverage remained the same at 0.0% when pulling a724ba17b10557e69cc99f855b7a03af09a02052 on olivier-stasse:master into e06fb822bfa3a097cb4e924e58c9ff855dab48a4 on stack-of-tasks:master.

It seems that I don't have permission to merge on sot-tools. Could you please merge it here?


Chocopin

Please review the new Function and resources for Chocolatey.
I made also some code formatting changes, i hope you are ok with this.

Hey, thanks a lot for that!
Gonna need to find some time to look at this, and that probably won't be this weekend. Do give me a nudge if you don't get feedback in a week.

"Give Me A Ping, Vasily. One Ping Only, Please."

Note for later, please don't mix formatting change with feature change. It makes reviewing so much harder :(
Going through the changes, slowly...

Wow, great, extensive work! thanks.
I'm getting there.

Note for later, please don't mix formatting change with feature change. It makes reviewing so much harder :(
Going through the changes, slowly...

I'm terribly sorry for that mess....


Simplify AccountDetails in ProvenTransaction

As noted by @hackaugusto in https://github.com/0xPolygonMiden/miden-base/pull/485#discussion_r1514838480, we may be able to simplify AccountDetails in the ProvenTransaction struct to carry just account delta (even in the case of new accounts).

One thing we've missed: Account also contains account's code, but we don't have such analogue in AccountDelta. In our previous design, we was able to deploy code once and then update other data, so if we add this field to AccountDelta, it will be useless for updates in existing accounts. Do we have another approach of account's code deployment?

We decided to not keep only delta, because this makes code even worse due to additional cases to check: https://github.com/0xPolygonMiden/miden-base/pull/530#issuecomment-2065912940


make static-location more useful for testing

Importing wouter/static-location is useful for server-side rendering, and also has some use when testing (e.g. ensuring the correct components are rendered for a given path). But it is lacking the ability to record changes to the URL (e.g. from redirects, links, or more generally setLocation).
Adding a small amount of state to this would make it more useful for testing, while maintaining its applicability to static rendering. In my own project, I have added the following, which could easily be included here as a replacement to static-router.
import type { LocationHook, Path } from 'wouter';

export interface StaticLocationHook extends LocationHook {
  locationHistory: Path[];
}

export default function staticLocationHook(
  path = '/',
  dynamic = false,
): StaticLocationHook {
  let latestLocation = path;

  const hook: StaticLocationHook = () => [
    dynamic ? latestLocation : path,
    (to: Path, replace?: boolean): void => {
      if (replace) {
        hook.locationHistory.pop();
      }
      hook.locationHistory.push(to);
      latestLocation = to;
    },
  ];

  hook.locationHistory = [path];
  return hook;
}

This allows testing like so:
const locationHook = staticLocationHook('/');

const dom = render((
  <Router hook={locationHook}>
    <MyComponent />
  </Router>
), { queries });

// (click a link)

expect(locationHook.locationHistory).toEqual(['/', '/my-new-path']);

And to perform transition tests, dynamic can be set true, causing the page to navigate realistically when links are clicked, etc.

@davidje13 Awesome work! This definitely looks like something we could add to the library.

add a fake 'history' 🚀

Want me to put together a PR? I'm guessing the necessary bits would be implementation (as shown here), typescript declaration, tests, and documentation updates in the readme?

@davidje13 Sure, I would appreciate you sending a PR. Let's discuss an API in details. Here are my thoughts.

Since staticLocation's main use case is SSR, it would be a bit risky to make the history recording functionality on by default. The recording is mostly needed in tests, so I assume something like this staticLocationHook({ record = false }) should work.
I like the idea of making the hook dynamic staticLocationHook({ record = false, dynamic = false }), however it just feels a bit unnatural that the name of the hook is static, but it can act as dynamic under certain circumstances. Taking this into an account, would that be better if we leave the staticLocation as is and implement another hook /test-location.js with the following API:

// test-location.js

// a factory method that returns a test location hook
// usage:
// const hook = createTestLocation('/app');
// <Router hook={hook} />
// hook.history // ['/app', /users']

export default function createTestLocation(path = '/', { record = true } = {}) {

}

P.S. I also prefer hook.history since it's shorter 😄
Let me know what you think about that!

It can be useful in tests to have changes recorded but not acted on, so I'd rather keep the ability to switch dynamic on and off.
Note that this functionality isn't limited to tests; presumably any statically-rendered page which causes a navigation is expecting to perform a redirect, in which case I'd want to be able to capture that info and send it as a 3xx or similar. I could imagine somebody writing code like:
const locationHook = staticLocationHook(requestedPage);

const dom = render(<Router hook={locationHook}><App /></Router>);

if (locationHook.history.length > 1) {
  return Redirect(locationHook.history[1]);
} else {
  return Ok(dom);
}

But if you want to separate this from the existing staticLocationHook then fair enough. But maybe name the new one inMemoryLocationHook / capturingLocationHook / recordingLocationHook / historyLocationHook or even just locationHook?
I'll put a PR together which can be used for further discussion; the core concepts won't be affected much, it's just a case of figuring out an API.

It can be useful in tests to have changes recorded but not acted on, so I'd rather keep the ability to switch dynamic on and off.

I agree. One the initial versions was staticLocationHook(initalPath, { record:, dynamic: }) where both of these things are supported.

Note that this functionality isn't limited to tests; presumably any statically-rendered page which causes a navigation is expecting to perform a redirect, in which case I'd want to be able to capture that info and send it as a 3xx or similar. I could imagine somebody writing code like

Oh, I see now, that is an interesting case. Initially, I was concerned about the fact that the hook is used on a server and potentially could stay alive between multiple requests. But now I realize that this isn't true: you usually call the factory method on every request, so the new copy of the hook is created.

But if you want to separate this from the existing staticLocationHook then fair enough.
You know, considering your arguments, having these things implemented in staticLocation isn't such a bad idea. And I really don't want to have too many files in the repo 😄 Let's go with the staticLocationHook(initialPath, { record = false, dynamic = true }) version.

@davidje13 Released in https://github.com/molefrog/wouter/releases/tag/v2.5.0
Thanks again for such an amazing work!


Automate publishing and changelog generation

This is a question, in order to automate the changelog generation I'm using semantic-release. In case sounds good to you, I could make a PR for this config. I have some repos where I set it, i.e: here. In case not, feel free to close this issue.
Thank for maintaining this package.

Thanks for the offer, but I don't think that's a good fit for objecction.


ERR PadplusManager onFunction(error) listener exception: Error: PADPLUS_ERROR EXIT 你的微信登录环境存在异常。为了帐号安全，本次登录已失效。

@ericmigi meet this error today.
To be monitored. @windmemory
matrix-appservice-wechaty    | }
matrix-appservice-wechaty    | 19:42:10 ERR PadplusManager onFunction(error) listener exception: Error: PADPLUS_ERROR EXIT 你的微信登录环境存在异常。为了帐号安全，本次登录已失效。
matrix-appservice-wechaty    | DEBUG: userData:  { directRoomId: '!YZKfIfdfxdWWXINFOX:eric.nova.chat' }
matrix-appservice-wechaty    | sendEvent of type m.room.message in !YZKfIfdfxdWWXINFOX:eric.nova.chat with txnId m1582918935718.1
matrix-appservice-wechaty    | Event sent to !YZKfIfdfxdWWXINFOX:eric.nova.chat with event id $lzVPaTd_xFr0kov_LAYKx-4jgU-ifF1tYYyAo47uc14

I dont think this error is caused by matrix-appservice. Actually I've seen many people reported the same error recently on PC clients, and PAD clients, too. Even when I was using a PC client, I was forced to log-out because of "你的微信登录环境存在异常。为了帐号安全，本次登录已失效" once. But the same error never occurs to me again, since I continue to use as a "normal" user.
This might have something to do with Risk-Control strategy conducted by Wechat team. And there is no transparent policy, nor a provided reason, or even clear evidence for being forced log-out. If we want to open the "grey-box" of "accidently logout", we might check the following facts:

What is the chat behavior of the account (Does it send too much message, or join too much chat groups)?
How much offical accounts it read (Does it crawl more than 1000 or 2000 articles each day)?
Does it have a bank card asscioted with Wechat Pay? What is its consuming pattern and financial behavior?
Does it forward any sensitive articles or sensitive messages?

And it seems that, "你的微信登录环境存在异常。为了帐号安全，本次登录已失效" is more or less like a check flag. It doesn't ban the account if you switch a different computer or another official up-to-date stable released client, to login and continue to use the account. But it only bans you from using the same client that being flagged to logout.

Thank you very much for the great information about this issue, it's very valuable!


Pre-filtered results from html

Hi, Mehmet.
I've been successfully using your script for a couple of years now (http://sea-entomologia.org/gia/map/index.html).
I'm trying to use the pre-filter feature but I find some problems.
I've got a web whose html is calling a js file in which all the stuff for the map is stored. The data and tags are stored in separare geojson and json files.
I can use
myfilter.filter(['SpeciesName']);
somehow within the js file, and it works.
Is it possible to execute such filtering from within the html instead of from the js?
I've got some 1500 species names, and it would be tough to create both html and js files for all of them.
Thanks a lot in advance.
Cheers

Hi again.
I got it working, somehow.
Since myfilter.filter([SpeciesName]); is filtering results by using tags, it's got to be inserted within the $.getJSON function and has to run after JSON in loaded.
And then, in the html, SpeciesName has to be defined.
The goal now is to provide a SpeciesName in the html upon URL parameters.
Cool.

And done, too.
a query search on urlParams works great and can be parsed to the SpeciesName var
Cheers


Add "Import Examples from Package" menu item

This change adds a new item to the Mixed Reality > Toolkit > Utilities menu to enable fast access to importing demos and examples when using the NPM packages (ex: via Mixed Reality Feature Tool).
If the examples package is not installed (or if .unitypackage files are being used), the new menu is disabled

When the examples package is present, the menu item is enabled and will display the examples package in the UPM UI

Fixes: #9798

/azp run

/azp run


(feature) add unique index to school’s urn

Before running this in development you have to update any records with duplicate entries manually or recreate the database and seed

 Add unique index to school urn


修正了用不存在的 classID 來取得分類看板的回傳結果

👏 解決掉的 issue / Resolved Issues

close #240

⛏ 變更內容 / Details of Changes

修正了使用不存在的 classID 來取得看板所回傳的結果
目前作法是在 usecase 中判斷看板數量是否為 0

Codecov Report

Merging #241 (20ad980) into development (f7c8dbc) will decrease coverage by 0.42%.
The diff coverage is 6.66%.

@@               Coverage Diff               @@
##           development     #241      +/-   ##
===============================================
- Coverage        47.88%   47.45%   -0.43%
===============================================
  Files               28       28
  Lines             1443     1456      +13
===============================================
  Hits               691      691
- Misses             655      667      +12
- Partials            97       98       +1

Impacted Files
Coverage Δ

internal/usecase/board.go
27.17% <0.00%> (-0.61%)
:arrow_down:

internal/usecase/usecase.go
100.00% <ø> (ø)

internal/delivery/http/route_classes.go
40.47% <8.33%> (-14.37%)
:arrow_down:

Continue to review full report at Codecov.

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

LGTM

LGTM


Why package com.clickhouse.client.grpc.impl isn't in master branch?

I forked repository, cloned it, opened project in IDEA and tried to launch tests from clickhouse-jdbc/src/test/java/com/clickhouse/jdbc by clicking green triangle near tests in IDEA.
The IDEA starts building and fails with error
java: package com.clickhouse.client.grpc.impl does not exist
in files, which are importing this package. For example, this package is imported in clickhouse-grpc-client/src/main/java/com/clickhouse/client/grpc/ClickHouseStreamObserver.java
There is no impl package in repository. The only mention of impl package I found on jar-download.com, but downloading source code of impl package and storing it in com/clickhouse/client/grpc led to more compilation errors.
How can I launch tests and why package com.clickhouse.client.grpc.impl isn't in master branch
P.S. I want to implement specifying multiple hosts in connection URL and connection to alive host. That is why I need to launch tests for checking, if I broke something.

Thanks @DF5HSE. Are you going to re-write ClickHouseCluster? It's planned in next release(0.3.3) but haven't started yet. Do you want to take it over? With that and basic support for most common load balancing policies like round-robin and first-alive etc., JDBC connection URL can be enhanced to support multiple URLs. In addition, you may want to check system tables so that user does not have to specify all nodes of a cluster in the URL manually.
Anyway, back to your question. Those are generated code, so we don't commit them into git. If you're using maven, issue mvn -Drelease clean compile in clickhouse-grpc-client will generate the code in target/generated-sources directory. I use VS Code for development and it works well in most of time. You may need to install gRPC plugins if you use some other IDEs.

Thank you for answer. I've tried to generate this code last hours, but haven't achieved success. Issue from your comment fails with error:
clickhouse-jdbc/clickhouse-grpc-client$ mvn -Drelease clean compile
[ERROR] Error executing Maven.
[ERROR] java.lang.IllegalStateException: Unable to load cache item
[ERROR] Caused by: Unable to load cache item
[ERROR] Caused by: Could not initialize class com.google.inject.internal.cglib.core.$MethodWrapper

I will try to something and hope tests will be able to lauch.
As for multiple hosts. I am engaged in research work at the university. Its gold is adding opportunity to connect to one of giving ClickHouse hosts in main ClickHouse interfaces. I have already implemented it in command-line client and in C++ client library.
The next place, where I wanted to add mupltiple host setting, became JDBC-driver. In JDBC-driver setting multiple hosts can work like this: user creat ClickHouseDataSource, where he set URL like jdbc:ch//host1:port1,host2:port2,hostN:portN/.... And after that user can work with DataSource as he worked before.
Last days I am researching code. I've thought, that I need to implement round-robin in ClickHouseConnectionImpl by writing cycle, where I would call client.ping(node) and choosing available one. After reading your comment I understood, that my solution isn't optimal, because there is a ClickHouseCluster class.
That is why I didn't want to re-write ClickHouseCluster. And I don't think, that I can do this correct according to my little experience in development of database management systems.
I read your comment about re-writing ClickHouseCluster and I have a question: can I use ClickHouseCluster for implementing multiple hosts in JDBC-driver? I am afraid that ClickHouseCluster interface can be changed in the future and it will be better not to use ClickHouseCluster now. And more common question: does it make sense to implement setting multiple hosts in JDBC-driver now? May be it will be better to add this functionality after re-writing ClickHouseCluster.

What will you get if you run mvn -version? I use Maven 3.8 and JDK 11 and sometimes docker images like maven:3.8-eclipse-temurin-11.

URL like jdbc:ch//host1:port1,host2:port2,hostN:portN/...

Looks good. Instead of making changes to ClickHouseConnectionImpl, you may start with a new DataSource class. Also please be aware that, as of now, jdbc:ch:// is interpreted as jdbc:clickhouse:http://, which is not always true. In next release, the driver will probe each endpoint and hopefully choose proper protocol(one of http, grpc and tcp) accordingly.

can I use ClickHouseCluster for implementing multiple hosts in JDBC-driver?

You don't have to rely on it for now. You can take the ping approach along with a new DataSource class(and maybe extended Connection class as well).

does it make sense to implement setting multiple hosts in JDBC-driver now?

I think so. But it's up to you whether to hold until ClickHouseCluster(or ClickHouseNodes) is ready.

What will you get if you run mvn -version?

Maven is 3.6 and JDK 17. I'll try to update Maven and use JDK 11, may be it will fix all errors.
The rest I will try to create a new DataSource class with mupltiple host support and create a PR when I finish.
Do I understand correctly that in case of success we will merge current ClickHouseDataSource class and mine?

Do I understand correctly that in case of success we will merge current ClickHouseDataSource class and mine?

Yes and looking forward to your PR. Please also add unit tests to prove it's working.

Ok

Close this one - we can discuss ClickHouseDataSource enhancement in #894.


Medication Heading - dev box > the information is not sent to web interface - invalid data

To check later.
showcase box:
Dose Timing is replaced with the data from Dose Amount field by POST request.
Related issue: https://github.com/RippleOSI/Ripple-Qewd/issues/70

Hi @anna-otrokhova. I'm from Thinklabs VN. On the dev I've seen the problem resolved but the source code has no update. Can you support me about this issue

@thangnguyen3si
What do you mean by  "the source code has no update."
We didn't change anything on frontend side, the issue was fixed on back end side.

@anna-otrokhova
"the issue was fixed on back end side"
Can you send me commit id? i have problem with this issue in back end side?

@robtweed
Could you help please with this question?

This appears to  ban issue with EtherCis which does not handle the AQL correctly - https://github.com/ethercis/ethercis/issues/95

I will close this issue as it was solved on all machines.


The Head LR within the DeepLabv3+

Hi,
I notice that you write the comment for the 10 times head learning rate here, but seems you do not perform that. Since training the entire network is really time-consuming, may I kindly ask that whether it is the wrong comment or not.
Cheers.

Hi, actually it is the wrong comment that comes from an old version of code :)
We will polish the code. Thank you for pointing out!


[Bug] Cannot found headers when use fetch api and set Headers object but not normal record

Describe the bug
When I use fetch api and set options:
const headers = new Headers(...)
fetch(...,{headers...})

I cannot found the request headers in devtools.
Steps to reproduce
https://github.com/DIYgod/RSSHub/pull/17308
System Info
System:
    OS: macOS 14.5
    CPU: (8) arm64 Apple M3
    Memory: 80.98 MB / 16.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 22.6.0 - ~/.nvm/versions/node/v22.6.0/bin/node
    npm: 10.8.2 - ~/.nvm/versions/node/v22.6.0/bin/npm
    pnpm: 8.4.0 - ~/Library/pnpm/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  npmPackages:
    node-network-devtools: file:/Users/bugyaluwang/Desktop/my-projects/node-network-devtools/packages/network-debugger => 1.0.19

Logs
No response

fixed


Add External and Focus implementation

Codecov Report
Attention: 13 lines in your changes are missing coverage. Please review.

Comparison is base (f02b53a) 1.40% compared to head (f889a7c) 4.59%.

Files
Patch %
Lines

Sources/OpenGraph/Attribute/Focus.swift
0.00%
6 Missing :warning:

Sources/OpenGraph/Attribute/External.swift
40.00%
3 Missing :warning:

Sources/OpenGraph/Attribute/Attribute.swift
0.00%
2 Missing :warning:

Sources/OpenGraph/Attribute/AttributeBody.swift
0.00%
2 Missing :warning:

Additional details and impacted files
@@           Coverage Diff            @@
##            main     #19      +/-   ##
========================================
+ Coverage   1.40%   4.59%   +3.18%
========================================
  Files          9      12       +3
  Lines         71      87      +16
========================================
+ Hits           1       4       +3
- Misses        70      83      +13

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


fix: helm charts improve installation validation

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Problem in run

When i try examples, some problems occur.
In bent-pipe, the problem in graph occurs.
but in generate_ecis, run successfully.
Why?

Looks like you are missing at least one configuration file. The bent_pipe example requires the following configuration files:

date-time.dat
time-step.dat
num-steps.dat
constellation.dat
*.tle
sensor.dat
tx-*
gnd-*
rx-*

If you run prep_bent_pipe_scenarios.sh in cote/examples/bent-pipe/scripts/, it will generate all the files you need - just be sure to specify the sub-directory (e.g. cote/examples/bent-pipe/configuration/planet-200-ns-20/) containing the configuration files you want (see run_bent_pipe_scenarios.sh).
There is also a helper script, cote/scripts/generate_small_step_config_files.py, that generates custom num-steps.dat and time-step.dat files given a custom TLE file.

ok, thanks.
After running, I still have some confused problems about how to understand the meaning of log file and the analysis of running result, some reference documents？

Reference documents are admittedly lacking right now - I can give a summary of the log files for the bent pipe example:

trigger-time: indicates times at which satellites collect a new image; in this example, all satellites collect a new image at the same moment (different in other examples)
downlink-Mbps: logs the bit rate of each downlink channel at that time step; in this example, these logs must be cross-referenced with the downlink-tx-rx log (admittedly inconvenient)
downlink-tx-rx: logs each downlink channel as [sat transmitter id]-[gnd receiver id]
MB-buffered: logs collected data buffered on each satellite ready for download; data transmitted through a downlink channel reduces this number, and data collected at a trigger time increases this number

Closing since this seems to be resolved


Open Time Bug

I was trying to run the notebooks (after downgrading the Pandas to 1.5.3, since the new release to 2.0.0 removed the pd.TimeDelta().delta, which was prevented from downloading the files.) And I found that all the first rows were NaN. This was messing with the data and the indicators. Then reading through the data I realized that my data is starting at 10:30 AM and the code started reading the rows at 9:30. So I hardcoded the 10:30 in my local env. I don't know if that is related to summer time that we just entered or which other cause.
To Reproduce
Steps to reproduce the behavior:

Go to 'Tutorial'
Downgrade pandas to 1.5.3 ( !pip install pandas==1.5.3)
Run all the cells until Part 2 Train Agent.
See the error

Expected behavior
Should Train with proper data.
Screenshots
With the time set to 09:30

With the time set to 10:30

Image of the data:

PS. I managed to work on my environment, this is to inform the developers and who might come across the same error.

@AlexandreColauto Thanks for your sharing! Appreciate it.

Did setting the day + " 10:30:00" fix it entirely for you or does it then omit an hour of data ? I've been having similar issues and thought it was related to summertime

Actually this is not fixed. It's just a temporary patch that will work as long as we are in Daylight saving time.
There is an error of logic in /finrl/meta/data_processors/processor_alpaca.py
Line 40 the data is requested from Alpaca between 9:30 and 15:59 NY time zone
The response from Alpaca comes back with timestamps in UTC.
On line 52 the data is filtered between 14:30 and 20:59 UTC.
Then on line 61 it is converted to NY time but in the process an hour of data is lost which explains the empty lines.
The problem is - during daylight saving time (like now) the difference between UTC and NY is 4 hours but otherwise it's 5 hours.
To solve the problem you need to request the data in NY time zone, receive it in UTC (no choice there), convert it from UTC to NY time, and only after that apply the filtering between 9:30 and 15:59 and no data is lost.
I will send a PR with a fix.

After PR #1007 this issue can be closed.


Make SA1117 work with multiline arguments

Fix #3106

@sharwell @vweijsters We at Lombiq would sponsor the review and integration of this fix if you're open to it.

@pantosha I am planning to experiment and see if I can clean up some of this slightly. Do you mind if I just update the pull request with the result by pushing extra commits to your branch?

@sharwell feel free to modify my PR.

@pantosha no action is needed from you at this time; just giving you a heads-up regarding the changes being made


Mix two reducer in index.js redux

Hi, i have problem with redux and read documentation but since now i couldn't understand what should  i do in my case.
i had an action and reducer for auth and i want add another action and reducer to doing and store smth else.
but i had this error:
Uncaught Error: The slice reducer for key "auth" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.
but in auth i hadn't function to return "undefine"

The issue tracker here on GitHub is reserved for bug reports and feature requests. For usage questions (which is what I believe this is), please use Stack Overflow or Reactiflux where there are a lot more people ready to help you out.
That said, the real issue here is that you haven't provided an initial value for state in the auth reducer.  So, yes, it is undefined by default.
Also: the style of Redux code you're writing there is very outdated.  Please switch to using our official Redux Toolkit package, which is much simpler and easier to use:
https://redux.js.org/tutorials/index


pdfDoc.setAuthor

Currently
---
info: 'Some text'
---

results in
pdfDoc.setSubject('Some text').
It would be lovely if a frontmatter author field were passed to pdfDoc.setAuthor().

Does this seem to be a reasonable enhancement? It's not high-priority but would be nice.

I think adding author and subject indeed makes sense. PR welcome :)

https://github.com/slidevjs/slidev/pull/1069
https://github.com/slidevjs/docs/pull/132


[EngSys] automatic rush update --full

This is an automatic PR generated weekly with changes from running the command rush update --full

Prettier changes were to preserve parens in cases where TS 5.5 has stricter parsing. Seems like a good change, but we may need to reformat more packages https://github.com/prettier/prettier/blob/main/CHANGELOG.md#333

API change check
API changes are not detected in this pull request.

Prettier changes were to preserve parens in cases where TS 5.5 has stricter parsing. Seems like a good change, but we may need to reformat more packages https://github.com/prettier/prettier/blob/main/CHANGELOG.md#333

Sounds good. I will work on upgrading prettier and reformat in a separate change.


FR: sendPhoneNumberVerification(String phoneNumber)

One method I have need is sending the validation sms code to authenticate via phone number, on the server side. With this I pass validations before the user logs into the application, for example in enterprise applications I need to validate the information in another database before releasing the access.  This sounds similar to #46 (Except with phone numbers, instead of email). Do you have any ideas for that, @bojeil-google?

Hey @douglaszaltron, our phone auth system depends on app verification before sending the SMS code. We need to verify the app identity (reCAPTCHA, APNs push notifications, etc) before sending the SMS code for security reasons. This is why, unlike the email verification case (which we can support), we don't offer this option in the Admin SDK.
For now and if this is a blocker to your application, you can use a third party API for sending SMS messages from your server if you want to do your own validation. You can then use the Admin SDK to updateUser and set the phone number if you need to.
You are welcome to file a feature request for this via official channels.


cluster: make sure we don't miss the first pushPull

During the join, memberlist initiates a pushPull to get initial data.
Unfortunately, at this point the nflog and silence listener have not
been registered yet, so the first data arrives only after one pushPull
cycle (1min by default !).

LGTM

Closes https://github.com/prometheus/alertmanager/issues/1457

@iksaif Thanks for your help!


docs: Replaced "MagickMock" with "MagicMock".

There seemed to be a small typo in the "testing with django" documentations where the class "MagicMock" was accidentally spelled as "MagickMock".

Nice, merged, thanks @Hypro999!  One small note: We use the action tense in commit messages, so you should write "docs: Replace ...", not "docs: Replaced ..."; I made that change in this commit for you before merging.

Got it, thanks!