Support golang v1.22

Hi there,
My application use golang version: v1.22.1,  sonic version: v1.10.2.
I upgrade golang to v1.22.1, there are some warnings for Sonic in VSC:
 WARNING: sonic only supports Go1.16~1.20 && CPU amd64, but your environment is not suitable

Some invalid char in Json parse failed with golang v1.22, but they can be parsed with golang v1.21.
invalid character '\\t' in string literal, message: {\"server_id\":\"live11\", \"comment\":\"\ufffd\t\"}
Is there a plan for Sonic to support golang v1.22?
Thank you.

See release log first, PLS


Update index.html added scroll to top button

I earlier saw a suggestion to add pagination, though it could improve a couple of things this is a "wall" and should be treated as such without pages. Changes can be made to the button in case before deployment

@Musacoli, there's an interesting bit here about pagination. and i think i agree with this perspective. this a wall, not a website.

@Musacoli, there's an interesting bit here about pagination. and i think i agree with this perspective. this a wall, not a website.

Fair point with that, though we might also want to consider the bandwidth strain of having no pagination, at least we could use lazy loading versus numbered pagination, that way we maintain a wall and also reduce the weight of the initial loading experience.

please could you just resolve the errors there, I like the idea of infinite scrolling with lazy loading

@sempijja please update the PR with the latest changes and we'll test and provide feedback


Improve FreeDesktop integration

These associate .tbm files with Trackerboy by default, out of the box, and also gives them Trackerboy's icon in file managers.

Thank you!


[Feature]: Inference with few-short learning approach.

Contact Details(optional)
No response
What feature are you requesting?
Currently, I found the new base line SML response is lower quality in this project. The response quality is lower than https://www.youtube.com/watch?v=oN55EJ3L3wc. In this video, I asked it some random questions. And it uses few-short learning.
https://github.com/Aisuko/chatpilot/blob/d6ed14ed69e7821fc3f9d9c70d03182ed5fe902a/demo_ui.py#L74C1-L83C6
So, please update the way of using SML to using few-short learning approach.
More for few-short approach

https://arxiv.org/pdf/2103.00020

Seems like it do works with the small language model. I would consider add it when selected this model.


add gtk tag, sort some sections by alphabet, add gnome tag for core circle apps

Thank you for this huge (tedious) work! The linter detected a few errors, could you correct them? I'll try to take a look at it in the coming days before merging.

Closes #226, closes #227.

@Drsheppard01 if you agree with my changes, we can merge it.

I make some changes, now it looks better

In continuation with the #gnome tag, would it be correct to also remove it for gedit and morphosis, because, they are also not gnome core apps, I also put the gnome tag next to the gnome circle apps, but not for gnome incubator apps

Yes indeed we should definitely remove the #gnome tag for Gedit and Morphosis, as they are neither part of the core apps nor part of GNOME Circle.

Closes #220.

Thanks @Drsheppard01, now merged.


No build-blocks

Are you using the latest release? What OS? What browser/version? Do you see anything in the console?

The latest release.
Windows 11 latest 24H2
Tried Opera and Google Chrome, same.
Web-Server logging the requests, yes.

Can you please provide the output of the console?
Can you also please capture an HAR?
https://geekflare.com/har-file-creation-and-analysis/

Console log:
 * Serving Flask app 'server'
 * Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Fixed on my own by downgrading blockly version to 10.4.3 at index.html<EMAIL_ADDRESS>

Thank you for digging into this, I have not had the time nor really the interest, as I don't have a Windows install and haven't used Resonite in months. I'll push a new release with a pinned version of the blockly dependency.


Better Usage Example.

From the Usage Example
await AgoraRawdata.registerVideoFrameObserver(
  await agora.getNativeHandle()
);

Now what?
The expanded example here: https://github.com/LichKing-2234/react-native-agora-rawdata/blob/main/example/src/App.tsx
Seems like you are registering and unregistering handlers and then doing nothing else with them? How do we get access to the underlying frame data in Javascript?
The use case I'm after is capturing a single frame of video from the stream to upload to S3.

pls refer to the README

@JimtotheB were you able to figure out how to pull a single frame from the video?


Error 500 when update_checker is enabled

Here is part of the stacktrace :
version_compare(): Argument #2 ($version2) must be of type string, null given at vendor/oneduo/nova-file-manager/src/Http/Controllers/ToolController.php:53
[stacktrace]
#0 vendor/oneduo/nova-file-manager/src/Http/Controllers/ToolController.php(53): version_compare('v0.12.3', NULL, '<')
#1 vendor/laravel/framework/src/Illuminate/Cache/Repository.php(396): Oneduo\NovaFileManager\Http\Controllers\ToolController->Oneduo\NovaFileManager\Http\Controllers\{closure}()
#2 vendor/laravel/framework/src/Illuminate/Cache/CacheManager.php(429): Illuminate\Cache\Repository->remember('nova-file-manag...', 86400, Object(Closure))
#3 vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(355): Illuminate\Cache\CacheManager->__call('remember', Array, key: 'nova-file-manag...', ttl: 86400, callback: Object(Closure))
#4 vendor/oneduo/nova-file-manager/src/Http/Controllers/ToolController.php(46): Illuminate\Support\Facades\Facade::__callStatic('remember', Array, key: 'nova-file-manag...', ttl: 86400, callback: Object(Closure))

Hey @VGirol
we rely on GitHub to determine the upstream latest version
Can you please check if this endpoint is working in your system/server?
GET https://api.github.com/repos/oneduo/nova-file-manager/releases/latest

I've checked this endpoint and here is the response i receive :
{"message":"API rate limit exceeded for xxx.xxx.xxx.xxx. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)","documentation_url":"https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
I think i've found the problem ;-)
Thanks for your help


[VAX-388] Use FIRST_LSN option for cases where we do not know starting LSN position

We treat LSN position of non-Vaxine entity as opaque object, so no hardcoded 0 values for starting position

Related to https://github.com/electric-sql/electric/pull/63


Fix to TIFF handling of certain unusual tags, which also affected raw files

Many RAW files are really structured like TIFF underneath, and we
forcefully open them as a TIFF file to read their metadata, which is not
read as well by libraw. OK, but they also contain some of these oddball
tags, and that could lead to crashes. This patch makes it more robust to
some of these odd cases.

LGTM


Rename old release notes to follow ODFE convention

Issue #, if available: 672
Description of changes:
Rename old release notes to follow the ODFE convention
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Should "opendistro-for-elasticsearch.security.release-notes-<IP_ADDRESS>.md" also be renamed ?

Should "opendistro-for-elasticsearch.security.release-notes-<IP_ADDRESS>.md" also be renamed ?

It is renamed by https://github.com/opendistro-for-elasticsearch/security/pull/707


red screen on wake when path = screenshot

The red screen issue seems to only be happening when the path is set to screenshot. It seems sometimes hyprlock tries to update the screenshot, but when already locked, it fails.
Or something like that. I can't find any relevant logs.
But when I set an actual image, everything seems to work as expected.

It seems this patch fixes the issue
https://github.com/hyprwm/hyprlock/commit/307e473759d1268b50a087095cc005c941f3bb0d
I haven't seen a red screen for 2 days. I let this open for other to comfirm, but it's seems to be working for me now.

Still having the issue using latest revision 8658386f212f29447874fe62fa665c5864cdcc41

Same for me. On activation it just goes red

Seems to be fixed. I dont have any problems anymore. Thank you Hyprlock

with latest commit, the red screen may happen on lock

I was messing around and found this...
If run sleep 10 && killall hyprlock and lock screen after that, then, after time will expire, screen will be red

Seeing the red screen when activating after setting background to image path.
It's working with screenshot.
Using Arch package v0.4.1-1

for me this is consistent. empty config except path = screenshot. just launching from terminal. big tomato flash in my face with no way to avoid it except killing hyprland from other tty

I still have the same issue with the new hyprland debug screen for when the screenlock is killed.

@feelamee

I was messing around and found this...
If run sleep 10 && killall hyprlock and lock screen after that, then, after time will expire, screen will be red

This is expected. Hyprland locks itself if the screenlock is killed externally.

A guess to what the issue could be is that hyprlock registers as a lock screen before it can present an image to the user. During that time the screenshot is taken and blurred the hyprland "no lock provider" error is displayed. Though that's just a guess. Not registering to be a lock provider until screenshot taking & blurring is done would solve it.
Also, often I see a "ghost" image of the hyprland screenlock killed screen.


select2 set fixed width to main span and not resizing

When page loads i see
<span class="select2 select2-container select2-container--bootstrap select2-container--focus" dir="ltr" data-select2-id="1" style="width: 688.203px;">
and width not changing when wrapping block resizes. I'm not sure you need to use width there. I tried to remove it from code and it works excellent for me

Same problem here... On same versions of Chrome, differents computers, assigns auto width in oner and fixed in the other and i dont know why.
@aaburlaka what code are you removed?

I've found that I can change size and now it is not fixed
		$('select.combobox').select2({ 			width: 'style' 		});

Yup, width option should be able to solve any problem:
https://select2.org/appearance#container-width

I had the same issue when I placed the select2 inside a table cell. The only solution that worked for me was to add following style to select2-container:
  .select2-cell > .select2-container {
    display: table;
    table-layout: fixed;
  }

After this, the width will only get fixed to the parent element. Hope this will work for you as well :)


Use netcore3.1

What problem are you trying to solve here? Are you having compatability issues with the current version of Swashbuckle? If so, please provide details.


#760 - Mobile responsiveness issue fix

fixes #760

Hey @Pau1fitz,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 684fa3f0-81cd-11ea-a3c8-154d35b48c30

Thanks for the quick PR. since it's a one line quick fix, you could have commented on the respective issue ticket for fix. I've pushed a hotfix. Closing this PR.

Hey @Pau1fitz,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 3f834690-81d0-11ea-a3c8-154d35b48c30


Tiled extensions

Hi,
just wanted to know if there is an interest in TiledMap extensions as well.
I am using a few in my own game and I could make a pull request if someone is interested.
Just needed to know if this is something useful or not and if it is useful, what do I need to do for a valid pull request? :)
I have following extensions in place for accessing properties
// extension method to access properties the Kotlin way ;)
inline fun <reified T> MapObject.property(key: String, defaultValue: T): T =
    this.properties[key, defaultValue, T::class.java]

inline fun <reified T> MapLayer.property(key: String, defaultValue: T): T =
    this.properties[key, defaultValue, T::class.java]

This extension is used to retrieve the shape of a MapObject
// extension property to access shape of a MapObject
val MapObject.shape: Shape2D
    get() = when (this) {
        is RectangleMapObject -> this.rectangle
        is PolylineMapObject -> this.polyline
        is PolygonMapObject -> this.polygon
        else -> {
            LOG.error { "Unsupported MapObject of type ${this::class.java}. Cannot retrieve shape!" }
            Rectangle.tmp.set(0f, 0f, 1f, 1f)
        }
    }

Extensions to quickly access properties that are used very often like id, x, y, width, height
// extension property to easily access MapObject IDs, x and y position
val MapObject.id: Int
    get() = this.property(PROPERTY_ID, -1)
val MapObject.x: Float
    get() = this.property(PROPERTY_X, 0f)
val MapObject.y: Float
    get() = this.property(PROPERTY_Y, 0f)

// inside my own Map class, which stores a reference to  a TiledMap I also have
val width: Float
        get() = property(PROPERTY_WIDTH, 0f) * property(PROPERTY_TILE_WIDTH, 0f) * UNIT_SCALE
    val height: Float
        get() = property(PROPERTY_HEIGHT, 0f) * property(PROPERTY_TILE_HEIGHT, 0f) * UNIT_SCALE

 // extension method to access properties the Kotlin way for TiledMap
    inline fun <reified T> property(key: String, defaultValue: T): T =
        tiledMap.properties[key, defaultValue, T::class.java]

    fun containsProperty(key: String) = tiledMap.properties.containsKey(key)

    private fun layer(layerName: String): MapLayer {
        val layer = tiledMap.layers.get(layerName)
        if (layer == null) {
            // layer not defined in tiled map
            LOG.debug { "There is no $layerName layer for map $type" }
            return defaultLayer
        }
        return layer
    }

    fun mapObjects(layerName: String): MapObjects = layer(layerName).objects

With the last extensions, which could be of course created for TiledMap instead of my own Map class you can then do things like this:
private fun createCharacterEntities(map: Map, layer: String) {
        map.mapObjects(layer).forEach { mapObj ->
            try {
                val charKey = Character.valueOf(mapObj.property(PROPERTY_CHARACTER, ""))
                ecsEngine.character(
                    characterConfigurations[charKey],
                    world,
                    mapObj.x * UNIT_SCALE,
                    mapObj.y * UNIT_SCALE
                )
            } catch (e: IllegalArgumentException) {
                if (!mapObj.properties.containsKey(PROPERTY_CHARACTER)) {
                    LOG.error { "Missing character property for object with ID ${mapObj.id} for map ${map.type} in layer $layer" }
                } else {
                    LOG.error(e) { "Invalid character property specified for object with ID ${mapObj.id} for map ${map.type} in layer $layer" }
                }
            }
        }
    }

Definitely, this could be a very useful KTX module. I'd have to review each utility during code review, but it looks good so far.
The contribution guide has a section on adding new KTX modules. Would you like to set it up and submit a PR?

cool, will prepare something over the weekend and let you know

@czyzby : Sorry but I will need your help as I don't know how that works on github.
I cloned the repository and checked out the "develop" branch. I followed your guide and created now the new extensions including the tests.
Tomorrow I will update the README.md but how can I push/PR my changes?
I committed them locally but I do not want to click push because that would either fail(?) or I would directly commit to the develop branch which might also not be ideal.

Fork the repository. You should have a https://github.com/Quillraven/ktx/ repo after this.
Clone the forked repository.
Apply and commit your changes.
Push the changes into a branch in your repository.
Setup a pull request from your repository to develop branch here.

Thanks for the info! I had no idea about that "fork" functionality.
I hope I did everything correctly and you should hopefully see my PR without messing up your repo ;)

Don't worry, you won't. :) I'll review the PR shortly.

Thanks, I did some minor refactoring and documentation improvements. I also added operator extensions to MapProperties (contains, set). I'm closing this issue for now, but if you'd like to suggest or contribute any additional utilities, you're welcome to reopen the issue.
Thanks again for your contributions!

You can expect a snapshot release of ktx-tiled 1.9.10-SNAPSHOT soon.


helm delete --purge does not remove helm hook jobs

❯ helm version
Client: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.9.1", GitCommit:"20adb27c7c5868466912eebdf6664e7390ebe710", GitTreeState:"clean"}

❯ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T20:17:28Z", GoVersion:"go1.10.2", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.5", GitCommit:"32ac1c9073b132b8ba18aa830f46b77dcceb0723", GitTreeState:"clean", BuildDate:"2018-06-21T11:34:22Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.): AKS

Create a job with post-install hook like following:
apiVersion: batch/v1
kind: Job
metadata:
  name: {{ template "ipd.fullname" . }}-init-db
  labels:
    app: {{ template "ipd.name" . }}
    chart: {{ template "ipd.chart" . }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
  annotations:
    "helm.sh/hook": post-install
    "helm.sh/hook-delete-policy": before-hook-creation
spec:
  template:
    spec:
      restartPolicy: OnFailure
      containers:
        - ...

Install a release with helm install.
Delete the release with helm delete --purge <releasename>.
Expected: everything from this release is removed, even completed jobs.
Actual: this hook job is still present:
❯ kubectl get all
NAME                      READY     STATUS        RESTARTS   AGE
pod/ipd-init-db-djc58     0/1       Completed     0          16m

NAME                    DESIRED   SUCCESSFUL   AGE
job.batch/ipd-init-db   1         1            16m

Yeah, this is by design.
Any resource that implements a hook is considered "self-managed". Tiller does not manage these at all (other than watching to see that they hit their initial "ready" state). This works well for things like Jobs, Ingress, and things done in post-delete hooks, where there is a good chance that users don't want Tiller to manage the resources.
Because this has been addressed in previous issues like #960, I'm going to go ahead and close this as working as intended.

See also https://github.com/helm/helm/blob/49fc49ecb82a8cd9cbb9d8ba7ce85db2fc355893/docs/charts_hooks.md#hook-resources-are-not-managed-with-corresponding-releases

Thanks, I will just use "helm.sh/hook-delete-policy": hook-succeeded, that way a failed job still hangs around and yet the successful job is removed immediately.


Feature request: render sphinx markup in description attributes of fields

Hi!
Thanks for this very nice tool! It's so nice, that I'm wondering if we can make it even more powerful :)
Would it be a challenge to render any sphinx markup in the description attribute of a Field?
I'd love to help, but afraid that I'm a bit low on free time for the next month or two.

@iliakur thanks for your proposal. It totally makes sense and actually it should be the default behavior because standard doc strings are treated and interpreted as sphinx extended reST. Therefore, the same should apply to explicitly added documentation via the description attribute.
The description attribute of pydantic Fields already support inline reST. However, line breaks are not interpreted correctly. Hence, you can use :any: for example, but field lists á la :fieldname: some value won't work properly.
Having a quick look into sphinx' source code, we will need to pass the description content to prepare_docstring in order to get separate lines of reST (which respects line breaks).
I will take a closer look at it soonish. It should not be too difficult to implement.

Thanks for the fast response! Indeed I forgot to mention that I have successfully used inline reST in a description and it was just multi-line directives that were missing.
I'm glad this is likely easy to add, looking forward to using it!

@all-contributors please add @iliakur for bug

Issue has been fixed with #92 and minor release v1.6.1 is already up on pypi. Reproducing the bug in a test case and fixing it was not difficult. Please check if you experience the correct behavior with the most recent version to ensure that I captured your problem correctly.
Feel free to reopen the issue if it persists and thanks for reporting once again!

Wow, some pretty impressive automation you got there ;)
Thanks for the fix (didn't realize this was a bug :joy: ), I'm excited to try it out next week!

Used it last week, works swimmingly, thanks!


move to using only testA and testB

When this was created it was created as "" for baseline, and then two variants testA and testB.
In reality we've been sing testA as a baseline, and testB as the variant.
Given that we often have just enough traffic for A/B testing, having MV testing yet doesn't seem to be of much use. We will have this when we move to Unleash anyway.

Merging to allow Hayley to keep testing.


strange/inconsistent version numbering since 2022.1.0

Hello Aaron,
Is your feature request related to a problem? Please describe.
Since 2022.1.0 you (and some other guys) are using a bad new style for version numbers padded with zeros, e.g at Github, you are using the 2nd digit padded with a zero, perhaps this should look better in sorted lists, as you want to treat this as a month in a version number looking like a date.
This is causing some trouble, because a lot of package managers (like portage at Gentoo, or Pypi) are treating the version number segments as integers, this is a hard rule in semver-2.0.
We are using a set of automated build scripts, which now is in trouble. Ok, currently, I patched it, it now rewrites the wrong formatted version number, but I would like to adress the problem at it's source (->you) :-)
According to semver-2.0:
"A normal version number MUST take the form X.Y.Z where X, Y, and Z are non-negative integers, and MUST NOT contain leading zeroes. X is the major version, Y is the minor version, and Z is the patch version. Each element MUST increase numerically. For instance: 1.9.0 -> 1.10.0 -> 1.11.0."
Describe the solution you'd like
Please avoid using leading zeroes in version numbers.
Additional context
Add any other context or screenshots about the feature request here.

Let's centralize the discussion: https://github.com/bachya/simplisafe-python/issues/309


Getstarted tweaks

Quick summary
@johndmulhausen I'm walking through the getting started, and here is first set of edits, and expansion of some topics. I think your getting started tutorial is beautifully written, and friendly. My goal is to keep with your style, but make some improvements where I had questions as a guinea pig user.
See if you like the direction this is heading. If you do, give me a LGTM, more comments, and/or merge the PR, and I'll keep going on the rest of the steps.
If you don't like it or agree, I'll scale back or change my review approach. Just see what you think. So far, I've only reviewed steps 1 and 2 (Orientation, Containers), and most of my changes are on the Containers topic. I can do more reviews in separate PR's to keep this in small bites.
What's changed

copyedits
added subtopics to longer steps like "Share your image", and showed more example outputs for commands
added more details and a screen snap of showing app in a web browser
added output for curl command (so that this will be recognizable when they watch the asciinema replay of commands)
added an example of image tagging syntax (the same one used on the asciicinema to better illustrate how repository and tag naming are used, and to map to the asciicinema replay of commands)
explained logging in to Docker and using Docker ID a little more
improved the notes a bit, but left the formatting in the old style, as I'm still not sure if we've optimized on our icons v. titles thing for admonitions.

Reviewers
@johndmulhausen @JimGalasyn

@johndmulhausen @JimGalasyn Just checking to see if ya'll had time to review this, or if you don't want to merge it?

@mstanleyjones thanks I'll have a look at all these today. Right now I'm going to kick the Netlify preview. I don't know what the deal is with Netlify today.

@johndmulhausen  @JimGalasyn Hey y'all, I 'm going to go ahead and merge this, as it's been sitting for a while, and includes some fairly useful fixes. Feel free to log more updates on new PR's and reference things here as needed. Thanks @mstanleyjones for all the feedback.


gorequest: Added context into request.

can we pls release this feature. Its a blocker for distributed tracing as well.


Fix broken entrypoint in front-proxy sample image

Issue description
When trying to execute the sample with docker compose I received an error for service1 and service2:
': No such file or directory
': No such file or directoryexecute 'bash

front-proxy_service1_1 exited with code 127
front-proxy_service2_1 exited with code 127

Cause:
the start_service.sh shell script was referring to bash and the latest alpine image uses sh.
#!/usr/bin/env bash
Fix:
set shell to:
#!/bin/sh

@hecsalazar thanks for contributing the fix. Do you mind fixing DCO? (See the contributing guide).

added the sign-off message and merged latest master, but can't find a way to launch again the validation, can you please advice @mattklein123 ?
thanks

@hecsalazar just squash/rebase and force push with fixed DCO. All commits have to have it.

Thanks! it's done.
BTW I had an issue with Circle/CI that was asking for my EA email instead of my gmail address which is the primary.
fixed once and then complained about my name, it was expecting hsalazar<EMAIL_ADDRESS>I let you know just  in case


Combining Now as template/interpolation for HTTPget.

Hi Akram
I have a task, where I should call a HTTPget request with a URL+date like,
HttpGet: www.google.com//datecall-2019-11-21
Is it posible to use some kind of template/interpolation in the HTTPget-URL like:
<Setting name="url" value="https://www.google.com/datecall-{#1}" />
Can it be solved otherwise with variables or is this a feature request ?
https://github.com/aelassas/Wexflow/wiki/Now
https://github.com/aelassas/Wexflow/wiki/HttpGet
Example #1 - with template
<Workflow xmlns="urn:wexflow-schema" id="99" name="HTTPget_Now" description="HTTPget_Now">
  <Settings>
    <Setting name="launchType" value="periodic" />
	<Setting name="period" value="1.00:00:00" />
  </Settings>
  <Tasks>
    <Task id="1" name="Now" description="Getting current day" enabled="true">
      <Setting name="culture" value="en-US" />
      <Setting name="format" value="dd-MM-yyyy" />
      <Setting name="enabled" value="true" />
    </Task>
    <Task id="2" name="HttpGet" description="Executing GET request" enabled="true">
	  <Setting name="url" value="https://www.google.com/datecall-{#1}" />
    </Task>
    <Task id="3" name="FilesMover" description="Moving response file to HttpGet folder" enabled="true">
      <Setting name="selectFiles" value="2" />
      <Setting name="destFolder" value="C:\WexflowTesting\HttpGet\" />
      <Setting name="overwrite" value="true" />
    </Task>
  </Tasks>
</Workflow>

Example #2 - with local variables
<Workflow xmlns="urn:wexflow-schema" id="99" name="HTTPget_Now" description="HTTPget_Now">
  <Settings>
    <Setting name="launchType" value="periodic" />
	<Setting name="period" value="1.00:00:00" />
  </Settings>
  <Tasks>
    <Task id="1" name="Now" description="Getting current day" enabled="true">
      <Setting name="culture" value="en-US" />
      <Variable name="myFormatedDate" value="dd-MM-yyyy" />
      <Setting name="enabled" value="true" />
    </Task>
    <Task id="2" name="HttpGet" description="Executing GET request" enabled="true">
	  <Setting name="url" value="https://www.google.com/datecall-{$myFormatedDate}" />
    </Task>
    <Task id="3" name="FilesMover" description="Moving response file to HttpGet folder" enabled="true">
      <Setting name="selectFiles" value="2" />
      <Setting name="destFolder" value="C:\WexflowTesting\HttpGet\" />
      <Setting name="overwrite" value="true" />
    </Task>
  </Tasks>
</Workflow>

@janborup Yes, you can use local variables as follows:
<Workflow xmlns="urn:wexflow-schema" id="99" name="HTTPget_Now" description="HTTPget_Now">
  <Settings>
    <Setting name="launchType" value="periodic" />
	<Setting name="period" value="1.00:00:00" />
  </Settings>
  <LocalVariables>
    <Variable name="myFormatedDate" value="dd-MM-yyyy" />
  </LocalVariables>
  <Tasks>
    <Task id="1" name="Now" description="Getting current day" enabled="true">
      <Setting name="culture" value="en-US" />
      <Setting name="format" value="$myFormatedDate" />
      <Setting name="enabled" value="true" />
    </Task>
    <Task id="2" name="HttpGet" description="Executing GET request" enabled="true">
	<Setting name="url" value="https://www.google.com/datecall-$myFormatedDate" />
    </Task>
    <Task id="3" name="FilesMover" description="Moving response file to HttpGet folder" enabled="true">
      <Setting name="selectFiles" value="2" />
      <Setting name="destFolder" value="C:\WexflowTesting\HttpGet\" />
      <Setting name="overwrite" value="true" />
    </Task>
  </Tasks>
</Workflow>

Hi Akram
Thanks for det the help, but your solution with variable It did not work. :-(
The HTTPget calls : https://www.google.com/datecall-yyyy-MM-dd and not the  https://www.google.com/datecall-2019-11-21
2019-11-21 22:59:54,186  INFO [5] - [Dealer Zone / 3] Workflow started.
2019-11-21 22:59:54,188  INFO [5] - [Dealer Zone / 3] [Now] Getting current date...
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [Now] The value is: 2019-11-21
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [Now] Task finished.
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [HttpGet] Executing GET request...
2019-11-21 22:59:54,536 ERROR [5] - [Dealer Zone / 3] [HttpGet] An error occured while executing the GET request https://www.google.com/datecall-yyyy-MM-dd: The remote server returned an error: (404) Not Found.
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [HttpGet] Task finished.
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [FilesMover] Moving files...
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [FilesMover] Task finished.
2019-11-21 22:59:54,552  INFO [5] - [Dealer Zone / 3] Workflow finished.

Any other solutions ?

I understand what you want to do but for the moment it is not possible to
assign values to local variables from tasks.
Le jeu. 21 nov. 2019 à 23:08, Jan Borup Coyle<EMAIL_ADDRESS>a
écrit :

Hi Akram
Thanks for det the help, but your solution with variable It did not work.
:-(
The HTTPget calls : https://www.google.com/datecall-yyyy-MM-dd
https://www.google.com/datecall-yyyy-MM-dd and not the https://www.google.com/datecall-2019-11-21
https://www.google.com/datecall-2019-11-21
2019-11-21 22:59:54,186  INFO [5] - [Dealer Zone / 3] Workflow started.
2019-11-21 22:59:54,188  INFO [5] - [Dealer Zone / 3] [Now] Getting current date...
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [Now] The value is: 2019-11-21
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [Now] Task finished.
2019-11-21 22:59:54,189  INFO [5] - [Dealer Zone / 3] [HttpGet] Executing GET request...
2019-11-21 22:59:54,536 ERROR [5] - [Dealer Zone / 3] [HttpGet] An error occured while executing the GET request https://www.google.com/datecall-yyyy-MM-dd: The remote server returned an error: (404) Not Found.
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [HttpGet] Task finished.
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [FilesMover] Moving files...
2019-11-21 22:59:54,536  INFO [5] - [Dealer Zone / 3] [FilesMover] Task finished.
2019-11-21 22:59:54,552  INFO [5] - [Dealer Zone / 3] Workflow finished.
Any other solutions ?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/aelassas/Wexflow/issues/159?email_source=notifications&email_token=AAKHB2TUDNSRTRDHDX4MJKTQU4BFZA5CNFSM4JP3A4CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE32JXY#issuecomment-557294815,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKHB2R7I3QS4VO4V3SKPWTQU4BFZANCNFSM4JP3A4CA
.

Thanks Akram.
I'm trying to look at at source code for implementing some kind in interpolation like the MS standard, but I cannot find where you do the LocalVariable replace for ex. $myFormatedDate.
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/tokens/interpolated
As I see it, it should be posible to insert a simple.
var date = DateTime.Now;
Then with a little interpolation magic, this would be posible.
    <Task id="2" name="HttpGet" description="Executing GET request" enabled="true">
	<Setting name="url" value="https://www.google.com/datecall-${date:yyyy-MM-dd}" />
    </Task>

Can you point me to the right place to do this ?

A little try:
            //
            // Parse local variables.
            //
            var res = string.Empty;
            using (StringReader sr = new StringReader(dest))
            using (StringWriter sw = new StringWriter())
            {
                string line;
                while ((line = sr.ReadLine()) != null)
                {
                    foreach (var variable in localVariablesParsed)
                    {
                        string pattern = @"{.*?}";
                        Match m = Regex.Match(line, pattern, RegexOptions.IgnoreCase);
                        if (m.Success)
                        {
                            var date = DateTime.Now;
                            var replaceValue = @m.Value;
                            var result = Regex.Replace(line, pattern, replaceValue);
                        }
                        line = line.Replace("$" + variable.Key, variable.Value);
                    }
                    sw.WriteLine(line);
                }
                res = sw.ToString();
            }

Got an error - compile/running the last GitHUB source, with my above change:
2019-11-22 01:36:14,314  INFO [1] - Workflow loaded: {id: 19, name: Workflow_Zip, enabled: True, launchType: Trigger}
2019-11-22 01:36:14,318 ERROR [1] - An error occured while scheduling the workflow :
System.NullReferenceException: Object reference not set to an instance of an object.
   at Wexflow.Core.WexflowEngine.ScheduleWorkflow(Workflow wf) in C:\Work\WexFlow\Wexflow\src\dotnet-core\Wexflow.Core\WexflowEngine.cs:line 574
2019-11-22 01:36:14,383 ERROR [1] - An error occured while scheduling the workflow :
System.NullReferenceException: Object reference not set to an instance of an object.
   at Wexflow.Core.WexflowEngine.ScheduleWorkflow(Workflow wf) in C:\Work\WexFlow\Wexflow\src\dotnet-core\Wexflow.Core\WexflowEngine.cs:line 574

I will look at it again tomorrow.

With the latest version of the source code, you must update your database
in c:\Wexflow\Database. Take the latest database from
samples\dotnet\Wexflow\Database\Wexflow.db. And you must also update
c:\Wexflow\Workflow.xsd. Take the latest xsd from src\dotnet\Wexflow.Core.
Le ven. 22 nov. 2019 à 01:41, Jan Borup Coyle<EMAIL_ADDRESS>a
écrit :

Got an error - compile/running the last GitHUB source, with my above
change:
2019-11-22 01:36:14,314  INFO [1] - Workflow loaded: {id: 19, name: Workflow_Zip, enabled: True, launchType: Trigger}
2019-11-22 01:36:14,318 ERROR [1] - An error occured while scheduling the workflow :
System.NullReferenceException: Object reference not set to an instance of an object.
at Wexflow.Core.WexflowEngine.ScheduleWorkflow(Workflow wf) in C:\Work\WexFlow\Wexflow\src\dotnet-core\Wexflow.Core\WexflowEngine.cs:line 574
2019-11-22 01:36:14,383 ERROR [1] - An error occured while scheduling the workflow :
System.NullReferenceException: Object reference not set to an instance of an object.
at Wexflow.Core.WexflowEngine.ScheduleWorkflow(Workflow wf) in C:\Work\WexFlow\Wexflow\src\dotnet-core\Wexflow.Core\WexflowEngine.cs:line 574
I will look at it again tomorrow.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/aelassas/Wexflow/issues/159?email_source=notifications&email_token=AAKHB2Q3NPOU4OME33EGKTLQU4TDJA5CNFSM4JP3A4CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE4EONQ#issuecomment-557336374,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKHB2ULJ4JB32FFWZODH2DQU4TDJANCNFSM4JP3A4CA
.

Now my date-interpolation is working with above code:
A little try
When I'm trying to use the .Net Core version, the Backend starts, byt the Designer throws an error clicking the designer.
http://localhost:8000/wexflow/search?s=
Request Method: GET
Status Code: 500 Internal Server Error

For .net core you must update the database and Wexflow.xsd too. The db is
in samples\dotnet-core\windows\Wexflow\Database. You must update them in
c:\Wexflow-dotnet-core.
Le ven. 22 nov. 2019 à 14:55, Jan Borup Coyle<EMAIL_ADDRESS>a
écrit :

Now my date-interpolation is working with above code:
A little try
https://github.com/aelassas/Wexflow/issues/159#issuecomment-557331537
When I'm trying to use the .Net Core version, the Backend starts, byt the
Designer throws an error clicking the designer.
http://localhost:8000/wexflow/search?s=
http://localhost:8000/wexflow/search?s= Request Method: GET Status Code:
500 Internal Server Error
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/aelassas/Wexflow/issues/159?email_source=notifications&email_token=AAKHB2XQUA6DUNC6JF2OFMDQU7QFLA5CNFSM4JP3A4CKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEE5WKSA#issuecomment-557540680,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKHB2SZ76GOMGQM63TITSLQU7QFLANCNFSM4JP3A4CA
.

Copy the database and XSD/XML file works like a charm.
Thanks 🙏

@janborup Great, I will test your feature and will let you know. I will add it in the v5.2. Thanks.

Thanks for the pull request implementation.
Testet in both Windows and .net Core in v.5.2, and work fine.


plugin breaks increment in macros only?

I'm trying to create a numbered list from 000 to 999 with a simple macro.
The text file initially has this text, with the cursor on the leftmost 0:
000

I made this macro:
yWoP<C-a>0
Using nvim --clean this works correctly, and one invocation creates:
000
001

However, with highlight-undo, it simply repeats the number without incrementing it:
000
000

When doing this outside of a macro, that series of keypresses works as expected. I've tried storing the macro with the label q and c and it happens in both.
Uninstalling the plugin resolves the issue, and I also created a minimal example with this config that reproduces the bug:
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
    vim.fn.system({
        "git", "clone", "--filter=blob:none",
        "https://github.com/folke/lazy.nvim.git", "--branch=stable", lazypath
    })
end
vim.opt.rtp:prepend(lazypath)

-- load plugins
require("lazy").setup {
    { 'tzachar/highlight-undo.nvim' },
}

require('highlight-undo').setup({
  duration = 300,
  undo = {
    hlgroup = 'HighlightUndo',
    mode = 'n',
    lhs = 'u',
    map = 'undo',
    opts = {}
  },
  redo = {
    hlgroup = 'HighlightUndo',
    mode = 'n',
    lhs = '<C-r>',
    map = 'redo',
    opts = {}
  },
  highlight_for_count = true,
})

Any idea what could be causing this? Thanks!

OK thanks! I had to modify it just a bit but this works now:
require('highlight-undo').setup({
  duration = 300,
  undo = {
    hlgroup = 'HighlightUndo',
    mode = 'n',
    lhs = 'u',
    map = 'undo',
    opts = {}
  },
  redo = {
    hlgroup = 'HighlightUndo',
    mode = 'n',
    lhs = '<C-r>',
    map = 'redo',
    opts = {}
  },
  keymaps = {
      paste = { disabled = true},
      Paste = { disabled = true},
  },
  highlight_for_count = true,
})


react tutorial - starting with old one

At the very least, this needs to be updated to use next.js .   See my
slides for M07.
On Mon, Sep 25, 2023 at 3:33 PM Adeel A. Bhutta @.***>
wrote:

@abhutta0 https://github.com/abhutta0 requested your review on: #19
https://github.com/neu-se/CS4530-Fall-2023/pull/19 react tutorial -
starting with old one.
—
Reply to this email directly, view it on GitHub
https://github.com/neu-se/CS4530-Fall-2023/pull/19#event-10466764727,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAR3CMCOTBJJCBN7WF64EWLX4HMAVANCNFSM6AAAAAA5GS23HQ
.
You are receiving this because your review was requested.Message ID:
@.***>

TAs: please update ....

Who is going to step up and do the next.js boilerplate?  All the info you need is my slides for Module 7.  I don't have time to do this, sorry.

@mwand  I have added the reference to the Next.JS documentation and updated the PR. Please kindly check.

Still says
Let’s use npx and create-react-app to create a new React project
and
npx create-react-app my-app
image of dialogue still says "sample", should be re-run with "my-app"
box with instructions for installing chakra has a red cursor in the middle
But on the bright side, Sandbox is cool!

Getting close now...
table of contents entry for "creating a new React app" doesn't seem to work
URL for nextjs.org should be a link.
Demo of creating a new project looks good.
Line for installing chakra should have --save (!).  Also has bizarre coloring.

"chakra" is still in red in the npm i --save  line.    Otherwise looks ok.


v0.4.10: code review

This looks good overall! I think the only essential change, from my perspective, is fixing the outdated linter config.
Linter config
The linter configuration should be updated. As of lintr 3.0.0, camel_case_linter has been removed (it was deprecated back in 2017).
Something like this should work:
linters: linters_with_defaults(
  object_name_linter = NULL,
  line_length_linter(120),
  cyclocomp_linter(25)
  )
exclusions: list("tests/testthat/data/prep_test_data.R")

Additionally, there are two files which have # nolint start but do not have a corresponding # nolint end. This is now an error. Either the closing tag should be added, or if the whole files are to be ignored they could be moved to the exclusions portion of the .lintr. The files in question are inst/extdata/gage_01013500_data.R and inst/extdata/geometry_data.R.
Lintr warnings
There are lots of linter messages. Most of them are low-priority, and they can visually swamp the more serious warnings. It might be worth configuring the linter to ignore the ones you don't care about.
Some of the ones at the "warning" level would be nice to fix, as they can lead to bugs.
Specifically I'd recommend fixing these two:

seq_linter: These come up when you iterate from 1 to the length of a vector or the height of a data frame. This can lead to errors when the vector is of length 0. The linter recommends nice replacement functions like seq_len and seq_along, which are robust to zero-length inputs.

vector_logic_linter: This comes up when you have things like this:
while(d <= distance & !is.na(local_dir)) {

In cases like these, where you're comparing to length-one booleans, switching to && is slightly more efficient and more readable.

Thank you Jesse! Definitely some out of date code in there that could use some clean up. I'll touch up a few things you noted to make sure there aren't any horribly broken windows and go ahead and ship it.

Looking this over more carefully, given the overall lifecycle of this code, I'm not going to do any code clean up. The warnings emmited in tests are all expected from changes in dependency packages and the lintr issues, while not ideal, aren't big enough issues to prompt an update to what is essentially an end of life package. The goal here is to publish this work at the current (working) state and move on to the next phase of it. These clean up/improvement fixes will be taken care of in that future work.
I did fix the .lintr format and added the two #nolint end issues. Thanks again for your time Jesse!

That sounds just fine! Glad I could help move this along.

Release is cut here https://code.usgs.gov/wma/nhgf/reference-fabric/hyrefactor/-/releases/v0.4.11


Fix: Using same label types across bindings

:tada: This PR is included in version 0.19.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix(windowTime): clean up closed window with timeSpanOnly

Description:
This PR adds cleanup to windowTime operator to clear up closed instance of window when invoked via timespan only.
Related issue (if exists):

Coverage decreased (-0.0003%) to 97.689% when pulling 181c5ec64727d74a6387e8216f844654c19781f9 on kwonoj:fix-windowtime-cleanup into 6922b16f4a297a4acbe8ad2b086c947b7c0d8315 on ReactiveX:master.

Not sure how to test this cases? :/


gitlive test

Codecov Report

Merging #331 (21feca0) into main (399aebc) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #331   +/-   ##
=======================================
  Coverage   62.26%   62.26%
=======================================
  Files           1        1
  Lines        1015     1015
  Branches      208      208
=======================================
  Hits          632      632
  Misses        302      302
  Partials       81       81

Flag
Coverage Δ

unittests
62.26% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/use/use.py
62.26% <100.00%> (ø)

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 399aebc...21feca0. Read the comment docs.


Bumping the default version to 17.

Seems like when you try to PR a master to a master, it's failing Linting?  Seems multiple other tests are failing as well below this PR for the same reason.  Also, random swap file left in the repo. 🤷♂  Trying this for #60

@lkysow Let me know what you think.


Missing way to set a builder field in DeviceQueueCreateInfoBuilder

There is no way, to set, the queue_count directly from the DeviceQueueCreateInfoBuilder.
This is just a minor inconvenience since you can just build and set it manually, but it would be nice to get consistency in the methods of this particular struct

It's implied by the length of the slice you pass to queue_priorities. This is consistent with every other dynamic array length field.

Per VUID-VkDeviceQueueCreateInfo-pQueuePriorities-parameter

pQueuePriorities must be a valid pointer to an array of queueCount float values

This slice is not optional, and its length must match queueCount. Hence the builder for queue_priorities() is the right place to also set queue_count.


How I can add Images in footer and header of all pdf page that was build using HTML.

This means I have an HTML form pdf is creating but now I want to add branding of my customer on each page like adding a brand image in header and footer of all pages. Please guide thanks.

@UsmanAhsanPs19  try this in your pdf template
I'm able to add Images Like given below

Possibly related to https://github.com/christopherdro/react-native-html-to-pdf/issues/206 ?

Any solution for the above scenario i am also got stuck in adding images to pdf

I've made it works but I had to host the image somewhere else.
Trying to get the image from the relative path didn't work.

I've made it works but I had to host the image somewhere else.
Trying to get the image from the relative path didn't work.

That's the one way and sometimes it can give CORS issue. Just in case someone needs another solution.
The other solution is to convert the image into base64 data either from the relative path or from hosted URL.


feat: use Otel SDK 1.2/0.28

Which problem is this PR solving?
fixes #983
Short description of the changes
use ^0.28.0 in dependencies to SDK experimental packages
use 1.2.0 in dev-dependencies
Checklist

[ ] Ran npm run test-all-versions for the edited package(s) on the latest commit if applicable.

I tried to keep the changes low here. I have not adapted the host-metrics package as I'm not that familiar with metrics API.
There are still some dependencies to SDK packages like "@opentelemetry/core": "^1.0.1" which work but I'm not sure if we should keep them that way. Is see two options:

stay at minimum version and allow newer (e.g. ^1.0.0) like we do it with API
depend on at latest SDK or even pin the minor version

stay at minimum version and allow newer (e.g. ^1.0.0) like we do it with API

I prefer this as it will allow users to update the SDK (patch / minor) without updating each instrumentation they use.

depend on at latest SDK or even pin the minor version

I think that if an instrumentation does not use any feature from a new minor version, it is cleaner to allow it to use old SDK so it's less hassel for users to update SDK version.

In general I'm fine with allowing older SDKs. Main issue is that there is no test actually verifying that it works as we install newest in our tests so it's easy to miss.

In general I'm fine with allowing older SDKs. Main issue is that there is no test actually verifying that it works as we install newest in our tests so it's easy to miss.

We can use test all versions but the CI will take a very long time. We should do it at least for releases though

I've updated the host-metrics at https://github.com/open-telemetry/opentelemetry-js-contrib/pull/990.

I think if @dyladan is fine with it we can merge


Error train.py lmdb

Hi, I get this error while trying to train /
lmdb.Error: lmdb: No such file or directory
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: 1) local_rank: 0 (pid: 4800) of binary: /usr/local/bin/python Traceback (most recent call last):
File "/usr/local/lib/python3.7/runpy.py", line 193, in _run_module_as_main     "main", mod_spec)
File "/usr/local/lib/python3.7/runpy.py", line 85, in _run_code     exec(code, run_globals)
File "/usr/local/lib/python3.7/site-packages/torch/distributed/launch.py", line 193, in      main()
File "/usr/local/lib/python3.7/site-packages/torch/distributed/launch.py", line 189, in main     launch(args)
File "/usr/local/lib/python3.7/site-packages/torch/distributed/launch.py", line 174, in launch     run(args)
File "/usr/local/lib/python3.7/site-packages/torch/distributed/run.py", line 718, in run     )(*cmd_args)
File "/usr/local/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 131, in call     return launch_agent(self._config, self._entrypoint, list(args))
File "/usr/local/lib/python3.7/site-packages/torch/distributed/launcher/api.py", line 247, in launch_agent     failures=result.failures, torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
Does anyone know how I should proceed to debug this ?
Thanks

Can you first check your data path? "lmdb.Error: lmdb: No such file or directory", lmdb didn't find your file.


change staging mount path to under /var/lib/kubelet

Please fix in release-0.3 branch too.

@rgcostea sure, have pushed new image for v1.0.0-beta, will push v0.3.0-beta as well


Remove unused MergingBlockInputStream

Signed-off-by: JaySon-Huang<EMAIL_ADDRESS>What problem does this PR solve?
Issue Number: ref https://github.com/pingcap/tiflash/issues/4908
Problem Summary: Remove useless inputstream from upstream clickhouse
What is changed and how it works?
These input streams are mainly used for {Replacing,Summing,Aggregating,Collapsing,VersionedCollapsing,Graphite}MergeTree for ch, and are useless for TiFlash
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[x] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-all-tests

/merge

/run-unit-test


🐛 IC-926: Mount a different context for preprod deployment

What does this pull request do?
🐛 Fixes "preprod" deployment deploying to "dev".
🐛 Amends #120
How?
The deployment namespace is controlled via the KUBE_ENV_NAMESPACE environment variable. To override it, we need to use a different CircleCI context.
(Discovered via circleci config process .circleci/config.yml)
Also changed to the hmpps-common-vars context, which is now the default for all HMPPS apps for Slack notifications and other common things.
What is the intent behind these changes?
Deploy to the correct environment 🤗

Vulnerability fail:
  Upgrade<EMAIL_ADDRESS>to<EMAIL_ADDRESS>to fix
  ✗ Remote Code Execution (RCE) (new) [High Severity][https://snyk.io/vuln/SNYK-JAVA-ORGAPACHETOMCATEMBED-1080637] in<EMAIL_ADDRESS>    introduced by<EMAIL_ADDRESS>><EMAIL_ADDRESS>and 1 other path(s)


CHANGELOG CI bot pinging on PRs with CHANGELOGs

rebase.yml's changelog regex is wrong—we probably don't need a regex for it since we know where the CHANGELOG is always going to be.

Closing this out as the bug is no longer happening.


Include CLI UX Guidelines in Doc

These UX Guidelines for CLI might be better consumed by readers in the docs-site. There is no particular need for them to be bundled with the code. Move them to /contributing in docs-site.
https://github.com/zowe/zowe-cli/blob/conformance/docs/CommandFormatStandards.md
Note: Some other CLI guidelines might be better suited for the site than for the /docs/ folder in the CLI repo. Other files, such as TESTING.md, are closely related to the code within the repo, and should probably remain in the docs folder. Consider opening more issues.

I'd like to see the ux guidelines cross linked or organized with the UI Guidelines that Jason Ezri put together. https://zowe.github.io/docs-site/latest/contribute/guidelines-ui/ui.html#clear

It would be good to keep the guidelines sourced with the repo, so a link from doc site to the zowe-cli repo sounds good.

Closing for now as the dev team believes that CLI guidelines should remain in CLI repository.


Country Blocklist Implementation

This epic tracks the effort required to convert our existing WAF allowlist into a blocklist, make the requisite changes in Okta, test, and turn on all features.

We should be able to take the rest of this out of the icebox pending the full migration of ReportStream to their own independent Okta instance.


Damage Calculator

OK, I'm new to all this cool stuff so I know some of this won't be correct but I do know it works! So feedback would be appreciated! (I know I should probably be using Tools.getMove etc but the command fucks up when I do so if you know how to fix that go ahead and comment).

I'll do what it says and fix it.

Are we interested in a calc plugin? O.o
The plan was to embed honko's in the battle gui this whole time...

Also note, the comments I made were just general to help you in general; I personally don't have a preference if this actually should or shouldn't be added to the project.

This seems like a hassle and also doesn't take into account past generations. This also gets rid of a lot of cool things honko's Calc has (all vs one, etc). Imo this is completely un-needed and adds more work that is already done somewhere else.

@AustinXII considering I'm doing all the work I don't see how it does cause a hassle. @Slayer95 This isn't permanent it's just till we get Honko's calculator implemented and. @panpawn Thanks will do.

@czn-PS you still are forgetting about the special features that the damage calc currently has... I know quite a few people would be upset losing one vs all, etc

what do you mean by "losing" this is just an add on you can still get the normal calc by typing /calc url. :/

Honestly, as long as it links to Honkalculator by typing /calc by itself, it's fine, but the main problem here is still low-quality code. I'm going to wait this to at least pass npm test before I offer more detailed feedback on code quality.

@Zarel thanks.

Command name idea: if we're keeping /calc as the link to Honkalculator, then maybe make this new command just /damagecalc

They can share the same name. It's not a big deal.

Sooooooo I read you're guys stuff and the code looks really nice now I'm not using globals anymore which is awesome! Which has taught me how most of the Tools work and there really convenient! So yeah looking good! :D

This isn't the final code this is just to display what I have updated and npm test doesn't work on my Cloud 9 so Travis is gonna help me out. :)

OK so now I all I got to do is do what Travis says and it's done!!!

 If there are no changes in another 7 days, I'm going to close this. You can open a new pull request when your code gets to the point where it passes npm test.

@Zarel yes I will sorry I have had exams at school so was concentrating on that more but I will be updating sorry again!

embedding Honko's calc to the server will be noice

This code isn't originally yours.  It comes from sparkyboTTT (I wrote the code about 1 to 1.5 years ago, hence the low quality)... You remind me of (gitbanned) user psnsVGC who tried to PR the exact same code i gave him in a hastebin to ChuChuBoTTT repository in Jan 2016.
(the globals for Pokedex, Movedex, etc were taken from battle/battle.js where i made them global for the battling AI, as well as use in kunc, damage calc etc...)


Improvements and fixes to occluders

Improvements

Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D,
BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders.

Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default.

Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window.

Fixes

Fixed saving of occluder files after bake.
Fixed a small error where occluders didn't correctly update in the rendering server.

Bonus content

Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders.
Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.

I just realized I didn't add docs for the new classes, I will do that in a bit.

I think this is ok, but at some point we will need to implement dynamic occluders (those that are just rastered to the depth buffer and hence can move without any cost), so I believe we should differentiate between those.
Additionally, would it not make more sense to have StaticOccluder3D and the occluder type being a resource?

It looks good to me. I can't pretend I've gone through with a fine toothed comb, and there are some aspects I'm not really very expert in, like importing, so yes probably anyone else who can look through this would be good as well.
I've also tested the artifact for the occluders and they seem to work fine from what I tried.

I gave this a quick try locally and it seems to work as expected. :+1:
As a bonus (in a future PR), I wonder if there could be a "Create Occluder" option in the MeshInstance context menu:

This would complement the other collider and navigation options.

Thanks!


Multiple ads on top of eachother

Hello there,
I really like your plugin. It does exactly what I hoped it would do! I use the following code to initiate an insterstitial banner every minute:
setInterval(function(){
		AdMob.removeBanner();
		initAdMob();
	}, 60000);

function initAdMob() {
	var admobid = {interstitial: 'ca-app-pub-blablablablablabla'};

	AdMob.prepareInterstitial({
	 	adId:admobid.interstitial,
		autoShow:true
	});
}

The problem is that in this way the banners stack on top of each other when not closed. Example: After 5 minutes there are 5 ads stacked on eachother. I'd like there to be only one ad active at once. I have tried the AdMob.removeBanner(): function but that didn't do the job.
Any ideas?
Greetings,
Peter ten Hoor

You are using interstitial Ad (full size), it's not banner ad.
Show Ad with setInterval() is not a good idea. The recommended approach is: prepareInterstitial() with autoShow:false, then call showInterstitial() at best timing (for example, when a game level is over). Then, when listen to 'onAdDismiss' event, and call prepareInterstitial() again.

Thanks for your fast reply. I will try your approach!


Incremental Build Support

Description
Can the compiler be made to have incremental build support please.
As the input is edited the output keeps changing accordingly.
Use Case
This will help improve live preview features in the future.

This is already supported; see the code for typst watch for inspiration (https://github.com/typst/typst/blob/main/crates/typst-cli/src/watch.rs).

This feature is already supported


Question on templates

Hello
What about converting existing excel templates? Do you envision of a way to write into existing templates ?
Uma

Hi, the package is built to be able to add all kinds of templates, but currently, there are no plans to implement the default ones in the main package.


use swapper client instead of fund manager client for swap in

The fund manager client maps to AddFundInitLegacy on the server. The legacy swapper has lower maximum amounts for swaps, namely 900k instead of 4M sat. The swapper client maps to AddFundInit on the server, with a 4M sat limit.
Also, this PR caps the max_allowed_deposit for receive_onchain to max_receivable_msat

Fixes https://github.com/breez/c-breez/issues/811


[FEATURE] API to fetch single product from the database

Description
To design a product description page , an API to fetch single product data from the database is needed .
Screenshots
No response
🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

please assign this issue to me under gssoc'23

Cool, you can start working on this ⚡
Please make sure that you have read our documentation on Commiting guidelines and Pull request guidelines, without proper format the PR might be closed.


Cannot remove field items from scripture reference field

Reproducing:

Add 2 or more items to the scripture field on a node
Save the node
Try to remove one of the field items

On submitting the form element, an empty form should not produce errors, but rather cause the field item to be removed. Otherwise we need something like an explicit "remove" button.

I think this is fixed in 44135b5

The only modules that work for Drupal 7 are:

Views Bulk Operations works well, but it corrupts the scripture field items. Don't know why, yet. Documented here.
Multi Node Add does not allow any fields to be set to the same value for multiple nodes simultaneously.
Editablefields does not play well with the scripture reference widget. Don't know why, yet.

Another interesting thing we could use is Node Edit Protection

This is definitely solved, but we need to make sure that it doesn't break again while fixing #5


Add proposal # to proposal feed

Problem
As an admin, I sometimes try to look for proposals by their number. However, currently, I am unable to see the proposal # on the feed – which makes it slower for me to find what I'm looking for.
User Story
As an admin, I want to be able to see proposal #s in the feed so that I can easily find and open the proposal I'm looking for.
Acceptance Criteria

[ ] Add #X before each person, similar to attached photo. The X indicates the proposal number.

@Megha-Dev-19 Created this FYI


Fixes kubelet to correctly build with version string

I have manually verified this on RPi and it fixes the kubelet version string. @esajaa This change came through the Port to im8 PR, could you verify that this does not break imx8 build?

The issue with this is that this breaks the builds on system using dash instead of bash as their /bin/sh. But yes I agree on the fact that this fixes the issue that previously were there. I tried few things, but didn't really figure out a way to have the script run. The root issue is that the version.sh requires bash to run

The issue with this is that this breaks the builds on system using dash instead of bash as their /bin/sh. But yes I agree on the fact that this fixes the issue that previously were there. I tried few things, but didn't really figure out a way to have the script run. The root issue is that the version.sh requires bash to run

@ygoyal18 How about this solution, I'd find it the clearest option and still allows building with dash. The warning-message can be tweaked:
    eval "$(cat ${GOPATH}/src/${GO_IMPORT}/hack/lib/version.sh | sed --expression 's/::/_/g')";
  else
    bbwarn "Not running bash: This prevents from setting the kubelet version number correctly"
  fi

@ygoyal18 How about this solution, I'd find it the clearest option and still allows building with dash. The warning-message can be tweaked:
    eval "$(cat ${GOPATH}/src/${GO_IMPORT}/hack/lib/version.sh | sed --expression 's/::/_/g')";
  else
    bbwarn "Not running bash: This prevents from setting the kubelet version number correctly"
  fi

Closing this. #251 will bring in the fix.


docs: Deployments page moved into Ecosystem/

docs: deployments page moved into ecosystem/
The Deployments page moved into the Ecosystem/ group
Small fixes:

index page: fixed order of items in the Modules list, in the Use Cases list
item References/Installation was lost in the index page (not on the Navbar!). Restored it.
added | marker in several places.

NOTE: I also thought about moving the Additional Resources/Gallery page into the Ecosystem group but decided to leave it unchanged. Please, advise on this.
Who can review?
Community members can review the PR once tests pass. Tag maintainers/contributors who might be interested:
@dev2049

@hwchase17 Gently remaining.


Add collection upload repository selector

https://issues.redhat.com/browse/AAH-2250

I cleared the error state when repo selection is done, but Im not sure if this is the good way or you intend to do that this way. Maybe we should clear only error if it comes from the API and not validation?


How to encrypt a Unicode string?

For example, a Chinese string "你好"?

Have you tried an example?  You would simply need to define an alphabet of
the symbols you wished to use. A number system might be a good place to
start, assuming you don't need a place value.
Python supports unicode.
On Wed, Dec 15, 2021 at 9:42 AM paan @.***> wrote:

For example, a Chinese string "你好"?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mysto/python-fpe/issues/25, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMHGVCG2EVQ7HFZ5FPOTMTURCSLTANCNFSM5KD2ABDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Thanks a lot @bschoening


Add Cobertura for coverage tracking in GitLab CI.

Testing this for funsies.

No point in having this for now, will use a different artifact since it doesn't integrate with the GitLab repo view currently.


An extra bar in the app that can not be disabled

1-
A big problem in the toolbar
This file path display tool creates a lack of coding space
How can it be deleted or disabled?
ScreenShot

2-
Please select an option to disable it
And try to create a powerful file explorer for the program that can directly create, delete or rename the file, without using Windows File Explorer

That can't be hidden.

Those actions are available in the context menu of Files and Projects:

And improve your tone for next time or you won't receive an answer. Phrases like

And try to create a powerful file explorer

are not well received by us.


Error on compiling ln_db_lmdb.c.

I couldn't build Ptarmigan with the Dockerfile (similar to the build instruction).
I suspect this was caused by strict checkings on newer GNU C compiler.
FROM ubuntu:18.10

RUN apt-get update
RUN apt-get install -y git autoconf pkg-config build-essential libtool python3 wget jq bc

RUN git clone https://github.com/nayutaco/ptarmigan.git
WORKDIR ptarmigan
RUN make full

error messages
Compiling C file: ln_db_lmdb.c
ln_db_lmdb.c: In function 'ln_lmdb_set_home_dir':
ln_db_lmdb.c:4195:31: error: '%s' directive output may be truncated writing 2 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]
ln_db_lmdb.c:756:10:
     if (!set_path(mPath, sizeof(mPath), path, M_DB_DIR)) return false;
          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln_db_lmdb.c:4195:31:
     snprintf(pPath, Size, "%s/%s", pDir, pName);
                               ^~
In file included from /usr/include/stdio.h:873,
                 from ln_db_lmdb.c:25:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 4 and 4099 bytes into a destination of size 4096
   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        __bos (__s), __fmt, __va_arg_pack ());
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ln_db_lmdb.c:4195:31: error: '%s' directive output may be truncated writing 7 bytes into a region of size between 0 and 4095 [-Werror=format-truncation=]

and more errors.

After replacing to debian:9 image, builds are done with no error.
- FROM ubuntu:18:10
+ FROM debian:9

Thank you.
I fix this on gcc-8.
$ gcc --version
gcc (Ubuntu 8.3.0-6ubuntu1~18.04.1) 8.3.0

@nayuta-ueno I checked this issue was fixed  on the head of master branch. I close it. Thanks for the improvement.


Set value for :binary to :BYTEA in SearchLightPostgreSQL.TYPE_MAPPINGS

Fixes the the :binary part of Wrong PostgreSQL types in SearchLightPostgreSQL.TYPE_MAPPINGS #11
The :datetime part is already fixed by commit 01d45d5

Thanks!


Unbound: Fix bad dereference when DHCP lease expires

Move deletion of dhcp cache info when the lease expires to after the
last reference to the cache information.
Fixes #4741

@gwjo oops, missed that one as well, thanks for fixing it.


md5 hash

Hi Julio, I hope you had a good Christmas.
With the final call to ChunkedUploadCompleteView, I assume the checksum has to be the md5 for the whole file which has been uploaded? I am looking to upload very large files (like 10s of GB). Creating an md5 on the client side seems to be rather a slow process. Do you have any suggestions for the best way to accomplish this? Using https://github.com/satazor/SparkMD5, it takes about 40 seconds to compute an md5 hash for a 5GB file!

I'm in a similar situation, except the files are 30GB+ and we do need the checksums to ensure data integrity. However, if I wanted to display a checksum for an uploaded file to the user this would take a few minutes to calculate every time. Would it be possible to make md5 a model field instead of a property?


Train on qald-9 with wikidata queries

Since I'm working on qald-9 with wikidata SPARQL queries, I want to test the performance of SGPT on it. According to the paper, SGPT should work with wikidata SPARQL queries, since they are in LC-QuAD and vquanda data set.
I checked the code and found out that the script only read the value in "fil_sparql", so I replaced DBpedia SPARQL queries with Wikidata SPARQL queries. Like this:

Then, I trained it using the same setting as for training with DBpedia queries. While training the loss kept to be high (about 2~3).
In the end, I ran evaluation on the new model, the predictions look like this:

The predicted SPARQL queries contain many syntax errors and only a few entities and properties are correct.
I am not sure what I did wrong with this system. Can you give me some instructions to it, how can I do it properly?
I've also tried to train on LC-QuAD and vquanda, but it failed since the same issue in #2 .

Hi makevin23,
training on a particular dataset is sensitive to hyperparameters. The training error reported in issue #2 is resolved now. I'll update the readme with the suitable hyper-parameters soon.
Thanks for your understanding.


Fix ios mac safari

See https://github.com/JohnDoneth/gleam-playground/pull/9#issuecomment-1000278030

In safari the main grid was broken due to cutting edge css media queries (I think, after checking <caniuse.com>).

Thanks! ♥


Should plugably support external sources

LangChain currently supports a large list of document loaders - 157 as of today (https://integrations.langchain.com/). (Note that this is more than twice as many as Confluent's connectors.) It should be possible for LangStream to tap into this list to enable integration with additional datasources.

It looks like we have support for this capability since we have a Document Loader example here: https://github.com/LangStream/langstream/issues/429
However, it looks like with the current design, we'd need to add a Document Loader for each one of the LangChain types that we wanted to support, which is a lot of work to maintain.
It would be better if we could allow these types to just be used natively so we wouldn't need to redefine them in our repo.


Uncaught TypeError: object is not a function

I am new to this program and I believe I put all of my credentials in properly, but keep getting this error.  Can anyone help?  I really look forward to using this program.
[Enter steps to reproduce below:]

...
...

Atom Version: 1.1.0
System: Microsoft Windows 8.1
Thrown From: Remote-FTP package, v0.7.10
Stack Trace
Uncaught TypeError: object is not a function
At C:\Users\nitro9090\.atom\packages\Remote-FTP\node_modules\ssh2\node_modules\ssh2-streams\lib\utils.js:475

TypeError: object is not a function
  at convertPPKPrivate (C:\Users\nitro9090\.atom\packages\Remote-FTP\node_modules\ssh2\node_modules\ssh2-streams\lib\utils.js:475:14)
  at module.exports.decryptKey (C:\Users\nitro9090\.atom\packages\Remote-FTP\node_modules\ssh2\node_modules\ssh2-streams\lib\utils.js:139:7)
  at Client.connect (C:\Users\nitro9090\.atom\packages\Remote-FTP\node_modules\ssh2\lib\client.js:153:7)
  at ConnectorSFTP.module.exports.ConnectorSFTP.connect (C:\Users\nitro9090\.atom\packages\Remote-FTP\lib\connectors\sftp.js:78:13)
  at Client.module.exports.Client.doConnect (C:\Users\nitro9090\.atom\packages\Remote-FTP\lib\client.js:237:18)
  at Client.module.exports.Client.connect (C:\Users\nitro9090\.atom\packages\Remote-FTP\lib\client.js:155:9)
  at Client.<anonymous> (C:\Users\nitro9090\.atom\packages\Remote-FTP\lib\views\tree-view.js:178:28)
  at C:\Users\nitro9090\.atom\packages\Remote-FTP\lib\client.js:85:15
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:380:3)

Commands
     -3:57.8.0 tree-view:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
  2x -3:34.4.0 remote-ftp:toggle (atom-text-editor.editor.is-focused)
     -3:20.9.0 tree-view:remove (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -3:06.0 remote-ftp:connect (atom-text-editor.editor.is-focused)
     -3:01.0 remote-ftp:navigate-to (atom-text-editor.editor.is-focused)

Config
{
  "core": {}
}

Installed Packages
# User
language-marko, v0.4.18
Remote-FTP, v0.7.10

# Dev
No dev packages

Related to mscdex/ssh2-streams#28

Did you try to reinstall the package? (To update the dependencies)

I'm having the same problem, and have been since 10/30/2015, and was hoping the ssh2 or ssh-streams node modules would be updated. I just tried reinstalling and am still having the problem. It only happens when I specify a "privatekey" in my .ftpconfig. I don't want a plain text password in my config file so I was opting to use the key, but the password route works as a fallback for now.

I think one of the recent updates is causing this issue. My config was working fine until today when I updated.

@jpxd It's not related to the issue you linked to. At all.

If anyone wants a quick fix under :
C:\Users\systems.atom\packages\Remote-FTP\node_modules\ssh2\node_modules\ssh2-streams\lib
comment out lines 197 / 198. The code should look like this :
(cb = requests[keys[i]].cb) && cb(err);
//  state.requests = {};

FWIW utils.js:475 reads
p1 = new BigInteger(p, 256),

It appears that BigInteger is being interpreted as an object rather than a constructor. Digging in, I discovered the jsbn lib doesn't consistently export itself between environments. Not sure why this would suddenly become a problem since it looks like that lib hasn't been updated in a few years, but I submitted a PR there for it.

This was the breaking commit. However a new version was published to npm just a week ago.

FYI @mscdex updated ssh2; if you reinstall remote-ftp this issue should go away.

Thanks @mscdex!


fix: fundle support

Fixes Fundle support by moving all functions to functions directory.
Closes #172

Thanks @nesl247 :+1:
Can you uncomment the fundle test case in tests/installation-methods.test.fish as that's what we want to test.
I don't expect it to work we need it to validate the PR

Hi, I would like to see this PR get merged.
Is there anything else to do, except for merging with master?
I'll try to help out if you need me to.

I'm going to drop fundle support, see #232


Headers as fields

Can we have the nearest Headers as metadata for each task?
If this is possible, then I can use the below code
task where ...
group by headers

to group all tasks on a given page by the nearest headers. I am not sure if this is right now possible. I looked through all the Issues and feature requests and could not find any such thing possible? I am new to Obsidian Dataview and am still trying to learn to write the queries.
Thank you very much

I have many Tasks & paragraphs on a page under different Headings.
For Example,
Task 1 and Task 2 will be under ### Heading 1
Task 3 and Task 4 will be under ### Heading 2
Task 5 and Task 6 will be under ### Heading 3
Can someone give the dataview code for the tasks grouped by Headers?
Heading 1
Task 1
Task 2
Heading 2
Task 3
Task 4
Heading 3
Task 5
Task 6

Perfect. Thank you very much

That's even better. Thanks!

I've just added support for grouping by header today, so once release 0.4.17 comes out this evening, you can just use:
TASK FROM "path/to/file"
GROUP BY header

sorry to bother, I would like to know how to merge the same header of different files when using group by header? thanks
like in file1, i have:
  ## header1
      task1
  ## header3
      task3
in file2
  ## header1
      task2

and in dataview,  display like :
    > header 1
       task1
       task2
    > header3
       task3

how the dataviewjs support? It is possible to retrieve all the headers of a given notes using dataviewjs?

You can access the header for a specific task using task.header; accessing headers of a file in general is coming in 0.5.0.

I don't want to access the headers though tasks. Most of my notes don't have a task. Is there a way to retrieve all headers using only page.file

As mentioned, this is an upcoming feature in the next major release in the next few weeks.

oh I missed your second sentence. Good work.

Is this implemented meanwhile? I don't find something in the documentation.

You can access the header for a specific task using task.header; accessing headers of a file in general is coming in 0.5.0.

Is this implemented meanwhile? We are now beyond 0.5.0.....

+1 for this question; I'd be interested to query headers to not related to tasks


SPF Record for Mandrill (and maybe for Gmail?)

It'll prevent the ugly "via ______" addendum from appearing next to our emails.
https://support.google.com/a/answer/33786?hl=en

Probably this is not a brambling issue, actually.

I've set up spf & dkim records for mandrill / littleweaverweb.com. We'll have to wait for propagation to test, though.

DKIM is working, and our domain is verified with Mandrill. SPF I had to redo, because apparently it has to be a TXT record rather than an SPF record - SPF is (apparently) deprecated.

SPF is set up.


[FR]: Update bazelrc recommendations now that 'common' is fixed

What is the current behavior?
Bazel 6.3.0 contains

Options specified on the pseudo-command common in .rc files are now ignored by commands that do not support them as long as they are valid options for any Bazel command. Previously, commands that did not support all options given for common would fail to run. These previous semantics of common are now available via the new always pseudo-command. (https://github.com/bazelbuild/bazel/pull/18609)

Describe the feature
This means we can use this rather than exhaustively specifying many flags under several commands like build, query, fetch

Actually it's Bazel 6.4.0 where common now works with user-defined flags as well.


[FR] Print multiple copies of a label

Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find a similar feature request

Problem statement
I started using InvenTree a few weeks ago and use a Brother label printer now.
I am pretty impressed what InvenTree does and how it helps me now.
I also figure out how to adjust the label to how I want them to be, especially those for locations.
Though it is disruptive when I want to print certain labels for which I need multiple copies.
Suggested solution
As far as I can see there are two possible solutions:

allow setting the amount of copies directly in the printing dialog.
allow setting the number of copies on a label definition.

Both would be cool.
I am not a Python pro nor you can call me a beginner, I can read the code a little and I found that the labels have a input box for "plugin metadata", so for me a simple approch to solve my second suggestion would be to use that and pass a number of copies to the plugin. But I have no idea how to access those values from a plugin, maybe if someone can point me to a sample.
As far as I can see the brother_ql lib does not support printing copies so my simple solution would be to loop the "send" command for the number of copies passed form the metadata of a label.
This would be totally enough for me, as I am going to design labels for every use case because they are different in size and information so the number I want to have is also fixed for most of them. And if not I would have to create just a copy and name the label also by the numbers of copies the template prints.
Describe alternatives you've considered
Printing labels not with the Brother plugin but generate the PDF and print that but this results in a slightly different look and size and also uses too many clicks to be a productive solution.
Examples of other systems
No response
Do you want to develop this?

[X] I want to develop this.

@Alex9779 check out the PR in https://github.com/inventree/inventree-brother-plugin/pull/31 - comments welcome :)


Mast: Watch<PHONE_NUMBER>

Mast requests the watch of the watch_number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

Approved by Daniil in Charcoal HQ


Add done button on keyboard to fix issue #220

Related Issue
Fixes #220
Checklist:

[x] I have read the contributor's guide.
[x] I linked an issue in the previous section
[x] I have commented on the linked issue
NA I was assigned the linked issue (not required)
[x] I have tested the change to the best of my ability against the sandbox or a local build.

Optional items:

[ ] My change adds new text and requires a change to translations.
[ ] My change requires a change to the documentation.
[ ] I have submitted a PR to the documentation repo.
[ ] I was not able to test... (explain below, e.g. you did not have permissions to test a specific feature)
[ ] This change depends O-FISH Realm repository changes (explain below)
[ ] This change depends O-FISH Web repository changes (explain below)

Optional: Add any explanations here
Added a custom text field to make use of the UITextField's inputAccessoryView property to add a toolbar with the Done button.

Optional: Add any relevant screenshots here

Hello! Yes you should. I followed the design links attached to the issue, therefore I assumed to add a toolbar for both. But yes for the alphabet keyboard, it should be a simple change by setting the returnKeyType. As far as the numeric or decimal pad, I don't believe the returnKeyType applies. But let me know what direction you both decide for the Done button 🙂

I consulted with @mikeydubs- our designer - and he preferred a consistent experience with the keyboards - so we will merge the code as you originally pushed it.

Congratulations! 🎉 🙌 🎆 ㊗
This PR is great and has been merged into the code. Thanks so much for contributing! If you'd like, you can request to work on another issue. We really appreciate your effort!

Hi @czuria1!
We noticed you haven't claimed your digital MongoDB swag. To claim your O-FISH badge, head on over to the MongoDB Community forums, login, and reply - making sure to link to this PR.


Cannot create wheel for version 0.14.2

I tried to build wheel on my local computer but it failed due to some unknown error. Could you please take a look? Thank you.
OS: Windows 11
PS C:\Users\Admin\Documents\work\mrq-tortoise-TTS\prerequisites\DeepSpeed> python setup.py bdist_wheel
[2024-04-21 02:53:46,166] [WARNING] [real_accelerator.py:162:get_accelerator] Setting accelerator to CPU. If you have GPU or other accelerator, we were unable to detect it.
[2024-04-21 02:53:46,168] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cpu (auto detect)
[2024-04-21 02:53:46,514] [WARNING] [real_accelerator.py:162:get_accelerator] Setting accelerator to CPU. If you have GPU or other accelerator, we were unable to detect it.
[2024-04-21 02:53:46,515] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cpu (auto detect)
[2024-04-21 02:53:46,786] torch.distributed.elastic.multiprocessing.redirects: [WARNING] NOTE: Redirects are currently not supported in Windows or MacOs.
[WARNING] Torch did not find cuda available, if cross-compiling or running with cpu only you can ignore this message. Adding compute capability for Pascal, Volta, and Turing (compute capabilities 6.0, 6.1, 6.2)
DS_BUILD_OPS=1
Install Ops={'deepspeed_not_implemented': 1, 'deepspeed_ccl_comm': 1, 'deepspeed_shm_comm': 1, 'cpu_adam': 1, 'fused_adam': 1}
version=0.14.2+99951caa, git_hash=99951caa, git_branch=master
install_requires=['hjson', 'ninja', 'numpy', 'packaging>=20.0', 'psutil', 'py-cpuinfo', 'pydantic', 'pynvml', 'torch', 'tqdm']
ext_modules=[<setuptools.extension.Extension('deepspeed.ops.comm.deepspeed_not_implemented_op') at 0x18807a48af0>, <setuptools.extension.Extension('deepspeed.ops.comm.deepspeed_ccl_comm_op') at 0x18807a48a90>, <setuptools.extension.Extension('deepspeed.ops.comm.deepspeed_shm_comm_op') at 0x1882ce36e20>, <setuptools.extension.Extension('deepspeed.ops.adam.cpu_adam_op') at 0x1882d91c790>, <setuptools.extension.Extension('deepspeed.ops.adam.fused_adam_op') at 0x1882d91c730>]
running bdist_wheel
running build
running build_py
copying deepspeed\git_version_info_installed.py -> build\lib.win-amd64-cpython-39\deepspeed
running egg_info
writing deepspeed.egg-info\PKG-INFO
writing dependency_links to deepspeed.egg-info\dependency_links.txt
writing entry points to deepspeed.egg-info\entry_points.txt
writing requirements to deepspeed.egg-info\requires.txt
writing top-level names to deepspeed.egg-info\top_level.txt
reading manifest file 'deepspeed.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST_win.in'
warning: no previously-included files matching '*.cpp' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.h' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cu' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cuh' found under directory 'deepspeed\ops\csrc'
warning: no previously-included files matching '*.cc' found under directory 'deepspeed\ops\csrc'
no previously-included directories found matching 'op_builder'
no previously-included directories found matching 'accelerator'
adding license file 'LICENSE'
writing manifest file 'deepspeed.egg-info\SOURCES.txt'
running build_ext
D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\torch\utils\cpp_extension.py:381: UserWarning: Error checking compiler version for cl: [WinError 2] The system cannot find the file specified
  warnings.warn(f'Error checking compiler version for {compiler}: {error}')
building 'deepspeed.ops.comm.deepspeed_not_implemented_op' extension
Traceback (most recent call last):
  File "C:\Users\Admin\Documents\work\mrq-tortoise-TTS\prerequisites\DeepSpeed\setup.py", line 293, in <module>
    setup(name='deepspeed',
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
    return run_commands(dist)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
    dist.run_commands()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\dist.py", line 989, in run_command
    super().run_command(command)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
    cmd_obj.run()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\wheel\bdist_wheel.py", line 364, in run
    self.run_command("build")
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\dist.py", line 989, in run_command
    super().run_command(command)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
    cmd_obj.run()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
    self.run_command(cmd_name)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\dist.py", line 989, in run_command
    super().run_command(command)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
    cmd_obj.run()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\command\build_ext.py", line 88, in run
    _build_ext.run(self)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
    self.build_extensions()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\torch\utils\cpp_extension.py", line 871, in build_extensions
    build_ext.build_extensions(self)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
    self._build_extensions_serial()
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
    self.build_extension(ext)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\command\build_ext.py", line 249, in build_extension
    _build_ext.build_extension(self, ext)
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\command\build_ext.py", line 572, in build_extension
    self.compiler.link_shared_object(
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\ccompiler.py", line 752, in link_shared_object
    self.link(
  File "D:\Users\Admin\anaconda3\envs\tortoise-tts-py39\lib\site-packages\setuptools\_distutils\_msvccompiler.py", line 498, in link
    build_temp = os.path.dirname(objects[0])
IndexError: list index out of range

Hi @thanhchauns2 - Windows support is sometimes difficult given issues with pytorch/cuda/async_io and other libs on Windows.  I assume you've followed the steps here, but there are other issues that can make this difficult to debug.  If you're able to, I would recommend using WSL on Windows, as that will allow you an easier build flow and the ability to use all DeepSpeed features.


GraphQL Subscriptions

Are GraphQL subscriptions (https://graphql.org/blog/subscriptions-in-graphql-and-relay/) available and if not are there any plans to add them?

Yes! There are definitely plans to add them. More details to come soon!


Long audio initialization time in Pulseaudio

Hello again,
I've been using this for a few days now and have noticed on problem so far. When the module is selected as the playback sink, it causes a delay when an audio stream starts. It takes roughly 2-3 seconds until sound can be heard. This is obvious when playing movies, which will freeze before starting to play. Once the stream is playing, the delay normalizes to acceptable values.
Reproduction:

Start with fresh Pulseaudio config
pacmd load-module module-ladspa-sink sink_name=test master=alsa_output.pci-0000_00_1f.3.analog-stereo plugin=$path/notch_harmonics_5761 label=notch_harmonics control=116.5,1
Select sink as playback device
Make sure no other audio is playing
aplay /dev/urandom # warning: loud

There will be a few seconds until audio starts playing.

Selecting the raw playback device gets rid of the delay. Only selecting the ladspa-sink as playback device triggers this bug
If another stream is already playing audio, no delay is observed starting another stream.
module-suspend-on-idle is innocent, as unloading that module will not solve this problem
Restarting Pulseaudio made no difference
Before/during the delay, pacmd list-sinks shows the ladspa-sink's current latency going over 1000ms, but it will settle down to <150ms once playback is in progress
Other ladspa plugins appear to have the same issue

This is likely a Pulseaudio/module-ladspa-sink bug, but maybe you have some insights regardless? Thanks!

I can easily reproduce the issue with PulseAudio 15.0 using your supplied commands. I'm not very familiar with the internals of PulseAudio. However, here is what I could find out:
If you run PulseAudio with verbose output, you get an output like the following as soon as the audio stream starts:
I: [pulseaudio] protocol-native.c: Requested tlength=500.00 ms, minreq=125.00 ms
I: [pulseaudio] protocol-native.c: Final latency 625.00 ms = 250.00 ms + 2*125.00 ms + 125.00 ms

To reproduce, you can start PulseAudio in foreground with verbose output as follows:
systemctl --user stop pulseaudio.socket
systemctl --user stop pulseaudio.service
pulseaudio -v
[set up the LADSPA sink as described in your post]

The latency differs depending on the audio source. For example, if I perform GNOME's speaker test instead of using aplay, I get the following:
I: [pulseaudio] protocol-native.c: Requested tlength=2000.00 ms, minreq=20.00 ms
I: [pulseaudio] protocol-native.c: Final latency 3960.00 ms = 1960.00 ms + 2*20.00 ms + 1960.00 ms

Bitrate of the audio has a small influence but does not seems to be the root cause. All of the following commands suffer from severe latency:
aplay /dev/random
aplay -f cd /dev/random
aplay -f dat /dev/random

The verbose output comes from https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/src/pulsecore/protocol-native.c#L1101. To me this looks like the latency depends on the size of a buffer introduced somewhere in the audio pipe.
module-ladspa-sink itself does not seem to introduce an explicit latency. At least I could not find anything like that in: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/blob/master/src/modules/module-ladspa-sink.c.
Maybe you could report this to the PulseAudio folks at https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/issues? I suggest leaving this issue open until we know what's going on.

Good to hear that you found a workaround. I'm sure Pipewire will take over in the next couple of years. For now I personally stick to PulseAudio because it works well for me. As this is clearly a PulseAudio issue, I'll close this issue for now.
If anyone else suffers from this issue and reports it to the PulseAudio folks, please let us know.


There is no possibility of losing

It's a pity, but you can't lose in this game ... And, in my opinion, this is the only thing that is not thought out here. Fix please, respectfully Savely Kornilov! (From Russia)

If your HP bar (at top of screen) drops to zero, you lose. This also results in F grade. I just don’t like the game stops itself halfway.

On Dec 21, 2020, at 03:08, Mr-Zlob<EMAIL_ADDRESS>wrote:
It's a pity, but you can't lose in this game ... And, in my opinion, this is the only thing that is not thought out here. Fix please, respectfully Savely Kornilov! (From Russia)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/111116/webosu/issues/61, or unsubscribe https://github.com/notifications/unsubscribe-auth/AET5RLHBL5GO2QFPRUVXQGDSVZDUHANCNFSM4VDJV2VA.


After listening to Internet Radio, can't add a song to top of queue

After listening to an Internet Radio Station, adding songs puts them into the song queue, but does not start playing automatically. To get a song to play, have to select an Internet Radio Station, then select "Next Song" from the Now Playing page.

Stopping the Internet Radio Station from the "Internet Radio" page does not cause this bug. Look at how that works.