odbc text driver issues

I'm having trouble getting an ODBC text driver to work:
usql "odbc://Microsoft+Text+Driver+(.txt+.csv)/?Dbq=c:/temp"
error: adodb: Exception occurred. ([Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified)
usql "odbc://Microsoft+Access+Text+Driver+(.txt,+.csv)/?Dbq=c:/temp"
error: adodb: Exception occurred. ([Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified)
From: https://www.connectionstrings.com/microsoft-text-odbc-driver/
Any assistance would be greatly appreciated

ODBC connection strings are a bit tricky. Please also note that it doesn't appear you are using the actual ODBC driver, but the ADODB/OLE based ODBC driver. You need to build your version using -tags odbc to use the actual, "real" ODBC driver (also I can surmise you are on Windows... based on the info above).
So, couple notes:

I haven't tried the Microsoft Access driver with ODBC, however it would work. The syntax for the DSN would actually be like this:

$ usql 'odbc+Microsoft+Access+Text+Driver+(.txt,+.csv):///?Dbq=c:\temp'

You might want to try the Microsoft ACE driver instead, which works great with CSVs:

$ usql adodb://Microsoft.ACE.OLEDB.12.0/?Extended+Properties=%22Text%3BHDR=NO%3BFMT=Delimited%22

I had been meaning to provide my own CSV driver, based on SQLite, but just haven't had the opportunity to implement it yet. Look for that relatively soon, in a future release.
If you cannot get the ODBC driver to work directly, you can just use the \c driver params backslash command to connect by passing the exact driver parameters to the underlying ODBC driver:

$ usql
(not connected)=> \c odbc Driver={Microsoft Text Driver (*.txt; *.csv)};Dbq=c:\txtFilesFolder\;
Extensions=asc,csv,tab,txt;

Please note that this driver is used in usql, so please refer to its documentation for specifics on specifying connections strings. I don't have a Windows system to test just now, but I will make a point to try to test this to see if it works properly.

Thanks for the reply, looking forward to the CSV driver that is part of usql
I didn't have any luck with the Microsoft Text Driver - (may be a 32bit vs 64bit thing)
The Microsoft.ACE.OLEDB.12.0 seems to work


[Bulk] Updating a context with 2 contexts

Description
Hello there!
Basically, the idea is being able to update a current context with two context. Example:
All my VIPS are in the server=survival, so i want to to add them in the server lobby.
Before: vip server=survival
After bulk: vip server=survival server=lobby
Proposed Behaviour
Already described.
Extra Details
No response

Unfortunately, the bulk system is by design restricted to only changing/removing already existent data - it cannot add anything, even if it's also changing something in the process. This is in part because of the complexity required to make a single command add things in bulk, but also by design.
The intent is that you should be abstracting things away to groups in order to apply large changes instead of adding things to large bunches of people 'piecemeal', which basically nullifies the purpose of groups and can have negative impacts on the plugin's internal logic. Fore example, you could be adding a group to players with those contexts and need to add yet another context - adding that to every player is time consuming. Instead, you can make a new group and add it as a parent of the initial group with the contexts and permission you need, and then remove the context restrictions on the original group. This effectively allows grouping contexts.

can make a new group and add it as a parent of the initial group with the contexts and permission you need, and the

I dont understand :/. How that would give users the context server=bungee. I can add a parent groups to the group vip but that doesnt trigger the server=bungee to the vips because they dont have that context
Maybe you could give me an example with commands?
Thanks in advance

You can add groups as parent groups of other groups. When you do this, you can set contexts for when the parent groups apply as parents of other groups. For example, you could set a group survivalperms as a parent of group default with context server=survival, and that parent group will only apply when a player is in a server called survival.
I really also recommend setting this up using the editor (run /lp editor and click the link. Also be sure to read the wiki page on how to use it properly) rather than commands. It's way easier to visualize.
Here's an example:
Say you have a group, survival, applied to certain people with the context server=survival. You want to add the context server=creative to the certain people who have it added to them with the context server=survival.

Rename survival to survivalandcreative and create a new group called survival. Add survivalandcreative as a parent group of survival with contexts server=survival and server=creative.
You have two options:
a) Add survival as a parent group of default (if you want this change to apply to everyone, this is the option for you)
b) Use bulkupdate to remove the context server=survival for everyone that has group survival. (if you want this to apply to only the people who already had group survival, this is the option for you) You can do this with /lp bulkupdate users update server global "server == survival"

And there is no way to update via any MariaDB command? To add a context to certain users?


Edge gets detected as Chrome?

Hi @ilkkapeltola, I noticed that Edge gets detected as Chrome. Is this wanted behaviour as they are both chromium based browsers? Thanks!

This is fixed now with 0.12.3. Thank you for reporting the issue!


server: set timeout for MoveLeader

Signed-off-by: disksing<EMAIL_ADDRESS>What problem does this PR solve?
When multiple PDs calls MoveLeader, one will succeed and others will block in MoveLeader function.
What is changed and how it works?
Add timeout when calling MoveLeader.
Cherry-pick #1533
Check List
Tests

Integration test

/run-all-tests tidb=release-2.0 tikv=release-2.0 tidb-test=release-2.0

:cry:  2.0 uses etcd's gofail, now it cannot run tests.

seem we don't care 2.0 now

release-2.0 is not maintained any more. Close it for now. We can reopen it if we want to release a new 2.0.x version later.


Installation problem with virtualenv

Hello, @axt
I installed angr in virtualenv. And I want to install angr-utils in virtualenv too. But when I execute "python setup.py install" in virtualenv :
(angr_env) raphael@ubuntu:~/Desktop/angr-utils-0.3.0$ sudo python setup.py install /usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'   warnings.warn(msg) running install running build running build_py running install_lib running install_egg_info Removing /usr/local/lib/python2.7/dist-packages/angr_utils-0.3.0.egg-info Writing /usr/local/lib/python2.7/dist-packages/angr_utils-0.3.0.egg-info
Ubuntu 17.04, Python 2.7.13
How can I install this in virtualenv?

Hi! Sorry for my late answer. Unfortunatelly I'm not good/familiar with python packaging.
It seems to me that it is just a warning. Does
import angrutils

throw an error? Or maybe did the install succeed?
I myself use this to install the packages:
pip install -e ./bingraphvis
pip install -e ./angrutils


Feature request: Copy URL

When long pressing on a hyperlink, there should be an option to copy the URL to the clipboard.

If I am not missing something, this would be a Android feature and not dependent necessarily on DuckDuckGo, right?
I just tried to copy a text from a page, a link from the address bar and everything works.

Oh no, my bad. Sorry about the last comment. You were specifically mentioning an option to copy a link upon long pressing it. 👍🏽

Good suggestion, I agree this would be good. I'll try add this in when I can.
Thanks for raising.

Fixed by #368


Alot Mk II

@teto Here's a rework of the alot module from #350. I've made my changes in a separate commit. Broadly speaking they are

Enable alot for an account if notmuch is enabled. I can't recall if I said in an earlier comment to you that there should be an account alot.enable option but if I did I believe I was wrong 🙂

Remove the contact completion option, it wasn't used anywhere and from what I can tell in the Alot documentation is wasn't rich enough to work as-is, it would need, at least, a regexp option as well. I'm not entirely certain how to best define these options so I just removed it for now.

Remove the sendMailCommand function and instead put that functionality in the alot-accounts.nix file.

Rename the extraHookFile option to simply hooks.

Add basic support for GPG and signatures.

Various formatting.

Please have a look and see if it is OK for you.

FWIW I haven't tried this very much but was able to open up mail from notmuch and send mail using msmtp with and without signature and gpg signing.

As it's my dev branch, I hadn't pushed the last development but I had tried to "nixify" the configuration as you did in my previous PRs, i.e., having a structured extraConfig https://github.com/teto/home-manager/blob/alot_clean_wip/modules/programs/alot.nix
I am fine with text only extraConfig but the structured one might generate a cleaner config, in case the user wants to override the encrypt_by_default for instance (home-manager can only generate "all" or "none" but "trusted" is another possible value).
Having a non structured extraConfig also ease up quick testing/bootstrap. Like I don't think it's worth adding a "tag" submodule, might be best to just leave it as extraConfig.text.
/lib/generators.nix contains functions that can be abused but I dunno what you prefer so I'll let you complete this PR and try to clean up my astroid module (astroid is really a great MUA !)

I've added an extraConfig section for the account. I looked at the INI format and the possibility of generating a file directly from the attribute set but gave up on that. So I just merged this as is, I've already spent way to much time on this module so will leave any future refinement for somebody else to worry about 🙂


Balder/fix logic flaw causing missing config changes

@hmusum PR

LGTM, but a unit test fails

Which was good. I used an already existing method that had a broken and untested implementation.


Gene page structure history docs not linked

Hi @kimrutherford
I think this page https://www.pombase.org/documentation/gene-page-gene-structure-history
should be linked from the gene page section, with the info icon like "External references" below

Good plan.  I've done that.

Nice!


Can you please add documentation for self-describing message usage?

Hi Team,
Can you please add an example for self-describing message? i mean how to use this. I searched a lot but couldn't see any solid example of how to use it.
Regards,
Sharath

I'm not sure what "an example for self-describing message" means. Does the documentation for the generated code help? See https://developers.google.com/protocol-buffers/docs/reference/go-generated

Hi dsnet,
Thank you for the reply.
What i mean is, i'm referring to this link(https://developers.google.com/protocol-buffers/docs/techniques#self-description) in order define generic container message type that would include a DescriptorSet and an Any fields.
What i'm not getting is how to build an instance of that generic message type and setting the field of type Any with an instance of your "Custom Object" message and setting the DescriptorSet field with the DescriptorSet of the"Custom Object" type.
So a small example of explaining on how to consume and use the self-describing message would help me a lot. I hope i'm explained it to you. If not please do let me know.
I saw the same discussion in the google groups 8 years back - https://groups.google.com/g/golang-nuts/c/StRsh0RscvA
, where someone was trying to add it to the official go-protobuf tutorial.
There is no blog or tuts which actually explains this.
Regards,
Sharath

You can do the following:

Use protodesc.NewFiles to convert a descriptorpb.FileDescriptorSet into a protoregistry.Files.
Use the anypb.Any.MessageName method to obtain the name of the underlying message in the Any and lookup a protoreflect.MessageDescriptor with protoregistry.Files.FindDescriptorByName. Since the method returns a protoreflect.Descriptor, you'll need to do a type-assertion.
Use dynamicpb.NewMessage to create a new concrete instance of the message from the previously obtained protoreflect.MessageDescriptor.
Use the anypb.Any.UnmarshalTo method to unmarshal from the Any message into the previously instantiated dynamicpb.Message.

I should note that steps 2 to 4 could be simplified a little if we had #1216.

Hi Dsnet,
Thanks a lot for explaining the steps inspite of your busy schedule. Since i'm very new to GO, finding it difficult to follow here. It might be great if you explain with example(This is what i was referring it to as documentation or example)
Let me explain in detail.

Let's say i have Pixel.proto file as shown below and i compile it to pixel.pb.go.

`syntax = "proto3";
package testprotobuf;
message Pixel {
// Session identifier stuff
string session_id = 2;
}`

Now i define a Generic Message using self-describing feature as shown below and compile to genericmessage.pb.go.

`syntax = "proto3";
package saramaprotobuf;
import "google/protobuf/any.proto";
import "google/protobuf/descriptor.proto";
message GenericMessage {
// Set of FileDescriptorProtos which describe the type and its dependencies.
google.protobuf.FileDescriptorSet descriptor_set = 1;
// The message and its type, encoded as an Any message.
google.protobuf.Any message = 2;
}`

Now in the main function of the GO code as shown below i'm trying to build an instance of that generic message type and setting the field of type Any with an instance of Pixel message and setting the DescriptorSet field with the DescriptorSet of the Pixel message type. This is what i'm not getting

`func main() {
topic := "yoyoyoyo"
brokerList := []string{"localhost:9092"}
producer, err := newSyncProducer(brokerList)
if err != nil {
	log.Fatalln("Failed to start Sarama producer:", err)
}

go func() {
	ticker := time.NewTicker(time.Second)
	for {
		select {
		case t := <-ticker.C:
			elliot := &example.GenericMessage{
				DescriptorSet: 	"Here how to assign",
				Message:     "Here how to assign",
			}
			pixelToSend := elliot
			pixelToSendBytes, err := proto.Marshal(pixelToSend)
			if err != nil {
				log.Fatalln("Failed to marshal example:", err)
			}

			msg := &sarama.ProducerMessage{
				Topic: topic,
				Value: sarama.ByteEncoder(pixelToSendBytes),
			}

			producer.SendMessage(msg)
			log.Printf("Pixel sent: %s", pixelToSend)
		}
	}

}()

}`

Then later comes at the consumer end on how to unmarshall the message, for which i can follow the steps which you explained i guess.

Please let me know if what i'm explaining is not clear
Regards,
Sharath

You can obtain a obtain a new anypb.Any representing a message with anypb.New.
There is not quick way to obtain a FileDescriptorSet for a generated message. You'll have to do something like the following:
// FileDescriptorSetForMessage returns the FileDescriptorSet needed to represent m.
func FileDescriptorSetForMessage(m proto.Message) *descriptorpb.FileDescriptorSet {
	fds := new(descriptorpb.FileDescriptorSet)
	seen := map[protoreflect.FileDescriptor]bool{}
	appendFileDescriptor(m.ProtoReflect().Descriptor().ParentFile(), fds, seen)
	return fds
}
func appendFileDescriptor(fd protoreflect.FileDescriptor, fds *descriptorpb.FileDescriptorSet, seen map[protoreflect.FileDescriptor]bool) {
	if seen[fd] {
		return
	}
	seen[fd] = true

	fds.File = append(fds.File, protodesc.ToFileDescriptorProto(fd))

	imps := fd.Imports()
	for i := 0; i < imps.Len(); i++ {
		appendFileDescriptor(imps.Get(i).FileDescriptor, fds, seen)
	}
}

The code above may panic if the messages have not been regenerated with google.golang.org/cmd/protoc-gen-go since it fundamentally depends on first-class support for protobuf reflection.

Closing. For questions regarding usage, it is better to ask on Slack or someone other means where you can more readily get immediate help. Consider joining the #protobuf channel or the Gophers slack workspace: https://gophers.slack.com/messages/general/
I don't think we need to add documentation for this. The fact that C++ doesn't have a pre-defined type for SelfDescribingMessage indicates that this is a niche and relatively rare use case. I certainly believe we need more examples in our module, but we still need to be judicious about which to add. Too many examples for use-cases that are less common is still counter-productive.


Cleanup use of executors

Hopefully fixes https://github.com/prestosql/presto/issues/4973

CI failed --  https://github.com/prestosql/presto/issues/4586 / https://github.com/prestosql/presto/issues/5172

Replaced with https://github.com/prestosql/presto/pull/5406, https://github.com/prestosql/presto/pull/5407, https://github.com/prestosql/presto/pull/5408 to separate loosely related topics.


Create { _meta : { _index: 'myindex-MM-YYY' } } is ignored

I have an index called pagerduty that has monthly aliases (pagerduty-07-2018, pagerduty-08-2019 etc). The documentation states that _meta can have an _index property but this appears to be ignored.
const datedIndex = 'pagerduty-' + getMMYYYY(log_entry.created_at)
service.create({
  _id: incident.id,
  status: incident.status,
  title: incident.title,
  category: getCategory(incident.title),
  urgency: incident.urgency,
  timestamp: log_entry.created_at
   _meta: {_index: datedIndex }
})

Hi @nsainaney,
Thanks for using feathers and feathers-elasticsearch!
With regards to the the _meta property the documentation states: "The meta field is an object containing elasticsearch specific information, e.g. _score, _type, _index, _parent, _routing and so forth. It will be stripped off from the documents passed to the service."
In other words, you can use the data coming from elasticsearceh in the _meta prop, however the service will promptly ignore everything you send to it in the _meta prop. This is intentional, and aimed to make updates easier. I hope that helps.
I'm closing this issue.

Understood - thanks


interceptors for a different client getting invoked when configure in application.yml

I have created multiple feign client and multiple interceptors. For the below settings, I could see during invoking client-a both RequestInterceptor1 and RequestInterceptor2 get to execute. I assume only the interceptor configured to the corresponding client should have executed.
feign:
client:
config:
default:
connectTimeout: 5000
readTimeout: 5000
loggerLevel: full
client-a:
errorDecoder: com.org.decoderClientA
requestInterceptors:
- com.org.BasicAuthRequestInterceptor1
client-b:
errorDecoder: com.org.decoderClientB
requestInterceptors:
- com.org.BasicAuthRequestInterceptor2

Hello @himnay, please provide a minimal, complete, verifiable example that reproduces the issue.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Create Downgrade.yml

See https://github.com/trixi-framework/Trixi.jl/pull/1771 and https://github.com/trixi-framework/P4est.jl/pull/105.

I fixed the lower compat bounds such that the Downgrade action passes. In addition, I cleaned up the Project.toml a bit, i.e.:

I added compat bounds for stdlibs (UUIDs, Test) as recommended in https://discourse.julialang.org/t/psa-compat-requirements-in-the-general-registry-are-changing.
I removed TOML from the Project.toml since it is not used in T8code.jl.

Ok to merge, @jmark?


Fix set-hostname under Debian Jessie.

This script is intended to be used as a dhclient exit hook, sourced (not executed) by /sbin/dhclient-script.
The version of dhclient-script included in Debian Wheezy uses /bin/bash as the shell to run these rather than, as documented, /bin/sh (that is, dash).  This is fixed in Jessie, but that fix breaks this script, which depends upon bash.
This change fixes the script to work under dash and bash equally, and also removes the executable bit (as the script is intended to be sourced, not executed directly, and having an executable script with a shebang line just confuses the issue).

I've tested this on Debian Wheezy and Jessie by applying the patch directly to /usr/share/google/set-hostname.  I haven't tried anything else.

Incidentally, to verify this in Jessie: the dhclient output (including the error messages) is visible in the systemd journal; sudo journalctl will show that.

Looks good, thanks! Merging.


how to get the anchors

in yours code , how do you get the anchors？？？
 We use stride from the Feature Pyramid Network backbone, the ratio, and the scales for bounding boxes to generate these anchors.

if I resize the image to 384640, the anchor is the same as 640640 anchor?

Yes, it is independent of the input image resolution.

https://github.com/NVIDIA/retinanet-examples/blob/master/retinanet/model.py#L26
self.scales = [4 * 2**(i/3) for i in range(3)]
what is the 4  ?

4 is just a scaling factor that we felt performed better as compared to the original paper. Essentially this generates larger anchor boxes at each feature pyramid level.

the '4' is for image size 800x800 and the performed is good.
if I train the image size 640x384 , I should modify the scales to get  good performe ,  right?

Scales are used at feature pyramid levels, they are not necessary to be tuned according to the image size. You can try to change them, and might not any significant performance change.
You are however welcome to do so, and publish the results here. Would be an interesting study.

Where is the code that I can modify the anchor box  in the training ?

The anchor boxes are generated from stride, ratio and scale vectors in retinanet/model.py


Nested button groups not behaving correctly

Description
When trying to nest a button group inside another button group, the layout gets a bit weird.
Steps to reproduce
Here is the code

    <button class="spectrum-Button spectrum-Button--primary spectrum-ButtonGroup-item">
      Add Shapes
    </button>

      <button class="spectrum-Button spectrum-Button--primary spectrum-ButtonGroup-item">
        Update
      </button>
      <button class="spectrum-Button spectrum-Button--primary spectrum-ButtonGroup-item">
        Refresh
      </button>

Expected behavior with screenshots
This is what I tried to recreate. I made this in ExtendScript.

This is the result

Environment

Spectrum CSS version: 2.13.0
Browser(s) and OS(s): Firefox 78.0 on MacOS Catilina, but also on AE 2020

Additional Not:
Also the Action Group layout is a bit messy when nesting it
The left button on the second row has the rounded corners on the wrong side (and the right one )

Here is the code. I tried getting the bottom 2 buttons the same size using width: 50%, but they don't align correctly with the top one (they are a bit shorter). By setting all margins and paddings to 0, it gets a bit closer to the same lenght, but it's still not the same.

        <button class="spectrum-ActionButton spectrum-ActionGroup-item" >
            Add Shapes
        </button>

            <button class="spectrum-ActionButton spectrum-ActionGroup-item" style="width: 50%;">
                Update
            </button>
            <button class="spectrum-ActionButton spectrum-ActionGroup-item" style="width: 50%;">
                Link
            </button>

This is how I hacked my way in the last example:
I manually set the border radius to 0 or to the default value.
I also needed to add a margin-top to the first button (also taken from the index-vars)

        <button class="spectrum-ActionButton spectrum-ActionGroup-item">
            Add Shapes
        </button>

            <button class="spectrum-ActionButton spectrum-ActionGroup-item"
                    style="
                    margin-top: calc(-1 * var(--spectrum-actionbutton-border-size, var(--spectrum-alias-border-size-thin)) / 2);
                    border-top-left-radius: 0px; border-top-right-radius: 0px;
                    border-bottom-left-radius: var(--spectrum-actionbutton-border-radius, var(--spectrum-alias-border-radius-regular));">
                Update
            </button>
            <button class="spectrum-ActionButton spectrum-ActionGroup-item"
                    style="border-bottom-left-radius: 0px;">
                Link
            </button>


Run tests on travis?

I just created a PR and noticed that the tests are not running (good thing I checked locally). Would you consider integrating the repo with TravisCI? After adding the repo there, the only you have to do is add a .travis.yml file in the root:
language: node_js
node_js:
  - "6.1"
  - "6.0" # Also add whatever version you want to test with
script:
  - npm test
notifications:
  email: false # This is optional, I always turn it off since I check it anyways fairly often

Definitely! 👍 I have a few repos using Travis already, I just forgot this time around.


Thread-safety?

Affect.capture doesn't seem thread-safe because it mutates the current context (@@current) class variable and Affect is shared across threads.
For example:
t1 = Thread.new  {
  Affect.capture(log: -> (message) { puts "logging 1: #{message}" }) do
    Affect.perform(:log, "foo")
  end
}

t2 = Thread.new {
  Affect.capture(log: -> (message) { puts "logging 2: #{message}" }) do
    Affect.perform(:log, "bar")
  end
}
t1.join
t2.join

might end up printing "logging 2: foo\nlogging 2: bar\n" instead of "logging 1: foo\nlogging 2: bar\n".
This specific issue can be fixed by using Thread.current[:current_ctx] to attach the current context to the current thread (do you want me to open a PR?). However: I think this will lead to other issues when using Threads in user-land [1].
So I looked into using the fiber implementation which doesn't mutate global state, so the above code works fine. I believe it has the same problem when using Thread.new around perform as the Thread.current solution, though. Fibers don't seem to play nicely with threads.
Do you have any experience using your affect library in a multi-threaded environment? Maybe it's best to simply ban threads from user-land?
[1] The part of a code base which only cares about perform, not about how to handle the effects.

For my own use, up until now I have used a single global context, so there was no problem with multi-threaded code.
For the moment, the behaviour of concurrent capture blocks is undefined. Using a thread-local variable is a solution, but I think a more comprehensive solution would be to allow threads to "inherit" the context of the thread doing the call to Thread.new. This would necessitate a patch to Thread.new. Also note that in Ruby thread-local variables are actually fiber-local, so this might affect the behaviour when running multiple fibers.
If you have a suggestion for how to solve this I'd like to know. Thanks for your interest!

Closing due to inactivity.


❓No devices are returned on iOS but everything works fine on Android

Question
I'm trying to integrate react-native-vision-camera in our project but I can't get it to work on iOS. Although the setup seems fairly simple somehow iOS isn't working. I isolated the problem in this RN TS template generated by the CLI: https://github.com/lucipacurar/react-native-vision-camera-problems
In the Swift code the devices list also looks empty.
What I tried
I'm using the latest stable MacOS, Xcode, RN 0.68.2.
Played around with permissions but still nothing. I didn't see any weird log output.
VisionCamera Version
2.13.5
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[x] I searched for similar questions in the issues page as well as in the discussions page and found none.


bad error message when a Identifier is passed as a type which doesn't exist

minimal example:
a: b = 1
start :: fn do end

syntax error: a.sy:1
      Syntax Error on line 1
      Expected '.' after namespace
   1 | a: b = 1
            ^

compare this to when a type identifier is used, which is much better and more in line with what i expect:
a: B = 1
start :: fn do end

typecheck error: a.sy:1
      Cannot resolve name 'B'
      Expected a blob
   1 | a: B = 1
          ^

I don't know how wrong this is TBH. If someone wants to add in a special case for it sure, but this is really not do or die.


python310Packages.boschshcpy: 0.2.54 -> 0.2.56

Diff: https://github.com/tschamm/boschshcpy/compare/0.2.54...0.2.56
Description of changes

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/)
23.05 Release Notes (or backporting 22.11 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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 217036 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.bosch_shc
python310Packages.boschshcpy
python311Packages.boschshcpy


Consider adding Julearn?

I'm not sure if its planned or deliberately left out, but when I gave an ABCD-J talk, Simon asked me explicitly to include Julearn as well. Maybe an additional software piece for the front page after JTrack?

Good point, I will find out.

Confirmed, will add thanks.


Added padding to links in Phobos book table

Just a small improvement. I think the links can use a little breathing room.
CC @wilzbach

Before

After

Hmm also note that this will modify existing pages like, e.g.

After:

Given that this page has its issues - it looks a bit weirder afterwards. However on the regex page it looks definitely better, so I am undecided.
@CyberShadow what's your opinion?
How about enabling it only for BOOKTABLES with the quickindex class?
A bit OT
What do you think about using "Match, Build, Replace, Split, Objects" as category names instead?

@CyberShadow what's your opinion?

I guess it is a minor improvement.
Would be nice to avoid px units, especially since this is something that is intended to be relative to the font size.

Would be nice to avoid px units, especially since this is something that is intended to be relative to the font size.

I'll change it

Hmm also note that this will modify existing pages like, e.g.

I will note that that page looks much better on the /phobos/ version

The odd spaces come from these  s that are inserted everywhere for some reason

The odd spaces come from these  s that are inserted everywhere for some reason. If you delete them from the HTML, the page looks normal

Alrighty - yet another weirdness of Ddoc. I will have a look at it. Maybe I can find the reason ...

The odd spaces come from these  s that are inserted everywhere for some reason.

It's comes from the SUBREF macro here:
https://github.com/dlang/phobos/blob/master/std/algorithm/package.d#L175
It seems like a hack to get a better text justification...

Styling stuff should live in CSS.
Delete the non-breaking space and see what happens.


[Removal]: Main Topaz Chicken

Hotspot Name
Main Topaz Chicken
Hotspot b58 Address
112K9SphrR45WYXSfxuKRY3juwDYn1LHcsnPQuDELgJH9yQBR1yd
Discord Handle
hipaul#9949
Hotspot Manufacturer
PantherX2
Removal Reason
I deploy the hotspot in my office in the lan. I have tried to use vpn to get an fixed IP to change the relayed status, but failed. Now I removed the vpn.
Modifications
No
Extra forwarders
No
Extra antennas
Yes
Additional Information
I use a long outdoor antenna to enhance the signal so that the signal can travel farther.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Persistence throws Exception

Exception is thrown during Artifact deployment.
Exception Description: The type [class java.util.List] for the attribute [branches] on the entity class [class de.hpi.bpt.chimera.execution.controlnodes.gateway.ExclusiveGatewayInstance] is not a valid type for a serialized mapping. The attribute type must implement the Serializable interface.
I think it is related to the following section.
@janwestphal306 asked me to open this issue.
@Tobias314 it seems you implemented this feature, can you fix this?
https://github.com/bptlab/chimera/blob/f8a3c65550919b09bb5b422a7cc26836c69827f5/src/main/java/de/hpi/bpt/chimera/execution/controlnodes/gateway/ExclusiveGatewayInstance.java#L45-L48

error.log


Use preferences to set terminal app path

Hi!,
I noticed that the file path to the Terminal app for opening in Terminal is hard coded to the Terminal.app.
I suggest maybe allowing users to specify the path to the app of their choosing. I for one use iTerm2 and would very much like to be given the option to use the same here as well.
This PR will add  the path to the preferences and use the UserDefaults to store whatever the user specifies so it can be used for the "Open in Terminal" feature.

I have run the tests and also made sure SwiftLint is happy :)

This is a great change – thank you!


DateTime Filtering is not Working

Version 1.2.3 (1.2.4 is not available on Nuget yet)

Yes it's strange, can you provide a sample of the data?

Sure:
TestApp.zip

Ok it's a bug, I'm going to commit a new version that fixes it.
In the meantime you can use this corrected version :
FilterDataGrid.zip

Thank you!

Sorry this is the good version :
FilterDataGrid.zip


Give the downloaded state (icon) to imported chapters

Describe your suggested feature

just this, change it to the Downloaded icon.
Other details
Maybe not full white like normal chapters since it is imported.
I also guess it needs a new logic since the user shouldn't be abke to delete them normally like usual entries.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 1.1.18.
[X] I will fill out all of the requested information in this form.

So as not to confuse people. There's no download/dowloaded icon in chapters from imported entries


RDK-35328 - Added Group Support

Known issues:

group transparency when rendering (empty group renders solid black)
createGroup seems to have an issue adding clients to the group while setGroup works fine

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/9754/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/49774/ started.

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/115364/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/115365/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [FAILURE]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
Video Streaming using rmfApp [SUCCESS]
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/34159/

https://jenkins.code.rdkcentral.com/job/github-triggered/15477/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/50576/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10233/ started

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10234/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/21596/ started.

build-rpi-hybrid-refapp2-rdk-next Console Log uploaded to Gist URL: https://gist.github.com/00ff8e470e6136359b2922d06d76dcef

build-rpi-mc-wpe-rdk-next Console Log uploaded to Gist URL: https://gist.github.com/1d6b2c07ae968106d6072ac1ca16f10f

build-rpi-hybrid-wpe-rdk-next Console Log uploaded to Gist URL: https://gist.github.com/f0da453c45a8e2ab28a264e725731ad1

build-brcm-refboard Console Log uploaded to Gist URL: https://gist.github.com/40272bb305e865cb5bd14f4d34730d7e

https://jenkins.code.rdkcentral.com/job/github-triggered/15479/ started

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10236/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/21599/ started.

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 1 file pending identification.

Protex Server Path: /home/blackduck/github/RDKShell/126/rdkcentral/RDKShell

Commit: 2e174da429d2e770c454ba7eeeed1956367b0b4d

Report detail: gist

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/116968/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [FAILURE]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
Video Streaming using rmfApp [SUCCESS]
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/34579/

https://jenkins.code.rdkcentral.com/job/github-triggered/15487/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/50594/ started.

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10244/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/21609/ started.

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/116990/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/116993/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/116994/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
add key intercept test failed
add key listener test failed
Number of success test - 38
Number of failed test - 2
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/34584/

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10376/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/21795/ started.

https://jenkins.code.rdkcentral.com/job/github-triggered/15619/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/50820/ started.

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117457/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117458/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117459/

'['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next']' Smoke test FAILURE, investigation pending.
Flash MC [SUCCESS]
Flash HYB [SUCCESS]
MC - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
Video Streaming using rmfApp [FAILURE]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
getClients : Failed - [clients:[residentapp],success:true]
getZOrder : Failed - [clients:[residentapp],success:true]
getClients : Failed - [clients:[testapp2,testapp1,testapp,residentapp],success:true]
getZOrder : Failed - [clients:[testapp2,testapp1,testapp,residentapp],success:true]
add key intercept test failed
add key listener test failed
getClientsAfterKill : Failed - [clients:[residentapp],success:true]
Number of success test - 33
Number of failed test - 7
Video Streaming using rmfApp [SUCCESS]
HYB - Video Test [FAILURE]
Video HLS gst-launch [SUCCESS]
Video Streaming using aamp-cli [SUCCESS]
Video local using gst-play-1.0 [SUCCESS]
RDKShell CI Tests [FAILURE]
checking thunder security
Thunder security is disabled
getClients : Failed - [clients:[residentapp],success:true]
getZOrder : Failed - [clients:[residentapp],success:true]
getClients : Failed - [clients:[testapp2,testapp1,testapp,residentapp],success:true]
getZOrder : Failed - [clients:[testapp2,testapp1,testapp,residentapp],success:true]
add key intercept test failed
add key listener test failed
getClientsAfterKill : Failed - [clients:[residentapp],success:true]
Number of success test - 33
Number of failed test - 7
https://jenkins.cmf.code.rdkcentral.com/job/test-rdkv-raspberrypi-flow/34716/

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/10382/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/15625/ started

https://jenkins.cmf.code.rdkcentral.com/job/build-component-rdk-next-platform/21803/ started.

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/50837/ started.

Smoke tests for ['build-brcm-refboard'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117491/

Smoke tests for ['build-rpi-hybrid-refapp2-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117492/

Smoke tests for ['build-rpi-hybrid-wpe-rdk-next'/'build-rpi-mc-wpe-rdk-next'] added.
https://jenkins.cmf.code.rdkcentral.com/job/test-components-flow/117493/

Closing this PR


[Question] Automatic set to blank values after post request

Hi,
I wonder if there is a way to automatically set to "blank" values of all form once the user clicked the "Submit button"?

I found that there is a custom code where you can run after the post request, however I don't know how to access those "form elements" to set their values to be equal to nothing once post request is done, what I only tried is to have an "alert" function which works well.

Thank you.
Regards,
Henjoe

@henjoe Thank you for trying the plugin.
Values for the form can be clearout using a custom Code
elements.map((element) => {element.value = ''});

It's partially explained in the article, but we should make it more clear: https://volkovlabs.com/data-manipulation-panel-plugin-for-grafana-97f9af2c67e0
Please let me know if there is anything else.

Hi @mikhail-vl
Thanks for the response!
Will try this and get back this once done.
Regards,
Henjoe

Hi @mikhail-vl ,
This code:
elements.map((element) => {element.value = ''})
works well when putting all the value to "null" or blank.
However, what if a specific element only that I would like to set it to blank?
Is there a way to specify their IDs?
For example, I only want the Name (with id name) the only element to set in blank?
Thanks!
Regards,
Henjoe

Hello @henjoe
It's an advantage of the custom code. You can make it as flexible as possible:
For name only it will look like that:
elements.map((element) => {
   if (element.id === 'name') {
     element.value = '';
   };
})

Please let me know if you need anything else.

Thanks @mikhail-vl !
All works!
Regards,
Henjoe

@henjoe,
Great for confirming!
Do you mind sharing a couple of finished screenshots with a description of the project? I would love to share with the community. If you can't, that's totally fine.

Sure @mikhail-vl !
This is totally fine, I'll get back to this thread once done :)

Hi @mikhail-vl ,
So here is what I done so far in Data Manipulation Panel.
I used the panel to get the basic information we needed, when the "submit" button is clicked, it goes to my backend API (nodered) and it send the data fo my InfluxDB. Then of course, from influxDB, you can visualize things in Grafana.

I blurred out the table for data privacy.
Thanks for this wonderful panel!
Regards,
Henjoe


content/en/docs/setup/multiple-zones: Fix "pods in some pods" typo

The previous version is from cbbf1fa6 (Multizone: docs, 2016-03-16, #140).

@wking Thanks for the fix!
/lgtm
/approve


Can't import existing app service certificate into new resource group

Describing the problem
Using SDK I create a new resource group and a web app. I wan't to reuse a wildcard SSL app service certificate that already exists and which is stored into another resource group within its keyvault.
When creating the ssl binding through the certificate thumbprint, it says that the certificate is not found.
I need to import existing app certificate into my newly resource group and don't know how to do this.
Step to reproduce the problem
From the azure portal, manually create a resource group called "xxx-backup-RG" and buy a wildcard ssl certificate and store it into this new RG. It will prompt you to create a keyvault to store the secret, go through the procedure.
Then, using Azure SDK, create a new resource group called "xxx-web-RG", create an app plan, a web app, create the webapp hostname and then try to bind your ssl certificate.
var resourceGroup = azure.ResourceGroups
                        .Define("xxx-web-RG")
                        .WithRegion(ResourcesHelper.Location)
                        .Create();

var servicePlan = azure.AppServices.AppServicePlans.Define($"xxx-web-appplan")
                                             .WithRegion(ResourcesHelper.Location)
                                             .WithExistingResourceGroup(resourceGroup)
                                             .WithPricingTier(ResourcesHelper.AppServicePricing)
                                             .WithOperatingSystem(OperatingSystem.Windows)
                                             .WithCapacity(1)
                                             .WithPerSiteScaling(false)
                                             .Create();
var app = azure.WebApps
                        .Define($"xxx-myapp-webapp")
                        .WithExistingWindowsPlan(servicePlan)
                        .WithExistingResourceGroup(resourceGroup)
                        .Create();

webApp = webApp.Update()
                  .DefineHostnameBinding()
                  .WithThirdPartyDomain("myhost.com")
                  .WithSubDomain("webapp")
                  .WithDnsRecordType(CustomHostNameDnsRecordType.CName)
                  .Attach()
                  .Apply();

webApp.Update()
      .DefineSslBinding()
      .ForHostname("myhost.com")
      .WithExistingCertificate(ResourcesHelper.CertificateThumbPrint)
      .WithSniBasedSsl()
      .Attach()
      .Apply();

How can you see where the problem really is
Create the webapp resource group as describe with code above but remove the last call.
Go to Azure portal, open your webapp custom domain parameters.
You will see your custom domain flagged not secure and a "add ssl binding" link.
Click on this link and then you will see a blade that asks for importing the app service certificate with two options :

with PFX file
By finding it from subscription resources
If you choose the second option, you will find your certificate and by choosing it, you will be able to create your binding through a second blade.

If you try now to create a new resource group fully manually through azure portal with exactly the same resources and go to add ssl binding, you won't have the first blade which asks to import the certificate, you will have the second one directly as if your certificate was already available.
Alternate solution
Before using Azure SDK to create our environments, we used ARM templates.
The step to import our certificate before creating ssl bindings is done with this chunk of code :
{
      "type": "Microsoft.Web/certificates",
      "name": "MyCertificateName",
      "apiVersion": "2016-03-01",
      "location": "[variables('Location')]",
      "properties": {
        "keyVaultId": "[parameters('keyvaultId')]",
        "keyVaultSecretName": "[parameters('KeyvaultSecretName')]",
        "thumbprint": "[parameters('certThumbprint')]"
      },
      "dependsOn": [
        "[concat('Microsoft.Web/serverfarms/', variables('WebAppAppPlanName'))]"
      ]
    },

What I want to do
All I want is being able to create my ssl bindings by making my certificate available into my newly resource group.
Thanks

Thank you for opening this issue! It looks like this is an issue with our fluent libraries for .Net, so I'm going to transfer the issue to the appropriate repo.

Thank you. Do you know a workaround using web API for example to do this ?

Same problem was solved for the java library.
https://github.com/Azure/azure-libraries-for-java/issues/182

If I'm understanding your issue correctly, we had this issue too - and initially managed to work around it by "recreating" the certificate in the new resource group and then referencing it by thumbprint. This stopped working at some point recently and I think it's because Azure doesn't want you to have the same thumbprint in the same location twice for a single subscription (irrespective of which resource group it is in).
So our new workaround was to:

assign the certificate to an app service in the 'first' resource group, which creates the hidden microsoft.web/certificates resource in the 'first' resource group
get this certificate using the Fluent interface on the 'first' resource group Azure.AppServices.AppServiceCertificates.GetByResourceGroupAsync()
get the binding for the app service in the 'second' resource group using appService.GetHostNameBindingsAsync(), set the Thumbprint and SslType directly on the Inner, then use the lower level Azure.WebApps.Inner.CreateOrUpdateHostNameBindingAsync interface to apply the updated Inner back into the app service

I think the root cause is that the Fluent interface doesn't expect you to supply a certificate from a different resource group. It would be ace to add an WithExistingCertificate(IAppServiceCertificate certificate) overload to the builder that doesn't try to be clever and just passes the certificate along without trying to "re-find" it in the resource group.

Sorry for late response. @weidongxu-microsoft could you help with this issue? Thank you!

@Patafoin
@jamesholwell
The bug was fixed a few versions before (now it try find the Thumbprint from all app certificates across resource groups). Please try latest 1.33.0

@weidongxu-microsoft I tried with the last version (1.33.0) but it doesn't work.
Can you please check my code in my first post please ?
I would like to know if I missed one step.
Context : I already have a resourcegroup (lets say I named it "MyCertRg") with my wildcard ssl certificate

I create a new resourcegroup (I name it "MyNewEnvRg")
I create an App Plan
I create a webApp
I try to update my webapp using DefineHostnameBinding, DefineSslBinding and MyCertRg's certificate thumbprint

The fact that it works when I execute my arm template with the following code let me think I missed a SDK step to make it work without ARM
{       "type": "Microsoft.Web/certificates",       "name": "MyCertificateName",       "apiVersion": "2016-03-01",       "location": "[variables('Location')]",       "properties": {         "keyVaultId": "[parameters('keyvaultId')]",         "keyVaultSecretName": "[parameters('KeyvaultSecretName')]",         "thumbprint": "[parameters('certThumbprint')]"       },       "dependsOn": [         "[concat('Microsoft.Web/serverfarms/', variables('WebAppAppPlanName'))]"       ]     },
Do you think so ?

Let's track it in azure-libraries-for-net https://github.com/Azure/azure-libraries-for-net/issues/961

get this certificate using the Fluent interface on the 'first' resource group Azure.AppServices.AppServiceCertificates.GetByResourceGroupAsync()
Maybe I have the same issue with PowerShell and the error is: New-AzWebAppSSLBinding : Operation returned an invalid status code 'NotFound' .

If I'm understanding your issue correctly, we had this issue too - and initially managed to work around it by "recreating" the certificate in the new resource group and then referencing it by thumbprint. This stopped working at some point recently and I think it's because Azure doesn't want you to have the same thumbprint in the same location twice for a single subscription (irrespective of which resource group it is in).
So our new workaround was to:

assign the certificate to an app service in the 'first' resource group, which creates the hidden microsoft.web/certificates resource in the 'first' resource group
get this certificate using the Fluent interface on the 'first' resource group Azure.AppServices.AppServiceCertificates.GetByResourceGroupAsync()
get the binding for the app service in the 'second' resource group using appService.GetHostNameBindingsAsync(), set the Thumbprint and SslType directly on the Inner, then use the lower level Azure.WebApps.Inner.CreateOrUpdateHostNameBindingAsync interface to apply the updated Inner back into the app service

I think the root cause is that the Fluent interface doesn't expect you to supply a certificate from a different resource group. It would be ace to add an WithExistingCertificate(IAppServiceCertificate certificate) overload to the builder that doesn't try to be clever and just passes the certificate along without trying to "re-find" it in the resource group.
Maybe I have the same issue with PowerShell and the error is: New-AzWebAppSSLBinding : Operation returned an invalid status code 'NotFound' .


branch cleanup

@LorenzMeier @bkueng @tumbili
Hey guys, I don't want to distract from development, but one minor annoyance with working on Firmware is the overwhelming number of branches. There are 177 branches in the main repo, then doubled with a personal fork, plus personal branches, etc. It becomes quite difficult to find things. Can we try to clean it up a bit?
Here's a list of branches that can definitely be deleted.
 % git branch -a --merged master
remotes/origin/auto_disarm
remotes/origin/autopilot_capabilities
remotes/origin/config_all_devices
remotes/origin/control_state
remotes/origin/ekf2_in_air
remotes/origin/fw_landing_bugfix
remotes/origin/getopt-cleanup-v2
remotes/origin/i2c_100khz_init
remotes/origin/logging_rate
remotes/origin/mag_robustness
remotes/origin/mavlink_act_ctrl
remotes/origin/mavlink_recv
remotes/origin/no_rc
remotes/origin/nuttx_next_cmake_last
remotes/origin/paramssrcparserpython3
remotes/origin/ram_cleanup
remotes/origin/rc_disabled
remotes/origin/ros_mavlink
remotes/origin/sitl_gazebo_gps
remotes/origin/sitl_stable
remotes/origin/sitl_startup_script
remotes/origin/tracking
remotes/origin/transition_flag_fix
remotes/origin/two_point_curve
remotes/origin/unknown_command
remotes/origin/uorbtinymerge
remotes/origin/vtol_cleanup
remotes/origin/vtol_pwm_out

Here's a list of all the branches by age
https://gist.githubusercontent.com/dagar/261fad9c60f2357bb9ec1ffca795bf2a/raw/76aeae25ea473cb0b4685fe1aeac0af9d2055534/gistfile1.txt
Github stale branches is also helpful.
https://github.com/PX4/Firmware/branches/stale

Good point, I deleted my old branches.

Thanks for the hint - I've also stripped a lot of branches, down to 94 now. @tumbili Would be good if you go through your very old branches as well.

Down to 45. I'm closing this right now and will continue to narrow down PRs.

Much better. I can almost see them all on the same page.
Thanks!


Error extracting title from playlist

paolo@paolo-laptop2013:~/Downloads/vd$ youtube-dl -cit --verbose "https://www.youtube.com/playlist?list=PLhcbKkzlKr51NwvwholqaYBtqrtZtPDaY"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-cit', '--verbose', 'https://www.youtube.com/playlist?list=PLhcbKkzlKr51NwvwholqaYBtqrtZtPDaY']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-48-generic-i686-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:playlist] PLhcbKkzlKr51NwvwholqaYBtqrtZtPDaY: Downloading page #1
WARNING: [youtube:playlist] PLhcbKkzlKr51NwvwholqaYBtqrtZtPDaY: Playlist page is missing OpenGraph title, falling back ...
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1511, in _real_extract
playlist_title = self._og_search_title(page)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 428, in _og_search_title
return self._og_search_property('title', html, **kargs)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 416, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, **kargs)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1517, in _real_extract
r'(.*?)', page, u'title')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 366, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

The command you provide works fine for me. Please update to version 2015.04.03 and try again.

On 04/05/2015 09:26 AM, Yen Chi Hsuan wrote:

The command you provide works fine for me. Please update
https://github.com/rg3/youtube-dl#how-do-i-update-youtube-dl to
version 2015.04.03 and try again.
—
Reply to this email directly or view it on GitHub
https://github.com/rg3/youtube-dl/issues/5360#issuecomment-89730141.

Done. Now it works fine. Thanks a lot


Move all plotting methods to use pandas-flavor

xref.: https://github.com/Zsailer/pandas_flavor

Is this issue solved?

Is this issue solved?

This issue is part of Google Summer of Code 2024. If you are interested you can find more information at https://github.com/ioos/gsoc/issues/43

This is 80% done. Closing it as we will complete before GSoC is over.


After "disable all extensions" and clicking reload, all extensions vanish until Code is restarted

VSCode Version: 1.15.0-insider
OS Version: Windows 10

Steps to Reproduce:

Go to the extensions panel
Disable all extensions from the ... menu
Click one of the "reload" buttons

Extensions are all gone and cannot be re-enabled without restarting VSCode.

@axefrog Can you please see if there are any errors in the console. You can open the development tools using the command Developer: Toggle Development Tools.
Also try starting VS Code with verbose mode from command prompt $code --verbose and see if there is any info


Update to latest Sentry SDKs

When will this package be upgraded to use the 6.x SDKs?

This is currently doubling the size of the included sentry code in our application

Looks like it's a non breaking change. PR incoming!

Saw the PR up to update this. Won't send a PR, but I urge you to merge it ;P

The Sentry v6 SDKs automatically track sessions and we are undecided as to how this should work in the context of an Electron application. If we update to the v6 SDKs without considering sessions, Sentry will begin reporting session information that is highly unlikely to match your expectations.

Update to 6.4.1 is already merged into master and is awaiting on a couple of other things before release.
Sessions are disabled for now.


How to remove search box?

I want to remove search box, any help please..

inputFilterContainerStyle={{ display:'none' }}

@jejeeun  You could use hideInputFilter!! Hope this help you.


Resolve syncing conflicts from repo_sync_working_branch to master

Pull request opened by OPS to resolve syncing conflicts from repo_sync_working_branch to master.

@JiayueHu : Thanks for your contribution! The author, @gloridelmorales, has been notified to review your proposed change.

@openpublishbuild : Thanks for your contribution! The author, @gloridelmorales, has been notified to review your proposed change.

@openpublishbuild : Thanks for your contribution! The author, @kaelli, has been notified to review your proposed change.

@openpublishbuild : Thanks for your contribution! The author, @gloridelmorales, has been notified to review your proposed change.


Remove IQ# install from notebook validation script

This script is used in two scenarios: on a CI build agent, the build jobs run install-iqsharp.ps1 first, so repeating IQ# install is not necessary, and when running locally, the user is likely to have IQ# installed by other means, so reinstalling it causes version conflicts down the road.

@anpaz Could you please take a look at this PR? Your main concern was that the internal E2E build relies on this script installing IQ#, so I ran it for this change here to make sure it passes. And it passes the Katas CI and does not install IQ# locally, so it does what I want.


Account-scoped stacks get environment in their name

If a project has both account- and environment-scoped stacks and environment context variable is given to cdk, account-scoped (created in AccountWrapper) stacks' names change to contain environment too. This should not happen, and it should be possible to deploy both stacks with single command giving both account and environment context variables.

Is it possible to have this fixed? We have a couple of projects whose CDK upgrades are depending on this.


Add device trigger support to the device_tracker integration

Add device trigger support to the device_tracker integration.
Device triggers are part of Device Automations, a new concept that was recently launched to make automations more user friendly.
Device automations consist of three different parts: triggers, triggers and triggers. This issue is about the trigger part.
To get started with this issue, you will need to set up a Home Assistant development environment. The easiest approach is to get started using a dev container.
Once you have a development environment set up, run the following and follow the instructions:
python3 -m script.scaffold device_trigger

(This issue is part of #27008)

I would like to work on this item. How do I determine which triggers are supported for each integration?

In this case you probably want to generate zone triggers, in a similar fashion as how the switch integration generates state triggers: https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/switch/device_trigger.py

Go it, thanks!


Move some ChromaLocation.get_offets logic to its own property, new get_relative_offsets method

Double-check that these return the correct values.
Can't add a shift method because of vskernels circular dep :'(

Imma be real, I don't remember. Probably some kind of ease of use for adding shifts on top of chroma location shifts, but I don't remember what I used this for anymore.


Is short polling intervals a problem?

The default polling interval is 30 seconds in scaledobjects. For low latency scenarios, we could update the default value to something shorter. May this setting cause performance problems at scale? With 30 seconds, we have a loooong cold start…
Thanks in advance for guidance.

I believe polling interval really only impacts the time-to-activation (scaling from 0 to 1) but once scaled to one it's really up to the HPA to poll the custom metrics.  I'm not really sure if polling interval is still at play for publishing custom metrics though.  So I think the considerations for doing a more aggressive polling interval:

If you have lots of ScaledObjects your KEDA controller will be doing lots of work to poll frequently. This may not be a big deal, but is something to remember all those loops.
There may be some resource cost for polling.  For example if using something like Azure Queues there is a small charge when you check the queue length.  More or less negligible but at scale can add up

But for most I expect a shorter polling interval would be expected.
/cc @ahmelsayed @Aarthisk to clarify if polling interval impacts the custom metric aspect with HPA or if HPA has it's own algorithm for how often a scalar will return metrics?

HPA is polling KEDA on its own interval set by the Kubernetes api server.
The polling interval will affect activation/deactivation.

@anirudhgarg not sure how many FAQs you were thinking of adding but this may be good one 😸
#170

Thanks a lot!


improved f-string error reporting (#7442)

Pull request opened by the merge tool on behalf of #7442

Merged into branches iso7 in 08494b498bf220a0736702620cc3ed3f731b8fa5


Small code cleanup and add tests

This PR tries to reduce code duplication in the submit and template create code files.
It does so by factoring out the common code that was to read from a file or a url and adds tests for it.
It also adds a test for the dry-run option of the submit command.

Sure, I will add that.


feat: linux video embedding

All the cases are passing.
Overview
As far as I can see, resource usage is quite minimal. I can play 4K videos easily.
All this rendering is being done using https://github.com/flutter/engine/pull/24916.
Comparison with Windows
One good thing that I've done better on Windows is that it renders video on another thread & only copies already rendered texture to another texture on render thread (for access by Flutter), so Flutter UI doesn't freeze or slow down because we are performing expensive mpv_render_context_render on another thread. On Linux however, all the rendering is being done on render thread (theoretically correct) & I can't find any other way to call mpv_render_context_render & GL friends on another thread (I don't think it's possible). In general, UI is feeling smoother on Windows when one or more videos are playing.
In theory, this is more efficient than Windows (still very-very good & as I said above more "smooth") because there's no ANGLE. AFAIK, render API from libmpv copies frames to CPU internally on Windows (I can't tell how & to what extent, mpv developers know better). Intermediate ANGLE / EGL involvement is the main cause, which causes libmpv to switch to *-copy hwdec on Windows. A direct D3D / swapchain API (https://github.com/mpv-player/mpv/issues/5979) will be even better & 100 % GPU based. In my personal tests however, *-copy hwdecs actually make mpv perform better than non-*-copy hwdecs, so maybe we don't need that.

The API & scaffolding is done. Only implementation is left.
The code is very standard & uses GObject & Glib equivalents. I'm very satisfied. Even though both Windows & Linux implementations are in C++, Windows implementation uses standard C++ (std::) & Win32, while this is GObject based C/C++. This includes both types & memory management e.g. GHashTable/std::unordered_map, g_autoptr/std::unique_ptr etc.

Something finally worked!

Thoughts
As far as I can see, resource usage is quite minimal. Above is a 4K 30 FPS video. Rest, it also depends upon the file codec/format which is being decoded by libmpv. In some cases, a 4K 60 FPS is taking less CPU than 4K 30 FPS.
Flutter itself suffers from ton of issues at the moment which are taking a toll on CPU. A major one: https://github.com/flutter/flutter/issues/88996.
I think this is only X11 specific. I'm also on X11. Wayland will perform better. Still, this is looking good to me in either case.
All this rendering is being done using https://github.com/flutter/engine/pull/24916.

Comparison with Windows
In theory, this is more efficient than Windows (still very-very good). AFAIK, render API from libmpv copies frames to CPU internally on Windows (I can't tell how & to what extent, mpv developers know better). Intermediate ANGLE / EGL involvement is the main cause, which causes libmpv to switch to *-copy hwdec on Windows. A direct D3D / swapchain API (https://github.com/mpv-player/mpv/issues/5979) will be even better & 100 % GPU based. In my personal tests however, *-copy hwdecs actually make mpv perform better than non-*-copy hwdecs, so maybe we don't need that.

Everything is working correctly!!!
I've lost my mind. Something is wrong within Flutter or Skia or the very specific scenario that's taking place.
But the default back button animation in Navigator i.e. ZoomPageTransitionsBuilder throws the UI into deadlock.
I changed it to OpenUpwardsPageTransitionsBuilder as follows & nothing freezes!
    return MaterialApp(
      theme: ThemeData(
        primarySwatch: Colors.blue,
        fontFamily: Platform.isLinux ? 'Inter' : null,
        pageTransitionsTheme: const PageTransitionsTheme(
          builders: {
            TargetPlatform.android: OpenUpwardsPageTransitionsBuilder(),
            TargetPlatform.iOS: OpenUpwardsPageTransitionsBuilder(),
            TargetPlatform.linux: OpenUpwardsPageTransitionsBuilder(),
            TargetPlatform.macOS: OpenUpwardsPageTransitionsBuilder(),
            TargetPlatform.windows: OpenUpwardsPageTransitionsBuilder(),
          },
        ),
      ),
      home: const HomeScreen(),
    );

FYI, you can clone & compile this branch & it will work now.

Added fallback pixel buffer based software rendering, and it's feeling "smoother" than hardware rendering.
It because I'm rendering into pixel buffer on another thread. It's a pity that I can't use OpenGL on other threads (for hardware rendering) like I could do with ANGLE on Windows. Or is there a way?

Added fallback pixel buffer based software rendering, and it's feeling "smoother" than hardware rendering.
It because I'm rendering into pixel buffer on another thread. It's a pity that I can't use OpenGL on other threads (for hardware rendering) like I could do with ANGLE on Windows. Or is there a way?

Okay! I could make rendering work from another thread. Now I can make some more performance improvements & mark this pull-request ready for merge.

MERGE!

BTW, this PR also adds a new API to switch between turn on/off hardware acceleration (on by default).
final controller = await VideoController.create(
  player.handle,
  enableHardwareAcceleration: false,      // default: true
);

I'll make this argument work on Windows with a follow-up PR. You guys really should not change it though. There isn't any real benefit in turning it off. Use hardware acceleration, reduce CPU usage, save battery life & improve performance.

Great job!

Awesome... you are. Thanks. Will test it soon.

Awesome... you are. Thanks. Will test it soon.

Thanks for appreciation!
There are pre-built binaries of the test application as well (scroll down):
https://github.com/alexmercerind/media_kit/actions/runs/4092963785
Just make sure you have libmpv2 package, if you're on Ubuntu or Debian.

Looks good. I am on Fedora 36. I had to install mpv-libs and mpv-libs-devel for the linux test app binary to work. Here are the results.
Screencast from 07-02-23 03:54:43 PM IST.webm
A few stutters, especially in tabbed simultaneous videos. Mine is an intel i5, 6th gen processor, with an nvidia 2gb gt 1030 card. Will do more test runs.

A few stutters, especially in tabbed simultaneous videos.
Mine is an intel i5, 6th gen processor, with an nvidia 2gb gt 1030 card. Will do more test runs.

I have discussed the issue in the PR comment & few individual comments above.
GTK allows usage of OpenGL only on render thread. Since Flutter is also rendered using GL, it gets slowed down because mpv is also rendering on the same thread. AFAIK there's no way around it. Still, I'm not much knowledgeable about GTK & using OpenGL on it.
You will notice substantial less "jitter" when forcing enableHardwareAcceleration: false, because it renders on separate (non-UI) threads (because sharing CPU RAM i.e. pixel buffer can be done across threads without platform / GTK / GL limitations). This comes at the cost of higher CPU usage & lesser battery life.
More details are already mentioned above. I'm welcomed to any improvements, this is my best GTK knowledge.

Was switching to GTK really a good decision? Sometimes I wonder GLFW was better than this.

It's impressive that it can handle 4 players side by side on the UI thread.

Hey @alexmercerind, can you please help me out? I am trying to do something similar with my own custom flutter video capture + render plugin.

I kinda understand the memory inefficiency with using flutter::PixelBufferTexture. However, I don't understand the hardware acceleration part. On Linux desktop, skia will use openGL to render. If my openGL is using intel graphics driver, then it should be using hardware acceleration. Thus, even though using pixel buffer is inefficient with the memory roundtrips, it is still hardware accelerated rendering, correct?
I am super noobie with linux graphics, can you please explain how this pull request achieves the goal? Does flutter/engine#24916 enable external textures, and so you were able to find a way for MPV to output an openGL texture and give that to flutter? Is that the overall gist?

Would really appreciate it as I have been trying to dig around to understand these concepts but just stuck. Thank you!!!

@talksik

flutter:PixelBufferTexture is available on Microsoft Windows, FlPixelBufferTexture is GNU/Linux equivalent.
There are two parts to video playback, decoding & rendering. Although it depends upon the underlying library that you're using (libmpv here), you can assume that decoding will be hardware accelerated even if you use pixel-buffer. The most efficient situation is when both decoding & rendering is hardware-accelerated/GPU-based (without any RAM copy).
You can refer to media_kit's architecture & implementation details in the README, where everything was documented during early stage development. Alternatively, code can itself answer your questions.

It is still hardware accelerated rendering, correct?

Only decoding. You'll still see noticeable CPU usage.
media_kit offers both types of video rendering (with automatic selection or user selection): GL based (H/W) & pixel-buffer (S/W) based. Different methods are used on all platforms to translate/host GL. In future, a direct D3D rendering will be added on Windows, ref: #296.

libmpv provides both GL-based & pixel-buffer-based rendering APIs.

Thank you so much @alexmercerind !!! This is very helpful.
I appreciate you breaking down the difference between decoding and rendering. Since I am doing stuff without mpv, I have a gstreamer pipeline that uses hardware accelerated decoders, but need to figure out how to do hardware accelerated rendering. I am going to ask the folks here here if that is using hardware acceleration, but need to dig in further how to use gstreamer optimally with flutter TextureRegistry for someone who doesn't know openGL that well.


There was an error when I installed Fairseq

When I use
pip install
git+git://github.com:pytorch/fairseq.git@dd106d9534b22e7db859a6b87ffd7780c38341f8
Command, there is a 400 error, maybe the version of the problem，  resulting in unusable

You could try using pip install git+https://github.com/pytorch/fairseq@dd106d9534b22e7db859a6b87ffd7780c38341f8 ?

@JadeCopet
Hello JadeCopet,
this command still not work.
Looking in indexes: https://pypi.mirrors.ustc.edu.cn/simple/
Collecting git+https://github.com/pytorch/fairseq@dd106d9534b22e7db859a6b87ffd7780c38341f8
Cloning https://github.com/pytorch/fairseq (to revision dd106d9534b22e7db859a6b87ffd7780c38341f8) to /tmp/pip-req-build-tg5wfu1a
Running command git clone -q https://github.com/pytorch/fairseq /tmp/pip-req-build-tg5wfu1a
Running command git rev-parse -q --verify 'sha^dd106d9534b22e7db859a6b87ffd7780c38341f8'
Running command git fetch -q https://github.com/pytorch/fairseq dd106d9534b22e7db859a6b87ffd7780c38341f8
Running command git checkout -q dd106d9534b22e7db859a6b87ffd7780c38341f8
Resolved https://github.com/pytorch/fairseq to commit dd106d9534b22e7db859a6b87ffd7780c38341f8
Running command git submodule update --init --recursive -q
fatal: unable to access 'https://github.com/ngoyal2707/Megatron-LM/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.
Fetched in submodule path 'fairseq/model_parallel/megatron', but it did not contain adb23324c222aad0aad89308e70302d996a5eaeb. Direct fetching of that commit failed.

Hi guys,
finally, this link works.
pip install git+https://github.com/pytorch/fairseq.git@dd106d9534b22e7db859a6b87ffd7780c38341f

Considering this as solved. Thanks!


Assignment 1A +++ Assignment 2C

modified for assignment 1a

i guess GitHub wouldn't let me make another separate pull request? added assignment 2c

just finished reading the end of the instructions. of course there's no new pull request haha

Good

Right, everything shows in here, no need for new PR.


How to build?

I tried go build but it doesn't work:
go: cannot find main module, but found vendor/vendor.json in /Users/corneliusromer/code/go-excusegen
        to create a module there, run:
        go mod init

would be great if it was documented in readme.

This is how I got it to work:
go mod init go-excusegen
go get go-excusegen
go mod vendor
go build


Use boto3 from conda and disable pip --upgrade.

The Travis CI failures occur when pip pulls in boto3-1.4.0-py2.py3-none-any.whl.  Using boto3 from conda "fixes" the issue.

@kwmsmith I think this could be a reasonable fix until someone more familiar with boto3 tracks down the boto3 version issues.

N.B. I cannot reproduce this at home either with boto3-1.4.0, so it will remain a CI mystery. :)

@skrah thank you for getting to the bottom of this!


GEOPY-1636: geoapps: merge release/0.12 to develop

GEOPY-1636 - geoapps: merge release/0.12 to develop

redoing with branch on upstream repo. See https://github.com/MiraGeoscience/simpeg-drivers/pull/52


Creating depth/stencil texture does not support MSAA in WebGL.

Try this PG: https://playground.babylonjs.com/#A56TVT#1
Look at the console log: there are some errors because the depth/stencil texture is not created as a MSAA texture.
Note that it is failing only in WebGL, it's ok in WebGPU.

I am pretty sure it has never been supported in our webgl support. Trying to look into what it would take to do so. Do you see it as a regression ? or I would move the issue to a feature request instead ?

I think it can be moved in feature request indeed as it was never supported in WebGL (I looked at the file history of engine.renderTarget.ts to be sure it was not a regression I could have introduced!).

Just wondering when do you need this feature by ?

It's not very important, I'm simply not enabling MSAA in my (upcoming) demo.

Not supported by webgl


GridSearchCV not working with h2o4gpu.RandomForestClassifier()

Please do not use issues to ask questions. For questions use either StackOverflow (h2o4gpu tag) or Gitter.
GitHub issues are used for:

Bug reporting.
Feature/enhancement requests and discussion.

Before submitting a new issue please make sure a similar issue is not already present in the tracker.
Please make sure to fill out the form below as best as you can. This will help both you and us.

Environment (for bugs)

OS platform, distribution and version: Linux Ubuntu 16.04
Installed from (source or binary): binary
Version: h2o4gpu 0.2.0
Python version (optional): 3.6
CUDA/cuDNN version: cuda-9.0
GPU model (optional): Geforce Titan (Maxwell)
CPU model: Intel Xeon
RAM available: 16GB

Description
Error message when I try .fit() method for sklearn.model_selection.GridSearch():
Code to reproduce:
import h2o4gpu
from sklearn.datasets import load_breast_cancer
from sklearn.model_selection import GridSearchCV
dat = load_breast_cancer()
X = dat.data
y = dat.target
clf_gpu = h2o4gpu.RandomForestClassifier()
parameters_rf = {'n_estimators': [100, 200]}
search_gpu = GridSearchCV(estimator=clf_gpu, param_grid=parameters_rf, cv=10)
search_gpu.fit(X,y)

TypeError                                 Traceback (most recent call last)
 in ()
2 parameters_rf = {'n_estimators': [100, 200]}
3 search_gpu = GridSearchCV(estimator=clf_gpu, param_grid=parameters_rf, cv=10)
----> 4 search_gpu.fit(X,y)
~/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/model_selection/_search.py in fit(self, X, y, groups, **fit_params)
623                                      n_candidates * n_splits))
624
--> 625         base_estimator = clone(self.estimator)
626         pre_dispatch = self.pre_dispatch
627
~/anaconda2/envs/py36/lib/python3.6/site-packages/sklearn/base.py in clone(estimator, safe)
58                             % (repr(estimator), type(estimator)))
59     klass = estimator.class
---> 60     new_object_params = estimator.get_params(deep=False)
61     for name, param in six.iteritems(new_object_params):
62         new_object_params[name] = clone(param, safe=False)
TypeError: get_params() got an unexpected keyword argument 'deep'

@Nezafati thanks for submitting the issue! Looks like our RandomForestClassifier isn't implementing fully the http://scikit-learn.org/stable/modules/generated/sklearn.base.BaseEstimator.html interface. Will look into it.
You can try writing a wrapper for the time being, something like (untested):
import h2o4gpu

class RandomForestClassifierWrapper(h2o4gpu.RandomForestClassifier):
    def get_params(self, deep=True):
        return super().get_params()

And try using that wrapper instead.

Hi,
I am suffering from the same issue, using GridSearchCV with h2o4gpu.Ridge().
I wrote the following wrapper to the top of my code:
class RidgeWrapper(h2o4gpu.Ridge):
    def get_params(self,deep=True):
        return super().get_params()

and initialize my model using:
    premodel=Ridge(fit_intercept=False,tol=0.0001)
    model=RidgeWrapper(premodel)

which results with the same error. Can you please help me with a temporary solution for this issue?

I was able to get it to work using the suggested wrapper for random forest like this:
`class RandomForestClassifierWrapper(h2o4gpu.RandomForestClassifier):
def get_params(self, deep=True):
return super().get_params()
rf = RandomForestClassifierWrapper(class_weight=train_proportions)
rf_random = RandomizedSearchCV(estimator = rf, param_distributions = random_grid, n_iter = 100, cv = 3, n_jobs = 1)`


Coordination for extension of the API reference

This issue is used to coordinate the expansion of our API reference. The first reference was created by @kazizi55 in #220 and should be used as a template. You can also use this issue if you encounter problems or have questions.
If you are interested in helping us extend the API reference, please add a comment to this issue with the API you want to take over. I will summarize the current state in the tables below.

Schemas

API
Author
Pull Request
Merged

any

array

bigint

blob

boolean

date

enum_

instance

intersect

literal

map

nan

never

nonNullable

nonNullish

nonOptional

null_

nullable

nullish

number

object

optional

picklist

record

recursive

set

special

string
@kazizi55
#220
✅

symbol

tuple

undefined_

union

unknown

variant

void_

Methods

API
Author
Pull Request
Merged

brand

coerce

fallback

forward

getDefault

getDefaults

getFallback

getFallbacks

is

keyof

merge

omit

parse

partial

pick

required

safeParse

transform

unwrap

Validations

API
Author
Pull Request
Merged

bytes

cuid2

custom

email

emoji

endsWith

excludes

finite

imei

includes

integer

ip

ipv4

ipv6

isoDate

isoDateTime

isoTime

isoTimeSecond

isoTimestamp

isoWeek

length

maxBytes

maxLength

maxSize

maxValue

mimeType

minBytes

minLength

minSize

minValue

multipleOf

notBytes

notLength

notSize

notValue

regex

safeInteger

size

startsWith

ulid

url

uuid

value

Transformations

API
Author
Pull Request
Merged

toCustom

toLowerCase

toMaxValue

toMinValue

toTrimmed

toTrimmedEnd

toTrimmedStart

toUpperCase

Error

API
Author
Pull Request
Merged

flatten

ValiError

Async

API
Author
Pull Request
Merged

anyAsync

arrayAsync

bigintAsync

blobAsync

booleanAsync

coerceAsync

customAsync

dateAsync

enumAsync

fallbackAsync

forwardAsync

getDefaultAsync

getDefaultsAsync

getFallbackAsync

getFallbacksAsync

instanceAsync

intersectAsync

literalAsync

mapAsync

mergeAsync

nanAsync

neverAsync

nonNullableAsync

nonNullishAsync

nonOptionalAsync

nullableAsync

nullishAsync

nullAsync

numberAsync

objectAsync

omitAsync

optionalAsync

parseAsync

partialAsync

pickAsync

picklistAsync

recordAsync

recursiveAsync

requiredAsync

safeParseAsync

setAsync

specialAsync

stringAsync

symbolAsync

toCustomAsync

transformAsync

tupleAsync

undefinedAsync

unionAsync

unknownAsync

variantAsync

voidAsync

@fabian-hiller
Hi! To begin with, I'd like to take over array , number and object! 😄

@fabian-hiller I do not mind beginning on the date, boolean, and symbol! :D

Thank you guys! I updated the tables.

@fabian-hiller please update table for bic, mac, mac48, mac64, and include me.

@fabian-hiller Hi! I'll work on documenting fallback, getFallback, getFallbacks, getDefault, getDefaults, optional, nullish, & nullable, you can update the table 😉

@fabian-hiller
Happy new year 2024! 😄
I'd like to take over is, keyof, merge, and omit!

Happy new new year and thank you! I will update the tables.

Let me give nonNullable a try

I will take the rest of the API reference (except the async APIs) and finish them by the end of the month. You can still help by copying the reference of an already added sync APIs and adding its async reference. Just send here the async APIs you want to work on and I will add your username to the table.

@fabian-hiller Hi! Can I work on documenting booleanAsync, stringAsync & numberAsync? If yes, can you update the table?

Thank you for your help! We are currently rewriting the library in #502. Therefore, I recommend waiting until this PR is merged. Also, some APIs like stringAsync will not exist after the rewrite. See the PR description for more details.

Hi @fabian-hiller ! I also would love to work on documenting minLength and maxLength. Should I also wait until #502 has been merged?

Yes, please wait. I will give an update here in about a month. Thank you!

You can now go ahead if you like and add content to our async API references by copying the content from the sync version.

Hi @fabian-hiller! I would like to work on documenting customAsync, arrayAsync and mapAsync.

@EltonLobo07 I am very grateful for your contributions! Your work is always of great quality! 🙏

@fabian-hiller I would like to work on documenting objectAsync, checkAsync and setAsync next.

Yes, thank you!

@fabian-hiller I would like to work on documenting awaitAsync, fallbackAsync, forwardAsync, getDefaultsAsync, and getFallbacksAsync next.

Go ahead 🙏

@fabian-hiller Hi, I would like to work on documenting tupleAsync.

Yes, thank you!

@mehm8128 feel free to also work on looseTupleAsync, tupleWithRestAsync and strictTupleAsync.

I'll challenge it on another day🙌

@fabian-hiller I would like to work on documenting intersectAsync, lazyAsync, looseObjectAsync, nonNullableAsync, nonNullishAsync, nonOptionalAsync, and strictObjectAsync next.

Thank you!

Hey @fabian-hiller ,
I will take Transformations APIs.

@fabian-hiller, I would like to work on documenting parseAsync, parserAsync, unionAsync and variantAsync next.

Thank you both!

@santoshyadavdev any updates?

@fabian-hiller I would like to work on documenting partialCheckAsync, pipeAsync, safeParseAsync and safeParserAsync next.

Thank you @EltonLobo07!

@fabian-hiller I see some of them are already documented under actions

Yes, unfortunately I stopped updating the table due to time constraints after finishing all the sync API references. Now only a few async references are missing.

no worries i will open another PR

@fabian-hiller I tried to serve the app locally and getting this error, do you know how to fix it

Yes, I think you need to build the library first: cd ./library && pnpm build

@fabian-hiller I would like to work on documenting partialAsync, rawCheckAsync, recordAsync, and requiredAsync. @santoshyadavdev Can you let us know which APIs you are planning on documenting? So that we can eliminate the possibility of documenting the same APIs. Also, here is the updated missing list: nullableAsync, nullishAsync, optionalAsync, rawTransformAsync, transformAsync, and undefinedableAsync.

@EltonLobo07 I started https://github.com/fabian-hiller/valibot/pull/810 documenting
nullableAsync, nullishAsync go ahead wit partialAsync, rawCheckAsync, recordAsync, and requiredAsync I will remove them from my PR


🚧 Port all changes from upstream

This should™:

Fix all build/runtime errors (fixes #30, makes windows properly supported)
Port AbortController from upstream
Add initial work for multithreaded support, afaict its not fully ready yet (#18)
Fix the Dart->JS method channel, again enables freely passing native types between Dart & JS. (method arguments and a return value)

(don't merge yet)

It's really unfortunate that due to the library rename here it's rather unfeasible for this project to rebase from upstream. I look forward to #16 being addressed eventually so this kind of work is no longer needed.


How can I change the script to click the More button on the right side of the chat?

First of all, great script, really good work, thank you so much. I just want to know one thing here.
I think Instagram UI hasn't updated for me so it is selecting the More button of chats on the left side where there is no unsend option. Can you help me understand how can I change it so it will select the More button of the messages on the right?
As for screenshot idk how to include that because it happens really quickly and it can be understood what's happening by looking at it. I did notice aria button should be on both sides and the function is my message was made to check for that. But I don't see the modal popping up on the right side for me sadly.

Made a screenshot

It should click all more buttons to check for the presence of a "Unsend" menu item, it does not matter if the message is located on the right or on the left.
Could you tell me what is working and what is not and also include your browser console logs, the version of the script you are using, your browser and its version.
I made a wiki on how to do export browser logs.

Alright so, basically it is not deleting the messages. Sorry for the late reply.
console-export-2024-2-28_12-14-34.txt
I have attached the logs file too. IT is not opening and deleting the messages and as said before only the more button of the left side messages if pressed for some reason. and it doesn't delete messages first time. Also I think another thing that happens is that once I stop and then start running the script without refreshing, it basically just deletes some messages but that is really slow so I am not sure what is going on there.

I am facing the same issue with @gitgud5

Me too @gitgud5

A new version (v0.5.19) has been released.


Is there a GitHub repo based on this one that works?

I tried running this repository, but it keeps throwing random errors one after another, which is frustrating. Is there a working GitHub repo based on this one?

The only maintained fork I found that implemented cool fixes and improvements:
https://github.com/drudilorenzo/generative_agents


logger.rec_param when dealing varchar2 over 4000

I had this function:
function get_select_list_html (
      p_query in varchar2
    ) return varchar2;

which passes a varchar2 of 32767. Then I had the usual
logger.append_param(l_params, 'p_query', p_query);

Only to realize that Logger was crashing because of logger.rec_param
type rec_param is record(
    name varchar2(255),
    val varchar2(4000));

Maybe we could increase rec_param.val to be varchar2(32767)?

Agreed.

Provided no performance issues we'll go ahead with it. I just need to write a test case to compare.

Since the column will be added to the CLOB, I don't expect any performance issues. Running with extended varchar2 size for a while on development with no performance issues found.

Test case:
declare
  l_text varchar2(4000) := :p_lorem_ipsum;
  l_params logger.tab_param;
  l_scope logger_logs.scope%type := 'test';
  l_params_empty logger.tab_param;
  c_loops constant number := 10;
begin

  -- Results
  -- 10000 = 44.943 w. vc2 4000
  -- 10000 = 43.028 w. vc2 32767
  for i in 1..c_loops loop
    logger.append_param(l_params, 'l_text', l_text);

    logger.log('START', l_scope, null, l_params);

    -- Reset l_params
    l_params := l_params_empty;
  end loop;

end;
/

No noticable difference. Will include the val varchar2(val)) to val varchar2(32767))


Fixed a bunch of duradmin UI bugs for 3.2.5

Fixed image path issue in css in dashboard-manager.jsp.
Added missing jquery-ui images for jquery-ui.css.
Added missing Storage Provider names in jquery.dc.common.js.
Fixed display issue with dashboard-manager.js on mouseover text for file count bar graph.

Closing. Need to merge develop into our branch before doing the PR so that it'll pass Travis tests.


Adding Dark Mode and Header

I can create a Dark mode and header for stopwatch.

don't forget to add screen shot  on pr :)
and add issue number to pr


Error decoding Draco GlTF model

I encountered an issue while trying to decode a droco glTF model in my project.
It works fine in engine version v1.62.2, but starting from v1.63.0, the model appears broken.
I receive the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'x') at Mesh._initBoneAabbs (mesh.js:355:30)

I have tested other models with skin mesh, and only this Dinosaur model seems to break.
However, I am uncertain if other models might also experience similar issues.
Steps to Reproduce

I have provided an editor project froked from Draco example and the Dinosaur model asset included.
https://playcanvas.com/project/1078977/overview/draco-test
Downgrading to v1.62.2 let the model works as expected.

Thank you!

Hi @YUNI0107, we saw this one coming! :D https://github.com/playcanvas/engine/pull/5346

I confirmed it works with the engine path we're just releasing:
https://launch.playcanvas.com/1752817?debug=true&use_local_engine=https://code.playcanvas.com/playcanvas-preview.dbg.js

Wow, thank you so much :heart_eyes:


Fix importing module remote using version filters and added tests

added tests for remote import-module
fixed issue with remotely importing module where it was checking the version filter incorrectly against the proxy module

the filters are applied when importing the module remotely
after proxy module is generated it always has a module version of 1.0, so the filters will always fail when importing the proxy locally

Fix https://github.com/PowerShell/PowerShell/issues/4161

@PaulHigin feedback addressed

@SteveL-MSFT Can you run git submodule update? The PR has changs to Pester files.

@daxian-dbw Fixed.

@SteveL-MSFT there are 2 test failures in AppVeyor run. Maybe they are not related to your changes but can you please take a look?

Oh, and it seems the line 3200 and 3201 are rendered as red incorrectly :)
Describing Validate Invoke-WebRequest and Invoke-RestMethod -InFile
   Context InFile parameter negative tests

@daxian-dbw webcmdlets are failing on two tests and it's affecting two of my PRs, trying a rebase to see if changes in master fixed something

@SteveL-MSFT I don't think those 2 failing tests are related to changes in this PR. I will merge it.


*: lock syn version

enum_dispatch is broken with latest syn release 1.0.58. To make our crate compile, we should make cargo resolver to use syn of 1.0.57 until enum_dispatch upgrades.
https://gitlab.com/antonok/enum_dispatch/-/issues/37
Signed-off-by: Alex Chi<EMAIL_ADDRESS>

A recent enum_dispatch upgrade has solved this issue.

A recent enum_dispatch upgrade has solved this issue.


(ecp command) Hopefully fixed querying in a course room.

Added a check for robot.adapter.client for people testing. Cleaned some stuff up.

PTAL @TRManderson :)