proposal: x/net/html: add Node.All() iterator

This is assuming #61405 is accepted.
Iterating through all the children of an html.Node is tedious. The current code has this example of a recursive function printing out links:
var f func(*html.Node)
f = func(n *html.Node) {
	if n.Type == html.ElementNode && n.Data == "a" {
		for _, a := range n.Attr {
			if a.Key == "href" {
				fmt.Println(a.Val)
				break
			}
		}
	}
	for c := n.FirstChild; c != nil; c = c.NextSibling {
		f(c)
	}
}
f(doc)

It would be much nicer with an iterator:
for n := range doc.All() {
	if n.Type == html.ElementNode && n.Data == "a" {
		for _, a := range n.Attr {
			if a.Key == "href" {
				fmt.Println(a.Val)
				break
			}
		}
	}
}

CC @neild

I've been using an external library with this, and it's nice. It's also handy to have Node.Children(), which only returns the immediate children of a Node.

We should be careful with names here and stick to the DOM as closely as possible (if only to avoid confusing anyone hopping back and forth between Go and JS).
Specifically, https://developer.mozilla.org/en-US/docs/Web/API/Element/children is all child nodes that are elements.
It sounds like this would be closer to https://developer.mozilla.org/en-US/docs/Web/API/Node/childNodes
I would be happy to have both ChildNodes and Children as the latter is often what you want in practice.

Reading the docs, it seems like the difference between childNodes and children is that children doesn't have text elements or comment nodes. That's not the distinction I'm making. n.All() would do a full tree iteration including grandchild nodes of whatever depth. ChildNodes is a fine name for the immediate children of a Node though.
Another iterator I use is Parents(). This is less necessary and easier to write on your own, but it can be handy.

Sorry, for being unclear. I have no issue with All for the entire (sub)tree. Just wanted to raise the issue of the existing Children/ChildNodes names/distinction for the direct child iterator(s).

I opened https://github.com/golang/net/pull/215.

This proposal has been added to the active column of the proposals project
and will now be reviewed at the weekly proposal review meetings.
— rsc for the proposal review group

To bikeshed a little:
ChildNodes and Children match DOM attribute names, which seems fine. (I think ChildElements is clearer than Children, but perhaps aligning to the DOM naming is best.)
All does not say "recursively walk all descendants" to me. Maybe Walk? DescendantNodes?
Parents sounds to me like a node can have multiple parents. Perhaps Ancestors? Also, is this operation common enough to be worth an iterator when the manual traversal is pretty straightforward and the DOM doesn't contain an equivalent function or attribute (so far as I can see)?
for parent := node.Parent; parent != nil; parent = parent.Parent {
}

the DOM doesn't contain an equivalent function or attribute (so far as I can see)?

In JavaScript, this is called "closest" and takes a query selector.
Having it as an iterator lets you build other tools on top of it that take selectors and return the first matching node or all matching nodes. I don't think x/net/html needs to be that kind of opinionated library, but it's nice to have the obvious iterators already written in it, so you don't have to jump back and forth as much.

The APIs being suggested are:
func (n *Node) Parents() iter.Seq[*Node]
func (n *Node) ChildNodes() iter.Seq[*Node]
func (n *Node) All() iter.Seq[*Node]

I see the distinction in Mozilla docs about Children vs ChildNodes, but really, we already called the field 'FirstChild' not 'FirstChildNode', so we don't need to introduce 'Nodes' in the name. It should be Children.
But Children is immediate children (not grandchildren etc), while what is called Parents is all ancestors (not just the immediate parent), and that inconsistency is more confusing. So Parents should probably be Ancestors. And then All can be Descendants.
So that would be:
func (n *Node) Ancestors() iter.Seq[*Node]
func (n *Node) Children() iter.Seq[*Node]
func (n *Node) Descendants() iter.Seq[*Node]

Thoughts?

Modulo casing, FirstChild means the same thing in the browser as it does here. I don't have to remember or think about differences. That's good because when I'm using this package it's often in a context where I am bouncing back and forth between this and the browser. If the browser called it childNodes and didn't have children I wouldn't mind.

@jimmyfrasche To be clear, are you suggesting that Ancestors and Descendants seem fine, but that Children should be ChildNodes ?

Correct.

I think for some reason "child nodes" to me is less ambiguous and just obviously direct children, while "children" is ambiguous and could be just direct children or it could be all descendants. I don't know I feel this way since semantically it's not very different. So I am also in favor of Ancestors(), ChildNodes(), Descendants().

@alandonovan started a separate CL, I think because he didn't notice that I had already opened https://github.com/golang/net/pull/215.
I noticed one important implementation difference which is worth discussing. I have

// Parents returns a sequence yielding the node and its parents.

Alan has

// Ancestors returns an iterator over the ancestors of n, starting with n.Parent.

MDN says Element.closest returns "The closest ancestor Element or itself, which matches the selectors. If there are no such element, null."
In my experience working with node iterators in both JavaScript and Go, starting with the node itself is more consistent and useful than behavior which starts with the parent.
I also return empty sequences when doing nil.ChildNodes() or nil.Descendants(), whereas Alan panics. I think an empty sequence is more useful.

because he didn't notice that I had already opened https://github.com/golang/net/pull/215.

Indeed; sorry about that. Though perhaps at least it raised some useful questions.

In my experience working with node iterators in both JavaScript and Go, starting with the node itself is more consistent and useful than behavior which starts with the parent.

"Ancestors" in its ordinary meaning is not a reflexive relation, so I think the reflexive behavior could potentially be confusing. Perhaps the behavior is right but the name is not; but I don't have a better naming suggestion. We could amend the doc to:
// Ancestors returns an iterator over n and all its ancestors, starting with n.

I also return empty sequences when doing nil.ChildNodes() or nil.Descendants(), whereas Alan panics. I think an empty sequence is more useful.

Is there precedent for treating a nil *Node in this way? None of the the existing three methods on *Node accept nil, but nor do they demonstrate a position on whether to quietly swallow nil. My inclination  would be to panic.

My inclination would be to panic.

As I think about it more, I think panicking makes sense because it's like a deference and usually a sign of a programmatic error. It does make filtering code simpler because you don't have to do "if n != nil { filter(n.Whatever() }", but it also seems like it could cover up things where n is nil but you didn't realize it.

@earthboundkid re

In my experience working with node iterators in both JavaScript and Go, starting with the node itself is more consistent and useful than behavior which starts with the parent.

Can you give some examples of when it's useful, just to help us understand this intuition? Thanks!
It looks like Dom Children does not include the current node, so would you argue for Descendants not being reflexive but Ancestors being reflexive?

I've used el.closest to for example get labels on a node and parents to report to analytics. So you might click on a button and it sees <body data-label="sales-page"><div data-label="summer-promo"><button data-label="cta"> and reports "sales-page:summer-promo:cta" to the analytics. Doing that relies on closest being reflexive. If it weren't, you would lose "cta".
For Node.Ancestors() though, it's probably fine, and whoever builds a SelectClosest function in Go can just match against the Node before iterating through its Ancestors.

I changed my project to panic on iterating nil Nodes and the tests still passed with very minor changes (some ToString functions needed a check to return ""), so I think it's fine in the real world.

It is nice to have the names Ancestors and Descendants as opposed to, say, PathToRoot and Descendants, because the symmetry is clearer. What if we keep the names Ancestors and Descendants but say they are both reflexive, meaning the first element of each iteration is the node itself?
And we can certainly start with nil panicking and relax it later if we want.

I think it's easier just to say none of the three are reflexive. Closest isn't that bad without it:
// Closest traverses the node and its parents until it finds a node that matches.
func Closest(n *html.Node, match func(*html.Node) bool) *html.Node {
	if match(n) {
		return n
	}
	for p := range n.Ancestors() {
		if match(p) {
			return p
		}
	}
	return nil
}

Great, making them non-reflexive seems fine. So it seems like we are back to https://github.com/golang/go/issues/62113#issuecomment-2289413195: Ancestors, Children (all kinds of nodes, not just element nodes), and Descendants.
Do I have that right?

I strongly object to Children. This is called ChildNodes in the DOM and every HTML parsing library I've been able to find (that has such an iterator).
I do agree that it is a bad name—but it is simply the name of the thing being named here.
Giving this a name that exists in the same domain but means a related but different thing is going to cause confusion.
It would be better to drop the iterator entirely than to name it Children.
Ancestors and Descendants are fine because those names are not used in the domain so there's no collision.

I don't feel as strongly about it, but I do still feel that "ChildNodes" is more obviously just direct children to me, for some reason. Either is fine though.

At the very least, there should be something in the docs but even that's hard to articulate. You'd have to find some way to say that "Go(Children) = DOM(childNodes); if you want DOM(children), use Go(Children) then xiter.Filter out the nodes that aren't elements".

The symmetry of the Go names is nice, but the DOM is the spec here, and Children does correspond exactly to childNodes. So I would be ok with ChildNodes, Ancestors, Descendants, all non-reflexive.

In addition to what @adonovan said, given that the DOM has both Node.childNodes and Element.children, and this method corresponds to Node.childNodes and not to Element.children, I'm also inclined toward calling this Children. Thus, that leads to this API:
func (n *Node) Ancestors() iter.Seq[*Node]
func (n *Node) ChildNodes() iter.Seq[*Node]
func (n *Node) Descendants() iter.Seq[*Node]

Where none of the functions return n itself and all panic if n == nil. Do I have that right?

I'm also inclined toward calling this Children.

I think you meant to say ChildNodes here. Otherwise yes.

Whoops, yes. Edited my above post.

Have all remaining concerns about this proposal been addressed?
The proposal is to add the following methods to x/net/html:
func (n *Node) Ancestors() iter.Seq[*Node]
func (n *Node) ChildNodes() iter.Seq[*Node]
func (n *Node) Descendants() iter.Seq[*Node]

Where none of the methods return n itself and all panic if n == nil.

Do we need to put in a recursion limit to protect against malicious HTML or just assume it will crash on its own?

Do we need to put in a recursion limit to protect against malicious HTML or just assume it will crash on its own?

The recursion in descendants seems unlikely to use more stack than the recursion in the parser that produced the node tree in the first place.

Based on the discussion above, this proposal seems like a likely accept.
The proposal is to add the following methods to x/net/html:
func (n *Node) Ancestors() iter.Seq[*Node]
func (n *Node) ChildNodes() iter.Seq[*Node]
func (n *Node) Descendants() iter.Seq[*Node]

Where none of the methods return n itself and all panic if n == nil.

Seems like the CL got merged before the waiting period was over.

Sorry, that was probably my fault.  I didn't double check to see whether the proposal was complete.  If there are complications with the proposal we will revert.

No change in consensus, so accepted. 🎉
This issue now tracks the work of implementing the proposal.
The proposal is to add the following methods to x/net/html:
func (n *Node) Ancestors() iter.Seq[*Node]
func (n *Node) ChildNodes() iter.Seq[*Node]
func (n *Node) Descendants() iter.Seq[*Node]

Where none of the methods return n itself and all panic if n == nil.

Proposal is accepted and was already implemented, so closing.


shut down button does not work on a running vm

current behavior
The button shut down does not work after the vm has been started via the web frontend. Once the vm is displayed to be in state runnig (cf. #140), when I click on shut down, this yields powering off for very few seoncds, but then does not lead to the expected state. Instead, the vm remains in state running.
The same applies after several attempts of using shut down (tried 3 times). Reloading the page showed no effect either.
context

vm test-user-03 on host betaweb083.medien.uni-weimar.de, with no software added yet
task authorship verification 2021

expected behavior
State stopped is reached after first use of button shut down.
additional observations
I could reach the expected behavior after I had managed to stop the vm. More precisely, at the stopped vm, I started it again with ´power on´ (relates to #140). Then I reloaded the page and got state running - as it should be. In that state I could also shut down properly, clicking shut down once.
related

#140

updated the issue with additional observations, where the behavior was close to as expected; as of Nov 13, 21:00 it remains open whether this would be reproducible, cf. #136 before interruption at ca. 21:10

seems fixed (the reported behavior cannot be reconstructed any more, shutdown on several tasks worked as expected)


[bug] Hosted Gorilla misinterpreted the requirement

Describe the bug
Gorilla misinterpreted the requirement as a video classifier when I clearly gave instructions that it is not a video classification app but a 1-1 video calling app.
To Reproduce
Use the following prompt:
prompt = "I want to build a one-to-one video calling application for web and pwa. This is NOT a classification app. Please provide code snippets"
print(get_gorilla_response(prompt, model="gorilla-7b-hf-v0"))
Screenshots

Thanks for highlighting this @ravindrakr The gorilla-7b-hf-v0 picks from among the models available on hugging-face (hence the hf). So, it is likely to not find one for you intended task. I would recommend using the gorilla-cli which can be installed with pip install gorilla-cli which has a much richer and diverse set of APIs. Thanks!

Hi Shishir,
Thanks for the suggestion. I'll try using the gorilla-cli and see if it
works better for my task.
Best,
Ravindra
On Sat, Aug 26, 2023 at 12:22 PM Shishir Patil @.***>
wrote:

Thanks for highlighting this @ravindrakr https://github.com/ravindrakr
The gorilla-7b-hf-v0 picks from among the models available on
hugging-face (hence the hf). So, it is likely to not find one for you
intended task. I would recommend using the gorilla-cli which can be
installed with pip install gorilla-cli which has a much richer and
diverse set of APIs. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/ShishirPatil/gorilla/issues/100#issuecomment-1694200773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHXWP625JFB4PQU5DS63TDXXGMKLANCNFSM6AAAAAA3QEEHL4
.
You are receiving this because you were mentioned.Message ID:
@.***>


mixpanel.get_property

Does this library support get_properties method?.
Example: mixpanel.get_property('distinct_id')

mixpanel-node doesn't have any concept of superproperties, since its primary use case is server-side tracking where the same instance needs to handle many users simultaneously. If your application needs to maintain individual users' properties between requests, that will have to happen in your application code (probably in connection with either cookies or server-side session storage, but it depends on your app's architecture and infrastructure). Hope this helps!


os copy

Something funky is up with os.copy - figure out what it is and fix it

https://github.com/bosley/sauros/pull/63


API Limit

I know my API key is limited to 20,000 calls per month.  This seems reasonable, but I'm curious why my system tried to make that many.  Can I lessen the frequency of the calls?

Hi, thanks for checking out this API, and sorry for the hiccup here!
Could quick questions to troubleshoot this- I’m assuming you’re running the home assistant integration, and are you using the weather card, sensor, or both? They’re separate API calls, which could be part of this.
Could you also check your config file and see if there’s a scan interval set?

Ok, I fully understand now.  Is 00:01:00 the fastest refresh the service allows?

I appreciate the enthusiasm for rapid weather refreshes! Technically (I had to check this), I have it configured to allow up to 60 calls per minute for an API key, so once per second. That would burn through the monthly bucket pretty quickly, but it would work. That being said, it's worth keeping the back-end update frequency in mind. I ingest new weather data every hour, and it has a 15 minute output frequency. I interpolate that to get the minute by minute results, which is why the data changes every minute when you call the API; however, the fundamental time resolution is probably closer to 5 minutes than 1.
If you're interested in more details here: everything is running on AWS Lambda, and each API call causes the function to run which queries the model files and returns the formatted weather data. The reason for the cap is that each time this function runs, it bills the time and memory usage, so to make sure this didn't spiral into too large of a credit card charge for me, I have it capped. However, the setup scales really well (I stress tested it to 1,000 calls/ minute), and the cost is just the total for the month, not the rate. Eventually I'll start hitting disk IO limits, but I'm currently at 2% of the cap, so no issues there.

Sounds like a plan! Let me know how it works and if you run into any issues or weird weather data. In the next couple months, I'm also hoping to add a very rapid refresh (~5 minutes) source for current observations, which would add some benefit to quick data reads, so you should see that in an e-mail in the next couple months.


[BUG]: stromer maintenance

Describe the bug.
Nice2have - handle Stromer maintenance:
2023-10-17 11:00:16.285 ERROR (MainThread) [custom_components.stromer.stromer] <ClientResponse(https://api3.stromer-portal.ch/maintenance_static.html) [200 OK]>
What version of Home Assistant Core has the issue?
n/a
What was the last working version of Home Assistant Core?
b/a
What type of installation are you running?
Home Assistant OS
How did you install the stromer integration
HACS
Logging
No response
Diagnostics information
No response
Additional information
No response

Same here I guess. It stopped working 2 days before updating to 0.2.4.
Deze fout is ontstaan door een aangepaste integratie.
Logger: custom_components.stromer.stromer
Source: custom_components/stromer/stromer.py:56
Integration: Stromer e-bike (documentation, issues)
First occurred: 00:20:33 (2 occurrences)
Last logged: 10:55:25
Stromer unable to update:

Logger: homeassistant.config_entries
Source: config_entries.py:423
First occurred: 00:20:34 (2 occurrences)
Last logged: 10:55:48
Config entry 'ST3 Pinion Sammy' for stromer integration could not authenticate

Reverting to 0.2.3 works, 0.2.4 doens't...

Deleted pending investigation (tnx!)

Check if #49 fixes this


[BUG] the python completion give imperfection hint

Describe the issue
when I use (https://github.com/seagle0128/.emacs.d),I have right hint in python completion(,this startkit use ms-lsp),this startkit identified the "text" is an object's property. But when I use doom emacs(whether add lsp feature or not), the "text" is identified as a function

Steps to reproduce
System information

These are using different company frontends to display the results. Centaur Emacs is using company-box. Enable :completion (company +childframe) to use company-box in Doom.

Looks like the issue was that a different LSP backend is being used. Centaur Emacs uses (and auto-installs) mspyls by default. Doom does not auto-install it. It will use it if it is available, however. M-x lsp-python-ms-setup will install it.


Using G as a storage unit provision to small volume

We created a PVC with size 20G and once provisioned we got the following error
failed to provision volume with StorageClass "standard-nim01": created volume capacity<PHONE_NUMBER>8 less than requested capacity<PHONE_NUMBER>0

Once we changed the unit to 20Gi it worked as expected

Fixed in the latest beta build.


Follow platform conventions for directories created by coursier

On Linux, that's the XDG spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
I think for coursier/sbt (as with other programs) the order should be:

is some application-specific var like COURSIER_CACHE set? use that. return.
are XDG variables set? use them. return.
does a legacy .coursier/.sbt exist? emit a warning, use that. return.
use XDG fallback. (.config/.cache/...).

This makes it easier for users to override the settings for all programs instead of having to use application-specific settings (which some applications might not even have), and cleanly separates cache folders from configuration folders (making it much easier to back up settings).

Fixed in https://github.com/coursier/coursier/pull/676.


How to load the checkpoint if I am not using deepspeed?

How can I load the checkpoint if I am not using deepspeed?
cpm_small_4k_stc_3ep/iter_0004000/mp_rank_00/model_optim_rng.pt

Hi, you can use transformers instead of this repo.


after restarting, It just logged out of all sessions, now I can't restore access to my account

help

These problems are related to Telegram rules. Probably your account is virtual and Telegram has recognized it

These problems are related to Telegram rules. Probably your account is virtual and Telegram has recognized it
It's not, other bots works normally, this bot just end all of sessions in all accounts, wtf?


App crashes on "export apps"

Loading the list of both user and system apps works fine. When I tap "export apps" on either list, the application closes.
OnePlus 7T rooted
Android 12

Argh there was a typo in the file provider. I have fixed this in version 15. Need to wait for Fdroid to issue the update. Usually takes a few days.
Version 15 is available on my website if you are in a hurry:
https://www.stargw.net/android/apks/net.stargw.applist-release-v15.apk

Ok, version 15 with the fix in for crash on export should now be available on FDroid.


NBT Tag with "as byte[]"

I don't know if it's a misunderstanding, a wrong usage or a bug.
if i try to use an byte array:
[ 1, 2, 3 ] as byte[]
I'll get this error:
cannot cast byte[] to minetweaker.data.IData
"Real World" Exampe:
recipes.addShaped( thermExpInductionsmelter.withTag({
  "RSControl": 0 as byte,
  "Facing": 3,
  "Energy": 0,
  "Level": 0 as byte,
  "SideCache": [3, 1, 2, 2, 2, 2] as byte[],
  "Augments": [
    { "Slot": 0, "id": 5627 , "Count": 1 , "Damage": 0 },
    { "Slot": 1, "id": 5627 , "Count": 1 , "Damage": 32 },
    { "Slot": 2, "id": 5627 , "Count": 1 , "Damage": 16 }
  ]
  }), [[null,enderIOTank,null],[bcAdditionsCoilLava,frame,bcAdditionsCoilLava],[odPlateInvar,advGenePowerIO,odPlateInvar]]);

What crafttweaker version?
On Nov 10, 2016 2:26 PM, "Oliver"<EMAIL_ADDRESS>wrote:

I don't know if it's a misunderstanding, a wrong usage or a bug.
if i try to use an byte array:
[ 1, 2, 3 ] as byte[]
I'll get this error:
cannot cast byte[] to minetweaker.data.IData
"Real World" Exampe:
recipes.addShaped( thermExpInductionsmelter.withTag({
"RSControl": 0 as byte,
"Facing": 3,
"Energy": 0,
"Level": 0 as byte,
"SideCache": [3, 1, 2, 2, 2, 2] as byte[],
"Augments": [
{ "Slot": 0, "id": 5627 , "Count": 1 , "Damage": 0 },
{ "Slot": 1, "id": 5627 , "Count": 1 , "Damage": 32 },
{ "Slot": 2, "id": 5627 , "Count": 1 , "Damage": 16 }
]
}), [[null,enderIOTank,null],[bcAdditionsCoilLava,frame,bcAdditionsCoilLava],[odPlateInvar,advGenePowerIO,odPlateInvar]]);
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/83, or mute the thread
https://github.com/notifications/unsubscribe-auth/AFS9xVuSdEL91tKP7Twp-jVLMRvXNPKMks5q8w2DgaJpZM4Kumqp
.

1.7.10 3.0.13

Well it is fixed in 3.0.14, but it is 1.10 only
On Nov 10, 2016 2:37 PM, "Oliver"<EMAIL_ADDRESS>wrote:

1.7.10 3.0.13
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/83#issuecomment-259679642,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFS9xSlRkYVPRMMbZnVLROGOSqjSTxm4ks5q8xAZgaJpZM4Kumqp
.

Also 1.7.10 is no longer supported


[MVP Step 1]: Source schema (specify file/folder locations)

We've established an entrypoint for fetching a couple minimal interfaces, and rendered those as a form in the app
Next step is for the user to select different combinations of these available interfaces, and then ask the user to specify the 'source data' for each interfaces as fetched from the source schema of an NWBConverter created containing those selected interfaces

Done in #38


Fix/new event during event committing

Fix: https://github.com/lerna-stack/akka-entity-replication/issues/130 A new event is created even though all past events have not been applied · Issue #130 · lerna-stack/akka-entity-replication

@tksugimoto  Could you add any descriptions about this change to CHANGELOG.md?


[staging-next] sage: update test expectations (sympy and ipywidgets upgrades)

Description of changes
Sympy and ipywidgets were upgraded in 81ab49a99caf4f521b03745181d4645d71bd27ae and cfe3eabb1be28f3120b3be2148b18154c67b8054, which are currently on staging-next. The ipywidgets patch has not been reviewed upstream yet, but it looks OK. The staging-next PR (#191339) was opened on the 15th, and I assume there is some chance it will be merged in the next week, so arguably we shouldn't wait for upstream review. If we merge the present PR, I'll make sure we have an updated patch once it gets included into a Sage beta.

sympy patch (https://trac.sagemath.org/ticket/34118): https://git.sagemath.org/sage.git/patch?id2=9.7&id=52815744bde2b682245b6f985a112f7cb8666056
ipywidgets patch (https://trac.sagemath.org/ticket/34460): https://git.sagemath.org/sage.git/patch?id2=9.7&id=2816dbacb342398a23bb3099e20c92c8020ab0fa

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

As has been the case since June, Sage tests are broken on aarch64. It seems like the GAP update (#192548) will fix that, but there are some remaining packaging issues there. It is a bit spooky because the last GAP update was in May 2021, but I'll take it :)

Thanks for the review!


Extra space in FAQ link stops selection of specific FAQ entry

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue
Follow-on from closed https://github.com/corona-warn-app/cwa-app-android/issues/1043 addressed by @tkowark
@harambasicluka also involved.

Describe the bug
In the following error message:
the link to https://www.coronawarn.app/en/faq/ goes to the top level of the FAQs.
CAUSE: 3
Something went wrong.
Your Corona-Warn-App is correctly installed, but the "COVID-19 exposure notifications" service is not available on your smartphone's operating system. This means that you cannot use the Corona-Warn-App. For further information, please see our FAQ page: https://www.coronawarn.app/en/faq/
(17)

Expected behaviour
Clicking on the link https://www.coronawarn.app/en/faq/
(17) should go to https://www.coronawarn.app/en/faq/(17) not to https://www.coronawarn.app/en/faq/
Steps to reproduce the issue
See https://github.com/corona-warn-app/cwa-app-android/issues/1043
Install apk on Android emulator which lacks bluetooth capability.
Technical details
Mobile device: Virtual device Nexus 5X with Play Store, release Q, API 29.
CWA version: 1.3.0
Android version: 10
Google Play services 20.33.15
Possible Fix
Check how URL is formulated.
Additional context
This is a regression from CWA version 1.2.0. On the older version the URL displays as complete and clickable https://www.coronawarn.app/en/faq/(17) .
The repro steps should not occur in practice because CWA cannot run on an Android emulator, however it could be that the problem can also occur on a real mobile device due to other reasons.
Also there is mention about brackets being converted to # in https://github.com/corona-warn-app/cwa-app-android/pull/1074

Internal Tracking ID: EXPOSUREAPP-2859

@tkowark Are you available to look at this?
https://github.com/corona-warn-app/cwa-app-android/issues/1204 also shows a screenshot with a malformed link to https://www.coronawarn.app/de/faq/ (39508) . It looks like an extra space has crept in.
Removing the space and writing https://www.coronawarn.app/de/faq/(39508) resolves to https://www.coronawarn.app/de/faq/#API39508 as probably intended instead of linking to the top level of the FAQs at https://www.coronawarn.app/de/faq/

@MikeMcC399 if the app generates malformed links, this topic has to be solved by the app team (e.g., @harambasicluka ).
What I could do in the website is create a redirect page for (17) so you would be directed to the right entry.

@tkowark Thanks for clarifying that the app team needs to step in.
The URL that Android uses, when tapping on the link in the error message, is https://www.coronawarn.app/de/faq/ , without the "(17)" which just appears as text after the URL. So I was inaccurate to say this is a malformed URL. https://www.coronawarn.app/de/faq/ is a valid URL, it is just not the URL which is intended to be used!

The space was added for 1.3.0. Perhaps somebody from the app team e.g. @harambasicluka could check that this addition was actually intended?
https://github.com/corona-warn-app/cwa-app-android/blob/1.2.1/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/exception/reporting/ErrorReportReceiver.kt#L52
message += "($apiStatusCode)"
https://github.com/corona-warn-app/cwa-app-android/blob/1.3.0/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/exception/reporting/ErrorReportReceiver.kt#L52
message += " ($apiStatusCode)"

Hi, as far as I can see, the issue will be fixed in https://github.com/corona-warn-app/cwa-app-android/pull/1074/files , planned to be deployed in CWA 1.4.0.
@tkowark 's redirect method should be in effect then.
#whereistkowark
(you have been missed... Will we see you here again more often?)

@vaubaehn
You are right about https://github.com/corona-warn-app/cwa-app-android/pull/1074/files Fix: Replaced brackets with leading # to match website faq structure (EXPOSUREAPP-2261) as (EXPOSUREAPP-2261) is listed under https://github.com/corona-warn-app/cwa-app-android/releases/tag/1.4.0-SNAPSHOT-RC1
Perhaps though the removal of the extra space in https://github.com/corona-warn-app/cwa-app-android/blob/1.2.1/Corona-Warn-App/src/main/java/de/rki/coronawarnapp/exception/reporting/ErrorReportReceiver.kt#L52 before the first bracket "(" of message += " ($apiStatusCode)" could be slipped into 1.3.1 hotfixes? Do we have a timeline for the 1.3.1 and 1.4.0 releases?
The problem is also reproducible by resetting the app if it has already retrieved keys for the current day. It shows up more clearly there because the final / and the (apiStatusCode) are all on one line in the following example:

@MikeMcC399 , yes, completely agree: deploying #1074 already in Hotfix 1.3.1 would defitively be good!
But this is in the hands of @JoachimFritsch , I guess.

Just to go quickly off-topic and answer @vaubaehn 's question

#whereistkowark
(you have been missed... Will we see you here again more often?)

First of all: thank you very much for the kind words! Unfortunately, I will not be around more often as I've transitioned out of the CWA project and are now working on other projects within SAP (but sometimes I see the @-mentions and cannot resist answering ;)). Thank you all again for you commitment to this project, constantly reporting upcoming issues and working with us to find solutions. This really is a once-in-a-lifetime experience for me!

Hey @MikeMcC399,
The issue is now mirrored to Jira (EXPOSUREAPP-2859) and tracked, so everyone in here should get updated once more information becomes available or when the issue is resolved.
Thanks for reporting
CH

Corona-Warn-App Open Source Team

The issue is no longer reproducible on CWA 1.5.0.
I installed CWA 1.5.0 via apk on Android emulator Pixel 3a API 29 (Android 10) with Play Store installed.
CWA threw error CAUSE: 3 with FAQ link
https://www.coronawarn.app/en/faq/#17 which opened the specific entry https://www.coronawarn.app/en/faq/#cause_3
Now closing this issue. Probably the internal tracking ID EXPOSUREAPP-2859 can also be closed.


Rake db:migrate issue

When doing any bundle update or rake function it is giving following error:
/home/aditya/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/version.rb:187:in initialize': Malformed version number string >= 3.0.0 (ArgumentError) 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:88:in new'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:88:in parse_spec' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:55:in parse_source'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:20:in block in initialize' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:14:in each'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/lockfile_parser.rb:14:in initialize' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/definition.rb:40:in new'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/definition.rb:40:in initialize' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/dsl.rb:132:in new'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/dsl.rb:132:in to_definition' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/dsl.rb:8:in evaluate'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/definition.rb:17:in build' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler.rb:144:in definition'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/cli.rb:219:in install' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/vendor/thor/task.rb:22:in run'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/vendor/thor/invocation.rb:118:in invoke_task' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/vendor/thor.rb:263:in dispatch'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/lib/bundler/vendor/thor/base.rb:386:in start' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/gems/bundler-1.1.rc/bin/bundle:13:in <top (required)>'
from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/bin/bundle:19:in load' 	from /home/aditya/.rvm/gems/ruby-1.9.3-p0@global/bin/bundle:19:in '

Could you please include which Rubygems version are you using? Also, please try Bundler 1.1 to see if the problem has gone. :)

Thanks for ur quick response Jose :)
You r right man, actually my bundler is old one i.e. bundler 1.1.rc. When i use bundler 1.1.0 then its working fine...
:)
Thanks Bro...


Scrubbing backwards support for live replay

Currently, if you skip from time x to time x - y seconds, the live replay will not show the comments between x - y, and x again, it will just wait for you to go past x.
One potential solution can be to add a case to detect backward scrubbing and delete comments between x and x - y from the view. This would ensure that at any point in time of the video, the live replay view only has comments till that time.

#19


https://rawgit.com/ryanbetts/aframe-daydream-controller-component/master/dist/.min.js results in 404

Is this a typo from the README?

Yep. My bad. Thanks for catching that!


Check context while generating for sys commands

While generating, a schema might be large, and if a user attempts to stop with Ctrl+C, it wont gracefully exit.
Check in each routine that generates a table. Schema level doesnt matter since it kicks off routines to do the tables.

It turns out most of the code is calling down to the DB layer. Thus, the DB layer is checking the contexts and returning errors on canceled.


[DOC] : UPDATING bug_report.md template.

Describe the bug
bug_report template needs updation.
Expected behavior
Making it easier for issue creators to write reports.. A detailed issue description by the creator if follows complete template.
Additional context
A better understanding of the issue.

can you assign me this ? I already created a PR on this issue. I am open to feedback.
Thank you.

Thank you .


What paper said that coupling blocks using 1x1 convolutions should constitute every other, or every third coupling block

Hello.
From the tips section of this amazing repo you wrote "Coupling blocks using 1x1 convolutions in the subnets seem important for the quality, they should constitute every other, or every third coupling block".
I would like to see what paper draw this conclusion. I am trying to find it but I do not see it.
Thanks!

any news?


Paket content packaging support

I'm evaluating whether to stay with Nuget (using 3.5, I've been turned off by the amount of unsupported features that used to work in v2) or switch to Paket and I'm having hard time finding information about packaging entire solutions or whole MVC projects (or single areas, with their Views, scripts, images, etc.) with Paket.
I have a working solution using NuGet 2 but obviously have to make a step forward. NuGet developers do plan to bring the content packaging back (not the content transforms though, which I also use) so I'd like to know about the content packaging roadmap with Paket.
Also, I cannot seem to find any docs on it, is there a convention about the folder structure to follow or something similar to what NuGet (v2) had?

I think there is no real difference between between nuget and paket
regarding the this point. They decide on the package format and we try to
implement it.
We made couple of improvements on top for source code packages so that
fable can work with them.
In general I think packaging whole solutions with nuget is not a supported
use case. I think they never intended that and there go it's gone.
I assume you need to look for a completely different solution and maybe
investigate the market for deployment tools.
Am 07.09.2017 10:45 schrieb "mare"<EMAIL_ADDRESS>
I'm evaluating whether to stay with Nuget (using 3.5, I've been turned off
by the amount of unsupported features that used to work in v2) or switch to
Paket and I'm having hard time finding information about packaging entire
solutions or whole MVC projects (or single areas, with their Views,
scripts, images, etc.) with Paket.
I have a working solution using NuGet 2 but obviously have to make a step
forward. NuGet developers do plan to bring the content packaging back (not
the content transforms though, which I also use) so I'd like to know about
the content packaging roadmap with Paket.
Also, I cannot seem to find any docs on it, is there a convention about
the folder structure to follow or something similar to what NuGet (v2) had?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2736, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNMCuVnOzFNIsh5dmM0i2RW_807Frks5sf60QgaJpZM4PPe__
.

it's actually more serverside modules and MVC areas than whole apps..
could you expand on source code packages?

For the fable compiler (see fable.io) we need to ship everything as source
code since the fable compiler is transpiling the source code to Javascript.
So instead of shipping binaries we only have content im the nupkgs.
Am 07.09.2017 12:04 nachm. schrieb "mare"<EMAIL_ADDRESS>
it's actually more serverside modules and MVC areas than whole apps..
could you expand on source code packages?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/2736#issuecomment-327754991,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNCR_Jynt3VOUx_HdQySJqOnqFx2Qks5sf7-4gaJpZM4PPe__
.

The lack of the ability to package content seems like a pretty big hole in creating reusable code. Without it, how can we bundle Controllers or ViewComponents to be used in external projects? Views would have to be re-created in every implementing project.

So in a nutshell, since NuGet v4 moved to transitive deps and MSBuild integration Paket does not have any meaningful advantages over it anymore?

Nuget still has no support for solution wide packages and no lock file. Together with their approach to transitive deps that leads to interesting effects. We are planning to put correspondence from nonpublic mailing list into a blog post. This makes clear that the current nuget system is not enough to fulfill reproducible builds.

Thanks for the info. If I may, I'd suggest a side by side comparison of features.

The lack of the ability to package content seems like a pretty big hole in creating reusable code

Who said that? Project type file allows you to pack everything that you want.

@brgrz it's not about features. It's about a model that brings more sanity to projects with many dependencies

Nuget still has no support for solution wide packages and no lock file. Together with their approach to transitive deps that leads to interesting effects. We are planning to put correspondence from nonpublic mailing list into a blog post. This makes clear that the current nuget system is not enough to fulfill reproducible builds.
NuGet now has lock files and as of quite recently it also now supports managing packages at the solution-level.

I know it's been 2 years since this issue is quite old now, but the FAQ should be updated as it is one of the first things you come across when searching for comparisons of Paket and NuGet and I am still personally unclear of what benefits I will get from using Paket in my projects.

the lock files are still on project level.
props files are not managing on solution level since resolution still happens on project level.


An SVG renders as empty canvas above a particular resolution

Hi,
I have an example SVG, which renders just fine at resolution 8191x6301, but one pixel above in any dimension (e.g. 8192x6302) renders it as a transparent canvas.
This is reproducible with rust code and a CLI tool on the current master.
resvg -w 8191 -h 6301 example.svg example0.png
resvg -w 8192 -h 6302 example.svg example1.png

example.svg

Duplicate of #570

Fixed.


Connect and Media API changes

@kwhinnery @markandrus ,
This PR contains the following changes:

Client class has been removed and replaced with a connect() method.
getUserMedia() has been replaced with createLocalTracks().
createLocalAudioTrack() method has been added to create a single audio track.
createLocalVideoTrack() method has been added to create a single video track.
Media/LocalMedia classes have been removed.
LocalParticipant now maintains tracks, audioTracks and videoTracks.
LocalParticipant has new methods addTrack() and removeTrack().
Fixed a bug where if you click on "preview my camera", then join a Room, leave, and join back, the preview wouldn't re-appear.

NOTE: These changes are being tested right now as part of twilio-video#1.0.0-rc16, and is scheduled to be pushed out with twilio-video#1.0.0-beta5. So you guys can review and suggest changes for now, and merge this PR once beta5 is released.

@manjeshbhargav two comments, otherwise +1

Is this ok to merge @markandrus ?

Hi @jefflinwood ,
The API changes will be available to customers as part of the 1.0.0-beta5 release. So I think, and @markandrus agrees, that we should hold off on merging this until then.

Got it thanks @manjeshbhargav - I see that 1.0.0-beta4 is still the current version.


Allow arguments for _count fields

Fixes #322

This one will need to update all generators, not only the SDL.
If you can do it, thank you.
If not, I will do it

I've only looked at the SDL one as that's the one we use. I can try to find time to look at the others but it might not be for a while.

I've had another look at this and I think the change already applies to all generators, as it's in the packages/generator/src/Generators.ts and packages/plugins/src/select.ts files, and not anything in the specific SDL generator. The snapshots updated are the SDL one and the graphql-modules one. The Nexus snapshot hasn't changed, but looking at it I think the nexus one might already have the arguments for counts, though I'm not sure as I don't really know anything about Nexus.

would love to see this included!  Let me know where to pitch in.


d3_scale_log.ticks() fails for very low-valued ranges

I just added a comment in the text, but here is a test case:
d3.scale.log() .range([0, 665]) .domain([0.49999, 0.006029505943610648]).ticks()

will always produce an empty array.
If 0.4999 is upped to 0.5, the array is not empty.
It should not produce an empty array.

Pushed fixes to my log branch. Does that work for you?

Yes that works in my app.
I didn't know why you were using Math.round() either.  Reading the code and commit logs, I though it had something to do with limiting the return range of the log ticks, but I didn't really understand how an integer helped.
Anyway, thanks for the super quick fix.


Support authentication with envvars

Hi folks! Would it be possible for the Python client to support authentication using envvars, instead of requiring the space_key and api_key  to be passed in? This would allow our users to automatically auth their ML deployments to Arize based on vars we set.

Hi @mopatches, we appreciate your suggestion, it was included in #66. Thank you!


TER6

Use the preview tab to see the example given below. Edit the relevant information and preview the changes before submitting. You may delete these instructions.

Key
Value

ID
TER6

Source
Vaaran Bhai Gurdas Ji

Page
28

Line
gur isKI dw rUp dyiK; ieks bwJu n horsu dyKY [

Correction
THIS ≠ THAT

PROOF (EDITION)
Image:

Correction:
gur isKI ≠ gurisKI
Proof:
Vaaran Bhai Gurdaas Ji | November 2011 | Shamsher Singh Ashok | SGPC, Sri Amritsar
Image:


Claim.getIndexId() fails with Error: fromBytes error: byte array incorrect length

The code for Claim.getIndexId() passes the 32 byte value from slot 1 directly to Id.fromBytes(), which expects 31 bytes.
For example:
let id = core.Id.fromString("ww9xPmW6U3k6XatpaPPWbqPgUqW2Ct6AhsGNuYGm2")
let claim = new core.Claim()
claim.setIndexId(id)
claim.getIndexId()
==>
.../node_modules/@iden3/js-iden3-core/dist/cjs/id.js:53
            throw new Error('fromBytes error: byte array incorrect length');
            ^

Error: fromBytes error: byte array incorrect length
    at Id.fromBytes (.../node_modules/@iden3/js-iden3-core/dist/cjs/id.js:53:19)
    at Claim.getIndexId (.../node_modules/@iden3/js-iden3-core/dist/cjs/claim.js:329:24)
...

This works OK:
core.Id.fromBytes(claim.index[1].bytes.slice(0, -1)).string()
==>
ww9xPmW6U3k6XatpaPPWbqPgUqW2Ct6AhsGNuYGm2

Also, a suggestion: it would be nice if there was a getSubjectId() method, which would interpret the subject flags and return the index ID, value ID, or null accordingly.

Looks like getValueId() has the same problem.

fixed in #17,  check v1.0.0-beta.1 version of the package


Discussion: Cortex.cpp Uninstallation

[Needs Updating] Cortex Uninstallation

Archive
Otherwise you get a existing db bug if reinstalling.
Expected:

user runs uninstall command
prompt: "also delete app usage data in ~ ?`
deletes /cortex && .cortexrc (and other caches)
kill dangling processes,  1337 & 3929
optional prompt: "terminate ports __ and ___?"

I know we are push users towards an installer. like win-nvm, that helps them configure:

data path
agree to license
etc.

this would be very helpful

NPM: Added

cc @dungpham91

FYI, during uninstallation, a dialog will pop up and ask the user whether to delete the data folder or not. The list of folders is commented here. https://github.com/janhq/cortex/issues/775

Nice , let me close this issue and combine discussions with #1039


ruby: identifiers mis-highlighted as "function.method"

The below ruby code:
foo = 123

Gives foo a face of tree-sitter-hl-face:function.method which isn't correct (it should be variable or similar). I poked around a bit and my guess would be the ((identifier) @function.method (#is-not? local)) highlight rule is matching too much suggesting the locals stuff isn't working (?).
I'm guessing it is an issue here vs tree-sitter-ruby, but I'm really not sure.

Yeah, .is-not? predicate is not yet supported by emacs-tree-sitter. The highlighting queries for Ruby need to be rewritten to take that into account.
Currently, they are still just a copy of upstream's. Since I don't use Ruby myself, I would like some Ruby users to own and maintain the queries.

To clarify, is it the lack of support for the .is-not? predicate or the lack of support for local as mentioned in #94?
Also, again to clarify, you are suggesting we could mitigate this lack of support by rewriting the highlighting rules to not rely on .is-not? and local?

To clarify, is it the lack of support for the .is-not? predicate or the lack of support for local as mentioned in #94?

Both: additional predicates in general, and local information to support a particular type of predicate. The former is relatively straightforward. The latter is difficult to make efficient.

Also, again to clarify, you are suggesting we could mitigate this lack of support by rewriting the highlighting rules to not rely on .is-not? and local?

Yeah, until these are implemented.


Video Compression/Encoding?

I noticed the readme mentions images and audio to video encoding.  No mention of video as an input source. Any reason no mention in the readme?

video input is not supported

got it thanks. that package doesn't do such a great job...does not compress very well. this one seems pretty good https://pub.dev/packages/media_tool_flutter

I suggest adding a feature for video file input where all video frames will be extracted so developers can manipulate and edit each frame individually. This will allow for adding text subtitle animations to specific frames. For example, subtitles can be added as sequential image animations like Subtitle_1.png, Subtitle_2.png, up to Subtitle_1000.png. These subtitle frames will then be rendered simultaneously with the video frames, overlaying the subtitle frames on top of the video frames. Additionally, this feature will facilitate the application of video filters on a frame-by-frame basis, providing more flexibility in video editing."

@Greek-Cp you should do that in a different package. This package is just an encoder.
To do what you want you would just need to:

decode (make this package yourself)
edit however you want
encode (with this package)

all beyond my skillset... however i would think that a sister package flutter_quick_video_decoder could make for a sweet suite ;) another step from ffmpeg freedom

i have no need for that package. so i won't be making it.


Add config.ini location which is not tied to a specific version

Description
The wiki page https://github.com/dbeaver/dbeaver/wiki/How-to-set-a-variable-if-dbeaver.ini-is-read-only says to look up the directory based upon Help -> Installation Information -> Configuration -> org.osgi.framework.storage.
However, as you can see in that screenshot, this spits out a directory inside install-data which is nested inside a version-specific folder. I tried this on both Windows and Linux and while it doesn't print a directory inside .eclipse now (it's in the proper workspace location: https://github.com/dbeaver/dbeaver/wiki/Workspace-location)
I'm sure you can understand why I'd rather not put a config file into a version-specific directory - can we just use the workspace6 directory for config.ini?
As another note - and maybe for another issue - it would be nice if there was a documentation page - https://github.com/dbeaver/dbeaver/wiki/Configuration-files-in-DBeaver would fit well - which mentioned the other files that you can use to configure - most notably workspace6/.metadata/.plugins/org.eclipse.core.runtime./.settings/org.jkiss.dbeaver.core.prefs  - ideally this can be contrasted w/ the config.ini - I believe there are some fields that overlap and others that do not? For example I couldn't get config.ini to recognize the ui.show.tip.of.the.day.on.startup config but I believe you can put -Djavax.net.ssl.trustStore into the eclipse configs and into config.ini (where you omit the -D).
Note that https://github.com/dbeaver/dbeaver/wiki/Configuration-files-in-DBeaver doesn't even mention config.ini which I consider to be a gap that should be fixed.
My use case is to persist these configs into a dotfiles repo so I can easily restore my preferences.
DBeaver Version
Community Edition 24.1.3
Operating System
Windows 10
Database and driver
N/A
Steps to reproduce
No response
Additional context
No response

Another thing I noticed which really does belong in a separate issue: I couldn't get the max heap size https://github.com/dbeaver/dbeaver/wiki/Command-Line configuration to work in my config.ini
I tried putting just:
-vmargs
-Xmx4000m

and it didn't take - I verified the actual max heap size using jcmd <PID> - ultimately I just passed the arguments via the cli.

Thanks for the feature request. We can't just simply move dbeaver.ini to a shared location - it contains JVM arguments that may vary between different releases of the product. Yet, we can provide a mechanism to load JVM arguments from another file located somewhere in DBeaverData, for example.

@ShadelessFox what about the suggestions to improve the docs in the meantime?

Also you guys ship updates quite often. Another idea is to maybe have a setting which automatically copies the config.ini or jvm config file over to the next version. You can detect if there's an incompatible jvm property when you're doing the copy. That's a fair bit more work on your end tho, maybe more of a premium feature

Thank you for your idea, we need to explore if this is possible.

Similar issues:

https://github.com/dbeaver/dbeaver/issues/7727

We want to provide a means to specify extra JVM arguments via a dedicated file located in the DBeaverData folder. It will have a higher priority than the arguments defined in dbeaver.ini, allowing to override default values.

@ShadelessFox @serge-rider altho this was the closed, the docs were never updated:
https://github.com/dbeaver/dbeaver/wiki/Configuration-files-in-DBeaver
https://github.com/dbeaver/dbeaver/wiki/How-to-set-a-variable-if-dbeaver.ini-is-read-only

We have an internal ticket regarding the wiki. I will post the update here once it's done.

Reopened because of https://github.com/dbeaver/dbeaver/issues/36006


Error when trying to run iOS test

I followed the install directions and have a simulator running with idb_companion but i get the following error when running maestro test test_flow.yaml.  Originally I was getting an error about missing java so i installed that with brew.
java.lang.IllegalStateException: No devices found. Select a platform by passing --platform <android|ios> for more details
	at maestro.cli.util.MaestroFactory.autoDetectPlatform(MaestroFactory.kt:78)
	at maestro.cli.util.MaestroFactory.createMaestro(MaestroFactory.kt:34)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:58)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:30)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
	at picocli.CommandLine.access$1200(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
	at picocli.CommandLine.execute(CommandLine.java:2058)
	at maestro.cli.AppKt.main(App.kt:94)

and this is my test_flow.yaml file.
AppId: com.reactjs.native.Versd-Dev
---
- launchApp
- tapOn: "Text on the screen"

Actually when i run maestro test test_flow.yaml it causes idb_companion to crash with the following error:
IDB Companion Built at Aug 12 2022 08:41:50
IDB Companion architecture arm64
Invoked with args=[/opt/homebrew/bin/idb_companion, --udid, 95E75028-FD3B-408E-B2CE-FC19A1430B55] env={CONDA_SHLVL => 1, NVM_BIN => /Users/matth/.nvm/versions/node/v14.19.3/bin, Sharetribe_Int_Dev_ClientID => bc4e3dde-b153-4e34-abdb-90774c6e7cfe, NVM_CD_FLAGS => , Sharetribe_Dev_Secret => eee290005762a06138ae8aa67e7f20a9555c329e, SSH_AUTH_SOCK => /private/tmp/com.apple.launchd.OxBrfQRxaB/Listeners, SHELL => /opt/homebrew/Cellar/bash/5.1.8/bin/bash, EDITOR => hx, Sharetribe_Int_ClientID => c080862d-8fcf-4334-b5e2-7a56427b9006, XPC_SERVICE_NAME => 0, AUTOJUMP_ERROR_PATH => /Users/matth/Library/autojump/errors.log, __CFBundleIdentifier => dev.warp.Warp-Stable, CONDA_EXE => /Users/matth/opt/miniconda3/bin/conda, WARP_USE_SSH_WRAPPER => 1, NVM_DIR => /Users/matth/.nvm, TERM_PROGRAM_VERSION => v0.2<IP_ADDRESS>.13.stable_01, COMMAND_MODE => unix2003, CONDA_PROMPT_MODIFIER => (base) , NVM_INC => /Users/matth/.nvm/versions/node/v14.19.3/include/node, AUTOJUMP_SOURCED => 1, CONDA_PREFIX => /Users/matth/opt/miniconda3, CPPFLAGS => -I/opt/homebrew/opt/ruby/include, PWD => /Users/matth/Versd/Development/versd-mobile, LC_ALL => en_US.UTF-8, HOME => /Users/matth, TMPDIR => /var/folders/y5/jgg60rx970v7ndz4yj5t5zvh0000gn/T/, CONDA_DEFAULT_ENV => base, SHLVL => 1, XPC_FLAGS => 0x0, LDFLAGS => -L/opt/homebrew/opt/ruby/lib, PATH => /Users/matth/.nvm/versions/node/v14.19.3/bin:/opt/homebrew/opt/ruby/bin:/opt/homebrew/lib/ruby/gems/3.0.0/bin:/Users/matth/google-cloud-sdk/bin:/Users/matth/.local/bin:/Users/matth/opt/miniconda3/bin:/Users/matth/opt/miniconda3/condabin:/Users/matth/.cargo/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/go/bin:/Library/Apple/usr/bin:/Applications/Wireshark.app/Contents/MacOS:/Users/matth/.npm_global/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/matth/opt/miniconda3/bin:/Users/matth/.yarn/bin:/Users/matth/Versd/Development/Versd-Toolbox:/Applications/CMake.app/Contents/bin:/Users/matth/go/bin, Stripe_Dev_Public => pk_test_51Hb7ElEiH4qeStV683IhzmorCYfiQyDEfHAVKuZ6VzPR1PZYUesOo3psrG5Zbd8SUuj8ITfZtppk9OkBboUUAqPx00IL9QRXUZ, TERM => xterm-256color, USER => matth, TERM_PROGRAM => WarpTerminal, COLORTERM => truecolor, _CE_CONDA => , LOGNAME => matth, _CE_M => , _ => /opt/homebrew/bin/idb_companion, GOOGLE_APPLICATION_CREDENTIALS => /Users/matth/.versd/credentials/firebase/versd-eba52-firebase-adminsdk-j4c43-e8968dd024.json, CONDA_PYTHON_EXE => /Users/matth/opt/miniconda3/bin/python, __CF_USER_TEXT_ENCODING => 0x1F5:0x0:0x0, Sharetribe_Int_Dev_Secret => 6e8839df7690e8d5f2bfda6d3abd3e73ca98a03c, Sharetribe_Dev_ClientID => 793b29e6-9a50-4896-aba6-5d73f74048db, Stripe_Dev_Secret => sk_test_51Hb7ElEiH4qeStV6tWvZ5B1Ntb8EkWCNNMKNNZM7ZhtnZKBS9Y621eJTJO1oBenMAiLkUSCyiYZ5XoQpbCe9W5kO00a5Mt71hb, Sharetribe_Int_Secret => 75348bbe67b532dad99867aa518503f6ef5b511a, WARP_IS_LOCAL_SHELL_SESSION => 1}
Providing targets across Simulator and Device sets.
CoreSimulator: Loading from /Library/Developer/PrivateFrameworks/CoreSimulator.framework
CoreSimulator: Successfully loaded
CoreSimulator: SimDevice has correct path of /Library/Developer
AccessibilityPlatformTranslation: Already loaded, skipping
AccessibilityPlatformTranslation: AXPTranslationObject has correct path of /System/Library
Loaded All Private Frameworks [CoreSimulator, AccessibilityPlatformTranslation]
MobileDevice: Loading from /System/Library/PrivateFrameworks/MobileDevice.framework
MobileDevice: Successfully loaded
Loaded All Private Frameworks [MobileDevice]
[framework_loader] MobileDevice: Loading from /System/Library/PrivateFrameworks/MobileDevice.framework
[framework_loader] MobileDevice: Successfully loaded
[framework_loader] Loaded All Private Frameworks [MobileDevice]
Oct 15 19:00:53  idb_companion[16380] <Notice>: _SubscribeForMuxNotifications (thread 0x10299fd40): returned 0x0.
Starting swift server on tcp port 10882
Swift server started on [IPv6]::/:::10882
{"grpc_swift_port":10882,"grpc_port":10882}
Companion will stay alive if target goes offline
Start of describe
dyld: lazy symbol binding failed: can't resolve symbol _$sScCMa in /opt/homebrew/Cellar/idb-companion/1.1.8/bin/../Frameworks/IDBGRPCSwift.framework/Versions/A/IDBGRPCSwift because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
dyld: can't resolve symbol _$sScCMa in /opt/homebrew/Cellar/idb-companion/1.1.8/bin/../Frameworks/IDBGRPCSwift.framework/Versions/A/IDBGRPCSwift because dependent dylib @rpath/libswift_Concurrency.dylib could not be loaded
Abort trap: 6

@matthewmturner out of curiosity are you using idb_companion to connect to a simulator or real device?
I'm toying with maestro and have only used sims for the time being which connect + launch the tests successfully.  (I say "launch" because that part is true, but actually performing the test steps for me is a different story 😅  ... "

@matthewmturner out of curiosity are you using idb_companion to connect to a simulator or real device?
I'm toying with maestro and have only used sims for the time being which connect + launch the tests successfully.  (I say "launch" because that part is true, but actually performing the test steps for me is a different story 😅  ... "

I think I'm connecting to simulator although I confess I had never used idb_companion before this so maybe I've done something wrong

I'm having a similar issue, no matter if it's a sim or device 🙏
maestro --platform ios test flow.yaml
com.github.michaelbull.result.UnwrapException: kotlin.Unit io.grpc.StatusRuntimeException: UNAVAILABLE: io exception
	at maestro.drivers.IOSDriver.open(IOSDriver.kt:50)
	at maestro.Maestro$Companion.ios(Maestro.kt:401)
	at maestro.Maestro$Companion.ios(Maestro.kt:396)
	at maestro.cli.util.MaestroFactory.createIos(MaestroFactory.kt:68)
	at maestro.cli.util.MaestroFactory.createMaestro(MaestroFactory.kt:39)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:58)
	at maestro.cli.command.TestCommand.call(TestCommand.kt:30)
	at picocli.CommandLine.executeUserObject(CommandLine.java:1933)
	at picocli.CommandLine.access$1200(CommandLine.java:145)
	at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2326)
	at picocli.CommandLine$RunLast.handle(CommandLine.java:2291)
	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159)
	at picocli.CommandLine.execute(CommandLine.java:2058)
	at maestro.cli.AppKt.main(App.kt:94)

meh, ignore me, I forgot to idb_companion --udid {id of the iOS device} 😢

@matthewmturner perhaps use a simple example to confirm it's all working and go from there
For my experiment, I used:

maestro v1.9.0
iOS simulator v14
app under test was iMessage

appId: com.apple.MobileSMS
---
- launchApp

I am a bit confused how to run the app, My starting flow is not working. I am having this app downloaded on my simulator. But it can not trigger it to start. Android works fine when it gets the apk.

you need to have idb_companion  installed on your computer
run idb list-targets to find the id of the started simulator ( needs to be in booted state)
run idb_companion --udid {id of the iOS device} with the id you just found
in another terminal run maestro test test_flow.yaml (or whatever your test file is named)

Hope it helps :)

I have an issue where this exact crash happening. I figure it out that it was crashing in a iOS 16 SIM. With 14.5 is working fine. I haven't tested it yet with iOS 15, but I bet it will work (I'm downloading this version).
I'm using:

Xcode 14.0.1
python 3.10
java 11

BTW I've downloaded python 3 using the web: https://www.python.org/downloads/

Followed the instructions from https://github.com/facebook/idb to get the UUID of the device (although you can find them using the organiser)  but I used the pip 3.10 version instead.
pip3.10  install fb-idb

the issue with ios 16 seems to be on the idb side https://maestro.mobile.dev/troubleshooting/known-issues

@phynet TLDR - iOS 16 is not yet supported using maestro (view the known issues link above)
Also noting that this comment chain is starting to drift off. @matthewmturner hope idb_companion is treating you well now 🤞

Ops, then is my bad. Sorry for add noise to this channel.

@alexandlazaris thanks for the details.  using the minimal test i still have the same issue. i use the following:

maestro v1.10.1
iOS Simulator Running iPhone 12 Pro on iOS 14.4
XCode 13.2.1
App under test was iMessage (using same test file you provided)

I have also a crash on iOS when I try to launch a test with maestro. What I did:

in a terminal launched idb_companion --udid [udid_of_my_phone]
in another terminal window launched maestro test ios-flow.yaml
maestro is able to launch the app through my simulator, I can see the splashscreen
the app crashes and I see a weird message in my terminal, the idb_companion stop running

2022-11-01 19:34:37.864+0100 Successfully removed temporal directory: file:///var/folders/q_/jsxfktlj52j6v5s6l5mj1y240000gn/T/IDB/61B7050A-FE8E-4CA1-BB85-E25F6330337E
2022-11-01 19:34:37.947+0100 Responding to termination of idb with signo 15

In the simulator I see this error message
![Simulator Screen Shot - iPhone 13 - 2022-11-01 at 19 34 52](https://user-images.githubusercontent.com/56698920/199312678-e6f2f851-398e-4241-bcc0-05bccc946727.png)

@alexCoding42 this message shows usually when you you don't have metro started

@rborn yes now when I start the metro bundler I don't see this error, but I still face a crash of idb companion when trying to run maestro test ios-flow.yaml
Right after the launchApp step idb companion stops running and my test fails

It seems there is an ongoing issue that is being investigated for iOS. I just spoke with some people on the Slack channel, so I guess we just have to wait :)
https://mobile-dev-inc.slack.com/archives/C041FU72T54/p1666866408069079

I had to upgrade my Xcode to 14 to resolve the issue

@alexCoding42 - were you able to make any progress on that issue? I'm facing the same thing

I have also a crash on iOS when I try to launch a test with maestro. It works on Android
My config

Macbook Pro MacOS Monterey 12.5.1 with M1 Pro chip
maestro v1.11.3
iOS Simulator Running iPhone 13 on iOS 15.5
XCode 13.4.1

What I did

in a terminal launched idb_companion --udid UDID_OF_MY_PHONE
in another terminal window launched maestro test ios-flow.yaml
maestro is able to launch the app through my simulator, I can see the splashscreen
the app crashes just after the splashscreen and I see a weird message in my terminal, the idb_companion stop running

2022-11-01 19:34:37.864+0100 Signalled: SIGTERM
2022-11-01 19:34:37.864+0100 Successfully removed temporal directory: file:///var/folders/q_/jsxfktlj52j6v5s6l5mj1y240000gn/T/IDB/61B7050A-FE8E-4CA1-BB85-E25F6330337E
2022-11-01 19:34:37.947+0100 Responding to termination of idb with signo 15

In the simulator I see this error message

Please Use npx react-native start on ur project


Disable the cow by default ?

 Maybe disable it by default ? Just a suggestion.
Or at least make it very clear how to disable this. I can't seem to find any clear documentation on how to do this. Takes space from the startup screen.

Silly or not is obviously highly subjective.
The README mentions the FAQ. See :h startify-faq-13.


feat(DataPlaneInstanceStore): add SQL store implementation

What this PR changes/adds
Add SQL store implementation for DataPlaneInstanceStore
Why it does that
Durability of Data Plane Instances
Linked Issue(s)
Closes #2074
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] assigned appropriate label? (exclude from changelog with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

@ndr-brt I've asked also your review, since you picked the Cosmos one, I've created in this PR
a base test for al the  DataPlaneInstanceStore impl :)

Codecov Report
Base: 64.74% // Head: 64.44% // Decreases project coverage by -0.30% :warning:

Coverage data is based on head (fadf05c) compared to base (aebb2a6).
Patch coverage: 1.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2087      +/-   ##
==========================================
- Coverage   64.74%   64.44%   -0.31%
==========================================
  Files         792      797       +5
  Lines       16870    16948      +78
  Branches     1089     1092       +3
==========================================
- Hits        10923    10922       -1
- Misses       5491     5570      +79
  Partials      456      456

Impacted Files
Coverage Δ

...ore/DataPlaneSelectorDefaultServicesExtension.java
0.00% <0.00%> (ø)

.../selector/store/sql/SqlDataPlaneInstanceStore.java
0.00% <0.00%> (ø)

.../store/sql/SqlDataPlaneInstanceStoreExtension.java
0.00% <0.00%> (ø)

...sql/schema/BaseSqlDataPlaneInstanceStatements.java
0.00% <0.00%> (ø)

.../store/sql/schema/DataPlaneInstanceStatements.java
0.00% <0.00%> (ø)

.../postgres/PostgresDataPlaneInstanceStatements.java
0.00% <0.00%> (ø)

...selector/store/InMemoryDataPlaneInstanceStore.java
100.00% <100.00%> (ø)

...iation/ProviderContractNegotiationManagerImpl.java
90.00% <0.00%> (-0.56%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


problems with dataloader between versions

Hello!
Thank you for the great package. I have some code that relies on cell-gears=0.0.1. The latest version of cell-gears makes a lot of things much earlier including importing new datasets.
When I update to the current version, it seems like the dataloader only returns X with a single dimension  [batch_sizen_genes,1] while earlier it used to return a matrix of size [batch_sizen_genes,2]. The first axis are the expression flags while the second are the perturbation masks. Can you please help me figure out which part of the code changed so that I can figure out how to update to the latest version and still make things work?
Thank you!

Hi, thanks for your question!
This change is because the previous version of GEARS (v0.0.1) would only predict the perturbation of genes that are also expressed, thus the perturbation flags could map directly to the indices of the genes that are expressed. In the final version of the paper we extended GEARS to predict perturbation of genes even if their expression is not measured. This involved several changes to how the dataloader is generated so I wouldn't recommend manually editing the repo to make it compatible with the previous dataloader.
The simplest solution would be to just generate a new dataloader (v0.0.4). It should be pretty straightforward if you still have access to the original AnnData file and shouldn't impact any of your analyses down. If you want the same results as with the earlier version, I would also recommend setting default_pert_graph=False when initializing PertData
Let me know if this resolves your issue or if you still need some help!

Thank you.
I ended up using some of the code from the older versions to create an additional vector and it worked. I really like the new version and it's added features.


Capture VFS invalidation at start of build in build scans

This also makes the capturing compatible with the configuration cache.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge


Consider setting value to default value if it exists

Say I have to following request body:
"requestBody": {
  "content": {
    "application/x-www-form-urlencoded": {
      "schema": {
        "type": "object",
        "properties": {
          "username": {
            "type": "string"
          },
          "password": {
            "type": "string",
            "format": "password"
          },
          "grant_type": {
            "type": "string",
            "default": "password"
          }
        }
      }
    }
  }
}

I'd expect the UI to have to value of the grant_type parameter to be set to password by default. Instead it's empty.
I tried this via: https://mrin9.github.io/RapiDoc/examples/example2.html
If the example uses the latest commit it should be on: ec5eb03bef7efe7845845a75b7e27eeecce0c36b.
If it uses the latest release it should be on: 5.2.2.
(I haven't found a way to determine the version from the example page itself)

Using default to specify a sample value. This is not intended use of default and can lead to unexpected behavior in some Swagger tools. Use the example or examples keyword for this purpose instead. See Adding Examples.

The above is an extract from open-api docs
RapiDoc too uses example or examples  to set values in the field
let me know if it clarifies your case ?

Thanks!  I made some incorrect assumptions based on the behaviour of Swagger UI.

this is now addressed in release 5.3.1 Default value will be show if it exist


login and signup pages added with their screenchots in firefox and go…

…ogle chrome browser

@nik-6947 Are you able to run the server? I see the html files are being opened directly into the browser which is incorrect.


Rest Control now responds to PUT method (fix #863)

I made the fix, which was tiny, but I also wrote a little integration test for the rest server, so anyone can make fixes to it and run the test.

Just as a total nitpick but a truly RESTful service has different actions at the same endpoint -- so for example in this case if you went to localhost:8787/animation.brightness with a GET command, it would return the current value, if you went to the same endpoint with a PATCH/PUT command, it should update that value, etc
I do like a fallback option of only being able to make GET requests to trigger a value change, but that's not actually RESTful at all, and it should be on another endpoint
so something like
GET localhost:8787/animation.index (returns 1)
PUT localhost:8787/animation.index with {value: 2} as the params (changes animation index to 2)
(curl -X PUT -i 'http://localhost:8787/animation.index' --data value=2)
fallback GET localhost:8787/update_value/animation.index/2
--
Also worth noting that as written, you have to use a different endpoint for each value which means this control can only change one thing as a time. You could also envision something like
PUT  localhost:8787/animation, params: {brightness: 20, color: 120, fps: 5} as being an update endpoint that can update multiple values of a running animation simultaneously.
Just suggestions, nothing wrong with the way it is written, if I have a need for these things in current project will try to push up a small PR
G

I have no issue with the "correct" RESTful way being an option but the
GET-only way is a requirement. Truly RESTful APIs are for developers who
understand such things, which our users are not.
On Fri, Jul 6, 2018 at 1:05 PM Eric Stiens<EMAIL_ADDRESS>wrote:

Just as a total nitpick but a truly RESTful service has different actions
at the same endpoint -- so for example in this case if you went to
localhost:8787/animation.brightness with a GET command, it would return the
current value, if you went to the same endpoint with a PATCH/PUT command,
it should update that value, etc
I do like a fallback option of only being able to make GET requests to
trigger a value change, but that's not actually RESTful at all, and it
should be on another endpoint
so something like
GET localhost:8787/animation.index (returns 1)
PUT localhost:8787/animation.index with {value: 2} as the params (changes
animation index to 2)
(curl -X PUT -i 'http://localhost:8787/animation.index' --data value=2)
fallback GET localhost:8787/update_value/animation.index/2
--
Also worth noting that as written, you have to use a different endpoint
for each value which means this control can only change one thing as a
time. You could also envision something like
PUT localhost:8787/animation, params: {brightness: 20, color: 120, fps: 5}
as being an update endpoint that can update multiple values of a running
animation simultaneously.
Just suggestions, nothing wrong with the way it is written, if I have a
need for these things in current project will try to push up a small PR
G
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ManiacalLabs/BiblioPixel/pull/865#issuecomment-403092711,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6a6qca1IWFaO9rl6AN8lG3dtDdQBZqks5uD5j2gaJpZM4VFU83
.

Fair enough! Thanks for implementing this! Mostly just needed the ability to set multiple values at a time with one HTTP call. Works a charm :)


Be published crate.io

[ ] license or license-file
[ ] description
[ ] homepage
[ ] documentation
[ ] repository
[ ] readme

https://doc.rust-lang.org/cargo/reference/publishing.html

Check out the metadata you can specify in Cargo.toml to ensure your crate can be discovered more easily! Before publishing, make sure you have filled out the following fields:
license or license-file
description
homepage
documentation
repository
readme

Hi @utam0k . I'm interested in taking this task because I want to use youki in a project I'm working on and I'd instead pull it from crates than from GitHub. However, the part I'm mostly interested in is taking the commands of the youki crate and turning them into a library so they can be used from a different main.
Would that part interest you too? If so, should we just make another issue and tackle that there?

@Silcet Sorry for the late reply. Currently, youki is already divided into several crates. What crate do you want to use?

Closing this, given that we have published several version now 😂


some items have sorting incompatibility

When you have some specific items in your inventory you're unable to sort it. When you do it, the sorting fails and you end up with the item grabbed by your mouse. That's extremely annoying and dangerous: you could accidentally drop an important item in lava.
I assume it has to do with some strange NBT data.
This bug is perfectly reproducable with a mana tablet from botania. (It also happens sometimes with some rotarycraft machines)
(You can workaround this with placing the item in the hotbar, but this is not a reliable solution since you have to sacrifice a hotbar slot)
Versions used: InventoryTweaks-1.59-dev-156, Botania r1.6-193

Make sure the server (if you're playing on one) has inventory tweaks installed, and your client is set to use the server-side helper in the invtweaks settings.

I didn't know that InvTweaks is not only a client-side mod. Yeah, that fixed it. Thanks!

@Kobata Some way to do this without putting the mod on the server?

If the sorting is messing up in this specific way, most of the time it's caused by the server rejecting the movement, so most likely not.


[bug] Ghost pinging when direct image link sent

The bot recognizes ghost ping when a direct link image, such as https://cdn.discordapp.com/embed/avatars/4.png, is sent with a mention and the image is displayed.
More info: you-know-where

Cannot reproduce issue.


Add in a specific reference to grails 2.1.5

There is a grails21 already (which this is just a copy paste of). I've created something specific rather than updating the existing grails21 so as not to break anything for anyone else.

Can you justify including this for a specific reason, beyond it might break? How wide is usage going to be?
We're trying to stop tracking point releases as part of the new submission rules, because compared to the core 99% of all contributions and fixes in Versions come from maintainers and it's an unreasonably heavy burden on the project for a tap that relatively few people use.


Setting Primary base URL

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
Setting Primary base URL on page Settings > General has no effect.
👟 Reproduction steps

Open http://localhost:3001/
Confirm you're logged in and it's working.
On page Settings > General, set Primary base URL to http://localhost:3001/foobar
Click save
Gracefully stop uptime-kuma
Gracefully start uptime-kuma
Try open http://localhost:3001/foobar/

👀 Expected behavior
http://localhost:3001/foobar/ should be the base URL. So for example
http://localhost:3001/foobar/settings/general
http://localhost:3001/foobar/dashboard
😓 Actual Behavior
Uptime kuma continues to perform with / as the primary base URL, as before.
The setting has no effect.

🐻 Uptime-Kuma Version
1.23.1
💻 Operating System and Arch
Ubuntu 23.04
🌐 Browser
Brave, Chromium, FF
🐋 Docker Version
Running as a normal user, not using Docker.
🟩 NodeJS Version
Node v20.5.1 (npm v9.8.0)
📝 Relevant log output
No response

Uptime Kuma does not support a subdirectory such as http://example.com/uptimekuma. Please prepare a domain or sub-domain to do that.

Read more: https://github.com/louislam/uptime-kuma/wiki/Reverse-Proxy


export to csv

any plan to add feature to export table data?

+1

finally, i have custom implements one to export the data.
@Fabrik19SH you can find the code sample in below.
https://github.com/hoswey/ng2-admin/blob/master/src/app/shared/component/me-simple-table/me-simple-table.component.ts
@nnixaa is it ok the make a pull request for this export function

any idea how to integrate export functionality like table data with css design export in pdf or excel
Advance Thanks dear
Avinash

+1

Is this feature has been added?

+1


Doesnt' work

Doesn't work with:
Environment:
Redmine version                3.4.3.stable
Ruby version                   2.4.2-p198 (2017-09-14) [x86_64-linux]
Rails version                  4.2.10
Environment                    production
Database adapter               Mysql2

As the documentation says this plugin currently only works with Redmine 3.3.X.


Support for Higher-Order Ambisonics (HOA).

Rotation, convolution and rendering classes, w/ example.

@drewbitllama Drew, can you provide a live URL for the commit?

FWIW, the live example from the commit:
https://cdn.rawgit.com/drewbitllama/omnitone/07526be2e95e935eabcfe8c577e9255cc2b2480e/examples/hoa-renderer.html

I've updated the example code to reflect your initial concerns as well as attempted to simplify the handling of multiple file loading into single buffers.

Current live version: https://cdn.rawgit.com/drewbitllama/omnitone/bf2e3cb07cb4c26b35fbc7a4e25e9712711544a9/examples/hoa-renderer.html

Fixed a few more issues and resolved a bug with the rotation matrix.

ok, made another push to address your last batch of concerns. I'd really like to keep HOA* classes agnostic to eventual rendering order, so while examples and tests will explicitly use 3rd-order ambisonics, there is no real reason to disable 2nd,4th,etc. from being renderable with the current class. LMK any ?s you have.

@drewbitllama Would it make sense to land this PR on Dev branch and I go over files? If I make small changes in API and the code structure, is it going to be a big hassle for you? This PR is huge and the code review system here is sub-par. I don't think we should get bottlenecked by this.

That sounds good to me. Feel free to make changes and just CC me on any commits you do. :)

Can I take it as there is no "functional" change is planned at this point? :)

No, the only thing I will modify (as a separate commit) will be to support >8 channel file loading so it's easier to support HOA HRIR formats.


[Lecture 4][1019] Depthwise Dilated(Atrous) Convolution

Hello Professor,
I have a question while studying the "depthwise dilated convolution" section of Lecture 4, so I am leaving this issue. I couldn't fully understand this concept just from the lecture materials, so I looked into other resources. However, I'm still not sure if my understanding is correct. From what I gathered, depthwise dilated convolution applies filters to each channel separately, just like depthwise convolution, but while applying the filter to each channel, it uses the dilated convolution method. Is my understanding correct?
Additionally, in the lecture materials, you included a table from the MobileNet V3 paper with a red arrow pointing to "CCC2." Could you explain what exactly CCC2 refers to and why it was emphasized?
Thank you!

@hyeonseo6101
Thank you for the question!
Dilated depthwise convolution combines both the depthwise operation (where the group number is set to the input channel size) and the dilation operation. Based on my understanding, your interpretation is correct.
CCC2 is an older lightweight segmentation paper I worked on with my intern a few years ago, addressing information loss from depthwise dilated convolution. You don't need to read it for the exam. However, since my intern landed a position at META (Facebook at that time), thanks to this paper, I recommend reading it if you have time. :)


3.0-dev does not build swift-build on Ubuntu 17.04

XX@XX:~/ClionProjects/Hello Swift$ swiftenv local 3.0-dev
XX@XX:~/ClionProjects/Hello Swift$ swift build
no such command: swift-build
XX@XX:~/ClionProjects/Hello Swift$ ls /home/XX/.swiftenv/versions/3.0-dev/usr/bin/
swift  swift-demangle

Does reinstalling helps?

Currently swiftenv-build build swift 3.x correctly. I'm trying to fix it(#76). Meanwhile, you can try https://github.com/sinoru/swiftenv/tree/align-build.


Separate ci workflow

Summary
Separate docs ci workflow
Rationale
Explain the rationale for the changes (links to relevant issue(s)).
Implementation Details
Additional notes

Check before merging:

[ ] All discussions are resolved
[ ] New code is covered by appropriate tests
[ ] Tests are passing locally and on CI
[ ] The documentation is consistent with changes
[ ] Any code that was copied from other sources has the paper/url in a comment and is compatible with the MIT licence
[ ] Notebooks/examples not covered by unittests have been tested and updated as required
[ ] The feature branch is up-to-date with the master branch (rebase if behind)
[ ] Incremented the version string in Project.toml file

Codecov Report

Merging #49 (ba1e027) into master (9d1a271) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #49   +/-   ##
=======================================
  Coverage   75.61%   75.61%
=======================================
  Files          14       14
  Lines         529      529
=======================================
  Hits          400      400
  Misses        129      129

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 9d1a271...ba1e027. Read the comment docs.


KODI plugin for hyperion configuration is here :)

Hi All,
I just wanted to let you know that I wrote small plugin for KODI, that can help creating the config file for users that do not want to handle all advanced options available for hyperion. Basically, the only parameters that user provides is number of leds in each direction and where the strip begins.
It also adds grabber-v4l2 section to the config file, if grabber is detected.
I have tested in on OE and it looks like it works :) I would appreciate any feedback and testing (especially for clockwise setup and other systems than OE).
Here is the repository:
https://github.com/LightberryEu/plugin.program.hyperion.configurator
I hope this will be useful.
Jacek

Hi, the configurator created a hyperion.config.json file alright, however, the contents of the file is mixed up. All the correct lines of code are there, but, in the wrong order. Ie the number of led are at the start, the   end of json, is in the middle, it's all mixed up.

Indeed sections are mixed up - it is because I am not able to force correct order via orderedDict in python. Despite that, config works, right?

It sometimes works, there are random, stop, starts and flashing with the leds.
Sent from Samsung tablet
-------- Original message --------
From: tociek<EMAIL_ADDRESS>Date:17/08/2015  7:03 PM  (GMT+08:00)
To: tvdzwan/hyperion<EMAIL_ADDRESS>Cc: galleon111<EMAIL_ADDRESS>Subject: Re: [hyperion] KODI plugin for hyperion configuration is here :)
(#358)
Indeed sections are mixed up - it is because I am not able to force correct order via orderedDict in python. Despite that, config works, right?
—
Reply to this email directly or view it on GitHub.

Do you have other config file that works well with the same hardware setup?

Yes, I returned to my usual config file and all is good.
The problem I was trying to fix was, the black borders on letterbox wide movies were not being detected.
I fixed it by commenting out the XBMC framegrabber in the config file.
I doen't use XBMC for anything, I have a lightberry hdmi premium kit with a 3d blu-ray player attached.
Works great with the lightberry kit. 65" samsung curved screen & 62 led, 3D movies are brilliant
Raspberry pi B+ , openelec, hyperion.
Sent from Samsung tablet
-------- Original message --------
From: tociek<EMAIL_ADDRESS>Date:18/08/2015  4:15 AM  (GMT+08:00)
To: tvdzwan/hyperion<EMAIL_ADDRESS>Cc: galleon111<EMAIL_ADDRESS>Subject: Re: [hyperion] KODI plugin for hyperion configuration is here :)
(#358)
Do you have other config file that works well with the same hardware setup?
—
Reply to this email directly or view it on GitHub.

@tociek
Could you add this to wiki? I would close this issue.


Update ee-install.rst

Docs for: https://github.com/mattermost/mattermost-server/pull/14539.

I will go ahead and merge this PR since v5.27 is released.
Please review and open a new PR for any needed edits,


Update Part 1 Step 26

Per:
Task 5 clarification
Add updates to requirements:
<IP_ADDRESS>	Actions10 for MY2022+ HEV and BEV drives
a. DS request message to ECU that indicated support in DM24 for upon request SP 12797 (Hybrid Lifetime Propulsion System Active Time) for 64241 PSA Times Lifetime Hours
b. Record each value for use in Part 2.
<IP_ADDRESS>	Fail criteria10 for MY2022+ HEV and BEV drives
a. Fail PG query where no response was received.
b. Fail PG query where any accumulator value received is greater than FAFFFFFFh.
<IP_ADDRESS>	Actions11 for MY2022+ HEV and BEV drives
a. DS request message to ECU that indicated support in DM24 for upon request SP 12797 (Hybrid Lifetime Propulsion System Active Time) for Active 100hr PSA Times and Stored 100hr PSA Times PGs:
PG       PG Label                                       PG Acronym
64242  PSA Times Stored 100 Hours        PSATS
64243  PSA Times Active 100 Hours         PSATA
b. Record each value for use in Part 2.
c. List data received in a table using lifetime, stored 100 hr, active 100hr for columns, and categories for rows.
<IP_ADDRESS>	Fail criteria11 for MY2022+ HEV and BEV drives
a. For MY2024+ HEV and BEV drives, Fail each PG query where no response was received.
b. For MY2022-23 HEV and BEV drives, Warn each PG query, where no response was received.
c. Fail each PG query where any accumulator value received is greater than FAFFh.
<IP_ADDRESS>	Actions12 for MY2022+ Plug-in HEV DRIVES
a. DS request message to ECU that indicated support in DM24 for upon request SP 12783 (Hybrid Lifetime Distance Traveled in Charge Depleting Operation with Engine off) for PG 64244 Hybrid Charge Depleting or Increasing Operation Lifetime Hours
b. Record each value for use in Part 12.
<IP_ADDRESS> Fail criteria12 for MY2022+ Plug-in HEV DRIVES
a. Fail PG query where no response was received.
b. Fail PG query where any accumulator value received is greater than FAFFFFFFh.
c. Fail all values where the corresponding value received in part 1 is greater than the part 2 value.
<IP_ADDRESS>	Actions13 for MY2022+ Plug-in HEV DRIVES
a. DS request message to ECU that indicated support in DM24 for upon request SP 12783 (Hybrid Lifetime Distance Traveled in Charge Depleting Operation with Engine off) for Active 100hr Charge Depleting times and Stored 100hr PSA Charge Depleting Times PGs:
PG       PG Label                                                                                PG Acronym
64246  Hybrid Charge Depleting or Increasing Operation Active 100 Hours    HCDIOA
64245  Hybrid Charge Depleting or Increasing Operation Stored 100 Hours   HCDIOS
b. Record each value for use in Part 2.
c. List data received in a table using lifetime, stored 100 hr, active 100hr for columns, and categories for rows.
<IP_ADDRESS>	Fail criteria13 for MY2022+ Plug-in HEV DRIVES
a. For MY2024+ Plug-in HEV DRIVES, Fail each PG query where no response was received.
b. For MY2022-23 Plug-in HEV DRIVES, Warn each PG query, where no response was received
c. Fail each PG query where any active technology label or accumulator value received is greater than FAFFh, respectively.

Assigning to @battjt to verify the reference to the Part 1 Step 17 is covered where it should be with Eric.  The above pasted requirement came from the above document which was attached to an email from Eric 4/11/22.


Wifi.lua - Probe EAP support

In luci/model/cbi/admin_network/wifi.lua
-- Probe EAP support
local has_ap_eap  = (os.execute("hostapd -veap >/dev/null 2>/dev/null") == 0)
local has_sta_eap = (os.execute("wpa_supplicant -veap >/dev/null 2>/dev/null") == 0)
if hostapd and supplicant then
...
                       if has_ap_eap and has_sta_eap then
encr:value("wpa", "WPA-EAP", {mode="ap"}, {mode="sta"}, {mode="ap-wds"}, {mode="sta-wds"})
encr:value("wpa2", "WPA2-EAP", {mode="ap"}, {mode="sta"}, {mode="ap-wds"}, {mode="sta-wds"})
end
root@OpenWrt:~# hostapd -veap
hostapd v2.5
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2015, Jouni Malinen<EMAIL_ADDRESS>and contributors
root@OpenWrt:~# wpa_supplicant -veap
wpa_supplicant v2.5
Copyright (c) 2003-2015, Jouni Malinen<EMAIL_ADDRESS>and contributors
I found that the output of "wpa_supplicant -veap" is considered as STDOUT, but "hostapd -veap" is considered as STDERR, hence it could never turn on EAP options in LUCI Wi-Fi.
Should we modify the has_ap_eap condition so that
-- Probe EAP support
 local has_ap_eap  = (os.execute("hostapd -veap 2>/dev/null >/dev/null") == 0)
 local has_sta_eap = (os.execute("wpa_supplicant -veap >/dev/null 2>/dev/null") == 0)
Thank you.

Its not about STDOUT or STDERR but about the exit code of the command. There's an optional patch in OpenWrt and LEDE which is supposed to do that:
https://github.com/openwrt/openwrt/blob/master/package/network/services/hostapd/patches/420-indicate-features.patch

Dear Jow,
Thank you for the reply. I got it :+1:


Update changelog for the next release of AMQP

The commit to add EventHubs (https://github.com/Azure/azure-sdk-for-cpp/commit/a627ab3f22e5f3a71fdcbca4f9426ce11ab2f6e2#diff-fa36f8c42381216cd81570ace5ae8c93137046ceddc1529098fc7b4ed65e0bbd) has updates to core-amqp. I just tried to build eventhubs in vcpkg against azure-core-amqp-cpp 1.0.0-beta.1, and the build fails, because it needs these recent changes.
So, in order to release eventhubs, we'll have to release beta.2 of AMQP.
And to release, we need changelog entries.
This PR adds them.

FWIW, there are going to be several more changes to AMQP before we release eventhubs. I appreciate your adding these entries, but there are going to be more of them moving forward.

@LarryOsterman, thank you - that's ok if we are going to have more changes, just update the changelog in the corresponding PRs. JFYI, enumerating these changes was the easiest action for me, feel free to remove these details and rewrite them using one generalized entry.


ANMS_FUN_ADM_001 (ADM Listing)

Two ADMs were selected for download from the ADM option:  amp_agent and ion_admin.
It was noted the downloaded amp_agent ADM lacked the "Mac" section found in the IEFT document (draft-birrane-dtn-adm-agent-05).
It was noted the IETF ion_admin specification and the downloaded ADM compared except the downloaded file contained under MDAT: {"name": "enum", "type": "INT", "value": "7"} .  This definition was included in other ADMs downloaded, but did not appear in the IEFT ion_admin specification.

replaced with #118