Client Allocation Request for: imageorbit

Client Allocation Questions
Core Information

Name: imageorbit
Website / Social Media: https://github.com/imageorbit/
DataCap Requested: 100TiB
Addresses to be Notarized: f3q62254o2seww5a2dxliteqiwsl2lmexc6s2sjco42l5tbbci2kfjcs6jrpvmdq6vg4v7sbxn5guwpqnsvawa
Notary Requested: Rin-huang

Client Allocation Questions
Core Information

Name: imageorbit
Website / Social Media: https://github.com/imageorbit/
DataCap Requested: 100TiB
Addresses to be Notarized: f3q62254o2seww5a2dxliteqiwsl2lmexc6s2sjco42l5tbbci2kfjcs6jrpvmdq6vg4v7sbxn5guwpqnsvawa
Notary Requested: Rin-huang

May I have your email? We will contact you soon.


UI: Redesign search stop screen and improve text field layout

TL;DR
Added a back button to the search stop screen and refined UI spacing across multiple components.
What changed?

Added a back button with arrow icon to the search stop screen
Updated the search placeholder text to "Search here"
Adjusted padding and spacing in SearchStopRow component
Modified TextField component to support leading icons
Increased the back arrow size in Settings screen to 32dp
Refined placeholder text opacity handling in TextField component

Screenshots

Dark
Light

Why make this change?
To improve navigation consistency and user experience by providing clear ways to exit the search screen and ensuring UI elements are properly sized and spaced throughout the application.

Merge activity

Nov 26, 7:15 AM EST: A user merged this pull request with Graphite.


Linkify usernames in issues created from discussions

Description
When you click the "Create issue from discussion" link in a discussion, GitHub creates an reference issue with some additional markup:

As you can see the username is just ordinary text, so it doesn't get a link:

We may linkify the username ([type="discussions-op-text"] > p:first-child > sup:first-child strong), possible question: is it important enough?
Maybe this could be an extension to linkify-user-edit-history-popup (and rename that feature to something like linkify-usernames, not sure)
Screenshot
No response
Example URL
https://github.com/vercel/vercel/issues/6794

This should be relatively easy as part of an existing "linkify" feature. The only concern is that this feature is so rare that it's basically non-existent as far as RGH is concerned. If you find a way to integrate it in a lightweight way, feel free to send a PR, but I'm going to close this for now.

Indeed, the usage is not particularly high:
https://github.com/search?o=desc&q=discussions-op-text+is%3Aissue&s=created&type=Issues


git config --replace-all breaks when repo url has multiple words

When using a git repository with multiple words, ie with the ext::ssh protocol, the git config --replace-all command breaks. This is only a problem when a) a repository has multiple remotes, or b) the repository name doesn't match the shortname.
This appears in the most recent version of Chef (13.2.20), but that line dates from Apr 29, 2016.
The fix should be very simple -- pass the remote url into the config as a quoted string, as is done with the similar git_ls_remote() function.
I also see that the in Chef::Mixin::ShellOut, there's a recommendation to generally use shell_out_compact() -- maybe that would work here, as well.

How can a URL have multiple words?

Good question -- when using git's "external transport" protocol feature, ie when using different credentials for different repositories inline. For example,
ext::ssh -i /home/deploy-user/.ssh/all_awesome_repos_key -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no<EMAIL_ADDRESS>%S /GreatOrg/one_awesome_repo

Gleaned from here

You might be interested in the poise-git cookbook/resource which handles this already.

Yup, looks like that might cover at least this one scenario; I still feel like this might be worth adding, though, to support this particular edge case (which afaik is a valid usage of git)?

Fixed in #7014 which will go out in Chef 14.2


x/tools/go/packages: "could not determine GOARCH and Go compiler" error text is not sufficient to explain what what went wrong

This happens when using Go 1.11 only. Go 1.12 or newer is not affected.
If the user writes the following Go program that uses packages.Load, and sets Config.Dir to a directory that doesn't contain a module:
package main

import (
	"fmt"
	"log"

	"golang.org/x/tools/go/packages"
)

func main() {
	cfg := &packages.Config{
		Mode: packages.LoadSyntax,
		Dir:  "/tmp/empty",
	}
	pkgs, err := packages.Load(cfg, "foobar/...")
	if err != nil {
		log.Fatalln(err)
	}
	fmt.Printf("loaded %d packages\n", len(pkgs))
}

Then when running said program in module mode by setting GO111MODULE=on, they get an error that is not very helpful at figuring out what went wrong:
$ GO111MODULE=on go run .
2019/02/20 17:10:21 could not determine GOARCH and Go compiler

This isn't sufficient information for the user to find out why that error was returned, other than to look into the source code of packages and debug it themselves.
If Config.Mode is left at its default LoadFiles value, the error is better at hinting what went wrong:
$ GO111MODULE=on go run .
2019/02/20 17:10:08 go [list -e -json -compiled -test=false -export=false -deps=false -find=true -- foobar/...]: exit status 1: go: cannot find main module; see 'go help modules'

exit status 1

Cause
In Go 1.12, it's possible to run GO111MODULE=on go list unsafe in any directory successfully. In Go 1.11, running it outside of a module gives the following error:
$ GO111MODULE=on go list unsafe
go: cannot find main module; see 'go help modules'

One of the actions packages.Load performs is invoking the go list -f "{{context.GOARCH}} {{context.Compiler}}" -- unsafe command in order to determine the current GOARCH and Go compiler name. If it fails, it returns an error that makes sense in the local context:
https://github.com/golang/tools/blob/83362c3779f5f48611068d488a03ea7bbaddc81e/go/internal/packagesdriver/sizes.go#L90
But not when it's returned to the caller of packages.Load.
Perhaps it can be augmented to provide more details, such as:
could not determine GOARCH and Go compiler: cannot find main module at /tmp/empty

Given that this affects only Go 1.11 and not newer, and happens only when the Dir is incorrectly specified, the value of fixing this is not very high.
/cc @julieqiu @matloob

I've been made aware of two debug env vars. Using them makes it possible to get more information about what went wrong:
issue30355 $ GO111MODULE=on go run main.go
2019/02/22 14:53:05 could not determine GOARCH and Go compiler
exit status 1

issue30355 $ GOPACKAGESDEBUG=1 GO111MODULE=on go run main.go
2019/02/22 14:53:12 29.409141ms for GOROOT= GOPATH= GO111MODULE=on PWD=/tmp/issue30355 go [list -e -json -compiled -test=false -export=true -deps=true -find=false -- foobar/...]
2019/02/22 14:53:12 could not determine GOARCH and Go compiler
exit status 1

issue30355 $ GOPACKAGESPRINTGOLISTERRORS=1 GO111MODULE=on go run main.go
GOROOT= GOPATH= GO111MODULE=on PWD=/tmp/issue30355 go [list -e -json -compiled -test=false -export=true -deps=true -find=false -- foobar/...] stderr: <<go: cannot find main module; see 'go help modules'
>>
GOROOT= GOPATH= GO111MODULE=on PWD=/tmp/issue30355 go [list -f {{context.GOARCH}} {{context.Compiler}} -- unsafe] stderr: <<go: cannot find main module; see 'go help modules'
>>
2019/02/22 14:53:20 could not determine GOARCH and Go compiler
exit status 1

FYI, in Go 1.13 the same error occurs if a go.mod file has a local replace clause but the file path is incorrect.
I think that if packages.Config does not ask for NeedDeps or any LoadMode that requires parsing dependencies, then we should not encounter this error.
Here's my packages Config:
	var c packages.Config
	c.Mode = packages.NeedTypes | packages.NeedSyntax
	pkgs, err := packages.Load(&c, "main.go")

Where main.go is a simple file but has a go.mod with a bad replace clause
Here are the debug logs:
2019/10/07 04:14:06 23.5453ms for GOROOT= GOPATH=/go GO111MODULE= PWD=/my-app go "env" "GOMOD", stderr: <<>>
2019/10/07 04:14:07 430.095ms for GOROOT= GOPATH=/go GO111MODULE= PWD=/my-app go "list" "-m" "-json" "all", stderr: <<go<EMAIL_ADDRESS>parsing /Users/marwansulaiman/notexists/go.mod: open /Users/marwansulaiman/notexists/go.mod: no such file or directory
>>
2019/10/07 04:14:06 23.5453ms for GOROOT= GOPATH=/go GO111MODULE= PWD=/my-app go "env" "GOMOD", stderr: <<>>
2019/10/07 04:14:07 430.095ms for GOROOT= GOPATH=/go GO111MODULE= PWD=/my-app go "list" "-m" "-json" "all", stderr: <<go<EMAIL_ADDRESS>parsing /Users/marwansulaiman/marwan.io/notexists/go.mod: open /Users/marwansulaiman/marwan.io/notexists/go.mod: no such file or directory
>>
2019/10/07 04:14:07 438.4959ms for GOROOT= GOPATH=/go GO111MODULE= PWD=/my-app go "list" "-e" "-json" "-compiled=true" "-test=false" "-export=true" "-deps=false" "-find=false" "--" "api.pb.go", stderr: <<go<EMAIL_ADDRESS>parsing /Users/marwansulaiman/marwan.io/notexists/go.mod: open /Users/marwansulaiman/marwan.io/notexists/go.mod: no such file or directory
>>
run /Users/marwansulaiman/marwan.io/notexists: plugin error: error loading api.pb.go: could not determine GOARCH and Go compiler


the input feature must have a "aoi_name" column ..

.. otherwise it crashes
https://github.com/cusicand/lidarhd_ign_downloader/blob/18aa6976fa9b1a0cc1346904af3198b93be06cfe/lidar_downloader.py#L361

I did not notice that it was specified in the doc.

If you don't want to bother with aoi_name, you can add it automatically using the shapefile name
aoi_df = gpd.read_file(args.aoi_file, engine="pyogrio")
aoi_df["aoi_name"] = args.aoi_file.split('/')[-1]  # adding this to automatically create aoi name...


First Study Group meetup!

Alsalam alikm :)
Hope this finds you in the best of states...
This is just an invitation to the first 'informal' meetup! Please feel welcome to attend! We will just sit down, and see where to go from here (what we need to learn, want to share, frequency of meetings, timings and so on....)
Where: CBSB lab, University of Khartoum
When: Thursday, 7/4/2016, 12:00
Instead, you can fill in this form:  http://goo.gl/forms/OsIEwrFkJS
Looking forward to meeting you!
fi aman Allah,
Azza

Thank you to all who responded!
Here are some of the thoughts collected:

go through the recommended book (Bioinformatics data skills), chapter by chapter, and then through <Skype, maybe?> we share our progress, what works and what doesn't... (Skype seems to be the preferred medium of communication for most) ....> This can be on weekly basis?

Have a monthly meet up, where one would go through a tool/ topic they have recently learned or are familiar with, and this could literally be any tool/topic (cool R package, sequencing pipeline, command line trick... etc)....> This depending on feedback to the survey link...

As always, looking forward to hearing from you all! Please feel free to comment and suggest :)


detection on large cropped data

Hello Cyril,
The plugin is great and working fine on our data without retraining the models if we stick to small hundred-pixels-large 3d cropped volumes. But if we try to scale up to larger regions of the dataset, artifacts are biasing the detection. Is it even made for such data ? How would you advise to scale up the segmentation for the full dataset (180Gb large) ?

Appreciate your help !
Louis

Hey Louis,
Nice to hear from you again, hope you're well !

For the kind of artifacts you show I would recommend using the instance segmentation option for artifact removal

Basically it will perform a specific form of instance segmentation and remove all found instance labels that are larger than specified. It should be shown when you select instance segmentation on the latest version of the plugin.
If it does not work well please let me know, maybe we can come up with a more suitable filtering.

Just make sure to find a suitable threshold value first for the semantic output

You can do so using the contrast sliders on the semantic segmentation output; to me it seems your instance segmentation output might be empty because of the threshold value (semantic output looks fine, aside from artifacts)
In my experience this helped a lot to exclude artifacts when coupled with running the segmentation on certain regions after brain registration.

As for scaling up to a 180 Gb dataset, I assume this is the full brain ? I personally would not recommend running on the full brain, but choosing regions of interest (e.g. via registration) and then running the segmentation.

Technically I'm sure you can run on the full brain, for example you could fragment it into fairly large cubes and reconstruct it afterwards, but then you will have to go back and remove those volumes on which the segmentation cannot really work anyway - which is why I'd recommend the other way around : isolate ROIs that make sense for your question, and then run segmentation.
Hope this helps !
Best,
Cyril

Thanks a lot for the quick reply ! I should be working on it next week so I will let you know if anything goes wrong from what you suggested.
Appreciate your help 👍

will close for now, but do let us know how it goes!


lodash require

Hi!
It is possible to just require the lodash functions that this package actually needs?
Thanks!

Can you provide more information? I'm missing the context.

This package only use 3 functions from lodash, but it's important the whole package.
Well, I think that is not possible because lodash does not publish a package for every set of functions.

Hey!
I just found https://www.npmjs.com/browse/keyword/lodash-modularized, I was so wrong, we can require only those 3 packages:
https://www.npmjs.com/package/lodash.isarray
https://www.npmjs.com/package/lodash.isplainobject
https://www.npmjs.com/package/lodash.merge
What you think?

Sure, that sounds like a nice change. Want to PR or should I patch it?

I will PR :)


Integrate CNI as a additional health check to validate masters health

As a customer i want to have healtcheck also for CNI running on master nodes that will determine if the nodes are fully  up and running

what provider is this? all of them I guess

Ideally all but primarly was for AWS
On Thu, 12 Jan 2023, 17:13 Christian Bianchi, @.***>
wrote:

what provider is this? all of them I guess
—
Reply to this email directly, view it on GitHub
https://github.com/giantswarm/roadmap/issues/1452#issuecomment-1380645567,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTYKXZ4RMNI4HSSY3YLZULWSAUTDANCNFSM6AAAAAAQ3MCDN4
.
You are receiving this because you authored the thread.Message ID:
@.***>

and what does "health check" mean in this scenario? Like the ASG healthcheck?

I believe so, that comes as follow up from Nick and he will take it up
On Thu, 12 Jan 2023, 17:17 Christian Bianchi, @.***>
wrote:

and what does "health check" mean in this scenario? Like the ASG
healthcheck?
—
Reply to this email directly, view it on GitHub
https://github.com/giantswarm/roadmap/issues/1452#issuecomment-1380656615,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACTYKX52WFE5TMFSKCHWAFTWSAVDBANCNFSM6AAAAAAQ3MCDN4
.
You are receiving this because you authored the thread.Message ID:
@.***>

we are going away from aws-cni in favor of Cilium - not needed


Fail to generate links to a class with dots (namespace) in the @class name

Make sure these boxes are checked before submitting your issue - thank you!
(If your issue is neither a both bug nor a request, please write in a free style)

[x] https://esdoc.org/manual/feature.html
[x] https://esdoc.org/manual/config.html
[x] https://esdoc.org/manual/tags.html
[x] https://esdoc.org/manual/api.html
[x] https://esdoc.org/manual/faq.html

Short summary of your issue
It fails to generate the HTML a tags (links) for references to a Class with full namespace (with dots). See the example below.
Is there an alternative to solve this?
Input data for reproducing
Configuration
basic configuration using esdoc-standard-plugin and esdoc-ecmascript-proposal-plugin
Codes
/**
 *
 * @class My.Library.Manager
 *
 */
export class Manager {}

/**
 *
 * @class My.Library.Account
 *
 */
export class Account {
    /**
     *
     * @param {My.Library.Manager} manager
     *
     */
    constructor(manager) {}
}

Output data
it should generate the link (a tag) in the Account's constructor but it doesn't.
it does generate correctly when I remove the namespace part "My.Library."
Your environment

OS type and version: Mac
Node.js version: 10.16.0
ESDoc version: 1.0.0

I found out the way. Replacing @class with @typedef

If I use @typedef instead of @class the link works, but the I loose all the documentation of the class including its method, constructor, etc... Is there a way to have the class and the typedef working at the same time, so I can get the links?


Issues of getting response from my desktop

Hey got an LLM running on my desktop listening on all ports. For some reason I cannot get gen.nvim to give me a response.

My first guess is that you didn't select the model correctly in the config. That's what I encountered anyways.
Give this one a try. As soon as I did it this way I got a response:
model = "llama3.1:latest",

I have tried that. When I run curl -X POST http://**computersIP**:11434/v1/chat/completions \ -H 'Content-Type: application/json' \ -d '{"model": "yi-coder:latest", "messages": [{"role": "user", "content": "Write a hello world program in Python"}], "stream": true}'
I get a full response
now I have this in my configs:
 use {'David-Kunz/gen.nvim', opts= {                                        model = 'yi-coder:latest',                                       host = "<IP_ADDRESS>",                                       debug = true,                                       port = "11434",                                       command = function(options)                                            local body = vim.json.encode({                                              model = options.model,                                              messages = {{ role = "user", content = options.prompt }},                                              stream = true                                            })                                            return string.format(                                              "curl --silent --no-buffer -X POST http://%s:%d/v1/chat/completions -H 'Content-Type: application/json' -d '%s'",                                              options.host,                                              options.port,                                              body                                            )                                          end,                                          }}
I get no response.

@LukeW2002
I first encountered the same after switching to the model you tried. yi-coder:latest
No errors and no output.
But after running the model directly in Ollama, the model got downloaded and somehow registered.
ollama run yi-coder:latest
My config looks like this:
{     "David-Kunz/gen.nvim",     opts = {       model = "yi-coder:latest", -- The default model to use.       quit_map = "q", -- set keymap for close the response window       retry_map = "<c-r>", -- set keymap to re-send the current prompt       accept_map = "<c-cr>", -- set keymap to replace the previous selection with the last result       host = "<IP_ADDRESS>", -- The host running the Ollama service.       port = "11434", -- The port on which the Ollama service is listening.       display_mode = "float", -- The display mode. Can be "float" or "split" or "horizontal-split".       show_prompt = false, -- Shows the prompt submitted to Ollama.       show_model = false, -- Displays which model you are using at the beginning of your chat session.       no_auto_close = false, -- Never closes the window automatically.       hidden = false, -- Hide the generation window (if true, will implicitly setprompt.replace = true), requires Neovim >= 0.10       init = function(options)         pcall(io.popen, "ollama serve > /dev/null 2>&1 &")       end,       command = function(options)         local body = { model = options.model, stream = true }         return "curl --silent --no-buffer -X POST http://"           .. options.host           .. ":"           .. options.port           .. "/api/chat -d $body"       end,       debug = false, -- Prints errors and the command which is run.     },   },

Same here. The ollama logs get
[GIN] 2024/09/16 - 16:42:44 | 404 |     617.133µs |       <IP_ADDRESS> | POST     "/api/chat"
for every request (and nothing else).
Running the models directly using ollama run works just fine

Hi @Glavnokoman ,
Interesting, can you add debug = true to your options and check the output?
Thanks and best regards,
David

Having the same issue on one of my laptops. Did also turn on debug = true but no response. Changed LLM from "llama3.1" to "llama3.1:latest" with no effect still no output. The translation window opens it stays empty. debug or not.


chore: rename caches and related functions to indicate finalized

Motivation
EIP 6110 breaks the assumptions that validator indices are always finalized, and thus introduces pubkey caches for unfinalized validators (unfinalizedPubkey2index and unfinalizedIndex2pubkey).
As such, the original pubkey caches also need to update their naming to indicate they only store pubkeys and indices for finalized validators.
Description
Rename the following:

epochCache.pubkey2index -> epochCache.finalizedPubkey2index
epochCache.index2pubkey -> epochCache.finalizedIndex2pubkey
createCachedBeaconState() -> createFinalizedCachedBeaconState()
loadCachedBeaconState() -> loadUnfinalizedCachedBeaconState()

cc. @g11tech @tuyennhv
Related issue and PR: #6341  #6042

Ignore the spec test failure for now as the consensus-spec is in the progress of migrating 6110 spec test to electra

since this change is quite straightforward, should we merge this PR to unstable instead? then electra-fork should be rebased from unstable, or merge it

since this change is quite straightforward, should we merge this PR to unstable instead? then electra-fork should be rebased from unstable, or merge it

once this PR is merged into the electra, i can try cherrypicking out into the unstable

@tuyennhv Can you check if 7dda166 makes sense to you. Thanks!

setting this as a draft PR for now

Not relavent anymore


Rework PDF rendering pipeline to use dblatex

Description of changes:
This uses the xmlto and dblatex packages to transform AsciiDoctor-generated DocBook XML into LaTeX and then to PDF.  This enables a more robust and configurable rendering solution than AsciiDoctor's direct PDF generation, particularly with respect to math notation.  This is effectively a precondition for the denotational semantics document, which is naturally and unavoidably math-heavy.
There's a fair amount of customization and workarounds in here, about half of which were forced by limitations and outright defects in dblatex.  I've tried to document everything internally with the "why"s and links to relevant documentation, and that's what's most worth your attention, IMO.
I do not suggest reading too deeply into this PR unless you're particularly curious about the ugly details.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Here are copies of the resulting Ion Spec PDF:

IonSpec-before.pdf
IonSpec-after.pdf


Skinbuilder

https://github.com/stevk/glTF-Asset-Generator/tree/skinbuilder/Output/Animation_Skin
Fixes #459 and #396

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


Create a new release

Yes please! Anything I can do to get the Instagram fix into a new release?

A new release does not fix Instagram, one has to add an access_token to the Setting to do so. See the updated readme.
I should of course also get on with making a new release as well.

I see that the order of Instagram endpoints have been changed in the provider list this plugin rely on, meaning the deprecated endpoint is now favoured. I do not understand why it is in there at all, I will make a PR against @iamcal/oembed.
So even with adding an access_token it will be broken right now.
I am thinking more and more that I might need to keep my own vetted list, or get more involved with that repo as well.

I agree, it's confusing that in https://github.com/iamcal/oembed/blob/1db773d2665db51101776744f04a0a15b0086bdc/providers/instagram.yml a same URL can match multiple endpoints.
It does seem like the schemes in @iamcal/oembed are sorted by order of preference though. So the first match should be the "correct" one. If that's the assumption, then it would make sense to rewrite https://github.com/raae/gatsby-remark-oembed/blob/master/gatsby-remark-oembed/utils/getProviderEndpointForLinkUrl.js as:
const getProviderEndpointForLinkUrl = (linkUrl, providers) => {
  for (const provider of providers || []) {
    for (const endpoint of provider.endpoints || []) {
      const isInstagram = provider.provider_name === "Instagram";
      const hasAccessToken = provider.params && provider.params.access_token;

      for (let schema of endpoint.schemes || []) {
        schema = schema.replace("*", ".*");
        const regExp = new RegExp(schema);
        const isMatchingSchema = regExp.test(linkUrl);

        if (isMatchingSchema && isInstagram && !hasAccessToken) {
          throw new Error(
            "Instagram require you to configure an access_token. For more information, visit https://developers.facebook.com/docs/instagram/oembed/."
          );
        } else if (isMatchingSchema) {
          return {
            url: endpoint.url,
            params: {
              url: linkUrl,
              ...providerParams
            }
          };
        }
      }
    }
  }

  return {};
};

so return early as soon as a match is found. Would that make sense?

The deprecated endpoint has been removed (https://github.com/iamcal/oembed/pull/515), it should be reflected in the provider list within an hour and Instagram embed should work again if you provide an access_token.

@YoranBrondsema I would like to do a complete refactor of the code you reference as this was my first ever node project and I have learned a lot since then. Therefore I do not think we need to update this now as all providers should have only one match.
However when I get around to diagramming the refactor and roadmap for this plugin I would love to have you contribute.

@raae Sounds good! Thanks for following up on the issue on https://github.com/iamcal/oembed.

Working on it, help test the next version - see https://github.com/queen-raae/gatsby-remark-oembed/discussions/159


Create Norwegian translation

I added a Norwegian translation. I know it wasent a lot of strings, but i want to translate most of ModFest:Singularity to Norwegian.
Thanks for making this awesome mod.

e


How to mesh the particles after they have reached a steady state after emission?

I am trying to mesh the paticles using Zhu Bridson and Marcing Cubes but am unsure where to get the particle information so that I can generate a mesh. Is there any older commit that supports that?

We use a freeware tool called emPolygonizer for meshing which is based on marching cubes. However, the developer took the tool offline a few years ago since he don't want to spend more time on that. It is still a valuable tool and if you want to try you can find it in this archive:
https://web.archive.org/web/20160319035707/http://www.mootzoid.com/sites/default/files/dist/Mootzoid__Addons__emPolygonizer5.zip
Just use the command line tool to generate a mesh from the bgeo files that can be exported by SPlisHSPlasH.

Where in the code is the bgeo file export located? I am trying to get the particles data while the simulation is running.

Just enable the Partio Export in the GUI or in the scene file as described here:
https://splishsplash.readthedocs.io/en/latest/file_format.html#export

Thanks for replying. Is there a way to get the particles position without having to export via partio or vtk? I want to do meshing while splishsplash is running.

You could get them via the Python interface or in C++ from the FluidModel. Something like:
Simulation *sim = Simulation::getCurrent();
for (unsigned int i = 0; i < sim->numberOfFluidModels(); i++)
{
	FluidModel *model = sim->getFluidModel(i);
	for (unsigned int i = 0; i < model->numActiveParticles(); i++)
	{
		Vector &x = model->getPosition(i);
		...
	}
}


Custom swapchain

Hello,
What's the simplest way to add a custom swapchain and swapchaindescriptor for the renderer ?

There is nothing like this built in and i don't know how to do it

Yeah, i think it's not possible with WindowRenderTarget. Anyway, I'll close the issue since it's out of context! Ty!


xExchAutoMountPoint: Add Integration Tests and Fix Multiple xExchAutoMountPoint Issues

Pull Request (PR) description
Adds Integration tests for xExchAutoMountPoint, fixes issue described in https://github.com/PowerShell/xExchange/issues/244, and fixes an issue with the EnsureExchangeVolumeMountPointIsLast parameter.
This Pull Request (PR) fixes the following issues
Fixes #244

This change is

Codecov Report

Merging #245 into dev will not change coverage.
The diff coverage is 0%.

@@          Coverage Diff          @@
##             dev    #245   +/-   ##
=====================================
  Coverage   0.96%   0.96%
=====================================
  Files         36      36
  Lines       3925    3925
=====================================
  Hits          38      38
  Misses      3887    3887

Impacted Files
Coverage Δ

..._xExchAutoMountPoint/MSFT_xExchAutoMountPoint.psm1
0.86% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Another 0.5.x release

It seems like 0.6.0 is still going to be blocked for a while longer, and it's also unclear to me how long it would take after it's unblocked to get it ready.
I suggested these PRs be included in another 0.5.x release in #1413. This was before the 0.5.8 and 0.5.9 releases, but it seems like this hasn't been done (or only some of these were released). Can we have a release with these?

#1289
#1345
#1371
#1385 (not waiting on the PR author, i.e. me, AFAIK)
#1412
#1416

Originally posted by @jplatte in https://github.com/launchbadge/sqlx/issues/1413#issuecomment-909318547

All except #1385 have been released as 0.5.8/0.5.9, I'm not sure what you're talking about there.
#1385 I'm not convinced is not a breaking change but I haven't had the energy to review it in-depth, and it also needs rebased.
I was planning on kicking out a 0.5.10 for a bunch of other PRs that have been merged since the last release, but people keep opening new ones. It's a good problem to have, I guess. If you want to move the release along, it'd be great if you could go through and add reviews to any that don't have one yet.

Oh, sorry. Seems like I didn't check the docs well-enough.


Refactored OLS handler main file

Description
Refactored OLS handler main file
Type of change

[x] Refactor
[ ] New feature
[ ] Bug fix
[ ] CVE fix
[ ] Optimization
[ ] Documentation Update
[ ] Configuration Update
[ ] Bump-up dependent library
[ ] Bump-up library or tool used for development (does not change the final image)
[ ] CI configuration change
[ ] Konflux configuration change

Codecov Report
Attention: Patch coverage is 85.71429% with 3 lines in your changes missing coverage. Please review.

Project coverage is 73.91%. Comparing base (3141272) to head (ed026e6).
Report is 4 commits behind head on main.

Files with missing lines
Patch %
Lines

ols/app/endpoints/ols.py
85.71%
3 Missing :warning:

Additional details and impacted files

@@             Coverage Diff             @@
##             main    #1715       +/-   ##
===========================================
- Coverage   94.90%   73.91%   -21.00%
===========================================
  Files          60       58        -2
  Lines        2689     2618       -71
===========================================
- Hits         2552     1935      -617
- Misses        137      683      +546

Files with missing lines
Coverage Δ

ols/app/endpoints/ols.py
84.11% <85.71%> (-15.43%)
:arrow_down:

... and 31 files with indirect coverage changes

/approve

/override "Red Hat Konflux / lightspeed-service-on-pull-request"

/lgtm

/retest

/override "Red Hat Konflux / ols-enterprise-contract / lightspeed-service"

/retest


[KS-195] Streams Trigger and Aggregator refactoring

Convert BenchmarkPrice type to big.Int.
Add signature fields to FeedReport.
Support pluggable Codec in Streams(Mercury) services.

@bolekk @DeividasK is there a corresponding change for the core codebase?

Yup, here: https://github.com/smartcontractkit/chainlink/pull/13199


start building python graphical tests

For #3046.
I'm in the process of learning CMake. Please review.

Dunno why it's failing. Passes on my local.

As said, check the travis log, search for "error" and you will see that matplotlib is not there

I close this for now....Feel free to re-open if you wanna continue, but it is not really there yet


How to prevent selection right after a right-click

I would like to prevent the selection from starting immediately following a right click (also control-click on Mac). I have a UI with contextual menus, and I do not want the selection to start after closing the menu.
I assume I would do something in beforestart, but I'm not surer where to begin.

Examples?, if not then just return false in beforestart if you don't want the selection to, well, start.

I think the questions is more related to the event.stopPropagation(). Is is possible to preventing the click from going through?

@Simonwep An easy way to recreate this issue (On Chrome) is to right click on a selectable area and select Inspect. Not sure how you'd get around this other than to limit the click event that triggers Selection to only left mouse clicks. Perhaps another option to add to the config, e.g. leftClickOnly: true

Here is an example of how you could do that :)

I'm doing this:
selectionArea.on('beforestart', beforeStartHandler)
  const beforeStartHandler = ({ event }: SelectionEvent) => {     return (event as MouseEvent).buttons !== 2;   }

@Simonwep your example links lead me to 404 error pages

Created a PR (#163) to add @LouGhys's example in the "recipes" file.

Closing this #163, thank you @AlbertMN!


Chore/remove bucket ingest cache

This PR removes the no-longer-used BucketIngestCache collection.

Codecov Report

Merging #325 into release25 will increase coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           release25     #325    +/-   ##
===========================================
  Coverage      67.86%   67.87%
===========================================
  Files            182      182
  Lines          12478    12478
  Branches        2932     2780   -152
===========================================
+ Hits            8468     8469     +1
- Misses          3942     3943     +1
+ Partials          68       66     -2

Impacted Files
Coverage Δ

meteor/server/DatabaseCaches.ts
97.74% <0.00%> (ø)

meteor/server/api/systemTime/systemTime.ts
81.81% <0.00%> (+1.13%)
:arrow_up:

Continue to review full report at Codecov.

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

I mimicked what we're doing in the migrations for 0.25.0 (https://github.com/nrkno/tv-automation-server-core/blob/master/meteor/server/migration/deprecatedDatabases/0_25_0.ts#L42).
I haven't found a way to easilly drop the collection without going through meteors mongo implementation.

I mimicked what we're doing in the migrations for 0.25.0

I was not aware we did that.
I'm not very opposed to this, so go ahead and merge


Option to hide the system tray icon in PowerToys Settings - General Tab

Just an option to hide the system tray icon directly in the settings of the app.
If you'd like to see this feature implemented, add a 👍 reaction to this post.

Duplicate of https://github.com/microsoft/PowerToys/issues/765


refute_graph

Hi,
I am recently trying to refute_graph method in CausalModel class. I installed the latest release version 0.7 using "pip", but keep telling me "refute_graph" is not in CausalModel. I checked the v0.7 source code and found that 'refute_graph' is recently added after the release of v0.7. Is there any way to walk around? I tried to first git clone the current master repository, and then use the local files to install following "pip install -e ." and it does not work too. Should I make some change in the 'setup.py'?

yes, using git clone and then pip install -e . from the root directory should have worked. No other change is needed. Maybe try again with a different environment?
(note: refute_graph is under development. you may notice some bugs but would love to hear your feedback  :) )


Change URL & Repo Name

This is kind of something you HAVE to do, for a lot of reasons. I am a veteran GitHub Pages user, I have hosted many websites on GitHub pages. There are a lot of reasons this is MANDATORY to change the URL from "border.github.io"

GitHub Pages URLs are based on usernames, meaning the URL is already borderos.github.io
Not naming the repo "borderos.github.io" and using "border.github.io" instead is a very stupid idea. Remember the 1st point because this really ties into that, as the URL will not change by using "border.github.io" over "borderos.github.io", instead it is now  borderos.github.io/border.github.io, when if the repo is "borderos.github.io" it will set the domain to "borderos.github.io"
border.github.io is taken by the user border, and even though the website is not in use, the GH account is taken. Again, GH Pages URLs are based on the username of the person or organization and don't change unless you get the account to be named border, which is a taken account on GitHub.

Change the URL.  This is something needed to be fixed.

change made

change made


Prevent redeployment of own host

redeploying own host "bricks" the system, which is probably not what we want

Fixed in 2.0


Suggestion

Description
Please add a option which gives all permisions and option for selecting all permisions of selected plugin and we dont have to waste our time selecting everything.

there are wild cards permissions like test.* which gives all permissions that starts with test.. I don't think what you suggested is need or even possible since LP doesn't actually know all permissions other plugin uses.


Added optional parameter for Nest in config to specify the "Unit"

I have added an optional parameter for Nest component in config that will specify the desired "Unit of Measurement" (C/F).
Default will be "Celsius" if new parameter is not added to the config.

Hey Stefano, this is awesome. I think it can use some minor adjustments so we can solve this problem once and for all. To do this we would:

Add temperature_unit to [homeassistant] instead of adding unit to the [thermostat] section
Have class NestThermostat return temperature in Celsius
Adjust ThermostatDevice to convert the temperature to the global set temperature unit.

Thanks Paulus, your comments make perfect sense. I will work on the suggested modifications as soon as possible.

I'd give serious bonus points if you parsed lat/long and picked a sensible F/C default based on that.  Boxing out USA should be pretty easy, and speaking as a Canadian in USA would make sense (even though I would override it).

@kangaroo I think we can push that idea even further and do automatic lat/lng based on the user IP address (using something like this). I wonder where such logic should live in the current setup. It could be something that would get loaded by the setup of homeassistant.components and would adjust the config object being passed in. Or maybe a location method/property on the Home Assistant main object, although I rather not pollute the core api too much.

Closing this one because it is no longer needed.


How to output to log file and console?

Checklist

[X] I'm asking a question and not reporting a bug/feature request
[X] I've looked through the README
[X] I've read the guidelines for opening an issue
[X] I've searched the bugtracker for similar questions including closed ones

Question
Hi,
How can I direct the output of yt-dlp to a log (or text) file, while also keeping the output to the console?
I can re-direct the output to a text file via >log.txt 2>&1, but it disappears from the console.

Windows doesn't provide this functionality. In UNIX, you can use tee

If you're ok with PowerShell, you can try something like this:
powershell.exe "YT-DLP CMD HERE" | Tee-Object -Append "OUTPUTFILEPATHHERE.txt"

Will try it out @pukkandan - thank you for the guidance
Thanks for the recommendation @wamasi - I'm using Ubuntu Terminal, do you have an alternative command for Terminal?

You can just use pukkandan's suggestion with 'tee' in ubuntu terminal
example:
yt-dlpcmdhere |& tee -a '/path/to/file.log'
source: https://askubuntu.com/a/731237

When running my command in python and subprocess, I'm getting this error:
FileNotFoundError: [Errno 2] No such file or directory: 'yt-dlp -i "..." -o "%(playlist_title)s/%(upload_date)s - %(title)s" --download-archive "archive.txt" --match-filter "!is_live & title~=vs & duration > 600 " --add-metadata --merge-output mp4 --embed-thumbnail |& tee -a test.log'
Not sure if this is outside the scope of yt-dlp. Hope you can point me in the right direction.

You are using subprocess wrong. It takes a list of [exe] + [args], not the whole command string. I suggest looking at docs/tutorials or asking in a python community

Will do. Thanks @pukkandan  and @wamasi for directing me towards tee.
If anyone else comes across this, using something like yt-dlp -i ... | tee -a log_file.txt worked for me


Feature: [List template] Add Group operations on table data records

Idea is to cover point about basic operations on multiple records in List view.
As implemented in Gmail for example or many other systems.

Example Business Problem:

(Basic) User needs to delete all records in table Sometable
(Basic) User needs to delete selected records in table Sometable
(Advanced) User needs to select all issues with status "New" and change status to "Assigned to" with set other column "User" to "Alexander Sokolov"
(Advanced) User selects some records about Goods in current view and the View calculate sum of Goods prices.

Usage Scenario 1 "Mass Delete":

User selects records that he needs and click to required action Delete (may be Group Delete will different Action?).
Also User can first selects records using Search filter and than checks flag "select all records".

Saltcorn shows dialog Are sure to delete all| records.

If user accepts Action then  Action will be applied to selected records.

Usage Scenario 2 "Delete on all records":

User chooses checkbox "all records" and clicks to required action.
Saltcorn shows dialog Are sure to delete all| records.
If user accepts Action then  Action will be applied to all records.

Usage Scenario 3 "Change status and assign to some user"

User selects records that he needs and click to field "Assign" that has type "Link to (other) view".
Saltcorn shows correspoinding Edit template view with fields

Status
AssignedToUser
Reason
And buttons:
Apply or Assign
Cancel

User populates data and push button Apply:

chooses status
chooses user to Assign
write reason text

Saltcorn updates all selected records with required data about:

Status
AssignedToUser
Reason

Configration/Architecture:

I think than we need flag for Action / Link to view - allowed multiple record operation or not.
Defaut can be "not".
checkboxes "Select All" / "Unselect All"

Has anyone worked on this or found a suitable workaround?

No, I need this as well. I will add this as a feature in the tabulator module when i get time.
The tabulator module does have a feature for selecting rows and applying an action to them. However, this does not allow you to input any values that are used to update all the selected rows. What I want to do is that in the tabulator module where you select the action that can be applied to selected rows, you can also choose an edit view. Then a pop-up will appear and any values from that edit will be applied to all the selected rows.
That's the plan anyways

Have you had any success/progress with this plan?

this is now implemented in tabulator module 0.10.0. in the "Selected rows action" setting (functionality tab) you can now choose an edit view of the same table. When clicked the edit form comes up in a popup. If save the fields that are filled out in the form will be applied to all the selected rows. Note that the Edit view needs to have a simple Save action button for this to work


Add error message to broker response in case of broker send error

On Pinot Broker, the incoming request gets written into socket channels of the target Servers. This happens on QueryRouter.submitQuery(...) function. If any exception occurs during  submitQuery for any reason like connection refused to one of the servers, sending requests to the remaining servers are abandoned and the partial responses from already successful sent requests are returned in BrokerResponse with no indication of the exception.
Although partial response is acceptable, there should be an indication of such problem in broker response to make life easier for ppl debugging this issue. Recently there was an incident where, for a specific use case, broker response was empty (no partial response) and there was no exception returned, while data was available on Pinot Servers. After good amount of time going through logs, this issue was discovered with exception being connection refused by only one faulty server.
This PR adds the exception to BrokerReponse for easier debugging.

An ECONNREFUSED situation (indicating that the remote server refused connection) means that the pinot-server process on the server is not running.
It will happen very quickly (the kernel will return the error), definitely much quicker than any response from other requests for other servers. So, when the broker gets notified of a connection request failure, it is likely the first response seen in the map of responses.
If the pinot-server process has gone down, then it is likely the case that we have not gotten notification from Helix as yet (otherwise, we would have taken down the server from the routing table and would not be routing to that server).
So, we are trying to address a window between the time the server went down, and the time we get notified by Helix.
True, Helix can sometimes take longer time to notify (depending on zookeeper speed).
It is good to note in the PR that this is the case we are addressing.

That's true. That's the issue that we faced and we want to prevent that, but please note that we're catching not only connection refused exception but all types of exceptions in submitQuery() and adding the exception stack trace to the returned broker response will help debugging for other issues as well.
    for (Map.Entry<ServerRoutingInstance, InstanceRequest> entry : requestMap.entrySet()) {
      ServerRoutingInstance serverRoutingInstance = entry.getKey();
      try {
        _serverChannels.sendRequest(serverRoutingInstance, entry.getValue());
        asyncQueryResponse.markRequestSubmitted(serverRoutingInstance);
      } catch (Exception e) {
        LOGGER.error("Caught exception while sending request {} to server: {}, marking query failed", requestId,
            serverRoutingInstance, e);
        _brokerMetrics.addMeteredTableValue(rawTableName, BrokerMeter.REQUEST_SEND_EXCEPTIONS, 1);
        asyncQueryResponse.setBrokerRequestSendException(e);
        asyncQueryResponse.markQueryFailed();
        break;
      }
    }


chore: update dependencies

@mgechev Just for reference: I was not able to update @types/chai, chai, chai-spies and source-map because this broke some tests.

👍


Add renderer to pageInfo

Resolves #1928 by adding a field in the pageInfo for the renderer.  No additional functionality.

Noice. 👍 :fire: :star: :sparkles: ✔


SIGBUS copying fpsimd_context on aarch64 Linux

Describe the bug
On aarch64 Linux, the crash handler crashes with a buffer overflow copying the SIMD register context.
To Reproduce
Compile and run this program with crash-handler 0.3.1:
fn main() {
    let _guard = crash_handler::CrashHandler::attach(unsafe {
        crash_handler::make_crash_event(|_| crash_handler::CrashEventResult::Handled(true))
    });

    std::process::abort();
}

Running it in GDB and continuing past the SIGABRT, the program hits a SIGBUS:
Program received signal SIGBUS, Bus error.
__memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:182
182     ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.
(gdb) bt
#0  __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:182
#1  0x0000aaaaaaaade9c in core::intrinsics::copy_nonoverlapping<crash_context::linux::fpsimd_context> (src=0xfffff7ff8ff0, dst=0xaaaaaab16640 <crash_handler::linux::state::CRASH_CONTEXT+4576>, count=528)
    at /rustc/fe5b13d681f25ee6474be29d748c65adcd91f69e/library/core/src/intrinsics.rs:2123
#2  0x0000aaaaaaaad32c in crash_handler::linux::state::HandlerInner::handle_signal (self=0xaaaaaab15448 <crash_handler::linux::state::HANDLER+8>, _sig=6, info=0xfffff7ff8da0, uc=0xfffff7ff8e20)
    at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/crash-handler-0.3.1/src/linux/state.rs:432
#3  0x0000aaaaaaaacf50 in crash_handler::linux::state::signal_handler (sig=crash_handler::linux::Signal::Abort, info=0xfffff7ff8da0, uc=0xfffff7ff8e20)
    at /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/crash-handler-0.3.1/src/linux/state.rs:337
#4  <signal handler called>
#5  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#6  0x0000fffff7e10ea0 in __GI_abort () at abort.c:79
#7  0x0000aaaaaaad6910 in std::sys::unix::abort_internal () at library/std/src/sys/unix/mod.rs:258
#8  0x0000aaaaaaaa67e0 in std::process::abort () at library/std/src/process.rs:2059
#9  0x0000aaaaaaaa7a04 in crash_test::main () at src/main.rs:6

Expected behavior
The crash handler should not crash :D
Additional context
If relevant, I'm running this in a Docker container on an M1 Macbook.

The copy_nonoverlapping call here is working with *mut fpsimd_context but passing size_of::<fpsimd_context> in as the count, so it's actually trying to copy 528 sequential fpsimd_context structs! I will make a PR.


⚠ Secret Website 3 has degraded performance

In 104aebe, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 3256 ms

Resolved: Secret Website 3 performance has improved in 87ddf8e.


fix: Set target Java bytecode to version 1.8

Travis was reconfigured to use JDK11 which caused the project to be compiled to Java 11 bytecode. We still need to use Java 8.

:+1:


Non-English Characters are not working in the Snap-Version

I can't write characters like öüä or € when using the Minetest-Snap
Maybe the language code or something like this needed to be transfered.
minetest/minetest/issues/10178

Does starting Minetest with LC_ALL="C.UTF-8" minetest (in a terminal) fix this issue?

Does starting Minetest with LC_ALL="C.UTF-8" minetest (in a terminal) fix this issue?

Nope.
Ping to hopeful responsible one @popey


Declaration merging can be inconsistent

TypeScript Version:  4.0.3

Search Terms:

module
declare
merging
declaration

Code
Source file index.ts:
import { foo } from "./foo.ts"
console.log(foo({ fooField: "hello" }))

Source file foo.ts:
import { Bar } from "bar"

declare module "bar" {
  interface Bar {
    fooField?: string
  }
}

export const foo = (e: Bar) => e.fooField

Compiled index.d.ts:
export {};

Compiled foo.d.ts:
import { Bar } from "bar"
declare module "bar" {
    interface Bar {
        fooField?: string;
    }
}
export declare const foo: (e: Bar) => string | undefined;

Expected behavior:
Compiled index.d.ts should look like:
import "./foo"
export {};

The declaration merging for module "bar" should be happening when importing index.d.ts. More precicely:
The compiler should automatically replace import { x } from "./foo" with import "./foo" when generating .d.ts file, if no type from foo.d.ts is used/exposed but importing that file would result in module declarations merging.
Actual behavior:
index.d.ts does not import ./foo.d.ts, meaning that the declaration merging does not happen for module "bar".
Now if we do decide to export something from foo.ts, then everything just "works" (./foo.d.ts gets referenced from index.d.ts), which is wrong for several reasons:

we might not want to expose anything from foo
compilation errors might start occurring in the importing file (if it relied on Bar.fooField), because an unrelated export was removed
when developing index.ts, the dev will "see" the Bar.fooField property, and will wrongly assume that any user of that file will "see" it as-well.

The current way of supporting this is to manually import "./foo" at the beginning of index (in addition to the import { foo } from './foo'). But then it means that you need to know the internals of every dependency you have (you only need to explicitly import modules that do declare module definitions to be merged).
The compiler should automatically replace import { x } from "./foo" with import "./foo" inside .d.ts file, even if no type from foo.d.ts is used, if importing that file would result in a declaration merging.
Playground Link:
https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgMwhOBfFUIjgIgDoB6VCfAWACgBjCAOwGcIAbAU0JYgHMAKM3ggwBKYdWrFicYMjgkyhKIzh16MAIbAmcZiDZwAJmxot1UdTGAM4eqNy3cANHBgALNgE84AdwYByeAAjfXUwMBZgNgMfd3ppcGhLem4XV2BlZGB2IA
Related Issues:
N.A.

Well, I mean, while we could, technically do

The compiler should automatically replace import { x } from "./foo" with import "./foo" inside .d.ts file, even if no type from foo.d.ts is used

it's a simple transform, it has a tangible downside. You'd lose the ability to, say import {x} from "lodash" in your implementation, and not depend on lodash's types if you don't use them (since we'd be emitting import "lodash" in the declaration file). That's a real, tangible downside. (And a big perf hit in larger projects, I think.) The

if importing that file would result in a declaration merging.

part is even rougher - that relies on import ordering on how the files are first encountered when loaded, which isn't necessarily stable given incremental scenarios (or cycles), so wouldn't be terribly reliable.
I'm... not really a fan. If your deep imports are an important part of the API contract of including the file (ie, including X means Y dependency with typespace sideeffects is implicitly included), we have both import "lib" and /// <reference types="lib"/> which can be added by a user to explicitly serialize that dependency if you find it important.

Thank you for you response @weswigham. I agree with everything you said. Here is the use-case which made me encounter this issue, which makes your solution from the last paragraph no so convenient.
The "problem" gets really annoying when sub modules are involved. In my previous example, we could indeed either import "./foo" or /// <reference types="./foo"/> from /index.ts. But imagine that ./index.ts was actually the entry point of a private sub-module (actual file location: ./sub-module/index.ts). In that case, when importing that sub-module from the root module developers would expect import * from './sub-module' to work. During the build, tsc would not complain about any reference to the types from the merged declaration in the root ./index.ts. However the generated root declaration file (./index.d.ts) would contain neither import "./sub-module/foo" nor /// <reference types="./sub-module/foo"/>. this means that is you have a structure in which a sub-module uses declaration merging, any module importing it, must also explicitly either import "./sub-module" or /// <reference types="./sub-module/foo"/>. Transitively. This kinda breaks the separation of concerns, and the ability for teams to transparently work together.
I am not saying my suggested solution is the way to go (I really don't know the internals of TS enough to be able to pretend to that). But I really think that conceptually importing a .ts module that (directly or indirectly) causes declaration merging should result in that declaration merging also being reflected when importing through the .d.ts declaration files.

Now regarding you remark on ordering, note that there is no issue whatsoever when working with the .ts files directly. Why should there be an issue when importing .d.ts file in the same order as in the corresponding .ts file ?

Is my understanding of typescript 5'v new verbatimModuleSyntax option correct when I assume that it solves this issue ?


Any function to do with Find And Replace is not currently working. Do not use them, you will not get the expected result.

I am currently investigating this bug and I expect it to be fixed by tomorrow.

Update: Found an issue with Read_File(). Fixed in 76f0917467518a646679f05f4c4b13af8309cb1a

Update: Fixed completely with commit in (e9a600f12458ed943bcd9f60eeb7f7f9433f4b66)[https://github.com/rosidae/utl/commit/e9a600f12458ed943bcd9f60eeb7f7f9433f4b66]

Objection: Any special characters in the replace string will potentially produce unwanted results. This is because we are using Regex (i hate regex) and converting the replace string to regex, which produces unwanted results in this case.

Update: My top goal today is to get this fixed so that we either

Do not use regex
Escape special regex characters

Removed find and replace, sorry.


Support for BIP49 (segwit) address?

Hello
Is it possible to generate segwit style addresses as defined in BIP49? It should be compatible with BIP44 and only require change to derivation path, but I am not able to generate proper segwit addresses. It also seems impossible to generate addresses using custom derivation path without private key part?
k=BTC::Keychain.new :xpub => "xpub6CUGRUonZSQ4TWtTMmzXdrXDtypWKiKrhko4egpiMZbpiaQL2jkwSB1icqYh2cfDfVxdx4df189oLKnC5fSwqPfgyP3hooxujYzAu3fDVmz"
k.derived_key("m/49'/0'/0'/1'").address

The result is BTC::BTCError: Not possible to derive a hardened keychain without a private key (index: 49).
If I do initialize it with xprv instead, for example
k=BTC::Keychain.new :xprv => "xprv9s21ZrQH143K4KqQx9Zrf1eN8EaPQVFxM2Ast8mdHn7GKiDWzNEyNdduJhWXToy8MpkGcKjxeFWd8oBSvsz4PCYamxR7TX49pSpp3bmHVAY"
k.derived_key("m/49'/0'/0'/1'").address
# => #<BTC::PublicKeyAddress:1AgPR8sjddSPY4ZQsZet5JxjEJTLrSMqVK>

It does generate address, but not segwit style.
Can you please tell me if I am doing something wrong? Ideally I want to generate segwit style addresses with only xpub.

I think you're using it incorrectly. I tried to use it like this and it works perfectly. You don't need to supply the full path but only the index.
wallet = BTC::Keychain.new(xpub: "xpub6EEtgK5WdTq4FK4BwU38C8g2FKAANdMoxCoKXwkjFSm3p2qCqbGQPehPBKi5PdeGM3JqZR4y5mFsAexSCCS8vogQpv9CV6vFPeznEUTjvMX")
wallet.derived_key(0).address.to_s  # 151BbmtNVLduGhumeq1vuxFvp5PejuQdtC

Which is the same when I use tool like https://coinomi.com/recovery-phrase-tool.html

@iamarmanjon this is old style address, not Segwit.
Segwit addresses are either old style, embedded in P2SH, starting with "3", or new style (bech32) starting with "bc1"

Any plans to add SegWit (BIP49/BIP84) support? @oleganza


Firmware versions could be implemented as an interface

Arguably, we should do this with firmware_version also.
Originally posted by @trickeydan in https://github.com/j5api/j5/issues/488#issuecomment-636790500

We can't do this. Firmware versions can be used to determine which backend to use for a board, especially if multiple firmware versions are in the field.


Optimzer should be stepped before scheduler

Describe the bug
Currently, GaNDLF calls optimizer.step() after scheduler.step() but it should be the other way around. n PyTorch 1.1.0 and later, you should call them in the opposite order: optimizer.step() before scheduler.step().  Failure to do this will result in PyTorch skipping the first value of the learning rate schedule. See more details at https://pytorch.org/docs/stable/optim.html#how-to-adjust-
Additional context
Reported by @Geeks-Sid

GaNDLF is calling optimizer.step() in the training_loop.train_network function [ref] and scheduler.step() in the training_loop.validate_network function [ref], which is exactly what is expected.


[Enhancement] use session variable to control cross join penalty

Fixes #issue

Setting a large penalty to cross join cost in reorder algorithm to avoid choosing a transfromed plan with it.
Setting inner join type when there exists a  on predicate on matter whether it's a equal predicate.
The computeCost logic in JoinReorder is realtive simple which actually just add the outputSize of all children. We will  improve it in the next pr.

What type of PR is this:

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

Does this PR entail a change in behavior?

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

If yes, please specify the type of change:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 18 / 20 (90.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
4
50.00%
[2704, 2705]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 18 / 20 (90.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
4
50.00%
[2704, 2705]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 18 / 20 (90.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
4
50.00%
[2704, 2705]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
10
10
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
6
6
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:heart_eyes: pass : 25 / 27 (92.59%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/qe/SessionVariable.java
2
4
50.00%
[2704, 2705]

:large_blue_circle:
com/starrocks/sql/optimizer/rule/join/JoinOrder.java
17
17
100.00%
[]

:large_blue_circle:
com/starrocks/sql/optimizer/cost/CostModel.java
6
6
100.00%
[]


Update ivideocompositor.md

Fixed formatting

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Bringing the ZCPU back to base wiremod

The ZCPU chips are an important part of wiremod and i think they should return to base wiremod
Those are some reasons why i think the ZCPU chips should come back to base wiremod:

The CPU, GPU and SPU chips are very useful when it comes to creating virtual computers and consoles on garry's mod
The GPU has 3D capable features while the Expression 2's EGP can't do 3D graphics that well
The ZCPU has a powerful instruction set capable of advanced stuff like page management, interrupt handling and matrix math
The ZCPU's Virtual Machine is really helpful when it comes to executing code that is stored on a DHDD
The ZCPU's Virtual Machine is really fast, capable of executing around 1400000 instructions per tick without lagging the server
If the ZCPU doesn't come with the base wiremod, newcomers won't know about the powerful features that the ZCPU comes with
The serverside lua access exploit should have an easy solution

If 7. gets addressed then it should be possible to bring back

Do you know what are the causes of the exploit?

The serverside lua access exploit should have an easy solution

Maybe. But the fact it is transpiled and the original dev isn't available (and has largely forgotten about the project after a decade) always leaves room for holes.
Also, the serverside lua exploit wasn't the only reason why it was removed from the base mod. It hasn't been worked on for a decade so the bugs and code quality are completely stagnant.
Removing it has opened up a slot for a new, actually maintained chip. So for the rest of the points, there's work on a new chip. We can see if that goes anywhere and come back to this.

If the ZCPU doesn't come with the base wiremod, newcomers won't know about the powerful features that the ZCPU comes with

To be fair I doubt there's really any newcomers to CPU or GPU anymore, which is why removal was on the table anyway.

The ZCPU's Virtual Machine is really fast, capable of executing around 1400000 instructions per tick without lagging the server

If you want speed, you use starfall or E2 on my new compiler https://github.com/wiremod/wire/pull/2555.
CPU's speed shouldn't even be a plus, theoretically being transpiled it should wipe the floor with E2 and Starfall, yet it doesn't

Either way I don't want it coming back to the base repository, at least I'd prefer it being fetched from here and packaged. Having it in a separate repo separates the bugs that would practically never be addressed otherwise.
Would be really easy to bundle it for the workshop but for the repo, pretty tricky...

Do you know what are the causes of the exploit?

Transpiling code would concatenate numbers for certain instructions, however malicious users could try and stick a string where a number should be since lua allows concatenating both numbers and strings.
Would need to sanitize all of the transpiling code (saw 2000 lines and didn't want to bother) to leave no holes open for exploiting. Yes you can say you sanitize the wire inputs, but we did that twice and apparently people were still exploiting it.

Should it be a good idea to add the CPU chips to the workshop as a separate addon?

Not until 7. is addressed.

well, then i guess it's better to leave the ZCPU chips archived on this repo

should i close this issue or leave it open?

Probably fine to leave open

ZCPU is presently back on the workshop, as the original RCE is fixed, however this issue shall remain open for a while as there's no guarantee a new RCE won't be found.

With #48 merged, the chances of new RCE's cropping up that cause major issues should be fairly low, so this can be closed I feel.


Remove version: GNU.MidnightCommander version 4.8.27

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/mcwin32/files/mcwin32-build224-setup.exe/download
Status Code: 200
(Automated message - build 896)

Close with reason: Package still available.;


Expanded joins do not fill chat window properly

Picture should speak for itself.
To reproduce:

You should be running latest master (after condense-joins merge)
Have someone join/leave a couple of times so lounge condenses it into a condensed join view
Expand it on a non-mobile device

Just a quick note that this should fix it when applied to the messages inside the condensed:
flex-basis: 100%;

Will fix tonight, thanks!


Add exit codes to rake task.

I couldn't figure out how to mock a file correctly, so I don't have a positive test case. I did test this locally and it returns things as expected:
wli@oort:~/projects/test$ rake scss_lint
app/assets/stylesheets/test.scss:20 [W] SingleLinePerSelector: Each selector in a comma sequence should be on its own line
scss-lint found lints
wli@oort:~/projects/test$ echo $?
1

Hey @wli, thanks for the pull request.
While my first reaction to this is that rake tasks should not return status codes, I appreciate the fact that this isn't a hard rule outlined anywhere. Bear in mind this does prevent scss-lint from being used as a dependency for another rake task.
However, given I'm pretty sure the major use case for rake integration is to simply run rake scss_lint to lint, I'm fine including this for now. If this bites anyone else, feel free to open an issue and we'll revisit.
Merged in 6aa9703 with some adjustments in bd0ffa9.

Thanks for fixing this up @sds! Looking forward to the release.


 Shall I set enviorment DOCKER_NGINX_VOLUME_ROOT ? If yes, which value should it be?
To Reproduce
Steps to reproduce the behavior:

run docker compose up -d db in the shell according to https://github.com/safe-global/safe-config-service#2-launch-the-postgres-database-image

Expected behavior
The command should not report any error message.
Environment (please complete the following information):

OS: Ubuntu 22.04
Version 2.41.0

Additional context
Error messages:
WARN[0000] The "NGINX_HOST_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_NGINX_VOLUME_ROOT" variable is not set. Defaulting to a blank string.
WARN[0000] The "POSTGRES_PORT" variable is not set. Defaulting to a blank string.
WARN[0000] The "DOCKER_NGINX_VOLUME_ROOT" variable is not set. Defaulting to a blank string.
1 error(s) decoding:

* error decoding 'Volumes[1]': invalid spec: nginx-shared:: empty section between colons

Thanks for reporting this issue.
We should not assume that the environment variables are indeed set. Even though they can be set via the .env file we want to provide a quick way where you can start the service with some sensible development defaults without having to tweak your local environment.
My proposal is under: https://github.com/safe-global/safe-config-service/pull/730
However your solution in https://github.com/safe-global/safe-config-service/pull/729 should work just fine. But our goal is to streamline the startup of these services (without changing the local environment)

Your solution https://github.com/safe-global/safe-config-service/pull/730 is better.

Thank you for the contribution! @gzliudan


Remove duplicate call to render() in ItemRenderer

Seems to significantly improve fps when rendering items with no loss of functionality (looks like a typo)

I'm gonna close this but I have implemented in a released fix due to forgetting to merging this, thanks very much for the help!


server.silent config isn't working

Tried setting silent, but I still see remix dev tools server logs. On 4.2.3.
Also tried with the server.logs config and logs still show up in console.

@derekr please try now with https://github.com/forge42dev/Remix-Dev-Tools/releases/tag/v4.3.2

Looks good! Thanks @AlemTuzlak!


wLimit may decrease when quantile approaches 1

In my C++ implementation, tdigest buffer expands above compression (delta) size when inputs are very long. I find the tdigest buffer is flooded with centroids with weight=1 at the end.
Below is my finding, would like to hear advice from @tdunning.
Code: https://github.com/tdunning/t-digest/blob/master/core/src/main/java/com/tdunning/math/stats/MergingDigest.java#L449
k1 = scale.k(wSoFar / totalWeight, normalizer);
wLimit = totalWeight * scale.q(k1 + 1, normalizer);

wLimit is the limit of accumulated weights for current centroid. I think it should be strictly increasing. But when quantile approaches 1, it actually decreases, which causes all latter inputs occupy one centroid of their own, so the long unit weight centroids at the end.
The reason why wLimit decreases is when quantile (wSoFar / totalWeight) approaches 1, k1 approaches delta / 2, and k1 + 1 exceeds delta / 2, out of the valid input [-delta/2, delta/2] of q function. E.g., for sin/arcsin K function, it means k1 + 1 crosses the highest peak of sin curve and goes down.
My workaround is to compare new wLimit with last wLimit, if it decrease, set it to totalWeight. It does remove the long trailing unit weight centroids, and restrict the tdigest buffer size in bound.

Hmm...
The q function should handle values of k outside the bounds gracefully.
Is it just K_1 that has this problem?  It should be easy to add a limit
comparison there.
I think that K_2 and K_3 are safe here. Both depend on exponentials which
behave gracefully no matter whether k exceeds reasonable bounds.
Do you have a specific test that demonstrates the problem (other than a
test on the scale function itself)?
On Sun, Jan 17, 2021 at 10:19 PM Yibo Cai<EMAIL_ADDRESS>wrote:

In my C++ implementation, tdigest buffer expands above compression (delta)
size when inputs are very long. I find the tdigest buffer is flooded with
centroids with weight=1 at the end.
Below is my finding, would like to hear advice from @tdunning
https://github.com/tdunning.
Code:
https://github.com/tdunning/t-digest/blob/master/core/src/main/java/com/tdunning/math/stats/MergingDigest.java#L449
k1 = scale.k(wSoFar / totalWeight, normalizer);
wLimit = totalWeight * scale.q(k1 + 1, normalizer);
wLimit is the limit of accumulated weights for current centroid. I think
it should be strictly increasing. But when quantile approaches 1, it
actually decreases, which causes all latter inputs occupy one centroid of
their own, so the long unit weight centroids at the end.
The reason why wLimit decreases is when quantile (wSoFar / totalWeight)
approaches 1, k1 approaches delta / 2, and k1 + 1 exceeds delta / 2, out
of the valid input [-delta/2, delta/2] of q function. E.g., for sin/arcsin
K function, it means k1 + 1 crosses the highest peak of sin curve and
goes down.
My workaround is to compare new wLimit with last wLimit, if it decrease,
set it to totalWeight. It does remove the long trailing unit weight
centroids, and restrict the tdigest buffer size in bound.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/152, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5E6WYLM5M6SR46IDPFNDS2PHHPANCNFSM4WGZNSBA
.

Hmm...
The q function should handle values of k outside the bounds gracefully.
Is it just K_1 that has this problem?  It should be easy to add a limit
comparison there.
I think that K_2 and K_3 are safe here. Both depend on exponentials which
behave gracefully no matter whether k exceeds reasonable bounds.
Do you have a specific test that demonstrates the problem (other than a
test on the scale function itself)?
On Sun, Jan 17, 2021 at 10:19 PM Yibo Cai<EMAIL_ADDRESS>wrote:

In my C++ implementation, tdigest buffer expands above compression (delta)
size when inputs are very long. I find the tdigest buffer is flooded with
centroids with weight=1 at the end.
Below is my finding, would like to hear advice from @tdunning
https://github.com/tdunning.
Code:
https://github.com/tdunning/t-digest/blob/master/core/src/main/java/com/tdunning/math/stats/MergingDigest.java#L449
k1 = scale.k(wSoFar / totalWeight, normalizer);
wLimit = totalWeight * scale.q(k1 + 1, normalizer);
wLimit is the limit of accumulated weights for current centroid. I think
it should be strictly increasing. But when quantile approaches 1, it
actually decreases, which causes all latter inputs occupy one centroid of
their own, so the long unit weight centroids at the end.
The reason why wLimit decreases is when quantile (wSoFar / totalWeight)
approaches 1, k1 approaches delta / 2, and k1 + 1 exceeds delta / 2, out
of the valid input [-delta/2, delta/2] of q function. E.g., for sin/arcsin
K function, it means k1 + 1 crosses the highest peak of sin curve and
goes down.
My workaround is to compare new wLimit with last wLimit, if it decrease,
set it to totalWeight. It does remove the long trailing unit weight
centroids, and restrict the tdigest buffer size in bound.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tdunning/t-digest/issues/152, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5E6WYLM5M6SR46IDPFNDS2PHHPANCNFSM4WGZNSBA
.

Thanks. I think a limit comparison is okay.
I didn't investigate deep K_2 and K_3 functions.
I don't have specific test, just printed wLimit and find it decreases at the end.
Close this issue as it's no big issue.

Thanks. I think a limit comparison is okay.
I didn't investigate deep K_2 and K_3 functions.
I don't have specific test, just printed wLimit and find it decreases at the end.
Close this issue as it's no big issue.

I am going to reopen this until I get the limit into place with tests.

I am going to reopen this until I get the limit into place with tests.