Filtering on calculated values

Hi
Thanks for sharing this lib, I read many times your posts especially https://dynamic-data.org/2014/12/21/trading-example-part-4-filter-on-calculated-values/
However is not clear to me how deep this problem is solved or if there are other means build-in. What about if there are a number of bad trades and then the price drops back to the normal levels, will this demo code exclude all the outliers. From what I understand it does not work with median, mode values and what about buffer overlaps? Could you share some thoughts please.

The trading demo is stripped down and very simple illustration of how changing data can be shaped and with ease.
The basic idea behind filtering is that you supply a predicate, where the predicate can be anything want. So if you want to add additional criteria you can easily change the predicate.
The second part to filtering is the ability to dynamically re-apply a filter be it as a result of a property changed or a value from some observable. Dynamic Data supplies a rich API which gives you several options for re-apply a filter.
There are some better examples complete with unit tests in the snippets project.  For examples of filtering see Filter Examples and Mutable ValuesExamples
Btw FilterController is obsolete now and is replaced directly with IObservable<Func<T,bool>> which is an observable filter.
Also the forum is now on Slack. If you wish to ask further questions, send me your email address to roland_pheasant@hotmail and I will send an invite

Closed due to no additional discussion


Second phase of kafka backpressure

The invoker has been implemented to keep messages in kafka, if its internal queue is full. We should implement the same mechanism up to the loadbalancer to stop sending messages to an already overloaded invoker.
This would also detect a misbehaving invoker (hanging due to any reasons) and effectively taking it out of the deployment, not putting the whole system in a bad state.

Let's discuss before implementing.   Work stealing may be a better option.

Not applicable anymore.


Is it possible to run this on Android running debian?

Got a HTC M7 with Linux on it and would like to use it as a bridge. Is it possible?

this is a java program, so theoretically it should work

Yes you can, took me 2 days to learn android and linux but i have it working now. So my old phone is now a amazon echo hub and I can control my denon amp etc via voice commands.

We'll put this into the wiki

Added to wiki


Add missing single quote in post type example

See https://docs.wpgraphql.com/getting-started/custom-post-types.

Good catch. Thanks!


Quarrel login temperamental

Hello, when I log in with Quarrel, it goes to the connecting screen ,sand stays there forever.
I am in UK, tried two different PCs, is that a known issue or am i doing something wrong?

@VladimirAkopyan I'm confused, that's not Quarrel. That's the Discord Inc. splash, but it's the UWP TitleBar.

I am too!
Now I have:
https://youtu.be/pR8V_1HxZWM
Then I restarted the app and I am logged in and all is well!

@VladimirAkopyan That happens sometimes, restart will almost always do it. I'll look into fixing it but I'm really confused by that previous screenshot.  I think from then onwards it was discord in a browser window? I don't know

I got this issue when signing in the first time on Xbox as well

Restarding did nothing, I never been able to login into Quarrel, I just use the Web version of Discord.
Also, https://github.com/UWPCommunity/Quarrel/issues/41

I should clarify. the first time I signed into Quarrel on Xbox, it took me to the webview


Flaky test e2e test for pending workloads

This test is flaky: "Kueue visibility server when There are pending workloads due to capacity maxed by the admitted job Should allow fetching information about position of pending workloads in ClusterQueue"
Example failure: https://prow.k8s.io/view/gs/kubernetes-jenkins/pr-logs/pull/kubernetes-sigs_kueue/1397/pull-kueue-test-e2e-main-1-27/1736767429989634048

/kind flaky

/kind flake

/assign
I have a reproducible scenario by looping the test, going to investigate.

The issue is that there are two competing jobs test-job-1 and job-lq-a-high-prio, both with priority high. So, occasionally workload for job-lq-a-high-prio is admitted first. This can be seen in the logs in the namespace e2e-bgmdh for workloads job-lq-a-high-prio-56f58 (got admitted), and job-test-job-1-c3094 (remains pending).
We can prevent this by adding a step to wait for test-job-1 to be admitted. Will open the PR.

The issue is that there are two competing jobs test-job-1 and job-lq-a-high-prio, both with priority high. So, occasionally workload for job-lq-a-high-prio is admitted first. This can be seen in the logs in the namespace e2e-bgmdh for workloads job-lq-a-high-prio-56f58 (got admitted), and job-test-job-1-c3094 (remains pending).
We can prevent this by adding a step to wait for test-job-1 to be admitted. Will open the PR.

Thank you for the clarifications.


[Monitor] az monitor metrics alert create: support dynamic thresholds

RE: Azure Metric Alerts - Proposed CLI Commands. Item 9

add to S174


feat: support multiple object shapes

Types of PR

[x] Upgrade of existing features

Description

perception

How to review this PR
Others

@hayato-m126 as mentioned in https://github.com/tier4/autoware_perception_evaluation/pull/7#issuecomment-1645474146, I have removed LabelParam, so please specify label parameters in evaluation_config_dict directly :pray:

@hayato-m126 in https://github.com/tier4/driving_log_replayer/pull/198/commits/1154f42d7f1407cb226a98ab99aa73a72c9b8a08, I've removed LabelParam  from driving_logrelayer's node and scenario.
Please check this out


Implement restore functionality

Now that backup is working, obviously need a way to easily download, decrypt, and restore archives.

This has been implemented.


Exp info when selecting exps to display in Plots

When adding experiments to Plots, I'd like to see at least some info about the experiments I am adding because experiment names don't tell me anything useful.
An idea:
Maybe we can display metrics next to the experiment names, and display more info (e.g. params) on hover?

How about adding the first 3 metrics that are found in the table (by leftmost position) to the description in the quick pick:

Params and data information are equally important. We should pick first three columns in the table (any columns). Ideally we should be able to pin those columns we are interested in.
I think we should also include date (and ideally how long did it take to run, but that's a separate ticket). We can show those under the exp name for example in quick pick?

Suggested format for a new tooltip in the experiments tree:


Enable es6 imports when using typescript

In the .d.ts file, numbro is being exported using export = numbro. In the PR that made this change, it says this is the only way to use it in typescript https://github.com/BenjaminVanRyseghem/numbro/pull/232 , and it proposes to use
import * as numbro from "numbro"

to import. However, in newer versions, this now causes default to be imported as a .default member instead. Now, the only way of importing numbro properly is
import numbro = require("numbro");

This change enables using es6 syntax to import
import numbro from "numbro";

https://github.com/BenjaminVanRyseghem/numbro/issues/352 explains the change in further detail.

Thanks for your contribution :smile:
could you add yourself in the AUTHORS file please :smile: ?
I'll merge this PR right after that

in v2.1.1


File access challenge solvable using path traversal

Hi,
I've just noticed that getting eastere.gg, package.json.bak or coupons_2013.md.back using path traversal works (example: http://localhost:3000/public/images/%2e%2e%2fftp/eastere.gg) but doesn't qualify towards solving the challenge. Is this intentional (I couldn't find any mention to this in the docs/issues)? Otherwise I see 3 options:

Make it count towards solving the challenge.
Make it count, but as a different new challenge.
Fix it so that path traversal isn't successful any more.

Regards,
Manu.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/26275675-file-access-challenge-solvable-using-path-traversal?utm_campaign=plugin&utm_content=tracker%2F6283055&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6283055&utm_medium=issues&utm_source=github).

Thanks for sharing your find! Path traversal was unintentional. I'll probably add it as a separate challenge instead of preventing it. The more the merrier... :-)

Decided to prevent directory traversal by moving the ftp folder out of app/public to prevent express.static from handling it. I still consider adding another explicit file retrieval challenge as described in #120.


tikv control (tikv-client) for raftstore-v2

What is changed and how it works?

Issue Number: Ref #14654
What's Changed:

implement tikv-client for raftstore-v2

This PR implements the basic framework of tikv control (tikv client) and some specific cmds for raftstore-v2.
Including:

raft
size
scan
print
mvcc
compact

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test

Release note
None

/merge


Feedback & Suggestions

Overview
This issue tracks feedback and ideas spawned by my attempt to take down #4
General Thoughts

Maybe @escottalexander  should create branches ahead of time on this repo so we can make PR's at the branches and do reviews for each other. This would also solve problem of permission denied when new challenge creator dev tries to run git push upstream as instructed by the provided challenge issues
Do we need to keep contract name and file name of Challenge ? From DX perspective, would be nice to name the contracts what they are instead of generic challenge.
Will the devs be given the arguments to the functions or just the function names?
Is there room for higher degrees of difficulty within the same challenge? Like you pass if you satisfy some of the tests, but get a higher score if you pass all
Should we consider challenge where dev writes the tests and we compute score based on coverage %?
Should we import console into the Challenge contract by default to encourage dev to use it for debugging?
Should we explain you can run a single test instead of all tests with the  --match-test flag? ( matters more for when contracts get complex with many tests )

Token Wrapper Challenge

The challenge description refers to WrappedETH.sol but the contract name is still Challenge.sol which is confusing
The short names for function params like wad and dst are difficult to understand
There are no vm.expectEmits in the tests despite emitting events being a requirement in many of Challenge.sols function natspec

Token Streaming Challenge

At any point during the stream, if they trigger a withdraw, it will send whatever portion is unlocked based on how much time has elapsed

Does that mean you want all withdraws to be max amount to make it simpler?
Do we want the same contract to handle both ETH and token streams or should we use 2 seperate contracts?
Maybe throwing in the ability to transfer ownership of the stream contract would be a nice wrinkle?

@MattPereira These are great suggestions and I will implement several of them right away. Really appreciate your insight.
Some of your feedback I have questions about.

General Thoughts
Maybe @escottalexander should create branches ahead of time on this repo so we can make PR's at the branches and do reviews for each other. This would also solve problem of permission denied when new challenge creator dev tries to run git push upstream as instructed by the provided challenge issues

Great idea. I will implement this for sure. https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/11

Do we need to keep contract name and file name of Challenge ? From DX perspective, would be nice to name the contracts what they are instead of generic challenge.

Great point here as well. We should adjust contract names to match the challenges name. https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/12

Will the devs be given the arguments to the functions or just the function names?

They will be given the arguments as well unless you can think of a way for us to test their code without knowing the functions and their arguments. I would really love it if we could make it less explicit but I don't see a way to accomplish that while keeping the tests automated. Open to ideas if you have any.

Is there room for higher degrees of difficulty within the same challenge? Like you pass if you satisfy some of the tests, but get a higher score if you pass all

I like this idea. We can mull it over some more. That would be really cool if instead of just PASS/FAIL you got a score based on edge case handling. We can record ideas for general test cases that we should keep in mind here: https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/13

Should we consider challenge where dev writes the tests and we compute score based on coverage %?

That is a great idea. One existing reference would have them dive in to contract fuzzing so I think this goes nicely in that vein.

Should we import console into the Challenge contract by default to encourage dev to use it for debugging?

Great idea. They will probably need it while debugging so it would be good to have it ready to go. https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/14

Should we explain you can run a single test instead of all tests with the --match-test flag? ( matters more for when contracts get complex with many tests )

**Yes, that is super helpful when people are starting off. Good thinking. https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/15 **

Token Wrapper Challenge

I am making an issue for addressing everything you mentioned about the token wrapper challenge. https://github.com/BuidlGuidl/eth-tech-tree-challenges/issues/16

Token Streaming Challenge

@MattPereira Answering these questions here:

Does that mean you want all withdraws to be max amount to make it simpler?

Yes

Do we want the same contract to handle both ETH and token streams or should we use 2 seperate contracts?

Good question. This boils down to what you think will be easiest for the challenger. This is meant to be a level 1 challenge so lets try not to over-complicate it. I will leave that in your court. If you think that this should be a level 2 challenge then feel free to make that call as well.

Maybe throwing in the ability to transfer ownership of the stream contract would be a nice wrinkle?

I was envisioning that anyone could use the contract to create a stream for anyone. Open to your thoughts on this approach. My design might be a little too complex though for a level 1 challenge. Your functionality suggestion would be a nice touch if the contract only facilitates one stream.

Token Wrapper Challenge

I am making an issue for addressing everything you mentioned about the token wrapper challenge. #16

@MattPereira Do you mind checking over this PR? https://github.com/BuidlGuidl/eth-tech-tree-challenges/pull/17
Let me know if I need to do anything permissions-wise to allow you to review it.


[AMQ-7032] Update Shiro to 1.2.6

Jenkins error is the git reset hard issue, not the patch contents itself.


WIP: bluespec: init at unstable-2020.02.07

bluespec open sourced their Bluespec compiler.
This is a WIP PR, as some patches are still needed to get it working and there hasn't been an official release yet.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @quark17 @ProfFan @arjenroodselaar @bpfoley

@GrahamcOfBorg build bluespec-bsv

@GrahamcOfBorg build bluespec-bsc

Can we just take the opportunity to name the derivation bluespec across the board? I hate being super picky, but I think it's simply a better name (bluespec-bsc = "the bluespec bluespec compiler"?) for the expression in general, while bsc is too short.

@GrahamcOfBorg build bluespec

@GrahamcOfBorg build bluespec

This is awesome, thanks @flokli!

@jcumming thanks for the good vibes, but also a huge thanks to @thoughtpolice and everybody else filing PRs to the upstream repo to get it to build, and to the bluespec people to review and merge these :-)
@thoughtpolice With your remarks addressed (except for the static gmp, which is also the case for our nixpkgs yices derivation) - what do you think about merging this?
Having it in the 20.03 release would probably be really nice, and happy to backport bumps and fixes there as well :-)

Meant to say this in the review but, beyond that version number nit, this LGTM!

As explained in the thread, the versioning follows https://github.com/NixOS/nixpkgs/blob/master/doc/contributing/coding-conventions.xml#L232, so let's keep this until there's a proper tag/release.


Potential memory leak

I stumbled upon this issue when I paused my qbittorrent container for a period of time and i noticed this memory usage from the exporter:

I was running a previous version of the image, and after noticing #42 I pulled the updated image.
That seemed to initially fix the issue as this looks like a normal Go GC routine

However, here we are a few days later and the memory usage only grew larger

At this point I'm inclined to believe that the memory leak is still present, with a rate of about 5 MB/h.
I don't see any logging, other than requests coming from prometheus.
As a temporary workaround I guess I could pause the exporter too when I pause Qbittorrent, but this should be addressed.

Hi :wave:
Thank you for the report, #54 should fix it.
Can you try with the ghcr.io/martabal/qbittorrent-exporter:pr-54 image ?

Sure thing! However it will take a bit of time to check if the leak is still present.

A little more than 24 hours later it seems the issue is solved!

Averaging out the noise there's a slight upwards trend of less than 0.5MB in total, but i guess its SNR is too low to be a valid data point.

I'll update this issue / open a new one if I encounter the problem again.
Thank you!


http trigger not working

hi,
i have install the Harmony-API on my Synology, it works fine!
when i trigger a button over Terminal with:
curl --request POST  http://<IP_ADDRESS>:8282/hubs/harmony/devices/rollos/commands/1-auf
it works fine!
i need to trigger it from http for a home bridge Plugin!
When I enter http://<IP_ADDRESS>:8282/hubs/harmony/devices/rollos/commands/1-auf in the browser i get an error ! Cannot GET /hubs/harmony/devices/rollos/commands/1-auf
what am I doing wrong?
i can only send the command by http for the plugin :-(
Many Thanks Jürgen

You can't use the url in the browser, the HTTP request required is a POST and browsers use GET when loading a URL.


Add undo button for cancelling add source

https://projects.engineering.redhat.com/browse/TPINVTRY-734
Description
add undo button if user cancel adding by a mistake

TODO

[x] tests
[x] undo when on add source wizard

Codecov Report

Merging #132 into master will increase coverage by 1.51%.
The diff coverage is 94.44%.

@@            Coverage Diff             @@
##           master     #132      +/-   ##
==========================================
+ Coverage   76.45%   77.97%   +1.51%
==========================================
  Files          38       40       +2
  Lines         480      513      +33
  Branches       75       78       +3
==========================================
+ Hits          367      400      +33
  Misses         89       89
  Partials       24       24

Impacted Files
Coverage Δ

src/components/UndoButton/refreshPage.js
100% <100%> (ø)

src/redux/actions/providers.js
75% <100%> (+2.58%)
:arrow_up:

src/redux/reducers/providers.js
69.69% <100%> (+1.95%)
:arrow_up:

src/redux/action-types-providers.js
100% <100%> (ø)
:arrow_up:

src/components/UndoButton/UndoButtonAdd.js
100% <100%> (ø)

src/pages/SourcesPage.js
91.17% <83.33%> (+3.67%)
:arrow_up:

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 f07f99c...cdbe18c. Read the comment docs.

@Hyperkid123

@terezanovotna

Very nice!


ci: Modify docker build CI

This PR modifies the CI of the docker build such that it builds the SNAX container rather than the original Snitch Cluster container.
The DockerfileChisel contains the updated Snitch Cluster container but also added to it is the Chisel environment as well as the new LLVM 17.

@JosseVanDelm the build is working LOL but you need to click it manually in the actions. I'm testing if the container is indeed correct :) by the looks of it, it does 😄 weeee~

@JosseVanDelm @xiaoling-yi @jorendumoulin approve plez HAHAHAHa

Thank you @JosseVanDelm and @xiaoling-yi! Mwah mwah chup chup hahaha


Can't buy lithium if you have over 25 points.

In terminus.js Line 741: "if (game.batteryresprice > game.points)", when it should be "if (game.batteryresprice < game.points)".

fixed by #42


Include signing profile label in add twitter account form

https://github.com/squeaknode/squeaknode/pull/2147


Remove :: prefix from derived implementation.

This allows an in-scope re-exported shred crate to be used.
Closes #102

I'll test this in a larger project, give me a few days to get to it.

Hm, the changes were more of a "get the user to explicitly use shred" instead of a Rust 2018 change. Would you still like it to be behind a feature gate? (can't find a way to detect based on edition)

that would make it a breaking change

yeap, would mean shred 0.8 and shred-derive 0.6

whether shred or the individual symbols should be used

Going by the other crates, I'd go with the individual symbols for consistency. Reminder for myself: even if shred was re-exported under a different name, you can still import it as shred.

Pushed a change for the latter method


Add Publisher Action

GitHub Action to automate CRON Tweets from feed! I have sanitized cron on .github/workflows/publisher-action.yml to stop the workflow from running for now. The workflow was successful as we can see in this artifact:  https://github.com/hrittikhere/feedposter/runs/6474764539?check_suite_focus=true

We now support #⃣ for the tags. The request Dev.to blogs have hashtags. Is there a way to extract those hashtags and add it to the tweet? is completed🌞

Known issue: Maybe (PostTitle, PostAuthor, hashtags, PostLink) together can move past the tweet limit. We need to check if that's the case and truncate it.
Next PR will take care of it as well as:

Twitter ID of the author if present
YAML Reads for feeds


changes for the Beckn-onix-stack: phase 1:  key digital functionalities

Updates:
Creating the documentation for the beckn-onix-stack
updated the key digital functionalities
updated the cross-cutting requirements
updated the functional requirements
formatted the data structures chapter tables
formatting the docs
changing the language

There is no PR. A set of google docs were created.
Link to the docs: https://drive.google.com/drive/u/3/my-drive

Updates:
Creating the documentation for the beckn-onix-stack
updated the key digital functionalities
updated the cross-cutting requirements
updated the functional requirements
formatted the data structures chapter tables
formatting the docs
changing the language


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've rerendered the recipe as instructed in #7.
Here's a checklist to do before merging.

[x] Bump the build number if needed.

Fixes #7

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@ocefpaf this one is complaining about a too old GCC. I'm wondering how this could pass previously. Any idea?

No idea :smile:
IMO we can ditch the old compilers and try it with the new ones only.

We don't have a bot to rerender for gcc7 isn't it?

You mean a webservice command? No. But if all the dependencies are satisfied the bot should issue a PR.

Closing in favor of #15


drivers/usbhost: Add a USB bluetooth driver.

This change adds support for the USB Transport Layer as described in the bluetooth spec. Isochronous endpoints are not yet supported. Because of limitations in the NuttX bluetooth stack, only one USB device can be used. This driver will only allow one USB dongle to use bluetooth.
A Laird USB BT4.2 dongle (from Mouser) was used for testing: M/N BT851 1.0 1829, FCC ID:SQGBT850
lsusb: 04b4:f901 Cypress Semiconductor Corp. CYW20704A2
The following commands were used to test from the nsh prompt: bt bnep0 scan start
bt bnep0 scan stop
bt bnep0 scan get
bt bnep0 info
The Linux gatttool was used to connect over wireless.
With the BDAddr found by "bt bnep0 info", start gatttool using: gatttool -b BDAddr -I
Connect to the device using:
connect
Read the device name using the GAP device name UUID: char-read-uuid 2a00
Part of the response is:
value: 41 70 61 63 68 65 20 4e 75 74 74 58
which is the string "Apache NuttX"
Summary
Impact
Testing

@ldube please rebase to the last master, ci break is fixed.


Add auto  injection on HTML.

Lighthouse is showing me the following error:
Address bar does not match brand colors
Failures: No `<meta name="theme-color">` tag found.

More info about this here.
My config:
new WebpackPwaManifest({
   name: 'My Progressive Web App',
   short_name: 'MyPWA',
   description: 'My awesome Progressive Web App!',
   start_url: '/',
   background_color: '#00b2ff',
   theme_color: '#00b2ff',
   'theme-color': '#00b2ff',
   icons: [{
      src: path.resolve(__dirname, '../../assets/js.png'),
      sizes: [96, 128, 192, 256, 384, 512],
      destination: 'icons'
   }]
})

In development.
It will be release with v3.2.0.

Please, update to v3.2.0.

Great! Thanks!


Automate Deploying the Power Apps Environment Using Azure DevOps

Hello,
I have an Azure subscription associated with my Azure DevOps account. I am trying to write a pipeline to basically create an environment (If one does not exist) and import my packed Solution(from Source Code) into that newly created environment.  I am using the "Power Platform Create Environment" task in the steps and was using my Service Principal. This Service Principal is associated with my default environment Application User in Power Apps. However after running the pipeline I am running into a permission issue as attached:
##[error]Error: Creating Trial Dataverse Environment in your tenant.
Microsoft PowerPlatform CLI
Version: 1.17.6+g3fe18a3
Error: The service principal with id 'xxxxxxx-xxxx-xxxx-xxx-d9dd9589df49' for application *** does not have permission to access the path '[https://<IP_ADDRESS>:20046/providers/Microsoft.BusinessAppPlatform/locations/unitedstates/environmentLanguages?api-version=2020-08-01'](https://<IP_ADDRESS>:20046/providers/Microsoft.BusinessAppPlatform/locations/unitedstates/environmentLanguages?api-version=2020-08-01%27) in tenant xxxxxxxxxx-xxxx-xxx-xxxx-c880ee0db72b.

The Document says that how to automate the Environment provisioning here, but does not explain exactly how the service principal access need to be so that it can create environments in Power Apps. Can you help with this?

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

ID: c863c91e-c9a1-8064-2dac-ffba215afb94
Version Independent ID: a6e75e07-5043-44e8-28fe-fb83ef690969
Content: ALM environment strategy considerations - Power Platform
Content Source: power-platform/alm/environment-strategy-alm.md
Service: power-platform
Sub-service: alm
GitHub Login: @Mattp123
Microsoft Alias: matp

Thanks for your comment, @mjannapureddy07. This issue has been assigned to the doc author for review.


/etc/hosts

Output of docker version:
(paste your output here)

Output of docker info:
(paste your output here)

Additional environment details (AWS, VirtualBox, physical, etc.):
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):

closing as there is no content here for over an hour.


default rbac for oap

When I used the otel protocol to collect some metrics of k8s, I found that the clusterrole permission is also required, so I optimized the configuration of rbac, and it is no longer used exclusively for envoy als.

I don't know if there are other oap capabilities that require such permissions. Can you give me some hints, and I can add some documents. @wu-sheng @kezhenxu94

@wankai123 I think we need some.

The permissions are authorized here, only when user needs to monitoring k8s:
https://github.com/apache/skywalking-showcase/blob/main/deploy/platform/kubernetes/feature-kubernetes-monitor/permissions.yaml
Should we add these permissions here by default?

I added some hints.  Of course, if we don't enable this permission by default, I can set it to false.

@kezhenxu94 WDYT?

The reason behind 👆 is that, ServiceAccount(SA) usually represents all needed RBAC permissions for a deployment/service, users should group the permissions into the SA and designate the SA to our deployment, or allow us to create all needed permissions by ourselves. Letting users configure one part and us configure the other part looks unreasonable and hard to maintain.


Store Everything include Repositories to Database

Thanks for your team build such a wonderful and free Git Server!
When I Choose SQL Server as my storage system,  I found just a  few data such as accounts, permissions are saved in SQL DB, the Repositories Contents  is still saved  as disk files under App_Data\Repositories folder.
So, can you let Bonobo save everything to database including Repositories contents?
Save data to Database made backup whole Bonobo‘s data  and shifting to other server easy and more safe since disk files are easy be modified/deleted by malice software.  And there are many sophisticated database backup system can be used.
Thanks!

Thanks for your comments.   Bonobo is just a wrapper on a copy of Git, so this would need to have a 'SQL database backed' version of Git - I don't know such a thing exists, but I think it's unlikely.
I do see what the advantages would be (nice to have everything in one place), but I don't think it's practical, sorry.


Log Spam on lost connection

Hi,
my Pixelit is power off on absence or during night and therefore it's unreachable for the adapter.
But now the adapter spams into the log every 3 s that the device is unreachable.
I think one log message would be enough. The adapter instance already has a warning sign in this situation.
2022-07-28 06:30:20.168  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:23.240  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:26.313  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:29.384  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:32.456  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:35.528  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:38.600  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81
2022-07-28 06:30:41.672  - warn: pixelit.0 (642866) Error: connect EHOSTUNREACH <IP_ADDRESS>:81

Hi,
that is not the way we want it.
I turn my PixelIt on and off just like you, but I work with multiple routed networks and therefore I had a different error message that I had to catch.
I have now extended the times so that it should no longer spam with you.
Can you please test the git version?

Hi,
I tried to install the adapter from github in expert mode, but it's not doing anything.
I'am not sure doing it right. It's my first time testing an adapter.
Is there a other way to do it?

You can proceed like this:
https://github.com/ioBroker/ioBroker.zigbee/wiki/GIT-install

Sorry no it's hanging there:

Just wait, at the NPM version 6.14.x has a bug. that's why it takes so long.

Please try version 0.2.0 from the beta repo

First i tried to reproduce the Log message with Adapter V0.1.0 and PixelIt V1.0.0, V0.4.0 and V0.3.20 because it was not present anymore. But i couldn't reproduce the log message.
Afterwards I installed your Adapter V0.2.0 Beta (It took over 800s...). It also works properly.


not working

sample code not working and after running project i don't see any dot on screen

@MahdiPishguy
Sample code works fine at my end. Can you please tell me the specific error? Flutter version?

@wal33d006
[√] Flutter (Channel beta, v1.15.17, on Microsoft Windows [Version 6.1.7601]

@wal33d006
[√] Flutter (Channel beta, v1.15.17, on Microsoft Windows [Version 6.1.7601]

Please switch to stable version.

@wal33d006 i don't want, i can't switch because of one library :(

@wal33d006 i don't want, i can't switch because of one library :(

If you are working in a production level application, it is recommended to use stable channel.


ssmtp: adding debug option

Motivation for this change
Adding the debug option to the ssmtp module.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

How about we just add a settings option instead so the entire configuration file can be specified/overridden.

I don't know what that is. Sorry.

@sjau obviously no need to be sorry! Pardon my vague post, but I have created a PR for you to review now. I hope this suits you well.


GPS coordinate system transform...

I read the geo_pos_conv.cpp and fix2tfpose.cpp, I'm confused about these questions.....

Is the map frame same with the ECEF coordinate(which uses three-dimensional XYZ coordinates to describe the location of a GPS user or satellite)?
map frame = ECEF coordinate?

How to generate the value(bold text) in tf.launch?
!-- worldからmapへのtf --
node pkg="tf"  type="static_transform_publisher" name="world_to_map" args="14771 84757 -39 0 0 0 /world /map 10"

Is releated to llh to ECEF transformation?

in geo_pos_conv.cpp, the function "geo_pos_conv::set_plane" uses 19 regions to transform for Japan. How to transform for Taiwan?

Thank you :)

Hi @SyuanLiao Have you figured out some of your questions?  Thanks

@SyuanLiao

Speaking of the sample map of Moriyama,  it is not ECEF coordinate sysytem. It is the Japanese rectangular coordinate system.
The value in tf.launch is determined according to the position where the map exist. For example, the map of Moriyama is located around (x,y,z)=(-14771, -84757, 39) in the Japanese coordinate system, so we publish transform (14771, 84757, -39) from world frame to map frame so that we can see the map in the center of world frame on RViz.
We don't know about the Taiwanese coordinate system. You need to implement the conversion from lat,lon to Taiwanese coordinate system. FYI, we are working on converting map into the universal coordinate system. If this is done, we can handle map regardless of the coordinate system of each country.

@jokla Hi, you can reference issue#492.
@kitsukawa Hi, Thank you for your answers. :)
We referenced issue#492 and have done GPS coordinate for Taiwan.
now we have another question similar issue#439
Sometimes the bug happened when it did NDT localization, and then we fixed it after followed your answer.
Our question is what caused it happened?

@SyuanLiao Glad to hear you can perform ndt_matching. I don't know exactly about the cause of that error, but the error does not occur after you build Autoware again by ./catkin_make_release.

Hi, @SyuanLiao, I think I ran into the almost same problem you had before (regarding the GPS coordinate out of Japan). If you don't mind, would you elaborate more about how you could solve this problem? Thank you!

Hi, @wsung1 , you can reference issue#492.
Use the functions LocalCartesian (real lat0, real lon0, real h0=0, const Geocentric &earth=Geocentric::WGS84()) and void Forward (real lat, real lon, real h, real &X, real &Y, real &Z)  to set the gps of the origin of the map and get the local gps position.
library Document: here

Hi, I've done the suggested changes, the conversion has coherent values of X,Y,Z after check the sign of latitude and longitude. I've added a static transform between base_link and gps because they was separated.
I want know why the baselink pose is orbiting randomly over the map.
I let a video with the actual behavior, the dataset and my src folder with modifications (https://www.dropbox.com/sh/2mv422ww4y2rh1b/AABagU-tDogSLqoATnGbU7t4a?dl=0):

geo_pos_conv.cpp
nmea2tfpose_core.cpp
ndt_matching.launch

I'm using Ubuntu 16.04, ROS Kinetic and Autoware 1.8, any help is welcome.

@SyuanLiao  Thanks for all the info. May I ask you how to import GeographicLib to autoware?  Thx!


Objects having $call property are considered callable

Example:
const x = {
  $call: () => {}
};

x();

I guess it's a known issue, but could be surprising for someone

Yeah, the $call hack needs to be replaced with something better. Instances have a similar hack with $key and $value properties :/. I have some WIP to remove these special names, which I'm hoping to wrap up in the near term.

I've got several things in progress where we start including $call in errors, which is obviously not good. for example, one thing I'm working on would says something like "Property $call is incompatible" if one callable object flows into another with a different signature.

Seems like fixed
https://flow.org/try/#0MYewdgzgLgBAHjAvDA3gKBjAJMAhgG3wC4YAKASiQD5UBfNWgbjTTgsaA


Pin versions with go.mod, similar to server

The versioning strategy unfortunately is leaking some dependencies, and codegen isn't reproducible any more.
This update mimics how github.com/uber/cadence does dependencies, and is more "normal" for go modules anyway.
Implications of these changes include:

Some build and runtime dependencies have changed versions in relatively minor ways.  This mostly brings them more in line with the versions used to generate code.

I have not tried to upgrade any back to the previous versions, but it would be easy to try.
Generated code appears identical.

Users may end up downloading more dependencies (e.g. staticcheck), maybe not, depending on how Go decides to handle non-buildable transitive dependencies.  They've always intended to prune them implicitly, but I do not know if that is happening yet.

They do not appear to be constrained by these dependencies, however, as they have no actual import, and do not appear in their go.mod files.  Upgrading or downgrading tools in a test project worked and did not require replace directives.

For good or bad, transitive dependencies of tools and this library are now bound together.

This is pretty common and not usually an issue, but if it becomes one: we can switch conflicting tools to a separate tools.mod and deal with the internal-only quirks that causes.
I can do that ^ right now if we want to be paranoid, and it'd eliminate the chance of tool versions impacting users, but it opens the door to version skew.  Neither option is ideal ¯_(ツ)_/¯

And since this does away with the "X commits / versions behind current" notification: I've added make deps (and make deps-all), which work the same way as in uber/cadence/pull/4000.  Hopefully it's understandable enough to modify easily.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Pull Request Test Coverage Report for Build c643473b-e8e0-40a4-bc1a-44c0a8ae810b

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 74.94%

Totals

Change from base Build 53eedecc-d2b1-4af1-9cf6-9507912a6795:
0.02%

Covered Lines:
9668

Relevant Lines:
12901

💛  - Coveralls

Current deps output for comparison:
❯ make deps
220 days: github.com/uber/jaeger-client-go  	v2.22.1+incompatible -> v2.25.0+incompatible
371 days: golang.org/x/net  	v0.0.0-20200114155413-6afb5195e5aa -> v0.0.0-20210119194325-5f4716e94777
466 days: github.com/opentracing/opentracing-go  	v1.1.0 -> v1.2.0
501 days: go.uber.org/atomic  	v1.4.0 -> v1.7.0
503 days: honnef.co/go/tools  	v0.0.1-2019.2.3 -> v0.1.1
573 days: github.com/uber/tchannel-go  	v1.14.0 -> v1.21.0
733 days: github.com/kisielk/errcheck  	v1.2.0 -> v1.5.0
740 days: github.com/stretchr/testify  	v1.3.0 -> v1.7.0
871 days: go.uber.org/zap  	v1.8.0 -> v1.16.0
908 days: github.com/uber-go/tally  	v3.3.1+incompatible -> v3.3.17+incompatible
954 days: golang.org/x/lint  	v0.0.0-20180428170328-470b6b0bb300 -> v0.0.0-20201208152925-83fdc39ff7b5
958 days: go.uber.org/goleak  	v0.10.0 -> v1.1.10
1047 days: go.uber.org/yarpc  	v1.29.1 -> v1.52.0
1059 days: go.uber.org/thriftrw  	v1.11.0 -> v1.26.0
1167 days: golang.org/x/time  	v0.0.0-20170927054726-6dc17368e09b -> v0.0.0-20201208040808-7e3f01d25324
1352 days: github.com/pborman/uuid  	v0.0.0-20160209185913-a97ce2ca70fa -> v1.2.1
1435 days: github.com/sirupsen/logrus  	v0.11.5 -> v1.8.0
1506 days: github.com/apache/thrift  	v0.0.0-20161221203622-b2a4d4ae21c7 -> v0.14.0


Set title for ViewController not work in som where

the first place

<UIViewController
    title = "MineInfo" // This line not work
    >
    <UITableView
        outlet = "tableView"
        rowHeight = "64"
        >
        <UITableViewCell
            reuseIdentifier = "cell"
            accessoryType = "disclosureIndicator"
            textLabel.text = "This is a index {row}"
            >
        </UITableViewCell>
    </UITableView>
</UIViewController>

2.the second place
    override func viewDidLoad() {
        super.viewDidLoad()
        tabBarItem.title = "Info" // This line not work,but `title = "Info"`work
        loadLayout(named: "MineInfoViewController.xml")
    }

It looks like you might be trying to load a view controller from your XML inside another view controller. In that case the VC in the XML will be loaded as a child view controller of the one loading it - that's why setting its title doesn't affect the title of the outer controller.


Ability to configure navigationOptions based on this (context or other props)

It's great that there is a dynamic option for specifying navigationOptions that are based on data. However, does it have to be static?
navigationOptions would be extremely powerful if it could be generated based on other entities, such as context or other props (fun stuff that requires access to this). As an example, I use react-intl to translate all of my copy into the appropriate language via context - including navigation headers, and left and right text. Unfortunately this setup is not currently supported in react-navigation because navigationOptions does not support context, because it lacks access to this:
import { intlShape } from 'react-intl';
import React, { Component } from 'react';

class MyComponent extends Component {
  static contextTypes = {
    intl: intlShape.isRequired,
  };

  static navigationOptions = {
    title() {
      return this.context.intl.formatMessage({ // this doesn't work , pun intended :(
        id: 'general.profile',
      });
    },
  };

  render() {
    <Something />
  }
}

Another example would be updating / re-rendering the header when when the data used to generate the initial rendering of navigationOptions has been invalidated with new data. I.e. determining a value based on one or more changing conditions, and monitoring for changes to those conditions:
import React, { Component } from 'react';

class MyComponent extends Component {
  static navigationOptions = {
    header: {
       visible: this.something.someCondition, // nope :/
     },
  };

  _handleUpdateSomeCondition() {
    updateSomeCondition(somethingNew);
  }

  render() {
    ...
  }
}

Another example would be forms. Think of a form with 5 fields, and you want to disable or enable the left or right action based on what the user has or hasn't yet filled out.

#145 hs some good ideas around this but it is currently blocked with another bug.

Relevant https://github.com/react-community/react-navigation/issues/296#issuecomment-279586617

One of the reasons why props and context is not supported is because these are the sorts of things that will break if your navigator is implemented a different way.
Little secret: StackNavigator is designed in such a way that it can eventually be swapped out with a native hybrid implementation. In that case, the right button and screen components are both top-level react components, and no context can be shared between them. Params may be very simple, but they can easily come from native native code 😄

Params may be very simple, but they can easily come from native code

Native code could send complex data structures like booleans, numbers, nested objects, arrays etc. along with strings too. Only when you decode URLs, you will get only strings. Though this could probably be addressed by a custom getPathAndParamsForURL or something.
Maybe I don't have the full picture, but placing such restriction on all apps only because of we cannot automatically decode URLs properly makes it pretty limiting.

In my mind, the main reason for keeping params flat is because the flow types get very very confusing if they are flexible. I'm closing this out for now, but we are working towards an API where navigation options are defined as a function of navigationScreenProps

Correct me if I am wrong, but without this ability it will not be possible to render tab icons with  badges?
Unfortunately, that's a deal breaker for me. My tabs have badges showing item counts and status indicators based on props. I'm currently using react-native-tab-navigator, which supports this, but has other shortcomings.

@timscott I am using a bad workaround for this right now, but it works. In componentWillMount or componentDidMount, I am making a call to setParams to load prop data into react-navigation as params. This will cause the header to re-render with the desired appearance.  while the screen transitions, and once the component finished mounting, it updates to "Badge Count: ".
It feels like double the work, but it's functional. Hoping to find a better solution to this soon...

Thanks @joncursi. I tried that technique, which I saw in a comment in another issue, and it works. However, I found another way that might be better for me. Using redux:
TabIcon = connect(mapStateToProps)(TabIcon);

static navigationOptions = {
  tabBarIcon: () => <TabIcon />
};

From the redux store, I can get what I need to render my tab icon with a dynamic badge. It only works for components, not other kinds of settings, so I may end up using both techniques. Thanks again!

@joncursi I'm not able to get your method to work. I tried sticking the same thing (navigation.setParams -> a button) in componentWillMount(), nothing happens. This method still working for you in today's react-native?

I need to interact with screen component using the headerRight of navigation bar...is there any workaround for this...?

@timscott This has just blown my mind and completely changed my understanding of Redux.
You can just connect a component!!!!!!

Thanks! Just for the record though, I ended up creating my own Header component. It saved me a lot of headaches down the road.


monorepo metro configuration

I am trying to build my react-native project with pnpm but the className properties are not working. What can I do?
metro.config.js
const {makeMetroConfig} = require('@rnx-kit/metro-config'); const MetroSymlinksResolver = require('@rnx-kit/metro-resolver-symlinks'); module.exports = makeMetroConfig({   projectRoot: __dirname,   resolver: {     resolveRequest: MetroSymlinksResolver(),   }, });
babel.config.js
module.exports = {   presets: ['module:metro-react-native-babel-preset'],   plugins: ['react-native-reanimated/plugin', 'nativewind/babel'], };
tailwind.config.js
module.exports = {   important: true,   mode: 'jit',   content: [     './App.{js,jsx,ts,tsx}',     './app/**/*.{js,jsx,ts,tsx}',     './components/**/*.{js,jsx,ts,tsx}',   ],   theme: {     extend: {       fontFamily: {         'Muli-Black': ['Muli-Black'],         'Muli-BlackItalic': ['Muli-BlackItalic'],         'Muli-Bold': ['Muli-Bold'],         'Muli-BoldItalic': ['Muli-BoldItalic'],         'Muli-ExtraBold': ['Muli-ExtraBold'],         'Muli-ExtraBoldItalic': ['Muli-ExtraBoldItalic'],         'Muli-ExtraLight': ['Muli-ExtraLight'],         'Muli-ExtraLightItalic': ['Muli-ExtraLightItalic'],         'Muli-Italic': ['Muli-Italic'],         'Muli-Light': ['Muli-Light'],         'Muli-LightItalic': ['Muli-LightItalic'],         'Muli-Regular': ['Muli-Regular'],         'Muli-SemiBold': ['Muli-SemiBold'],         'Muli-SemiBoldItalic': ['Muli-SemiBoldItalic'],       },     },   },   plugins: [], };

I had the same issue, I tried using version 3 with pnpm install nativewind@next and following the instructions here . It works for me

For v2, I added the auto-install-peers=true pnpm config, worked for me

We are closing all pre-v4.1 issues now that v4.1 is released. If the problem is still happening with the latest v4.1, please open a new issue and reference this one in the description.


Add DrDerp utility

The intent of the utility is to be able to do two things

find out global network status, public ip and properties of local LAN/WLAN
connect to one particular other peer

Example usage:
Report
> drderp report
getting report using derp map DerpMap {
    regions: {
        1: DerpRegion {
            region_id: 1,
            nodes: [
                DerpNode {
                    name: "default-1",
                    region_id: 1,
                    host_name: "derp.iroh.computer",
                    stun_only: false,
                    stun_port: 3478,
                    stun_test_ip: None,
                    ipv4: None,
                    ipv6: None,
                    derp_port: 0,
                },
            ],
            avoid: false,
            region_code: "default",
        },
    },
}
Report {
    udp: true,
    ipv6: false,
    ipv4: true,
    ipv6_can_send: false,
    ipv4_can_send: false,
    os_has_ipv6: true,
    icmpv4: false,
    mapping_varies_by_dest_ip: None,
    hair_pinning: Some(
        false,
    ),
    upnp: None,
    pmp: None,
    pcp: None,
    preferred_derp: 1,
    region_latency: {
        1: 123.08325ms,
    },
    region_v4_latency: {
        1: 123.08325ms,
    },
    region_v6_latency: {},
    global_v4: Some(
        <IP_ADDRESS>:64363,
    ),
    global_v6: None,
    captive_portal: None,
}

Connect
> drderp connect
run 'drderp connect 537a4f6d07d4edec7fff226c1ac63a9f9655ed57a10e534dc633b9ad6b119a2d' in another terminal or on another machine
(do as you are told)
sending 1 bytes
done in 2.597788667 s
speed 0.3849427833384262 bytes/s
sending 16 bytes
done in 0.745654084 s
speed 21.457670980851223 bytes/s
sending 256 bytes
done in 0.7459795 s
speed<PHONE_NUMBER>303877 bytes/s
sending 4096 bytes
done in 0.623054958 s
speed 6574.058913114371 bytes/s
sending 65536 bytes
done in 2.202245291 s
speed 29758.719552189974 bytes/s
test done

I turned it into a subcommand, as @dignifiedquire suggested:
❯ iroh dr-derp accept
Run

iroh dr-derp connect 5b33f30b2b53bce0cb1c8853539fe373b95028c5783cbb62e420310219f0155e --remote-endpoint <IP_ADDRESS>:57541 --remote-endpoint <IP_ADDRESS>:57541

in another terminal or on another machine to connect by key and addr.
Omit the --remote-endpoint args to connect just by key.

Accepted connection. Performing test.

send: 193.63 MiB/s
recv: 193.15 MiB/s
echo: 93.73 MiB/s

Renamed to doctor and added gui on the connect side, so the connect side also has something to look at.


Isolated infra

Hi. Is it possible to install and operate in an isolated infrastructure circuit from the Internet? Use your own database images located in a private repository?

Hi @lars301 currently it's not possible but it's on our roadmap to add support for running everest in an air-gaped environment, there's no ETA it though.

Thanks.


Why isn't JSX support enabled by default on .jsx files?

It took me some time to figure out that I had to enable JSX support manually in package settings.
While I understand that many users might not like parsing .js files as JSX, i believe that it should be enabled by default for .jsx files. A hint about it in the package description would be useful as well (like "optional support for JSX available").

It took me some time to figure out that I had to enable JSX support manually in package settings.

It says so right in the readme:

Supports React JSX. (must be enabled in preferences)

i believe that it should be enabled by default for .jsx files

Agreed. I didn't know .jsx was a thing.

Well, I installed it through the Atom's builtin package manager. No README
there. (You only see it in Atom when you go to package settings, and even
then it's only a link). I suppose information like this should go to the
package descripton.
Sindre Sorhus<EMAIL_ADDRESS>schrieb am Fr., 30. Jan. 2015
17:07:

Hello, I am having trouble 'enabling react' in settings. Is the setting called 'Support Linting JSX'?

Yes

Closing as this project is deprecated. 🌵


Problems installing on Chrome OS

I have tried installing Linuxbrew on Chrome OS (https://goo.gl/gUFvzc) multiple times already, but it doesn't work. The installation fails at line "brew install hello && brew test hello && brew remove hello". When I run the command it gives me the error message "/bin/bash: symbol lookup error: /bin/bash: undefined symbol: rl_signal_event_hook". I have also tried running "brew update" but running any brew command gives me the same error. Chromebrew works with no problem, though.
If it helps, my Chromebook info is the following:
Version 52.0.2715.0 canary (64-bit)
Platform 8240.0.0 (Official Build) canary-channel falco
Firmware Google_Falco.4389.92.0

I don't have a Chromebook on which to test. I'd suggest contacting the author of the wiki article. @jbaum98
Please report the following:
unset LD_LIBRARY_PATH
brew config
brew doctor

Thank you. Unsetting the library path worked.

I think that the error is here:
checking whether the C compiler works... no
configure: error: in `/usr/local/linuxbrew/tmp/patchelf20160427-16900-11jaycb/patchelf-0.9':
configure: error: C compiler cannot create executables

I'm trying to replicate this probelm but I'm having some trouble. I got a similar error with an unset LD_LIBRARY_PATH but setting it to /usr/local/lib temporarily like it says in the guide made installing hello work.

This error is quite odd:
==> Pouring patchelf-0.9.x86_64_linux.bottle.tar.gz
Error: No such file or directory - /usr/local/linuxbrew/Cellar/patchelf/0.9/COPYING

Please report brew gist-logs hello
and also
ls -ld /usr/local/linuxbrew /usr/local/linuxbrew/Cellar

You may consider installing instead in /home/linuxbrew/.linuxbrew to make better use of bottles, which are compiled for this prefix. /usr/local/linuxbrew can also work, but can't make use of non-relocatable bottles.

Try doing brew install hello --build-from-source to stop it from using a bottle. That worked for me.

What error do you get with a bottle? Please report brew remove hello && brew install hello && brew gist-logs hello

For both hello and other programs, it always gets stuck on pouring the bottle.
The output of brew gist-logs hello was https://gist.github.com/anonymous/772a6290855ac7289db30d2f40d0e60d

It just hangs after pouring the bottle? I think @DoomHammer has seen this behaviour as well. We haven't yet figured it out.

I'll try once again with post-split repo, but the thing was simply weird. BTW: should we migrate this to linuxbrew/brew?

Yep, if you're actively looking into it.

Looks similar to Debian issue (missing /usr/bin/file) and it is something that I'd love to fix ;)

@jbaum98 Could you please report the output of which -a file?

While the never-ending 'pouring bottle' is sitting there aparently doing nothing, the log files in ~/.cache/Homebrew/Logs/hello/  show that a ./configure was run and seemingly existed OK.  If you poke around with ps and look at the process trees you can see that configure is being run multiple times.  I dont know what I did, but at some point poking around, I made 'brew install hello' get un-hung and it finished.  I tried to repeat it but had no success.
Forcing the build from source seems to avoid the hang.  And in the chromebook default OS build there is NO file command:
$ which -a file
which: no file in (.......list of path....)
Is there a brew package that supplies a file command I could build from source and use?   If not, I can probably track down the source code for 'file' and build one

Is there a brew package that supplies a file command I could build from source and use? If not, I can probably track down the source code for 'file' and build one

Yes, there is. It's called homebrew/dupes/file-formula.

to answer my own question - the libmagic recipie ALMOST builds the file command, but deletes it and just keeps library :)  Let me see if I can get myself a working 'file' and then retry

Oh - I see - building now

Can confirm  that having a working 'file' command does not help:
chronos@localhost /usr/local/linuxbrew/Library/Formula $ which file
/usr/local/linuxbrew/bin/file
chronos@localhost /usr/local/linuxbrew/Library/Formula $ brew install hello
==> Downloading https://linuxbrew.bintray.com/bottles/hello-2.10.x86_64_linux.bottle.t
Already downloaded: /home/chronos/user/.cache/Homebrew/hello-2.10.x86_64_linux.bottle.tar.gz
==> Pouring hello-2.10.x86_64_linux.bottle.tar.gz
hangs "forever" - or at least a very long time.  I let it set for an hour last night.  Since this is installing from bottle, it shouldn't be running configure right?
chronos@localhost ~ $ ps ax | grep configure
3302 pts/1    SN+    0:00 /bin/bash ./configure --disable-debug --disable-dependency-tracking --disable-silent-rules --prefix=/usr/local/linuxbrew/Cellar/hello/2.10
also I can confirm that building from source doesn't seem to have this problem:
chronos@localhost /usr/local/linuxbrew/Library/Formula $ time brew install --build-from-source hello
==> Downloading http://ftpmirror.gnu.org/hello/hello-2.10.tar.gz
Already downloaded: /home/chronos/user/.cache/Homebrew/hello-2.10.tar.gz
==> ./configure --disable-silent-rules --prefix=/usr/local/linuxbrew/Cellar/hello/2.10
==> make install
Warning: This keg was marked linked already, continuing anyway
/usr/local/linuxbrew/Cellar/hello/2.10: 52 files, 588.9K, built in 20 seconds
real    0m20.701s
user    0m14.463s
sys     0m5.459s

Until we fix it, I believe the file command has to live precisely at /usr/bin/file. Try
sudo ln -s `which file` /usr/bin/

@minektur Please enclose copy-and-pastes in triple back ticks. See https://help.github.com/articles/basic-writing-and-formatting-syntax/#quoting-code

will do, on the backticks...  as for linking the file command, it is somewhat problematic on the chromebook.  There are several layers of protections on the chromebook.  One is to go into dev mode (then you can get shell, get root, read anything and have read-write on ~ and /usr/local - but all the OS is still read-only.
You can make /usr/bin and /bin rw but it requires remvoing another layer of protection, and disables automatic OS upgrades and a few other nice-to-have things.
In short, I can't easily make the symlink...  Can you tell me which scripts are sensitive to the path of the file command so that I can potentially one-liner-sed-edit them automatically?

Is there an environment variable, or config file where I can force --build-from-source on ALL packages? for every install, including dependencies?

Also, I've done a search... can't find an open issue complaining about debian and missing /usr/bin/file - where can I go read?

This issue will hopefully be fixed in the next few days. In the mean time, try change the following line:
https://github.com/Linuxbrew/brew/blob/master/Library/Homebrew/keg_relocate.rb#L203
      if Utils.popen_read("/usr/bin/file", "--brief", pn).include?("text") ||

from /usr/bin/file to simply file.

This successfully makes installing (at least the one ) bottle pacakge(s) work for me.  Thanks much.

Glad to hear it! I'll merge this fix right now.

This issue was moved to Linuxbrew/brew#28


How to get the initial usb command of seek pro

Great project and I have modified the old SeekOFix on Windows with your initial command of seek pro and it works well.
What i want to know is how did you manage to get the right initial command of seek pro ?
just use the USB protocol analyzer or other ways?

Sniffing USB trafic with wireshark on a host machine while the android app was running on a virtual android machine (on the same host), communicating with the camera. I just mimicked the behavior of the initialization procedure.

I tried vmware workstation and vitrualbox but when i connect the device into the virtual machine , the
device do not show in wireshark  on the host.
my host is windows 7,or I need a Linux platform?

I used genymotion android emulator on a native linux machine (ubuntu). Wireshark was running on the native linux. In addition I had to forward the usb device to the emulator so it could access it. You could install genymotion on windows and try the same thing. Never did that myself though.

Succeed !
Thanks a lot !


chore: Filter Offerings when Scheduling

Fixes #
Description

Filters offerings when scheduling for consolidation and provisioning so we only consider valid offerings
In practice, for consolidation, this means that we can filter so we only launch instance types in subnets/capacity types that are cheaper

How was this change tested?

make presubmit
FOCUS=Scheduling make e2etests

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

75 of 120 (62.5%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 75.264%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/scheduling/zz_generated.deepcopy.go
10
25
40.0%

pkg/cloudprovider/zz_generated.deepcopy.go
45
75
60.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
5346

Relevant Lines:
7103

💛  - Coveralls

What benchmark shows this as being faster?

perf was probably a misnomer. This was meant to be an accuracy improvement now that we are able to filter out offerings during scheduling and for consolidation. For consolidation, this means that we don't have to do a "worst-case" assessment of InstanceTypes and only pass the offerings in that are actually cheaper so that we only have the chance to launch those.

Using the profiling test shows the same:

I'm looking into why. Seems odd, the only thing that might take time here is the new DeepCopy so we don't alter the original InstanceType structs when we filter out offerings. I suspect this might be adding the time but not 100% sure yet

@tzneal There's still a drop-off due to copying, but I moved the copying into the NewNode() away from the filter calls. Every node filter should be isolated anyways, so I think this makes sense.
I'm assuming the large spike was due to every filter call needing to copy (which is unnecessary since the node is overwriting the old instance types list anyways). This should be improved.
Current State
400 instances 10 pods    1 nodes  2.957723ms per scheduling    295.772µs per pod
400 instances 100 pods   1 nodes  29.692605ms per scheduling   296.926µs per pod
400 instances 500 pods   1 nodes  140.453593ms per scheduling  280.907µs per pod
400 instances 1000 pods  3 nodes  342.624625ms per scheduling  342.624µs per pod
400 instances 1500 pods  4 nodes  522.659562ms per scheduling  348.439µs per pod
400 instances 2000 pods  5 nodes  647.472312ms per scheduling  323.736µs per pod
400 instances 2500 pods  6 nodes  706.737104ms per scheduling  282.694µs per pod

DeepCopy ITs on the Node
scheduled 7610 against 21 nodes in total in 4.689902969s 1622.6348498682553 pods/sec
400 instances 10 pods    1 nodes  3.700159ms per scheduling    370.015µs per pod
400 instances 100 pods   1 nodes  37.560686ms per scheduling   375.606µs per pod
400 instances 500 pods   1 nodes  187.58727ms per scheduling   375.174µs per pod
400 instances 1000 pods  3 nodes  391.226861ms per scheduling  391.226µs per pod
400 instances 1500 pods  4 nodes  639.661271ms per scheduling  426.44µs per pod
400 instances 2000 pods  5 nodes  806.77125ms per scheduling   403.385µs per pod
400 instances 2500 pods  6 nodes  894.930917ms per scheduling  357.972µs per pod

DeepCopy ITs on the filterByRequirements and filterByPrice calls (Old PR State)
400 instances 10 pods    1 nodes  9.777928ms per scheduling    977.792µs per pod
400 instances 100 pods   1 nodes  90.2061ms per scheduling     902.061µs per pod
400 instances 500 pods   1 nodes  413.229444ms per scheduling  826.458µs per pod
400 instances 1000 pods  2 nodes  770.589187ms per scheduling  770.589µs per pod
400 instances 1500 pods  4 nodes  1.472592666s per scheduling  981.728µs per pod
400 instances 2000 pods  5 nodes  1.881777416s per scheduling  940.888µs per pod
400 instances 2500 pods  6 nodes  2.065454333s per scheduling  826.181µs per pod


Some of the ligands in CASF core set cannot be read by RDKit successfully

Hi Chao Shen, thanks for your work! I tried to evaluate RTMScore on CASF benchmark and it turned out that some of the ligands in CASF core set cannot be read by RDKit successfully thus the proceeding steps could not be done. If I added sanitize=False to Chem.MolFromMol2Block and Chem.MolFromMolBlock in RTMScore/RTMScore/data/data.py line 149 and 153, RDKit could read those ligands but I noticed that this would cause a slight difference to the final prediction. So I wonder if you ever encountered and how you handle this problem. Thanks.

Some ligands in CASF benchmark have some mistakes, so in our study we re-converted all the ligands to SDF format with the convert.py script implemented in OpenEye software, and this could make almost all the ligands recognized by RDKit.

Thanks!


it'll be the best if we have dark theme

it'll be the best if we have dark theme

Yes, it is good, but I don't think it is a high priority. Please be patient and wait. Looking forward to anyone interested in contributing PR for this.

So I had a quick go at this. Ideally it should mirror the VSCode theme which can be done using CSS variables, but this seems quite difficult with the version of antd it currently uses (4.x I think?). I've never used atnd but it looks like 5.x introduces quiet simple theming through ConfigProvider which would make it quite easy I think. Otherwise we can get close by spamming bg/fg color into all the styles by that's not so great.

Thanks for the awesome plugin. This would be a great addition.

I have re-implemented this extension with a dark theme: https://github.com/zero-enthusiasm/vscode-project-image-browser

plz


Make does not work

Using the make file that you provided, it does not work. After fixing square to rect it worked but now fails because there is no method named create or print.
Output from running make:
gcc -std=c11 nymph_compiler.c -o nymph ./nymph rect.n rect public public ./nymph box.n box public public ./nymph main.n main gcc -std=c11 -c rect.c rect.h gcc -std=c11 -c box.c box.h gcc -std=c11 -c main.c main.h main.c: In function ‘main’: main.c:9:1: warning: implicit declaration of function ‘create’ [-Wimplicit-function-declaration]  create(&myBox);  ^ main.c:14:1: warning: implicit declaration of function ‘print’ [-Wimplicit-function-declaration]  print(myBox);  ^ gcc -std=c11 main.o box.o rect.o -o out main.o: In function main':
main.c:(.text+0x2b): undefined reference to create' main.c:(.text+0x3c): undefined reference to create'
main.c:(.text+0x4d): undefined reference to print' main.c:(.text+0x5e): undefined reference to print'
collect2: error: ld returned 1 exit status
makefile:2: recipe for target 'nymph' failed
make: *** [nymph] Error 1
`

@halosm1th
Sorry about that. Right now Nymph is a work in progress.
I just added a new recursive parser which should fix the problem.


[mobile-web] TextField  does not show up the Soft keyboard on Oppo r17

Soft keyboard does not display on some mobile phones, such as Oppo r17

flutter doctor -v
> [✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale zh-Hans)
    • Flutter version 1.25.0-8.2.pre at /Users/zhangliucheng/Documents/software/flutter
    • Framework revision b0a2299859 (9 days ago), 2021-01-05 12:34:13 -0800
    • Engine revision 92ae191c17
    • Dart version 2.12.0 (build 2.12.0-133.2.beta)
    • Pub download mirror https://pub.flutter-io.cn
    • Flutter download mirror https://storage.flutter-io.cn

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/zhangliucheng/Library/Android/sdk
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.3, Build version 12C33
    • CocoaPods version 1.9.1

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)

[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.52.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

Hi @ZhangLiuCheng
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Please provide the information about the device having this issue.
Thank you

Hi @ZhangLiuCheng
Can you please provide your flutter doctor -v, your flutter run --verbose and a minimal complete reproducible code sample?
Please provide the information about the device having this issue.
Thank you

Me too. Not display on mobile, such as Safari or mobile Chrome on iPhone.
But can work on desktop Chrome.
~ » flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.14.6 darwin-x64)

And build with command flutter build web --release.

Me too. Not display on mobile, such as Safari or mobile Chrome on iPhone.
But can work on desktop Chrome.
~ » flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.14.6 darwin-x64)

And build with command flutter build web --release.

AppBar actions SearchBar TextField Soft keyboard does not display.
And my code seem like this:
import 'package:flutter/material.dart';

class SearchBarView extends SearchDelegate<String> {
  String searchHint = '请输入内容';

  @override
  List<Widget> buildActions(BuildContext context) {
    return [
      IconButton(
        tooltip: 'Clear',
        icon: const Icon(Icons.clear),
        onPressed: () {
          query = '';
          showSuggestions(context);
        },
      ),
    ];
  }

  @override
  Widget buildLeading(BuildContext context) {
    return IconButton(
      tooltip: 'Back',
      icon: AnimatedIcon(
        icon: AnimatedIcons.menu_arrow,
        progress: transitionAnimation,
      ),
      onPressed: () {
        close(context, null);
      },
    );
  }

  @override
  Widget buildResults(BuildContext context) {
    return Text('results');
  }

  @override
  Widget buildSuggestions(BuildContext context) {
    return [];
  }
}

AppBar actions SearchBar TextField Soft keyboard does not display.
And my code seem like this:
import 'package:flutter/material.dart';

class SearchBarView extends SearchDelegate<String> {
  String searchHint = '请输入内容';

  @override
  List<Widget> buildActions(BuildContext context) {
    return [
      IconButton(
        tooltip: 'Clear',
        icon: const Icon(Icons.clear),
        onPressed: () {
          query = '';
          showSuggestions(context);
        },
      ),
    ];
  }

  @override
  Widget buildLeading(BuildContext context) {
    return IconButton(
      tooltip: 'Back',
      icon: AnimatedIcon(
        icon: AnimatedIcons.menu_arrow,
        progress: transitionAnimation,
      ),
      onPressed: () {
        close(context, null);
      },
    );
  }

  @override
  Widget buildResults(BuildContext context) {
    return Text('results');
  }

  @override
  Widget buildSuggestions(BuildContext context) {
    return [];
  }
}

testUrl:  https://zx.xbbvip.com
demo.zip
Most browsers have no problems, but the phone with the problem was Oppo R17（ 操作系统:8.1.0,  分辨率:1080x2340,  CPU:arm64-v8a）
`zhangliucheng@zhangliuchengdeMacBook-Pro ~ % flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale zh-Hans)
• Flutter version 1.25.0-8.2.pre at /Users/zhangliucheng/Documents/software/flutter
• Framework revision b0a2299859 (9 days ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/zhangliucheng/Library/Android/sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter`

testUrl:  https://zx.xbbvip.com
demo.zip
Most browsers have no problems, but the phone with the problem was Oppo R17（ 操作系统:8.1.0,  分辨率:1080x2340,  CPU:arm64-v8a）
`zhangliucheng@zhangliuchengdeMacBook-Pro ~ % flutter doctor -v
[✓] Flutter (Channel beta, 1.25.0-8.2.pre, on Mac OS X 10.15.7 19H114 darwin-x64, locale zh-Hans)
• Flutter version 1.25.0-8.2.pre at /Users/zhangliucheng/Documents/software/flutter
• Framework revision b0a2299859 (9 days ago), 2021-01-05 12:34:13 -0800
• Engine revision 92ae191c17
• Dart version 2.12.0 (build 2.12.0-133.2.beta)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
• Android SDK at /Users/zhangliucheng/Library/Android/sdk
• Platform android-30, build-tools 29.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.3)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.3, Build version 12C33
• CocoaPods version 1.9.1
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] IntelliJ IDEA Ultimate Edition (version 2019.3.3)
• IntelliJ at /Applications/IntelliJ IDEA.app
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
[✓] VS Code (version 1.52.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension can be installed from:
🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter`

@ZhangLiuCheng your test url (https://zx.xbbvip.com/#/) works fine on my iPhone safari and my old test machine Android 6.0 web browser.
@pedromassangocode And I test my demo above (https://github.com/flutter/flutter/issues/73930#issuecomment-760086293) again, still not work on my iPhone X (iOS 12.3.1) Safari and mobile Chrome APP (version 87.0.4280.77).
But the same demo works fine on my old test machine Android 6.0 web browser.

@ZhangLiuCheng your test url (https://zx.xbbvip.com/#/) works fine on my iPhone safari and my old test machine Android 6.0 web browser.
@pedromassangocode And I test my demo above (https://github.com/flutter/flutter/issues/73930#issuecomment-760086293) again, still not work on my iPhone X (iOS 12.3.1) Safari and mobile Chrome APP (version 87.0.4280.77).
But the same demo works fine on my old test machine Android 6.0 web browser.

Hi @hustjiangtao
This sounds like a different issue, please open a new issue and fill the issue-template describing your problem along with flutter doctor -v.

Hi @hustjiangtao
This sounds like a different issue, please open a new issue and fill the issue-template describing your problem along with flutter doctor -v.

This will require additional triage as I don't have the device mentioned in the OP.

This will require additional triage as I don't have the device mentioned in the OP.

Same issue here, using many Oppo devices.
Flutter doctor output:
[✓] Flutter (Channel stable, 3.19.3, on macOS 14.3.1 23D60 darwin-arm64, locale it-IT)
    • Flutter version 3.19.3 on channel stable at /opt/homebrew/Caskroom/flutter/3.16.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (11 giorni fa), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/luca/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] VS Code (version 1.87.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension can be installed from:
      🔨 https://marketplace.visualstudio.com/items?itemName=Dart-Code.flutter

[✓] Connected device (5 available)
    • Mi A2 lite (mobile)        • *****                         • android-arm64  • Android 13 (API 33)
    • iPhone (mobile)            • *****            • ios            • iOS 17.4 21E219
    • iPhone 15 Pro Max (mobile) • ***** • ios            • com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator)
    • macOS (desktop)            • macos                                • darwin-arm64   • macOS 14.3.1 23D60 darwin-arm64
    • Chrome (web)               • chrome                               • web-javascript • Google Chrome 122.0.6261.129

[✓] Network resources
    • All expected network resources are available.

• No issues found!


AgileVentures Charity template

hi, apologies if this isn't the best way to go about this, but our (registered UK) charity AgileVentures could really use a c9 template.  We put teams of volunteer developers together to help other charities and profits around the world, and they often use c9.
One of the major pain points we find for them on c9 is having them trying to set up certain things (particularly related to postgresql and headless browser tests) as they are trying to work on tickets and features for different charities.   We've been wondering for a long time if there was some way to create a C9 template so that the volunteers could be more effective out of the box so to speak.
We have step by step documentation for new volunteers, but they still burn a lot of time there.  The attached PR is an exploratory PR to see what we might be able to achieve.  I've been trying to run some basic smokes tests on OSX but am stuck on the following:
[tansaku@Samuels-MacBook-Pro:~/Documents/Github/AgileVentures/templates (master)]$
→ ./templatectl ws-agileventures run
readlink: illegal option -- f
usage: readlink [-n] [file ...]
[tansaku@Samuels-MacBook-Pro:~/Documents/Github/AgileVentures/templates (master)]$
→ ./templatectl ws-ruby test
readlink: illegal option -- f
usage: readlink [-n] [file ...]

we know that AgileVentures is not comparable to a python or ruby template, but we're a charity trying to make the world a better place, and work closely with the UCBerkeley Massively Open Online Class (MOOC) Agile Development using Ruby on Rails CS169.  We've noticed you have a CS50 (Harvard) template, and would love to explore having a C9 template.
We'd also love to hear about other mechanisms to make it easier for our volunteer developers to get started quickly on C9.
Many thanks in advance

Hey, sorry for the delay in getting back to you.
At the moment we are only accepting pull requests for existing workspace types. Our community forums may be able to offer advice, otherwise I'd recommend that you email<EMAIL_ADDRESS>explaining your needs and we'll see what we can do to help 🙂.


[WIP] Get typechecker working to spec

There are still some minor infelicities I want to fix and test.

Do we need to have the CBOR stuff in this PR with the typechecker stuff? Couldn't we pull that out and PR it separately?

Do we need to have the CBOR stuff in this PR with the typechecker stuff? Couldn't we pull that out and PR it separately?

Yes, I would indeed prefer to partition PRs by function. This keeps them smaller, makes them easier to review, and leads to an easier to follow history.

Things I'd like to see addressed still:

Stay using the standard recursion-schemes.
Try to keep using prettyprinter with annotations (I might PR you a POC of this)

I'm fairly happy to merge this, the main thing is that I'd like us to return to the standard recursion-schemes.

Ugh, the CI is stuck again (fyi @disassembler). Not really sure how to shake it up again...

Interestingly, the job tab for this evaluation shows the build jobs having finished 6 days ago (!), which is suspicious https://hydra.iohk.io/eval/288121

Can you push some trivial change that just means we rebuild language-plutus-core?

Ah, it's evaluation errors: https://hydra.iohk.io/jobset/serokell/plutus-pr-32#tabs-errors
I think you just need to rerun pkgs/generate.sh

Sure. That should be easy enough. Thanks for catching this :)


Use with MATT

It looks like there is an issue with the integration on Monk's Active Tile Triggers. Its giving an error when trying to inspect a tile with the filter by lock state. When chosing an entity (which is a tile) it gives an error of "Invalid Entity Type". While I suspect it may be written this way and can only inspect locked Tokens it seems like that is a limitation that doesnt make sence because the tiles can also be locked and are gennerally the focus of MATT's. Am I doing something wrong or is this a bug? If so is there a way to see if a tile is locked via attribute? Thanks!

Yes, i just saw your (?) questions on the foundry discord and decided to look into it and also noticed that i forgot to add tiles as a valid object type for the action, i am currently working on correcting that.

The MATT actions should now all work with tiles with the new v2.7.8


Project workflow: users should be able to upload more scenes for an existing project

Pass project id to create project modal, skip to importing files page

Should be able to just pass a project id to the import modal, which is what the createProjectModal does.


Release tag 0.0.9

The latest release on docker hub is still 0.0.7, could you release 0.0.9? Many thanks!

My bad, I forgot to tag it. I only pushed latest. It should be ok now.

Cool, thnx!


Customize Server header

Is there a way to customize the Server: postgrest/<IP_ADDRESS> header in the response? It would be great to be able to pass it as a command line arg.

You can put nginx in front of the server and use the proxy_set_header command to override Server.

Thanks, do you always recommend the use of nginx in front of postgrest? I was thinking on having a --server-header=my_server_header_value passing it in the command line.

@luismartingil yes, always. In addition to a lot of flexibility/ssl support, it gives you protection against a lot of DDOS attacks
PS: checkout openresty (nginx+lua) - very powerfull combination

Thanks


Why are non-.py files ignored?

The Unix philosphy is to hide interpreter choice inside an executable file (ie magic or #!).  It needn't have a file extension.  If you do this, you can swap implementations say, between sh and py and C and not change the user's view.
So if you have a directory containing a perfectly cromulent py program,
#!/usr/bin/python
import requests
print requests.get("http://ifconfig.co/ip").text

pipreqs will not find requests.  Is this intentional?  Why not have a "--examine-all" switch or make such the default?

Added in #81

Option --examine-all added in #81 ´.

Should include .pyw by default at least IMO.


add user tag

What this PR does / why we need it:
add user tag when post photo
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: None

Additional documentation e.g. usage docs, etc.:

Why close it?

Hey @jerryan9999,
Something went wrong with the build.
TravisCI finished with status errored, which means the build failed because of something unrelated to the tests, such as a problem with a dependency or the build process itself.
View build log
TravisBuddy Request Identifier: 65b9e740-757f-11ea-b60d-a5b03af48ea2

@bruvv  reopened

Travis tests have failed
Hey @jerryan9999,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.
1st Build
View build log

     $PRE_COMMIT_CMD

[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Initializing environment for https://github.com/psf/black.
[INFO] Initializing environment for https://gitlab.com/pycqa/flake8.
[INFO] Initializing environment for https://github.com/asottile/pyupgrade.
[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/psf/black.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://gitlab.com/pycqa/flake8.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
[INFO] Installing environment for https://github.com/asottile/pyupgrade.
[INFO] Once installed this environment will be reused.
[INFO] This may take a few minutes...
Fix End of Files.........................................................Passed
Trim Trailing Whitespace.................................................Passed
Check docstring is first.................................................Passed
Check Yaml...............................................................Passed
Debug Statements (Python)................................................Passed
Check python ast.........................................................Passed
black....................................................................Failed
- hook id: black
- files were modified by this hook

reformatted /home/travis/build/instagrambot/instabot/examples/photos/upload_photos.py
reformatted /home/travis/build/instagrambot/instabot/instabot/api/api_photo.py
reformatted /home/travis/build/instagrambot/instabot/instabot/bot/bot.py
reformatted /home/travis/build/instagrambot/instabot/instabot/api/api.py
reformatted /home/travis/build/instagrambot/instabot/instabot/bot/bot_photo.py
All done! ✨ 🍰 ✨
5 files reformatted, 108 files left unchanged.

flake8...................................................................Failed
- hook id: flake8
- exit code: 1

instabot/api/api_photo.py:9:1: F401 'random' imported but unused

pyupgrade................................................................Passed
pre-commit hook(s) made changes.
If you are seeing this message in CI, reproduce locally with: `pre-commit run --all-files`.
To run `pre-commit` as part of git workflow, use `pre-commit install`.
All changes made by hooks:
diff --git a/examples/photos/upload_photos.py b/examples/photos/upload_photos.py
index 9aa63f8..7317858 100644
--- a/examples/photos/upload_photos.py
+++ b/examples/photos/upload_photos.py
@@ -18,7 +18,7 @@ parser.add_argument("-p", type=str, help="password")
 parser.add_argument("-proxy", type=str, help="proxy")
 parser.add_argument("-photo", type=str, help="photo name")
 parser.add_argument("-caption", type=str, help="caption for photo")
-parser.add_argument('-tag', action='append', help='taged user id')
+parser.add_argument("-tag", action="append", help="taged user id")

 args = parser.parse_args()

@@ -81,12 +81,12 @@ try:
         )

         # prepare tagged user_id
-        users_to_tag = [{'user_id': u, 'x': 0.5, 'y': 0.5} for u in args.tag]
+        users_to_tag = [{"user_id": u, "x": 0.5, "y": 0.5} for u in args.tag]

         if not bot.upload_photo(
             os.path.dirname(os.path.realpath(__file__)) + "/media/" + pic,
             caption=caption,
-            user_tags=users_to_tag
+            user_tags=users_to_tag,
         ):
             bot.logger.error("Something went wrong...")
             break
diff --git a/instabot/api/api.py b/instabot/api/api.py
index abe19ac..c2c099b 100644
--- a/instabot/api/api.py
+++ b/instabot/api/api.py
@@ -806,7 +806,7 @@ class API(object):
         from_video=False,
         force_resize=False,
         options={},
-        user_tags=None
+        user_tags=None,
     ):
         """Upload photo to Instagram

@@ -830,7 +830,14 @@ class API(object):
         @return Boolean
         """
         return upload_photo(
-            self, photo, caption, upload_id, from_video, force_resize, options, user_tags
+            self,
+            photo,
+            caption,
+            upload_id,
+            from_video,
+            force_resize,
+            options,
+            user_tags,
         )

     def download_photo(self, media_id, filename, media=False, folder="photos"):
diff --git a/instabot/api/api_photo.py b/instabot/api/api_photo.py
index 857d300..26171ae 100644
--- a/instabot/api/api_photo.py
+++ b/instabot/api/api_photo.py
@@ -81,20 +81,20 @@ def compatible_aspect_ratio(size):
 def configure_photo(self, upload_id, photo, user_tags=None, caption=""):
     width, height = get_image_size(photo)
     data_ = {
-            "media_folder": "Instagram",
-            "source_type": 4,
-            "caption": caption,
-            "upload_id": upload_id,
-            "device": self.device_settings,
-            "edits": {
-                "crop_original_size": [width * 1.0, height * 1.0],
-                "crop_center": [0.0, 0.0],
-                "crop_zoom": 1.0,
-            },
-            "extra": {"source_width": width, "source_height": height},
-        }
+        "media_folder": "Instagram",
+        "source_type": 4,
+        "caption": caption,
+        "upload_id": upload_id,
+        "device": self.device_settings,
+        "edits": {
+            "crop_original_size": [width * 1.0, height * 1.0],
+            "crop_center": [0.0, 0.0],
+            "crop_zoom": 1.0,
+        },
+        "extra": {"source_width": width, "source_height": height},
+    }
     if user_tags:
-        data_['usertags'] = user_tags
+        data_["usertags"] = user_tags

     data = self.json_data(data_)
     return self.send_request("media/configure/?", data)
@@ -108,7 +108,7 @@ def upload_photo(
     from_video=False,
     force_resize=False,
     options={},
-    user_tags=None
+    user_tags=None,
 ):
     """Upload photo to Instagram

@@ -134,8 +134,13 @@ def upload_photo(
     if user_tags is None:
         usertags = None
     else:
-        tags = {'in': [{'user_id': user['user_id'], 'position': [user['x'], user['y']]} for user in user_tags]}
-        usertags = json.dumps(tags, separators=(',', ':'))
+        tags = {
+            "in": [
+                {"user_id": user["user_id"], "position": [user["x"], user["y"]]}
+                for user in user_tags
+            ]
+        }
+        usertags = json.dumps(tags, separators=(",", ":"))

     options = dict({"configure_timeout": 15, "rename": True}, **(options or {}))
     if upload_id is None:
diff --git a/instabot/bot/bot.py b/instabot/bot/bot.py
index 0ba179a..9298ad8 100644
--- a/instabot/bot/bot.py
+++ b/instabot/bot/bot.py
@@ -785,7 +785,14 @@ class Bot(object):
         return download_photos(self, medias, folder, save_description)

     def upload_photo(
-        self, photo, caption=None, upload_id=None, from_video=False, options={}, user_tags=None):
+        self,
+        photo,
+        caption=None,
+        upload_id=None,
+        from_video=False,
+        options={},
+        user_tags=None,
+    ):
         """Upload photo to Instagram
         @param photo        Path to photo file (String)
         @param caption      Media description (String)
@@ -806,7 +813,9 @@ class Bot(object):
         @return             Object with state of uploading to
                             Instagram (or False)
         """
-        return upload_photo(self, photo, caption, upload_id, from_video, options, user_tags)
+        return upload_photo(
+            self, photo, caption, upload_id, from_video, options, user_tags
+        )

     # video
     def upload_video(self, video, caption="", thumbnail=None, options={}):
diff --git a/instabot/bot/bot_photo.py b/instabot/bot/bot_photo.py
index 5bf7883..521273f 100644
--- a/instabot/bot/bot_photo.py
+++ b/instabot/bot/bot_photo.py
@@ -5,7 +5,13 @@ from tqdm import tqdm

 def upload_photo(
-    self, photo, caption=None, upload_id=None, from_video=False, options={}, user_tags=None
+    self,
+    photo,
+    caption=None,
+    upload_id=None,
+    from_video=False,
+    options={},
+    user_tags=None,
 ):
     """Upload photo to Instagram

TravisBuddy Request Identifier: 253893f0-7580-11ea-b60d-a5b03af48ea2

please fix the build issues.

Again reminder. Fix the build errors please


Can this model run on RTX GPUs?

Hello guys,
Congratulations for this new repo.
I understand this model is able to run on Jetson devices, but I would like to know if it can run on RTX GPU for testing purposes.
Thanks again for this fantastic job.

Yes, this model should work across NVIDIA platforms, including RTX GPUs.
Let me know if you run into any issues, happy to address them.
Best,
John