Hovrly contacting a foreign trading site? (mql5.com)

Any reason that Little Snitch is reporting Hovrly contacting a random foreign trading site (mql5.com)? Feels iffy...

@jsnoble7 hi! we use https://www.finteza.com for tracking daily online users.
Documentation for integration: https://www.finteza.com/en/integrations/insert-code#example

code: https://github.com/tarutin/hovrly/blob/master/app/templates/index.html

Fair enough - definitely get that you’re just following Finteza’s documentation.
But have you visited mql5.com? Does it not seem odd that a site trying to help you track daily users is asking you to pull js from a site filled with crypto and trading info?
I’m not a dev at all… but that feels shady af. Something to reconsider to maintain trust of users?
Anyway, I’ve just blocked the domain on Little Snitch, but if definitely doesn’t feel right imho.


Support nested .babelrc

Thanks a lot for this package!
It'd be great to support searching nested .babelrc configs too, because some projects has different resolving strategies in subfolders.
And I think that it also should resolve https://github.com/nkt/atom-autocomplete-modules/issues/57

Hi, I haven't use Babel for a long time. Let alone this test case.
So can't help to confirm it works, so I'm going to take your word for it :grinning:
And can't blame you there's no test for it. (something I plan to do, to refactor to help ease unit testing.)
LGTM! Will merge it when I get to a computer.

Hi, thank you a lot!
yeah I'm sorry that there are no tests, but it certainly requires a noticeable amount of time to refactor and build-up test infrastructure around here
anyway looks like it works, thanks again! 😄

Hi @AlexSaenen would you like to give a try and see if it works now?
@lttb just to let you know the pkg has been refactored and test suites added! Let me know if the babel routes are correct as I don't use it extensively.
Cheers!


The Avengers: Infinity NaNny: JSON-serialize +/- infinity and NaN as null.

Before now, we were serializing these as their Scala string equivalents. This
meant only JavaScript when evaling JSON as actual JavaScript could deserialize
it. lift-json itself couldn't deserialize the serialized special values, in fact.
Still an open question on the list:

[x] Should we provide a Formats toggle for this behavior?

This is a fix for #1780.

After thinking about this a bit more and reading a little on what jackson is doing (and a proposal for additional customization in their renderer), I decided to do a touch more legwork.
First off, we hook into RenderSettings, not Formats, since this happens during rendering rather than during composition to the JSON AST. Secondly, we provide a customizable doubleRenderer, which defaults to the new null rendering for special values. And finally, we add two variants here, one that renders doubles as-is, and one that will throw an IllegalArgumentException when attempting to render a special double value. This allows a little more customization for folks who may want to actually blow up when code attempts to render something their clients wouldn't expect to see.

Hit those requested changes.

Your changes look good. Once we land in agreement on the comment we're discussing above, I'm good.


update readme to use --write-mode=check instead of --check

--check just gives me:
Unrecognized option: 'check'

@data-pup

The docs are correct, I think you must be using an old version of Rustfmt - are you using rustup?

Yeah, I was installing rustfmt with the recommended command from this readme (rustup component add rustfmt-preview). Which leaves me with this:
$ rustfmt --version
rustfmt 0.6.1-stable (49279d7 2018-05-08)

Then it is just that the changes haven't landed on stable yet. The README matching the stable tag is correct, although that is a little deeper than one ought to dig

Ah, I see. Thanks for explaining. (I don't know enough about how stable and nightly are managed in this repo to suggest a good solution here...)


IntelliJ fix "create toplevel function" will not respect renamed import.

Given import ceylon.json { JsonObject }, the auto created function still uses Object instead of JsonObject.
JsonObject content_json = ...;
String version = meta(content_json);

Auto created:
function meta(Object content_json) => {}

What version of the plugin are you using? (you can see it in Preferences > Plugins > Ceylon IDE

FTR the current master produces this (correct) function:
String meta(JsonObject content_json) => "";

But it doesn't take import aliases into account:
import ceylon.json {
    JsonObject=Object
}
JsonObject content_json = nothing;
String version = meta(content_json);

produces
String meta(Object content_json) => "";

But it doesn't take import aliases into account:

That's what I mean. Sorry I mistyped import ceylon.json { JsonObject }, should be { JsonObject = Object }

OK, you'll have the fix in next night's build.


Using pipeline in Codis may cause disorderly execution of the same key.

Is this a regression?
Yes
Description
Currently, Codis uses the ReceiveTime of Request to specify the backedConnect. However, if there are multiple parallel Backed Connects, there is a risk of disorder. Therefore, it is necessary to use slotid to select backedConnect in order to ensure the order of the same key.
Please provide a link to a minimal reproduction of the bug
No response
Screenshots or videos

Please provide the version you discovered this bug in (check about page for version information)
No response
Anything else?
No response

Reopen this Issue, Cause the problem it related is not completed fixed, This issue requires another PR to do the further fixing.


SWAP FUNCTION ERROR.

Describe the bug
The swap function only works for WETH and USDC the rest are reporting failed transaction.
Steps to reproduce

Spam policy

[X] I verify that this issue is NOT SPAM and understand SPAM issues will be closed and reported to GitHub, resulting in ACCOUNT TERMINATION.

ok i can  provide to this repository if yuo can assigne to me please .
thanks

Yes, this issue is still pending. Hope it gets fixed soon


Delayed adstock affect?

Hello,
What is your opinion about modeling more down funnel metrics?  For instance modeling Website Visits vs Sales?  Website Visits is fairly straight forward and doesn't involve much adstock or delay, However Sales often have much longer adstocks and can peak weeks later.  It seems neither the Geometric nor Weibull functions have a variable for delay and might only be intended for upper funnel metrics?
Thanks

Hi you're right about this. Both geometric and weibull transformations always peak at period 1. We do consider adding one more adstocking option in the future. It's just so far there's not much request on this feature and therefore we've deprioritised it. In the practise, we see this challenge rather in high-value products like cars, which are not yet the primary users for Robyn. But yes we do have this on the wishlist.


Allow to configure cookie domain and cookie name

This looks good to me.

@zsherman any comments?

Looks fine to me.


background added

i have added the background picture.

@aanchalrakheja Since we have other plans for the UI of the homepage, I'm afraid we can't go ahead with this PR right now. We're sorry for the inconvenience!


Rename file to prevent exception during db:setup

Change file name to match class name to fix this loading error during rake db:setup:

Failed to determine model from app/models/validators/vehicle_recalls_and_faults_validator.rb:
            NameError:uninitialized constant VehicleRecallsAndFaultsValidator

Thanks for fixing this @robmckinnon!


Initializing a map with zoom > 14 prevent it from rendering

In my app i save map position /zoom to open back at the same position.
It triggered a bug in Carto Mobile SDK.
If i open my app, and immediately set the zoom to 15, then my carto layers wont render.
For a while i thought it was me, but i now understand why the 15.
I think it's related to DEFAULT_MAX_ZOOM and carto online datasources maxZoom beeing set to it. If the map starts with a zoom past maxZoom, then the datasource/layer do not render. Wont even render on map move. You need to zoom out < maxZoom for the map to start rendering.
I did not test it yet with carto mobile sample apps. As usual i am working with a wrapper around Carto Mobile SDK in Nativescript

This is quite unlikely to be a bug in the SDK. SDK does not ask query data sources for tiles with zoom > tileDataSource.max_zoom_level. Could come up with a sample demonstrating this?

@mtehver thanks for answering this.
Found out more about that bug. It is actually an issue with the new OrderedTileDataSource
Managed to reproduce it in the Android Kotlin sample app.
i modified the PackageDownloadActivity  by adding this in onResume
val dataSource = com.carto.datasources.OrderedTileDataSource(
                com.carto.datasources.PackageManagerTileDataSource(contentView?.manager),
                com.carto.datasources.CartoOnlineTileDataSource("carto.streets")
        );
        val layer =  com.carto.layers.VectorTileLayer(dataSource, com.carto.layers.CartoOnlineVectorTileLayer(CartoBaseMapStyle.CARTO_BASEMAP_STYLE_VOYAGER).tileDecoder)
        layer.isPreloading = true
        this.mapView.layers.add(layer)
        val washingtonDC = this.mapView.options.baseProjection.fromWgs84(MapPos(-77.0369, 38.9072))

        // Set specific focus, zoom, tilt and rotation for an optimal initial view
        this.mapView.setFocusPos(washingtonDC, 0.0f)
        this.mapView.setZoom(17.0f,0.0f)

Make sure you disable the default onlineLayer or you will see this layer.
Now when opening the Offline Map activity the map wont render until you zoom out under 14.
I will try to setup your iOS dev env and see if i can fix this

This should be fixed in 4.2.0RC1, OrderedTileDataSource did not properly forward 'replace with parent flag'. Closing it.


WIP: BREAKING: CallCounter: Add initial support

Gathering feedback. I don't know much of TS and I also want to keep this simple-ish.
This implement a basic api call counter per minute, hour and day in order to avoid calling the OWM server if we are above the limit. This PR should be considered breaking change as users that are not on the free plan need to put custom limits.
There is a timeout function called every minute to clear a minute variable, same goes for hour and day. The counter is incremented in makeRequest method.
I realized after the commit I did a small oopsie. The One Call API have different rates. I'm not sure how to make the options so it's not too confusing.
The purpose of minute and hour is that if the server is restarted the daily counter will be lost and it's a big time frame. Using minute and hour allow us to better manage how we use the OWM limit.
New Readme section
API Call counter and limiter
By default, the selected  plan is the Free tier and plan_throttle is enabled to make sure you have enough calls to go through the month.
Plans
The the plan option to one of the following:

Type of call
Plan.Free
Plan.Startup
Plan.Developer
Plan.Pro
Plan.Enterprise

Weather API - Minute
60
600
3,000
30,000
200,000

Weather API - Month
1,000,000
10,000,000
100,000,000
1,000,000,000
5,000,000,000

One Call API - Minute
1,000/day
2,000/day
3,000
30,000
200,000

One Call API - Month
30,000
60,000
100,000,000
1,000,000,000
5,000,000,000

Define the plan you have with options.plan. Default is Plan.Free.
Throttle
Using OWM values, we can do 60 calls per minutes, up to a million per month. This means we could use all our available calls in 15 days or so when calling OWM non-stop. When throttle is enabled, the limits are calculated based on the monthly maximum calls, divided by 30 days and they by hours and minutes.
Exmaple: On the Free plan this mean we can make 1388 calls per hour and 23 calls per minutes (1,000,000 / 30 days / 24 hours / 60 minutes). When the limit is reached we do not send the request to OWM and return a TooManyRequests error.
For the Onecall API, there is no minute limiter on the free plan as it would allow for less than 1 request per minute. Hour limits are still calculated.
Custom limits
Throttle or not, feel free to set the limits you want!

A value of 0 mean this value won't be limited.
If you only provide day limits and plan_throttle is true , we will calculate hour and minute limits (Same if you set hour limits)

limits: {
  minute: 0,
  hour: 0,
  day: 0,
  onecall_hour: 0,
  onecall_day: 0
},

Fix #1

@fratzinger if you have like 10 minutes "soon" I'm not sure how to implement the logic I need.
You can check the mess I started in the makeOptions method.
If there is only manual limits set, then that's it.
If I only provide a plan, then the limits are set according to the plan.
But how do I manage if I set the plan and then a custom limits.minute for example? What is an optimal way of doing so?
Later I'll play with the throttle option where the monthly limit is split equally on each minute so we have enough API calls for the month. That should be trivial to implement as it only take the month and do some divisions.


There is a plagiarism here, just changed the logo
https://play.google.com/store/apps/details?id=lk.visual.code.mobile

Please consider making a Pull Request if you are capable of doing so.
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @du-wen-xuan, I don't think you're right, it's definitely feels like a different code editor to me. It even has different UI, so I don't see any plagiarism 🤷

The picture on Google play is not real, you should download it and take a look


Workflow

Hi,
When I understood it the right way, this is how the workflow of contributing can be (in my case with the IDE pycharm)

fork the repo (if not already forked)
Pull changes to the local repo, so that the master branch is up to date.
Create a new local branch in pycharm, where I want to add a new script.
Create a new file, which is the new script. (In my case that means: opening my local manim-fork, copy my script, then changing back to manim-gallery-fork, pasting the script)
Commit the new changes in my loal repo
Push it to the remote github fork
make a pull request to the remote github origin

I think I do it to complicated. What would be the optimal solution for the workflow?

That's pretty much it, yeah. It is also recommended by github, see their help: https://help.github.com/en/articles/creating-a-pull-request-from-a-fork

(In my case that means: opening my local manim-fork, copy my script, then changing back to manim-gallery-fork, pasting the script)

This one I don't really understand, "changing back to manim-gallery-fork". On your machine, you should have two remotes: origin, which points to git@github.com:kolibril13/manim-gallery.git, and you may add a second remote upstream, which points to git@github.com:flipdot/manim-gallery.git (git remote add <NAME> <URL>).
Now, when you want to start working on a new feature:
git pull upstream master
git push origin master
git checkout -b lissajous_curve
# work on and test the script
git add src/examples
git commit -m "Add lissajous curve example"
git push origin lissajous_curve

...and create a pull request.  The maintainers will be notified of your changes and it can be discussed if all issues were adressed. Creating a new pull request is not necessary and confusing, since the discussion will be left in the old pull request.
I hope this helps to clear up some questions. Probably it's a bit cumbersome when getting started with git, it's just a while ago I started using it, so maybe I forgot some things I take for granted - don't hesitate to ask questions :) It is also possible to check in a CONTRIBUTING.md file, maybe I should create one in the future.

Thanks for your answer!
I will try this soon!

This one I don't really understand, "changing back to manim-gallery-fork"

On my machine I have two repos (separate projects):

One is the manim repo, where all the development and animating takes place
One is the manim-gallery repo.

When I want to contribute to the manim-gallery gallery, I have to reopen the manim project to get my files copied, and then paste them into the manim-gallery project on my machine.
I see that your workflow is super useful, when it comes to complex projects, buuuut it might be a little overkill for this kind of project, where the main idea is to add single files.
So here I have another Option:
There is a "Propose new file" option, when I am in my browser in the original repo.
For me, this would be the more streight forward approach.
I will try this just now with a make_brace.py file.

Oh wow, the "Propose new file" is super clever!
It creates a new branch in my git fork, and makes then a pull request.

I have to reopen the manim project to get my files copied

Ah, I see. I've pushed manim onto pypi a while a go. Therefore, you can just use "pip install manimlib", and then use manim file.py Scene directly from the command line. If you have installed all the depencies from manim-gallery, you already have the tool installed.

I see that your workflow is super useful, when it comes to complex projects, buuuut it might be a little overkill for this kind of project, where the main idea is to add single files.
There is a "Propose new file" option, when I am in my browser in the original repo.

If I remember correctly, this button will also create a fork with a pull request. Go ahead trying it out. Also, maybe you don't need a local copy at all. As long as your file is being rendered by manim (with the version manim-gallery uses), you can go along using the online editor of GitHub.

ok, you can see it


OCM-4571 | 'go mod vendor' to fix build

@thomasmckay can we update the commit message to a correct JIRA, or even the release JIRA :pray:

/lgtm


Add workflows for CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@1facb84). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #1   +/-   ##
=======================================
  Coverage        ?   91.54%
=======================================
  Files           ?        1
  Lines           ?      201
  Branches        ?        0
=======================================
  Hits            ?      184
  Misses          ?       17
  Partials        ?        0

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 1facb84...a5ee758. Read the comment docs.


Missing Prerequisite

An organization needs to have a firewall in order to upload logs. Cloud app discovery does not work for orgs that are totally in the cloud. Please make this clear in the prerequisites.

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

ID: 8d3a8799-0915-2446-b772-cf5e3c80a238
Version Independent ID: 31f10a22-3c95-5ebe-622d-7431c5cb76f1
Content: Deploy Cloud App Security
Content Source: CloudAppSecurityDocs/getting-started-with-cloud-app-security.md
Service: cloud-app-security
GitHub Login: @shsagir
Microsoft Alias: shsagir

@DeanGross Thanks for your feedback. After investigating, we've discovered that firewalls and proxies are not a prerequisite for Cloud Discovery. For instance, Cloud Discovery uses its native integration with Microsoft Defender for Endpoints for discovery. Therefore, we respectfully decline to make this change. But, thanks again; we always appreciate feedback on our documentation.
Because we cannot change the referenced page to include the information and functionality that you're asking for, we are closing this issue. We do thank you for your input, however; we always appreciate feedback on our documentation.

@DeanGross Thanks for your feedback. After investigating, we've discovered that firewalls and proxies are not a prerequisite for Cloud Discovery. For instance, Cloud Discovery uses its native integration with Microsoft Defender for Endpoints for discovery. Therefore, we respectfully decline to make this change. But, thanks again; we always appreciate feedback on our documentation.
Because we cannot change the referenced page to include the information and functionality that you're asking for, we are closing this issue. We do thank you for your input, however; we always appreciate feedback on our documentation.

Ok, that's a fair point, but Defender for Endpoint is not listed as a prerequisite, please add this.

Ok, that's a fair point, but Defender for Endpoint is not listed as a prerequisite, please add this.


Fix octicon vertical alignment

This fixes #1072
I did a :tophat:  and everything looks :ok_hand:

UI
[xs devices] >768px

[sm devices] 768-992px

[everything else] 992px+

A minor note

while I was playing around with the styles, I noticed that the styles were not added mobile first (meaning the desktop version was styled first and then media queries were used for smaller devices)
Bootstrap was designed mobile first, so we should start with mobile and work our way up (like I have done here) :smile:
also I saw @media { min-width: 767px } in multiple places, Bootstrap provides us with 3 variables for media queries
so the above can be refactored to @media { min-width: $screen-md-min }
just something to keep in mind for future, I can open another PR and refactor the existing code if everyone is okay with that. :smile:

REVIEWERS
P.S: Please tag others who I may have missed, this is my first time opening a PR here!
@andrew

Also, I don't know why git picked up the schema.rb here, did I fuck up?

Also this fixes this issue as well:

Thanks @arumoy-shome, great pull request! I wouldn't worry about the schema.rb changes, they seem to swap depending on the version of postgres someone is running!
Any more help converting to a mobile first approach would be brilliant.
Just rerunning the tests then will merge.


CocoaPods support

Is there any chance in integrating this as a pod?

This could be done, but so far I haven't because of the dependence on numerous third-party libraries. Since I provide the library binaries as a download anyway it might make sense to provide a podspec.
Once #84 is merged I will take a look at this again.

Hi, are you still considering adding support for cocoapods ? It would be so much easier to use this library.

Reading the Podspec Syntax Reference it wasn't clear to me how to integrate external pre-built dependencies, although an Xcode run script phase could be a possibility. It may be an indictment of my build system but downloading and compiling the dependencies is a manual process and although an automated process would be nice it doesn't exist currently.
Does anyone with more CocoaPods experience have any suggestions?

Sadly I don't have this kind of experience 😅

I'm closing this issue because I recently updated and simplified the build process which should make it easier to use SFBAudioEngine.


Add check for required params

in progress
fixes #98
This is mostly a Kate's quality of life change, since I forget to set things a lot. Whether it's useful or we just forget to keep the 'required params' list up to date remains to be seen.

I re-ran the tests and it looks like this one is failing because of the function added (check_required_params) - any idea why that would happen?


perf(net): add protocol breach request timeout

Closes https://github.com/paradigmxyz/reth/issues/1067
this introduces an additional protocol_breach_request_timeout parameter for active sessions.
This is the maximum time we wait for a response, if no response arrives in time, we consider this a protocol breach and will trigger a disconnect.
cc @jonasbostoen
Changes
keep the InflightRequest object until a response arrives, but time out request internally. This allows us to treat sync requests as timed out while we continue to wait for a response. A peer may just be under a heavy load and can't keep up with requests for a short period of time.

This seems like a good solution, more in line with how geth does it. Will soon run it with all these changes and see how it goes

hmm, I guess we can increase the timeout for pings, there's no harm in bumping this a bit

hmm, I guess we can increase the timeout for pings, there's no harm in bumping this a bit

Let's go with it and tune accordingly.


python3Packages.soco: 0.26.3 -> 0.26.4

Motivation for this change
https://github.com/SoCo/SoCo/releases/tag/v0.26.4
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

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

8 packages built:

beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
home-assistant-component-tests.sonos
python310Packages.soco
python39Packages.soco
soco-cli


catch oldValue in setValue directly at the beginning

Catch oldValue in setValue directly at the beginning to make sure cha…nge events are triggered as soon as value change.
Reason: I found some Homebridge Plugins that break the whole "sending change events" process by setting the value itself in the set-handler. The result is that old and new value are the the same and no change event is triggered at all.
Example: https://github.com/YinHangCode/homebridge-mi-aqara/blob/master/parser/GatewayParser.js#L267
This change would fix this and really compare oldValue from timepoint of the setValue call with the new value

@KhaosT Do you have any opinion on this? :-)

PS: in fact it is opnly the change in  lib/Characteristic.js ... if you would accept it I can recreate the PR based on most current HAP version

Yeah looks good to me. Sorry about the long delay. Can you rebase from current master so I can merge this one? Thanks 🙏

see #687


Reserve list option on the site

As the title states, add a button on the website to add yourself to the reserve list on the website. This should make the process easier for keeping track of who's on the reserve list. This could even be extended so that the first person on the list gets enrolled automatically when someone unenrolls.

Duplicate of #12
And has been attempted in the past, but this is really tricky. See the discussion in the original issue and PR.


ci/lint: yaml formatting with prettier

Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[x] Did you write any new necessary tests?

What does this PR do?
Unify formatting of our GH actions worflows
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

blocked/pending on #155


pull request to merge fork_agrouaze/all_in_1_xarray into origin/pre-release-v0.9

the merge & push command are protected on origin so I have to create a new PR

go for merging!


Fix noline print when secret contains fmt verb

The error occurs in the printSecret function when the secret
argument contains a fmt "verb" and the noline argument is set to
true.
func printSecret(secret string, noline bool) {
	log.WithField("noline", noline).Debug("print secret")
	if noline {
		fmt.Printf(secret) // secret parsed as format string
	} else {
		fmt.Println(secret)
	}
}

By using the secret argument as the first argument to fmt.Printf in
the noline branch of printSecret, secret is used as the format
specifier in Printf. Most possible inputs to secret will not see any
problems. With any input that happens to contain a fmt verb, however,
Printf will try to parse the input as containing verbs, then actually
format successive arguments to the function. As no successive arguments
are passed to fmt.Printf, the code reachs a "Too few arguments" error
case and produces incorrect output:
secret := mysupersecret%tlkajdsf
printSecret(secret, true)
=> mysupersecret%!t(MISSING)lkajdsf

More on fmt verbs and format errors:
https://golang.org/pkg/fmt/#hdr-Printing
More on fmt.Printf:
https://golang.org/pkg/fmt/#Printf

Did you consider just using https://golang.org/pkg/fmt/#Print ?
Rather than Printf
Would this also solve the issue?

Thanks for looking this over, @wolfeidau !
Using Print would solve the issue (mentioned it in the commit message for 8035f55), but I didn't want to submit a PR without tests exposing the failure.
I'm happy to go with that approach if you'd prefer.


Unable to interact with bot in MS Team

I've followed every single instruction in this guide. I can interact with my remotely hosted (using ngrok) bot through Bot Emulator but couldn't interact through Teams. Even the rich card extension also not working. Is the code sample provided here is outdated?

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

ID: 6ea2882a-b341-b29d-e2b3-b51ea47c8643
Version Independent ID: d4807393-f610-5df6-37cf-d9975e63371c
Content: Get started with C#/.NET - Teams
Content Source: msteams-platform/get-started/get-started-dotnet.md
Product: msteams
GitHub Login: @o365devx
Microsoft Alias: o365devx

Have you successfully loaded your app package? https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/apps/apps-upload

I've got the same problem, as described above.  I have definetly uploaded the app package (the *.zip file, containing the mainfest.json and the Icons) and can access it in Teams client, the Tab is working and showing the Messages, it is also configurable. I can test the Bot using the Bot Emulator, works fine, but it is not working in Teams as expected.  Question: i had to set the Option "Use version 1.0 authentication tokens" in the Emulator Settings in order to get a response (the echo) - does this need to be set in the Teams Client somewhere also?  I am new to this TeamsAPI and just want the Bot to echo my input, but it does not - the message extension does not do anything neither ;-(  ... Thank you for your help!!!

Assuming these are C# bots, what version of the BotBuilder NuGet are you using?

Hey Bill, thank you for the answer - i am using the "Microsoft.Teams.Samples.HelloWorld.Web". The EchoBot, beeing part of the Sample is C#, that is true.  Why would i have to use the BotBuilder then? Sorry, but i dont understand.  I had figured, that the Sample would work as decribed above, so i could maybe understand more of the topic.  Acutally i am trying to get a file (in pdf format) from a message-server into a channel in Teams.  For this reason i am trying to understand the concepts of TeamsAPI.  If you have any suggestions for me to read something else, please feel free to share them with me ;) have a nice day!

@dni128 - Bot Builder is comprised of SDK and tools that enable you to build bots.  "Microsoft.Teams.Samples.HelloWorld.Web" sample uses <IP_ADDRESS> which you can see in packages.config file.
Just to be sure, few questions here:

Did you add Microsoft Teams as a channel from the featured channels list after creating your bot?

Did you test your bot in Web Chat from Bot Framework?

yes - did add the Microsoft Teams Channel.
yes - but the Test returned a "couldn't send retry"

Thank you for your time, Bill - i gave up on the topic, since it doesnt actually help my problem.  I am so little of a developer, itz a shame and because of that, i dont want to get to your nerves anymore! cheers anyway, wishing you success and luck for the future  ;)

@dni128 - Can you confirm that your endpoint is up and you have set correct App Id & App Password in Web.config file?

@Wajeed-msft - yes, i have set AppID and AppPassword to the value i got from registering in Bot Framework. About the endpoint ngrok outputs the following: https://8b52dc41.ngrok.io -> localhost:3333 ... so i guess i can confirm.  The name of my Bot is recognized by the Teams client, but then nothing happens.  The Bot Framework Emulator though sates: "Callback URL is local" - could that maybe the problem?

What is the messaging endpoint for your bot? Is it https://8b52dc41.ngrok.io/api/messages?

We have the bot messaging working, however, the messaging extension doesn't appear to work. Is there anything special that needs to be registered for it? We just receive the "Something went wrong with this app." when trying to initiate it from the chat ellipsis.

Another note, the bot messaging works only when it is a direct message. Sending the message to the bot @Hello World in a channel of a team that it was registered in does nothing. I'm not even seeing a request made to ngrok.
Secondly, the messaging extension is making a request to ngrok endpoint, however, we are returning a 401 Unauthorized. The App Id and Password look good in the web.config, so i'm at a loss. Any idea?

@bretesq - Could you please share you bot id & your bot endpoint URL? Are you using Microsoft Teams Freemium account?

I am facing the same problem as what @dni128 describe and already did what @Wajeed-msft suggested but it is still not working for me. I can chat with the bot in the Bot Emulator and Webchat but not in Teams. After doing some research, I found that the package for Microsoft.Bot.Connector.Teams is version 0.8.0. I've updated this package through NuGet manager and finally I am able to interact with the Bot through MS Teams either personal or channel! On a side note, try to check if your Microsoft.Bot.Builder version is 3.5.9 as I am not sure why mine is 3.1.x instead.

By the way, communication in MS Teams channel works only if I am hosting my Bot apps in localhost and publish it through ngrok. If I host my Bot apps on an external IIS server (with a valid public domain name), I could interact with the Bot via direct chat either normal chat or using the Rich Card function, but not in channel like what @bretesq mentioned.

@jasonchuah4 - Could you please share your bot Id? It's hard to tell what might be wrong based on the details provided.

@bretesq - Could you please share you bot id & your bot endpoint URL? Are you using Microsoft Teams Freemium account?

Sure, i'm using appid 09163ab4-bbc3-4de7-847a-eb6b7e6e4469 and messaging endpoint is https://5a8565f6.ngrok.io/api/messages
No, i'm not using the Teams Freemium, we are using E3 license w/ Teams included

@bretesq - I am not able to find bot with id 09163ab4-bbc3-4de7-847a-eb6b7e6e4469. Could you please confirm if this is correct bot id which you got from Bot Framework portal?

@Wajeed-msft hi here is my Bot ID 4be277a5-6e5a-4d8d-af1f-661c5e627034


[flutter_tools] Ensure flutter daemon clients can detect preview device

Part of https://github.com/flutter/flutter/issues/130277

@christopherfujino I'm still a little confused about what the platformType is intended to be here. In this code it's Windows:
https://github.com/flutter/flutter/blob/7171e3168d42f4dde118e8e2eba93f569e652db2/packages/flutter_tools/lib/src/preview_device.dart#L109
But in this code we're adding preview to the list of which platformTypes are supported:
https://github.com/flutter/flutter/blob/7171e3168d42f4dde118e8e2eba93f569e652db2/packages/flutter_tools/lib/src/commands/daemon.dart#L447-L449
If the intention is to use windows then I think that last bit is redundant?
However, I'm not sure whether using "windows" is the best option if we want to be able to conditionally show this per-project. We can't change which devices are available per-project, only filter by device-type. So the Preview device will always be sent to VS Code (when enabled) regardless of project capabilities, so if we want to be able to control its visibility (eg. to show it only when a project doesn't have plugins), I think it would need its own platform type.
For example maybe the preview device should have a platformType of windows-preview and then we conditionally return that from getSupportedPlatforms based on whether we know the project can run on the preview device or not?


select2_from_ajax mistakenly considers data tο be paginated

Bug report
What I did
After upgrading to backpack 5, I noticed that select2_from_ajax fields, fetched the same data, multiple times
What I expected to happen
I expected one ajax call to be made, per click (or search).
What happened
Multiple ajax calls where made, each time
What I've already tried to fix it
I found the culprit to be line 160
 paginate = data.next_page_url !== null;

If response data does not contain a next_page_url,  the code above evaluates to true
(as data.next_page_url evaluates to undefined) and mistakenly considers data to be paginated.
This can be fixed with
 paginate = (data.next_page_url||null) !== null;

Is it a bug in the latest version of Backpack?
After I run composer update backpack/crud the bug... is it still there?
Yes it still occurs. This did not happen in version 4
Backpack, Laravel, PHP, DB version
When I run php artisan backpack:version the output is:
PHP VERSION:
PHP 8.1.6 (cli) (built: May 12 2022 23:30:39) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.6, Copyright (c) Zend Technologies
with Zend OPcache v8.1.6, Copyright (c), by Zend Technologies
LARAVEL VERSION:
v9.42.2@607d7867c93706eae20e28e46679f8a66e2a23ec
BACKPACK VERSION:
5.4.10@050b288caf2f60c79313f2b0b7d4fefd25177f3f

Hello @kritsot sorry it took me sometime to get here.
I've tried to reproduce it the other day but I was not able to, I gave it another try today and still not able.
So I think I need you help here to reproduce it.
I've created a select2_from_ajax field, and tried returning paginated/non-paginated results.
public function fetchArticle()
    {
        return $this->fetch([
            'model'    => \App\Models\Article::class,
            'paginate' => false, // removed this to get paginated results
        ]);
    }

In paginate mode the field display a loading more, and loads more X entries when I reach the end of the scrollbar:

When I disable pagination, I get the total entries return by the query, as you can see from the size of scrollbar in the options.

Please make sure you don't have your select2_from_ajax field overriden in your resources folder and is preventing you from getting the updated version from the package.
Cheers