it's not possible to set some of the constraints

I encountered an issue with certain Samsung devices (e.g. S22) where the camera fails to focus properly, resulting in blurry QR codes that cannot be scanned. Upon researching potential solutions on the internet, it appears that setting the auto-focus constraint focusMode: continuous may resolve the issue. Here's an example of how I try to use the constraints:
constraints={{
  facingMode: 'environment',
  focusMode: 'continuous',
}}

However, when attempting to set the focusMode property, I encountered the following error:
Type '{ facingMode: string; focusMode: string; }' is not assignable to type 'MediaTrackConstraints'.
  Object literal may only specify known properties, and 'focusMode' does not exist in type 'MediaTrackConstraints'.

Upon inspecting the library source code, I observed that the constraints prop is passed to the Finder component and utilized in the useMediaDevices hook, as seen here: useMediaDevices.ts.
Additionally, I noticed that there is an open issue (#22) on the repository regarding similar zoom constraint problem.
It seems logical to me that it should be possible to pass constraints such as focusMode or zoom to window.navigator.mediaDevices, especially when browser console output from navigator.mediaDevices.getSupportedConstraints() clearly states that those constraints do exist in the browser API.
Sources:
https://developer.mozilla.org/en-US/docs/Web/API/MediaTrackConstraints#focusmode
https://forum.developer.samsung.com/t/camera-auto-focus-and-zoom-camera-not-working-in-the-web-application/27908/1
https://github.com/mebjas/html5-qrcode/issues/308
Besides that, it is a great library and works flawlessly on apple devices without any problems.
Kindly requesting @yudielcurbelo for any assistance or suggestions on how to address these issues.

I'm facing the same issue with focusMode apparently not being a property anymore. However the Scanner works flawlessly on Android phones for me (default config), and not at all on iPhones. Since you said that it works flawlessly on Apple devices, would you mind sharing your config? 😅


Cloud Resource Manager API, and regenerate other APIs

The smoke tests for this are currently failing, so I won't merge until that's sorted.


Added rebeccamcfadden to Kubeflow org

This change is

Hi @rebeccamcfadden is this PR to replace the previous userid rem20806 with your current id?

Okay, saw your message about renaming on the other PR...

/lgtm
/approve


Update identity-provider-azure-ad-multi-tenant-custom.md

@HarshitaSingh-MSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Port to NetBSD

The compiler is capable of compiling itself (after being cross-compiled from Alpine Linux). Also, hello world works. (:
NetBSD's default pthread stack size (4000K) isn't high enough for crystal to build itself. I found increasing it with ulimit -s 6000 to be helpful.
Worked on with @RX14.

Does it work if you clone the repository, place the cross compiled binary as .build/crystal and run make / use bin/crystal?

@jhass Thanks for the hint! Yeah, it works that way. The only caveat is that LIBRARY_PATH needs to be set...
$ LD_LIBRARY_PATH=/usr/lib:/usr/pkg/lib LIBRARY_PATH=/usr/lib:/usr/pkg/lib gmake
This is the magic command.
So, it can compile itself, and hello world. I'll remove the WIP. :)

It would be really good to force it to use pkg-config for this?

I was under the impression we're doing that, maybe it fails to find it?

There's https://github.com/crystal-lang/crystal/pull/8972 which will help a lot
There's a lot of libraries which we don't end up using pkg-config for, because the soname is different to the pkg-config name. That PR will allow us to specify both, and use pkg-config universally.

@niacat could you try running make std_spec?

@RX14 after these three commits it seems to get pretty far but fails with:
Invalid memory access (signal 11) at address 0x8
[0xfa73b6] *Exception::CallStack::print_backtrace:Int32 +118
[0x99018e] __crystal_sigfault_handler +286
[0x192a59e] sigfault_handler +40
[0x7bfdf5ea1d20] _opendir +10
[0x10000000b] ???
gmake: *** [Makefile:86: std_spec] Error 11

not much information here, and i'm having difficulty working out where the problem is, or why opendir would cause invalid memory access (should DIR not be transparent?)

OK, the segfault in the test suite is resolved.

I suspect this is ready. The remaining failures in the test suite are my system not being configured to do IPv6, e.g. ':::63833': Network is unreachable (Socket::ConnectError)

ping?

Until 0.35.1 is out, only regression fixes are being merged

Since 0.35.1 is out now, I'd really like a review, since @niacat and I did put a lot of work into this.

Someone else?


use require.resolve shim instead of hard-coded paths

the existing hard-coded paths fail when the project is installed/ran via a source/git dependency, instead of npx, because jco's own dependencies are installed in parent node_modules directories.
This change reuses NodeJS's own resolution mechanism to find the correct paths directly, without having to hardcode them, which should work everywhere.

NOTE: there are two tests failing, because (I suspect) they are using a custom directory layout that doesn't follow node_modules/*. I wasn't able yet to figure out how they are set up, and I want to make sure this is the right change first.
Please let me know if you have any suggestions.

cc @ guybedford

@guybedford fixed now (details). please let me know if you have any other suggestions.

Thanks for this!


Icon on card details screen when opted to suppress

Hello,
I am using the plugin in an ionic (v1) application. I have had a report from a user that they were concerned when inputting their card details as we mention payment processing via stripe and then display a paypal logo. This surprised me as I have the option 'useCardIOLogo' set to true which hides it in the scan, but apparently not on the 'card details' view when more info is required.
This is potentially deterring customers, as it looks a little sketchy!
Here is my config:
CardIO.scan({
          "requireExpiry": true,
          "requireCVV": true,
          "requirePostalCode": true,
          "restrictPostalCodeToNumericOnly": false,
          "suppressManual": true,
          "keepApplicationTheme": true,
          "scanExpiry": true,
          "guideColor": "#FFFFFF",
          "useCardIOLogo": true,
          "requireCardholderName": true
        }, onCardIOComplete, onCardIOCancel);

As I say, the CardIO logo is shown when scanning, it is the card detail view which is displaying the paypal logo erroneously.

Same with Ionic v3

+1 Same here


√Letter [PCSB01019]

App summary

App name: √Letter
App serial: PCSB01019
App version: 1.00

Vita3K summary

Version: v0.1.8
Build number: 3160
Commit hash: https://github.com/vita3k/vita3k/commit/1c009661
CPU backend: Dynarmic
GPU backend: OpenGL

Test environment summary

Tested by: Myself
OS: Windows 10 Build 19045
CPU: Intel Core i7-6700HQ
GPU: NVIDIA 960M
RAM: 16 GB

Issues
Game work full speed in intro and menu, then a freeze/black screen appears when entering in game.
Screenshots

Log
vita3k.log
Recommended labels

Menu

as of https://github.com/Vita3K/Vita3K/commit/8d345f002187fb9e619fc386bd7a73ea64a393dc, the game status is mostly the same. however after going this screenshot, it spammed dynamic errors and then a asseretion error.
Screenshot

Log
vita3k.log
Recommended Labels

Menu
dynamic error

jj

as of Vita3K/Vita3K@8d345f0, the game status is mostly the same. however after going this screenshot, it spammed dynamic errors and then a asseretion error.

It goes through this screen in the last release of 3KVita, it works as supposed @nishinji


Doesn't work for me.

Get an exception (Postman doesn't show details)
Why url is like PATCH : https://{accountName}.visualstudio.com/_apis.. ?
and not like https://dev.azure.com/{organization}/{project}/_apis.. as for regular Update?
Regular Update works fine for me.

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

ID: 3e9fddf2-8d43-0671-7e5e-559f1392dfeb
Version Independent ID: 8c65025a-a737-5597-adb0-3b421e48da1a
Content: | Microsoft Docs
Content Source: docs-ref-conceptual/5.0/wit/WorkItemBatchUpdate.md
Product: devops
Technology: devops-ref
GitHub Login: @wnjenkin
Microsoft Alias: whjenkin

@alex1yaremchuk - Are you putting the {projectName} in the URL? I was doing this and getting a 404 Not Found error. The project name should NOT be in the URL which is a bit different than how the URL is for a single Create and Update work item request.


[Feat] Expose the whole Node object to to renderFn instances

The purpose of this PR is to provide an initial solution to the issue reported on #129
If we let users get the whole Node object inside schema resolver functions, they will be able to use that data (map pieces of content to specific props, use as conditional logic, etc.).

FYI @edvinasjurele This is a simple PoC that should at least provide the very basic functionality needed to handle any custom case. No frills 😅
WDYT?
If that's fine I can add some lines to the README file. Maybe should we get rid of the existing Codeblock so that we can showcase the native Astro Code component as the main use case for this update?
Thank you in advance! 🙏

Hi, @Edo-San, thanks, for looking into the code.

Hi, made solution on my MR https://github.com/NordSecurity/storyblok-rich-text-astro-renderer/pull/168. I hope that one will be a good candidate to merge. Wanted to try the descturcture ({ attrs }) possibility and not (node) + node.attrs, thus made TS a little differently.

Closing due to https://github.com/NordSecurity/storyblok-rich-text-astro-renderer/pull/168


Fix Policy serialisation to TOML/JSON

I found that current (de)serialisers for BigInt fields in the Policy struct are not String friendly.
thread 'cli::config_cmd::tests::given_default_configuration_should_print_valid_toml' panicked at 'Invalid configuration!: Error { inner: ErrorInner { kind: Custom, line: Some(206), col: 0, at: Some(5985), message: "invalid type: sequence, expected a byte array", key: ["chain", "policy", "minimum_verified_allocation_size"] } }', forest/cli/src/cli/config_cmd.rs:44:14

In other words, the serialisation-deserialisation round-trip fails for them (I tested on both toml and json). If we want to re-use the Policy struct from builtin-actors, we should introduce an alternative serialiser which we use in Forest or something that can be serialized to a human-readable file.

There's a regression on the latest main. The same error happen again. See https://github.com/ChainSafe/forest/actions/runs/4463848459/jobs/7839453712?pr=2685#step:7:1561


Compose Recomposition causing an Error

How to reproduce
I'm Using vico 1.13.1 Version and also used Compose as my view style implementation
So I was following to use custom axes from the docs, so here is my code somewhat look like. (Is there anything wrong with my code? )
// Graph Data
val context = LocalContext.current
val data = listOf("2022-07-01" to 2f, "2022-07-02" to 6f, "2022-07-04" to 4f).associate { (dateString, yValue) ->
    LocalDate.parse(dateString) to yValue
}
val xValuesToDates = data.keys.associateBy { it.toEpochDay().toFloat() }
val chartEntryModel = entryModelOf(xValuesToDates.keys.zip(data.values, ::entryOf))
val dateTimeFormatter: DateTimeFormatter = DateTimeFormatter.ofPattern("d MMM")
val horizontalAxisValueFormatter = AxisValueFormatter<AxisPosition.Horizontal.Bottom> { value, _ ->
    (xValuesToDates[value] ?: LocalDate.ofEpochDay(value.toLong())).format(dateTimeFormatter)
}

// Chart (Placed inside some composable element)
Chart(
    chart = lineChart(context),
    model = chartEntryModel,
    startAxis = rememberStartAxis(),
    bottomAxis = rememberBottomAxis()
)

It does fine at first, untill I add some of things sort like textfield, dropdowns, etc that trigger compose recomposition. Like this for the example
val textState = remember { mutableStateOf("") }
OutlinedTextField(value = textState.value, onValueChange = {textState.value = it})

Whenever I typed in the textfield / trigger recomposition the error cames and crashes the application (This is some of the error code)
FATAL EXCEPTION: main
Process: -, PID: 785
java.lang.IllegalArgumentException: Cannot round NaN value.
 at kotlin.math.MathKt__MathJVMKt.roundToInt(MathJVM.kt:1165)
 at com.patrykandpatrick.vico.core.axis.horizontal.DefaultHorizontalAxisItemPlacer.getLabelValues(DefaultHorizontalAxisItemPlacer.kt:134)
 at com.patrykandpatrick.vico.core.axis.horizontal.HorizontalAxis.drawBehindChart(HorizontalAxis.kt:111)
 at com.patrykandpatrick.vico.core.axis.AxisManager.drawBehindChart(AxisManager.kt:207)
 at com.patrykandpatrick.vico.compose.chart.ChartsKt$ChartImpl$4.invoke(Charts.kt:379)
 at com.patrykandpatrick.vico.compose.chart.ChartsKt$ChartImpl$4.invoke(Charts.kt:307)
 at androidx.compose.ui.draw.DrawBackgroundModifier.draw(DrawModifier.kt:116)
 at androidx.compose.ui.node.LayoutNodeDrawScope.drawDirect-x_KDEd0$ui_release(LayoutNodeDrawScope.kt:105)
 at androidx.compose.ui.node.LayoutNodeDrawScope.draw-x_KDEd0$ui_release(LayoutNodeDrawScope.kt:86)
 at androidx.compose.ui.node.NodeCoordinator.drawContainedDrawModifiers(NodeCoordinator.kt:365)
 at androidx.compose.ui.node.NodeCoordinator.draw(NodeCoordinator.kt:354)
 at androidx.compose.ui.node.LayoutModifierNodeCoordinator.performDraw(LayoutModifierNodeCoordinator.kt:182)
 at androidx.compose.ui.node.NodeCoordinator.drawContainedDrawModifiers(NodeCoordinator.kt:362)

Observed behavior
So here is what I've tried so far

Changing the model using a simple model (Doesn't works)
val chartEntryModel = entryModelOf(4f, 12f, 8f, 16f)

Trying to remove my element that trigger recomposition (works)
I removed some of my dropdowns and textfield

Changing chart type into columnChart() (Works)
Idk why lineChart() does require context as argument but columnChart() doesn't?

Chart(
    chart = columnChart(),
    model = chartEntryModel,
    startAxis = rememberStartAxis(),
    bottomAxis = rememberBottomAxis()
)

So that's why I came into the conclusion

There is something wrong in my code, because I implement it in the wrong way or
Compose Recomposition. Because the second and third approach leads into a recomposition (The second one I removed the element who trigger the recomposition and the third one which columnChart() doesn't need context as their argument)

Expected behavior
Thanks in Advance ✨
Vico version(s)
Latest stable version
Android version(s)
11
Additional information
No response

Hello! It looks like you’re using the wrong lineChart function. The version with a context parameter comes from the views module and shouldn’t be used with Jetpack Compose. Please import and use the composable lineChart function instead.
As such, even though you’re using the wrong function, a crash likely shouldn’t occur here. We’ll look into it. Regardless, switching to the composable function is recommended and should resolve the problem. I’d also like to mention that there’s no longer such a naming clash in Vico 2.

Ah yea I imported the wrong lineChart function. Thanks, it works now. I'll mark it as resolved 👍

I’m glad that helped. You’re welcome!


Skip compile of specific file (IDFGH-1142)

I working on the last IDF release.
I have a component with source file that I want to skip on build and I didn't find any document for this option in IDF.
I cannot remove this file because it's belong to a subrepository.
Thank you for your help,
Sagi

https://docs.espressif.com/projects/esp-idf/en/latest/api-guides/build-system.html#specifying-source-files

@negativekelvin Thanks for the notes. @Sagigamil Has your issue been fixed? Thanks.

@Sagigamil If you're using a third-party CMake subrepository, maybe you can refer to the mbedtls component in IDF to control the source file to build.

We will close this issue since it's not a bug in esp-idf. If you have other question about how to use ESP-IDF, please read the programming guide or raise your question in our forum.


[python] Fix submit and run error

because we add permission, so it failed out
createQueue method. this patch fix it and
do some refactor of our tenant and queue
validator code
close: #10794

I find out I forget add tests on it, will add it right now

edc1ff8

Add in edc1ff8

Codecov Report

Merging #10792 (edc1ff8) into dev (d2fe16d) will increase coverage by 0.02%.
The diff coverage is 56.96%.

@@             Coverage Diff              @@
##                dev   #10792      +/-   ##
============================================
+ Coverage     40.61%   40.63%   +0.02%
- Complexity     4817     4818       +1
============================================
  Files           902      902
  Lines         36221    36224       +3
  Branches       3999     3991       -8
============================================
+ Hits          14711    14721      +10
+ Misses        20045    20039       -6
+ Partials       1465     1464       -1

Impacted Files
Coverage Δ

...che/dolphinscheduler/api/python/PythonGateway.java
21.24% <0.00%> (+1.81%)
:arrow_up:

...nscheduler/api/service/impl/TenantServiceImpl.java
65.97% <47.36%> (-2.63%)
:arrow_down:

...inscheduler/api/service/impl/QueueServiceImpl.java
63.15% <65.62%> (-0.64%)
:arrow_down:

...hinscheduler/api/service/impl/BaseServiceImpl.java
87.50% <71.42%> (-2.30%)
:arrow_down:

.../org/apache/dolphinscheduler/api/enums/Status.java
100.00% <100.00%> (ø)

...org/apache/dolphinscheduler/remote/utils/Host.java
43.47% <0.00%> (-2.18%)
:arrow_down:

...dolphinscheduler/remote/future/ResponseFuture.java
81.96% <0.00%> (-1.64%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.38% <0.00%> (-1.39%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.60% <0.00%> (-0.30%)
:arrow_down:

... and 7 more

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 d2fe16d...edc1ff8. Read the comment docs.

I add new commit f4fc406 to fix this https://github.com/apache/dolphinscheduler/pull/10792#discussion_r913834932

Maybe we should re-design the permission in pydolphinscheduler after we add role in our codebase

I suggest python API is always created or updated in Admin role currently, and all our validate expect permission should including in valid function, which will call in both createTenant(use in web ui and open api) and createTenantIfNotExists(use in python api) to keep the same logic

Finally, the CI pass

Thanks all


Autocompletion for init_subclass (PEP 487)

I have seen in microsoft/pyright#1020 that PEP487 is supported. This also works for me, so that the types are recognized correctly and also if parameters are missing this is recognized. But what I still miss is that missing parameters are not suggested by the autocompletion. Is it possible to add this function?
With the following example, I would expect that the autocompletion suggests bar=:
class Foo:
    def __init_subclass__(cls, *, bar: str) -> None:
        super().__init_subclass__()
        # Do something with bar

class Bar(Foo, b<---Hit Ctrl+Space here

@judej, you may want to move this to a discussion topic to see if there is interest from other pylance users. I don't think it needs any investigation.

Moving this issue to discussion as an enhancement request for comments and upvotes.


Bump version to 3.0.0

A new version of the package @metamask/etherscan-link (3.0.0) was published at 2023-11-17T16:57:19.105Z from [REDACTED].
The shasum of this package is 264610dff793c1d1da30814a48612d69d5f59d02.


Visualize the policy

Add a link to see the visual policy.
If this makes sense, we can add it to all examples in the tutorial.

Incredible reference @reuvenharrison  :)

Nice recommendation. But I don't find it useful enough just yet.
Would be good if:

this read from URL (so we don't have to duplicate the manifest)
can it be accessed from externally (if exposed through LB Service, or Ingress)
can it be accessed from services with labels (not just pods)

maybe this url wasn't a great example of capabilities. If there's a better one let me know.

Closing based on Ahmet's last comments. Please re-open if you have a better way to integrate this


Progress bar while sampling

Is it possible to display a progress bar while sampling, to show what fraction of the total steps have been taken as a function of time? e.g. pymc has a nice routine for doing this.

Hi!
Please, see PR #62 concerning progress bar addition and emcee author's  https://github.com/dfm/emcee/issues/133#issuecomment-57087428 concerning difference between emcee and pymc.

Thanks for the reply, Ilya. If I understand correctly then, it should be possible to wrap a progress bar routine around a run_mcmc() call? i.e. without having to incorporate a progress bar into the emcee code itself... If anyone has a snippet of code for doing this, I'd appreciate seeing it, as I couldn't work it out and didn't see it in the docs.

You can follow a pattern like this. For the simplest progress bar, this would look something like:
nsteps = 5000
for i, (pos, lnp, state) in enumerate(sampler.sample(p0, iterations=nsteps)):
    if (i+1) % 100 == 0:
        print("{0:.1f}%".format(float(i) / nsteps))

In practice you could use something like the progressbar module but it will look very much like this example.
I'd be happy to add an example to the docs if someone submitted it ;-)

I've used clint for this in the past.  I'll hack together an example.

Hi, Will!
Could you please add Dan's example implementing progress bar without third party packages (https://github.com/dfm/emcee/issues/163#issuecomment-135460483) to your PR?

Sure thing.  I've replaced the clint example with Dan's example and another to illustrate how to make an actual progress bar.

Thank you all - I've finally gotten around to implementing it myself, following your suggestions.

Hi ! I tried looking around for a solution to my problem but didn't find any:
I implemented a progress bar to the Fitting a Model to Data example. But it appears to add an nsteps  MCMC, and then launch a second one right behind with the N steps argument from run_mcmc.
Here's a example of such a chain, with nsteps = 300, and N=500

with this piece of code:
ndim, nwalkers = 3, 100
pos = [result["x"] + 1e-4*np.random.randn(ndim) for i in range(nwalkers)]
sampler = emcee.EnsembleSampler(nwalkers, ndim, lnprob, args=(x, y, yerr))

nsteps, width= 300, 30
for i, result in enumerate(sampler.sample(pos, iterations=nsteps)):
    n = int((width+1) * float(i) / nsteps)
    sys.stdout.write("\r[{0}{1}]".format('#' * n, ' ' * (width - n)))
sys.stdout.write("\n")

sampler.run_mcmc(pos, 500, rstate0=np.random.get_state())

I do not understand how this is explainable, and I'm sure this is silly.
Any idea what I did wrong ?


Clear session should remove tonhub session

Closing - not implementing this shouldn't have significant effect (also belongs in ton-connection repo and not here)


Delayed Digital Data

Hello,
We have implemented this code to successfully decode messages from the SICAM A8000.
We are experiencing a delay of approximately 40s for the digital data (TI30) to be received in the broker.
We had this problem too for analogue data (TI36) but found that changing the Measured value cycle in the protocol config removed the delay to the time specified however the delay for the digital data persisted.
Any guidance provided on this topic would be greatly appreciated.
Kind regards
Katie

Hi RKatie,
the A8000 does not use this project for its OPC UA PubSub implementation. Therefore you should address your issue at the SICAM product support.
kind regards,
Thomas


QNAP Container Station: KILL App

For a few minutes on qnap the Jdownloader2 docker no longer starts.

After reinstall container and docker problem is solved!


clgen: Make it work on other people's machines

Closes #12
CC @Enselic: Does this work for you?

Looks like it should work, thanks! I suggest you just merge this, and then I'll try it next time it happens to be me that runs it. If it doesn't work then, I can make the final tweaks.

I decided to not be lazy and actually try running it. And it seems to work. Thanks.


add a way to start from any path ID

otherwise users will have to re-trace their steps in the tree every single time!
This presents an issue though: when starting from any path ID, should they still allocate stats and such?

For debug purposes this can help out.
But isn't the purpose of the game to end up in a different path every time. Giving a new player the option to start where they want kind of reduces the experience.
Probably a savepoint could work. A player can find or create a savepoint, he then can decide if he wants to restart from the beginning or a savepoint. Would limit this to the session. So you can only create and reload savepoints when you have at least been there once.

I'll definitely work on a save system, that's a good idea. if the branches ever get so long, it might not be possible to traverse all the way down a branch in one go, so a user might want to come back to it later.
As for the starting anywhere the user wants: I think this game should be about exploring, and if you need to start from the beginning every time, it might be really annoying to the user to have to experience the same paths over and over. Also, what if somebody makes a really interesting story way out at path ID 9999 or something... nobody will want to click through a hundred buttons just to see that users story.

feature is now part of master. but as of 11/28 is not part of the live website. I'll add some more features and make a new release sometime this weekend.
This feature works by:

adding a new button where users can specify a specific path ID
adding a special case path viewer stage. (previously stage 0 was "What is your name?", now it is "Which path would you like to start at?")
adding logic to download both the users requested path, AND the path before it.

I messed up with the merge, so if you see some weird commits with something about revert feature/start-any-path I apologize.


[SMALLFIX]Change the AllocatorFactory.java using "static"

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3554/
Test FAILed.

@apc999 Duplicate https://github.com/Alluxio/alluxio/pull/9075


[BUG] | Furnace not wokring

What is the version of the plugin you''re using?
1.18.1
What is your Spigot version?
latest paper
Please describe the bug.
Furncace doesnt open when using /furnace
Please list your plugins.
d
Anything else to add?
d

Please provide any error logs that may be thrown in console.  I was unable to confirm this on my end.

there is no errors that come up i go into the serevr and it just asays i issues command /furnace and but it doesnt appear on screen

Please make sure you have the latest version of the plugin (version 1.7.1), I tested with Paper 215 and haven't experiences this issue. It might also be worth testing the other furnace commands such as /smoker and /blastfurnace, if those work you likely have a plugin conflict.
Additionally, make sure you have furnaces enabled in the 'settings.yml' and a plugin doesn't override the command /furnace command.

Marking as resolved and closing; if you are still experiencing this issue please provide more information (such as if other furnace commands work appropriately) and if possible a list of your plugins.


feat: added focus-visible to newer buttons and similar

Overview

Used :focus-visible instead of :focus in what feels like the remainder of relevant buttons that should have it.

That's:

The new buttons (amusing that they're getting it after the old SCSS ones)
Accordion buttons
Alert buttons
Banner buttons

PR Checklist

[x] Related to designs: https://www.figma.com/file/N6TfoPI5OA7GanX6Zl8nWj/Buttons-✅?node-id=268%3A0
[x] Related to JIRA ticket: WEB-1152
[x] I have run this code to verify it works
[x] This PR includes unit tests for the code change

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.2.4-alpha.15acc1.0@codecademy/gamut-labs@7.5.1-alpha.15acc1.0@codecademy/gamut@19.5.0-alpha.15acc1.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fd8d12d8856cb011bdedea3--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.2-alpha.b6b5ff.0@codecademy/gamut-labs@7.5.3-alpha.b6b5ff.0@codecademy/gamut@19.6.0-alpha.b6b5ff.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fda23bf9ea9461383b8fa68--gamut-preview.netlify.appDeploy Logs

📬Published Alpha Packages:@codecademy/gamut-illustrations@0.3.3-alpha.03a46a.0@codecademy/gamut-labs@7.5.4-alpha.03a46a.0@codecademy/gamut@19.7.0-alpha.03a46a.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://5fda27149d147c0159212d2c--gamut-preview.netlify.appDeploy Logs


Use node14

Could you touch a file in the vue-components repo for this PR? Because currently half the CI is not running, and it would probably be really useful to see them running and succeeding with Node.js v14 :)

Could you touch a file in the vue-components repo for this PR? Because currently, half the CI is not running, and it would probably be useful to see them running and succeeding with Node.js v14 :)

git didn't let me push that file so I made a change to README file, did it fix it?

Could you touch a file in the vue-components repo for this PR? Because currently, half the CI is not running, and it would probably be useful to see them running and succeeding with Node.js v14 :)

git didn't let me push that file so I made a change to README file, did it fix it?

It should have, but it seems the deploy step didn't work, probably related to #439? Even though the check added there looks correct.

#444 hopefully fixes CI.

Rebased onto #444, let’s see what CI looks like now.

It passes now.

Could this cause any issues when using Wikit in Wikimedia? E.g. is it possible that we start using node14-only constructs in Wikit, and then building downstream projects (like Data Bridge) one Node 12 wouldn’t work when they use Wikit?

Could this cause any issues when using Wikit in Wikimedia? E.g. is it possible that we start using node14-only constructs in Wikit, and then building downstream projects (like Data Bridge) one Node 12 wouldn’t work when they use Wikit?

I can't give you a good answer on that TBH but wikit directly won't be used in production and where it's used on projects, it will be an npm dependency so tests would fail there. And node version is much looser dependency than for example ES version.
The docker-compose file here is only for development and building a dev server to storybooks and such, nothing to core of wikit.

Could this cause any issues when using Wikit in Wikimedia? E.g. is it possible that we start using node14-only constructs in Wikit, and then building downstream projects (like Data Bridge) one Node 12 wouldn’t work when they use Wikit?

I don't see how. Wikit is not a node application. When we make a release, we compile the components into es5 and that es5 code is what we install with npm, e.g. in Query Builder.
But if I'm missing something or maybe talking complete rubbish, @tzhelyazkova would know and be able to correct me. :)

Could this cause any issues when using Wikit in Wikimedia? E.g. is it possible that we start using node14-only constructs in Wikit, and then building downstream projects (like Data Bridge) one Node 12 wouldn’t work when they use Wikit?

I don't see how. Wikit is not a node application. When we make a release, we compile the components into es5 and that es5 code is what we install with npm, e.g. in Query Builder.
But if I'm missing something or maybe talking complete rubbish, @tzhelyazkova would know and be able to correct me. :)

I think that's about right. Node is needed for the build and development tools, it doesn't affect the content of WiKit's vue-components and tokens packages.

I removed the note from the docker-compose


chore(Data/Num): migrate from bit0/bit1

I'm adopting (resolve conflicts).

@rwst Please unassign whenever

you stop working on this PR
or it is ready for review.

Usually we use "Assigned To" for "assigned to a reviewer/maintainer for review", not for "assigned to someone to fix".

Right. To fix this properly, according to https://leanprover.zulipchat.com/#narrow/stream/287929-mathlib4/topic/Deprecated.20since.202022/near/444791465, bit0 n should be replaced with 2*n, and bit1 n with 2*n + 1.

Nope. That's over my head. Sorry. Will be more careful when adopting.

See #14745 for an independent attempt.

I'm closing this PR in favor of @jcommelin 's.


MM-24932 Bold LHS active channel manually marked as unread

Summary
Added a check to determine if the channel was manually set as unread so it can stay bolded in the LHS regardless of if it's active or not.
Ticket Link
https://mattermost.atlassian.net/browse/MM-24932
Screenshots

Successfully building:
https://circleci.com/gh/mattermost/mattermost-mobile/6192
https://circleci.com/gh/mattermost/mattermost-mobile/6191

Artifact links:
https://6192-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.ipa
https://6191-70265724-gh.circle-artifacts.com/0/~/mattermost-mobile/Mattermost_Beta.apk

@enahum
Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Fetching origin
+++ Updating remotes done...
!!! 'upstream/release-1.33' not found. The second argument should be something like upstream/release-0.21.
    (In particular, it needs to be a valid, existing remote branch that I can 'git checkout'.)

/cherry-pick release-1.33


upon test failure having hierarchy & screenshot in html log file would be of great help

While using Maestro to develop test cases or to debug failed ones, it would be very nice if we can have some artifacts that help to track out what has been wrong causing the test to fail.
It would be of great help to have some sort of report or log file including the following :

file layout would be something as the console output referring to the failed test step
dumping the screen hierarchy XML.
A screenshot of the device under test at the time of failure.
Stacktrace or more detailed error messages

This would help identify the reason for failure, if it is a bug or a test script, to update easily and improve the development speed of test scripts.
I was trying to use Maestro as a POC and I ended up with the following screenshot of my console :

As it is described, the test was failing the first time with the text on the screen of the device I have in my hand, yet I could not debug the reason for the failure.
In the second run, I used the whole element text ( not the partial text as the first time ), and yet it failed with no way to know the exact reason for failure ( text was displayed on the screen clearly before failure )
In the third run, I used a different text of a different element, and yet it failed with no way to identify what was the reason for the failure.
This will also help in unattended runs to be able to identify the failed cases easily.

This is really good feedback @M-heiba and improved debuggability is definitely on the radar. Stay tuned!

Any news on this?

Any updates on this?
This would really help in debugging test case failures..

Hi everyone! @ArthurSav is working on better debug output here so stay tuned for this: https://github.com/mobile-dev-inc/maestro/pull/988

This is available in latest release of maestro: https://maestro.mobile.dev/troubleshooting/debug-output


HTTP OPTIONS response with metadata

http://zacstewart.com/2012/04/14/http-options-method.html and several others have lamented that HTTP OPTIONS is rarely used effectively.  It is mostly used for CORS preflight requests, and the Rust frameworks usually have a plugin which does support this.
Django's DRF does provide a default JSON response body filled with lots of metadata which can be seen at https://www.django-rest-framework.org/api-guide/metadata/ , and there are more advanced DRF packages which provide different output such as https://github.com/drf-forms/drf-schema-adapter and https://github.com/django-json-api/django-rest-framework-json-api .  Projects using this DRF setting somehow can be found at https://github.com/search?q=DEFAULT_METADATA_CLASS&type=code
There are clients which automatically use those responses to have an up-to-date knowledge of the schema for the specific endpoint they are about to access, i.e. not having to either use a pre-generated client, or regularly load the entire schema from a custom endpoint such as /schema to know the server's endpoints.
I've found similar in other backend frameworks, but I cant recall them at the moment.
I think it would be wonderful if utoipa provided some glue to make this possible (even easy..) with common Rust web frameworks.

@jayvdb This would be a good addition to the library and happy to have something like this included. However since there is no common standard (at least to my knowledge) it should not be enforced to everyone. Maybe there could be another crate that provides this kind of additional functionality to the utoipa. Then these users can add it as a separate dependency to get the functionality.
There even could be multiple different crates e.g. one providing syntax similar to Django and one for something else. Probably something similar to Github could be done if it has support for such metadata at least for starters.
Yet this is not something I would be focusing on, at least at the moment with the development of this library. But if there are willing contributors to implement such functionality I am more than happy to include such contributions to the ecosystem. :slightly_smiling_face:
At least if the existing  ToSchema::schema() function can be used to generate a schema for the metadata then implementing support for this should be doable with relatively small effort. But if the schema needs to be done from scratch then there is some engineering effort to be done to get feature parity with the current schema() function.
There even could be some API or way to programmatically via types to create or at least help to build such metadata responses. But that is just a matter of implementation details.


Questions

Hello,
Thank you for providing such a comprehensive tool and it generates a very nice report. I have couple of questions:

Is there any way we could run this tool in strand-specific manner? I have seen options (#0: nonstranded;  1: forward strandness;  2: reverse strandness) in other tools.
Can you please confirm the genome versions for human/mouse/rat. Based on date shown on source Forge page, I assumed these are latest genomes (hg38, mm10 and rn6).

Thanks
Sagar

Sagar,
Thank you for the note.

Unfortunately we do not have miRge3.0 designed to run in a strand-specific manner. I don't know how to set that up.
Yes, it is hg38, mm10 and rn6.

Cheers,
Marc

Thank you for the quick response. I have seen strand-specific options available in Quickmirseq.
This option is available in most tools that perform read-counting from BAM. I am not sure what is implemented in miRge3.0, but Htseq, feature-counts, RSEM are most common counting tools and they have these option already implemented. If one of these tools is used, it might be simple to pass this option to counting tool. Hope this helps.
Nonetheless, the miRge3.0 is a very comprehensive and very useful in our analysis. Thanks.


[FEATURE] Docs for HTTP/2 support

Uvicorn is a great and fast HTTP/1 ASGI server that you recommend. I propose you recommend Hypercorn as a fast HTTP/2 ASGI server.
I'm the Hypercorn author, so naturally very biased. Also congratulations on the recognition of your great work.

Thanks! That's a very good idea. And I feel flattered that you come here to suggest it :smile:
I have a question, does Hypercorn support lifespan events? 'Cause in Starlette's docs it seems it doesn't (or didn't at some point): https://www.starlette.io/events/
I just want to make sure if I should put a note there, after adding Hypercorn to the docs.

It does, (update to Starlette).

Thanks @pgjones ! It's now included in the docs :tada: https://fastapi.tiangolo.com/deployment/#alternatively-deploy-fastapi-without-docker
And in the main page too.

🎉 Thanks!

Thanks to you :cake:
And thanks for coming back and closing the issue.


Thread Safety

Redbird is not thread-safe, which causes problems when using it with Swift web frameworks. A single Redbird instance cannot be shared across the application, since multiple threads may require simultaneous access. Establishing a new connection for every request would be wasteful and silly.
This leaves us with two options:

Force the user to synchronize all calls to a shared Redbird instance. For example:

dispatch_sync(com.myApp.redbirdSerialQueue) {
    redbird.command(...)
}

Account for thread safety within Redbird itself.  For example, command() may be synchronized as such:

public func command(_ name: String, params: [String] = []) throws -> RespObject {
    dispatch_sync(com.redbird.serialQueue) {
        ...
    }
}

Correct me if I'm wrong (because I'm not familiar with the entire codebase), but concurrent access to a shared Redbird instance should be safe since none of its properties are mutated after initialization.
I personally believe that option 2 is much safer and easier. What do you think?  I can make the changes if you agree that thread safety should be addressed.

Hi @collinhundley,
Thanks for reaching out. You're right, currently Redbird has no guarantees of thread safety, so if you wish to use the same connection from multiple threads, I'd recommend to create a wrapper which ensures only one thread is calling into command at a time.
The reason I don't want to add thread safety guarantees to Redbird is that GCD is not yet available is standard Swift snapshots on Linux, so the proposed solution would only work on Linux. If we'd want to synchronize access, we'd need to use a lower level technology that's either in the posix standard or in Foundation.
Thus I'm not against adding synchronization, it just needs to be done with a technology that works on all our supported platforms (Darwin and Ubuntu right now)

Are we sure that Dispatch isn't available on Linux yet?  Kitura seems to be using it here, and I know they're careful about maintaining Linux compatibility for all releases. I haven't had a chance to test it on Ubuntu yet though, so I can't say for certain.

Okay, let's hold off for now, we can pick this up again when Dispatch is bundled with the Linux toolchain.

Any plans to get back to thread safety now, when libdispatch is finally part of a Swift toolchains?

As we don't know exactly which commits will make it into Swift 3, I'd rather not spend too much energy on it until we have a Swift 3 GM.

As Swift 3 is now official and libdispatch is available on Linux too , can thread safety now be added ?

@alokjha I thought about it more and I'm not sure that Redbird is the right place to do this. Each Redbird object represents one connection to the redis server, which can only be accessed from one thread at a time. So the responsibility of managing threads should lie in the application, not Redbird, I think.

@collinhundley To your original post, no, Redbird instances may NOT be accessed from multiple threads at the same time, since one instance has one socket descriptor of the socket connected to the database server. Each command consists of 1. sending a request and 2. receiving and parsing a response. So the sequence always has to be, for 3 separate commands ABC: A1, A2, B1, B2, C1, C2. If you accidentally use the same Redbird instance from two threads running two commands, and end up with something like A1, B1, A2..., the results are already undefined, since two threads are writing to/reading from a socket at the same time.
As mentioned in my comment above, I'm leaning towards your solution number 1, where the user is responsible over making access thread safe (which can mean many things: 1) create many connections, one for each thread, and get much better performance, or 2) have one connection, synchronize access from all threads to this instance, like you described above etc).

For reference, this was solved with NSLock in Vapor's Redbird wrapper (as @czechboy0 noted was possible).
https://github.com/vapor/redis-provider/pull/12


[chore] update Go to 1.21, and update relevant pkgs

Desired Behaviour
Need to update Go to 1.21 in go.mod and in Dockerfile, and also Makefile

Minor chore on updating meshkit and meshery-adapter-library

Hi @Ghat0tkach,  Assign it to me I can fix these issue.

I would like to work on this issue.

there you go @rj2704

Hi @saurabh100ni, and @Ghat0tkach, Please review these PRs if you have the time. In that case, we can merge it if everything seems fine.

@ritiksaxena124 @Rajdip019 //


performance on OTB100

how is the performance on OTB 100 using this version of code?

have you evaluate the model on OTB100 ? is the auc the same with the paper? @HengLan

have you evaluate the model on OTB100 ? is the auc the same with the paper? @HengLan

Not exactly the same! Not surprised since this is not the original implementation used in the paper.


allow for pinging once and and return

Setting ping timeout is 0 will ping once and return. So calling rmw_uros_ping_agent(0, 1) will ping at least once and return.

Build status:

Linux
Windows

Build status:

Linux
Windows


dodge

only API change is to pass dimensions as the fifth argument

Merged into #823, which was merged into #801.


Zoom In at highest Zoomlvl.

Loving this library.  Is there a way at the highest scale of the map to continue to zoom into the image or is this functionality not supported.
When I am getting to a zoom level of 4 in my application I can not go further zooming in on this level to inspect each tile in depth, would I need to somehow take my tiling library and have it supply a further zoom level to achieve this?
*Isn't really an issue more of a question.

There's an api to set the maximum scale. When creating your MapState instance, use maxScale inside the initial values block. For example:
MapState(4, 4096, 4096) {
    maxScale(8f)
    scroll(0.5, 0.5)
    scale(1f)
}


maint(ci): setup-go - re-enable cache

Now that golanglint-ci action has been upgraded to 5.x (#466) we can re-enable the setup-go's management of the build cache.

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

Project coverage is 82.89%. Comparing base (69106f8) to head (045d7d0).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #467   +/-   ##
=======================================
  Coverage   82.89%   82.89%
=======================================
  Files          63       63
  Lines        4308     4308
=======================================
  Hits         3571     3571
  Misses        576      576
  Partials      161      161

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


fix(docs): correct annotation key for maxWorkerConnections

See: https://github.com/deis/router/blob/master/model/model.go#L40

Nice catch.

Sorry for accidentally closing-- hit the wrong button!!!

Current coverage is 46.40% (diff: 100%)

Merging #269 into master will not change coverage

@@             master       #269   diff @@
==========================================
  Files             3          3
  Lines           306        306
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            142        142
  Misses          160        160
  Partials          4          4

Powered by Codecov. Last update f36b8da...85d4a96


1v1 mid replays almost never load once parsed

1v1 mid replays almost never load once parsed. Unparsed replays for the most part can be viewed.
That was not the case a couple of months ago ( maybe 4 months ago).
I don't know if it has something to do with valve removing the download feature for 1v1 replays in the game client. Sometimes , very rarely though, parsed 1v1 replays do load and can be downloaded from opendota. I am aware that the replay needs to be 5 minutes or longer in order to be downloadable.
Example: https://www.opendota.com/matches/3372136535

Looks like a JavaScript crash in the UI.  Investigating

Thank you very much for fixing the issue so promptly. I am now able to load all my 1 vs 1 games and download them. I wasn't expecting anybody to care about this mode. Thanks again, you guys are doing a great work with the site!


Roadmap

A basic initial roadmap

[ ] Setup travis
[ ] Update README.md regarding the fork and travis badge ( follow apache 2.0 LICENSE )
[ ] Update metadata.rb and submit to market ¿Which name should we use?
[ ] Review and tag pending pull requests

next ?

@josephholsten, I need your approval in order to setup travis. I did a request to grant access. Though I guess you can setup travis easily as you are the original owner of the organization.
Anyways I hope that the original repo can be transferred ...

Travis setup: approved!

Ok, I've been reviewing a little bit all pending PRs, tagged some…
There are a few very complex PRs for main things like sharding/replicaset that are very distant in time "some of them from 2013"… Those are PRs against the master and they conflict with each other. Merging that is too complex.
Check this PRs: https://github.com/chef-brigade/mongodb-cookbook/labels/comp%3A replicaset
A possible strategy would be:

Locate, tag and merge the easy PRs for quick fixes. Like basic features, bugs, and compatibilities. This PRs are easy to merge right now.
Drop the complex PRs and work in a new branch for each "main" feature by order.
Replicaset/sharding
User management
Backups

The idea is not to drop all the code from PRs but taking the initial ideas or pieces that we can use. IMHO Working in a clean slate is going to be much easy.

I think this is a good start for the 1.0.0 rewrite. @shortdudey123 will probably write another set of issues in the bug track for it if we've missed anything!
Please see the milestone for progress https://github.com/sous-chefs/mongodb/milestone/2


Modi2020

Pull Request
This PR is for a

[x] New Publication(s)
[ ] Correction

For the follow list(s)

[ ] ancientmetagenome-anthropogenic (README)
[ ] ancientmetagenome-environmental (README)
[x] ancientmetagenome-hostassociated (README)
[ ] ancientsinglegenome-hostassociated (README)

New Publication
Publication Information
This pull request is to add samples from the following publication(s): Modi, A., Pisaneschi, L., Zaro, V. et al. Combined methodologies for gaining much information from ancient dental calculus: testing experimental strategies for simultaneously analysing DNA and food residues. Archaeol Anthropol Sci 12, 10 (2020). https://doi.org/10.1007/s12520-019-00983-5
This is to close #260
Checklist

[x] Publication is published (preprints currently not accepted)?
[x] Checked the publication is not already in the database?
[x] Checked samples in this publication are not previously published data (newly re-sequenced metagenomes are OK!)?
[x] Samples are shotgun metagenomes (hostassociated-singlegenome may also contain whole-genome enriched data)?
[x] Checked the list follows conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)?
[ ] (If applicable) Made a separate PR to add new categories to controlled lists (stored unnder /assets/enums, e.g. material or archive)? If so:
[x] Changelog is updated to include the publication under 'Added'?

If you do not know how to check errors in failed validation checks, expand here

Press 'details' next to the failed check.
Expand the test ancient <list> line with the red X next to it.
Scroll to the bottom of the log, and look for a DatasetValidationError (usually the last line).
Read the error, and fix accordingly. Check the README for a given list for more guidance. If in doubt, ask!

Correction
This PR is for

[ ] ancientmetagenome-hostassociated
[ ] ancientsinglegenome-hostassociated
[ ] ancientmetagenome-environmental
[ ] ancientmetagenome-anthropogenic

Reference
This pull request is to correct samples from the following publication(s):
This is to close
Description
The issue is:

Checklist

[ ] Checked the corrected entries follow conventions as described in the corresponding sample type's README file (e.g. using ERS/SRS accession codes for ENA/SRA)
[ ] Changelog is updated to include the publication under 'Changed'?

Thanks for this @valentinazaro ! Ignore the error at the moment, that is something for a different publication!


Controls update

Deleted Dialog control.
Changed .editorconfig so that it is the same as in the dotnet/runtime repository.
Added folders for TitleBar, MessageBox, ContentDialog, VirtualizingWrapPanel, NumberBox controls.
Added small fixes.
Pull request type

[X] Update
[ ] Bugfix
[ ] Feature
[X] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes

Ok.

For the namespace to work properly, Properties\AssemblyInfo.cs needs to be updated. Same for VisualStudioToolsManifest.xml.

Actually I didn't change namespace, they all have the Wpf.Ui.Controls namespace.

For the namespace to work properly, Properties\AssemblyInfo.cs needs to be updated. Same for VisualStudioToolsManifest.xml.

Actually I didn't change namespace, they all have the Wpf.Ui.Controls namespace.

I'm not a fan of the solution when the namespace is not the same as the directory tree.

At the same time, all controls should have the namespace Wpf.Ui.Controls, isn't that right?

At the same time, all controls should have the namespace Wpf.Ui.Controls, isn't that right?

No need, namespace is added to AssemblyInfo.
https://github.com/lepoco/wpfui/blob/87f203ce2de3aacb2b15d8de6fd8c326bf7575d9/src/Wpf.Ui/Controls/Navigation/NavigationView.Parent.cs#L11
https://github.com/lepoco/wpfui/blob/87f203ce2de3aacb2b15d8de6fd8c326bf7575d9/src/Wpf.Ui/Properties/AssemblyInfo.cs#L20

No need, namespace is added to AssemblyInfo.

But it for XAML not for c#.

No need, namespace is added to AssemblyInfo.

But it for XAML not for c#.

It doesn't matter what the namespace is, it could even be Wpf.Ui.Xyz and everything should still work

Unless you mean a naming convention to keep everything neatly in one place. Well, so far I've decided that we should stick to the directory tree, but if everything in Controls is more convenient and in line with what is in the main WPF, we can consider it that way.

Yep

Unless you mean a naming convention to keep everything neatly in one place. Well, so far I've decided that we should stick to the directory tree, but if everything in Controls is more convenient and in line with what is in the main WPF, we can consider it that way.

Yep

Well, then, just like the main WPF, we can omit decorative subfolders and keep everything in one place, taking care of the correctness of the namespace.
https://github.com/dotnet/wpf/tree/main/src/Microsoft.DotNet.Wpf/src/PresentationFramework/System/Windows/Controls

Then I prefer the directory tree.

But at the same time winui 3.
https://github.com/microsoft/microsoft-ui-xaml/tree/main/dev

Well yes, but it's a CPP project

In my opinion , c++ namespace structured by folders, at least I did.


cmd/search/main: Set a default --deck-uri

One less thing to think about when launching this against OpenStack's CI, and a useful example for folks who want to launch against some other Prow/Deck setup.
This had been part of #16, but I'd left it out of #24 by accident.
/assign @smarterclayton

@smarterclayton just changed the argument name in openshift/release#5731. With that approach, we don't need to bake in the default.
/close


feat: add dist-workspace.toml and factor some code

This is a more fleshed out version of #124 that fills in all the relevant data more completely.
It also defines the workspace toml to be dist-workspace.toml, something we've frequently discussed before. However if there's no parent dist-workspace.toml, a dist.toml will be accepted as a workspace-with-only-one-package.
The repository URL logic has been hoisted out of rust because well, it should be generic, and also because we've learned the hard way that it just can't be this early bound -- cargo-dist has richer info on which packages we care about, and only once it has computed that should we be pedantic about repository url.
What this PR doesn't yet do is unify things such that generic and rust workspaces can be handled as a single heterogeneous entity. I'm going to do some initial upstream work in cargo-dist to feel that out more and avoid cooking my brain.

What's the usecase for calling repository_url with a specified list of packages instead of letting it pull from the internal info? Is the idea that cargo-dist will ask it about a subset of packages?

Yeah specifically we want to only use the packages that cargo-dist selects (used in the downstream PR). Right now it's really annoying that we'll find a random repository key on a package we don't even care about and bail on the repository key altogether. axoproject is "too early" to make that call, so deferring it to later works better.

Ah I see, you're focusing on the build working at all -- right makes sense. I still think we should keep this around because nothing encourages buildjet and github to stay in sync, so forcing them in sync seems valuable.


Embed posters in list files instead of downloading them every time

Providing poster URLs and downloading them every time is not convenient as poster locations change a lot, and so they need to be updated. Instead, embed posters in the list files themselves, and provide a nice UI to add poster files (either by dropping the image, pasting it, or via a download link).
This will increase the list file size, but so be it, I don't really care about file size optimizations.

The app will be completely rewritten as a web app, thus all opened issues are being closed.


Change FAQ example with race conditions

Previously this example in the FAQ as written would've introduced a race condition.
While I know the objective of this example is not to show exactly correct code, it seemed a bit odd to me since there's a whole section earlier about preventing race conditions. The last change was a while ago, so the API wasn't the same, but it would be good to update it so there's no race conditions.

Thanks!


Better locking for LevelDb and add transaction support

This PR does:

Replace the Mutex with a RWMutex, so the lock can guard entire operation instead of just the lazy open operation. The lazy open now uses sync.Once. The Close() does a Lock() to make sure the DB doesn't get opened again after explicitly calling Close()

Add transaction support for LevelDb, as well as JSONLocalDb.

Please take a look? @maxtaco @patrickxb @mmaxim
If this looks good, I'll try to add transaction for the chat storage where it's needed. Thanks!
P.S. I didn't add any test for the LevelDb stuff. It seems pretty straightforward but let me know if anybody feels there should be some!

Sounds good!

@patrickxb I added some tests for LevelDb. PTAL thanks!

@patrickxb Those time.After are just in case of deadlocks from channel ops; in passing tests it shouldn't take nearly as long as 1 seconds. Also since those channel ops happen in real-time, it doesn't seem like there's a way to use fake clock?


Some Review Comments ...

Hi,
to allow an easier addition to the repository later I did a short rough review and here are some comments.

Please check your adapter with https://adapter-check.iobroker.in/ and fix the found stuff
testing is missing, please add. A blueprint could be https://github.com/ioBroker/ioBroker.template/tree/master/JavaScript - the test directory, some scripts in package.json and the .github directory these days ...
Please use https://translator.iobroker.in/ to auto-translate all nws texts for io-package and also the words.js
please make sure to store the password only encrypted! Check Adapters like meross from mee for this (two functions in index_m.html and decrypt method in adapter class)
make sure to always clear the timeout in "on-unload" ... currently it could be missed when an exception happens with the request. Also: should not the logic https://github.com/StrathCole/iobroker.plenticore/blob/master/main.js#L176 go into the request callback instead of "In parallel"?
Please also check if adapter and adapter.log exists before accessing it in on-unload!
If your on-unload needs longer then 500ms think about increasing the shutdown time in io-package (see tuya adapter)
If you do not need object changes or messages please also do not implement the method
Are the roles with "value.info" all correct? Please check https://www.iobroker.net/#de/documentation/dev/stateroles.md
You create a lot of objects and then you do dthe login and poll the state values. Because all the object creation runs asynchronous formally you can not be sure that all objects were already created when you want to set the states ... The effect could be that some values will not be visible directly after the first poll but after the next one ...

Personal note: I do not like to use intervals for external communication becaue the interval fires also when last communication was not finished because of timeouts or such. I more like setting a timeout for the next run once the current one is finished ... But up to you :-)
Have fun and great christmas time

Thank you. I will look into all this soon.

Hello,
as I am not sure if I understood everything correctly and because I am not yet into all the ioBroker adapter development details, I'll ask some questions back.

* Please check your adapter with https://adapter-check.iobroker.in/ and fix the found stuff

I cannot fix the "travis" and "npm collaborators" things, yet as I have not dealt with npm before. Neither with travis.

* testing is missing, please add. A blueprint could be https://github.com/ioBroker/ioBroker.template/tree/master/JavaScript - the test directory, some scripts in package.json and the .github directory these days ...

I'll look into this at a later stage.

* Please use https://translator.iobroker.in/ to auto-translate all nws texts for io-package and also the words.js

I still have to look into how translation of strings in ioBroker adapters is handled, so I have not yet come to that point. But will.

* please make sure to store the password only encrypted! Check Adapters like meross from mee for this (two functions in index_m.html and decrypt method in adapter class)

Okay, good point. Will check that.

* make sure to always clear the timeout in "on-unload" ... currently it could be missed when an exception happens with the request. Also: should not the logic https://github.com/StrathCole/iobroker.plenticore/blob/master/main.js#L176 go into the request callback instead of "In parallel"?

Do you mean the exceptions in the helper functions? Those are only used in the login process, so there is no exception afterwards when the polling interval is live.
The parallel handling in L176 following is on purpose because otherwise it could run into a race condition (making a new poll when logout has just finished).

* Please also check if adapter and adapter.log exists before accessing it in on-unload!

okay.

* If your on-unload needs longer then 500ms think about increasing the shutdown time in io-package (see tuya adapter)

okay.

* If you do not need object changes or messages please also do not implement the method

okay, messages will be handled later on so I prepared that. Will remove object change listener though.

* Are the roles with "value.info" all correct? Please check https://www.iobroker.net/#de/documentation/dev/stateroles.md

okay, will do that.

* You create a lot of objects and then you do dthe login and poll the state values. Because all the object creation runs asynchronous formally you can not be sure that all objects were already created when you want to set the states ... The effect could be that some values will not be visible directly after the first poll but after the next one ...

To be honest I have no idea how to handle that in an other way. Saw it in other adapters like this so I thought it was sufficient.

Personal note: I do not like to use intervals for external communication becaue the interval fires also when last communication was not finished because of timeouts or such. I more like setting a timeout for the next run once the current one is finished ... But up to you :-)
I will have some thoughts about that ;-) Thanks for the hint, you are right, I do it in web applications like you mentioned, too.

Have fun and great christmas time
Thanks. You too. Great software, by the way!


failed to install Dsribe on win10 system

I was so glad to see your package of Dsribe, but I failed to install it on my windows system. I wonder whether you could help me install your package on windows system, or provide a installation guide for windows system. Thanks.

Hi @hewg2008!
It is possible to install dscribe on a Win10 computer, but you will have to use the Windows Subsystem for Linux (WSL). This is also mentioned in the installation manual. This in practice means that you will have to install a Linux distribution that runs inside your Windows OS, and you will use it to run install and run the dscribe code.
Unfortunately we do not supoprt a native Windows installation, but the WSL approach has seemed to work for now. Hope this helps.

Thanks, I have already installed it on Linux system.


Use latest ruby/setup-ruby

I currently have this warning in my CI, which is resolved in the latest version of ruby/setup-ruby:
Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16: ruby/setup-ruby, actions/cache, actions/cache

We're seeing this warning in our logs as well - is there anything that needs to be done to get it merged?

can anyone merge this PR? I'm currently blocked

I'm not sure this repo is being maintained anymore 😢

Closing this one (Merged #81)


colored output disappears after screen blanks or after opening another app and then returning.

I'm on the Galaxy S 4g and when I run 'busybox ls' it returns colored output. However, if the screen blanks or I open another app and then return, the output becomes plain. Please fix this.

This should be fixed in 1.0.33


JSON API package queries returning empty response "randomly"

Describe the bug
When querying the JSON API, the body of the response is sometimes empty (as-in b''). Querying the same endpoint/package after returns a proper JSON response.
Looks like a caching issue on Pypi's side.
I have submitted this PR to poetry to work around the issue.
Got empty response from PyPI for pypi/cffi/json. Retrying...
Got empty response from PyPI for pypi/charset-normalizer/json. Retrying...

Maybe pure pip is better at handling these as poetry queries those endpoints before invoking pip for the actual installation.
Expected behavior
The API should return a valid JSON response the first time it is queried.
To Reproduce

Clear local pip cache
poetry add <a-package-with-a-lot-of-dependencies>
Hope one (or not) of the API response for a package returns a b''

My Platform
macOS BigSur and Monterey Intel python 3.9.7
macOS Monterey arm64 python 3.9.7
Additional context

@pradyunsg and @uranusjr, has pip experienced anything similar here?

@j-martin, any way you can provide us with the complete HTTP response, including headers?

@di I have added some extra logging to my local poetry install, but I could not get the issue to happen again. Most likely because another coworker hit (and resolved after a few retries) the same issue before me.
I'll keep the extra logging in, and hopefully, it repeats itself at some point.

First ever time I’ve ever heard of this happening.

Well, pip does not use the JSON end point for PyPI (since that’s not standardised + doesn’t have any tamper-checking possibilities). There’s no way any pip user would notice this.

here's some headers i grabbed while pdb'ing into poetry when this issue occurred and trying out a patch to auto retry
https://github.com/python-poetry/poetry/pull/4717#issuecomment-962629205
   4  ~/.local/share/pypoetry/venv/lib/python3.9/site-packages/poetry/repositories/pypi_repository.py:326 in _get
       324│
       325│         import pdb; pdb.set_trace()
     → 326│         json_data = json_response.json()
       327│
       328│         return json_data

(Pdb) json_response.content
b''
(Pdb) pp dict(json_response.headers)
{'Accept-Ranges': 'bytes',
 'Access-Control-Allow-Headers': 'Content-Type, If-Match, If-Modified-Since, '
                                 'If-None-Match, If-Unmodified-Since',
 'Access-Control-Allow-Methods': 'GET',
 'Access-Control-Allow-Origin': '*',
 'Access-Control-Expose-Headers': 'X-PyPI-Last-Serial',
 'Access-Control-Max-Age': '86400',
 'Cache-Control': 'max-age=900, public',
 'Connection': 'keep-alive',
 'Content-Encoding': 'gzip',
 'Content-Length': '9341',
 'Content-Security-Policy': "base-uri 'self'; block-all-mixed-content; "
                            "connect-src 'self' https://api.github.com/repos/ "
                            '*.fastly-insights.com sentry.io '
                            'https://api.pwnedpasswords.com '
                            'https://2p66nmmycsj3.statuspage.io; default-src '
                            "'none'; font-src 'self' fonts.gstatic.com; "
                            "form-action 'self'; frame-ancestors 'none'; "
                            "frame-src 'none'; img-src 'self' "
                            'https://warehouse-camo.ingress.cmh1.psfhosted.org/ '
                            'www.google-analytics.com *.fastly-insights.com; '
                            "script-src 'self' www.googletagmanager.com "
                            'www.google-analytics.com *.fastly-insights.com '
                            "https://cdn.ravenjs.com; style-src 'self' "
                            'fonts.googleapis.com; worker-src '
                            '*.fastly-insights.com',
 'Content-Type': 'application/json',
 'Date': 'Sun, 07 Nov 2021 15:11:35 GMT',
 'ETag': '"JuWbHOCwMq+jjOgbucA39g"',
 'Referrer-Policy': 'origin-when-cross-origin',
 'Server': 'nginx/1.13.9',
 'Strict-Transport-Security': 'max-age=31536000; includeSubDomains; preload',
 'Vary': 'Accept-Encoding',
 'X-Cache': 'HIT',
 'X-Cache-Hits': '1',
 'X-Content-Type-Options': 'nosniff',
 'X-Frame-Options': 'deny',
 'X-Permitted-Cross-Domain-Policies': 'none',
 'X-PyPI-Last-Serial': '8237314',
 'X-Served-By': 'cache-wdc5550-WDC',
 'X-Timer': 'S1636297896.913867,VS0,VE1',
 'X-XSS-Protection': '1; mode=block'}

(Pdb) json_response.request
<PreparedRequest [GET]>
(Pdb) json_response.request.__dict__
{'method': 'GET', 'url': 'https://pypi.org/pypi/cached-property/json', 'headers': {'User-Agent': 'python-requests/2.26.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'If-None-Match': '"JuWbHOCwMq+jjOgbucA39g"'}, '_cookies': <RequestsCookieJar[]>, 'body': None, 'hooks': {'response': []}, '_body_position': None}

i can reproduce this with some regularity (ubuntu 20.04, python 3.9.4), happy to provide additional context is helpful.

'Content-Length': '9341',

This indicates that our CDN is expecting the response to have a body, so either this is a bug with Fastly or something Poetry-specific.
I'd suggest attempting to remove all caching in Poetry and see if that alleviates the issue.

@di Looks like CacheControl is used here
I'll see if disabling it changes anything.

fwiw, I confirmed that disabling when CacheControl / headers and we don't see any response issues.

Thanks for adding more detail @kapilt. I'll close this issue as it is not caused by pypi.

@j-martin let's keep this open, afaics the issue is actually in pypi infrastructure, adding standard http caching headers to a request should not result in randomly broken/empty responses.
ie, poetry should be able to use http caching headers without getting empty responses back from pypi infrastructure. potentially its an issue with CacheControl, but that doesn't seem likely given that simply retries work, wide spread usage of the package (300k+ daily downloads), no known issues there wrt to this.
disabling cache control in poetry is a work around / hack afaics.

I see, I thought the issue comes from poetry and not from pypi, but I think you are right, it's more how fastly responds to the request.

fwiw, i haven't actually hit this in a while.  i think the actual issue was solved on the pypi cdn side, perhaps directly on the fastly side.


'Apify platform' course

All newest changes to the 'Apify platform' course will be here. Making the course more cohesive.

Last commit: Write Deploying + polish


g.get('season_id', rot.current_season_num()) and variations should not be all over the code

It especially shouldn't be in views. Views should not know about flask.g I don't think.
Hide it in something nice and replace all the current code.

Specifically it's a violation of this view of how the system works to access flask.g in a View.

d2d3f504 moves this knowledge out of views (and centralizes all access to flask.g via a function). I'm not sure what this should live ON so it's just free-floating on decksite for now.


Test what breaks when dynamic route is removed

Dynamic routes (dynamic :controller or :action segments) are deprecated in Rails 5.2.  This is a test to see what breaks in the tests of master (Rails 4) when this route is removed.

@scytacki lots of stuff broke with the dynamic route removed.  I'm not sure if it makes more sense to pause the Rails 5 upgrade to do this work on Rails 4 or to do it as part of the Rails 5.1 -> 5.2 upgrade.  The work would be to find all missing routes in all controllers.
I just did a quick check using this one-liner to see how many non-resource methods there are and got 350.
find . -name "*_controller.rb" | xargs grep "def " | grep -vE "(index|show|new|edit|create|update|destroy)" | wc
I could probably use the output of that (minus the trailing wc) to generate another script to look for those methods in the routes.rb file.
The rails5 branch has updates to the routes.rb file but I just looked and I don't think resolving the merge conflicts will be a big deal.
Thoughts?

I think it is better to pause Rails 5. And do this on Rails 4. It is a security fix, and given that we'll be stuck on 4 on production for the next 2 months.  So in other words, I'd rather do this incrementally, along with anything else that is needed for the Rails 5 upgrade which can be applied to Rails 4.

Yeah, I agree.  I'll start on this and then pick out the deprecation updates that can be done on Rails 4.


Automator: update<EMAIL_ADDRESS>dependency in<EMAIL_ADDRESS>

Generated by Automator - 2022-08-01T19:19:32+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-distroless_istio_release-1.14
c006ea5251795fcfe58f6f11920007a36653743d
link
true
/test integ-distroless_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test integ-distroless_istio_release-1.14

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio_release-1.14
c006ea5251795fcfe58f6f11920007a36653743d
link
unknown
/test unit-tests_istio_release-1.14

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


sharedown: 3.0.1 -> 3.1.0

Adds support for storing secrets in keychain.

Release on GitHub
Compare changes on GitHub

Needs libsecret as runtime dependency.

meant to merge. oops


feat!: add first implementation of LSP25 Execute Relay Call + update LSP6 interface ID

What does this PR introduce?
⚠ BREAKING CHANGES
Change in LSP6 interface
The 3 x functions getNonce(address,uint128), executeRelayCall(...) and executeRelayCallBatch(...) are part of their own standard LSP25 Execute Relay Call.
**This change the interface ID of LSP6 from 0x38bb3cdb --> to 0x627ca5d3  **
LSP6KeyManagerCore now also supports the interface ID of LSP25: 0x5ac79908
Change in the version to sign for executeRelayCall
Since Relay Calls / Meta Transactions are now in their own standard LSP25, the version used to sign execute relay call has changed:

before: number 6
**now: number 25 ✅ **

🚀 Feature

Add abstract contract LSP25MultiChannelNonce that contains all the logic and handle the signature validation

♻ Refactor

Add LSP25 in inheritance of LSP6KeyManagerCore
add LSP25 interface ID in supportsInterface(bytes4) function of LSP6KeyManagerCore.

🧪 Tests

[x] More tests to be defined for the LSP25 standard, so that this implementation is not on its own without any unit tests.
[x] Add them in the CI and in package.json as npm run test:lsp25

⚡ Performance

[x] Gas diff to be checked compared to before (compared to develop branch).

📄 Documentation

[x] Natspec comments to be reviewed for LSP25 vs LSP6 since the functions have been migrated out of LSP6. Also check if any LSP6 function or references are still old or outdated.
Change in the README in the import section for the constants from LSP6_VERSION to LSP25_VERSION.

PR Checklist

[x] Wrote Tests
[x] Wrote & Generated Documentation (readme/natspec/dodoc)
[x] Ran npm run lint && npm run lint:solidity (solhint)
[x] Ran npm run format (prettier)
[x] Ran npm run build
[x] Ran npm run test

Gas cost changes

I was trying to patch this into the extension but I am seeing build errors:
DocstringParsingError: Documentation tag @inheritdoc references inexistent contract "ILSP6KeyManager".
  --> contracts/LSP6KeyManager/LSP6KeyManagerCore.sol:93:5:
   |
93 |     /**
   |     ^ (Relevant source part starts here and spans across multiple lines).


URL changes from www to app

We are getting errors when executing this library, SC did some work in the redirection of their old URLs and we need to update the api.py to reflect the new ones. I noticed we already tried to fix the URLS in June, but the commit failed.
https://github.com/trbs/statuscake/commit/cb1302f2aa833a28e68b8a70cba89d6c07321b77

An commit fixing this is already in master, but it appears that a new release and push / commit to PyPI is needed, the latest version there is 1.0.1, uploaded on 2014-12-03.

https://pypi.python.org/pypi/statuscake/1.1.0 has been uploaded to pypi :-)


sqlsrv output param shows garbage when the variable is initialized to a different type

Tested in Windows, 32bit and 64bit, both NTS.
First, create a simple stored procedure like this
create proc test_out @p1 integer, @p2 integer, @p3 integer output
as
begin
	select @p3 = @p1 + @p2
	print @p3
end
go

Then, in the script, set warnings return as errors then initialize the output param to a non-integer as shown below:
sqlsrv_configure( 'WarningsReturnAsErrors', true );

$v1 = 1;
$v2 = 2;
$v3 = 'str';

$stmt = sqlsrv_query( $conn, "{call test_out( ?, ?, ? )}", array( $v1, $v2, array( &$v3, SQLSRV_PARAM_OUT )));

echo "Output: $v3\n";

The output is Output: 3 followed by lots of garbage.
To fix this issue, simply do the following:
sqlsrv_configure( 'WarningsReturnAsErrors', false );
Then we will get Output: 3, as expected.

Fixed in in PR #381


Not Hiding while Scrolling when Scrolling Item is Viewpager

Bottom bar is not getting hide when the scrolling content is viewpager and the viewpager fragment is having Toolbar.

ActionBarDrawerToggle toggle = new ActionBarDrawerToggle(
this, drawer, toolbar, R.string.navigation_drawer_open, R.string.navigation_drawer_close){
@Override
public void onDrawerOpened(View drawerView){
            super.onDrawerOpened(drawerView);
            mBottomBar.hide();
        }
        @Override
        public void onDrawerClosed(View drawerView){

            super.onDrawerClosed(drawerView);
            mBottomBar.show();
        }

    };

Try putting the NestedScrollView inside the ViewPager instead of the other way around.


Add SuperSolution.sln

Adds a solution containing all projects in the mono repo. We can use this to build everything at once, run all tests, and refactor the codebase en masse. This will be really helpful when we get around to setting up coding standards, styles, etc. as we'll be able to mass refactor everything to follow the same style in one swoop.
Also removes broken src/shared/shared-kernel/tests/fh-shared-kernel.unit-tests/fh-shared-kernel.unit-tests.csproj project, which was a duplicate of the existing unit test project. Additionally, fixed build warnings relating to missing imports in that unit test project.

🙌


Changefeeds Dashboard Doc Update

Re: Changefeeds Dashboard
Issue Description
The graph shows as 29.4 seconds, but the text below has nanoseconds.
In the node view, the graph shows the maximum latency (in nanoseconds) of any running changefeed for the node.
Suggested Resolution
is the time in nano or seconds?

I see what happened here -- the metric itself is measured is in nanoseconds, but the UI automatically converts this to appropriate units depending on the scale of the number. We can just remove "(in nanoseconds)" from the doc page since the UI always shows the units it uses.
We should also add more detail to the explanation of the "Max Changefeed Latency" graph. It always shows the max latency for resolved timestamps, which, while an important metric to monitor, is distinct from (and much slower than) typical commit-to-emit latency for individual change messages.


Intercepting lint errors

I like to add audio cues to my errors. Works fine in Mocha but I'd like to have this happen with Lint errors too. I rather naively have the following code:
gulp.task('static', function () {
  return gulp.src(['**/*.ts', '!**/*.d.ts', '!node_modules/**'])
    .pipe(lint())
    .pipe(lint.report({
      emitError: true
    }))
    .on('end', function(...args) {
      warn(`there were linting errors: ${args}`);
    });
});

By doing this I do appear to be able to detect linting errors (although actually I think it's just always being called). I get no parameters on the emit and so no way to interact with the lint results.
Is there a good example or docs on how to intercede and take actions based lint outcomes?

"Failures generated by TSLint are added to file.tslint.", you could access that.

I don't see any files of the *.tslint variety and I am getting lint errors

You can loop through the files with the through2 module (from npm), basically the same way plugins do. Take a look here: https://github.com/gulpjs/gulp/blob/master/docs/writing-a-plugin/dealing-with-streams.md

thanks @panuhorsmalahti


Queries from router itself

Issue for improvement - Installed controld on router mode. All devices can be filtered, except for queries from the router itself. When excluding csv of activity log, all devices have a clientid except the router itself.
Problem - I want to create a global redirect rule for all devices, except for the router itself which I want to bypass it. It isn't possible right now.
Detailed problem - the rule I want to create is redirect all *.pool.ntp.org to routers lan ip. Except the router itself, which is needed to bypass to upstream A answer.

This will be addressed in future release, where the router itself will appear as a distinct "client".

This is resolved in the latest release: https://github.com/Control-D-Inc/ctrld/releases/tag/v1.3.0


Badge Updates

Include badges for build process and plans.

You did it @openanthem-admin!
Thank you for signing the Anthem Opensource Software CLA.


Handle out of memory exception

Description

Add option to handle OutOfMemory exception for repair after will be avaible memory. I mean to stop spam in console with this error:
[21:59:38] [pool-17-thread-3/WARN]: Exception in thread "pool-17-thread-3" java.lang.OutOfMemoryError: Java heap space [21:59:38] [Paper Watchdog Thread/WARN]: Exception in thread "Paper Watchdog Thread" java.lang.OutOfMemoryError: Java heap space [21:59:38] [pool-17-thread-1/WARN]: Exception in thread "pool-17-thread-1" java.lang.OutOfMemoryError: Java heap space [21:59:38] [luckperms-scheduler-worker-94/WARN]: java.sql.SQLException: ResultSet is from UPDATE. No Data. [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.result.ResultSetImpl.next(ResultSetImpl.java:1749) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariProxyResultSet.next(HikariProxyResultSet.java) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.common.messaging.sql.AbstractSqlMessenger.pollMessages(AbstractSqlMessenger.java:119) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:124) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [21:59:38] [luckperms-scheduler-worker-94/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:831) [21:59:38] [luckperms-scheduler-worker-132/WARN]: java.sql.SQLException: ResultSet is from UPDATE. No Data. [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.result.ResultSetImpl.next(ResultSetImpl.java:1749) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariProxyResultSet.next(HikariProxyResultSet.java) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.common.messaging.sql.AbstractSqlMessenger.pollMessages(AbstractSqlMessenger.java:119) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:124) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [21:59:38] [luckperms-scheduler-worker-132/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:831) [21:59:38] [luckperms-scheduler-worker-131/WARN]: java.sql.SQLException: ResultSet is from UPDATE. No Data. [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:129) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.mysql.cj.jdbc.result.ResultSetImpl.next(ResultSetImpl.java:1749) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.lib.hikari.pool.HikariProxyResultSet.next(HikariProxyResultSet.java) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.common.messaging.sql.AbstractSqlMessenger.pollMessages(AbstractSqlMessenger.java:119) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at me.lucko.luckperms.common.plugin.scheduler.AbstractJavaScheduler$ErrorReportingRunnable.run(AbstractJavaScheduler.java:124) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [21:59:38] [luckperms-scheduler-worker-131/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:831)

This should really be a bug report.. not a suggestion

But this is not bug. It's normally situation for that problem, so its not a bug.

This is not really up for debate. An OutOfMemoryError is an error and it is not normal behavior:

Error: indicates serious problems that a reasonable application should not try to catch. Most such errors are abnormal conditions.
VirtualMachineError: indicates that the Java Virtual Machine is broken or has run out of resources necessary for it to continue operating.
OutOfMemoryError: cannot allocate an object because it is out of memory, and no more memory could be made available by the garbage collector.

As of now it can be a potential indicator of a memory leak too (see #3027 #3032).
And given that you did not specify any kind of system information or any context whatsoever it's not really possible to help with the problem in question either.

I specially gave small memory and I saw this. So I gave some my time to report it just for author no for make necessary discussion.

you can’t repair out of memory… fill in the issue template with details stated as well as the amount of ram you used. Bcu you you are just giving your server unreasonable little ram, then there is no point reporting this.

See the quote posted by @emilyy-dev above:

Error: indicates serious problems that a reasonable application should not try to catch. Most such errors are abnormal conditions.

The solution is to add more memory. There is nothing the application can reasonably do to "handle" this.


Elaborate unit tests

relates to https://github.com/Arduino-CI/arduino_ci/issues/257
when arduino CI has Wire support?

Will not add device simulation to unit tests


screenshare screen in a voice call

would it be possible for the bot to join a vc and then screenshare his screen or webcam?

i dont know about screen and webcam. i know audio is possible but i cant get it to work.


CXXCBC-55: External Tracing and Metrics support

Motivation
Allow clients to plug in their own tracing and/or metrics solutions,
such as OpenTelemetry
Modifications
Expose the tracer and meter in cluster_options.  Then, add a parent_span
to many (but for now, not all) requests.   The tests use a simple tracer
and meter implementation to facilitate testing.
*** Will update this with a header that wraps OpenTelemetry objects in
particular, which will not be referenced by anything in the client so we
will only require otel when it is used.
Results
Tests pass

@davidkelly looks like Jenkins failures are legit and related to tracer and meter:
http://sdk.jenkins.couchbase.com/job/c-cpp/job/cxx/job/cxx-scripted-build-pipeline/1197/
/home/couchbase/jenkins/workspace/c-cpp/cxx/cxx-scripted-build-pipeline/ws_centos7/couchbase-cxx-client/test/test_integration_tracer.cxx:189: FAILED:
due to a fatal error condition:
  SIGABRT - Abort (abnormal termination) signal

/home/couchbase/jenkins/workspace/c-cpp/cxx/cxx-scripted-build-pipeline/ws_centos7/couchbase-cxx-client/test/test_integration_meter.cxx:120: FAILED:
due to a fatal error condition:
  SIGABRT - Abort (abnormal termination) signal


ESPAltherma reports Operation Mode as Fan Only when idle

Took me a while to realise, but it looks like then the Operational Mode is Fan Only in my heat pump (no fans that I can see are running during these periods), what it really means is Not Running, Inactive or Idle or something along those lines.
Could this be changed to more clearly report the state when the heat pump is not active?
I'm using the Altherma(LT_CB_11-16kW Bizone).h configuration currently if that makes a difference. I think I'm using the wrong one and we actually have a signle-zone system with two thermostats which affect some flow switches the Daikin machinery doesn't report on as I can't see a difference in any of the logged outputs when one thermostat calls vs the other.

I'm sorry, to reply on this older thread, but it's very confusing to me.
So far I understood, when sensor.espaltherma_operation = fan only   --> system is IDLE.
(Heating = Heating :))
However, today I saw something strange.
sensor.espaltherma_iuoperation --> Heating,   & sensor.espaltherma_operation = Fan Only
So, I would expect idle. Right?
However, flow sensor showed a flow, external power meter detected kW of power, temperature was rising.. heatpump was really heating.
A few hours later, both  iuoperation as _operation swichted to heating.


[QnA Maker] - Adding more than one metadata key/value pair via Excel file

Hi guys,
I'm trying to upload one Excel (.xslx) file to my new KB but it seems that when I try to add more than one item in the "Metadata" column, QnA Maker doesn't seem to recognize it.
Is there any kind of specific schema that I have to follow? I've tried "path:value id:value2" and "path:value1;id:value2" but only the first one key/value is recognized:

Thank you for your help!

It seems that there is an issue with the QnA Documentation.
The problem was solved by using "|" to separate different metadata in an excel (.xlsx) file. Do not use the " ` " as the doc says.
Example:
key1:value1|key2:value2