WiFi Provisioning for custom phone app (MEGH-1001)

How would I go about implementing the WiFi Provisioning in my own phone app?
I would wanna build this phone app with React Native.
The REST API only seems to expose interaction for after the device has been provisioned and mapped to a user. So how would I go about implementing this provisioning/mapping step?

@jwktje , there are various ways by which you can go about this

Use the ESP RainMaker Phone app sources. Links: iOS, Android.
Use the Wi-Fi Provisioning phone libraries in your own app. Links: iOS, Android.
Check the Wi-Fi provisioning protocol docs and implement on your own.

@shahpiyushv Option 2 looks like a good option. Would it be hard to wrap both the iOS and Android libraries into a React Native Plugin? I guess that's out of scope for this issue so you can close it if you want. But I was just wondering if maybe you have experience with this.

@jwktje To wrap the libraries some code and data transfer logic needs to be added in the libraries as well. Both our libraries are open source so you can take the source code and add methods in it to exposes the api's to react native module. It seems a bit hard to start with but if you decide to proceed then there is full API documentation for iOS library :https://espressif.github.io/esp-idf-provisioning-ios/. Let us know if you face any problem.
Also if you decide and finish the wrapper then if possible do share your work. It will be helpful for us to give support to React Native developers in future.

@vikas-chandra-mnnit @shahpiyushv Thanks for the input. I'm a Webdeveloper by trade so I feel like I'm missing the App-dev skills to make this work. If anyone happens to stumble upon this and knows how to make this wrapper for React Native work, I'm willing to put a code bounty of $100 on this. I know this is probably not much. But for me this is for a hobby project so hopefully any app-devs that read this don't feel insulted.

As a side-note update, I did successfully update my prototype to work with provisioning based on this example.
It would be great if there was a way to allow end users to provision without needing the ESP SoftAp Prov app. I will try and see if I can find some way to make it work in React Native and will report back if I do.

@jwktje I'm almost doing the same thing as you are. I will most likely be able to spend some time this week and early next week to get this app migrated to react-native via native modules. let me know if you can wait till then.

@amoghpalnitkar That would be amazing! And if there is anything I can do to assist during development or afterwards to test, let me know! I really wanna collaborate on this, but as I mentioned, I know almost nothing of native app development sadly.
What do you think your approach would be? Would you work on a bridging library that wraps both the iOS and the Android library from Espressif?

@jwktje Correct. This would be a wrapper around the iOS and Android esp-idf-provisioning library.
A function call from react-native will hand over the control to the native code. The native code will interact with the native esp-idf-provisioning library. This will also have UI to scan the QR code & provision the device.
On successful provisioning, it will hand back control to react-native.

@amoghpalnitkar If you are able to provide such a library for React Native that would be amazing, and that's exactly what I need to move forward with my project. So if you have the time to make that work I will for sure send you that code bounty I mentioned in my previous content.
Let me know if I can do something to help, or if you have it working to a point where I can test it. Thanks in advance for lending your time to the community! :D

@jwktje It looks like we will need to include the login screens in the library as well, but probably as a react-native plugin rather than native. aws-cognito has decent react-native support so it might make sense to use it.
I am still in two minds whether we should go native or react-native for login pages. @jwktje What do you think? Which use case suits you better?
@shahpiyushv would it be possible for you to share the aws-cognito poolId & clientId?

@amoghpalnitkar In that case I think your use-case might differ from mine. I don't need the full scope of the ESP RainMaker platform to be exposed through React Native.
Only the provisioning functions/libraries. And really only SoftAP, no BLE.
So if I could run these functions for Android/iOS through a bridge library I would be happy;

createESPDevice
espDevice.connect
espDevice.scanWifiList
espDevice.provision

@jwktje Oh, I see. Does that mean you only need those functions to be exposed and you would be building your own screens in react-native over these functions?
That could still be a subset of my current work.

@amoghpalnitkar Yes. Because I want to integrate the WiFi provisioning of my ESP32-based device into the current onboarding/setup steps of my app. So I will build out my own screens for connecting, scanning and so on.
Sorry that it's a bit confusing, because this issue is open on the esp-rainmaker repository. But I will not de using the RainMaker functions on my device, nor the REST backend they provide. Really only the provisioning side of it.
Would that still be something you could help out with or does that not really work with how your project is set up?

@jwktje I can build something that is usable for you, now that I know the exact use case. Will keep you posted.

@jwktje I have sent you a repo invite to the first draft. Currently, it only has ios bridge. Building the Android bridge can happen once we finalise iOS. Please create issues on that repo for further feedback. Thanks!

@amoghpalnitkar I accepted the invite and will start testing tomorrow! Thanks very much! I will create issues on the repo for anything that I find during testing. :D

@amoghpalnitkar I have the exact same use case as @jwktje . I could do the Android testing with React Native.

I have started testing and will commit any changes that I think I can make on a separate branch of the repo. This way I can make a PR and @amoghpalnitkar can check them before merging. Maybe @tsVestor can do something similar for any Android quirks? And obviously testing and creating issues is super helpful feedback too!

Sure

@amoghpalnitkar @jwktje could you please invite me to the corresponding repo

Hey @tsVestor We are still refactoring it into something that is easier to get more collaborators on board with. Currently it's more a full prototype project and @amoghpalnitkar is working on turning it into a plugin. Once we have that we could share the repo.

Hi @jwktje and @amoghpalnitkar I had a look at your react-native-esp-idf-provisioning repository. It is missing the android implementation, is it under development or did you put it on hold?

@amoghpalnitkar  I'm willing to add a code bounty of 50 USD for the React-Native Android implementation.

Hey @tsVestor,  apologies that I couldn't reach out earlier.
Yes, the project is currently missing android implementation.
I was neck-deep in a few releases over the last couple of weeks so couldn't find time for the Android part as well.
I have switched the repo's visibility to private since I feel it is not yet ready for the public. And I have added you as a collaborator to the repo.
I'll add the android implementation there.

@tsVestor I have added the android implementation. Could you please help me test the modules out?

@amoghpalnitkar thank you, I tried it immediately. Unfortunately the example crashes in debug and release build immediately after create_device() returns with {"error": "success", "value": undefined}

Ah, this might just have to do with the android permissions.
Can you please create an issue for this in the project repository?
Also, can you try again after giving the FINE_LOCATION permission manually by going to the device settings?

The FINE_LOCATION permission is granted, I opened an issue

@amoghpalnitkar i would be happy to contribute to the development of this package for react native. I have a couple uses for such a library on upcoming projects and would rather support an open source project that start from scratch. Let me know if you are looking for support in code and testing.

@digimatt22 Thanks for the response. I would appreciate your help. Sent you an invite.

@digimatt22 note that there is also already an existing wifi provisioning app built with Flutter: https://github.com/sunshine-tech/esp_provisioning
Flutter is not react native, but quite similar technology.

@amoghpalnitkar I would be very interested in your project repo and can try to help out in any way possible, at least by testing it. I would greatly appreciate an invite! :)

@amoghpalnitkar I'm sure you're tired of hearing this by now, but I would also love to try out the library and help out if I can. Working on a project that would benefit from it greatly and am trying from scratch, but, of course, it's a little bit of work.

@amoghpalnitkar , @jwktje   Hey, just wanted to know how more days might it take to complete react-native-esp-idf-provisioning package. I would like to help, but I am not much familiar with any of the package development. I might need some guidance  for contributing.
Thank You!!

@amoghpalnitkar  I'm willing to add a code bounty of 50 USD for the React-Native Android implementation.

I'm making a module to react native, are you still willing to pay?

@vikas-chandra-mnnit @shahpiyushv Thanks for the input. I'm a Webdeveloper by trade so I feel like I'm missing the App-dev skills to make this work. If anyone happens to stumble upon this and knows how to make this wrapper for React Native work, I'm willing to put a code bounty of $100 on this. I know this is probably not much. But for me this is for a hobby project so hopefully any app-devs that read this don't feel insulted.

Look at the top post.

npm i react-native-esp-idf-ble-provisioning-rn
This is the lib that I made. Look that.

Hi , is there a react-native espress if ble provisioning for ios?
Thanks


[chart/redis-ha] Make exporter probes optional

What this PR does / why we need it:
This adds the option to remove the livenessProbe and readinessProbe from the exporter container.
Which issue this PR fixes
Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/mychartname])

@sonrai-doyle May be better here to do a toYaml templating for the probes that way if people want to remove it they just add the following to the values file:
livenessProbe: {}

@sonrai-doyle Any way you can update / give input on my comment? Will close soon if I don't hear from you.,

Sorry @DandyDeveloper missed your comment while I was away on vacation. Will look at making the suggested change as I can.

+1 Waiting for this, sometimes Redis wants to recover, and we want exporter to be enabled (without probes) since it will get timeouts, etc. and makes entire pod to be unavailable.

@DandyDeveloper Sorry for the delay in addressing your comments. Would you be able to re-review?

But that would be better if we can make all of the probes optional


RingTest throwing Unauthorized Exception

It appears Ring have recently made changes to their API, requiring auth bearer token adding to the header for all requests.  I have managed to resolve this issue in Ring/RingClient.cs but I'm still trying to understand how to correctly create a pull request and commit my changes in GitHub (in my day job I use SVN).

Hi, thanks for making the change.
To create a pull request:

Create a fork.
Commit your changes to the fork.

Select your fork as the compare (you may need to click compare across forks).
Your changes should be shown and then you can submit the pull request.

PR merged and updated package uploaded to NuGet


socks proxy support for ProxyUtils

#23

Hi, thanks for the pull request!
Unfortunately, I couldn't find a way to set up unit tests for proxy methods, as it would involve setting up a test proxy server and I couldn't find any Java library to do that. Do you have an easy way for me to test this PR, or even better, a suggestion for writing a unit test?
scala-scraper now supports multiple Browser implementations, as you may have seen. Right now, both jsoup and HtmlUnit are fully supported. However, while jsoup reads the system properties you wrote (because it uses internally java.net.HttpURLConnection), HtmlUnit does not. Instead, the system properties are read upon the construction of the Browser instance, at HtmlUnitBrowser.scala:36. You should adapt that part to try reading the socks proxy properties and create the WebClient accordingly (there seems to be a constructor taking a ProxyConfig, which supports socks proxies).

Haha, more involved than i'd thought 😅
so I definitely didn't have a well controlled unit test, I had tor running already, and used that for the socks proxy host/port (localhost/9050) and i was playing around with rapture and just doing uri"http://ipv4.icanhazip.com".slurp[Char] and just making sure that output was the same as curling it with torsocks torsocks curl ipv4.icanhazip.com
seemed to work in that case
I'll dig in more when i get a chance!

After investigating a bit more how to use proxies in HtmlUnit and writing a helper test to check if proxies are working, I discovered that HtmlUnit also reads the socksProxyHost and socksProxyPort system properties. This PR looks good to me then! Thank you for contributing :)


Modifications to social media icons

[ ] Add a Social Media icon (with relevant transition) for Google Scholar, Instagram, Codeforces and Leetcode
[ ] Modify the code so that the user can display any combination of social media as per their needs.
[ ] Input the links of the same using a JSON in main.js or home.js
[ ] Replace the email id in the footer with a corresponding ✉ icon
[ ] Footer Bug:

Please assign me this issue..I would like to work on this @smaranjitghose

@smaranjitghose  I would like to work  on this issue (1st, 2nd, and 4th point)

@sauravvsonu I would urge you to take one task at a time so that we can give all of the participants a chance.
Would you like to go ahead with 1 and 2?

Please assign me this issue..I would like to work on this @smaranjitghose

Would like to go ahead with 3 and 4?

Please assign me this issue..I would like to work on this @smaranjitghose

Would like to go ahead with 3 and 4?

Yeah sure😊, but if I've got any doubts, where can I contact you?

@sauravvsonu I would urge you to take one task at a time so that we can give all of the participants a chance.
Would you like to go ahead with 1 and 2?

okay I will start with it

Yeah sure😊, but if I've got any doubts, where can I contact you?

Join slack channel (link in README)

can I work on the 3 and 4 issues

Yeah sure😊, but if I've got any doubts, where can I contact you?

Join slack channel (link in README)

Yeah, I've joined and working on the no. 3 and 4 issues😊

@sauravvsonu I would urge you to take one task at a time so that we can give all of the participants a chance.
Would you like to go ahead with 1 and 2?

hey, I had completed with adding, some required icon look at it onces.

@smaranjitghose Hi, As the issue is still open I would like to work on the 1st, 2nd, 4th, and 5th points. Please assign me this issue and will fix this ASAP. I am really curious to work on this issue. :)

I would like to work on 1st, 4th and 5th issue, please assign it to me!

Can I cover some of the parts of the footer for fixes?

Can I cover some of the parts of the footer for fixes?

Please collaborate with @dollyjain51099 for this issue

@dollyjain51099, how are you planning on designing the icons?

@dollyjain51099, how are you planning on designing the icons?

I'll be creating floating social media icons with some hover effects.

@dollyjain51099, how are you planning on designing the icons?

I'll be creating floating social media icons with some hover effects.

Sounds nice. Have you started to work on it?

@dollyjain51099, how are you planning on designing the icons?

I'll be creating floating social media icons with some hover effects.

Sounds nice. Have you started to work on it?

Yes!

@smaranjitghose  can I redo the footer using custom CSS rather than using materialize.css?

Modified footer #375

@smaranjitghose can I redo the footer using custom CSS rather than using materialize.css?

That would be fantastic!

@smaranjitghose can I redo the footer using custom CSS rather than using materialize.css?

That would be fantastic!

@smaranjitghose, can I start working on it then?

@smaranjitghose can I redo the footer using custom CSS rather than using materialize.css?

That would be fantastic!

@smaranjitghose, can I start working on it then?

yes

[ ]  Add a Social Media icon (with relevant transition) for Google Scholar, Instagram, Codeforces and Leetcode

I understand this issue was closed with #388 but I still don't understand how to add the Google Scholar icon?
I also would like an icon for Orcid ID, Researchgate, and YouTube!


Add relaxed output formatting option for find command,

Adds a relaxed output formatting option for the find command, to
allow unknown bit-length fields to be rendered as ascii, and
improve the output of decoded messages.
--
Florian Roks<EMAIL_ADDRESS>Daimler TSS GmbH
Imprint

thanks. this looks good to go. merging!


How to only use for InfluxDB

I would like to strip all Google related dependencies and only use the software to pull consumption data to InfluxDB in OpenHAB. How to do that?

Did you check if the data pulling was still working? I had issues sometime ago, that the excel you get from the oomi website is no longer working, or only returns an empty sheet.

I can download the csv file manually from Oomis online service, yes. I have not been able to your software to work in Armbian yet, though. The install documentation is quite brief. First hurdle is installing pandas, which is not availabe via apt.

Any progress on this?


SPAlert hiding or dismissing instantly in some views. Maybe due to a UITextView

A workaround that help me was:
    self.perform(#selector(self.showSaveCompleted), with: nil, afterDelay: 1)

    @objc func showSaveCompleted() {
        DispatchQueue.main.async {

            let alertView = SPAlertView(title: "Title.", message: "Message.", preset: SPAlertPreset.done)
            alertView.duration = 3
            alertView.dismissByTap = true
            alertView.present()
        }
    }
    ```

Good day!
You can create example project?


Allow the user to connect to the master on port 7077

To be able to connect a zeppelin or spark-shell to my remote cluster, I had to manually update the security group to allow the port 7077 from my IP.
Would be nice that flintrock set it up by default.

Fixed by #103.


make  keyboard dismiss

I want to dismiss the keyboard when I click the outside of RichEditorView, what should I do? I try to
delegate the UITextViewDelegate's method touchesEnded(),but doesn't work

It will really depend on the setup of your views. You'll have to set up some kind of action on the other views that aren't the RichEditorView. When you get notified that one of the other views has been tapped, you'll just have to tell the RichEditorView stop being the first responder, or blur, or one of those methods.

I try to delegate the UITextViewDelegate's method touchesEnded(),but doesn't work

RichEditorView is not a UITextView, so anything with UITextViewDelegate won't do anything.

Sorry, I cannot totally understand this words :  tell the RichEditorView stop being the first responder. Can you explain it with some code. And there are some ways to custom  toolbar.options?  Like RichEditorOption.Header(Int) can combine one option, then expand the all header options As user needed. Thanks for your reply

Sorry, I cannot totally understand this words : tell the RichEditorView stop being the first responder.

Inputs that are currently focused (have the keyboard up) are called the "first responder" in iOS. When you make it resign first responder, it means that it stops showing the keyboard. Usually you can just call inputView.resignFirstResponder(), but that actually doesn't work with RichEditorView (I should make it so it does...)
You can call editorView.blur() to lose focus and close the keyboard though.

And there are some ways to custom toolbar.options? Like RichEditorOption.Header(Int) can combine one option, then expand the all header options As user needed.

No, you'd need to make your own custom keyboard for this. Everyone's UI requirements will be different, so the toolbar that I provided is really isn't much more than the simplest it can be, to give people a starting point to see how to expand on it and make their own.

Thanks for your  interpretion in detail, it help me a lot

Cool, no problem 👍


Question: html to md

Does it have any command or tools which can convert slate html back to md file?

We don't, but maybe there's a tool online somewhere?


Footprint behavior on Users table (task #7224)

Codecov Report

Merging #656 into master will increase coverage by 0.09%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #656      +/-   ##
============================================
+ Coverage     30.86%   30.95%   +0.09%
  Complexity     1171     1171
============================================
  Files           105      105
  Lines          4011     4012       +1
============================================
+ Hits           1238     1242       +4
+ Misses         2773     2770       -3

Impacted Files
Coverage Δ
Complexity Δ

src/Model/Table/UsersTable.php
38.09% <100%> (+1.5%)
8 <0> (ø)
:arrow_down:

src/Model/Table/AppTable.php
87.5% <0%> (+37.5%)
4% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Control

Depends on https://github.com/phanrahan/magma/pull/814 and https://github.com/phanrahan/magma/pull/815

Depends on https://github.com/phanrahan/magma/pull/830


There are a lot of things that aren't plugins

I'm going to just put everything I found into one issue.
Other programs
https://vimawesome.com/plugin/bash-language-server
https://vimawesome.com/plugin/cquery
https://vimawesome.com/plugin/ctags
https://vimawesome.com/plugin/eslint
https://vimawesome.com/plugin/jedi
https://vimawesome.com/plugin/moonscript
https://vimawesome.com/plugin/quickfix
https://vimawesome.com/plugin/racer
https://vimawesome.com/plugin/rls
https://vimawesome.com/plugin/rtags
https://vimawesome.com/plugin/rust
https://vimawesome.com/plugin/rustfmt
https://vimawesome.com/plugin/vscode-css-languageserver-bin
Emacs extensions
https://vimawesome.com/plugin/haskell-mode
https://vimawesome.com/plugin/spacemacs
https://vimawesome.com/plugin/cider
https://vimawesome.com/plugin/multiple-cursors-el
https://vimawesome.com/plugin/slime
https://vimawesome.com/plugin/bundler-el
https://vimawesome.com/plugin/ruby-refactor
https://vimawesome.com/plugin/emacs-theme-darktooth
https://vimawesome.com/plugin/python-el
https://vimawesome.com/plugin/powerline
https://vimawesome.com/plugin/clojure-mode
https://vimawesome.com/plugin/emacs-for-python
https://vimawesome.com/plugin/emacs-color-theme-solarized
https://vimawesome.com/plugin/helm - already mentioned in #369 but I still wanted to mention it here.
VSCode extensions
https://vimawesome.com/plugin/puppet-vscode
https://vimawesome.com/plugin/vscode-ccls
https://vimawesome.com/plugin/vscode-javascript
https://vimawesome.com/plugin/vscode-ocaml
bash/fish/zsh plugins
https://vimawesome.com/plugin/alias-tips
https://vimawesome.com/plugin/android-completion
https://vimawesome.com/plugin/antigen
https://vimawesome.com/plugin/auto-fu-zsh
https://vimawesome.com/plugin/bashmarks
https://vimawesome.com/plugin/bash-powerline
https://vimawesome.com/plugin/docker-zsh-completion
https://vimawesome.com/plugin/fast-syntax-highlighting
https://vimawesome.com/plugin/fish-getopts
https://vimawesome.com/plugin/fishnet
https://vimawesome.com/plugin/fzf-marks
https://vimawesome.com/plugin/get
https://vimawesome.com/plugin/git-flow-completion
https://vimawesome.com/plugin/lesaint-mvn
https://vimawesome.com/plugin/liquidprompt
https://vimawesome.com/plugin/oh-my-git
https://vimawesome.com/plugin/oh-my-zilsh
https://vimawesome.com/plugin/oh-my-zilsh-today-cannot-touch
https://vimawesome.com/plugin/oh-my-zsh
https://vimawesome.com/plugin/opp-zsh
https://vimawesome.com/plugin/powerlevel10k
https://vimawesome.com/plugin/powerlevel9k
https://vimawesome.com/plugin/powerline-bash
https://vimawesome.com/plugin/pure
https://vimawesome.com/plugin/segment
https://vimawesome.com/plugin/spot
https://vimawesome.com/plugin/statusline
https://vimawesome.com/plugin/virtualfish
https://vimawesome.com/plugin/z-fish
https://vimawesome.com/plugin/zsh-autopair
https://vimawesome.com/plugin/zsh-bundle-exec
https://vimawesome.com/plugin/zsh-completions
https://vimawesome.com/plugin/zsh-context-sensitive-alias
https://vimawesome.com/plugin/zsh-git-prompt
https://vimawesome.com/plugin/zsh-history-substring-search
https://vimawesome.com/plugin/zsh-kubernetes
https://vimawesome.com/plugin/zsh-syntax-highlighting
Not software
https://vimawesome.com/plugin/referencecard
https://vimawesome.com/plugin/fonts - powerline fonts. Just fonts.

I ran into one of these just now, and was very confused by it for a bit. I wanted to report this problem, and was surprised to find that there is no built-in way to do so. I can submit a new entry, but I cannot remark on existing entries.
I found #170, which was closed in favor of a different solution for the specific case raised there, but in general it might be useful to be able to report a (perceived) issue with an entry. Alternatively, checking whether a repository actually contains any vim files would be a reasonable way to automate this.

Also https://github.com/PowerShell/PowerShell when searching for "PowerShell" on the website. That's an entire language runtime . After a 10 minute investigation, I think it's the ^[^\S\n]*(?:Bundle|Plugin)[^\S\n]*[\'"]([^\'"\n\r]+)[\'"] regex in the scraper that's generating this false positive

Yes, a lot of things that aren't plugins, and other a thousand pages pointing to repositories that no longer exist.


Can I use Speaker Recognition with Video Indexer?

Can I use Speaker Recognition with Video Indexer?

@dorcohen8 Thank you for the question!  We are investigating this and will get back to you shortly.

@dorcohen8 Hi, in video indexer, we have speaker indexing function. Video Indexer has the ability to map and understand which speaker spoke which words and when. Thanks!

@dorcohen8 We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


[Bug] Panning camera by arrows key isn't working properly when in Surfaces mode

I get use to panning 3d view by using arrows keys and/or arrows key+shift to move it faster, but somehow it's really laggy when working in surfaces mode.

I'll look into it, thanks for reporting this

I'm not seeing any lag on my macbook, and that's pretty terrible hardware ;p
Can you give me some more information? Is it always? Only in a specific scene or specific scenes? Are you selecting lots of surfaces? What Unity version and what version of Realtime CSG?
Thanks

Unity version: 5.4.2f1 (64-bit) Windows 7
Realtime CSG version: 1.318 (Nov 28, 2016)
It happens in a new scene, and new project as well. Always when I enters Surface (Texturing) mode and pressing arrows keys to pan the camera, the editor moves camera but after a few-seconds delay. When I exit this mode, the camera starts responding good again.. well almost, the camera moves in some random direction very fast infinitely, unless I press move key again to recover control over it. It seems that only camera view is lagging, I can do any other action w/o problem, I can even rotate camera, it only lags when I'm panning camera with arrow keys.
Unfortunately I can't download a beta version, it says the order key is incorrect (I'm sure it is correct).

Ah, 1.318 is quite old by now .. I'll try to reproduce it
Can you sent me your key through email (top right corner of https://logicalerror.github.io/ ) so I can check why downloads don't work for you? Thanks

Okay, I updated plugin to the newest version and problem still persist, you need to select a surface first, then try to move around.

could this be related to #148  ?

Hmm rather not. It's freezes when panning the camera anyway, also I found out that this happen when I put a cursor over any CSG surface. As long as I keep cursor away from surface the problem is not showing up.

Oh, ok that might help me to track this down, thanks!

Fixed in version 1.351. Which can be downloaded from https://prenominal.nl/updates/
This ticket will be closed when this version is available from the asset store

This version is now available from the asset store, so I'm closing this ticket


Changed code in Fototoon activity from webL10n to i18next

All tutorials and code are working nicely, tested properly and indentations have been maintained
@llaske, could you please review it

@llaske, I changed it to and but it still shows conflicts to be resolved

That's fine on my side.
Thanks.


Enforce Content-Security-Policy

This switches to enforcing our content security policy. This ensures that even if someone snuck something into our generated content, the content would have very limited access. In particular, any inserted JavaScript or HTML wouldn't be able to do a lot of things that it could otherwise do.

It's currently been in report mode. I've been watching the browser console and trying out various pages, and nothing seems to be triggering the report mode. So I think it's safe for us to start enforcing this.


Should we be able to translate blocks labels and descriptions ?

All dashboard elements are translatable, but the blocks labels and descriptions. Is this intended ?
If not, here is a small fix.

I missed some other labels like collections fields addLabel. I will add it to the PR.


10 online cutup of the dataset

closes #10

Hi Till, this looks great! I didn't have anything special in mind with respect to sampling and labeling so this is perfect. Merging and closing the issue.


Do not use array helpers

We want to avoid using array helpers

They've been removed in Laravel 5.8


Begin turning this in to a library

Some separation of functionality with extension methods and also the removal of a UI.

Merged

Should we use seperate namespaces for the extension methods like you have started to do? I´m not sure about this. Sometimes i like libs/apis where i have to include only one namespace, and sometimes i´m annoyed by to many functions/possibilities.


Compiler unable to find get_strong()

auto strong_this{ get_strong() }; // Keep this alive.
I'm missing something but what?

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

ID: e1d40e59-b0fc-e95c-5c25-a933811514b6
Version Independent ID: 7f28cd84-d6bc-6add-472b-8cd1c0ba08e6
Content: Weak references in C++/WinRT - UWP app developer
Content Source: windows-apps-src/cpp-and-winrt-apis/weak-references.md
Product: uwp
GitHub Login: @stevewhims
Microsoft Alias: stwhi

Hi, @JackDetrick, get_strong is a member function of winrt::implements. And when you're implementing a Windows Runtime class, your base class is winrt::implements. So, the code is an abbreviation for this->get_strong(), called from within the member function of an implementation type. The get_strong function increases the reference count of the this object.
I don't know whether that helps. Please let me know, and whether or what I can do to improve the docs.
Thanks!
~Steve

Steve -
I'm using VS 2018 15.8.9 and Windows SDK 18272.
When I add the following to a C++/winRT console app, the compiler doesn't like: get_strong();
My question - what am I missing
hstring m_value = L"Hello World"; //jd 11/11/2018
IAsyncOperationwinrt::hstring RetrieveValueAsync()
{
auto strong_this{ get_strong() }; // Keep this alive.
co_await 5s;
co_return m_value;
}

The c++/winRT documentation section "Strong & Weak References"  contains an example on how to create a coroutine that uses get_strong().. The example is called from main(). My coroutine is called from a click handler. I replaced "winrt::init_apartment();: with - co_await winrt::resume_background(); //resume UI thread so that get() doesn't block it. It woks...

Hi, @JackDetrick, I'll go ahead and close this issue now, since it seems like we're resolved, and I don't see any clear action around improving the documentation.
If I'm wrong, and you can let me know how to what I can do to improve the docs, then please feel free to reopen.
Thanks!
~Steve


Query Filters - better (?) implementation

I don't want to do a pull request as I don't believe the code is necessarily up to the bar, but also this isn't a bug.
In your latest release you have query filters, but I encourage you to look at my own implementation from last year at query filters (although updated to a recent version):
https://github.com/joshcomley/EntityFramework
Specific commit:
https://github.com/joshcomley/EntityFramework/commit/0a770921a7eb3a6a41d1a800870425ea47d14ade
The implementation is much more flexible in that it allows cached, per-request filters.
There is an IQueryFilter that you can implement:
using System;
using System.Linq.Expressions;
using JetBrains.Annotations;

namespace Microsoft.EntityFrameworkCore.Query
{
	/// <summary>
	///     An entity filter
	/// </summary>
	/// <typeparam name="T"></typeparam>
	public interface IQueryFilter<T>
	{
		/// <summary>
		/// The filter expression
		/// </summary>
		/// <returns></returns>
		Expression<Func<T, bool>> Filter([NotNull]EntityFilterContext context);
	}
}

The EntityFilterContext is as follows:
using System;
using JetBrains.Annotations;

namespace Microsoft.EntityFrameworkCore.Query
{
	/// <summary>
	///     The context of an entity filter
	/// </summary>
	public class EntityFilterContext
	{
		/// <summary>
		///     The service provider to use for this filter
		/// </summary>
		public virtual IServiceProvider ServiceProvider { get; }

		/// <summary>
		/// Initializes a new instance of the entity filter context
		/// </summary>
		/// <param name="serviceProvider"></param>
		public EntityFilterContext([NotNull]IServiceProvider serviceProvider)
		{
			ServiceProvider = serviceProvider;
		}
	}
}

In your DbContext:
    protected override void OnModelCreating(ModelBuilder builder)
    {
        builder
            .UseServiceProviderForFilters(_serviceProvider);

        builder
            .Entity<ApplicationUser>()
            .HasFilter<ApplicationUserFilter>();
    }

It is also possible to provide lambda expressions etc. instead of a class, but with the class I can inject whatever I like into the constructor per-request, resolved using the service provider specified above.
In my implementation, the filter part of the query is cached separately and correctly parameterised, which means that although the filters are generated per-request and context driven, identical queries can still use the query cache.
Any thoughts, EF team?

I should add my implementation only works for SQL Server, so it was limited in its scope but flexible in its approach to contexts etc.

@joshcomley Thanks for providing this information/feedback. We discussed this and decided:

We are fully behind the idea of an ecosystem of packages that add functionality to EF Core. If there are different implementations of query filters available that have different characteristics, that's a good thing for the developer community.
We welcome good pull requests that help make EF Core better. Along those lines, you might consider two different types of PRs for this kind of thing:

We really appreciate PRs that add hooks/extensibility points, so that external code can better implement additions like this. It's often hard to come up with all the right hooks without building the things that need them, so people doing add-on packages are a great source of information as to which hooks to add.
We would also consider PRs that add more functionality to the built-in feature.


Proxy Issues with User Settings

Visual Studio Code Version : [ 1.6.1 ]
Code Sync Settings Version : [ 2.3.4 ]
Operating System : [ 10.12.1 ]
Occurs On: [Download]
Proxy Enabled: [ Yes ]
When syncing from my non-work machine it seems like the first thing that gets overwritten are my work proxy rules.
How does one go about syncing between two machines, one of which is behind a corporate proxy and the other is not?
I have posted frequently asked questions on
http://shanalikhan.github.io/2016/11/07/visual-studio-code-frequently-asked-questions.html
so you may able to resolve the error quickly.
Please make sure to write the versions and console logged error picture or copied text

if the auto upload is enabled than it will overwrite all the instances in all other machines no matter what proxy settings are.

Thanks for the reply.  In this case I just went and modified the GIST manually to include the same proxy settings to see how that would impact it.  Still having issues downloading behind a proxy using the extension.  Downloading behind the proxy manually by clicking on 'install' for each extension I want works just fine.

2.3.8 version is released to fix this issue https://github.com/shanalikhan/code-settings-sync/issues/135 as behind proxy there were some problems in downloading the extension.
Let me know if you are able to download all the things behind a proxy

@JoshCork For the machine behind the proxy try specifying the proxy in the Environmental Variables instead of the VS Code http.proxy setting like so:

That way you will not have to worry about the http.proxy setting being overwritten in the settings file.

@JoshCork
Sorry, i understand your problem now.
This extension will keep your settings file in sync.
you may try @Spinarooni way
I am closing this issue for now, i will say this is the limitation, may be you can update after few months about it than we will see what can be done to make it more configurable

@Spinarooni this usually works, but some workplace environments are a bit troublesome. For example I can't set the proxy globally, because then some programs stop working properly. So I have to set it on a per application basis.


pull request for e2e test at 11/10/2016 01:26:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.

Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


How to open that? I'm stupid, sorry

How to open that? when i'm trying to use "cmd" that tell me commands not exist

How to open that? when i'm trying to use "cmd" that tell me commands not exist

Open cmd as an admin.
Write "cd C:\Users<your PC username here>\Desktop\Epic-Account-Creator-master" For this I placed the folder on my desktop.
Write "npm install".
Write "node epicgames.js".

npm install - Npm is not an internal or external command

i know about commands bro, thanks but it don't want to work =(

You don't have node js installed then


Add rule for warning about backticks that look like line-continuations but are not

This is in response to #423.
Let me know if there are any anti-patterns here. Examining the text directly feels a little weird here, but I believe that escaped whitespace isn't reflected in any way in the AST, so I need to look at the text directly.

Hi @AndrewGaspar, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Hi Andrew. Thank you for the new rule and the test cases. Changes look good.
Please fix this failing test before we can merge the PR:
Describing Test Name parameters
Context When used correctly
[+] works with 1 name 275ms
[+] works for DSC Rule 17ms
[+] works with 3 names 21ms
[-] Get Rules with no parameters supplied 181ms
Expected: {38}
But was:  {39}
59: 			$defaultRules.Count | Should be 38
at , C:\projects\psscriptanalyzer\Tests\Engine\GetScriptAnalyzerRule.tests.ps1: line 59

Oh yeah, sorry about that. I'll fix that tonight. Does that count just need to stay in sync with the number of rules in ScriptAnalyzer?

Yes.

Tests fixed

Great.. Thanks!

Need to update the rule documentation. I will take care of that
https://github.com/PowerShell/PSScriptAnalyzer/tree/development/RuleDocumentation


[R] stringr binding for str_starts fails based on syntax

Describe the bug, including details regarding any error messages, version, and platform.
Hi Arrow Devs.
I noticed an odd behavior for str_starts() for the package.
So if you make an arrow table:
df <- data.frame(
  Participant = c('Greg', 'Greg', 'Donna', 'Donna'),
  Category = c('F0', 'C0.1', '1', '01'),
  Rating = c(21, NA, 17, 21)) |> as_arrow_table()

Participant
Category
Rating

Greg
F0
21

Greg
C0.0
NA

Donna
1
17

Donna
01
21

And want to filter the output to entries that start with several specific strings like so
filterlist <- c("F", "C", "1")

Participant
Category
Rating

Greg
F0
21

Greg
C0.0
NA

Donna
1
17

If I run a call like this one, it either fails or pulls it into R:
df |>
  filter(str_starts(Category, paste(filterlist, collapse = "|")))
Warning: Expression str_starts(Category, paste(filterlist, collapse = "|")) not supported in Arrow; pulling data into R

But these two will run just fine and produce the desired output:
df |>
  filter(str_starts(Category, "F|C|1"))

df |>
  filter(str_starts(Category, filtervar))

Is this a bug of some kind?
Component(s)
R

Thanks for reporting this @TPDeramus and glad you've got a workaround there!  This might be a gap in our implementation where we may be missing evaluating the filter condition.


Unable to use Right click to paste into terminal in Windows app

Issue Type: Bug
Looks like feature detection is broken in latest Insiders builds.
Steps to reproduce:

Set "terminal.integrated.rightClickBehavior" to "copyPaste" or "paste"
Open terminal
Do right click in terminal view with mouse

Notification "This browser doesn't support the clipboard.readText API needed to trigger a paste" appears.
Root cause is added check in https://github.com/microsoft/vscode/commit/197f453aa9560872370e4b8e4b3b2f9a93c4ad68 for #116801
VS Code version: Code - Insiders 1.54.0-insider (3f0d8a14759cddea93f0dbddc12a4ef1e5586e86, 2021-02-17T07:39:48.715Z)
OS version: Windows_NT x64 10.0.19041

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 x 3192)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.72GB (16.88GB free)

Process Argv
--crash-reporter-id cf52dbde-2c94-45c3-9bf3-45d8b9966b04

Screen Reader
no

VM
0%

Extensions: none
A/B Experiments
vsliv695:30137379
vsins829:30139715
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256198
vstry914:30244316
pythonvsdeb440:30224570
pythonvsded773:30223139
pythonvspyt600cf:30251589
core-portspanel:30257802
coreuntitledfile:30249963
wslfolderdoccf:30257852

/assign Tyriar

Well that was a silly mistake. Thanks for the quick report!

WOW! Thanks for swift fix.
P.S. I was thinking that Electron's Sandbox breaks feature detection 🤦♂


Support aggregations on time-series

Context
There is a common need on time-series (coming from this issue https://github.com/CartoDB/cartodb/issues/10809) on not only counting a number of features but to aggregate a numeric column. Before doing so in the histogram, we should start with the time-series widget.
In the UI we would just have the same aggregation UI that we have in the analysis nodes (such as the intersect points in polygons)
More information in the original issue https://github.com/CartoDB/cartodb/issues/10809

@rochoa does this requires from your team's time?

Yes. Don't forget about https://github.com/CartoDB/cartodb/issues/10809#issuecomment-263947026.

Questions:

Do we want to support it for histograms associated with date columns (aka time-series) or for all histograms?
The aggregation (avg, sum, min, max, count) is over any other numeric column in the dataset, and not over the column that we are computing the bins for, right?

@rochoa any blockers here?

Just my two questions in the previous comment.

haha, my bad, I didn't read those 🎉

Only time-series for the moment
Being only time series I understand we are making those operations over the temporal bins selected by the user, right @stuartlynn ?

Stale issue. Closing 👋


! Here is your website

@jfmartinz Your cool website is ready . This  website dynamicaly update with  the help of api , when you add more files or delete ,
[Feature]

Dynamic Content Updates: The website automatically refreshes content through an API, ensuring that any additions or deletions of files are immediately reflected.

Integrated Readme Display: The website directly showcases the readme content, eliminating the need to visit GitHub for information.

Fix Pr #166
please lable this Gssoc 2024 and level 3

[ X] I have carefully reviewed and adhered to the contributing guidelines before creating this pull request.
[ X] I followed the prescribed PR title template. (Check this if you're adding a resource)

@jfmartinz Demo
https://github.com/jfmartinz/ResourceHub/assets/154527778/98e47866-4fda-4535-a540-a9f4ebf0e777

@jfmartinz  Please merge so that I can cheak for dynamic behaviour . and mark  this Gssoc24 and level 3

Thanks @pandeyji711


Optionally decrypt pushes for e2e rooms to display them as notifications

This means treating the push as a wake-up request to sync the real encrypted message, and then decrypting it via olm.

Already implemented


some test artifacts are not cleaning up properly

after a full test run in jenkins, dumping the database shows the following artifacts remains, which should have been cleaned up by the test fixtures:
"_id": "anon-AbzKBILHxXdrwU1q4HSRJpztpea/samplePackageprv/sampleAction",
"_id": "anon-AbzKBILHxXdrwU1q4HSRJpztpea/samplePackageprv/sampleAction",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name11_cycle",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name13_normal",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name15_withbindings",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name21_pkg/sequence_tests_name19_cycle_binding",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name28_s",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name32_z",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name34_s",
"_id": "anon-hKXrU9HHMoQczCVWT9WhTMMmkmF/sequence_tests_name21_pkg/sequence_tests_name19_cycle_binding",
"_id": "anon-woiPIBmqyJmJw8R0G8tazOFNTEe/seq_migration_tests_name8_new",
"_id": "guest/invalidateRemoteCacheOnUpdate",

and checking packages:
"_id": "anon-AbzKBILHxXdrwU1q4HSRJpztpea/samplePackageprv",
"_id": "anon-TppNj2PfPWbuUBlnZf65YY7F3L4/package_action_tests_name85",


[DOC]: update cohere docs for Python

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

N/A

New functionality

N/A

Test plan
How are these changes tested?
N/A

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?
N/A, Python code updated in documentation for Cohere

@dannyl1u thanks for opening this! (and meeting you) - is this ready?

Hi @jeffchuber yes it's ready now, sorry for the delay!

related: #2579


Sign up page ScholarX logo Issue on Safari

Describe the bug
Sign in page scholarX logo is badly stretched on Safari, but works fine on other browsers
To Reproduce
Steps to reproduce the behavior:

Go to 'localhost:3000'
Click on 'sign up'
See error

Screenshots

Desktop (please complete the following information):

OS: MacOs 11.0.1
Browser: Safari
Version: Safari 14.0.1

We don't use this page anymore.


Update Json5Parser.cs

Collected Parser some bugs.
Now it can read complex JSON like : "{A:[{},{},],}"
(and System.Collections.Generic.Stack Pushes into FIRST. Caution needed.)

Thanks for chipping in. Before we start making changes to this project, I think we should replicate the tests from the beta branch of the reference implementation.
Once we have the tests in place, we can be more confident that the changes we make will be compatible with the reference implementation and official specification.

And I'd also like to change this project to use .NET Standard 2.0 instead of .NET 4.5.

Yes, my fix may be first-aid, there is a need to review overall.

I think ,  to read ",}" as "}" (or ",]" as "]") on parsing is better solution, if it's possible.
It keeps Parsing algorithm simply.


Use newer, non-mkl, version of PARDISO

To follow up on the Slack-discussion and to not forget about it.
For more info: https://www.pardiso-project.org
From the website:

Important: Please note that the Intel MKL version of PARDISO is based on our version from 2006 and that a lot of new features and improvements of PARDISO are not available in the Intel MKL library.

In their examples this means a speed-up factor of anything between 1.7 and 26, see the comparison charts in the feature-list.

I was looking at this a little while ago when I was writing up my own cython interface to intel's pardiso. Do you know what there licensing scheme is? There seems to be at least a free single-user academic license, but what is the corporate license?

Ha! No idea. As it was in the mkl I assumed it was open-source. That was wrong. So I guess this issue is more a 'nice-to-have' request then anything realistic...
https://www.pardiso-project.org/#download

Thanks @jcapriot . I looked at it again, and there is really nothing we can to, the mkl version it is then. Closing here.


No ARD_PULSETIMEOUT_MS string

Why is there no pulse timeout  ms string? We have
msg/messages.js:Blockly.Msg.ARD_PULSETIMEOUT = 'timeout after';
msg/messages.js:Blockly.Msg.ARD_PULSETIMEOUT_MS = '';
So the user must read the manual to see that timeout is expressed in microseconds. I would suggest:
msg/messages.js:Blockly.Msg.ARD_PULSETIMEOUT_MS = 'microseconds';
Or  μs
Motivation: had an error with user having code not working. I forgot it was in microsec, value was given in millisec. The interface just puts nothing...

Thanks for pointing that out, looking at the git history that value was never populated in the "messages.js" file, and the string is also set to miliseconds in some of the translations, so I'll update that for the next update.

I've updated the pulseIn() block in https://github.com/carlosperate/ardublockly/commit/14f03657eff4b6e9fe77a48dfab1d6da99412f32
Basically changed the block initialisation from from javascript to json, as it allows interpolation of strings and fields, which is quite important for the different grammar from translated languages.
The block has changed slightly from:

to:

Thanks for the report @bmcage!


--show-disabled should only show disabled programs

This PR makes it easier to just see the programs you have disabled because right now it's not easy to figure out that.
Current output of bbrf programs:
$ bbrf programs
enabled_1
enabled_2

$ bbrf programs --show-disabled
enabled_program_1
enabled_program_2
disabled_program

Output after this PR:
$ bbrf programs
enabled_program_1
enabled_program_2

$ bbrf programs --show-disabled
disabled_program

Hello there @rst10124492,
I agree with comments regarding the disable programs. I've faced the same problem a few times.

Hello there @rst10124492,
I agree with comments regarding the disable programs. I've faced the same problem a few times.

This is what I use (a bash function)
getdisabledprograms()
{
for value in $(bbrf programs --show-disabled 2>/dev/null);
    do
        disabled=$(bbrf show "$value" 2>/dev/null| jq '.disabled')
        if [ "$disabled" == "true" ]
        then
            echo -e $value
        fi
    done
}

Hi @rst10124492 - Thanks for your work. Unfortunately I'm not entirely happy to change this behaviour, because until now the --show-disabled is always used to include disabled programs in the full result set, rather than only show disabled programs, which is in line with other flags like --show-empty-scope or --show-new. So while it may be somewhat confusing, this is working as intended. I realize the flag might have been better named --include-disabled, but I don't want to change that now to preserve backwards compatibility.
As an alternative, I have updated the CouchDB views in v1.1.10 to allow querying programs that are disabled: bbrf programs where disabled is true --show-disabled. This will show a list of only disabled programs.
I hope that helps.


How to use this player via provided script

Hi
I tried using your player via provide script
`<script` src="path/to/plyr.js"></script>
<script>plyr.setup();</script>
<link rel="stylesheet" ``href="path/to/plyr.css">`

I Put the code before ending of the  tag
and Use<div data-type="youtube" data-video-id="bTqVqk7FSmY">`
and Even put the direct url but it doesnt work
Can You tell how to actully use your player ??

Hey mate, all in the docs:
https://github.com/sampotts/plyr#quick-setup

Hi
In My wordpress site i put this script
<script` src="path/to/plyr.js"></script>
<script>plyr.setup();</script>
<link rel="stylesheet" ``href="path/to/plyr.css">

before Closing body tag as said in docs
after that i created a post and Put Youtube  code Like Provide in Docs
```
But it doesnt work

and If you got time Please Check This Url In Your Phone http://newsa2.com/poster-boys-second-song-kedi-menus-released/
Play Button doesn't work  You Need To click multiple Time thenIt work

and The Upper Problem Doesn't fix yet


fixed syntax error in catch block

updated catch block

That was intended and not a mistake.
Since the parameter in JavaScript are optional, I didn't added it, because it's not used. But I was in doubt if this is maybe an error as I saw your change. For that reason I looked in the doc:

If the catch block does not utilize the exception's value, you can omit the exceptionVar and its surrounding parentheses, as catch {...}.

So it can be left out, but also the parentheses needs to be left out. This is why I'll reject this PR.
Thank you anyway for reviewing - I really appreciate it!

This fails on node 16.16 for me. may I suggest then we remove the parentheses in catch as shown in the doc you referred doc:
If the catch block does not utilize the exception's value, you can omit the exceptionVar and its surrounding parentheses, as catch {...}. ?

What is the error message? Is that related to the parentheses?
On Fri 10. Feb 2023 at 09:09, Mubarak Ahmad @.***>
wrote:

This fails on node 16.16 for me. may I suggest then we remove the
parentheses in catch as shown in the doc you referred doc
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/try...catch
:
If the catch block does not utilize the exception's value, you can omit
the exceptionVar and its surrounding parentheses, as catch {...}. ?
—
Reply to this email directly, view it on GitHub
https://github.com/walery/stencil-product-bucket/pull/3#issuecomment-1425377023,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKFEG5V3ACWLJ6WIGGY6XLWWXZTJANCNFSM6AAAAAASWTT4FE
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

yes related to the parentheses.
` } catch () {
^
SyntaxError: Unexpected token ')'`

I'll take a look and release new version once I can reproduce.

Hmm, I'm not able to reproduce the issue. But I'm using node 19.5.0.

I had a thought today in the morning: maybe I can't reproduce is because my code is not jumping into the catch statement and so the catch is never executed and produces the error you see. So I tired it out:

This is not the case as you can see. I got the expected error message from the catch block.

I've used docker image with node 16.16 (the version you're using) to try it out. It worked as well:

For reference I'm posting the Docker setup:
Dockerfile:
FROM node:16.16

WORKDIR /foo

COPY serverless.yml serverless.yml
COPY package.json package.json

RUN npm install

ENTRYPOINT ["npx", "sls", "package"]

aws.creds
AWS_ACCESS_KEY_ID=...
AWS_SECRET_ACCESS_KEY=...
AWS_SESSION_TOKEN=...

Build it:
docker build -t walery/stencil-product-bucket/issue-3 .
And run it:
docker run --env-file aws.creds walery/stencil-product-bucket/issue-3:latest

@mubarak1988 Maybe you can double-check your setup. In case it still appears, please give some more details so that I can reproduce (and fix the bug).

@walery it works fine with this plugin version. @walery/serverless-plugin-stencil": "0.0.4" however, I get that error when I am using the latest 0.0.5 version. I am checking what changed.

Ah, you're right - I tested it under wrong version. I'll also have an additional look.

Okay, I can reproduce it with version 0.0.5. I'll take deeper look over the next days.

@mubarak1988 New version is released that fixes the issues:
https://github.com/walery/serverless-plugin-stencil/releases/tag/v0.0.6
Thanks for reporting!

Great! Thank you as well @walery !


Quick start not working..help!

Hello.
I can't know how to execute quick start..
Command is not working..( I downloaded node js and npm)
please help me..

I'm not window user so I did'nt test it but try this.
c:\path\to\naivechain> set HTTP_PORT=3001
c:\path\to\naivechain> set P2P_PORT=6001
c:\path\to\naivechain> npm start
or fix the start script in package.json
{
  ...
  "scripts": {
    "start": "set HTTP_PORT=3001 && set P2P_PORT=6001 && node main.js"
  }
  ...
}

And then execute npm start on cmd.

Hello sir.
Thank you for reply.
You helped me put in into practice.
i will send you execute photo together (In Windows version).
Thank you very much!
Have a nice day. :)
-----Original Message-----
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Sent: 2018-03-05 (월) 19:12:09
Subject: Re: [lhartikk/naivechain] Quick start not working..help! (#28)
I'm not window user so I did'nt test it but try this.
c:\path\to\naivechain> set HTTP_PORT=3001
c:\path\to\naivechain> set P2P_PORT=6001
c:\path\to\naivechain> npm start
or fix the start script in package.json
{ ... "scripts": { "start": "set HTTP_PORT=3001 && set P2P_PORT=6001 && node main.js" } ... }
And then execute npm start on cmd.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

You may run it in linux OS, it is much easier.


feat(api): API documentation with Swagger UI

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #49712

To view the documentation, start the server and visit http://localhost:3000/documentation/. One thing to note is even though if you set the session ID the page can't send the request with the cookie for security reasons regarding modifying request headers in browser(More details here https://github.com/swagger-api/swagger-js/issues/1163).
Also do we need the documentation page for production?

Also do we need the documentation page for production?

I do not think it matters much, but, if not, then a nice-to-have would be on .dev

Why would we want to enable this in production? I thought it was just a tool to help us develop the api.

We are hoping to provide a REST API for other tools to use. So, our API should be documented somewhere.


getting error like : 'undefined reference to xyz'

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:

i am buidling alexa using toolchain for aarch64 env.
while doing so i am getting error like below:
[ 74%] Built target TemplateRuntimeTest
Scanning dependencies of target MediaPlayerTest
[ 75%] Building CXX object MediaPlayer/GStreamerMediaPlayer/test/CMakeFiles/MediaPlayerTest.dir/MediaPlayerTest.cpp.o
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function operator()': /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:321: undefined reference to ShmbufReadWait'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:329: undefined reference to ShmbufReadStart' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function alexaClientSDK::capabilityAgents::callManager::test::CallAudioDeviceProxyTest::writeToSharedMemoryBuffer(ShmbufH_t*, std::vector<short, std::allocator >&)':
/home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:307: undefined reference to ShmbufWrite' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function alexaClientSDK::capabilityAgents::callManager::test::CallAudioDeviceProxyTest::TearDown()':
/home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:253: undefined reference to ShmbufDelete' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:254: undefined reference to ShmbufDelete'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function alexaClientSDK::capabilityAgents::callManager::test::CallAudioDeviceProxyTest_testDataWrittenToPlaybackSharedMemoryIsFedToMediaPlayer_Test::TestBody()::{lambda()#2}::operator()() const': /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:576: undefined reference to ShmbufOpen'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:586: undefined reference to ShmbufClose' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function alexaClientSDK::capabilityAgents::callManager::test::CallAudioDeviceProxyTest::SetUp()':
/home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:220: undefined reference to ShmbufCreate' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:226: undefined reference to ShmbufCreate'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: CMakeFiles/CallAudioDeviceProxyTest.dir/CallAudioDeviceProxyTest.cpp.o: in function alexaClientSDK::capabilityAgents::callManager::test::CallAudioDeviceProxyTest_DISABLED_testDataCanbeReadFromMicrophoneSharedMemory_Test::TestBody()': /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:443: undefined reference to ShmbufOpen'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /home/admin2/prachi/trebl-alexa_new/avs-device-sdk-1.18/CapabilityAgents/CallManager/test/CallAudioDeviceProxyTest.cpp:465: undefined reference to ShmbufClose' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_sendDTMF'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_handleAvsConnectivityEvent' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_getSipUserAgentStateContext'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_delete' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_create'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_notifyNativeCallActivated' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_acceptCall'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_isInitialized' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to SipUserAgentInterface_unmuteOther'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: ../src/libCallManager.so: undefined reference to `SipUserAgentInterface_notifyNativeCallTerminated'
and so on.....
What is the expected behavior?

What behavior are you observing?

Provide the steps to reproduce the issue, if applicable:

Tell us about your environment:

What version of the AVS Device SDK are you using?
  <x.y.z>

Tell us what hardware you're using:

[. ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[.
alexa_log1.txt

] Linux

[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ ] Other - tell us more:

hello @prachipsutane
Taking a look at the logs it looks like you are compiling with the comms option enabled (-DCOMMS=ON) but you are not providing the path to the comms library. Can you please check if you are passing that toggle as ON? Additionally please provide the cmake command used when generating the makefile.
Regards

Hello Alexandre,
i have used these settings:
-DCOMMS=ON
-DCOMMS_LIB_PATH=$SRC_PATH/CapabilityAgents/CallManager/lib/libAlexaCommsLib.so
-DCOMMS_INCLUDE_DIR=$SRC_PATH/CapabilityAgents/CallManager/include/
new errors are generating.
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: warning: libresample.so.2, needed by /avs-device-sdk-1.18//CapabilityAgents/CallManager/lib/libAlexaCommsLib.so, not found (try using -rpath or -rpath-link)
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /avs-device-sdk-1.18//CapabilityAgents/CallManager/lib/libAlexaCommsLib.so: undefined reference to res_GetXOFF' /opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /avs-device-sdk-1.18//CapabilityAgents/CallManager/lib/libAlexaCommsLib.so: undefined reference to res_SrcLinear'
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: /avs-device-sdk-1.18//CapabilityAgents/CallManager/lib/libAlexaCommsLib.so: undefined reference to `res_Resample'
complete log file attached
avs_build_error.txt
Thanks for help.

cmake command is: =
cmake -g -DCMAKE_TOOLCHAIN_FILE=$BUILD_PATH/build/toolchain.cmake $SRC_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DKWD=ON -DGSTREAMER_MEDIA_PLAYER=ON -DPORTAUDIO=ON -DPORTAUDIO_LIB_PATH=$LIB_PATH/libportaudio.so.2.0.0 -DPORTAUDIO_INCLUDE_DIR=$INCLUDE_PATH -DAMAZONLITE_KEY_WORD_DETECTOR=ON -DAMAZONLITE_KEY_WORD_DETECTOR_LIB_PATH=$LIB_PATH/libpryon_lite.a -DAMAZONLITE_KEY_WORD_DETECTOR_INCLUDE_DIR=$INCLUDE_PATH -DAMAZONLITE_KEY_WORD_DETECTOR_DYNAMIC_MODEL_LOADING=ON -DBLUETOOTH_BLUEZ=ON -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DACSDK_EMIT_SENSITIVE_LOGS=ON -DBLUETOOTH_BLUEZ_PULSEAUDIO_OVERRIDE_ENDPOINTS=ON -DCOMMS=ON -DCOMMS_AUDIO_PROXY=ON -DCOMMS_LIB_PATH=$SRC_PATH/CapabilityAgents/CallManager/lib/libAlexaCommsLib.so -DCOMMS_INCLUDE_DIR=$SRC_PATH/CapabilityAgents/CallManager/include/ -DCURL_LIBRARY=$LIB_PATH/libcurl.so.4 -DCURL_INCLUDE_DIR=/opt/fsl-imx-xwayland/5.4-zeus/sysroots/aarch64-poky-linux/usr/include/

Addition:
libAlexaCommsLib.so.3.2.15 and libresample.so are in same folder

HI @prachipsutane,
/opt/fsl-imx-xwayland/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/aarch64-poky-linux/gcc/aarch64-poky-linux/9.2.0/real-ld: warning: libresample.so.2, needed by /avs-device-sdk-1.18//CapabilityAgents/CallManager/lib/libAlexaCommsLib.so, not found (try using -rpath or -rpath-link)
This error from your logs indicates you are missing the libresample dependency. Please make that available to the build and then retry.

I am closing this issue due to inactivity.  If you have further questions, please open a new ticket and refer to this closed one.


How to run?

I just found this by googling.
How do i get this to run?
Sorry for the noob question.
Greetz

Ich würde gerne Gabriel Knught 3 modden und glaube Ihr Tool könnte mir helfen.

Hallo!!! Entschuldigung, dass ich nicht früher geantwortet habe. Ich werde auf Englisch antworten, damit mehr Leute es lesen können...
All you need is a C compiler + make... In a mac you just have to install "Command Line Tools" and run make in the Terminal.
In Linux you need some C compiler (GCC or Clang), and then run make. Depending on your distribution you'll have different options.
In Windows I recommend either using "Linux Subsystem for Windows" or downloading some binary Clangs. I'm pretty sure in the web you'll have better tutorials than me, it's been a while since I last used Windows!
After running make you will have either a gk3 file or gk3.exe in Windows (I believe in Windows you have to rename gk3 to gk3.exe, unsure about that).
Running it will show a list of all files. You can run for example gk3 something.bmp to extract the something.bmp file


feat: cross platform ndi5

Updates NDI to 5.1.1
I only gave receiving a quick test on linux (x64), havent tried other platforms.
Mac (arm64 and intel) and windows (x64) build and run
Builds on #15
Replaces #2, #4

I have updated the libs for mac and windows, and given the examples in scratch a quick test.
This might want more testing, but this is probably as far as Im going to take it for now. Nothing existing should have broken, so it would be good to consider merging

I'm testing on a mac m1 and I'm noticing a couple of things....
-main thread is blocked during find operation
-find wait time is disregarded...find operation always blocks for 12seconds
-sometimes find does not return sources at all

@TomKaltz thank you for these. I experience the same.
Is happening only on the arm64 arch?

Does master behave differently? It doesnt look like anything to do with finding was changed in this pr, so unless behaviour inside the ndi library changed it is likely you are finding pre-existing issues

I will try to find time to test on mac intel.
In the meantime I’ve resorted to using node_mdns for NDI discovery and it
works very well.
On Sat, Apr 9, 2022 at 08:49 Julian Waller @.***> wrote:

Does master behave differently? It doesnt look like anything to do with
finding was changed in this pr, so unless behaviour inside the ndi library
changed it is likely you are finding pre-existing issues
—
Reply to this email directly, view it on GitHub
https://github.com/Streampunk/grandiose/pull/18#issuecomment-1093994067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWT6IIH6Y6MZQ7GW34RMKDVEF4HDANCNFSM5QQFO62A
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Thomas Kaltz III
Sent from Gmail Mobile

Hi ! Thx for all ! But, I'm trying that on my mac (intel / catalinia) and I don't understant how to use yours because :
"npm install --save grandiose" don't work... and I coundn't having the module grandiose to require it !
NOTA : I'm a nioub in js...
Thx

I tried to bypass installing grandiose via npm, and put manually yours in node-modules after installing bindings, but now I have this error :

Could you help me ?
Thx in advance

You can install my version directly from github by setting the version in your package.json to be:
"grandiose": "github:julusian/grandiose#feat/cross-platform-ndi5",

Oh thx !  Now it works without errors but now your simple exemple don't find any NDI streams :

Whereas I have a Resolum NDI output stream, fund by NDI tools !
I have a mac os (intel) catalina !
Sorry to disturb you, but this library will be so good for my artistic project...

Hi @Julusian,
thanks for this great PR. Since it does not look like this is going to be merged soon, I'd like to build on top of your fork. Would you mind enabling issues for your repository?
Merry Christmas 🎄

Great news, thanks @Julusian!


Fix server validation msg to show correct ThirdParty server type

Codecov Report

Merging #1047 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##             master    #1047   +/-   ##
=========================================
  Coverage     99.43%   99.43%
- Complexity     2296     2298    +2
=========================================
  Files           349      349
  Lines          6327     6328    +1
  Branches        365      365
=========================================
+ Hits           6291     6292    +1
  Misses            5        5
  Partials         31       31

Flag
Coverage Δ
Complexity Δ

#unittests
99.43% <100.00%> (+<0.01%)
2298.00 <2.00> (+2.00)

Impacted Files
Coverage Δ
Complexity Δ

...sera/config/constraints/ServerConfigValidator.java
97.14% <100.00%> (+0.08%)
12.00 <2.00> (+2.00)

Continue to review full report at Codecov.

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


Small parsing fixes

This PR adds two small parsing fixes:

The REGEX frontend can now parse member functions where the result variable has a specified kind
Statement function result variables are now allowed to share a declaration with other variables

With these changes, Loki can successfully parse the refactored LAPINEA/LAPINEB kernels.

Looks great now, merging!


Not actually a nonlinear problem?

Problem set up is:
        if self.mesh.geometric_dimension() == 1:
            self.L = (dot(self.v, ((self.w_ - self.w) / self.Dt)) * dx -
                      dot(self.v.dx(0), self.F) * dx +
                      (dot(self.v('-'), self.NegFlux) + dot(self.v('+'), self.PosFlux)) * dS +
                      dot(self.v, self.BoundaryFlux) * ds +
                      (dot(self.source, self.v)) * dx -
                      (dot(self.v('-'), self.delta_minus) +
                      dot(self.v('+'), self.delta_plus)) * dS)

        self.problem = NonlinearVariationalProblem(self.L, self.w_, nest=False)
        self.solver = NonlinearVariationalSolver(self.problem,
                                                 solver_parameters={'ksp_type': 'cg',
                                                                    'sub_pc_type': 'bjacobi',
                                                                    'pc_type': 'ilu'})

AFAICT, this is a linear (rather than nonlinear) problem.  Moreover, is it not an explicit scheme, so all you're doing is inverting a DG mass matrix each RK step?
If I have this right, you can go a bit faster by using a LinearVariationalProblem/LinearVariationalSolver combo and use these solver parameters:
solver_parameters={'ksp_type': 'preonly',
                              'pc_type': 'bjacobi',
                              'sub_pc_type': 'ilu'}

I tried this setup. However it gives the error: The Jacobian is not in the correct form. FYI I have separated the left and right sides of self.L and put these two as the LHS and RHS arguments in LinearVariationalProblem

Ali,
There is a different interface for linear problems, you use TestFunction
and TrialFunction, instead of TestFunction and Function. Can you check out
some of the Firedrake examples?
cheers
--cjc
On 9 August 2016 at 21:15, Alastair Gregory<EMAIL_ADDRESS>wrote:

I tried this setup. However it gives the error: The Jacobian is not in the
correct form. FYI I have separated the left and right sides of self.L and
put these two as the LHS and RHS arguments in LinearVariationalProblem
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firedrakeproject/flooddrake/issues/9#issuecomment-238676882,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF0q8hUSdOHRT-T5ZgieEdVPIKGO4fFsks5qeN_6gaJpZM4JgE7z
.

--
http://www.imperial.ac.uk/people/colin.cotter
www.cambridge.org/9781107663916

Rather than reformulating, you can get the jacobian by doing J = derivative(self.L, self.w_).
Alternately, you can do:
problem = NonlinearVariationalProblem(...., constant_jacobian=True)
solver = NonlinearVariationalSolver(problem, solver_parmeters={'snes_type': 'ksponly',
    'ksp_type': 'preonly',
    'ksp_rtol': 1e-8,
    'pc_type': 'bjacobi',
    'sub_pc_type': 'ilu'})

The first part tells the nonlinear solver not to reassemble the jacobian (because it's constant).  The second part tells petsc to use a "ksponly" (i.e. linear) nonlinear solver and to use just one application of ILU to invert the operator.  Because the DG mass matrix is decoupled between cells, zero-fill ILU is an exact inverse.

Solved it by turning it into a linear problem. This will be pushed in next pull request.

Normally you should close issues after the fix has landed in master.

Indeed, and it had

See master


*: use shutdown to close snapshot conn gracefully.

We can use shutdown write first after receiving the whole snapshot, see http://www.gnu.org/software/libc/manual/html_node/Closing-a-Socket.html .
@ngaut @BusyJay @disksing @tiancaiamao

LGTM

LGTM


listFilesRecursive loops on symlink loops

Yep, that is almost inevitable. Any recommended suggestions? Documentation seems like a minimal first step.

I added a note to the docs.

I'd suggest that it doesn't follow symlinks. It seems weird to me that it could return the filepaths parent (if it would return).

That seems a plausible option, using https://hackage.haskell.org/package/directory-<IP_ADDRESS>/docs/src/System-Directory.html#pathIsSymbolicLink. Would you list files that are symbolic links? Or just not follow directories that were?

I'd just not follow directories. This will avoid the most severe class of bugs.
I can imagine that at least someone already did the following:
listFilesRecursively >>= mapM_ removeFile

If you have symlinks to the root or similar, then you probably get away with it because listFilesRecursively will loop forever...
The behaviour of not following inside directories which are symlinks seems reasonable to me.


[NFR] Server templates or saving

Problem:
When you have one server to deploy many projects, it's very annoying to copy-paste whole server configuration every time.
Solution:
Allow to choose server settings from templates or already used servers. In fact, all we need to change in such situation is project_path.
I guess this could be done within one business day. @REBELinBLUE, would you accept that challenge? :)

Someone has actually done a PR for server "templates" which is now in master but there are some changes I want to make to it before I release it, just a bit swamped with other stuff at the moment :|

Yeah, found them. But can't figure out idea about not including user in that template and probably default part of path.
What are you going to change there?

Sorry, been very busy the last few months. I am completely rewriting it as I don't like the way it is done. "Shared servers" will be just that, if you change a setting it will apply to all projects rather than new ones as with the "server templates" that are currently there. Shared servers will have all the usual details, name, address, port, username and path. Username and path will be possible to overwrite on a per project basis


for_url receive &str as a argument

format code with rls and fix issue https://github.com/inejge/env_proxy/issues/2.

i will update the pr, if there is something is not what you want.

Thanks for the PR, but I'm afraid that I can't accept it as is, chiefly because it introduces a breaking change -- different public function signature -- without bumping the version of the crate according to the Rust interpretation of semver. (Aside from that, I prefer when the changes of this magnitude are broken up in a series of smaller commits, which makes reviewing easier.) I only have intermittent internet access atm so I can't offer a detailed review. I'll try to get back to this sometime next week.

update this pr, introducing for_url_str instead of change the existed for_url.

Can we please merge this and release a new version? See rustup workaround and https://github.com/killercup/cargo-edit/pull/179.

Thank you!


mdMenu add menu markup template to component not root of page

Feature request
Is it possible to add menu(overlay with buttons) to parent component not root of page? If it is in root I cannot access it in unittests from fixture.nativeElement.
Maybe is another way to unittest menues?
In advice thanks for help!

@Miziak The overlay is connected to the root of the page to ensure its stacking context is correct. Moving it to the parent component would unfortunately break this guarantee.
I understand the unit testing pain, though. If you provide your own overlayContainer element in your unit test, you should be able to query it directly for the menu and its children. You can see some examples in the menu spec here.


Add details to map list

As a user accumulates maps, it would be useful to have some additional details shown for each map in the list. Currently this is just a list but we should make it a table to hold the additional details:

AC:

Convert map list into table
Map table contains details:

Name
State
Chamber
Last edited

@kshepard Is all of this information available on the page already or does it need more work to get the necessary info?

On projects, we aren't currently storing the chamber that was used to create it, only the number of districts. We also don't have a last edited column, only created.


IntPredicateFilterReader

When using AbstractCharacterFilterReader, there are currently three options:

Use CharacterFilterReader, possibly nested.
Use CharacterSetFilterReader.
Extend AbstractCharacterFilterReader and implement filter.

Given that the filter method can easily be implemented using an IntPredicate, I've created class IntPredicateFilterReader that allows one to easily create a filter reader that omits whitespace:
new IntPredicateFilterReader(reader, Character::isWhitespace);

Note that this PR depends on (and includes the changes for) PR #226, as the unit tests triggered the infinite loop reported in that PR with the "filter all" predicates.

Please rebase on master.

@garydgregory done. I've cherry-picked the actual commit, since rebasing re-added the commit from PR #226.

@robtimus
Please see master for a variation of this PR which does not add a new class.

That indeed makes this PR obsolete.


multierror: Add support for errors.Is()

What this PR does:
This allows to use multierror.MultiError with errors.Is().
MultiError will in turn call errors.Is() on every error value.
Which issue(s) this PR fixes:
Fixes #
Checklist

[ ] Tests updated
[x] CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

I would expect a test here.

I added some tests, PTAL @pstibrany


Adding Page Attributes

If you go to a page, click the gear icon in upper left, select Attributes, add a new attribute and click Save.  The next time the page loads you get the blue Page is Pending Approval box. Shouldn't the save be sufficient?

I also find this process confusing at times - it either lacks some sort of feedback about what state the page is left in, or the word 'Save' is confusing.

In general this should close the panel and make it so that you have to check the page back in.

It does close the panel, but unless you know this or remember to publish the page again your changes are not there.  Why not a Save and a Publish button on the bottom of the page when you are changing Attributes, so you could do it all in one push of Publish? Some pages have that, or have the panels switch so you see the Publish button.

This works exactly like in 5.6 – it just doesn't do one crucial thing; when you save, it doesn't force you to check the page changes back in.
Any panels that create new versions of pages ought to force you to check your changes in when you're done, so that you don't accidentally leave a page unapproved.


Adding callback on CubeTexture and a CubeTexture Loader Task

Adding a CubeTexture loader task following the logic of the texture loader task

Seems great so far. But can you please just merge *.ts files?

The merge isn't automatic when I have no conflicts ?

Merges are not automatic :) I need to bless them (me or someone from the core team)
My ask was: Please update yoru PR to not merge .js files :)

Hum something went wrong as your PR contains no file now :)

That should be good now. Didn't knew if i needed to comit the d.ts file, cause it's a generated one, but still a ts. We will see.

That's fine:)
Just last ask: please credit yourself in the readme: https://github.com/BabylonJS/Babylon.js/blob/master/dist/preview release/what's new.md

Thanks !


Plugin system implementation

This PR introduces the plugin system implementation for Altair, starting off with the sidebar plugin implementation and a sample plugin already implemented. The plugin system is behind a config option enableExperimental that needs to be set by the user to see the enabled plugin.
This config is used to enable features still under development, and at the risk of breaking the application due to bugs that might exist. This config is to allow for quick and early feedback for new features to be gotten from the developer community before releasing the features after they have been properly tested, at least to some extent.
This is the first step in implementing pending features like #534, #750 and #746.
There are potentially better ways of implementing an extension based system, and I would be happy to learn about such. However, this is the best solution I could come up with following my research into implementing plugin systems.

Deployed at: https://plugin-dev-2-branch-altair-imolorhe.surge.sh/


EBD-562: Ambiq RTC driver

Added driver for the Ambiq RTC. This only works on the Apollo3 platform right now. Tested via the Zephyr unit tests with the only failure being the test_y2k test due to the measured time and expected time being off by 200 msec. I've gone through and deemed this due to the accuracy of the k_sleep function and not a failure in the code. This was confirmed by adjusting the kernel tick frequency and seeing the error reduce as the frequency decreased.

The following west manifest projects have been modified in this Pull Request:

Name
Old Revision
New Revision
Diff

hal_ambiq
d176b56849bbe2e23487af01833152ac234cb848
2ea4f4640685cdcebe6ca10f9fc4b02e0c9f8368
N/A

Note: This message is automatically posted and updated by the Manifest GitHub Action.


extension manager isn't working

Prerequisites

[+] Can you reproduce the problem with Debug -> Reload Without Extensions?
[+] Did you perform a cursory search to see if your bug or enhancement is already reported?
[+] Did you read the Troubleshooting guide?

Description
Cant install any extension from fancy gui, brackets thumbnail keep spinning forever. Meanwhile if i just move extension zip to folder with extensions, it will work fine.
Versions

Could you open the Developer Tools before opening the Extension Managere and report here if there are any issues?


Podspec version 10.

Hi,
In the IOS podspec the minimal ios version is defined as version 10.
s.platform  = :ios, "10.0"

Most react native project have >= 9.
Is there a specific reason to put the version on 10 because in that case many people have to upgrade their project to use the library.

Hello @lassecapel
Yes, the reason for that is because of the library LoginKit from Snap kit
(https://docs.snapchat.com/docs/login-kit) has as requirement iOS 10+
Requirements
Client ID from the developer portal
iOS version 10.0+

thanks


Initial Locate Popup

This issue has the goal to implement a first version of the locate popup that is functional but does not yet contain all features.
Description

The user should be able to open the popup via "Ctrl + L"
The user should be able to select a criticality
The user should be able to select a license in an auto-complete single-select

these two filters are independent

The user should be able to press "apply" with the following effects

The popup closes
The resource tree is highlighted accordingly
There is an icon indicating that the location feature is active and there are filter selected. Clicking that icon opens the popup.

The user should be able to press "cancel" with the following effects

The popup closes

Mock:

Part of release: https://github.com/opossum-tool/OpossumUI/releases/tag/OpossumUI-2023-09-27


Desktop search plugins documentation

https://mozilla-l10n.github.io/documentation/products/searchplugins/setup_searchplugins.html has a bunch of legacy information that's not relevant anymore, right?
CC @flodolo

Actually, the document should be updated.
The summary at the beginning is likely hard-coded, and wrong at this point. Is there anything else that needs to be changed in the doc?

Wait, the summary is not obsolete.
I left the Wikipedia part there, because it's still useful when filing bugs for brand new locales. Same goes in case we need to create new searchplugins and need icons.

Update was done here
https://github.com/mozilla-l10n/documentation/pull/190
If you find any specific detail that needs to be updated, please reopen.

(Still going to reorganize the doc a bit, because the currently structure is a bit confusing as a result of all the cuts)

I see at least a couple of things that should be updated, keeping issue open for now :)


DO NOT MERGE: Crm457 955 gov uk feature flag (Proof of Concept)

Description of change

Add govuk_feature_flag gem as an engine
Apply basic config for engine
Create a feature flag for omniauth_test_mode
Use flag as a replacement for environment variable

Link to relevant ticket
Notes for reviewer
Screenshots of changes (if applicable)
Before changes:
After changes:
How to manually test the feature

closing as stale and has been implemented int another form


dependabot isn't currently recommending updates for all dependencies

Is your feature request related to a problem? Please describe.
At present dependabot isn't recommending updates for all our dependencies. Had to fix a problem with pre-commit in #576 that was due to us using a version that was 2 major versions behind. My guess is this is because dependabot only checks dependancies in the main poetry group.
Describe the solution you'd like
@davidorme suggested (based on this) that adding allow: - dependency-type: all to the dependabot config should fix the problem.

Yeah - i was just thinking the same. Don't know why pre-commit got skipped.


Ionic2 slider not working with latest version of wkwebvje

Slider unresponsive when updating to latest version

I dont have problems with the slider here.
global packages:
@ionic/cli-utils : 1.0.0-rc.0
Cordova CLI      : 6.5.0
Ionic CLI        : 3.0.0-rc.0

local packages:
@ionic/app-scripts              : 1.3.6
@ionic/cli-plugin-cordova       : 1.0.0-rc.0
@ionic/cli-plugin-ionic-angular : 1.0.0-rc.0
Ionic Framework                 : ionic-angular 3.1.1

System:
Node       : v6.9.4
OS         : macOS Sierra
Xcode      : Xcode 8.3.2 Build version 8E2002
ios-deploy : 1.9.0
ios-sim    : 5.0.13

This plugin just uses the WKWebView API provided by Apple, we dont actually implement anything, if this is a bug it is in the framework or in your own code.


Cannot render BitmapFont text onto Texture/Pixmap instance

Cannot render BitmapFont text onto Texture/Pixmap instance. This is required for caching of the rendered text. It also should greatly increase the speed of rendering the entirely of the text in the case of longer sentences. Resolving this would involve either hacking the gdx BitmapFontCache object, implementing my own, or modifying the gdx codebase to support such operations (which mainly involves rendering the glyph textures onto one parent texture)

239513be89bedd1916387e0e22ecaec9af3cf0b9


Add a GHA to check updates to the custom_logger

Depends-On: https://github.com/openstack-k8s-operators/telemetry-operator/pull/394

maybe we should have a separate folder called validation or something if we plan to merge t to the master instead of adding it inside the ci, its a little bite confuse.

I don't understand what you mean.
merge to master instead of adding inside the ci?
We're both adding to ci and merging that addition to master.

maybe we should have a separate folder called validation or something if we plan to merge t to the master instead of adding it inside the ci, its a little bite confuse.

I don't understand what you mean. merge to master instead of adding inside the ci? We're both adding to ci and merging that addition to master.

I mean test_logger.yml and test_logger_expected is not related to the zuul ci, so in my opinion its better to have them in a separate folder

I mean test_logger.yml and test_logger_expected is not related to the zuul ci, so in my opinion its better to have them in a separate folder

You have a point about separating GHA and zuul pieces.
I will look into how the directories are typically structured for GHA, however, it might be a case of using a ci/github/ directory if I cannot find satisfactory guidence. Will adding the ci/github/ directory satisfy your request for separation of zuul and GHA components?

recheck

Build failed (check pipeline). Post recheck (without leading slash) to rerun all jobs. Make sure the failure cause has been resolved before you rerun jobs.
https://review.rdoproject.org/zuul/buildset/5251c11ea4d44d0296547f6c82def066
✔ openstack-k8s-operators-content-provider  SUCCESS in 1h 40m 11s ❌ functional-tests-on-osp18  FAILURE in 1h 20m 40s

I think this failure was due to the infinite ceilometer reconcile loop.
Jaromir resolved that here: https://github.com/openstack-k8s-operators/telemetry-operator/pull/394
Since that PR is merged, I'll sync to main, and see if that resolves the issue

recheck

recheck

recheck