opscode2chef

:+1: feel free to merge it or I will take care of it later today.

Doesn't look like I have commit bits anymore. Brb, flying to LA =)
-s
On Wed, Feb 18, 2015 at 11:48 AM, Sander van Zoest<EMAIL_ADDRESS>
wrote:

[image: :+1:] feel free to merge it or I will take care of it later today.
—
Reply to this email directly or view it on GitHub
https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899205
.

Ahh okay.
I will look into that too.
See you at scale?
-- Sander
On Feb 18, 2015 8:50 AM, "Sean OMeara"<EMAIL_ADDRESS>wrote:

Doesn't look like I have commit bits anymore. Brb, flying to LA =)
-s
On Wed, Feb 18, 2015 at 11:48 AM, Sander van Zoest <
<EMAIL_ADDRESS>
wrote:

[image: :+1:] feel free to merge it or I will take care of it later
today.
—
Reply to this email directly or view it on GitHub
<
https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899205
.

—
Reply to this email directly or view it on GitHub
https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899573
.

yep!
On Wed, Feb 18, 2015 at 11:51 AM, Sander van Zoest<EMAIL_ADDRESS>
wrote:

Ahh okay.
I will look into that too.
See you at scale?
-- Sander
On Feb 18, 2015 8:50 AM, "Sean OMeara"<EMAIL_ADDRESS>wrote:

Doesn't look like I have commit bits anymore. Brb, flying to LA =)
-s
On Wed, Feb 18, 2015 at 11:48 AM, Sander van Zoest <
<EMAIL_ADDRESS>
wrote:

[image: :+1:] feel free to merge it or I will take care of it later
today.
—
Reply to this email directly or view it on GitHub
<

https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899205

.

—
Reply to this email directly or view it on GitHub
<
https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899573

.

—
Reply to this email directly or view it on GitHub
https://github.com/svanzoest/apache2-cookbook/pull/316#issuecomment-74899847
.


useServerPrepStmts doesn't get mysql time(3) milliseconds

Environment
HikariCP version: 3.3.1
JDK version     : 12.0.1
Database        : MySQL
Driver version  : 8.0.16

With mysql time(3) data type, jdbcTemplate getString() will not retrieve milliseconds when "useServerPrepStmts" is set to "true".

I can't reproduce this, and it sounds like mysql driver issue, have you tried with native DriverManager not connection pool?

Obviously it is a driver problem, hikariCp will delegate the behavior of the resultSet to the actual resultSet


createServerData$ only being transpiled in .jsx/.tsx files

I don't know whether this is intentional, or even fixable, but if you call createServerData$ outside of a .tsx file, it does not get properly transpiled. I noticed this when I tried to make some helper functions that, since none of them use JSX directly, I put in a .ts file. When looking at the output, however, I noticed that it did not transpire that code correctly. Inside of .tsx files it transpires just fine, as expected, but I would expect that it would work the same in all source files, since they all get lumped into the bundle.

Duplicated #408


MAXO:0035116	oncologist evaluation

MAXO:0035116	oncologist evaluation

This term already exists as 'medical oncologist evaluation'...mainly called medical oncologist because of abms.org website. Will add oncologist evaluation as a synonym.
please use MAXO_0000691 for future use.

I think in this context, "Medical" oncologist can be the synonym, people will search first under plain "Oncologist evaluation"!


raise IllegalArgumentException on attempts to contexualize an already-contextualized action

pull fixes #115
Signed-off-by: Nathan Rauh<EMAIL_ADDRESS>

@FroMage or @manovotn could you review this?  It updates the JavaDoc to state that IllegalArgumentException is raised if already contextualized.  As we discussed on the call, this does not require that we detect contextualRunnable( () -> alreadyContextualizedRunnable.run() ) because that is not an attempt to contextualize an already-contextualized Runnable, but is instead an attempt to contextualize a new Runnable that happens to use another contextualized Runnable within its implementation.

What about already-contextualised CompletionStage and CompletableFuture?

Also, what about the behaviour of contextual CF and CS when given pre-contextualised lambdas? And what about the behaviour of TC.currentContextExecutor()'s returned Executor when passed pre-contextualised runnables?
I should note that I think lambdas are much cheaper to use in the JVM than the classes this forces us to write to mark pre-contextualised actions, so we may end up paying a perf cost to detect this.

I see you already decided to not recontextualise actions passed to managed executors and CF/CS. You even have tests for this, except they're not testing what they say they test, since they pass for our implementation which does the opposite. Indeed both the TC and ME have the exact same settings:
    /**
     * When an already-contextualized Consumer or BiFunction is specified as the action/task,
     * the action/task runs with its already-captured context rather than
     * capturing and applying context per the configuration of the managed executor.
     */
    @Test
    public void contextOfContextualConsumerAndBiFunctionOverrideContextOfManagedExecutor()
            throws ExecutionException, InterruptedException, TimeoutException {
        ThreadContext labelContext = ThreadContext.builder()
                .propagated(Label.CONTEXT_NAME)
                .cleared(ThreadContext.ALL_REMAINING)
                .build();

        ManagedExecutor executor = ManagedExecutor.builder()
                .propagated(Buffer.CONTEXT_NAME)
                .cleared(ThreadContext.ALL_REMAINING)
                .build();

they pass for our implementation which does the opposite

Actually no, our implementation does not do the opposite at all, sorry. It does the same thing, by virtue of not being able to recontextualise pre-contextualised actions. Sorry for the confusion: the test is right.

What about already-contextualised CompletionStage and CompletableFuture?

I believe the withContextCapture documentation already addresses this.  The context propagation settings of the ThreadContext instance apply when to all dependent stages created from the new stage.  Note that the new stage itself does not actually have context, in that it is simply completed with the result of the stage upon which withContextCapture is invoked.
When dependent stages are created from the new completable future, thread context is captured from the thread that creates the dependent stage and is applied to the thread that runs the and/or cleared as described in the documentation of the {@link ManagedExecutor} class, except that action, being removed afterward. When dependent stages are created from these dependent stages, this ThreadContext instance takes the place of the default asynchronous execution facility in and likewise from any dependent stages created from those, and so on, thread context is captured supplying the configuration of cleared/propagated context types. This guarantees that the action from the respective thread that creates each dependent stage. This guarantees that the action performed by each stage always runs under the thread context of the code that creates the stage, performed by each stage always runs under the thread context of the code that creates the stage. unless the user explicitly overrides by supplying a pre-contextualized action.
I could certainly see adding a TCK test or two for a scenario like this, which can be done under the TCK issue.

Also, what about the behaviour of contextual CF and CS when given pre-contextualised lambdas?

This is a good question. We covered it under issue #110 / pull #111 with the language,
If the supplied action is already contextual (for example, threadContext.contextualFunction(function1)), then the action runs with the already-captured context.
and tested it in the tck under pull #118 which includes the test case that you later found as an example of this.

And what about the behaviour of TC.currentContextExecutor()'s returned Executor when passed pre-contextualised runnables?

Good catch, I missed that in my updates.  I'll add a commit updating this scenario to raise IllegalArgumentException here as well.

@FroMage / @manovotn  I've fixed the code review issue that you found with contextual executor executing a precontextualized Runnable under this additional commit. Please review again,
https://github.com/eclipse/microprofile-concurrency/pull/119/commits/e88c2dedb94578d8a7f72bc75a870915d86da50b

OK thanks, LGTM.


Unify convolution/pooling functions for all spatial dimensionalities

I sometimes saw users that do not know the existence of ConvolutionND and *_pooling_nd. In particular, they say "there is no Convolution1D" (or 3D), although it is supported by the ND version. There are two approaches to resolve this issue.

Make explicit versions for typical dimensionalities (Convolution1D, Convolution3D, ...)
Unify them and use it everywhere (Convolution, max_pooling, ...)

I feel the second approach is much simpler. As for the Functions, we only have to make an alias of *_nd without the suffix _nd, e.g. convolution, max_pooling, etc. As for the Links, we have to think about how to let it know the dimensionality of the parameters. Thanks to the lazy initialization of the parameters, it can be automatically inferred in most cases, so that we can make Convolution that can be constructed by a code like Convolution(out_size, kernel_size). We can also explicitly specify the spatial dimensionality by ndim option.
Another interesting aspect of this approach is that, once we fix the existing code to use this unified version, the definition of a convnet designed for a specific spatial dimensionality (e.g., 2D) is directly reusable for other spatial dimensionalities (e.g., 1D and 3D), because there is no information about the dimensionality appearing in the model definitions.

I vote for the 2nd option, to make a unified interface.

I like the second option.

Is anyone interested in working on it?

I'm interested in, and I'm now unifying ConvolutionND to support double backpropagation like Convolution2D.


Spike - Data analytics for new Applications

Description
Research analytics issues to determine how  to track time spent on steps of the job application.
Images
Place image attachments here.

After doing some research, there's very little in terms of "out of the box" packages for this kind of thing.
Most solutions revolve around sending information to a 3rd party (usually Google) from the front end (React), or consuming information from a 3rd party to the back end (Laravel).
The best way for us to get the information we're looking for is to just collect it ourselves and store it in our database, although this will also involve creating some visualizations for the data.

For example:
NY Times created a custom tracking library but it expects to send the data off to GA or another provider, we might be able to use this and repurpose it, but it's likely overkill for our use case.
This is a tutorial for a basic idle detection hook so that we could get more accurate user interaction timings without much overhead.
This is a Laravel package for retrieving analytics to be stored locally. We could look into how they set up the data storage on the Laravel side but it's likely overkill again.

Looks good, will come back to this when we're ready to use it.


Invalid restic repo prefix when using custom object store plugin

What steps did you take and what happened:
When you have a custom object store plugin configured, the getRepoPrefix (https://github.com/heptio/ark/blob/master/pkg/restic/config.go#L43-L79)  method returns an invalid restic repo string and there is no way to configure ark in a way to get a valid one because prefix will remain empty.
This results in the following error message when creating a backup with restic:
 error running command=restic init --repo=:metakube-cluster-backup-fhgbvx65xg-restic:/backup-tutorial --password-file=/tmp/ark-restic-credentials-backup-tutorial462685577 --cache-dir=/scratch/.cache/restic, stdout=, stderr=Fatal: create repository at :metakube-cluster-backup-fhgbvx65xg-restic:/backup-tutorial failed: invalid backend
    If the repo is in a local directory, you need to add a `local:` prefix

What did you expect to happen:
There should be a way to configure ark to produce a valid restic repo string.
Environment:

Ark version (use ark version):  0.9.7
Kubernetes version (use kubectl version): 1.11.3

@bashofmann thanks for the report! What kind of object store plugin are you using?

Basically the s3 object store but with a different signer because of https://github.com/heptio/ark/issues/811.
A potential patch for this could be
--- a/pkg/restic/config.go
+++ b/pkg/restic/config.go
@@ -73,6 +73,8 @@ func getRepoPrefix(config arkv1api.ObjectStorageProviderConfig) string {
                prefix = "azure"
        case GCPBackend:
                prefix = "gs"
+       default:
+               return config.ResticLocation
        }

        return fmt.Sprintf("%s:%s:/%s", prefix, bucket, path)

Ok thanks for the info. Another possible option would be to add a method to the BlockStore plugin interface to allow it to return this information. But if your proposed patch works for you, we could certainly start there.
@skriss wdyt?

Tested it and the above patch with configuring the full restic location (s3:https:/.../bucket) works for us.


Some shells cannot read commands in vscode

Does this issue occur when all extensions are disabled?: Yes

version info:
版本: 1.79.0-insider (system setup)
提交: 2575777b9d3cdb865d61f9f1dfaac1fea9e1bde6
日期: 2023-05-12T05:21:06.392Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
沙盒化: Yes

I'll be brief, I've written a shell to interact with a program and execute expressions for development purposes
The source code is at https://github.com/ukatech/ghost_terminal and the part of the shell that handles the logic is at https://github.com/steve02081504/my-gists/blob/115cd2173048ecc4e6e13d3b1a775ab2076bcb01/windows/shell_base.cpp
And I configured it in my workspace like this: https://github.com/Taromati2/ghost/blob/master/.vscode/settings.json
This program uses _getwch to read data from the input and GetConsoleScreenBufferInfo to find out the current position of the cursor and SetConsoleCursorPosition to move the cursor to redraw the command, it also uses CreateConsoleScreenBuffer to create a command line buffer that is not used for output and to calculate the width of a string or character
And the program worked fine in windows terminal or a traditional command line window until it under vscode, which for some reason does not accept keystrokes other than function keys such as enter and tab, which means I cannot use it in vscode.
Steps to Reproduce:
Given that this application needs to be linked to other applications, I can't provide some simple steps to reproduce it without installing and config something new
Hopefully the introduction to the principles I have provided will help find the problem.

我得先简明扼要的说一下，我写了一个shell用于和某个程序交互并执行表达式，便于开发
其源代码在https://github.com/ukatech/ghost_terminal ，shell逻辑处理的部分在https://github.com/steve02081504/my-gists/blob/115cd2173048ecc4e6e13d3b1a775ab2076bcb01/windows/shell_base.cpp
并且我在我的工作区中这样配置它：https://github.com/Taromati2/ghost/blob/master/.vscode/settings.json
这个程序使用_getwch从输入端读取数据，并通过GetConsoleScreenBufferInfo获知光标现在的位置、以及使用SetConsoleCursorPosition移动光标来实现命令的重绘，它还使用了CreateConsoleScreenBuffer创建一个不被用于输出的命令行缓冲区，用于计算字符串或字符的宽度
并且这个程序在windows terminal或传统命令行窗口中都工作良好，直到其遇到了vscode，不知为何它无法接受到除了回车、tab等功能按键以外的按键键入，这意味着我不能在vscode中使用它。
复现步骤：
考虑到这个程序需要和其他程序联动，我无法提供不需要安装和配置新东西的简单的复现步骤
希望我提供的原理相关介绍能帮助找到问题。

This issue seems to originate from an upstream component and is not something VSCode can fix by making a change to our code. As such, I will go ahead and close it. Please try to reproduce in Windows Terminal and report to microsoft/terminal with repro steps.
If you cannot reproduce in Windows Terminal, chances are it's fixed in a later version of Windows. You can read more about how we consume conpty here. Thanks for understanding.
/label upstream terminal-conpty windows


Range requests should be required in BUD-01

https://github.com/hzrd149/blossom-server/issues/16

Not sure if its really something that needs to be in the BUD, range requests SHOULD be supported though imo

I reviewed the PR, and overall, it looks good. My only doubt is if the specs should  use SHOULD or MUST, considering that many media players expect support for partial content.
Another point worth mentioning is that, depending on the client/browser, it might also  issue conditional requests such as If-Match and If-Range with ETags or Last-Modified. Given the many ways clients handle range requests, robust implementations often support multiple conditional requests and include headers like Cache-Control, ETag, and Last-Modified in responses. This approach not only improves compatibility but also significantly optimises bandwidth consumption, so it might be worth suggesting caching as an optional consideration.
For reference, here's how Go's http.ServeContent handles this: https://pkg.go.dev/net/http#ServeContent
Here's an example of the impact it had on my Relay's traffic: the average daily percentage of cached requests increased from 10–20% to 35–65%.

This would be a good starting point: MDN: HTTP Caching. Additionally, from a client's perspective, you might find this helpful: MDN: Conditional Requests.
Of course, there's more to consider, such as edge cases in caching like CORS preflight requests and the Access-Control-Max-Age header, which I mentioned in the other PR. However, even basic support for Cache-Control, Etag, Last-Modified, and their respective conditional requests (as referenced in the Golang HTTP package documentation linked above) can go a long way.


Implement model types for official pytorch models

Add all official pytorch object detections models as well as classification models like ResNet and EfficientNet.

Closes https://github.com/eto-ai/rikai/issues/551


docs: minor typo and grammar fixes

While keeping the meaning unchanged, I've added a few minor typo, grammar and sentence structure fixes. Hope it helps 🙏

@simenfossnes so what do you think about this one comment? we are ready to merge


feat: install loggingrules meta files

dconfig meta file for dtk logging rules

https://github.com/linuxdeepin/dtkcore/pull/413


Fix JIT configs for aarch64

Which issue does this PR close?

Closes #.
Rationale for this change

Currently tests do not pass on Apple Silicone (or any non x86_64) platform. This PR adjusts JIT configs based on platform.
Should no longer be needed once https://github.com/bytecodealliance/wasmtime/issues/2907 is closed.
Disclaimer: I don't really know what I'm doing here and am mostly applying the workaround from https://github.com/bytecodealliance/wasmtime/issues/2735.
What changes are included in this PR?

Set the is_pic flag to false when creating JIT since PLT is not supported on non x86 platforms.
Are there any user-facing changes?

As far as I can tell, no

No

cc @yjshen

I noticed this locally as well. Thx for fixing.

Thanks again for fixing this. ❤


Missing Actions for Inherited/Extended Controllers

I am using the wonderful tailwindcss-stimulus-components  from @excid3 in a project. I am extending them by importing the specific component, and then extending. Here is an example of a search_dropdown_controller
import { Dropdown } from "tailwindcss-stimulus-components"
// import { transition } from 'tailwindcss-stimulus-components'

export default class extends Dropdown {
  static targets = ["searchGlass"]

  openValueChanged() {
    super.openValueChanged();
    this.searchGlassTarget.classList.toggle(['rotate-90'], this.openValue)
  }

}

Unfortunately, the Stimulus-LSP seems to be unable to recognize that this controller is inheriting classes from the parent Dropdown controller, and filling my errors output with various "XXX" isn't a valid Controller Action on the "search-dropdown" controller. Did you mean "openValueChanged"?
I am not sure if I am just configuring it incorrectly, or if this is a missing feature, but I wanted to bring it to attention.
Thanks and sorry if my explanation is missing anything!

Hey @richjdsmith, thanks for reporting!
I just added support for this exact use-case in the stimulus-parser library (which is used to build this LSP). See https://github.com/marcoroth/stimulus-parser/releases/tag/v0.1.0
The next Stimulus LSP version is going to ship this. This should then also resolve the wrong diagnostics you are seeing now.
Sorry for the inconvenience!

This should be resolved with v1.0.0, please re-open this issue if you still see something unexpected! Thank you!

Awesome, will give it a try again!


Synchornous ADC API

Started working on #10. Still a draft, a lot more to be done.

@AnneOnciulescu any progress?

tock#471


Exploratory analysis with Pathway Commons, R Cytoscape.js, and Shiny

[ Project Lead ] @kdaily
[ GitHub Repo ]
[ Track ] Tools: you are building a tool others can help you build
[ Level ] Intermediate
Description
Build a modular R Shiny app to view biological pathways from Pathway Commons with user-provided data about nodes in the network.

Want to Contribute?
Join us at the Global Sprint June 2-3. Leave a comment in this issue to let the project lead know you're interested in contributing during #mozsprint 2016!

Note to the Project Lead
Congrats, @kdaily! This is your official project listing for the Mozilla Science Global Sprint 2016. To confirm your submission, please complete the following:

[ ] Provide a GitHub repository for work and discussion on your project
[ ] Confirm in a comment that at least one person will be available to review and answer questions on this project from 9-5 in their timezone on both June 2 & 3.

Do you want to become a featured project? :tada:
Here are some exercises that will help your project be more inviting to new contributors. We hope you'll try to complete some of these as you prepare for #mozsprint.
If you complete all the exercises, your project will be eligible to be featured in our collection of open source science projects! Once you've finished this list, contact @acabunoc to submit your project for review.

[ ] README.md:
[ ] LICENSE:
[ ] CONTRIBUTING.md:
[ ] Roadmap or an Issue Tracker (with tasks to complete):
[ ] Data Reuse Plan (if applicable):
[ ] Code of Conduct:
[ ] Personas:

Github repo: https://github.com/kdaily/shinyPathway
I'll be available from 9-5 in my local timezone on both June 2 and 3.


How to apply to other media?

Hello.  I'm using the xy2rgb notebook.  It is creating some of the most beautiful, stunning images I have ever seen.  I'm wondering why and how it does this.  Can you explain in a semi-layman's terms please?  And would I be able to apply that same methodology to other media, like music?
Thank you.

There's a detailed paper covering it here: https://distill.pub/2018/differentiable-parameterizations/
Unfortunately, generalizing it to other media would be a significant research problem.


Add dependencies to NPM

And use node_modules where-ever possible. Not dropping Bower support yet.
Should now be able to use NPM for everything, except for:

Polymer #222
React.Animate for focusNode animation #318

Should we also remove those deps from bower.json?

@bergie no that will break projects which use the-graph via bower. First we mark that as deprecated, then get everything working on NPM, then in the future we can remove bower


why not preprocess wav to fbank before train speaker embedding? it is too long that training while processing

We use raw audio files as the input for speaker embedding training because we don't have enough space to save the intermediate features. Different from TTS, speaker verification requires a massive scale of data (more than 1000h) for good performance. More data needs more space. If your server has enough space for storing fbank features, I suggest you preprocess and use the other dataloader.


Allow global options for the validate function

Right now there is no convenient way to pass global options to the validate function from validatejs. Example: I want to set the fullMessages option to false so I can use i18n on the error messages.
I think a good way to implement it would be to add an optional options argument to the Validator class constructor (also maybe as an argument to the exported configure function so we can pass it to the Validator instantiation).
Ex:
export function configure(config, options) {
  config.container.registerInstance(ValidatorInterface, new Validator(options));
}

internationalization support was improved in the last release- check out the docs


How to go to the beginning of line?

0 didn't go to the beginning of line as expected,
now it have the same behaviour as ^, which moves the cursor to the beginning of first non-blank character of the line

Yeah.. I have noticed this too.
Seems to be happening because of the basic.vim file in ~/.vim_runtime/vimrcs. However, I havent figured out which line is causing this.
I dont often need to go to the 0th character.. but if I do, I just use h to navigate to that character.

I found the line cause this, but I just don't understand why this mapping is needed.
basic.vim line 287:
" Remap VIM 0 to first non-blank character
map 0 ^

Oh ok.. thanks for pointing that out.
@amix , is there a reason to map 0 to ^? Wondering how it helps you?

@alphaCTzo7G It's just not very often I need to go at the actual beginning, I find it much more useful to go to the first non-whitespace char.

I just ran into this same issue, and figured that even though the issue was closed long ago, I'd offer some workarounds for anyone who stumbles upon this issue in the future:
Go With The Flow
If you want to embrace @amix's preferences, you can use other means to get to the beginning of the line while in command mode:

| or 1|: by itself, | will take you to the beginning of the line.  More generically, you can enter a number first to go to a specific column (e.g. 17| goes to the 17th column).  Note that "columns" are computed using your specified tab width.  So if you set ts=8, then 1| - 8| will take you to the tab character at the beginning of the line.
g0: go to the beginning of the physical line on the terminal (differs from | only when lines are wrapped)

Revert To Standard Behavior
If you want the original behavior where

0 takes you to the beginning of the line
^ takes you to the first non-blank character on the line

then update ~/.config/nvim/my_configs.vim to undo the mapping:
" restore standard behavior for moving to beginning of line via '0'
unmap 0


adding Z Support on quay-operator [ Do not merge . Still Under progress ]

Changes done:
1 Makefile
2. hack/build.sh  ( Updated image tag for quay , clair , quay-builder , quay-builder-qemu , redis , postgressql)
3. Update CI github workflow
Tested -

Brought up quay-operator on OCP
Brought up quay-registry instance & all pods come up successfully
Mirror is being set as false currently for testing part ( as it will be supported in another PR )
Loged in to quay UI ( regsitry endpoint api )
Pushed image  & validated whether clair is scanning the image succesfully
Run e2e test case well on Z as suggested on makefile

Note: Github Workflow for build and publish will be done in separate PR

Please do review , as we add the pending part

@dmage Please review the changes.
Github workflow for build and publish will be handled in separate PR


Migrate Legacy Export/Support Services to Gorilla MUX

Per issue #962 we want to standardize all services on Gorilla MUX v1.6.2 to enable capabilities planned for the new year. The current export-client/distro and support-logging/scheduler services use github.com/go-zoo/bone as their router and should be changed so that common patterns can be used across all services in the edgex-go repo.

Currently support-logging and support-scheduler use github.com/go-zoo/bone. If I'm not wrong, they also should be migrated to Gorilla MUX.

Oh, right you are. I will modify the issues accordingly. Thanks.

I will work on it


SINK => $resource corrupts resource

When passing in resource as sink the resource is "corrupted" after request has finished.
$resource = fopen($download_path, 'w');
$this->client->request('GET', $path, [GuzzleOption::SINK => $resource]);

The resource before:
stream resource {@450
  timed_out: false
  blocked: true
  eof: false
  wrapper_type: "plainfile"
  stream_type: "STDIO"
  mode: "w+"
  unread_bytes: 0
  seekable: true
  uri: "[CUT OUT]"
  options: []
}

The resource after:
Unknown resource @450

And I'm now unable to do anything to the stream fclose, rewind, etc.
fclose(): supplied resource is not a valid stream resource

PHP 7.0.8
Guzzle 6.2

Guzzle takes ownership of the resource and stores it in the response body. You need to change your code to utilize the response to ensure that the response is not garbage collected (and therefore the resource you passed in stays alive):
$resource = fopen($download_path, 'w');
$response = $this->client->request('GET', $path, [GuzzleOption::SINK => $resource]);
// Do something with the response.
$response->getBody()->getContents();
// Detach the response body resource....
$response->getBody()->detach();
// Now you can use the original resource.
fclose($resource);

@mtdowling that makes sense. Thanks


Updating readme to include solargraph documentation

Helps understand solargraph to someone that has never heard about it or used it. Adding some links to their documentation and official extension

Thanks @ehtd 👍 .  This will make a great base to expand out sections on Solargraph and the different editor setups.  Thank you.


Can't find Endpoint Explorer in Visual Studio 2022

Hello,
This document tells me that there must be a Preview Feature in Visual Studio 2022 (from 17.6 Preview 6) called the Endpoints Explorer. That sounds pretty cool to me, so I want to use this.
But I cannot find it, not in the regular Visual Studio and also not in the Preview version of VS.
I read that there should be an option that you can enable, because the feature is still in preview, but I also cannot find that feature flag underneath Environment > Preview Features.
I also cannot find the tool-window underneath View > Other windows.
Is this still an experimental feature? Did the experiment not reach the finishing line?
I can hardly imagine, because this sounds like a cool new feature.
Please update the documentation to the current situation of this Endpoints Explorer (aka Web API Endpoints Explorer) feature.

Documentdetails
⚠ Dit gedeelte niet bewerken. Het is vereist voor de koppeling learn.microsoft.com ➟ GitHub-probleem.

ID: 26f1374f-556a-35fc-cc42-b8911746db80
Version Independent ID: 26f1374f-556a-35fc-cc42-b8911746db80
Content: Use .http files in Visual Studio 2022
Content Source: aspnetcore/test/http-files.md
Product: aspnet-core
Technology: aspnetcore-test
GitHub Login: @tdykstra
Microsoft Alias: tdykstra

It was removed from Preview Features because it's no longer a preview feature. You should be able to see it by selecting View > Other Windows > Endpoints Explorer.

Thanks, I didn't see it there before but now I see it.


[Bug]: Freeze in fresh install at Installing Updates (BTRFS?)

Operating system
Arch
Description
The installation freezes during the Installing Updates phase.
I've tried a few things including:

local copy of .iso
no ENV parameters to simplify
MANUAL="Y" and manually trying to install

all fail
kvm is loaded and available
kvm-ok
egrep: warning: egrep is obsolescent; using grep -E
egrep: warning: egrep is obsolescent; using grep -E
INFO: /dev/kvm exists
KVM acceleration can be used

Add'l info:

Original install was attempted on BTRFS
Install succeeds when on non-BTRFS disk

Docker compose
services:
  windows:
    image: dockurr/windows
    container_name: win11
    devices:
      - /dev/kvm
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    stop_grace_period: 2m
    restart: unless-stopped
    environment:
      VERSION: "win11"
    volumes:
      - /opt/windows/win11:/storage

Docker log
❯ Starting Windows for Docker v3.14...
❯ For support visit https://github.com/dockur/windows
❯ CPU: Intel Core TM i7 14700 | RAM: 97/126 GB | DISK: 1905 GB (btrfs) | HOST: 6.6.48-1-lts...

❯ Requesting Windows 11 from Microsoft server...
❯ Downloading Windows 11...

     0K ........ ........ ........ ........  0% 6.73M 16m0s
 32768K ........ ........ ........ ........  0% 13.2M 12m2s
 65536K ........ ........ ........ ........  1% 17.1M 10m3s
 98304K ........ ........ ........ ........  1% 19.6M 8m52s
...
...
5865472K ........ ........ ........ ........ 88% 37.0M 18s
BdsDxe: failed to load Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0): Not Found
BdsDxe: loading Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
BdsDxe: starting Boot0001 "UEFI QEMU QEMU CD-ROM " from PciRoot(0x0)/Pci(0x5,0x0)/Scsi(0x0,0x0)
❯ Windows started succesfully, visit http://localhost:8006/ to view the screen...

Screenshots (optional)

Yeah I am having issues with the Windows 11 Pro and Enterprise Containers if I choose to install WSL2.  Fresh deployed Container that you then just do a "wsl --install" on and after reboot it is hung on the QEMU every time.  Tried the BOOT_MODE: "windows_secure" with it as well and no difference.
Tried the Windows 10 image and it was giving me activation issues (I know these are supposed to be evaluation but the Win 11 allows activation as does Windows XP and 7 so no idea Windows 10 did not).  Will try it again to test the WSL2 as that is really what I am wanting to accomplish as part of a user jumpbox for a Linux novice

Same result with Windows 10 VM and so i tried a mounted iso Windows 11 of my own and again as soon as I deploy it and everything comes up, if i install WSL2 and reboot it freezes up at that boot screen


Custom Header and Footer Layout Don't Work

Hi, I try to change the text John Doe and its subtitle Manager by using new layout and set it in the menu.xml but seems doesn't work...
I follow the instruction here https://github.com/psdcompany/duo-navigation-drawer/issues/14 but the header and footer still show the same text.
How to make it works?

Edit: Sorry it works, I edited the menu.xml but actually the menu is written directly in main activity xml, thanks

In your mainactivity create this function and call it.
public void letsee(UserUtil userUtil)
{
try
{
TextView userMenuName = findViewById(nl.psdcompany.psd.duonavigationdrawer.R.id.duo_view_header_text_title);
userMenuName.setText(userUtil.getName() + " " + userUtil.getSurname());
        TextView userMenuDesignation = findViewById(nl.psdcompany.psd.duonavigationdrawer.R.id.duo_view_header_text_sub_title);
        userMenuDesignation.setText(userUtil.getJob_role());
    }
    catch (Exception ex)
    {
        ex.printStackTrace();
    }
}


Cache signatures and sighash's in Checker

Makes a map of [serializedArgs => result] for getSigHash($script, $sigHashType, $sigVersion), and checkSig(script, sig, pubkey, sigVersion, flags) since checking signatures is done in a few places.
I avoided passing multisig scripts to the interpreter during extraction because we also need to sort signatures which requires verifications. It's better to have the interpreter do this, because other aspects of the script can be checked (with interpreter flags)
Since we evaluate during extraction, and also expose verify, and sometimes (multisig sorting) verifications are required, this seems a nice thing to have.

Now that Checker caches sigHashes / signatures, I've rewritten InputSigner::sortMultisigs to use the same extraction as OP_CHECKMULTIG (ie, tolerates missing sigs so long as they're all in order)
Next thing was to make extractFromValues call evaluateSolution whenever a multisig script is provided, and then call sortMultisigs making the sorting free.


How to use configmaps in etcd cluster manifest

Hi there, here is my current template for etcd cluster
apiVersion: etcd.database.coreos.com/v1beta2
kind: EtcdCluster
metadata:
  name: etcd-cluster
spec:
  size: 3
  pod:
    nodeSelector:
      name: etcd
  version: 3.1.8
  backup:
    backupIntervalInSecond: 300
    maxBackups: 5
    storageType: S3
    s3:
      s3Bucket: temp
      awsSecret: boto

How can I use a configmap field reference for s3Bucket? Could you show an example? Thanks!

We have examples: https://github.com/coreos/etcd-operator/blob/master/doc/user/spec_examples.md
For your specific question, let's say you have a S3 bucket named "wwyiwzhang", then the spec would be:
s3Bucket: wwyiwzhang

I think I figured out that. I wanted to use it as a configmap field reference. Something like,
"valueFrom": {
                  "configMapKeyRef": {
                    "name": "s3-bucket",
                    "key": "bucket-name"
                  }
                }

Is it possible?

@wwyiwzhang
So that's not possible today. It requires additional work and we haven't implemented the feature yet.
Probably submit another issue for feature request? Thanks!

Sure. I will submit another issue. Thanks!

I'm closing this since we don't have backup policy in spec anymore.


"Basic Game Loop" from supplied Win32 template results in invalid window regions after window resize

Before resize:

After resize:

Note the white border on the bottom and and right of the "after image."
I was running into this issue myself and decided to install the templates provided here. Surprisingly, it seems the template suffers from the same issue as seen above. My current workaround is to shift the window 1 pixel back-and-forth immediately after resize, but obviously I would prefer to understand the root cause for why this happens. I am encountering this issue on Windows 10 Pro 22H2 (build 19045.3208). Any ideas would be appreciated, thanks!

Is this a Win32 desktop application or a UWP?

I am unable to reproduce this behavior on Windows 11 (22621) with any of the templates.

I saw a post on reddit with the same behavior reported recently (although my search skills seem to be failing me at the moment). I'm assuming this must be a Windows 10 issue because I can reproduce it immediately with the template linked and no modifications on my end. In my case I'm using Nvidia's 536.40 driver (not that I imagine this to be all that significant).

I also am unable to reproduce this behavior on Windows 10 (19045) with any of the templates.
It could be a bug with some 'value-add' software thing on the system.

Hmm interesting, this is a relatively fresh developer machine, and I don't run "1337-gamer" software that I'm aware of, but I will double check, thanks for confirming.


Add Share Button, and Tested

Need to add new Button and Test it!

This will be not updated now, I need to develop other things first.


WSL 2 18.04 Ubuntu Install - SaltStack Errors

Hi
Tried installing WSL2 using 18.04 Ubuntu & hit into errors. Not very linux savvy, struggling to work my way round in addressing the problem.
I've attached grep searches of 'False' and 'ERROR' from the SaltStack log - please can you advise?
error.txt
false.txt
false2.txt

Hi @5iri5 , it looks like it might be an issue with Python 3 and keyrings / keyrings.alt. Could you provide the full saltstack.log for context?

saltstack.log
Attached

Hi @5iri5 , sorry for the delay in getting back to you. It appears that there were a few different issues during this install, which may have compounded. The first is an issue installing vivisect due to the pyasn1-modules not being uninstalled, then a couple of issues with git, and the NetworkMiner hash value was incorrect.
I'm working through each of these issues, and should have a solution today.

Hi @5iri5 , I've submitted a couple of pull requests which, once merged, should rectify your issues. I was unable to duplicate the git issues or the python keyring issue which came up, but I suspect they won't resurface. Once the new version is released, I would suggest trying it again, making sure that if you're using WSL 2, to use the --mode=addon command.

Thanks for the fixed, @digitalsleuth!
@5iri5, the version that includes @digitalsleuth's correction is now released. Please try your installation again.


Corrected offset in ZoomBlurEffect

Currently, when we use the zoom blur effect, the image fragments in a strange way (look at previous zoomblur2.png file, which I replaced).
If we change the offset to a PointD (which is treated differently by SimpleEffectDialog) and run the application, it becomes kind of obvious that any given axis of this offset was never meant to fall outside the [-1, 1] range.

Good catch 👍 this looks much better!


WebUI: Entering non-ascii into ban notes causes unicode error

Clearly a bot

14:35 < cdunklau> don't be afraid people, this is just a test https://gist.github.com/habnabit/3805075
14:35 < neuTrynaFreak> Title: one expression chatserver · GitHub (at gist.github.com)

Pasting this into the ban detail and submitting the form causes a crash.

I tried the following tests to reproduce this
import os.path
import unittest

from twisted.web.http_headers import Headers
from genshi.template import TemplateLoader

#from infobat import http

here = os.path.dirname(os.path.abspath(__file__))
infobat_dir = os.path.dirname(here)
source_tree_root = os.path.dirname(infobat_dir)
templates_dir = os.path.join(source_tree_root, 'web')

class IsolatedRenderGenshiTemplateTestCase(unittest.TestCase):
    def assertTemplateRenders(self, template_filename, **template_params):
        """
        Ensure that the template renders without an exception and
        produces a result at least 10 long.

        """
        template = TemplateLoader(templates_dir).load(template_filename)
        result = template.generate(**template_params).render(
            'html', doctype='html5', encoding='utf-8')
        self.assertGreaterEqual(len(result), 10)

#def renderTemplate(request, tmpl, **kwargs):
#    request.setHeader('Content-type', 'text/html; charset=utf-8')
#    request.write(tmpl
#                  .generate(**kwargs)
#                  .render('html', doctype='html5', encoding='utf-8'))
#    request.finish()

    def test_edit_ban_template_renders(self):
        channel = mask = mode = set_at = set_by = \
            expire_at = reason = unset_at = unset_by = u''
        unset_at = u'2016-09-14 12:08:32+00:00'
        reason = u'this person was bad'
        ban = (
            channel, mask, mode, set_at, set_by,
            expire_at, reason, unset_at, unset_by
        )
        self.assertTemplateRenders('edit_ban.html', ban=ban, message=None)

    def test_edit_ban_template_renders_with_nonascii_reason(self):
        channel = mask = mode = set_at = set_by = \
            expire_at = reason = unset_at = unset_by = u''
        unset_at = u'2016-09-14 12:08:32+00:00'
        reason = u'this person was bad and used a dot: \u2022'
        ban = (
            channel, mask, mode, set_at, set_by,
            expire_at, reason, unset_at, unset_by
        )
        self.assertTemplateRenders('edit_ban.html', ban=ban, message=None)

I expect the second test to cause a similar UnicodeDecodeError as seen live on the site, but both tests pass. However, if I change reason = u'this person was bad and used a dot: \u2022' to reason = u'this person was bad and used a dot: \u2022'.encode('utf-8') instead, the following trace occurs, which is nearly the same as what we saw live on the site:
[ERROR]
Traceback (most recent call last):
  File "/usr/local/var/pyenv/versions/2.7.12/lib/python2.7/unittest/case.py", line 329, in run
    testMethod()
  File "/Users/cdunklau/Development/infobob/infobat/tests/test_http.py", line 55, in test_edit_ban_template_renders_with_nonascii_reason
    self.assertTemplateRenders('edit_ban.html', ban=ban, message=None)
  File "/Users/cdunklau/Development/infobob/infobat/tests/test_http.py", line 25, in assertTemplateRenders
    'html', doctype='html5', encoding='utf-8')
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/core.py", line 184, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/output.py", line 57, in encode
    return _encode(''.join(list(iterator)))
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/output.py", line 475, in __call__
    for kind, data, _ in stream:
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "/Users/cdunklau/Development/infobob/venv/lib/python2.7/site-packages/genshi/output.py", line 786, in __call__
    text = escape(pop_text(), quotes=False)
exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 36: ordinal not in range(128)

@habnabit removed the offending character from the database and the pages started working again.
This will require some deeper investigation. Since I can't reproduce this with unicode, I suspect that at some point between retrieval and rendering, the reason (which should be unicode, from sqlite) gets encoded to bytes. Perhaps adbapi is doing some strangeness?

And I just spotted it. https://github.com/pound-python/infobob/blob/3abbab4c2290ea070eb16f6cf41144cfc558b558/infobat/database.py#L48-L49 sets the sqlite text factory to str, so the template does indeed get called with bytes.

Fixing this will be tricky, mainly because we can't be sure that the bytes we get from IRC are in any particular encoding. Most of the time, it's probably UTF-8, and the encoding of certain things we get from the server (nicks, hosts, etc) are likely even more predictable, but the uncertainty is there and should be somehow dealt with.
The first step needs to be writing as many tests as possible, at least for the web side.
An interim solution for this specific issue could just be to decode strings from the db with UTF-8 before handing them to the template... but that's a stopgap measure at best.


WIP: Improve psk handling

This closes #96 given that you have either aiocoap or libcoap installed.

Coverage decreased (-3.3%) to 59.912% when pulling da2f34d8b18ad531f3b5c02fa14532a8373ad738 on improve_psk into 4ba3f795c217e9112389528671584da94b12d589 on master.

Coverage decreased (-3.9%) to 59.351% when pulling bf43ec23b2eed721e79029e6c0f89fc419bb173e on improve_psk into 4ba3f795c217e9112389528671584da94b12d589 on master.

Coverage decreased (-2.06%) to 59.416% when pulling 89b63c40fe3843c9b90b93fe145481720b01def5 on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.

Coverage decreased (-2.06%) to 59.416% when pulling 0c749fbbeab3fca92e6b60d8b105ee6c6188bad2 on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.

Coverage decreased (-2.06%) to 59.416% when pulling 0c749fbbeab3fca92e6b60d8b105ee6c6188bad2 on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.

Coverage decreased (-2.06%) to 59.416% when pulling f5c82f29fa6373f5b23d340c42b77b2847ded28f on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.

Coverage decreased (-2.06%) to 59.416% when pulling 10df4e83a8c8cd65c884715255e6634d2450c685 on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.

Coverage decreased (-2.06%) to 59.416% when pulling 10df4e83a8c8cd65c884715255e6634d2450c685 on improve_psk into a07677598d02152c5e927388e6797d2b09570a2a on master.


Add Gautam Buddha University

@samar323 First stage of verification passed, official domain for GAUTAM BUDDHA UNIVERSITY is gbu.ac.in as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@samar323 Pull request merged. Please start requesting the licenses in about an hour, to let the changes to propagate through our system. Thank you.


TypeScript support

Would be lovely to have some docs about how to use this with TS. I'm new to this, but here's a start...
/types/react-snapshot/index.d.ts
declare module 'react-snapshot' {
}

Dose any one try this website ? it has a snippet for adding the library with typescript.

I will try to find time and prepare PR to get it through the @types/react-snapshot

Just pasting the above-mentioned workaround here for posterity:

In your ./src/react-app-env.d.ts, add the following

declare module 'react-snapshot' {
  import * as ReactDOM from 'react-dom';
  var render: ReactDOM.Renderer;
}


doc: removed hierarchyBone, changed to Python 3.10+ and removed wiki and community landing page

Made some smaller changes in the documentation. Removed  the hierarchyBone and some text changes.

@ClaudiaSollinger please check for the correct base branch when creating pull requests. This PR is going to become a develop PR. PRs based on main are only reserved for hotfixes.

I will delete this pull request because we changed how we do it

Hello @ClaudiaSollinger, you did some work within this PR, why to throw it away? I gonna reopen the issue and would like to ask you for remove the PR's draft state.


Cannot open Doido Engine on Linux

Describe your problem here.
I don't really know why is doing this. Do i am missing something?
Here is a logs if you need
Called from hxcpp::__hxcpp_main
Called from ApplicationMain::main ApplicationMain.hx line 26
Called from ApplicationMain::create ApplicationMain.hx line 35
Called from ManifestResources::init ManifestResources.hx line 71
Called from openfl.text.Font::registerFont openfl/text/Font.hx line 251
Called from Type::createInstance /opt/hostedtoolcache/haxe/4.3.3/x64/std/cpp/_std/Type.hx line 90
Called from __ASSET__OPENFL__assets_fonts_pixel_otf::new ManifestResources.hx line 535
Called from openfl.text.Font::new openfl/text/Font.hx line 60
Called from lime.text.Font::new lime/text/Font.hx line 97
Called from lime.text.Font::__fromFile lime/text/Font.hx line 464
Error : Invalid UTF16

Here is a image in case if image is better. Opened and runned directly from terminal

What is your build target?
Linux
Did you edit anything in this build? If so, mention or summarize your changes.
No, i didn't. Downloaded the frash release build from

Interesting... what distro is this?

Interesting... what distro is this?

Base Arch Linux with KDE 6.2.0 installed (I use Arch btw)

Interesting... what distro is this?

Base Arch Linux with KDE 6.2.0 installed (I use Arch btw)

Also i figured out it can be the latest Lime with UTF thing

The build is working for me on Ubuntu 24.04.1 LTS, both opening it from the file manager and from the terminal, so maybe lime has issues running on Arch, which I currently have no way to test it on, so i'm afraid i wont be able to resolve this myself. Maybe you should try building the mod yourself if possible?

The build is working for me on Ubuntu 24.04.1 LTS, both opening it from the file manager and from the terminal, so maybe lime has issues running on Arch, which I currently have no way to test it on, so i'm afraid i wont be able to resolve this myself. Maybe you should try building the mod yourself if possible?

...
Yeah, i should manually compile your engine then..
But thank you anyways


need to document the release process

let's add a file explaining how to release the mod to Steam.
is some build stage required? validation, compilation, etc?
do you have to use Civ 6 Development Tools / Workshop uploader UI? are there any scripts that we can set up in Jenkins? etc
I launched the Workshop Uploader  on Win 10 and it consistently crashes when I open the current CQUI modinfo file.

@Azurency  hey, can you please share a few notes?

User named skrepsky found an issue with an XML comment, posted a pull request to the version in my repo.  I integrated that change (it was literally <! -- instead of <!-- ... it was surprising it didn't tank the game).
I am in the process of putting together the artifacts from the Workshop posting, and will post it to my steam workshop page for review.  I will also post a PR here with that stuff.
I am going to explore whether or not we need to change the mod ID guid in order to publish it.  My guess is that we need to do so.

I created a PR, which includes info on the release process.  I also uploaded the game to steam (https://steamcommunity.com/sharedfiles/filedetails/?id=2115302648).  I'm curious if I can list you as a contributor and have you also do an upload, which would affect the same published workshop item.  I'm not positive we can have multiple folks have the ability to do uploads, but it would be nice.

thank you for fixing the mod and uploading it! this affects hundreds of people. do you want to create a post on Civfanatics forum with a link to the new plugin location on Steam?
I did not find any info on how to set up automated release process via scripts. we can use the Uploader UI for now. I would much rather prefer an automated Jenkins build that would

validate the changes (check syntax, compile files, whatever)
upload the required files
push a notification to proper channels, maybe including Civfanatics forum and such

I'm with you on that - automated updates, etc.  I'll go post a thread on CivFanatics and Reddit, and make a comment in the existing mod.


Innosetup.iss not found

I'm having a few issues with getting the Windows Installer to work. First off, the default install directories are under "Program Files," while the script looks under "Program Files (x86)" (an easy fix). But more seriously, I get the following error that prevents the installer form working at all:
Error on line 21 in C:\innosetup.iss: File not found.

I'm sorry I'm taking so long to fix this, but I'm considering a partial rewrite of the script. I hope I'll fix this on the way.


[CON-224] /edit doesn't acknowledge highlighted code after retrying

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS:Mac
- Continue:0.9.91
- IDE:VS Code

Description
Retrying an /edit slash command leads to Continue thinking that no code is highlighted. This is probably related to the way that state is managed in Redux. You can see where the error is thrown here, so following this variable backward will lead to the root cause
https://github.com/continuedev/continue/assets/33237525/b0415256-1657-4543-a564-46cc2128e668
To reproduce

Highlight code
Type something like "/edit add comments"
Let it run, then close the diff window
Try to edit the original message and press enter again

Log output
No response
CON-224

Hey @sestinj i would like to work on this bug, could you please assign this to me.

Absolutely! And let me know if I can help

Sure 👍


Assistance please: getting property not found parsing error,

based on the INO example,
set up ok
device on line ok,
基于 INO 示例，
设置确定
设备在线确定，
reading the Device Log (Cloud run log)
阅读设备日志（云运行日志）
{"id": "123","version": "1.0","params": {},"method": "thing.event.xxx.post"}
{"Content":"Publish message to topic:/sys/a1RPb9ZIzak/QT1_80003/thing/event/xxx/post,QoS=0"}
{"id":"123","version":"1.0","method":"thing.event.property.post","params":{"CurrentTemperature":30}}
i get the error
我得到的错误
{"Params":{"CurrentTemperature":30},"ResultData":{"CurrentTemperature":"5092 - property not found"},"Reason":"tsl parse failed"}
has a status 6332 .
clearly I am misunderstanding something in the setting.
However, I am located in Australia, and the REGION_ID is Shanghai ? is that an issue.
显然，我误解了设置中的东西。
然而，我位于澳大利亚，REGION_ID是上海？这是一个问题。
Thank you very much ..  :)
Terence .

had more progress on the TSL config, and now posting data,


 Double check your code, your preview URL should match the preview in the tutorial.

whats missing? Preview and my page looks same.


Add stats for recovered persons

Maybe use this: https://covid19.mathdro.id/api/recovered
https://github.com/mathdroid/covid-19-api

Can you deliver this data via your prometheus DB?

That is the plan, yes.

any updates on this?

This query should give you the results: sum(cov19_world_recovered) by (country)

thanks!


Brakeman travis

Add Security Analyzer Brakeman to our continuous integration stack

Creating separate pull request and new branch basing off dev branch


[WFCORE-4486] Support for multiple security realms - Failover

https://issues.redhat.com/browse/WFCORE-4486
requires ELY-1902 https://github.com/wildfly-security/wildfly-elytron/pull/1354

Core - Full Integration Build 9377 outcome was FAILURE using a merge of 031ad9f7471db654c9bbe744c1daec5f704f67cd
Summary: Compilation error: Compiler (new) Build time: 00:01:00

Core - Full Integration Build 9382 outcome was FAILURE using a merge of 031ad9f7471db654c9bbe744c1daec5f704f67cd
Summary: Compilation error: Compiler (new) Build time: 00:01:51

Core - Full Integration Build 9378 outcome was UNKNOWN using a merge of 43a745acdd50e6a6199527697a2681ce99d42e3e
Summary: Canceled (Error while applying patch; cannot find commit 11b5387c2ee8bc3dfe6e60ee7c1d15351f90b51d in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:23

Core - Full Integration Build 9383 outcome was FAILURE using a merge of 43a745acdd50e6a6199527697a2681ce99d42e3e
Summary: Compilation error: Compiler Build time: 00:00:41

@fjuma I've added the 12.x label to this feature PR as it will not make it into WildFly 19. Is that correct?

That's correct, this one is targeting WildFly 20. Thanks, @jmesnil.

Core - Full Integration Build 9436 outcome was UNKNOWN using a merge of fe3fc2af414832aa5fda63d899e4c23ea93a866d
Summary: Canceled (Error while applying patch; cannot find commit aa73a5f5fb9230b203e025befa61a92214e8b476 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:22

Core - Full Integration Build 9438 outcome was UNKNOWN using a merge of fe3fc2af414832aa5fda63d899e4c23ea93a866d
Summary: Canceled (Error while applying patch; cannot find commit aa73a5f5fb9230b203e025befa61a92214e8b476 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:24

Core - Full Integration Build 9437 outcome was UNKNOWN using a merge of e078436b1ba54f7c65d67a6a1f60783054dc7d4c
Summary: Canceled (Error while applying patch; cannot find commit ba2e346c104b3d37c3dd70ebed39d3fcdbb0196c in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:18

Core - Full Integration Build 9439 outcome was UNKNOWN using a merge of e078436b1ba54f7c65d67a6a1f60783054dc7d4c
Summary: Canceled (Error while applying patch; cannot find commit ba2e346c104b3d37c3dd70ebed39d3fcdbb0196c in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:25

Core - Full Integration Build 9440 outcome was FAILURE using a merge of e078436b1ba54f7c65d67a6a1f60783054dc7d4c
Summary: Compilation error: Compiler Build time: 00:02:11

Core - Full Integration Build 9438 outcome was FAILURE using a merge of e078436b1ba54f7c65d67a6a1f60783054dc7d4c
Summary: Compilation error: Compiler Build time: 00:02:19

Core - Full Integration Build 9599 outcome was UNKNOWN using a merge of 8d7e95b04cb6582920d92482f67d373bcb5aafb8
Summary: Canceled (Error while applying patch; cannot find commit 82168a38a3f34cbc0089ddf70d24f196b56f4e94 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:22

Core - Full Integration Build 9620 outcome was UNKNOWN using a merge of 8d7e95b04cb6582920d92482f67d373bcb5aafb8
Summary: Canceled (Error while applying patch; cannot find commit 82168a38a3f34cbc0089ddf70d24f196b56f4e94 in the https://github.com/wildfly/wildfly-core.git repository, possible reason: refs/pull/4082/merge branch was updated and the commit selected for the ... Build time: 00:00:19

Core - Full Integration Build 9602 outcome was FAILURE using a merge of 8d7e95b04cb6582920d92482f67d373bcb5aafb8
Summary: Compilation error: Compiler (new) Build time: 00:01:52

Core - Full Integration Build 9622 outcome was FAILURE using a merge of 8d7e95b04cb6582920d92482f67d373bcb5aafb8
Summary: Compilation error: Compiler (new) Build time: 00:01:37

@nekdozjam The Elytron subsystem bump for WildFly 21 has been merged so whenever you get a chance, this PR will need to be ported to the new version.

Core - Full Integration Build 9770 outcome was FAILURE using a merge of 01fa275ca75e91aa84fcf0c0d4d16108fdca6331
Summary: Exit code 1 (Step: Build & test core (Maven)) (new) Build time: 00:00:41

Core - Full Integration Build 9808 outcome was FAILURE using a merge of 01fa275ca75e91aa84fcf0c0d4d16108fdca6331
Summary: Exit code 1 (Step: Build & test core (Maven)) (new) Build time: 00:00:18

Core - Full Integration Build 9771 outcome was FAILURE using a merge of fb9b12c7671f7ffa6099fc5e7b307fe312f7cfb1
Summary: Compilation error: Compiler (new) Build time: 00:01:26

Core - Full Integration Build 9809 outcome was FAILURE using a merge of fb9b12c7671f7ffa6099fc5e7b307fe312f7cfb1
Summary: Compilation error: Compiler (new) Build time: 00:02:13

Core - Full Integration Build 9783 outcome was FAILURE using a merge of ea95a5d41e477240b1c9dff2955eee38bec2c8f6
Summary: Compilation error: Compiler (new) Build time: 00:01:23

Core - Full Integration Build 9824 outcome was FAILURE using a merge of ea95a5d41e477240b1c9dff2955eee38bec2c8f6
Summary: Compilation error: Compiler (new) Build time: 00:02:39

Core - Full Integration Build 9846 outcome was FAILURE using a merge of d1ed382c692c9348eda2441aa8e7134fbb410a60
Summary: Compilation error: Compiler Build time: 00:01:18

Core - Full Integration Build 9886 outcome was FAILURE using a merge of d1ed382c692c9348eda2441aa8e7134fbb410a60
Summary: Compilation error: Compiler Build time: 00:02:41

Core - Full Integration Build 9895 outcome was FAILURE using a merge of 73565d4118160df5085290d3e35003152e2345ce
Summary: Compilation error: Compiler Build time: 00:01:33

Core - Full Integration Build 9852 outcome was FAILURE using a merge of 73565d4118160df5085290d3e35003152e2345ce
Summary: Compilation error: Compiler Build time: 00:01:36

/retest


Opt-into MSBuild -graph param for the CI pipeline

This adds the -graph MSBuld parameter in the CI pipeline. This parameter causes MSBuild to evaluate the dependency graph and build "bottom up" instead of "top down". This can lead to better machine utilization since all dependencies are known up front and can start immediately, as opposed to being discovered just-in-time as a project needs them.
In practice for this repo I did not see a huge impact, but it may be helping a little so why not.

Any reason to not have these in release.yml too?

https://github.com/microsoft/PowerToys/blob/main/.pipelines/release.yml

ultimate goal would be to have release and CI be pulling from same same files with arg diffs


feat: Add start offset to nongs

A lot of the time songs don't sync well when adding them. either because the new song's mp3 has an intro, the level put a weird start offset(like slaughterhouse), or any other reason.
For example with Slaughterhouse, the song starts with an offset of 35 seconds. That makes it hard to replace it with remixes and people have to create MP3s like this to get around this.
I see this a lot in Auto Nong. Because most of the audio files are downloaded directly from Youtube(which a lot of the times has an intro for songs), the only preprocessing that we can make on the mp3 is on device, and that could get very complicated and requires heavy dependencies.
I also believe this feature will make it a lot more convenient to sync custom songs in general.

still need to test roptop songs

I don't know exactly how fmod works, but this shouldn't affect stuff like song trigger, right?

I don't know exactly how fmod works, but this shouldn't affect stuff like song trigger, right?

It does affect song triggers (and I believe it should). If you set a song in jukebox to start at 30 seconds, it should start at 30 seconds everywhere in the game.

I don't know exactly how fmod works, but this shouldn't affect stuff like song trigger, right?

It does affect song triggers (and I believe it should). If you set a song in jukebox to start at 30 seconds, it should start at 30 seconds everywhere in the game.

So, if you have a song trigger that has a start at 5 seconds, and a jukebox delay of 30 seconds, does the song start at 35 or 30? Just want to confirm.

I don't know exactly how fmod works, but this shouldn't affect stuff like song trigger, right?

It does affect song triggers (and I believe it should). If you set a song in jukebox to start at 30 seconds, it should start at 30 seconds everywhere in the game.

So, if you have a song trigger that has a start at 5 seconds, and a jukebox delay of 30 seconds, does the song start at 35 or 30? Just want to confirm.

35 seconds

still need to test roptop songs

Oh. You can't even set an offset for robtop songs.. can't even select them in a song trigger.
That makes it a bit difficult to set a custom offset to a song that replaces a robtop song

should be working fine now for replacing ng songs, library songs, and robtop songs. Not sure about SFX.
will do more testing in a few hours when im home

Jukebox doesn't do SFX replacements, don't check that

Jukebox doesn't do SFX replacements, don't check that

xD I just realized that. I thought Golden Hope's 420 song is a sfx, but apparently not 🤒

There is some weird behavior when the resulting start offset(after adding the usual offset and adding the nong's offset) is smaller then 0. it plays normally but doesn't reset when the dying/restarting. I've seen levels that have this bug and I think that's how they do it...
If the resulting start offset is bigger than the song's length then the same thing happens.
I don't know if it should be fixed since that's the default behavior in GD(Though not through the editor it seems). And constraining the time not to go above the song's length might be tricky...
other than that.. I think this PR works fine

Need to fix conflicts and fix for 2.206

song triggers didn't work correctly for 2.206. fixed with hooking queueStartMusic as well but needs https://github.com/geode-sdk/bindings/pull/561 merged

PR for queueStartMusic binding merged

Just got back home. Took another look at the code. Won't this break with multi asset levels? Since I see you're setting a manager member in the GJGameLevel hook. This probably has the effect of it not working on levels with multiple songs.

Whoops fixed Level Name and made some conflicts, sorry!

np fixed the conflict

Just got back home. Took another look at the code. Won't this break with multi asset levels? Since I see you're setting a manager member in the GJGameLevel hook. This probably has the effect of it not working on levels with multiple songs.

yeah it works with level with multiple songs. it works because getAudioFileName or pathForSong(functions that set m_currentPlayingSong)  are guaranteed* to be called before queueStartMusic and setMusicTimeMS(functions that use m_currentPlayingSong).
I did it this way because the only information we have in queueStartMusic and setMusicTimeMS is the path of the audio file and not the id. So I had store the SongInfo object while I still had access to it. Otherwise we'd have to search for the Jukebox SongInfo object with the audio file path(can cause conflicts if there are multiple SongInfo objects with the same audio file path*)
[*] guaranteed as in I've never encountered a case(both in game and in decompilation) where one of the functions aren't called before
[*] I don't know if it's possible in Jukebox, but it could happen in Auto Nong..

Jukebox has unique filenames already. Searching through all of the nongs would be quite the computation so this is fine i guess. It's just that the variable name isn't really descriptive. Maybe something like m_currentlyPreparingNong?

Jukebox has unique filenames already. Searching through all of the nongs would be quite the computation so this is fine i guess. It's just that the variable name isn't really descriptive. Maybe something like m_currentlyPreparingNong?

done

Alright, I think this should be good to merge, sorry for being a little bit too cherry-picking.


Created docs/session_2/04_loading_data.ipynb. Added Scripts directory from the deafrica-sandbox-notebooks repository (for load_ard()).

Trello card: https://trello.com/c/qKNiURum/6-week-2-example-load-data-for-sentinel-2-and-landsat
Some content was borrowed from the loading data beginner's notebook. That notebook and the Using_load_ard notebook are linked to in this one.
Do we prefer to access the DEAfrica Scripts directory in a manner other than directly including a given state of it in this repo, as is done in this current commit? Do we want to make the Scripts directory its own repo and include it as a Git submodule both here and in the DEafrica notebooks repo?

Based on the build logs, it looks like something may be failing to install.

I don't understand why the first check is failing. The docs build successfully locally.

@eefaye I fixed and removed some links. Links to notebooks which are in the running sandbox environment are broken in the generated HTML, so those were removed.
I left the RGB section since it was mentioned in the Trello card, but I did incorporate your suggestion for this document from the 05_rgb pull request. I think providing a glimpse into the next section is a little more engaging and shows the users what the loaded data "looks like" as an image, so I think it's fine to keep it, but if you still want to remove it, feel free to.


v5.2.0

Codecov Report

Merging #178 into master will decrease coverage by 0.71%.
The diff coverage is 10%.

@@             Coverage Diff              @@
##             master     #178      +/-   ##
============================================
- Coverage     19.61%   18.89%   -0.72%
+ Complexity       75       72       -3
============================================
  Files            58       58
  Lines          2126     2159      +33
  Branches        188      195       +7
============================================
- Hits            417      408       -9
- Misses         1690     1732      +42
  Partials         19       19

Impacted Files
Coverage Δ
Complexity Δ

src/main/java/com/conveyal/taui/models/Region.java
75% <ø> (-8.34%)
3 <0> (-2)

...n/java/com/conveyal/taui/persistence/MongoMap.java
17.5% <0%> (-5.79%)
6 <0> (-1)

src/main/java/com/conveyal/taui/models/Bundle.java
17.85% <0%> (-5.96%)
0 <0> (ø)

...java/com/conveyal/taui/models/AnalysisRequest.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...m/conveyal/taui/controllers/GraphQLController.java
60% <0%> (-3.27%)
2 <0> (ø)

...conveyal/taui/controllers/TimetableController.java
97.67% <100%> (+0.05%)
10 <0> (ø)
:arrow_down:

...om/conveyal/taui/controllers/BundleController.java
8.66% <2.63%> (-1.92%)
2 <1> (ø)

...m/conveyal/taui/controllers/ProjectController.java
11.76% <50%> (+0.92%)
1 <1> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Failed to resolve: com.github.joielechong:countrycodepicker:2.1.6

Error:(34, 20) Failed to resolve: com.github.joielechong:countrycodepicker:2.1.6
Show in FileShow in Project Structure dialog

Please try using the latest version: 2.1.8

@joielechong thansk for updates) is it possible to customize the string: select_country

I think this should be closed. @Akhrorjon: I've answering your question in issue #18. So, I'll close this issue then ;)


Possibility to set log level to potentially big messages by Page Should Contain

Originally submitted to Google Code by Magnus.Smedberg on 25 Feb 2010

When the keyword "Page Should Contain" fails, it will log the entire
webpage's html code in the log (and report) of RF.
Since a lot of webpages contain a lot of html source, the log of a failing
case can become quite large. And if there are more than a few cases that
fail, the log quickly becomes very large.
To me, it makes more sense to log this at DEBUG level instead. That way,
you can still get it if you want it.

Originally submitted to Google Code by @pekkaklarck on 26 Feb 2010

Probably the best idea is to make it possible to set the log level as an optional
argument. INFO might still be a good default value.

Originally submitted to Google Code by @khusa on 28 Feb 2010

Implemented in r449.

Originally submitted to Google Code by @pekkaklarck on 1 Mar 2010

This was implemented by adding the log level.

Originally submitted to Google Code by @pekkaklarck on 1 Mar 2010

Hmm, the new argument isn't documented. Could you still add that?

Originally submitted to Google Code by @khusa on 1 Mar 2010

Yes we can. Documentation added in r454.

Originally submitted to Google Code by @pekkaklarck on 2 Mar 2010

I enhanced the doc slightly in r455.
I also noticed that other Page Should Contain X keywords have optional message
argument. Should we add that to this keyword too? If yes, and we want the signature
to be  test, message=, level='INFO', we should add it now.


drivers/sensor: add support to IIS2DLPC accelerometer sensor

The IIS2DLPC is a 3D digital accelerometer ultra-low power sensor
for industrial applications, which can be interfaced through either
I2C or SPI bus.
https://www.st.com/resource/en/datasheet/iis2dlpc.pdf
This driver is based on stmemsc i/f v1.02
NOTE::
Driver tested using x_nucleo_iks02a1 (not yet submitted)

Maybe better to add the test to build it

@erwango
Any feedback?

@erwango do you want to take a look at this one before it gets merged? Btw, I just triggered a re-run of Shippable since it was a month ago when it last happened.


Introduce LuckyWeb::AllowedInTags for HTML tags

Until now we only did allow Strings for content in HTML tags. Since
people do want to write Int32s and Int64 (and potentially other types as
well) to HTML, we created a new module called LuckyWeb::AllowedInTags.
This type is allowed for HTML tags and will be written to HTML with
to_s.
Closes #192

Glad you like it. I made the changes. 😄

Perfect! Thanks 🎉


Add support with 4.13 dev preview images p/z

Description

Adds 4.12 ppc64le and s390x ISOs for 4.13 dev preview testing, in parity with #111 and #115.
How was this code tested?

Did not test, am having some troubles with getting my assisted-service running.
Ok to let CI test?
Assignees

/cc @eliorerz
/cc @carbonin
/cc @osherdp
/cc @gamli75
Links

#111
#115
PR in assisted-service
Checklist

[x] Title and description added to both, commit and PR
[x] Relevant issues have been associated
[x] Reviewers have been listed
[ ] This change does not require a documentation update (docstring, docs, README, etc)
[ ] Does this change include unit tests (note that code changes require unit tests)

/assign carbonin eranco74

/approve

/hold per comment ^

Ah I see you already have https://github.com/openshift/assisted-service/pull/5005 opened

Switched all architectures to use 4.13 ec.3 dev preview images here and in the corresponding PR for assisted-service.

Thanks @osherdp!


9.0.3 release failed

Checklist

[x]  I am not using Home Assistant. Or: a developer has told me to come here.
[x] I have checked the troubleshooting section and my problem is not described there.
[X] I have read the changelog and my problem is not mentioned there.

Deploy method
Docker
Z-Wave JS UI version
9.0.3
ZwaveJS version
12.0.2
Describe the bug
The docker publish action for 9.0.3 has failed
To Reproduce
➜  ~ docker pull docker.io/zwavejs/zwave-js-ui:9.0.3
Error response from daemon: manifest for zwavejs/zwave-js-ui:9.0.3 not found: manifest unknown: manifest unknown

Expected behavior
Should pull =)
Additional context
No response

Seems release job failed for some unknown reason, I triggered the action again, thanks for the report. Feel free to open if this fails again:
https://github.com/zwave-js/zwave-js-ui/actions/runs/6351216064


net_buf_append_bytes() usage may cause a failed assertion

Describe the bug
Depending on the number of bytes provided as net_buf_append_bytes()'s it can allocate additional buffers under the hood. However, when the buffer pool is of type 'fixed' the default allocation method within this function calls net_buf_alloc_len() which tries to allocate a given number of bytes and it contains an assertion which checks whether the allocated size is bigger or equal to requested one.
#if __ASSERT_ON
		size_t req_size = size;
#endif
		timeout = sys_timepoint_timeout(end);
		buf->__buf = data_alloc(buf, &size, timeout);
		if (!buf->__buf) {
			NET_BUF_ERR("%s():%d: Failed to allocate data",
				    func, line);
			net_buf_destroy(buf);
			return NULL;
		}

#if __ASSERT_ON
		NET_BUF_ASSERT(req_size <= size);
#endif

For fixed buffer pools this assertion can be hit quite easily if the number of bytes provided to net_buf_append_bytes() fills more than 2 fixed buffers.
To Reproduce
The following snippet presents the test case:
NET_BUF_POOL_FIXED_DEFINE(fixed_pool, 4, 64, 0, NULL);

int test(void) {
        struct net_buf *buf;
        uint8_t data[256];

        buf = net_buf_alloc(&fixed_pool, K_NO_WAIT);
        net_buf_append_bytes(buf, sizeof(data), data, K_NO_WAIT, NULL, NULL);
}

Expected behavior
net_buf_append_bytes() should allocate multiple struct net_bufs without assertion.
Impact
Current implementation may cause unexpected faults, e.g. while processing data from the network.
Additional context
This issue has a workaround - user can provide allocate_cb argument while calling net_buf_append_bytes() and provide a custom allocator but one will probably find out after debugging this issue.

@konradderda good catch! Would you be able to submit a fix for this?

It was my idea at first but it's a bit tricky (if my understanding is correct):
The default allocation goes by:
                        /* Allocate from the original pool if no callback has
			 * been provided.
			 */
			pool = net_buf_pool_get(buf->pool_id);
			frag = net_buf_alloc_len(pool, len, timeout);

The net_buf_alloc_len() contains the assertion which is triggered when data_alloc() inside it returns less raw bytes than requested. At the moment, there is no way to determine that the given pool's type.
The possible solutions I am thinking off:

Change the public function net_buf_alloc_len() to provide a chain of buffers when needed (but it feels a little wrong)
Provide some kind of additional information - either like 'is_fixed' flag or an additional pointer to buffer allocation

@konradderda @jukkar I took a quick look at the related code. Perhaps struct net_buf_data_alloc needs another member to indicate the maximum size that can be allocated at one time, which would then be used by net_buf_append_bytes() to make decisions on how to fragment the buffers. I suppose that would also mean removing the data_size member from struct net_buf_pool_fixed, since it'd become redundant. Anyway, this is just my first thoughts after spending a short time analysing the issue.

@jhedberg  @jukkar I've opened the PR: https://github.com/zephyrproject-rtos/zephyr/pull/68413


augmented reality on webrtc

is there any way we can put augmented reality to the webrtc ? :D
so the AR will show to other that connect to a room hehehehe

Yes. I'm working on this concept very soon at SkyRooms.IO which is using this engine.

The same here ? did you find anything guys
Thanks

I too have been looking for resources and information on this subject. If you can't find anything and want to start a collab on this, let me know.

You can try https://threejs.org/
As a javascript overlay


How to address multiple PCA9535 ?

By looking supplied examples and reading library .h, I don't understand how to address multiple PCA95x5, at other addresses than default 0x20 .
I have four devices at 0x20, 0x21, 0x22 and 0x23 I would like to control attached to ESP (8266 or 32).
Can you help ?
Best regards,
M1larepa.

You can n do it by
ioex.attach(Wire, 0x21);

If you still need help, please feel free to reopen this issue.


Add missing method on RedisPipeline and BinaryRedisPipeline.

@PhantomThief thx for the PR. Now that we're doing this, maybe it's a good idea to add "@override" to the implementation functions?


Declare support for PHP 8.

I've checked the code against the PHP Compatibility Coding Standard for PHP CodeSniffer using the following command:
phpcs -p . --standard=PHPCompatibility --runtime-set testVersion 8.0
All looks good, and functions fine.

Thanks for merging so promptly! 👍


Faster Inference/Multiple Batch size during generate/inference?

Hi,
Is there any way I can speed up the inference procedure or increase the batch_size during inference?

Hi @rbhatia46,
We will add this option to generation config in next updates
For now you need to edit code here
We will also appreciate any help provided with this error, here you can find contribution guide.


Reduce and optimize Group rebuilds

🆕 Feature Request
❓ Is your feature request related to a problem?
If you have a very very big Group and you mutate its value.. it rebuilds the whole Group output on a single change which might result in performance leaks.
📄 Describe the solution you'd like
Rebuild the Group only if the built output is needed.. for instance when calling output, or items
📃 Describe alternatives you've considered
bad performance

Tried to optimize the group rebuilds in merge request #189.
But I was not yet able to make the group noticeably faster :/


the screenshot using page.render() has not a very high quality, need help.

Expected behavior
capture a very high quality image of a webpage using page.render(), it means the screenshot has a quality just as using iphone default screenshot tool.
Actual behavior
the screenshot I get using page.render() even I set the quality to 100 is a little bit blurry, That's disappointing.
Steps to reproduce the behavior
page.render(screenshotPath, {format: config.format, quality: config.quality});
Environment

OS:

mac osx

Node version (node -v):

v4.3.0

package version:

2.1.19

This sounds like a phantomjs bug. Have you tried to see what happens?

It may be related to the following issue (as of right now you can't set the device pixel ratio): https://github.com/ariya/phantomjs/issues/10964

Closing this ticket because there has been no response. We can reopen if needed.

HI, I also have the same problem with page.render(),  though I couldn't find an error reason.

Dear, Sorry for the late response,  maybe it is not a bug @amir20. It should be related to device pixel ratio, just like @elias-winberg said. So how can I set devicePixelRatio to 2 or 3 ? If I can reset the devicePixelRatio to a higher value, I think the screenshot will has a higer quality.


feat: Add optional feature to decompress encoded request body

This PR addresses #577
Because of Zip Bomb attacks this feature is disabled by default and should only be turned on when running httpbin locally as follows
docker run --env UNSAFE_BODY_DECOMPRESSION=1 -p 80:80 kennethreitz/httpbin
There are valid use cases where a server is going to receive payloads only from a trusted source that will be compressed and this can help testing around those.

Good idea


Vignetting filter for images

Hi !
A very simple, nice and useful image filter is vignetting. Would it be possible to add it to grav ?
The implementation is very easy : http://php.net/manual/fr/function.imagefilter.php#109809
This would require to fork the gregwar library, but as far as I understand Grav doesn't rely on gregwar releases anyway.
I just tried the changes locally and it works great.
What do you think ?

See https://github.com/Gregwar/Image/issues/137

We do still use Gregwar from composer. We were stuck on a specific commit, but i've now modified that to be just dev-master.  If you can get your function added to Gregwar it will get picked up by Grav.

For the record, I made a PR here : https://github.com/Gregwar/Image/pull/138
I hope it will get some attention as the repo doesn't seem very active...
I think if this gets merged, we'd still need to change system/src/Grav/Common/Page/Medium/ImageMedium.php to add vignette to $magic_actions


[Refactor] Rewrite RayCluster envtest

Why are these changes needed?
All tests in envtest couple together. This PR separates the old tests into 3 categories, autoscaling, static, and suspend. After this PR is merged, I will work on some tests for multi-host.
Related issue number

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[x] Unit tests
[ ] Manual tests
[ ] This PR is not tested :(

cc @rueian for review

cc @andrewsykim for the RayCluster suspend.

@rueian @andrewsykim I will merge this PR without your review to unblock my release process. If you have any comments, I will address them in the follow-up PRs.

@rueian @andrewsykim I will merge this PR without your review to unblock my release process. If you have any comments, I will address them in the follow-up PRs.

Sorry for the late reply, LGTM!

LGTM too!


Word: standard name (Japanese, English) on first body page uses wrong style

Now:

The correct style is: "規格名称"

The English style is also wrong:

It should be "規格名称（英語）". However, I think this style has been corrupted.
From an old TR, the style is this:

From the Metanorma-generated document, the style looks like this:

The current style is likely wrong.

Another comparison of new vs old styles (left and right):

Japanese standard name has already been fixed.
English standard name was fixed, but name was left ambiguous: fixed.


Different batch_size for different streams

🚀 Feature Request

Currently, the batch size for different streams are the same, it would be better to be able to configure them especially for cases with per_stream batching method.
Motivation

Considering the cases we have different types of data and we want to adjust the batch_size so as to maximize the GPU usage.
[Optional] Implementation

Additional context

If might be possible to mix two different dataloaders, but I wonder whether there is a recommended approach or even official support for that.

Hey @huxuan, currently per_stream batching doesn't support different batch sizes for different streams, and we don't plan to in the future because this would require heavy modification of the current partitioning logic, and can be supported through other means. For example, one thing you could do, as you mention, is use two dataloaders, get the iterators for them, and call next in a round-robin or random fashion. Another thing you could try is wrapping multiple streaming datasets in another IterableDataset, which could be something like this:
class MyDataset(IterableDataset):
    def __init__(self, local1, remote1, local2, remote2):
        self.dataset_1 = StreamingDataset(local1, remote1, ...)
        self.dataset_2 = StreamingDataset(local2, remote2, ...)
        self.step_index = 0

    def __getitem__(self, index):
        iter_dataset_1 = iter(self.dataset_1)
        iter_dataset_2 = iter(self.dataset_2)
        if self.step_index % 0:
            yield next(iter_dataset_1)
        else:
            yield next(iter_dataset_2)

Hope this helps!

Thanks for the response. The key problem is to maintain some features like fast resume, so it would be great to have some kind of official supported solutions. Maybe in the form of tests or documentation? Anyway, I will try the mentioned approaches and may come back with a more complete solution. Just close the issue now.


Typo alrady => already

Typo alrady => already

This has now been merged in the Extensions repo: https://github.com/aspnet/Extensions/pull/603


Support compilation to wasm target

Changes

added new wasm mod for supporting get and set API for wasi target.
get method for hostname will always returns static string wasihost - https://github.com/WebAssembly/wasi-libc/issues/196#issuecomment-620933143
set method for hostname is emulated

Hi, @mdrokz , thank you for your PR!
Yet, I do not understand the purpose of those changes: it does not returns actual hostname (due to linkage issue you mentioned) and set() function is a stub.
How can it be useful for crate users?

Hi, @mdrokz , thank you for your PR!
Yet, I do not understand the purpose of those changes: it does not returns actual hostname (due to linkage issue you mentioned) and set() function is a stub. How can it be useful for crate users?
Hi,
this just adds support for wasm target there are lot of crates that depend on this one, for example the lettre and lettre_email crate if i want to compile lettre for wasm then the compilation would fail because this crate doesnt support wasm target.

Hey!
I'm not sure if that is the approach I want to follow: if some particular target is not supported, I personally would prefer to learn about that fact during the compilation.
I can imagine it will be very confusing to figure out in runtime why returned value is very different from the actual system hostname. Even returning some blank error like std::io::Error with std::io::ErrorKind::Unsupported all the time might not fit all use cases.
On the other hand, with compilation failure each of the crate consumers can choose what approach to use: not provide support for this target at all or use some "default" value instead with conditional compilation like in the following pseudo-code (sorry, writing from my head, might have some naive mistakes):
#[cfg(any(target_family="unix", target_family="windows"))]
use hostname::get as get_hostname;

#[cfg(not(any(target_family="unix", target_family="windows")))]
fn get_hostname() -> io::Result<OsString> {
    "unknown".into()
}

Anyway, so far I'm inclined not to accept this PR, but I'm open for further discussion, of course, and having a wasm support would also be great.


[iPad 4] Site not working

OS iOS, v7
Browser  Safari

@webdeveloperswj does this issue still exist?

Yes @angle943

#542