Maven dependencies are downloaded with wrong classifier

This might be maven knowledge problem, but maybe not.
from my pom.xml
<properties>
	<maven.compiler.source>1.8</maven.compiler.source>
	<maven.compiler.target>1.8</maven.compiler.target>
	<sfm.version>7.0.3</sfm.version>
</properties>
<dependencyManagement>
	<dependencies>
		<dependency>
			<groupId>org.simpleflatmapper</groupId>
			<artifactId>sfm-csv</artifactId>
			<version>${sfm.version}</version>
		</dependency>
	</dependencies>
</dependencyManagement>
<dependencies>
	<dependency>
		<groupId>org.simpleflatmapper</groupId>
		<artifactId>sfm-csv</artifactId>
	</dependency>
</dependencies>

Maven version 3.6.1.
During run time I get error:
java.lang.UnsupportedClassVersionError: org/simpleflatmapper/util/Enumerable has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
As one can see from image dependencies has wrong classifier:

Is this problem on my end?

is that in intellij ?

is check https://github.com/arnaudroger/SimpleFlatMapper/issues/673
the classifier is set by the profile that depends on the version of the vm that run maven - I tried to find a better way, but did find any that would work once build, and I'm very open to have a better way of doing that :) -, and intellij as a different vm setting for the maven importer than the project vm...
I'm planning to had some documentation for that ...

Yes, this is IntelliJ Idea. Fix for me os to change JDK for Importer to be java version 1.8

Can you explain me, please, why having there Java 11 downloaded classifier jdk9? Thank you for enlightening me.

well currently the classifier is selected via the profile, jdk9 as the module-info and is used for every java version > 9. the java 8 version without a classifier would work too.
I did not find any other way to select the right classifier than using profile on runtime vm. I've experimenting to see if you get it to propagate the classifier from the top dependency to the decending one but did not find a way with maven ... I'm open to suggestion .

that should be fixed in 8
https://simpleflatmapper.org/2019/09/01/v8.0.0.html
I changed the build and I don't use the classifier anymore, instead it generate different artifactId for each jre version


Create React Native Elements Website

@dabit3 great components. Not sure if you are looking for any help on the website. Let me know if i can contribute.

@nak1b Hey thanks so much! Yes, I would absolutely love some help with this! I'm thinking of a main page with an overview with some type of side bar to link to each specific component! I'm also open to ideas if you have any examples of sites with good docs you like :) Thanks!

@dabit3 i like vuejs api guide.  The sidebar is not very visually appealing but we can work on that. But there docs are easily readable. Also lodash has great documentation.
Do you have any other sites in mind?

@nak1b Totally feeling the Vue.js website for sure! What do you think would be the best first steps here? I already have the domain, reactnativeelements.com ..

@dabit3 i guess if you could create repo for the project and base structure we can start working on it from there.

Cool. Just set up a repo for the site at https://github.com/dabit3/react-native-elements-website and will get to working on a base for us to begin adding to! @nak1b Thanks again for helping out with this, hopefully once we get going some others will join as well :)

cool let me know when the base is ready.

@dabit3 I would also like to be a part of this. Let me know if I can contribute.

@nak1b @sahilthakral23 Thanks so much. I'm in the process of building out the basic home page and an example of what I think would look pretty good as a way to represent the api. Once I'm finished with the basic layout I would love some feedback about how to improve the look and design and once we come to an agreement we can go forward with adding the elements to the menu!

Any news about the website?

@dabit3 @Monte9 I can take this up and come up with a website. Let me know.

@bozzmob I haven't been a part of this project but from the discussion above, it looks like Nader was thinking something along the lines of the vue.js website.
If you wanna get started with it, I am sure @nak1b @sahilthakral23 @benjaminb10 would like to pitch in as well.

@bozzmob Yes you're welcome to get something started with something if you have the chance! @Monte9 and myself can answer any questions, and if @nak1b @sahilthakral23 and @benjaminb10 may still be interested then once you have a blueprint / basic prototype up you can probably get some contributions.

@dabit3 Awesome! I'll come up with a basic blueprint soon 👍
And, this is one of the best set of RN-elements/UI I have used or found. Well done guys for maintaining it and developing it.

@bozzmob Awesome! Glad you like using it, it's been a pleasure to work on.

@bozzmob any updates?

@Monte9 I am very sorry for the delay. I was down with health issues. Now back.
You can have a preview of the website here- https://bozzmob.github.io/react-native-elements
I am cleaning up the code/md. Will send a pull request by today EOD.

@bozzmob @Monte9 Looking really nice!

@dabit3 I am unable to create a pull request. The branch is 'gh-pages' which doesn't exist in the main repo but exists on my fork. Please can you add me as a collaborator to this project, so that I can easily setup the website?

@bozzmob Hope you are feeling better now. The website looks amazing! GJ!
Is it possible for you to create a simple ToDo List for things that are still needed to be done before it goes live? There are a few folks here that are willing to help out if needed.

@Monte9 Yes. I'm feeling better now. Thanks.
Happy to know the website looks good.
Yes I'll add a README on how to edit it, run it locally, build it and publish it.
Also will add To Do list.

@dabit3 It would be easy to test on gh-pages branch for me without affecting the flow of the master. Would like to deploy the site and then make changes as we need. Please can you add me as collaborator?

@bozzmob sure thing, I'll add you right away!

@dabit3 I have merged the code. Need to add README and enhance few things still. But, you need to enable pages in github repo settings. I don't have access to it, since I'm not a member I guess. Please can you do it? Point the github pages to 'gh-pages' branch.

@bozzmob I believe I has access to the settings. I can take care of this for you today. Will ping you once it's done.

@Monte9 sure. let me know.

@bozzmob Can you share your email with me so that I can reach out to you? Thanks.

satvik [dot] jagannath7 [at] gmail.com

In an effort to streamline all RNE issues such that it is easier to get to solutions faster/ submit a new issue we have decided to close any enhancement/roadmap features as "issues".
Feel free to use this issue to talk about this feature and ping @binoy14 or me (@monte9) if you feel like you can submit a PR for this. Thanks in advance.
Also you can track the status of this feature and all other roadmap features here.

Why not use these components on the website?
It would be just self explaining! And cool!
So you can start with web compatibility.

@camillo777 It could be nice but would require lot of effort for setting it up. Maybe could be something we can look at in the next version of the site.

i can help with this too, i have some backend knowledge also if needed, ping me for any help.

@yeknava thanks for offering. We are using MKDocs to generate the website using the Readme.md
It's already live. You can check it out here: https://react-native-training.github.io/react-native-elements/
With that being said, I am curious to know what you think about it? If you could refactor it to make it friendlier & easier to read for beginners, how would you do it?

@Monte9 its fine for this version, for UX reasons i think API menu should be open by default and by scrolling i like to see left menu change its active item, also if site uses full of screen in width it will be better in my eyes.
later we can use react native web to let user work with components on doc.

Also home page is too long.
Should be split into different pages like it is when clicking on the Api
menu items.
Camillo
Il 03 Apr 2017 9:36 PM, "yeknava"<EMAIL_ADDRESS>ha scritto:

@Monte9 https://github.com/Monte9 its fine for this version, for UX
reasons i think API menu should be open by default and by scrolling i like
to see left menu change its active item, also if site uses full of screen
in width it will be better in my eyes.
later we can use react native web to let user work with components on doc.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-native-training/react-native-elements/issues/43#issuecomment-291250017,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEk3-It0cjBgYbxFFL6i1th5UwKJNyrqks5rsUoogaJpZM4KD9h2
.

@camillo777 yes your right, our plan is once release is merge we will change the home page to be more website friendly

@camillo777 @yeknava That's great feedback! Thanks.
Do you both wanna help us make the website awesome 💯 ?

Yes sure, I would be pleased to help!
Camillo

Awesome @camillo777.
I'll put together a list of "good first task" TODO list for the website. Will add it here once I do so.

Hi. I have uploaded a video of mobile rendering on Android it seems there is some layer missing on the menu header; it should not scroll the background :
https://youtu.be/Sbt0JC2GJVo
And I would advice that, on mobile,  tapping out of the menu would automatically close the menu without have to click on the arrow.
With big screen phone it is annoying to go from right edge to left edge of the phone.

@camillo777 great catch but I think it truly belongs to be reported here https://github.com/squidfunk/mkdocs-material we are using mkdocs material theme. We did not customize it yet

@Monte9 sure

yes, but I do not know what version you are using
2017-04-04 12:20 GMT+02:00 yeknava<EMAIL_ADDRESS>
@Monte9 https://github.com/Monte9 sure
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-native-training/react-native-elements/issues/43#issuecomment-291457878,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEk3-LT-3z8rjqik3mNH_vcuzwdjF3pdks5rshl3gaJpZM4KD9h2
.

Take a look at v0.11.0 that has all the latest code. Once you clone it locally and install all the requirements.
pip install mkdocs mkdocs-material pymdown-extensions
You can run it locally using mkdocs serve feel free to make any PRs to v0.11.0 branch

@camillo777 @yeknava This is prob a good place to start:

Refactor readme to link directly to the docs and get rid of all the API stuff from the readme.
Updating docs folder with latest readme changes
UI polish
Other enchantments?

I have got an answer for the mkdocs-material theme:
"As written, sadly the scroll-through is not fixable. However, I provided a fix for the unresponsive overlay which was fixed with #264 and is now in master. Can you test it? I can only test on the Android emulator and it may not be accurate enough."
And There should be a new release fixing some layer stuff:
"Fixed and released in 1.5.4"


Combining form with mobx

@MnMansour Can you resolve the conflict ? If the conflict is too much to resolve, create new branch from develop, and cherry-pick your needed commit

Close redo PR


What do ModulatedDeformConvPack means?

When testing images with model include DCNv2 , following message is shown. What does those INFO means? The inference results seems OK.
2022-02-14 09:34:08,664 - root - INFO - ModulatedDeformConvPack backbone.layer2.0.conv2 is upgraded to version 2.
2022-02-14 09:34:08,681 - root - INFO - ModulatedDeformConvPack backbone.layer2.1.conv2 is upgraded to version 2.
2022-02-14 09:34:08,685 - root - INFO - ModulatedDeformConvPack backbone.layer2.2.conv2 is upgraded to version 2.
2022-02-14 09:34:08,688 - root - INFO - ModulatedDeformConvPack backbone.layer2.3.conv2 is upgraded to version 2.
2022-02-14 09:34:08,694 - root - INFO - ModulatedDeformConvPack backbone.layer3.0.conv2 is upgraded to version 2.
2022-02-14 09:34:08,715 - root - INFO - ModulatedDeformConvPack backbone.layer3.1.conv2 is upgraded to version 2.
2022-02-14 09:34:08,736 - root - INFO - ModulatedDeformConvPack backbone.layer3.2.conv2 is upgraded to version 2.
2022-02-14 09:34:08,758 - root - INFO - ModulatedDeformConvPack backbone.layer3.3.conv2 is upgraded to version 2.
2022-02-14 09:34:08,779 - root - INFO - ModulatedDeformConvPack backbone.layer3.4.conv2 is upgraded to version 2.
2022-02-14 09:34:08,793 - root - INFO - ModulatedDeformConvPack backbone.layer3.5.conv2 is upgraded to version 2.
2022-02-14 09:34:08,809 - root - INFO - ModulatedDeformConvPack backbone.layer4.0.conv2 is upgraded to version 2.
2022-02-14 09:34:08,847 - root - INFO - ModulatedDeformConvPack backbone.layer4.1.conv2 is upgraded to version 2.
2022-02-14 09:34:08,870 - root - INFO - ModulatedDeformConvPack backbone.layer4.2.conv2 is upgraded to version 2.
2022-02-14 09:34:08,954 - root - INFO - ModulatedDeformConvPack bbox_head.cls_convs.2.conv is upgraded to version 2.
2022-02-14 09:34:08,966 - root - INFO - ModulatedDeformConvPack bbox_head.reg_convs.2.conv is upgraded to version 2.

Another question: (1) when I train vfnet_r101_fpn_mdconv_c3-c5_mstrain_2x_coco from scratch, everything is OK. (2) But when I resume from a pth in(1), it shows CUDA out of memory.

It means modulated deformable conv layer that packs its conv offset layers and conv layer (DCN v2). Could you post your log that shows CUDA OOM?


Jsonnet locking

This pull request introduces all the changes necessary to properly lock against jsonnet dependencies with jsonnet-bundler. It also locks the prometheus-operator dependency against v0.22.2 in kube-prometheus.
The pull request to implement this in jsonnet-bundler is still pending, but will be merged should CI succeed here. Then I will revert the second commit of this pull request.
@mxinden @squat @metalmatze

CI succeeded here, I will merge the other pull request, and revert using the separate branch here.


feat: add --logs command to rivet actor create

Fixes RVT-4185
Fixes RVT-4182

#584  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Don't call validateSNIServerName when TLS hostname verification is disabled

I noticed that validateSNIServerName is called even when the TLS configuration explicitly disables hostname validation with certificateVerification set to .noHostnameVerification. I'm not too familiar with this library but this seems like a bug to me?
This pr adds a check to NIOSSLClientHandler.swift and UniversalBootstrapSupport.swift to skip validateSNIServerName() if the TLS context has certificateVerification set to .noHostnameVerification. It also adds a test case which fails without this check and now passes.
Hope this change makes sense! Please let me know if there is anything I've missed or can improve.

Thanks for the explanation! That makes total sense.
It seems that the bug is in the higher level library that I'm using: https://github.com/vapor/websocket-kit/blob/main/Sources/WebSocketKit/WebSocketClient.swift#L100
I suppose the proper fix would be to check there if the host is an IP address and if so, pass nil as serverHostname.

Yup, that would work. Alternatively, the wrapper library could catch those specific errors and re-create the handler without the SNI, as the errors are localised and only thrown from there.

I think you need a longer catch clause: NIOSSLExtraError isn't an enum and so you can't catch it using that nice shorthand syntax. You'll need something like:
catch let error as NIOSSLExtraError, error == .cannotUseIPAddressInSNI

Got it working with
catch let error as NIOSSLExtraError where error == .cannotUseIPAddressInSNI

Thanks so much for all the help!

Hi, what is the alternative when I need to use literal IP host name, because will make connection/handshake with an IoT device, that have this IP, but not server name?
There any alternative to this error using this library or overwrite some method or parameter?
Thanks
Snippet of the code:
`
//...
// The server's hostname and port.
let _hostname = "(NUMBER IP)"
let _port = (NUMBER PORT)
var _certbundlePath = ""
var _keybundlePath = ""
//...
        // Create an NIOSSLContext from the TLSConfiguration.
        let sslContext = try NIOSSLContext(configuration: tlsConfiguration)

        // Initialize the Bootstrap with NIOSSL.
        let bootstrap = ClientBootstrap(group: _group)
            .channelOption(ChannelOptions.socket(SocketOptionLevel(SOL_SOCKET), SO_REUSEADDR), value: 1)
            .channelInitializer { channel in
                // Add the NIOSSLHandler to the pipeline.
                do {
                    let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: _hostname)
                    return channel.pipeline.addHandler(sslHandler).flatMap {
                        // Add your custom application handler to the pipeline.
                        // This handler will handle your application's logic.
                        do {
                            let customHandler = try CustomHandler(serverHostname: _hostname)
                            channel.pipeline.addHandler(customHandler)
                        } catch {
                            print("Error: \(error)")
                            return channel.close()
                        }
                        return channel.close()
                    }
                } catch {
                    print("Error: \(error)")
                }
                return channel.close()
            }

        // Connect to the server.
        let channel = try bootstrap.connect(host: _hostname, port: _port).wait()

//...
`
Out on Terminal:
Error: NIOSSLExtraError.cannotUseIPAddressInSNI: IP addresses cannot validly be used for Server Name Indication, got (NUMBER IP)

Set the hostname to nil. NIOSSL automatically checks for the IP address in the SAN field, so long as that field has type iPAddress.

Thanks @Lukasa , but I have a IP, example let _hostname = "<IP_ADDRESS>" and let _port = 1080. When do you suggest that I put the value to nil ?
You can write me an example or edit part of my snippet to visualize your suggestion?

Change:
let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: _hostname)

To
let sslHandler = try NIOSSLClientHandler(context: sslContext, serverHostname: nil)


CSV module includes encoding/csv twice

Gitea version (or commit ref): 4b6370c46d8d75a163e271b3636e48791d4cc641 (main)

Description
No need to import encoding/csv twice:
https://github.com/go-gitea/gitea/blob/4b6370c46d8d75a163e271b3636e48791d4cc641/modules/csv/csv.go#L9
Use stdcsv here and below:
https://github.com/go-gitea/gitea/blob/4b6370c46d8d75a163e271b3636e48791d4cc641/modules/csv/csv.go#L100

Good catch


Player casting iota rendering magic (unfinished im so sorry)

Will keep this open until I can take a look at it and finish it

I believe this was covered by #508 so I'll close it here.


Copying text from the Output panel copies invisible characters too

VSCode Version: Version 1.26.0 (1.26.0)
OS Version: 10.13.5 (17F77)

Steps to Reproduce:

Have some output in the Output panel.
Copy it, including the end of the line.
The copied text, when pasted in VSC, will have invisible chars at the end of the line. You can test this by deleting the invisible chars. There are about 3 at the end of each line.

These chars should be stripped when copying the text. According to this site, the invisible chars are U+200B.

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

May I know from which channel in Output panel are you copying?

Yes, I'm using Quokka. I was using it on an untitled file, typed some code, outputted a large array to the console, so that I could copy the result from the Output panel.
I pasted the result into a JS file, and encountered a ton of errors, since it was confused with the hidden chars.

@garyking Quokka extension contributes data to this output channel and it is also adding these invisible characters. Hence they are copied.
Please file an issue against Quokka extension.


Relax Pydantic Version Dependency

Is your feature request related to a problem? Please describe.
Current version dependency for Pydantic is very strict: pydantic==2.6.0. This is causing incompatibility with other packages using pydantic. Other packages in the requirements also have strict dependencies too.
Describe the solution you'd like
Relax the pydantic version dependency (e.g. pydantic~=2.6) to improve compatibility with other packages. Potentially relax dependencies of other package versions.

@GBBBAS thanks for addressing this. however, I think the new dependency versioning is causing issues though because the versions have been defined without an upper bound, so major package version upgrades are being installed.
This has caused an issue where langchain 2.0 is being installed now (rather than 1.*), which does not install the langchain-community package automatically. This is causing an error when using the DatabricksSQLConnection:


screen vertical splitting patch?

Automatically providing this functionality would be super handy
http://old.evanmeagher.net/2010/12/patching-screen-with-vertical-split-in-os

We'd probably pass on a patch in this case, and ask that it be submitted upstream to the screen maintainers instead. Homebrew patches are mostly for working around build system problems, and not for porting functionality to OS X. It'd be better if the OS X support for this could be fixed in the main screen distribution.

Got it. It just seemed like this fix has stalled for main screen distribution for quite some time. But point taken.


BasicEntityPersister::count() return type contract violation in 2.5.x branch

There is a return type contract violation in stable 2.5.x branch for count() method in BasicEntityPersister class: string returned instead of integer
https://github.com/doctrine/doctrine2/blob/e1b851f2e93a4afd82fb7e7f32c6f114d0ea7b71/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php#L811-L824
causing incorrect behavior in case like:
/** @var $coll Doctrine\ORM\LazyCriteriaCollection */
if ($coll->count() === 0) {
  // unreachable code
}

it seems to be fixed as a collateral change in master and needs to be backported somehow:
https://github.com/doctrine/doctrine2/commit/a90035e81af2e9a424c0268a36101c3483e06571#diff-25f5292f65d5536bb733559f15e0d37fR825

Handled via #6818


Prevent map zoomout/move on layer click/popup

I have this simple code. When I zoom in and drag a map and then click on the poly to get the popup the popup apers but the map zooms out and move center to the initial values. How to disable this?
Should I update the state values? But what if I don't want to center the map on the popup?
Thanks.
constructor(props) {
    super(props);
    this.state = {
      fitBounds: undefined,
      center: [0,0],
      zoom: [3],
      popup: undefined
    };
  }

 popupClick(data,map){
     this.setState({
      popup: {
        id: data.id,
        coord:  [ map.lngLat.lng, map.lngLat.lat],
      },
      // zoom: [map.map.getZoom()],
      // center: map.map.getCenter()
    });

  };

  render() {

      return (

        <Map style="mapbox://styles/mapbox/light-v9"
            center = {[0,0]}
            zoom = {[3]}
            containerStyle={{height: "100vh",width: "100vw"}}>

            <Layer type="fill" id="somePolyName"  paint={{ 'fill-color': "red",'fill-outline-color': "blue", 'fill-opacity':0.4 }}>
              {
                DATA.map((p, key) => <Feature coordinates={[p]} key={key}
                  onMouseEnter={this.onToggleHover.bind(this, 'pointer')}
                  onMouseLeave={this.onToggleHover.bind(this, '')}
                  onClick={this.popupClick.bind(this, { id: key, text: "some text"})}
                  />)
              }
            </Layer>

            {this.state.popup && (
              <Popup key={1} coordinates={this.state.popup.coord}>
                  <div>{this.state.popup.id}</div>
              </Popup>
            )}
        </Map>
      );

    }

When you click the popup, another render of your component is triggered. Since you create the centre and zoom arrays in the render method, they have a new reference each render. Because the map will update its zoom/centre via props only for new references, the map detects new references and sets its zoom/centre to the values contained in the array.
If you want to set only the initial zoom/centre of the map, store the zoom and centre arrays as constants outside of the render method, and pass the arrays as props to the map. This way, the map will detect no change of reference of the props on subsequent renders and not change its zoom/centre according to the zoom/centre props.

I am getting the same issue, is anyone found the solution for this issue?

i also have same issue


Make new ChakraHost a generic extension point for platform hosting

A separate issue to follow on my comment on #5880

How about making this useful for other non-Chakra scenarios?
You could make your actual Chakra host to export ts.sys directly instead of ChakraHost. Then have this code here at line 66 instead of the whole Chakra handling:
if (ts.sys) return ts.sys;

The benefit is that a whole host of other platform-hosting scenarios become easily possible:

emulated environment in browser
Rhino
Nashorn
nginxScript
ActionScript/Flash
JScript.NET
Jint
IronJS
Jurassic

Also note that @DanielRosenwasser commented on the original PR:

Should this be called NativeHost? It's not unreasonable to expect another host that exposes the same functionality.

And @yuit replied:

@DanielRosenwasser is that what interface System for ?

So that is exactly my suggestion: use System interface and ts.sys variable as an extension point for interested parties to implement a host for the whole tsc.js compiler.
Currently the way to run tsc.js on an 'exotic' host you need to emulate WScript or node, or now also ChakraHost with this latest feature. But only node emulation gives fully-functional host, with the main downside is lack of watchFile/watchDirectory in both WScript and ChakraHost. And node emulation is actually a bit of a pain, particularly with the need to implement Buffer at least partially, as getNodeSystem in fact relies on it for BOF detection and whatnot.
When I need to run tsc from within an embedded/emulated/hosted environment, I am up for pain dealing with peculiarities of WScript or node semantics — even as I might not be using neither.
TypeScript has a lot of potential in enterprise, as a loose analog of VBA for user-authored scripting. And that often means compiling on-demand in embedded scenarios.
If you make ts.sys and System interface a proper extension point, it would help a lot.

Just to make it clear how the code would look:
/src/compiler/sys.ts at line 65:
    export var sys: System = (function () {
      if (ts.sys) return ts.sys; // use host-provided implementation if available

So the host can do something like:
// pseudo-code
  ExpandoObject tsNamespace = new ExpandoObject();
  tsNamespace.setProperty('sys', myNativePlatformAbstractionImplementation);
  jsContext.GlobalObject.setProperty('ts', tsNamespace);

Whatever is the way to inject objects into the global scope, the host will inject ts, add sys onto it and let the tsc get on with it.

TypeScript currently already exposes a few extensibility points: CompilerHost and LanguageServiceHost for anyone who wants to embed TypeScript in their applications and customize interactions with the host environment. sys is an implementation detail for the default version of CompilerHost that is used by the batch compiler. We've already cleaned up most of the source code from direct usage of sys in favor of recommended *Host interfaces and I think that introducing another extensibility point without compelling reason will not yield anything but confusion

@mihailik are you working on supporting any of these engines at the moment? i would not be opposed to adding a new name to check when initializing System. i would not call it ts.sys, NativeHost or something more unique TypeScriptNativeHost maybe.

@mhegazy yep, I am hosting typescript in low-end browsers almost since it was made public:
Debugging TypeScript in browser - see IE6, Blackberry screenshot from November 2012:

That was a toy research which now turned into a project I am planning to ship properly next year: a portable environment for running code across wide variety of platforms. Typescript helps a lot, although not without its minor pains.
I've experimented with other exotic hosts, some of them having serious problems (like keyword collisions) and others just need a bit of emulation layer.
I have been picking ES3 incompatibilites in tsc/typescriptServices and submitting PRs, you might have seen those. I indeed care about hosting.

I have been picking ES3 incompatibilites in tsc/typescriptServices and submitting PRs, you might have seen those. I indeed care about hosting.

I definitely have seen these. thanks for the contributions

I've experimented with other exotic hosts, some of them having serious problems (like keyword collisions) and others just need a bit of emulation layer.

Do you run the command line compiler directly, or there are other uses? can you use the typescript API and provide an implementation for the compilerHost instead?

Previously, like on that 2012 screenshot I did run tsc.js as-is, or recompiled with sourcemaps (emulating WScript or node at some points).
Currently I am running typescriptServices.js and thus my extension point is ILanguageServiceHost. Its IDE services are brilliant, but for a simple build function it takes a bit of extra effort, in both passing the inputs as well as deciphering the outputs. I'd much rather had the

The assumption that tsc.js/tsserver.js will only run on node and tsc.exe (chakrahost). these are the two scenarios we test. others one can get broken easily, you probably know this first hand with the ES3 fixes. for that i would recommend not relying on System, but using the CompilerHost/LanguageServiceHost, which has a better testing support in other tools already.
If you chose to use tsc.js, implementing ChakraHost should do the trick. we can rename it if that makes it more engine agnostic, but that is just ascetics.

I've seen several teams (some of them my former colleagues), and heard of others who want to express business logic in JavaScript. They say JavaScript, but what they really want is better, safer JavaScript. We all know what that means ;-)
Such use cases need an easy embedding API, not one full of compilation/IDE 'hairy' details: resolution, parsing/preparsing/SourceFile business, extracting various types of errors through different calls.
Here's a specific and very real use case. You have a complex financial instrument as an object graph in no-SQL db, and its custom business logic stored next to it as *.ts.
When such 'instrument' needs to be activated and used, you load *.ts, build it in a simple predictable way and marry to the data from the graph.
System is ideal, ChakraHost is almost as good, except for:

missing watchFile/watchDirectory
CRLF assumption, potentially screwing up debugging/sourcemaps on Unix

ChakraHost name is not a concern, but accomodating for these functional features would be brilliant!
Huge thanks for looking into this, by the way. I immensely appreciate your openness and good will!

System is ideal, ChakraHost is almost as good, except for:

if needed, these two issues should be fixed with one line change each, and should not cause any breaks in other places of the system.

ChakraHost name is not a concern, but accommodating for these functional features would be brilliant!

I think you can get these scenarios working with small changes; we would love to accept PRs to clean up any of these.


docs: create page: docs/docs-layout.

Also updated README.md to include docs layout as a Feature.

@razonyang Please let me know if there are any changes needed. Feel free to edit everything in this pull request as necessary. And thank you once again for adding the docs layout. You managed to do create something like https://www.docsy.dev by yourself, in just a few days. That is amazing!! :-)

Thanks for your contributions!


ABNORMAL_TERMINATION: station_5:station_5_backend

23. fXmlRpc\Exception\FaultException
…/vendor/lstrojny/fxmlrpc/src/fXmlRpc/Exception/FaultException.php:32

>$exception = new static(isset($response['faultString']) ? $response['faultString'] : 'Unknown');

22. fXmlRpc\Exception\FaultException fault
…/vendor/lstrojny/fxmlrpc/src/fXmlRpc/Parser/XmlReaderParser.php:373

>throw FaultException::fault($result);

21. fXmlRpc\Parser\XmlReaderParser parse
…/vendor/lstrojny/fxmlrpc/src/fXmlRpc/Client.php:156

>return $this->parser->parse($response);

20. fXmlRpc\Client call
…/vendor/supervisorphp/supervisor/src/Connector/XmlRpc.php:45

>return $this->client->call($namespace.'.'.$method, $arguments);

19. Supervisor\Connector\XmlRpc call
…/vendor/supervisorphp/supervisor/src/Supervisor.php:110

>return $this->connector->call('supervisor', $method, $arguments);

and more error
18. Supervisor\Supervisor __call
…/src/AzuraCast/Radio/AdapterAbstract.php113
17. AzuraCast\Radio\AdapterAbstract start
…/src/Controller/Stations/ProfileController.php91
16. Controller\Stations\ProfileController backendAction
…/vendor/slvreagle23/azuracore/src/App/Mvc/Controller.php99
15. App\Mvc\Controller dispatch
…/vendor/slvreagle23/azuracore/src/App/Mvc/Resolver.php42
14. App\Mvc\Resolver App\Mvc\{closure}
<#unknown>0
13. call_user_func
…/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php41
12. Slim\Handlers\Strategies\RequestResponse __invoke
…/vendor/slim/slim/Slim/Route.php340
11. Slim\Route __invoke
…/vendor/slim/slim/Slim/MiddlewareAwareTrait.php116
10. Slim\Route callMiddlewareStack
…/vendor/slim/slim/Slim/Route.php316
9. Slim\Route run
…/vendor/slim/slim/Slim/App.php438
8. Slim\App __invoke
…/app/bootstrap.php322
7. Closure {closure}
<#unknown>0
6. call_user_func_array
…/vendor/slim/slim/Slim/DeferredCallable.php43
5. Slim\DeferredCallable __invoke
<#unknown>0
4. call_user_func
…/vendor/slim/slim/Slim/MiddlewareAwareTrait.php67
3. Slim\App Slim\{closure}
…/vendor/slim/slim/Slim/MiddlewareAwareTrait.php116
2. Slim\App callMiddlewareStack
…/vendor/slim/slim/Slim/App.php332
1. Slim\App process
…/vendor/slim/slim/Slim/App.php293
0. Slim\App run
…/web/index.php9

I also have the same problem

Bump, i can't restart my station >_>

If this happens again, right after it happens, if you could run supervisorctl tail station_5:station_5_backend from an SSH terminal, it may provide some extra information. Feel free to post that here so we can look into it.

I had the same problem before.
The error disappeared after creating a playlist.
Does at least one active playlistlist exist?

I'm closing this issue as it appears to have been caused by a specific issue that has since resolved itself. Nonetheless, my most recent commits have added significant extra logging to the error page you see when Supervisor fails to start/stop a service, including the process's information, log locations, and the most recent lines in its log (which should definitely indicate the problem).


feat: GTS tag

GTS will be the default, LATEST will be for testing! Will start with f40 and whenever bluebuild upstream implements that on their actions

Tracking issue for: https://github.com/orgs/blue-build/discussions/5


[BugFix]Fix brokerload failed when data size greater than the type defined by orc

Fixes #issue
What type of PR is this:

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

Does this PR entail a change in behavior?

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

If yes, please specify the type of change:

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

Checklist:

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

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

Bugfix cherry-pick branch check:

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

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

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

[BE Incremental Coverage Report]
:disappointed: fail : 0 / 1 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/formats/orc/column_reader.cpp
0
1
00.00%
[574]

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

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

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

[BE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/formats/orc/orc_chunk_reader.cpp
1
1
100.00%
[]

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

[BE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/formats/orc/orc_chunk_reader.cpp
1
1
100.00%
[]

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

[BE Incremental Coverage Report]
:heart_eyes: pass : 1 / 1 (100.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
src/formats/orc/orc_chunk_reader.cpp
1
1
100.00%
[]

@mergify backport branch-3.1

@mergify backport branch-3.0

@leoyy0316 So, what't the final behavior of loading a string larger than the dest string column? Will it fail if the strict_mode = true?

@leoyy0316 So, what't the final behavior of loading a string larger than the dest string column? Will it fail if the strict_mode = true?

yes


Pretrained model hyperparameters

Hi @ku21fan
Just want to know which hyperparameters (no. of iterations, lr, batch size, optimizer) are used to train TPS-ResNet-BiLSTM-Attn-case-sensitive model? also what was the final training loss and validation loss? did you decrease lr during your training?
thanks

Hello,
For TPS-ResNet-BiLSTM-Attn-case-sensitive model,
I used the same setting in this repo.

no. of iterations: 300K
lr: 1
batch size: 192
optimizer: adadelta

I don't have log file now... so it is hard to answer the final training/validation loss
I did not decrease lr during training.
Hope it helps,
Best.

Thanks for your quick reply!!
I'm training with adam optimizer and here is current statistics of my model training. Do you recommend to decrease learning rate?

itr_num: 150000/300000
train loss: 0.05675
valid loss: 2.35073
lr: 0.001
best_accuracy: 64.974

Yes, decreasing the learning rate would be helpful :)

@ku21fan I have a pre-trained model from EasyOCR(None-VGG-BiLSTM-CTC), and I want to retrain it on my own data.
Question: Should I freeze FeatureExtraction and SequenceModeling part and just fine-tune CTC and use -FT flag?


Remove version: Pidgin.Pidgin version 2.14.4

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

URL: https://sourceforge.net/projects/pidgin/files/Pidgin/2.14.4/pidgin-2.14.4-offline.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available.;


stackstac.stack doesn't read overviews

The documentation implies that setting resolution uses overview, but as far as I can see,  that it doesn't.
It seems that stackstac.stack doesn't use or can read COG overviews. This prevents several use cases such a large composites. The parameter resolution seems to be an output spec, not an input or read spec.
I can test this by the timings here (as a one notebook here) trying to get the same resolution from a large COG:
import stackstac
from pystac_client import Client
import planetary_computer as pc

catalog = Client.open(
  "https://planetarycomputer.microsoft.com/api/stac/v1",
  modifier=pc.sign_inplace,
)

eiffel={"coordinates": [2.3,48.85],"type": "Point"}
Jan2021={"interval": ["2021-01-01", "2021-01-31"]}

search = catalog.search(filter_lang="cql2-json", filter={
    "op": "and",
    "args": [
      {"op": "s_intersects", "args": [{"property": "geometry"}, eiffel]},
      {"op": "anyinteracts", "args": [{"property": "datetime"}, Jan2021]},
      {"op": "=", "args": [{"property": "collection"}, "sentinel-1-rtc"]}
    ]})
items = search.item_collection()

and then use stackstac.stack:
data = (
    stackstac.stack(
        items[0],
        assets=["vv"],
        chunksize=512,
        resolution=640,
        epsg=32643
    ))
data
%%time
data.squeeze().plot.imshow(vmin=0, vmax=0.4)

Yields
CPU times: user 43.8 s, sys: 10.3 s, total: 54.1 s
Wall time: 2min 2s

Versus
import rioxarray as rx

data2=rx.open_rasterio(items[0].assets['vv'].href,overview_level=5)
print(data2.rio.resolution())
data2.squeeze().plot.imshow(vmin=0, vmax=0.4)

yields
(640.8371040723982, -640.7645259938838)
CPU times: user 39.1 ms, sys: 695 µs, total: 39.8 ms
Wall time: 70.6 ms

cc @TomAugspurger

More specifically, my issue is to create a stackstac that reads overviews, so I can for example create a median value composite over a country-size roi reading overviews.

Slightly simpler example:
import pystac
import planetary_computer
import rioxarray
import stackstac

item = planetary_computer.sign(pystac.read_file("https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-1-rtc/items/S1A_IW_GRDH_1SDV_20210129T174036_20210129T174101_036356_044426_rtc"))
href = item.assets["vv"].href

ds = rioxarray.open_rasterio(href, overview_level=5)

ds2 = stackstac.stack([item], resolution=((640.8371040723982,<PHONE_NUMBER>938838)))

With rasterio reading the overview explicitly:
%time _ = ds.load()
CPU times: user 3.3 ms, sys: 7.8 ms, total: 11.1 ms
Wall time: 84.5 ms

Via stackstac
%time _ = ds2.load()
CPU times: user 1min 6s, sys: 11.1 s, total: 1min 17s
Wall time: 1min 30s

Next step would likely be to inspect the VRT that stackstac is building to figure out why GDAL isn't using the overviews when reading via it.

Thanks Vincent! That's good to know.
A couple modifications to my example, which should get us closer (but won't necessarily work for the full example):
ds2 = stackstac.stack([item], resolution=((640.8371040723982,<PHONE_NUMBER>938838)), assets=["vv"], dtype="float32", bounds=ds1.rio.bounds(), snap_bounds=False).squeeze()
ds2

Still slow. This (maybe?) gets the VRT that stackstac is building. It's perhaps not identical, since I'm not getting it directly out of the task graph. Instead, I'm rebuilding it and might have messed something up:
import numpy as np
import rasterio.enums

dsk = ds2.__dask_graph__()
asset_table = dsk[list(dsk)[0]]
spec = ds2.attrs["spec"]

resampling = rasterio.enums.Resampling.nearest
dtype = "float32"
fill_value = np.nan
rescale = True
gdal_env = None
errors_as_nodata = ()
reader = stackstac.rio_reader.AutoParallelRioReader

x = stackstac.to_dask.asset_table_to_reader_and_window(
    asset_table,
    spec,
    resampling,
    dtype,
    fill_value,
    rescale,
    gdal_env,
    errors_as_nodata,
    reader,
)

reader, window = x[0, 0]

It does look like the WarpedVRT construction behind the scenes results in many GET requests to the full-resolution data rather than using an overview, a simple test is to check out the rasterio logs trying to just extract a single pixel value:
import logging
logger = logging.getLogger('rasterio')
logger.level = logging.DEBUG
logger.addHandler(logging.StreamHandler())

item = planetary_computer.sign(pystac.read_file("https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-1-rtc/items/S1A_IW_GRDH_1SDV_20210129T174036_20210129T174101_036356_044426_rtc"))
href = item.assets["vv"].href

# Fixing the metadata (see linked issue above)
item.properties['proj:shape'] = [20953, 28325]
item.properties['proj:bbox'] = [325900.0, 5265850.0, 609150.0, 5475380.0]

da = stackstac.stack([item],
                     resolution=((640.8371040723982,<PHONE_NUMBER>938838)),
                     assets=["vv"],
                     dtype="float32",
                     xy_coords='center',
                     snap_bounds=False
                    ).squeeze()

# 327 GET Requests! (should be 2-3)
with rasterio.Env(CPL_CURL_VERBOSE=True):
    da.isel(x=0,y=0).load()

I wonder if setting resolution only should just avoid WarpedVRT altogether (with a check that all items have same EPSG)?
Or perhaps stackstac.stack() could take keyword arguments like overview_level that are passed to rasterio.open() which is what rioxarray does?

Thanks everyone for the digging.
In the meantime, for reference of others who need a workaround. It seems that ODC-STAC can handle these cases reading overviews
import odc.stac,odc
import numpy as np
import planetary_computer
import pystac

item = planetary_computer.sign(pystac.read_file("https://planetarycomputer.microsoft.com/api/stac/v1/collections/sentinel-1-rtc/items/S1A_IW_GRDH_1SDV_20210129T174036_20210129T174101_036356_044426_rtc"))

ds = odc.stac.load(
    [item],
    chunks={},
    bands="vv",
    crs="EPSG:32643",
    resolution=odc.geo.Resolution(640, -640)).where(lambda x: x > 0, other=np.nan)["vv"]
%time _ = ds.load()

CPU times: user 36.6 ms, sys: 27.7 ms, total: 64.3 ms
Wall time: 319 ms

Yeah, odc-stac is explicitly picking an overview level:
https://github.com/opendatacube/odc-stac/blob/da03bde0ffafb158e8f56429c9b5667ee38901e3/odc/stac/_reader.py#L229
Additionally, odc-stac is reading directly through a warp when reprojection is required, rather than a VRT like stackstac: https://github.com/opendatacube/odc-stac/blob/da03bde0ffafb158e8f56429c9b5667ee38901e3/odc/stac/_reader.py#L144-L152
@Kirill888 / @vincentsarago, do you know if there's an advantage to using warp directly for reprojection, instead of a VRT?

do you know if there's an advantage to using warp directly for reprojection, instead of a VRT?

I looked at it properly way before gdal 3, back then I could not convince VRT to use larger block size than 256x256, and at that size it was painfully slow.
As far as overviews go, I could not reliably trigger use of overviews when combining read with projection change, only reliable way to force use of overview was to read at the native resolution of the overview itself. Sentinel-1 uses GCPs instead of Affine mapping, I'm guessing that would the reason for GDAL to go to native unless explicitly using specific overview image.

On my side, I know we spent quite some time making sure we were getting data from the overview (see Sean's comment https://github.com/rasterio/rasterio/issues/1373#issuecomment-398261502) (other interesting link https://github.com/cogeotiff/rio-tiler/pull/132)
Using WarpedVRT works to fetch the overview but you need to take extra care about how you construct the WarpedVRT (see Sean's comment and https://github.com/cogeotiff/rio-tiler/blob/main/rio_tiler/utils.py#L223-L298). Something I just changed in rio-tiler, is that when no reprojection is needed we don't use WarpedVRT anymore, but I'm not sure it changes a lot the performance 🤷
As for

do you know if there's an advantage to using warp directly for reprojection, instead of a VRT?

I don't. It would be great to see some benchmark (maybe using https://github.com/developmentseed/tilebench)

I just added some tests in rio-tiler to make sure we're fetching overview (even when using WarpedVRT or a WarpedVRT): https://github.com/cogeotiff/rio-tiler/blob/main/tests/test_overview.py
I've made 2 files where each IFD has it's own value, so it's pretty easy to know which IFD you are reading:

COG with internal gcps: https://github.com/cogeotiff/rio-tiler/blob/main/tests/fixtures/cog_gcps_ovr.tif
Simple COG: https://github.com/cogeotiff/rio-tiler/blob/main/tests/fixtures/cog_ovr.tif

Any updates on this? I think from a user's perspective being able to leverage overviews would be of great importance.


camera - takePicture and Firebase ML Vision

Steps to Reproduce
Device: iPhone 6, IOS 12.3.1
I am adapting the Flutter Firebase ML vision example (https://github.com/flutter/plugins/tree/master/packages/firebase_ml_vision/example).
There the camera plugin is listening to startImageStream to perform text analysis on the camera data : camera_preview_scanner.dart.
A second part of this project is using image_picker to read camera or gallery image an do the same but on  a caputred image. (camera_preview_scanner.dart)
So I tried to change the camera_preview_scanner to use an image taken by camera plugin with the method takePicture and read the file in the same way a file from image_picker was read.
But this did't work.
I finally got it working by using flutter_image_compress plugin an just call FlutterImageCompress.compressAndGetFile with the saved file from camera plugin and put the result to Firebase ML Vision. Suddenly it worked.
On Android the image could be read by Firebase ML Vision without any extra measurments.
Is there any difference in imageformat from image_picker compared to camera takePicture?

I think that the "camera" plugin stored photo with landscape mode and EXIF information (orientation info is portrait mode). So that, you can try capture the photo (with face) in landscape mode and the firebase_ml_vision will detect faces in landscape captured photo.
I'd just got this bug today, if i capture in portrait mode (iphone), firebase_ml_vision can not detect face. But when i rotate my camera in landscape and capture photo, this plugin works. I'm searching the solution to work around.
And i think the flutter_image_compress plugin you commented had remove the exif info and rotated the photo automattically.

But when I use the exif plugin I can read some exif information, also an orientation paramter. The paramter changes when switchin between portrait and and landscape mode.
What I tried now: compare the exif returned from "native camera" via image_picker to the exif data returned by images taken with the Flutter camera Plugin:
Native camera: Only in landscape left (when turning the device to the left (top of phone is left) => Orientation value is 1) the exif data are set. Otherwise they are null
Camera Plugin: In all modes exif data is received. The orientation value changes when changing device orientation

Duplicate of #35334. Closing it, please follow the referenced issue. @olheimer If you disagree, please comment and I will re-open it right away.


ref(scheduler): remove yaml lib dependency

the yaml library needs to be compiled and that slows down CI

Current coverage is 81.74% (diff: 50.00%)

Merging #959 into master will decrease coverage by 0.12%

@@             master       #959   diff @@
==========================================
  Files            28         28
  Lines          3055       3051     -4
  Methods           0          0
  Messages          0          0
  Branches        510        510
==========================================
- Hits           2501       2494     -7
- Misses          405        407     +2
- Partials        149        150     +1

Powered by Codecov. Last update 77dbf94...a6d9857


feat(auth): Add returnOobLink to the ActionCodeSettings

Discussion
https://github.com/firebase/firebase-admin-go/issues/501
Testing

Make sure all existing tests in the repository pass after your change. ✅
If you fixed a bug or added a feature, add a new test to cover your code. ✅

API Changes

At this time we cannot accept changes that affect the public API.  If you'd like to help
us make Firebase APIs better, please propose your change in an issue so that we
can discuss it together.

@lahirumaramba @hiranya911 👋

Hi @Dal-Papa Thank you for your patience on this. The Admin SDKs currently do not support sending email action links. Setting returnOobLink does not send the email, in-fact we already set it to true in the code below. https://github.com/firebase/firebase-admin-go/blob/23a1f17959238d989add41d562602b8bf04e71d6/auth/email_action_links.go#L119
If you are looking to generate email action links the SDK already supports that and you can use your own email API to send out the emails.

This feature use to work as we were able to send an email through Firebase to our users for them to recovery their account, what has changed ? Also, what's the difference between this feature and the SignIn With Email Link where you are sending the email to the user ?
We do not want to manage an email API as we're using Firebase already to deal with that.

@lahirumaramba : Either you read the code wrong or you used it wrong but I was able to make Firebase send me an email with my version of the code.
https://github.com/firebase/firebase-admin-go/blob/23a1f17959238d989add41d562602b8bf04e71d6/auth/email_action_links.go#L119
This is overwritten by the settings object so therefore it becomes false and hence it sends an email. Please consider this PR, we are using the fork in the meantime.

Lahiru Maramba : Either you read the code wrong or you used it wrong but I was able to make Firebase send me an email with my version of the code.
https://github.com/firebase/firebase-admin-go/blob/23a1f17959238d989add41d562602b8bf04e71d6/auth/email_action_links.go#L119
This is overwritten by the settings object so therefore it becomes false and hence it sends an email. Please consider this PR, we are using the fork in the meantime.

Hi @Dal-Papa , just to clarify, you are exposing ReturnOObLink in ActionCodeSettings, so you can override to false, in case you want the email to be sent automatically, correct? That makes sense, however, I am curious about the use-case.. typically the email verification/password reset etc are triggered by the client, so maybe more suitable in the client SDKs? Can you explain how it is useful in admin SDKs? Happy to move forward on this, but would like to better understand the scenario. Thanks!

Lahiru Maramba : Either you read the code wrong or you used it wrong but I was able to make Firebase send me an email with my version of the code.
https://github.com/firebase/firebase-admin-go/blob/23a1f17959238d989add41d562602b8bf04e71d6/auth/email_action_links.go#L119
This is overwritten by the settings object so therefore it becomes false and hence it sends an email. Please consider this PR, we are using the fork in the meantime.

Hi Clement DAL PALU , just to clarify, you are exposing ReturnOObLink in ActionCodeSettings, so you can override to false, in case you want the email to be sent automatically, correct? That makes sense, however, I am curious about the use-case.. typically the email verification/password reset etc are triggered by the client, so maybe more suitable in the client SDKs? Can you explain how it is useful in admin SDKs? Happy to move forward on this, but would like to better understand the scenario. Thanks!

That's correct ! We do this so we can make a few checks on the account in the backend before sending such link (i.e. if the account isn't banned or if their email has been verified in the past).

Thanks! Left a couple of comments in the unit test, LGTM otherwise.

@Dal-Papa Thank you for your contribution! I definitely did misunderstood the API in my initial comment, my apologies!
@prameshj I think we need an internal API proposal for the public API change before we can merge this. Thanks!

Hey @prameshj & @lahirumaramba ! I've fixed your comments and I've recently merged the latest changes, would you mind taking a look so we can merge this old PR ? 🙂

any updates on when this will be merged?

@prameshj : I've updated to the latest upstream branch and fixed the comment. Please take a look.

@lahirumaramba : It looks like @prameshj is AWOL, can you please take over ?

@jonathanedey : You seem like the only person still active here, can you please take a look ?


AttributeError: module 'streamlit' has no attribute 'dialog'

I am getting this error when I run make run_admin_app

Hi @rrprasan , could you please verify that you have a Streamlit version ^1.37.1? I believe st.dialog was added to the standard Streamlit library in a more recent update.

Yes, upgrading Streamlit to 1.37.1 worked. Thank you @sfc-gh-cnivera. I am grateful for your time!

Issue fixed by @sfc-gh-cnivera


损失爆炸的问题

您好，非常感谢您能分享代码，但是我在用您的代码时出现一点问题，希望您能帮忙解答。
我使用的是conll2002西班牙语的数据集，词向量是从MUSE中下载的 fastText Wikipedia embeddings。在跑CNN+LSTM+CRF时发生了梯度爆炸，但是跑CLSTM+LSTM+CRF和GRU+LSTM+CRF就没有问题，想请问一下，为什么会这样，这是由什么原因造成的？
非常感谢！
Seed num: 42
MODEL: train
Find feature:  NP]
Load pretrained word embedding, norm: False, dir: sample_data/wiki.es.vec
Embedding:
pretrain word:983630, prefect match:18012, case_match:8758, oov:1742, oov%:0.0610949391505629
Training model...
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
DATA SUMMARY START:
I/O:
Start   Sequence   Laebling   task...
Tag          scheme: BIO
Split         token:  |||
MAX SENTENCE LENGTH: 250
MAX   WORD   LENGTH: -1
Number   normalized: True
Word  alphabet size: 28513
Char  alphabet size: 84
Label alphabet size: 10
Word embedding  dir: sample_data/wiki.es.vec
Char embedding  dir: None
Word embedding size: 300
Char embedding size: 30
Norm   word     emb: False
Norm   char     emb: False
Train  file directory: sample_data/esp.train
Dev    file directory: sample_data/esp.testa
Test   file directory: sample_data/esp.testb
Raw    file directory: None
Dset   file directory: None
Model  file directory: sample_data/lstmcrf
Loadmodel   directory: None
Decode file directory: None
Train instance number: 8320
Dev   instance number: 1915
Test  instance number: 1517
Raw   instance number: 0
FEATURE num: 1
Fe: NP]  alphabet  size: 62
Fe: NP]  embedding  dir: None
Fe: NP]  embedding size: 20
Fe: NP]  norm       emb: False
++++++++++++++++++++++++++++++++++++++++
Model Network:
Model        use_crf: True
Model word extractor: LSTM
Model       use_char: True
Model char extractor: CNN
Model char_hidden_dim: 50
++++++++++++++++++++++++++++++++++++++++
Training:
Optimizer: SGD
Iteration: 100
BatchSize: 10
Average  batch   loss: False
++++++++++++++++++++++++++++++++++++++++
Hyperparameters:
Hyper              lr: 0.015
Hyper        lr_decay: 0.05
Hyper         HP_clip: None
Hyper        momentum: 0.0
Hyper              l2: 1e-08
Hyper      hidden_dim: 200
Hyper         dropout: 0.5
Hyper      lstm_layer: 1
Hyper          bilstm: True
Hyper             GPU: False
DATA SUMMARY END.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
build sequence labeling network...
use_char:  True
char feature extractor:  CNN
word feature extractor:  LSTM
use crf:  True
build word sequence feature extractor: LSTM...
build word representation...
build char sequence feature extractor: CNN ...
build CRF...
Epoch: 0/100
Learning rate is set as: 0.015
Shuffle: first input word list: [112, 122, 37, 86, 39, 29, 123, 23, 21, 124, 6, 86, 39, 37, 56, 125, 21, 126, 127, 6, 128, 129, 37, 21, 130, 131, 132, 133, 134, 86, 135, 68, 136, 137, 65, 39, 51, 10]
Instance: 500; Time: 17.48s; loss: 66744.3432; acc: 12547.0/16152.0=0.7768
Instance: 1000; Time: 17.76s; loss: 36117.9189; acc: 25307.0/32388.0=0.7814
Instance: 1500; Time: 18.82s; loss: 33063.2673; acc: 38117.0/48536.0=0.7853
Instance: 2000; Time: 17.73s; loss: 22335.1410; acc: 49616.0/63012.0=0.7874
Instance: 2500; Time: 18.96s; loss: 23658.9066; acc: 62782.0/79203.0=0.7927
Instance: 3000; Time: 18.44s; loss: 23325.6564; acc: 75591.0/95059.0=0.7952
Instance: 3500; Time: 18.57s; loss: 25712.5104; acc: 87833.0/110454.0=0.7952
Instance: 4000; Time: 19.91s; loss: 22649.9701; acc: 100420.0/126189.0=0.7958
Instance: 4500; Time: 19.22s; loss: 24327.3322; acc: 112567.0/141422.0=0.7960
Instance: 5000; Time: 19.85s; loss: 26658.7230; acc: 124379.0/156725.0=0.7936
Instance: 5500; Time: 18.37s; loss: 25029.7343; acc: 136149.0/172008.0=0.7915
Instance: 6000; Time: 18.65s; loss: 29637.6336; acc: 149560.0/188728.0=0.7925
Instance: 6500; Time: 19.05s; loss: 24267.2758; acc: 161762.0/204421.0=0.7913
Instance: 7000; Time: 19.61s; loss: 22461.7405; acc: 175534.0/221536.0=0.7923
Instance: 7500; Time: 18.50s; loss: 22996.7426; acc: 187587.0/237142.0=0.7910
Instance: 8000; Time: 18.71s; loss: 21329.9551; acc: 199753.0/252760.0=0.7903
Instance: 8320; Time: 12.32s; loss: 12823.4778; acc: 208061.0/262902.0=0.7914
Epoch: 0 training finished. Time: 311.95s, speed: 26.67st/s,  total loss:<PHONE_NUMBER>963867
totalloss:<PHONE_NUMBER>963867
Right token =  10789  All token =  52923  acc =  0.20386221491601006
Dev: time: 14.95s, speed: 128.68st/s; acc: 0.2039, p: 0.0070, r: 0.0097, f: 0.0081
Exceed previous best f score: -10
Save current best model in file: sample_data/lstmcrf.0.model
Right token =  9090  All token =  51533  acc =  0.17639182659654978
Test: time: 13.96s, speed: 110.87st/s; acc: 0.1764, p: 0.0035, r: 0.0059, f: 0.0044
Epoch: 1/100
Learning rate is set as: 0.014285714285714285
Shuffle: first input word list: [4192, 33, 41, 5335, 102, 3068, 6, 41, 16619, 8961, 16625, 33, 8284, 157, 7171, 23, 8823, 157, 3, 850, 235, 304, 5, 62, 12097, 109, 7593, 235, 39, 157, 8307, 23, 21, 900, 157, 3, 850, 235, 304, 5, 6, 1404, 23, 361, 23, 21, 16399, 3, 850, 235, 304, 5, 62, 37, 114, 16626, 261, 16627, 3, 850, 235, 304, 5, 6, 16628, 39, 16623, 10]
Instance: 500; Time: 20.07s; loss: 22066.5989; acc: 12368.0/15718.0=0.7869
Instance: 1000; Time: 19.20s; loss: 15910.0819; acc: 25232.0/31352.0=0.8048
Instance: 1500; Time: 19.42s; loss: 16232.9181; acc: 37775.0/46995.0=0.8038
Instance: 2000; Time: 19.53s; loss: 14678.2134; acc: 51808.0/63706.0=0.8132
Instance: 2500; Time: 19.44s; loss: 15756.1388; acc: 64652.0/79451.0=0.8137
Instance: 3000; Time: 19.07s; loss: 18944.6857; acc: 77324.0/95315.0=0.8112
Instance: 3500; Time: 18.91s; loss: 15556.8204; acc: 89668.0/110505.0=0.8114
Instance: 4000; Time: 18.46s; loss: 18086.7941; acc: 101804.0/125771.0=0.8094
Instance: 4500; Time: 19.44s; loss: 16134.2563; acc: 114591.0/141392.0=0.8104
Instance: 5000; Time: 19.51s; loss: 19310.2681; acc: 126960.0/157040.0=0.8085
Instance: 5500; Time: 19.66s; loss: 20971.3447; acc: 139678.0/173303.0=0.8060
Instance: 6000; Time: 19.37s; loss: 16266.7186; acc: 152363.0/188912.0=0.8065
Instance: 6500; Time: 19.58s; loss: 21224.6567; acc: 164716.0/204945.0=0.8037
Instance: 7000; Time: 20.10s; loss: 14005.5008; acc: 177883.0/220961.0=0.8050
Instance: 7500; Time: 19.66s; loss: 16057.6001; acc: 190685.0/236599.0=0.8059
Instance: 8000; Time: 20.49s; loss: 14424.4894; acc: 203964.0/252622.0=0.8074
Instance: 8320; Time: 13.11s; loss: 9627.8608; acc: 212431.0/262902.0=0.8080
Epoch: 1 training finished.  Time: 332.23s, speed: 25.04st/s,  total loss:<PHONE_NUMBER>317383
totalloss:<PHONE_NUMBER>317383
Right token =  45356  All token =  52923  acc =  0.8570186875271621
Dev: time: 16.64s, speed: 115.44st/s; acc: 0.8570, p: -1.0000, r: 0.0000, f: -1.0000
Right token =  45355  All token =  51533  acc =  0.8801156540469214
Test: time: 15.29s, speed: 99.48st/s; acc: 0.8801, p: -1.0000, r: 0.0000, f: -1.0000

CNN相关的训练相对来说不稳定性回高一点。我在中文的任务上也观察到了类似的现象，你可以尝试一下：（按优先级排序）

可能和初始化的embedding有关，可是试试·norm_word_emb=True· 把embedding 先归一下。
设置更小的学习率, learning rate.
设置ave_batch_loss=True
尝试其它的optimizer, 比如adagrad, adam 等

非常感谢您的耐心解答，我会按照您的建议重新实验。
再次感谢！


feat(datagrid-web): add column visible

When Using the data grid 2, depending on the the context come columns do not need to be shown.
By adding  'Visible' expression to the column, the developer can specify when the column need to be shown.
This PR includes an highlight for Visibility in the structured mode.

The visible state should be like the core visibility visible state on the root of the widget. Ideally it would have the same kind of options: dialog: Default, always, based on attribute value, based on expression, for selective roles. (But this cannot (yet) be used for the columns objects, but only on the root level, the expression is the next best thing.)

In this case I expect that visibility “false” will overwrite all other settings, and never show the column, and will not show the column in the “selector”.  While “true” will be equal to "Default", and behave as the current setup depending on the key “hidable”, together with the visibility state of the column selector.

Hey @Andries-Smit,
Thanks again for the PR! This is a feature that has been asked by more people, so I appreciate the initiative to implement it for everyone to use!
Using an expression makes sense here, so let's get this PR in.
Let's quickly update the docs as well though.
CC @iobuhov

linked to https://mendix.atlassian.net/browse/WC-2197

Hey @Andries-Smit, Thanks again for the PR! This is a feature that has been asked by more people, so I appreciate the initiative to implement it for everyone to use! Using an expression makes sense here, so let's get this PR in. Let's quickly update the docs as well though.
CC @iobuhov

closing this PR, will be resolved in https://github.com/mendix/web-widgets/pull/799


October to December is three months

under "How long does the Teams Exploratory experience last" > "Note" - math is wrong

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 28550025-fde2-9a83-a826-f7e3ccb313db
Version Independent ID: 2a304432-b10c-220f-3453-e19e7a155c67
Content: Manage the Microsoft Teams Exploratory experience - Microsoft Teams
Content Source: Teams/teams-exploratory.md
Service: msteams
GitHub Login: @DaniEASmith
Microsoft Alias: danismith

@copenhaus This article along with the other Teams Exploratory article is receiving a major update in the next week or so. I have overhauled and rewritten this article, which should resolve your concern.

Thank you for submitting feedback. We understand that this issue has been resolved.
Please feel free to re-open this issue if there is a specific area of the docs that we can improve or make better. Thank you.


ESP32-S2 enter bootloader with magic number instead of RC pin

I have a board I've designed that does not have the RC components and I want it to be able to enter bootloader by double tap and programmatically from within the firmware. this both could be implemented more easily using the magic number method.
Is there a reason why the ESP32S2 boards implement it wit the RC instead of magic munber?

Have you tried implementing the magic number approach ?

esp32 clears out memory between resets, unlike other chips. RC 1 bit memory is required until someone invents something better

Thanks, now I understand the rationale behind the RC pin.
I have a couple of questions to get a more complete picture.

after looking at the code for the grandcentral bootloader it saves the magic number in RAM (in the last address). Isn't RAM always cleared between resets by definition. or resetting using the reset pin doesn't actually cut power to the RAM? The ESP reset pin does cut power to the RAM?
Why not simply store it in NVM? Is it too slow? Will it decrease the life span of the flash chip? all of the above?

Now that I think of it, if I just want the ability to enter the bootloader from the firmware itself, using NVM magic number is probably the way to go, since it will be used quite rarely. Is there an obvious reason why this is not a good idea?
Thanks again!

after looking at the code for the grandcentral bootloader it saves the magic number in RAM (in the last address). Isn't RAM always cleared between resets by definition. or resetting using the reset pin doesn't actually cut power to the RAM? The ESP reset pin does cut power to the RAM?

not possible since whole power for the chip is cut off

Why not simply store it in NVM? Is it too slow? Will it decrease the life span of the flash chip? all of the above?

only answer is giving it a try, if it works great, then please consider to submit an PR. It could be an option and help others.


Incapable of running the project in 4.0-beta1, due to syntax changes.

Some global scope functions like are renamed in previous alpha snapshots (like rad2deg is rad_to_deg now).

I already updated the functions, this happened in alpha 15 as I remember.
did you clone/pull the latest commit ?

I tried cloning the repo and opening the project using method 2 from the readme and it works.

closing this issue as there isn't an answer or verifying that the issue exists.


[rlua] Review, update and testing

I open this new issue to discuss rlua development on a fresh thread. Please, @ghassanpl and @JaredSartin, feel free to join.

The GAMEPAD enum is registered twice.

lua_CalculateBoundingBox, lua_IsAudioDeviceReady and lua_LoadMusicStream all return 0 when they should return 1.

Thanks! Just copied it to expose XBOX gamepad enum but still thinking the better way to do that.
Wow! So fast finding issues! I'm on it! :D

By the way, how could I manage (void *) data?

Lua strings are technically binary blobs, and manipulating them as such is easy thanks to string.pack/unpack (Lua 5.3) so I'd recommend getting those arguments as strings (using lua_tolstring).

I've just ported all raylib examples to Lua: https://github.com/raysan5/raylib/tree/develop/examples
I've been testing them (https://github.com/raysan5/raylib/blob/develop/examples/rlua_execute_file.c) and most of them fail with the error:
ERROR: Lua Error: attempt to index a number value

Most of the times related to structs Camera and Camera2D, Probably I'm doing something wrong when defining them in rlua.h module.
Please, @ghassanpl, could you take a look? Many thanks! :)

There a couple of bugs, both in the lua examples, as well as (my) bugs in the rlua.h file. I'm working on them right now, but I'm not sure how to get the changes to you :) I'll try using git but who knows how that'll work :P

Hi @ghassanpl! Many thanks for your help!
I just did a commit a while ago and no plan to commit anything else in, at least one day. You can sync to latest raylib develop branch and work there or, if you prefer, just send me the changed files and I will update my files and do the commit.

Hi @ghassanpl! Just reviewed your commit! Most of the examples already work! AMAZING!
Here it is a list with the functions that do not work properly on its Lua version:
char **GetDroppedFiles(int *count);
Image LoadImageEx(Color *pixels, int width, int height);
Color *GetImageData(Image image);
void UpdateTexture(Texture2D texture, void *pixels);
void SetShaderValue(Shader shader, int uniformLoc, float *value, int size);
void UpdateAudioStream(AudioStream stream, void *data, int numSamples);

Light CreateLight(int type, Vector3 position, Color diffuse);
bool CheckCollisionRayBox(Ray ray, BoundingBox box);

It seems most of the issues are related to pointed data...
About the last two functions:

CreateLight() in C returns a pointer to struct and fields are accessed with ->. In Lua that's not possible so I can return a Light object, but that's not the same as C *Light... don't know how to manage that...
CheckCollisionRayBox() works in C but for some reason it doesn't work properly in Lua. If clicking in the middle of the box, it gets selected but not in the sides, it seems related to some values rounding issue in the Lua side...

The problem with LoadImageEx, GetImageData, UpdateTexture and UpdateAudioStream is that they require Lua to create/hold/update large arrays or binary buffers. Lua tables are not well suited for that purpose unfortunately. Creating a 1024x1024 "array" in Lua is EXTREMELY costly.
There is no real solution to this problem. If you have any ideas, let me know.
As to the rest of the functions, I'm working on them now and should have something withing the hour.

Hi @ghassanpl! What a quick response! Thanks for clarifying the issue with those functions, no problem, don't worry, if that functionality can not be added, it's ok.
Again, many thanks for your help and for the celerity on your answers! I'm extremely grateful.

I will close this issue for now, I will open independent [rlua] issues for anything related that could arise...


Add service instance zone support.

I worked out a proposal of #249 .

@starlight36 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@starlight36 Thank you for signing the Contributor License Agreement!

Awesome!


Bug (?): Unused MAX_POSITION_EXPOSURE on floatingMaker

The example floatingMaker bot is supposed to use MAX_POSITION_EXPOSURE, declared here:
https://github.com/drift-labs/keeper-bots-v2/blob/1c20aa58bdc24faf97a213d342cadf52bf0e1996/src/bots/floatingMaker.ts#L88
It gets mentioned on the comment for updateAgentState:
https://github.com/drift-labs/keeper-bots-v2/blob/1c20aa58bdc24faf97a213d342cadf52bf0e1996/src/bots/floatingMaker.ts#L217
However, it never gets used in the code.

this was probably left over from when it was copied over from another project. floatingMaker.ts was really meant as an example for how to post and update floating limit orders, not really meant to be a self contained market maker

Gotcha, thanks! I agree, it seems incomplete, but it's been a good way to cut my teeth on the API while getting familiar with things.


error

<Please be sure to remove any private information before submitting.>
Repro steps:
<Enter steps to reproduce issue>
Action: azureStorage.deployStaticWebsite
Error type: Error
Error Message: Error deleting blob "images/card01.svg" : connect ETIMEDOUT <IP_ADDRESS>:443
Version: 0.7.0
OS: win32

Hi @mohamadalitellawi , we have a fix here. Please try it out and let us know if it solves your problem.


Remove unused editor icons

This also renames the TextureArray icon to follow its rename to Texture2DArray.
A stripped editor binary is now 23 KB smaller.
I've done a quick check to see if there weren't any missing icons, but I'm not 100% certain there are no missing icons anywhere. Please give this PR a try in your daily editor use if you can :slightly_smiling_face:
This PR can be remade for the 3.x branch, but it has to be remade from scratch as the list of unused editor icons is different in 3.x.

I made an overview of the removed icons so that we know what we're talking about (and what we can fish back if needed):

According to ripgrep, MiniObject seems used:
modules/visual_script/visual_script_editor.cpp
634:            Control::get_theme_icon("MiniObject", "EditorIcons"),
1084:           Control::get_theme_icon("MiniObject", "EditorIcons"),

MultiEdit was maybe meant to be used in place of the default ~Unity logo~ Object icon for MultiNodeEdit?

I'm not sure why ActionCut is not used anywhere, but we do use ActionCopy and ActionPaste so I think it might be useful to keep. For example, Cut and Copy could be added here:

GizmoCamera is used in 3.x. Is it just missing in master because it wasn't renamed to GizmoCamera3D?
GizmoListener is not visible in 3.x, but that might be a bug?
The RotateLeft/RotateRight and MirrorX/MirrorY icons are used in 3.x for the tilemap editor. @groud should maybe confirm that they're no longer needed.
KeyHover is not used in the AnimationPlayer, but maybe it should be? There's no hover effect currently. I don't know if one is wanted/needed.
The Room*/Portal icons are not particularly good so I guess it's fine to remove, even if @lawnjelly might need new ones for his work.
The InverseKinematics icon looks nice but is unused indeed. Poke @TwistedTwigleg @AndreaCatania if you ever need this kind of icon for something :)

The Room*/Portal icons are not particularly good so I guess it's fine to remove, even if @lawnjelly might need new ones for his work.

Fine to remove by me, my PR does load these 2 as they are defaults but I'll leave it up to someone else to make the icons in a separate PR as I have no SVG skills. :slightly_smiling_face:

I restored the following icons:

ActionCut
GizmoListener (see https://github.com/godotengine/godot/pull/49284)
MiniObject

GizmoCamera is used in 3.x. Is it just missing in master because it wasn't renamed to GizmoCamera3D?

GizmoCamera is no longer used since https://github.com/godotengine/godot/pull/35784 was merged. The overlaid gizmo icon made it difficult to see the camera rotation.

Thanks!

Just a heads up, I think I'm using EditorInternalHandle for the sphere Occluder gizmo (maybe since this PR was made)? And the Room and Portal icons. I don't know if we were going to have new ones for 3.4, or reuse.


Call BAP with API Header File

We can propagate type information from IDA to BAP using C Header files. This PR does this, with some minor changes:

IDA doesn't use stdint.h integers, so we replace for that
IDA doesn't follow the C standard for namespaces for struct, union, enum`, so we correct for that
IDA sometimes annotates functions with things like __cdecl etc, which BAP cannot understand, so we remove all of that.

Is it possible to disable this feature? Since IDA pseudocode is unpredictable and our transformation relies on regular expressions, we should anticipate the case, when bap will be unable to read the header, that will render it unusable, for that case we should have an easy way to disable this feature.

Well, yeah, it might be worth adding in a disabling thing here. I'll think about what might be the best way to structure it.
Also, it might be worth doing a check at the time when bap adds it in (i.e. in bap itself), and prevent adding if it might mess up, though I think we should discuss this first.

Well, now we can disable by just changing the config param (and it works even without restarting IDA)


Uco 53 - Add missing observer:to field for MessageFacet and EmailMessageFacet

@chirag4semandex , can you please fix the formatting.  If you aren't able to, I'll file a superseding PR.


Migrating from Classic API

This gem hasn't been touched in years and uses the Freshbook Classic API
https://www.freshbooks.com/classic-api
Has anyone done the migrations to the new API ?
https://www.freshbooks.com/api/start
any recommendation?

FYI @phenchaw

we forked privately


[Proposal] Change LICENSE from MIT to Apache 2.0

MIT and Apache 2.0 are good choices for individual open-source projects. But I guess it would be better to use Apache 2.0 since it has extra requirements about using the trademark of the project. And secondly, we don't need to ask contributors to approve if plan to donate the project to the ASF incubator. I see xdb-apis has been under Apache 2.0 license, So I guess it should be good to change the current project to that as well.
How do you feel about this? @longquanzheng @zklgame
I will raise PR to resolve this if sounds good to you.

👍 yes! I talked to @zklgame and she agreed with it too

https://github.com/xdblab/xdb/pull/5


Add "Open Source" section

Since it is required for one change per pull request, I am currently hanging on to a commit on my own repo.

You definitely can add a resource there. Empty section does not make much sense on it's own.
Go on and add something right away :)

Will close and resubmit a new pull request.


Some references.view shortcuts not working

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

VS Code Version: 1.95.3
OS Version:  Fedora 41

Steps to Reproduce:

Open the Keyboard Shortcuts preferences window.
Attempt to bind references-view.removeReferenceItem (Dismiss) to a keybinding
Right click some field or other code construct, click "Find All References."
Press references-view.removeReferenceItem keybind.
The keybinding does not work.

Expected behavior:
I'd expect this keybinding to execute "Dismiss" on the currently selected reference item, similar to when you right click -> Dismiss in the reference view.
Other info:

I have tested various keybindings, ensured no clashing keybindings, restarted vscode, and messed with the "when" conditionals quite a bit.
I cannot get references-view.removeReferencesItem, references-view.removeCallItem or references-view.removeTypeItem to do anything regardless of my keybinding or editor state.
I can't get references-view.refind to work either.
references-view.next, references-view.previous, and references-view.findReferences work fine (and are very handy!)
I installed latest VS Code in a Windows 11 VM and tested there with the exact same results.

Am I doing something wrong? I'm real interested in those removeReferences bindings but I just can't get them to do anything for the life of me.

This response confuses me a bit. I suppose the implication is the functionality was never implemented, but has unmarked placeholder entries in the UI?


How to change the color of radio button?

💬  I want to change the color of radio button in ui-kitten. I am using default theme but it renders blue radio button.
How can I change the color of radio button? Is there color prop in this component?
UI Kitten and Eva version

Package
Version

@eva-design/eva
2.0.0

@ui-kitten/components
5.0.0

Because in default theme the primary color is blue.
https://akveo.github.io/react-native-ui-kitten/docs/guides/branding


Adopt a Widget - ActionListener

The ActionListener widget needs:

A code / DartPad sample

For details about how to participate, see flutter.dev/adoptawidget

I would like to be assigned this issue

I would like to be assigned to this issue if there is no response from the assignee.

I'm working on the task


Fix ssao only sampling mip 0

Objective
Fixes https://github.com/bevyengine/bevy/issues/11222
Solution
SSAO's sample_mip_level was always giving negative values because it was in UV space (0..1) when it needed to be in pixel units (0..resolution).
Fixing it so it properly samples lower mip levels when appropriate is a pretty large speedup (~3.2ms -> ~1ms at 4k, ~507us-> 256us at 1080p on a 6800xt), and I didn't notice any obvious visual quality differences.

Holding off for a moment: @JMS55 said they wanted to try benchmarking this.

Makes no difference on a 3080 lol, but don't know how to run a profiler on my laptop /shrug


Change repository preview site link's protocol to https

GitHub pages provide https, so no reason not to link to the preview page using it.

Good idea @jumpalottahigh, I've just updated the repo. Thanks!


added user deletion

Added user deletion feature.

Thanks, but I can't accept this feature. Deleting a user is not as simple as you have implemented here. The user may have followers and blog posts and those need to be handled in some way, they cannot be left in the database pointing to a user that does not exist (most database would not even allow you to delete it).
There is also the fact that immediately after deleting yourself you will lose access to the API, which is strange. In general user deletions are not handled in this way. Normally such a complex operation needs to be carried out manually by a support person.

Yes, you can solve this with cascades, or some other methods, none of which you implemented here. But in general deleting an account is done after a review by a human, not automatically via endpoint. There is an endpoint to make a request, then an admin reviews and executes the request.


CRD's in helm 3 do not support templating

The changes in 9.20.0 basically break all helm 3 installs as the apiserver tries to parse the golang templates in the CRD as json since they aren't templated out.
Error: failed to install CRD crds/ingressroute.yaml: error parsing : json: line 0: invalid character '{' looking for beginning of object key string

$ helm install traefik traefik/traefik
Error: failed to install CRD crds/ingressroute.yaml: error parsing : json: offset 2: invalid character '{' looking for beginning of object key string

After some testing with kind and different versions of kubernetes (v1.21, v1.16, v1.15) and different versions of helm (v3.6, v3.2) I've come to the conclusion that helm will not check if a version of an api is available before it tries to install that CRD. This means that coming kubernetes v1.22 when the apiextensions.k8s.io/v1beta1 api is removed version <9.20.0 of this helm chart will also no longer install.
That's why I propose to revert the change made in 9.20.0 and remove the templating in the CRD's only leaving apiextensions.k8s.io/v1beta1 to remain compatible with k8s <v1.22 and release that chart as 9.20.1.
Next replace all apiextensions.k8s.io/v1beta1 CRD's with apiextensions.k8s.io/v1 and release that chart as 10.0.0 marking it incompatible with k8s <v1.15.
For now I've had to pin all our manifests to traefik 9.19.2 because all our automated test deployment pipelines are failing :(

As a side note, the helm website mentions the use of a separate chart for CRD management. This might be a way to continue to support helm charts after 10.0.0 on k8s <v1.16 by letting people install the CRD chart before installing the newer chart with the --skip-crds flag.
helm install deprecated-crds traefik/deprecated-crds
helm install traefik-without-crd traefik/traefik --version 10.0.0

I can confirm I'm having the same issue here:
$ helm install traefik traefik/traefik
Error: failed to install CRD crds/ingressroute.yaml: error parsing : json: offset 2: invalid character '{' looking for beginning of object key string

Let me take a look

Hello All,
We have confirmed that Helm v3 not allowing templating in the CRDs is the cause of this issue, and will be releasing an update today to resolve it.
In the meantime, we recommend pinning your chart versions to 9.19.2 until you have a chance to review our update.
We apologize for the issues, this caused, and are looking into ways to prevent broken CRDs from affecting installs moving forward.
Thank you

Will the upcoming update include bumping traefik to v2.4.9?

@Juneezee yes, it is already included in PR #443.


Double Title in docs

Discussed in https://github.com/facebook/docusaurus/discussions/7038

Originally posted by msasl March 28, 2022
Hi,
updating from 2.0.0-beta.15 to 2.0.0-beta.18  all went smooth except for documents in /docs.
It now displays the page file name as title + the # title.
Eg:

Expected behavior:
I have the file "test.mdx" as follows:
`# Test
this is a test`
and usually my page was rendered like follows:
`
Test
this is a test
`
so how to get rid of the page file name as title and just use the # one?

For anyone else arriving here, you can change all your CRLF to LF for the time being (and I strongly advise you to do this from this point onwards). In VS Code the config is at the bottom right.


Ansible operator needs a way to pass vars as "unsafe"

Feature Request
Describe the problem you need a feature to resolve.
I'm writing an operator that accepts values that look like Jinja templates but aren't. Ansible is attempting to interpret these and blowing up.
Describe the solution you'd like.
Ansible (since 2.8-ish) allows you to specify vars as "unsafe" via JSON (such as when submitted via extra vars). You can do this via the following syntax:
{"some_var": {"__ansible_unsafe": "some unsafe value with {{templates}} in it"}}

This results in some_var: some unsafe value with {{templates}} in it and Ansible will not evaluate (what appears to be) Jinja templates in it.
It would be nice if there was a way to tell the Ansible Operator SDK to use this notation with any vars passed to the playbook/role.

Just for some extra context, the noted JSON "unsafe" syntax is the equivalent of using the !unsafe YAML tag. An alternative is passing the extra vars in YAML format and using that tag.

This same problem is being attacked a different way via https://github.com/ansible/ansible/pull/72547, which will appear in the next major Ansible version. This will allow referencing a "complex" var passed by the operator using the !unsafe tag and have it apply to all nested strings.

I think it would make sense to have values from the CR be tagged unsafe by default, I don't think we should be evaluating those unless the author explicitly opts in

I think it would make sense to have values from the CR be tagged unsafe by default, I don't think we should be evaluating those unless the author explicitly opts in

Probably, but I suggested making it opt-in to not break any cases where people are currently relying on this behavior.

Probably, but I suggested making it opt-in to not break any cases where people are currently relying on this behavior.

Moving this to milestone v1.5.0 as it will not be done in time for v1.4.0

Moving this to milestone v1.5.0 as it will not be done in time for v1.4.0


[Bug]: Is there any way to backup the root folder

Describe the bug
I committed all of the files in my vault, but I cannot specify the remote to push to after I create an empty remote repo. Is there any way to backup and push the root vault to the remote instead of moving everything in a new folder?
Relevant errors (if available) from notifications or console (CTRL+SHIFT+I)
No response
Steps to reproduce
.
Expected Behavior
No response
Addition context
No response
Operating system
macOS
Installation Method
None
Plugin version
2.27.0

It should ask for a remote when you try to push with e.g. the "push" command. Otherwise there are commands for this like "edit remotes" or "set upstream branch"


Questions About CVE-2023-33953 Vulnerability

Problem Description：
Currently, the CVE-2023-3395 vulnerability is encountered, and no solution is found on the Internet. No corresponding fix is found on NVD and Red Hat.

https://bugzilla.redhat.com/show_bug.cgi?id=2230890

https://nvd.nist.gov/vuln/detail/CVE-2023-33953

Requirement：
I want to use the patch to fix this vulnerability. Can you provide the patch for this vulnerability?
Or can the corresponding commit record be associated with the issue?

https://cloud.google.com/support/bulletins#gcp-2023-022 contains instructions for remediation.

@ctiller is there a specific commit that introduces this CVE?


Feature request: Background highlight colors

Background highlight colors very useful for highlighting  background of any objects such as tables, cards for defendant it from others.
.bg-highlight {
    background: #fafbfc;
}

.bg-highlight-primary {
    background: #ebf7fd;
}

.bg-highlight-success {
    background: #f2fae3;
}

.bg-highlight-warning {
    background: #fffceb;
}

.bg-highlight-danger {
    background: #fff1f0;
}

https://getbootstrap.com/docs/4.1/utilities/colors/#background-color

These are indeed already available.

@mojtabakaviani, you can edit or add highlighting colors to the $theme-colors and rebuild sass if you want:
https://github.com/twbs/bootstrap/blob/38ca58bf3c886d99e75e307dd6f631a2c9e2c7a2/scss/_variables.scss#L80-L92


Upgrade javac langtools to v9 [phab:T49]

Created by schroederc at 2015-06-29 19:55:08:

commit 4fe17df0e9a1dad77a643ccfb1e88a56be54e559

revision #956

blocking #601


Zarr 2.11.0 compatibility

Resolve #129
Drop support for Python 3.6 (needed to get recent Zarr, and most pydata packages have also done so)

Hi @alimanfoo  - is this ready for review?


Adding a ckeditor plugin within grapesjs

How can I add a plugin for ckeditor, which is initialized from within grapesjs script, and the config is inside grapesjs config.

I've successfully added a plugin in ckeditor_root/plugins/myplugin/ but it doesn't suit me, it can't be as a standalone plugin directory, I need it to be in gjs config or so.

Hi @rafal-olszewski just as explained here http://docs.ckeditor.com/#!/guide/dev_plugins you have to drop your plugin inside plugins directory and call it via extraPlugins option, in grapesjs:
var editor = grapesjs.init({
      container : '#gjs',
      plugins: ['gjs-plugin-ckeditor'],
      pluginsOpts: {
        'gjs-plugin-ckeditor': {
          options: {
            extraPlugins: 'plugin-name',
          }
        }
      }
  });


cut / tail very long logs

We currently send all log data at once to the client. In the case a job generated a lot of logs we should for example think about just sending the last 500 lines of logs otherwise the browser tab will OOM when dealing with that much data. Chunking will probably not help in this case as well as the browser would have to load that data in memory. Maybe we can set a limit by default for the api endpoint and allow to download / receive the whole data (#566) when a parameter is applied.

can we save log into s3 when job be done? then server can just access s3 log file?


Colour styling of reports

Would it be made possible to determine the background colour of each individual report?
It would be very handy if e.g. different types of reports on the same tab could be distinguished from each other in this way.
The same mechanics as the rule-based styling would be perfect.
Thank you.

Hi @gcthys !
This can be added to every report that same way is already there for the Single Value, I'll will add that on the pipeline. In this case, it not a rule based style condition. How did you immagine this 2 working together?

Thanks for using Neodash,
Harold

@BennuFire
Hello Harold,
thank you for picking this up!
My apologies for the clumsy formulation of my request: adding it to the Advanced Settings would be perfect.
Attached is a raw impression of what I meant: the single value in the top left corner has been coloured with the Advanced Settings and the other two reports should be coloured in the same way.
Guido

Hi @gcthys ,
I just added the background color options to our next release 2.2. By the moment you read this post, it should already be available for you to enjoy it.
Thanks for your valuable suggestion.

@BennuFire
Hi Harold,
I just checked and as far as I can see, the background colour option is now available on Single Value and Graph, nut not on the report types, is that correct?
Guido

Hi @gcthys!
Have you upgrade to 2.2.0?
Harold

I am using console.neo4j.io + the browser version of NeoDash and that indicates it is still on V1.1.10-extended

Hi @gcthys!
Can you try your dashboard on http://neodash.graphapp.io/?  Can you detail more on your setup? Weird!

Hi @gcthys,
We do save the operational state of the dashboard on a 'cookie' that can later be persisted on the database. There're a couple of concepts I need to better understand. We're do you see V1. 1.10-extended? We have never released that.  The dashboard I see about movies, is something persisted on your database? Is the gallery example?
In general, the upgrade happens on the cookie version of the dashboard that then you need to persist on a database of your own.

The version is mentioned in the bottom right corner of the popup generated by the circled "i" in the left toolbar. In the background you can see my own dashboard:

The movie database is the sample I opened, as mentioned in my previous comment. That is where the upgrade went okay. The correct version is also mentioned on the i-popup.
But I never use that database and I think it is even first time ever that I opened it.
Can you send me the name of the cookie you are using? Because it doesn't start with "neo", see previous screen print.

@BennuFire
Additionally: I just noticed that V1. 1.10-extended is also mentioned in the debug report:
neodash-debug-state.zip
Hope this helps.

Hi @gcthys !
Just as a follow up. About the cookies, I do correct myself. We use localStorage (not exactly a cookie from the privacy point of view) that gets deleted whenever you delete cookies tho.

About the website state, can you force refresh without cache? On Google Chrome (and Windows) is something like Ctrl + F5. We believe this may be due to an aggressive bundle.js caching (not related to the dashboard state).

Ctrl + F5 did the job, thanks!
Maybe something to mention in the user documentation?


Row expand and collapse on row click

Row details should be available on row click - currently there is neither a row click event nor a row detail view on clicking of one

Hi, can you help us fix this? We'd love a pull request that fixes your issue!

I've seen several people asking for this feature. Are you guys going to add it?

No, not right now. I tried doing that but it needed changes in the core aha table file. Even though we do that, there is an issue. The content that we place inside the expanded row, is being confined to the first column. I was unable to fix that. So we had to use another component.

When will this be added?

I don't believe we have any plans to implement this functionality right now, though we are looking at making some enhancements to the px-data-table in Q3 after we finish our current release. I'll remind our PM of this request.
As a small correction to @krishnathota 's original comments, we do fire a px-row-click event when a row is clicked in the table. The detail contains a reference to the row and column that were clicked.

Closing due to age and release of https://www.predix-ui.com/#/elements/data-grid/px-data-grid


Update microsoft-edge extension

Description
Multiple fixes and new features added

Added Stable, Dev, Beta and Canary build support
Fix all bugs reported
Remove unsafe JS command execution
Correct error notification
Removed useDev support previously added

Screencast

Updates settings

New Build dropdown setting added

Error message when a build is not installed

Working snapshot with multiple profiles

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@KartikKumarSahoo Would it be possible to support opening in a Workspace 😍 Whould I open an issue?