New API: cv.Subdiv2D

#56

Codecov Report
Attention: Patch coverage is 0% with 74 lines in your changes are missing coverage. Please review.

Project coverage is 87.07%. Comparing base (97a7d1d) to head (8df83f9).

Files
Patch %
Lines

lib/src/imgproc/subdiv2d.dart
0.00%
74 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   88.76%   87.07%   -1.69%
==========================================
  Files          34       36       +2
  Lines        4789     4898     +109
==========================================
+ Hits         4251     4265      +14
- Misses        538      633      +95

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Number of redis connections ever increasing when using Next.js serverless

Description
I am using this redis client in a next.js app. Here is an outline of my code.
import { createClient, RedisClientType } from 'redis';

const redisUrl = process.env.REDIS_URL;

if (!redisUrl) {
  throw new Error('REDIS_URL env variable is needed');
}

class RedisPool {
  redis: RedisClientType;

  constructor(redisUrl: string) {
    console.log('CREATING REDISPOOL');

    this.redis = createClient({
      url: redisUrl,
    });
    this.redis.on('error', (error) => {
      // eslint-disable-next-line no-console
      console.log('ERROR');
      // eslint-disable-next-line no-console
      console.log({ error });
    });
    process.on('exit', () => {
      this.redis.disconnect();
    });
  }
  async connect(): Promise<RedisClientType> {
    if (!this.redis.isOpen) {
      console.log('CONNECTING TO REDIS');
      await this.redis.connect();
    }
    return this.redis;
  }
}
const redisPool = new RedisPool(redisUrl);
export default redisPool;

The way I utilize this is like so
const redis = await redisPool.connect();
      try {
        await redis.set(
          verification_namespace.key(identifier),
          JSON.stringify(verificationToken)
        );
      } finally {
        // await redisPool.disconnect();
      }

As I navigate through the app and run this command  redis-cli info  | grep clients I see the number of connected clients continually increase.
I don't really have this problem when it's a normal server but when serverless I can't really crack why this is occurring.
I see the log "CREATING REDISPOOL" about 3 times as I navigate before it stops occurring and the connections plateau as 3 additional more. On every hot reload as I change the code it adds 3 more additional connections.
I tried to fix this by adding pooling options such as
this.redis = createClient({
      url: redisUrl,
      isolationPoolOptions: {
        idleTimeoutMillis: 5000,
        min: 5,
        max: 40,
      },
    });

but all this did was increase the number of connections more quickly.
Any ideas on how to manage redis pooling in the context of a serverless app?
Node.js Version
v18.14.1
Redis Server Version
6.2.5
Node Redis Version
<EMAIL_ADDRESS>Platform
macOS
Logs
No response

@StephenKennedy5 are you calling connect for every request (inside getStaticProps) or just once when the app starts? If you can create a small repo that reproduces the problem it'll be awesome... :)
BTW, the "isolation pool" is only for commands/functionality that is client-based (blocking commands for example). You can read more about that here.

@leibale sorry I missed your response, I got to fix my notifications.
I am calling our connect method on the RedisPool Class on every request. I have logic in there that would ideally prevent redis.connect on every request (checking attribute redis.isOpen).
Here is my example repo: https://github.com/StephenKennedy5/redis-example
In order to get this running you will want to do

Copy .env.example to .env.local
npm install
docker-compose up --build -d redis
npm run dev (Needs to start on port 3001)
Click between the pages ("see all components" and "< Back to Home") and save any random file to ensure the app is hot reloaded
Occasionally run docker exec -it redis_example_dev redis-cli info | grep clients to observe the number of clients increasing

Please let me know if you have any issues running this or are unable to reproduce said bug. I still have not been able to figure this out since we last talked.

@leibale hey just following up, I appreciate all the work you put into this project. I was hoping to get some clarity about this issue.

@StephenKennedy5 TBH I forgot about that.. I'll try to get to it tomorrow :)

@StephenKennedy5 Looks like it's a next.js bug/design issue, and you can work around that by attaching the client to global and reusing (instead of recreating) between restarts. See https://stackoverflow.com/questions/67025983/is-there-a-hook-before-next-js-hot-reload-happens and https://github.com/vercel/next.js/issues/7811.
Disclaimer: I've never used next.js, so I'm clueless..

Thanks for the response! If it happens only in development I do not mind restarting my server. If it continues to happen in production then I'll try out the fix and report back on this ticket.

@StephenKennedy5 it shouldn't happen in production, it's due to "fast refresh"


Re enable test scripts in actions

Add test scripts into GitHub action files
Issue: Scottish-Natural-Heritage/Licensing#974

Parking for now until we stub the postcode lookup call as this causes the tests to fail

closing PR as there were additional fixes that were needed to remove the postcode lookup dependency in the api


Add agency and corporation org classifications

Toronto uses these labels as important designations outside regular standing committees.
See: http://www1.toronto.ca/wps/portal/contentonly?vgnextoid=3426ea64460b3410VgnVCM10000071d60f89RCRD

Looks fine to me.
I changed coveralls to warn if the decrease is greater than 0.5%. I can make it higher if necessary.

Also, please say "This PR is ready for review" or similar in PR descriptions - otherwise I assume they are work-in-progress for OCD.

Sounds good. Just removed the coveralls bit, as it didn't seem to help anyhwo
Awaiting review.
cc: @fgregg

Please rebase.

Done and done


New options when adding a show

Add the following options when adding a new show:

Future status
Season folders

Fix #140

Codecov Report

Merging #152 into master will decrease coverage by 0.04%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
- Coverage    28.6%   28.55%   -0.05%
==========================================
  Files         118      118
  Lines        3566     3572       +6
  Branches      883      884       +1
==========================================
  Hits         1020     1020
- Misses       2330     2336       +6
  Partials      216      216

Impacted Files
Coverage Δ

...tan89/showsrage/fragment/AddShowOptionsFragment.kt
31.86% <0%> (-2.25%)
:arrow_down:

Continue to review full report at Codecov.

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


User Poll: How many people would like to search more than just apps?

I got requests to include not only app list but also other lists like contacts or webpages.
Please use reaction buttons on this comment on top right - thumbs up or down.

I think those would be helpful, preferably with option to disable in case they cause a performance hit & some users want to disable.
Being able to bring up things in settings quickly might be nice as well - bluetooth, wireless, etc

I think those would be helpful, preferably with option to disable in case they cause a performance hit & some users want to disable.
Being able to bring up things in settings quickly might be nice as well - bluetooth, wireless, etc

Ah, love the control already available! Just remembered the ability to add activities & did that for wireless settings & was coming back to modify comment to say no need - can already do what I suggested.

Ah, love the control already available! Just remembered the ability to add activities & did that for wireless settings & was coming back to modify comment to say no need - can already do what I suggested.

Could you implement the search as just sending an intent to a browser with that search term or possibly a search engine url with that search appended instead of showing results natively in SBL? That way could add preferred search engines as well.

Could you implement the search as just sending an intent to a browser with that search term or possibly a search engine url with that search appended instead of showing results natively in SBL? That way could add preferred search engines as well.

Searching in apps are part of the Android API, not Google's.

I think this should be optional. Maybe there could be a method to choose for what you search.
If you search for contacts every time you type something, the autostaring apps feature is obviously broken.


More Workshop updates

I added support for the item installed callback which fires when a subscribed item is downloaded. I also added support for methods which check item upload/download progress (GetItemUpdateProgress and GetItemDownloadInfo).
Along the way I also updated the ActivateGameOverlay function and added ActivateGameOverlayToWebPage.

Nice!  I'll check it out and merge it in.  Had to change the install process a bit as some part of the code uses C++11 specific naming and the original install steps stopped working.
You guys compiling in Linux or Windows or both?

On Windows so far, but I'll have to start testing it on Linux now.

Nice.  Does your process vary from the one listed?  I haven't tried compiling it in Windows yet, but have done so in Linux.

Yeah, it's just like in the readme, built with VS2015. I'm going to try it with VS2010 now.

Great, glad no changes need made!


TextInput is still focused after opening the DatePicker

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open the app
Go to any page that has DatePicker (ie Connect Bank Account Manually)
Focus on any field then focus to the DatePicker
Notice that the input field is still focused after the picker is opened.

Expected Result:
The Input shouldn't have focus after opening the DatePicker
Actual Result :
The input field is still focused after the picker is opened.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] iOS / native

Version Number: 1.2.46-0
Reproducible in staging?: Y
Reproducible in production?: Y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/210028778-8d5e8470-ee0e-4ef4-a030-7967e55ab38b.mp4
https://user-images.githubusercontent.com/43996225/210028819-c6925de2-b6f2-4dd1-8450-ede7fd3be896.mov
Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1672334181617009
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0158c4ed2bb01bf8b9
Upwork Job ID:<PHONE_NUMBER>508785152
Last Price Increase: 2022-12-30

Issue OwnerCurrent Issue Owner: @anmurali

Hmmm. The reason behind this is that the Date field isn't really editable, and the focus is "faked", so the other fields don't lose focus by default.
We can use Keyboard.dismiss() to force other fields to lose focus.

This issue has not been updated in over 14 days. @Gonals, @mateocole eroding to Weekly issue.

This issue has not been updated in over 15 days. @Gonals, @mateocole eroding to Monthly issue.
P.S. Is everyone reading this sure this is really a near-term priority? Be brave: if you disagree, go ahead and close it out. If someone disagrees, they'll reopen it, and if they don't: one less thing to do!

Hey @Gonals is this still reviewing? Or was this resolved at some point with the "Unfocus other fields" issue was merged?

Triggered auto assignment to @anmurali (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

Ooh yes this can be closed 😅 👍

@anmurali @Beamanator  am I eligible for reporting bonus?

Sent offer here @hungvu193

Sent offer here @hungvu193

Accepted. Thank you

Paid.


Wrong key size

Hello,
I am unable to use your library to decrypt strings.  I get an error:

Wrong key size
at javax.crypto.spec.DESKeySpec.(DESKeySpec.java:155)
at com.mobapphome.mahencryptorlib.MAHEncryptor.(MAHEncryptor.java:29)
at com.mobapphome.mahencryptorlib.MAHEncryptor.newInstance(MAHEncryptor.java:46)

Me either, how can resolve the "Wrong key size"?


Thread-safe IpfsClient.

Currently impossible to pass as "web::Data" in actix for reusability.
And also not possible to use in any async function either.
The problem is that the IpfsClient is using std::rc::Rc, I'm wondering why not Arc.

Case closed, looks like using hyper should resolve this issue.


feat(dropdown): Remember selected filter

The filter drop down currently always uses All by default.
This default can be annoying if you have a deleted masked emails
that sort near the top.
This changes FilterEmailsDropdown to remember the selected filter
between invocations, so the default changes to what you selected last
time.
Note that it remembers the value only when changed with the drop down
and not when you create a new masked email.

Gentle bump.
@ajyey, any interest in this change?
I'm happy to close this if you'd rather not provide this functionality.

@abhinav thanks for the contribution ! This is definitely nice to have 👍

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

Chrome Web Store
GitHub release

Your semantic-release bot :package::rocket:


⚠ SceneTime has degraded performance

In f9531ac, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1090 ms

Resolved: SceneTime performance has improved in 7dc25d1.


feat: Mindsdb Application

Summary

Initial setup for Mindsdb
Test Plan

Checklist

[ ]  No images hosted from dockerhub
[ ]  Are dashboards present to understand the health of the application.  There must be at least 1 of these

[ ]  all databases should have dashboards
[ ]  ideally also have at least cpu/mem utilization dashboards for webserver tier of the app
[ ]  you can use plural from-grafana to convert a grafana dashboard found via google to our CRD

[ ]  Are scaling runbooks present

[ ]  all databases must have scaling runbooks
[ ]  you can use the charts in pluralsh/module-library to accelerate this

[ ]  do you need to add config overlays?

[ ]  inputing secrets
[ ]  configuring autoscaling

[ ]  If there’s a web-facing component to the app, we need to support OIDC authentication and setting up private networks if no authentication option is viable
[ ]  All major clouds must be supported

[ ]  Azure
[ ]  AWS
[ ]  GCP

This one's problematic. I'll create for another app.


Allow "access_token" in token response

Fixes https://github.com/bazelbuild/rules_k8s/issues/128

Thanks!

Ok to merge this?


ENH: Add the split strategy to regression class

Is your feature request related to a problem? Please describe.
To make split conformal predictions, you have to pre-train a model on X_train, then use the fit method with the cv=prefit parameter with MapieRegressor on X_calib.
Describe the solution you'd like
Propose to do it automatically when using the fit method with the cv=1 parameter on X = X_train U X_calib.

Pull Request done in scikit-learn/MAPIE:main branch.


Mention in README/Config README that eventid must be unique

For the solution to work event_ids must be unique and so must job ids. This should be mentioned in the README documentation to try and avoid situations of duplicated data or mixing of instances.
Outcomes:

README updated
Reviewed and approved

Fixed in https://github.com/xtuml/otel2puml/pull/227


"Poșta Câlnău", "Aliceni" and "Coconari" are listed in the drop-down menu

Description:
"Poșta Câlnău", "Aliceni" and "Coconari" are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Poșta Câlnău" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Poșta Câlnău, BUZĂU (Poșta Câlnău)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Type "Aliceni" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Aliceni, BUZĂU (Poșta Câlnău)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Type "Coconari" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Coconari, BUZĂU (Poșta Câlnău)".


Seccomp integration test(s)

Add integration tests for seccomp. The test_container could get an additional command that explicitly does an violation.

Fixed by #408


👕 Add using maui t-shirt print art

Hello :)
We made this awesome t-shirt here in Brazil and we want to share the idea with anyone around the world who are excited about MAUI.

 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.:x: willbuildapps sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

Thank you!


help with debug info

Can anyone tell me how to decode
[debug] #0 (this code)-> 01400354

Sorry, this is not a place for helping with debugging. You might the community want to ask on SA-MP discord instead.


Inject the PodmanEngine into BasedOnUBICheck

This does a few things:

Creates a PodmanEngine implementation in certification/engine package
Adds the PodmanEngine field to the BaseOnUBICheck struct
Creates a NewBasedOnUBICheck "constructor" that access a PodmanEngine
Modifies the tests to use the constructor, and set PodmanEngine
accordingly

This negates the need for the podmanEngine package-level variable. It
also makes the unit tests more self-contained.
Signed-off-by: Brad P. Crochet<EMAIL_ADDRESS>

@bcrochet Given the current direction, should we close this?

Now obsolete.


C1083 Cannot open include file: 'HolographicAppRemoting/StreamerHybridPlayer.h': No such file or directory

Hello, i am building an app with Unity and Visual Studio 2019 for the HoloLens. The most recent feature that i added is the ability to connect the application to an Azure database. When I run it on Unity, everything works as expected, but when I try to compile the project in Visual Studio in order to upload it to the HoloLens, this is one of two errors that I am getting. The other one is "MSB4181 The "CompileXaml" task returned false but did not log an error."
Does anyone know how to solve it? Everything was working well until I added that database feature.

Huh! Could you include the full build log please, if possible?

Everything was working well until I added that database feature.

Did you have to add any UPM packages to support this? Or otherwise importing DLLs into your Assets?

Stale, needs more info!


[mini.tests] conditional quit_on_finish option or API to determine if tests failed?

Contributing guidelines

[X] I have read CONTRIBUTING.md
[X] I have read CODE_OF_CONDUCT.md

Module(s)
mini.test
Description
Hey 👋
I've been experimenting with combining mini.test with busted. The idea is to use the busted CLI to run tests and invoke mini.tests from a mini_tests_spec file.
This allows

To use both test frameworks (e.g. busted for unit tests and mini.test for integration tests).
To use mini.test with our nvim-busted-action.

It works, but I had to hack into the reporter to make sure I get a non-zero exit code if either of the test suites fail.
Otherwise, a successful mini.test run prevents a failed busted run from exiting with a non-zero code.
It would be nice if there were either

an API to determine if tests failed
a possibility to pass in the quit_on_finish option as a function that takes the success or failure as an argument (I can see how this might be unergonomic),
allowing to only quit on failure.
Or, an option to make quit_on_finish a union of boolean and "on_failure".

What do you think?
I'd be happy to open a PR if you're open to this 😄

Thanks for the suggestion!
I don't really understand the problem. Here are some statements which might clarify things:

Writing own reporter is the suggested way to customize how test execution information is displayed to the user.
The gen.reporter.stdout() reporter does quit on finish. Supplying quit_on_finish = false will indeed make it not quit on finish assuming the caller wants to do something else.
Examining the state of cases is the suggested way to extract any information about how tests were executed. This allows for much more flexibility than providing a separate API or a boolean value to, for example, reporter.finish(). Couple of things I'd change in the code itself:

There is seemingly no need to track has_fails in update(). The same can be done in finish().
I'd save cases inside reporter.start(). Same way as is done in gen_reporter.stdout().

Does this clarify the situation?

Thanks for the response.

Examining the state of cases is the suggested way to extract any information about how tests were executed.

This is what I had tried, initially, but I was trying to use MiniTest.current.all_cases, which didn't seem to work.
Thanks for the recommendation. That works too.

Does this clarify the situation?

Yes. Closing :smile:


Fix direct message narrow scroll position bugs

Fix an issue reported in https://chat.zulip.org/#narrow/stream/9-issues/topic/DM.20conversation.20opens.20in.20wrong.20place/near/1728883 that caused the user's scroll position to be jumped up unpleasantly when visiting direct message conversations due to an unfortunate interaction with the animated auto scroll.

Backported for 8.x in https://github.com/zulip/zulip/pull/28964.


add test for error condition in line 151 of ConnectionsState.swift

@artemredkin from what I can tell, no test noticed that this error changed which probably means no test is getting this error ;). I think we should probably add a test case that tests this condition.
Originally posted by @weissi in https://github.com/swift-server/async-http-client/pull/240

https://github.com/swift-server/async-http-client/pull/240/files#diff-bfea29858f72f0aa5df7309d1123b672R151

No longer needed, since the implementation was completely replaced.


AVRO-3442: Add codec build to RAT excludes

Jira

[ ] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-3442
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[X] My PR does not need testing for this extremely good reason: Executed during build.

Commits

[X] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

@RyanSkraba Thanks for showing me where those exclusions are. :)


Question about folded_pipe.

Hi, I notice that the current project only supports folded_pipe1 and folded_pipe 4. Can I modify the code to support folded_pipe 2？

Hi,
yes, the current code supports one pass through Tofino to process 64 elements per packet (256B), and 4 passes to process 256 elements (1KB). This means either using 1 pipe or 4 pipes. It is surely possible to add support for 512B packets using 2 pipes. This can be supported by both the DPDK and RDMA backends, since ibverbs have a 512B MTU option (see here).
The main changes that are needed are in the next_step_selector entries to make the packet go through the right sequence of ports
https://github.com/p4lang/p4app-switchML/blob/b5c74a04fa66faa82acab154a4e21c8f76d913f2/dev_root/controller/next_step_selector.py#L85-L86
and the client library to make it work with 512B/128 elements per packet. Some parts of the code is already there, see the DPDK backend:
https://github.com/p4lang/p4app-switchML/blob/b5c74a04fa66faa82acab154a4e21c8f76d913f2/dev_root/client_lib/src/backends/dpdk/dpdk_worker_thread_utils.inc#L113-L122
and the P4 program:
https://github.com/p4lang/p4app-switchML/blob/b5c74a04fa66faa82acab154a4e21c8f76d913f2/dev_root/p4/types.p4#L128-L133
but we haven't tested it, and probably there are other things to change, like in the RDMA backend where we don't consider it an option:
https://github.com/p4lang/p4app-switchML/blob/b5c74a04fa66faa82acab154a4e21c8f76d913f2/dev_root/client_lib/src/backends/rdma/rdma_connection.cc#L65
Are you considering adding this feature?

Yes, But it seems not easy for me. I modified the code in next_step_selector.py, and I guess i make a mistake, because I don't know what's the correct steps to realize folded pipe2 and as the controler shows, switch only recieve packets, doesn't send.
port = {4: 196, 5: 192, 6: 64, 7: 68}

        # yapf: disable
        entries = [
            # packet_size | worker_id | packet_type | first_last_flag | bitmap_result | priority | action | port |
            ( PacketSize.MTU_128, None,                None,       None, None, 0, 'drop', None),
            ( PacketSize.MTU_256, None, PacketType.CONSUME0,  Flag.LAST, None, 1, 'recirculate_for_HARVEST7', port[7]),
            ( PacketSize.MTU_256, None, PacketType.CONSUME0,       None,    0, 2, 'finish_consume', None),
            ( PacketSize.MTU_256, None, PacketType.CONSUME0, Flag.FIRST, None, 3, 'recirculate_for_HARVEST7', port[7]),
            ( PacketSize.MTU_256, None, PacketType.CONSUME0,       None, None, 4, 'drop', None),
            ( PacketSize.MTU_1024, None,                None,       None, None, 5, 'drop', None)]

        if self.folded_pipe:
            ## 1024B packets
            entries.extend([
                ## Pipe 0, packet not seen before -> pipe 1 (load balance on worker id)
                (PacketSize.MTU_512,    i, PacketType.CONSUME0,       None,    0, 6, 'recirculate_for_CONSUME1', (1 << 7) + i * 4)
                for i in range(16)])
            entries.extend([
                ## Pipe 0, retransmitted packet to a full slot -> pipe 1
                ## Run through the same path as novel packets (do not skip to harvest) to ensure ordering
                (PacketSize.MTU_512,    i, PacketType.CONSUME0, Flag.FIRST, None, 7, 'recirculate_for_CONSUME1', (1 << 7) + i * 4)
                for i in range(16)])
            entries.extend([
                ## Drop other CONSUME0 packets
                (PacketSize.MTU_512, None, PacketType.CONSUME0,       None, None, 8, 'drop', None),
                (PacketSize.MTU_512, None, PacketType.CONSUME1,  Flag.LAST, None, 9, 'recirculate_for_HARVEST1', port[4]),
                (PacketSize.MTU_512, None, PacketType.CONSUME1,       None,    0, 10, 'finish_consume', None),
                (PacketSize.MTU_512, None, PacketType.CONSUME1,  Flag.FIRST, None, 11, 'recirculate_for_HARVEST1', port[4]),
                (PacketSize.MTU_512, None, PacketType.CONSUME1,       None, None, 12, 'drop', None),
                (PacketSize.MTU_512, None, PacketType.HARVEST1,       None, None, 14, 'recirculate_for_HARVEST2', port[5]),
                (PacketSize.MTU_512, None, PacketType.HARVEST2,       None, None, 15, 'recirculate_for_HARVEST3', port[6]),
                (PacketSize.MTU_512, None, PacketType.HARVEST6,       None, None, 16, 'recirculate_for_HARVEST7', port[7])])

But I'll go ahead and implement it, any suggestion would be helpful. THANKS.

@AmedeoSapio Hi,
I modified the relevant code according to your suggestions, and then successfully ran the test program, and the data verification of the test program passed. 2 folding is 6% faster than 1 folding. Can this show that my 2-fold pipeline has been successfully implemented?
Finally, can I implement 4-fold pipes on a 2-pipe switch? I tried to modify the relevant ports, but the result observed on the switch side is that the packets only pass through the ports of consulme0 and consulme1, and the ports from consulm1 to consulme2 are not available, no matter what port value I set.
Following is the code I modified and the original code respectively.
    action recirculate_for_CONSUME2_same_port_next_pipe(PortId_t recirc_port) {
        recirculate_for_consume(packet_type_t.CONSUME2, recirc_port);
    }

    action recirculate_for_CONSUME3_same_port_next_pipe(PortId_t recirc_port) {
        recirculate_for_consume(packet_type_t.CONSUME3, recirc_port);
    }

Moreover. I will choose a recirculated port to replace 2w2 ++ ig_intr_md.ingress_port[6:0] or 2w3 ++ ig_intr_md.ingress_port[6:0].
    action recirculate_for_CONSUME2_same_port_next_pipe() {
        recirculate_for_consume(packet_type_t.CONSUME2, 2w2 ++ ig_intr_md.ingress_port[6:0]);
    }

    action recirculate_for_CONSUME3_same_port_next_pipe() {
        recirculate_for_consume(packet_type_t.CONSUME3, 2w3 ++ ig_intr_md.ingress_port[6:0]);
    }

I have implemented 2-folded pipeline successfully. Thanks. @AmedeoSapio


Mana sticks at 0

Event in the sunlight, it's impossible to have any mana point, at least as adventurer or hunter.
If they are supposed not to have mana anymore, I suggest to remove it totally from the HUD;
if it's only a loading mana bug, it needs to be fixed.

This is another of those insane cases of "works on local server but not on prod".
I have to find out why though.

I found my answer. It seems that mana's system saves the regen of players. If a player has ever been disconnected while under the earth, their regen will be at 0, and no code will bring it back to 3. @Ombridride  just needs to remove mana.mt from the world's directory.

I erased it, the next reboot will solve this issue.

I'll also work on a single-file-per-user storage system, since mana loads everyone's data (all players').


Confusing error message for nilable ivar argument of undefined type

class Foo
  def initialize(@bar : Bar? = nil) # Error: instance variable @bar of Foo was inferred to be Nil, but Nil alone provides no information
  end
end

Foo.new

The type Bar is not defined, so the type of @bar is simply inferred to Nil. The error message might technically be correct, it is confusing and could be more helpful to understand the actual problem here. It is likely, that the developer needs to require Bar or maybe its just misspelled or something.
This is even more confusing when the union contains more types:
  def initialize(@bar : String | Bar? = nil) # Error: instance variable @bar of Foo was inferred to be Nil, but Nil alone provides no information
  end

It would be better to simply error with undefined constant Bar. That would also be the case if the ivar was declared anywhere else than as an argument to initialize.

I got the very same error today, it is very confusing.

I got the very same error today, it is very confusing.


Splitting channel metadata into Channel and Manifest files

Splitting the Channel definition into Channel and Manifest files.
Channel contains static information - repositories, vendor, etc while Manifest contains streams definition
Example Channel file:
schemaVersion: "2.0.0"
name: My Channel
description: |-
  This is my channel
  with my stuff
vendor:
  name: My Vendor
  support: community
repositories:
- id: test
  url: test-repository
manifest:
  gav: org.test:test-manifest

Example Manifest file:
schemaVersion: "1.0.0"
name: My Manifest
description: This is My Manifest v1.0.0
streams:
  - groupId: org.wildfly
    artifactId: wildfly-ee-galleon-pack
    version: 26.0.0.Final

@jmesnil, @wolfc - the PR is not complete yet, but is this the split of channel definition you had in mind?
The changes from #104 would be added to the Channel file.

I'm not sure.
When we specified the channel, we decided that the maven repositories were not a part of its model: https://github.com/wildfly-extras/wildfly-channel/blob/main/doc/spec.adoc#channel-model.
When the provisioning tool is a Maven-based, the maven repositories naturally comes from the pom.xml settings.
When the provisioning tool is not based on Maven, such as Prospero, we would need another way to specify them. You have e.g. https://github.com/wildfly-extras/prospero/blob/main/prospero-cli/src/test/resources/prospero-known-combinations.yaml that would combine the channel GAV with the maven repositories that hosts the artifacts streams.

Channel = 1+ repositories, 1 channel definition, 1 channel definition location (2022-04-04)

I highlighted a couple of times the implementation was using wrong definitions. Now we're at the point we need to clean this up and correctly state that 'channel definition' = 'manifest'. So far the implementation has been using Channel for 'channel definition'.
As for how provisioning works in a Maven environment this is inherently tricky. Having any form of latest strategy active means you can not blindly combine the repositories. Each repository is tied to a certain channel definition / manifest which in essence then forms the channel. You can combine channels, but not repositories. (This is why I said configuration is skewed at the moment.)
A Maven project can only use 1 channel with its repositories inherently defined. To be able to use multiple channels it needs to use different means (aka the same means as prospero).

So far the implementation has been using Channel for 'channel definition'.

The library is providing the Channel API to represent the model as defined in https://github.com/wildfly-extras/wildfly-channel/blob/main/doc/spec.adoc#channel-model.

Having any form of latest strategy active means you can not blindly combine the repositories.

Definitely! That's why "stable" channels should use fixed versions and curate them instead of blinding relying on untrusted / unaligned versions coming from different Maven repositories.
In Maven land, the provisioning of the server is realized by the combination of a Channel GAV and maven repositories (directly configured in the pom.xml). In that context, I don't see why we would need to express this configuration with yet another YAML file.
For Prospero, we can definitely do it but that's a tool-specific configuration as I see it.

So far the implementation has been using Channel for 'channel definition'.

The library is providing the Channel API to represent the model as defined in https://github.com/wildfly-extras/wildfly-channel/blob/main/doc/spec.adoc#channel-model.

Right, and what it describes is a way to describe the contents of a channel. The actual contents live in the backing repositories. Without the repositories there is only the manifest.

Having any form of latest strategy active means you can not blindly combine the repositories.

Definitely! That's why "stable" channels should use fixed versions and curate them instead of blinding relying on untrusted / unaligned versions coming from different Maven repositories. In Maven land, the provisioning of the server is realized by the combination of a Channel GAV and maven repositories (directly configured in the pom.xml). In that context, I don't see why we would need to express this configuration with yet another YAML file.
For Prospero, we can definitely do it but that's a tool-specific configuration as I see it.

Irrespective of the tool being used (Prospero, Maven plugins or whatever) the provisioning result must be the same. Yes, you can use untrusted Maven repositories as a backing content repository for a channel, but that is only in Maven land. Our channel repositories are fully trusted and aligned to individual product streams.
To be able to provide the exact same result the input must be the same and thus any tool doing provisioning would need proper channel configuration. As I said, you can use a single channel in a Maven project but combining multiple and then mixing the repositories leads to trouble.
What would you call the combination of repositories + manifest(s)? And then what would you call a collection of those combinations?

When I look at the Channel file I can see
repositories:
- id: test

That means that the channel library should only use the "test" maven repository to resolve any artifact that the manifest bound to this channel has a stream for.
@wolfc @spyrkob am I correct with this assumption?
Based on this, we can have the wildfly-maven-plugin to expose a list of "restricted maven repositories" that would, in this case, contain a single entry: "test". Obviously the settings.xml or pom.xml (the enabled current profiles(s)), would have to contain a repository with the "test" id. This list is global to all configured channels. All configured channels would receive the same list. Each channel would only use a subset of the repositories according to its configuration. Each channel having the knowledge of the ids it trusts. 2 channel files referencing the id "mrrc" identify the same repository. We can't imagine "mrrc" having a meaning for channel1 and another for channel2.
When the plugin runs, it conveys the global list of "restricted repositories" to all the configured channels. The channel, when a "restricted list" is provided, only uses the ids that it knows (if any) repository from the list of maven repositories instances that the plugin has injected in the channel (could contain central, nexus, mrrc, repos, custom, test, ...). If the expected ids are not found, then it aborts.
If no "restricted lists" is provided, then the channel uses all repositories, without any selection nor check.

@jfdenise I think that makes sense. What would be the expectation if channel defines two repositories, but only one of them is in the restricted list? Aborted run?

@spyrkob , I would say that,  when a restricted list is provided, all repositories known by the channel must be present. Aborting if one is missing.

added the manifest information to the spec

repositories:
- id: test
  url: https://example.com/test-repository

There are scenarii when the users will configure a Maven proxy to pull Maven dependencies. The lib must respect their settings.
In that sense, the id field is a unique identifier and the url would be a "default" URL that can be overridden by the users in the tooling.
For example, with the wildfly-maven-plugin, it should be possible for the user to configure a <repository> with a test id to use instead of the default repositories from the channel definition.
Given that we can not necessarily assert the sources of the components provisioned by a Channel, it becomes more important to verify their integrity (as tracked by #112).
It then does not matter if the component was pulled from Maven Central or a Proxy as long as its checksum correspond to the expected content from the channel.

@jmesnil how about adding following constructor to the VersionResolverFactory:
public VersionResolverFactory(RepositorySystem system,
                                  RepositorySystemSession session,
                                  Function<Repository, RemoteRepository> repositoryFactory)

User can then provide their own mapping from channel's repository to maven repository

@jmesnil do you know when this change might be included?

Should the requires relation be expressed between Channels or ChannelManifests?
The use case I'm thinking about is, for example, Wildfly feature packs where the wildfly-galleon-pack depends on wildfly-ee-galleon-pack.
Currently that's represented by two separate manifests - wildfly-galleon-pack-channel.yaml and wildfly-ee-galleon-pack-channel.yaml where the former requires the latter.
After the Channel/Manifest split should those be treated as two separate channels with the same repositories? Or should the Channel allow to combine multiple Manifests into one (either via Maniefest requires or listing multiple manifests in Channel)?

@spyrkob I've created a dev branch. Could you please rebase this PR against it please?

@jmesnil done

FYI, A wip branch for the wildfly-maven-plugin that integrates these changes and rely on propsero metadata to output a prospero compliant installation as soon as channels are configured: https://github.com/jfdenise/wildfly-maven-plugin/pull/new/WFMP-177

@jfdenise updated

@spyrkob , I integrated these changes with wildfly-maven-plugin, and all is fine. I am approving this PR.


Add missing codeowner dirs

@svuckovicTT, let me know if you're OK with owning the whole tools dir.  I realized we had some missing code owner coverage, i.e. docs + readme + env.

@svuckovicTT, let me know if you're OK with owning the whole tools dir. I realized we had some missing code owner coverage, i.e. docs + readme + env.

Sure! I think it'd also be good to add at least 1 more person (ideally 2) so that everything runs smoothly during PTOs, etc.

@nsmithtt not sure if intentional, but you didn't merge this :)

@nsmithtt not sure if intentional, but you didn't merge this :)

Thank you! I updated the PR


HDH-327-coveo-search-results-tags-are-missing-after-pr-8179

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6707f290556abc00a8aa69df--harness-developer.netlify.app


SFPF, SFPI: Error by import of big SIFbA forms

By serialisation of a SFPF/SFPI object the attributes like "id=o*" and reference attributes like "href=#o*" are renumbered. This logic is implemented in the method ZCL_ABAPGIT_OBJECT_SFPF=>FIX_OREF(). The problem is, that the renumbering has the upper limit of 100 for the total number of nodes:

But big forms can have much more nodes. This is a screenshot from the serialised xml of a productive SIFbA form with search results of the substring "o11045":

As you can see here there is only one node with id="o11045" in the xml document.
After executing of the method FIX_OREF() there are a lot of nodes with the same id="o104":

What is the reason for such a renumbering? I've just deleted the calls of the method and now big forms work just fine.

fd468a2

reason: when the standard code exports the form, it gives numbers, however these are not deterministic, so each time a form is serialized it gives new numbers => in abapGit the form will always show up as changed
suggest changing the code so it uses "1000000" instead of "100", this should fix the issue? While still being backwards compatible

Ok, I've got your point.  I'll try to implement the renumbering in a slight a different way in a separate branch.

I've tested the correction with couple of really big print forms:

backward compatibility -> ok
performance -> ok
pull, stage -> ok
stage, pull -> ok
So from my point of view, the issue can be closed.

Btw, the method IF_IXML_NODE_ITERATOR->GET_NEXT() works really slowly! It is much better firstly to store all relevant nodes in an internal table and then work with the table instead of the iterator.

closing issue
GET_NEXT: feel free to submit a PR with a fix

I've found this problem during development, so the correction is already implemented using internal tables. No additional changes are needed.


Update test build script to push containerd variant

Updates the build to support the configuration used for containerd-master in the prow k8s tests. After this is in, containerd-master will be updated to use the added e2e_node configuration here, unblocking the failing e2e tests today which fail since cri is no longer checked out.

/test pull-containerd-build

/test all

/test pull-containerd-node-e2e

/test pull-containerd-build


Make a prompt for container deletion

Should make it promt the user if they really mean to put a container with items inside another container. If they didn't mean to do that they should be able to cancel the action.

Prompts happen at the same time as everything else and I don't feel like doing this right now...


Cannot use HttpServer with UDS

PHP-PM uses UDS for handling master requests on slave. This fails in the RequestHeaderParser:
parser->error Symfony\Component\Debug\Exception\ContextErrorException: Notice: Undefined index: port in /Users/andig/Documents/htdocs/vz/vendor/react/http/src/RequestHeaderParser.php:107
Stack trace:
#0 /Users/andig/Documents/htdocs/vz/vendor/react/http/src/RequestHeaderParser.php(59): React\Http\RequestHeaderParser->parseRequest('GET /data.json ...')
#1 /Users/andig/Documents/htdocs/vz/vendor/react/http/src/RequestHeaderParser.php(49): React\Http\RequestHeaderParser->parseAndEmitRequest(132)
#2 [internal function]: React\Http\RequestHeaderParser->feed('GET /data.json ...')

ping @WyriHaximus can this constraint be removed to allow any type of underlying socket?

Note: for my testing purpose solved by:
    if ($this->remoteSocketUri !== null) {
        $remoteAddress = parse_url($this->remoteSocketUri);

        if (isset($remoteAddress['port'])) {
            $serverParams['REMOTE_ADDR'] = $remoteAddress['host'];
            $serverParams['REMOTE_PORT'] = $remoteAddress['port'];
        }
    }

Host is set to ________ in my tests, so testing for host does not work.

Thanks for filing this! This is an interesting issue, given that the underlying component does not currently support Unix domain sockets (UDS) (https://github.com/reactphp/socket/issues/25) :-)
I agree that despite this, this is still a minor bug that parsing the request should probably not fail in this case. Do you feel like filing a PR to fix (and test) this? :shipit:
Considering long-term goals, does it make sense to ignore REMOTE_ADDR and REMOTE_PORT in this case and/or how do other servers handle this?

@clue I've added a test. The problem at least on OSX seems to be related to a PHP bug with UDS that I've seen before (https://bugs.php.net/bug.php?id=74556).

@andig Thanks for the update, I've just commented on this and linked to a related ticket (https://github.com/reactphp/http/pull/234#discussion_r143327946) :+1:
I wonder where this address you're seeing comes from, as this should already be handled by our socket component (https://github.com/reactphp/socket/pull/100). Do you happen to use an older version or a custom implementation that does not implement the same fix?

@clue I think the problem is that I'm using the unix socket on the server side, so the UdsConnector doesn't even come into play (its what you've pointed out via https://github.com/reactphp/socket/issues/25).

Thanks for the confirmation! As per reactphp/socket#25 there's currently no official UnixServer implementation (PRs welcome!).
If you're using a custom implementation, I would suggest re-using the existing logic to return semantically correct unix address strings. You should be able to re-use the logic from the above link and/or manually return null in this case. Can you give this a try and see if this fixes your issue?
As an alternative, once reactphp/socket#25 is resolves (PRs welcome!), we can add an integration test for this and make sure this works out of the box :+1:

I've opened https://github.com/reactphp/socket/pull/120, currently work in progress. This fixes the problem according to my testing.
Shall we close this PR hence and focus on the proper UDS server? Big thank you for your patience and help!

Nice! Also happy to hear this appears to fix the issue you're seeing! I think both ways make sense, so I'll leave the decision up to you. Either way, thank you for your continuous effort! :-)

tl;dr
Still needs https://github.com/reactphp/socket/pull/123 to get in for Mac-specific failure on current PHP.


I dont see the serilog control in toolbox

hello. i dont see the controls in the toolbox for serilog richbox and etc. how can i enable them ?

@alejo9010, assuming that you are using Visual Studio 2019:
After downloading the code, build and run the sample program. Once the program is built the controls will appear in your toolbox.
If you have any additional question, please let me know.
I am also assuming that once the program is built, you know how to add the control to a new program. If not, please let me know.
Good luck!

hi thanks for answering, but i still cant see the control, i cant even see the control in you sample code, i see the controls in the form, but not in the toolbox, also i tried using the other method (WindFormsSink.SimpleTextBoxSink.OnLogReceived += SimpleTextBoxSinkOnOnLogReceived;) but, its giving me errors when triying to log inside tasks, or other threads.

If you are using a package from nuget just build your project and you should be able to see them in toolbox  if not you can manually browser the dll and add controls to your toolbox.


Add TLS as Best Practice to the Guide

Yii 2 provides features that rely on cookies and/or PHP sessions. These can be vulnerable. The vulnerability is reduced if the app runs on TLS.
Hence I suggest the mos def guide's page on Best Practices should have another heading to explain that if the app uses these features of Yii, it should run the app over TLS.
This section could usefully also point to an external resource for finding up-to-date information on configuring TLS, perhaps h5bp.

Good idea. What's h5bp?

https://html5boilerplate.com/ has recommended server configs that try to keep up to date with BCPs for ciphers and protocols. e.g. https://github.com/h5bp/server-configs-nginx/blob/49aac219455eea948b983d5c656bbacc431413ee/h5bp/directive-only/ssl.conf#L6

@samdark @tom-- can i make a pull request for this?

@devypt sure, go ahead :)


Handle all types of repo, including internal

Current coverage is 96.75%

Merging #490 into master will increase coverage by +0.03% as of 2ab198d

@@            master    #490   diff @@
======================================
  Files           12      12
  Stmts          457     461     +4
  Branches         0       0
  Methods          0       0
======================================
+ Hit            442     446     +4
  Partial          0       0
  Missed          15      15

Review entire Coverage Diff as of 2ab198d

Uncovered Suggestions

+0.65% via ...okiecutter/compat.py#70...72
+0.65% via ...okiecutter/compat.py#61...63
+0.65% via ...okiecutter/compat.py#49...51
See 4 more...

Powered by Codecov. Updated on successful CI builds.

Thank you for your contribution @charlax! :bow:
Can you possibly change the regex to use inline comments for the sake of comprehensibility?

For sure! Do you really think that's necessary though? I fear this will make the regex look more complicated than it actually is. Let me know and I'll do it.

Yeah, I feel it helps other contributors who may not be as familiar with regex and even yourself in a few months from now :grin:
I feel something like this is way easier on the eyes.
http://www.diveintopython.net/regular_expressions/verbose.html

Related to #484

Please note that we also support bitbucket/hg :no_mouth:

Added the comments and made the regex more generic!

@hackebrot do you mind reviewing?

I'm still at work. Expect a thorough review later that night. Brb!

Added a test for Mercurial.

LGTM :+1:

LGTM :+1:


1.74 refuses to sync to github

Type: Bug
I've rolled back to 1.73, as the latest version fails to connect to github to synch with the remote.  A popup demands a password, but of course github no longer works via passwords. It worked fine before today's update and now fails. It works fine under 1.74.
VS Code version: Code 1.73.1<PHONE_NUMBER>f055b99068d3688932416f2346dd3b, 2022-11-09T03:54:53.913Z)
OS version: Linux x64 5.10.142-19743-gd301e86c39f7
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) m3-8100Y CPU @ 1.10GHz (4 x 1608)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 0

Memory (System)
6.46GB (5.77GB free)

Process Argv
--unity-launch --crash-reporter-id 7f774eb0-07f8-4b4e-9a50-35b71082ccaf

Screen Reader
no

VM
100%

DESKTOP_SESSION
undefined

XDG_CURRENT_DESKTOP
X-Generic

XDG_SESSION_DESKTOP
undefined

XDG_SESSION_TYPE
undefined

Extensions: none
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593:30376534
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
azure-dev_surveyone:30548225
pyindex848:30577860
nodejswelcome1cf:30587006
2e4cg342:30602488
gswce1:30612156
3d0df643:30613357
dbltrim-noruby:30604474
f6dab269:30613381
fim-prod:30623723

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Hi, I have a similar issu with 1.74 november update.
When I click on commit, button beconmes Sync Changes. And it does not work properly. I am asked to enter password for arbitrary username.

Even if I leave it empty, it pushes the commit. The workaround is to avoir Sync Changes button and press menu->push. It works, but it is annoying
So as a fix, I downgraded to October 1.73.1 version and it works

@jcoonrod, @VokaCv, could you download the latest VS Code Insiders and check if you are still able to reproduce?

Thank you - yes, the insider 1.75 works correctly.
On Sat, Dec 10, 2022 at 3:56 AM Ladislau Szomoru @.***>
wrote:

@jcoonrod https://github.com/jcoonrod, @VokaCv
https://github.com/VokaCv, could you download the latest VS Code
Insiders https://code.visualstudio.com/insiders/ and check if you are
still able to reproduce?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/168386#issuecomment-1345189213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6ZKXQDUSE7RUGWYUNVBT3WMRAVHANCNFSM6AAAAAASXT23OU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Yes. That is what I said. I had to revert to 1.73 in order to not lose my
changes but the error was in 1.74.
On Wed, Dec 7, 2022 at 10:47 PM VSCode Triage Bot @.***>
wrote:

Thanks for creating this issue! It looks like you may be using an old
version of VS Code, the latest stable release is 1.74.0. Please try
upgrading to the latest version and checking whether this issue remains.
Happy Coding!
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/168386#issuecomment-1341950058,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6ZKXU4GWE222UCO6QMUBDWMFK6ZANCNFSM6AAAAAASXT23OU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@jcoonrod, @VokaCv, could you download the latest VS Code Insiders and check if you are still able to reproduce?

Hi, i don't want to mess up with current project i am working on. I'll try it next week.

The Insider 1.75 seems to be working with github just fine
On Mon, Dec 12, 2022 at 3:56 AM VokaCv @.***> wrote:

@jcoonrod https://github.com/jcoonrod, @VokaCv
https://github.com/VokaCv, could you download the latest VS Code
Insiders https://code.visualstudio.com/insiders/ and check if you are
still able to reproduce?
Hi, i don't want to mess up with current project i am working on. I'll try
it next week.
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode/issues/168386#issuecomment-1346111960,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM6ZKXUXIWXGQGT6OAYNPEDWM3SB7ANCNFSM6AAAAAASXT23OU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Closing this issue based on this comment.


cannot unmarshal object into Go value of type []string

I'm experiencing a strange issue ATM, where I get the following logs from the containers:
docker is running properly
DEBUG ENABLED
=> Run the clean script every 60 seconds and delay 1800 seconds to clean.
DEBUG: Starting loop
=> Removing unused volumes using native 'docker volume' command
Error response from daemon: json: cannot unmarshal object into Go value of type []string
=> Removing exited/dead containers
Error response from daemon: json: cannot unmarshal object into Go value of type []string
=> Removing unused images
Error response from daemon: json: cannot unmarshal object into Go value of type []string

Here are the different Docker informations:
Client:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64
Server:
 Version:      1.9.1
 API version:  1.21
 Go version:   go1.4.3
 Git commit:   a34a1d5
 Built:        Fri Nov 20 17:56:04 UTC 2015
 OS/Arch:      linux/amd64

The Docker daemon (/var/log/docker.log) also have these logs:
time="2016-06-13T11:06:38.415267697Z" level=error msg="Handler for GET /v1.21/volumes returned error: json: cannot unmarshal object into Go value of type []string"
time="2016-06-13T11:06:38.415364606Z" level=error msg="HTTP Error" err="json: cannot unmarshal object into Go value of type []string" statusCode=500
time="2016-06-13T11:06:38.434171019Z" level=error msg="Handler for GET /v1.21/containers/json returned error: json: cannot unmarshal object into Go value of type []string"
time="2016-06-13T11:06:38.434265178Z" level=error msg="HTTP Error" err="json: cannot unmarshal object into Go value of type []string" statusCode=500
time="2016-06-13T11:06:38.451053964Z" level=error msg="Handler for GET /v1.21/containers/json returned error: json: cannot unmarshal object into Go value of type []string"
time="2016-06-13T11:06:38.451140106Z" level=error msg="HTTP Error" err="json: cannot unmarshal object into Go value of type []string" statusCode=500

Anybody already experienced this issue?
Thank you very much,

Haven't seen these problems before. Perhaps something on the docker daemon state that's gotten in a weird state. If possible could you try to stop the docker daemon and wipe /var/lib/docker/* and then start docker daemon and try docker-cleanup again?
Disclaimer: Note that wiping /var/lib/docker/* would remove all your volumes and containers.

I'm not sure if the problem is really on Docker side because the API looks to be fine as the docker ps command is working as expected. Also, it's running on many nodes and all of them have the same issue.

I can confirm this is an issue introduced here, as it's not working anymore with the latest tag with Docker 1.9.1 anymore. The setup didn't change, only the version of meltwater/docker-cleanup.

To follows up, it's working properly when using meltwater/docker-cleanup:1.7.2, released a month ago.

@sroze You are my lifesaver right now. We're still running ancient 1.9.1 and I also ran into this strange problem. Explicitly declaring the version to 1.7.2 instead of latest got it running like a champ. Thank you!


Non-validator nodes pending txn queue does not clear

Non-validator nodes pending txn queue does not clear
Description
On a non-validator node, transactions in the pendingQueue do not get cleared after being mined but they do get cleared on validator nodes.
Your environment

OS and version Ubuntu 20
version of the Polygon SDK 6efebc6a92f885082620ed2a8d59e37d4d27074c
branch that causes this issue develop

Steps to reproduce

Tell us how to reproduce this issue
Start a chain. Start a non-validator node. Submit any txn TO THE  non-validator node RPC from any account. Don't submit to a validator node as that works fine.

Call
curl --location --request POST 'http://localhost:8545' \
--header 'Content-Type: application/json' \
--data-raw '{
    "method": "txpool_content"
}'

Observe that even after the txn is mined, the txn is not cleared from the txpool.

Where the issue is, if you know

In validator nodes, in insertBlock in ibft.go calls 	i.txpool.ResetWithHeader(block.Header) which in turn calls ProcessEvent after it finishes to reset the tx pool. This is never called in non-validator nodes and is the only thing that I can see that removes txns from the pendingQueue in txpool.

Which commands triggered the issue, if any

Expected behaviour
Txns should be cleared from pending as soon as they are mined.
Actual behaviour
Txns stay forever in pending until restart.
Logs
Please paste any logs here that demonstrate the issue, if they exist
This txn has long been mined:
{
    "jsonrpc": "2.0",
    "id": null,
    "result": {
        "pending": {
            "0x7D5e3D5D63225832cbf723526aF2e4EA4833dB35": {
                "37": {
                    "nonce": "0x25",
                    "gasPrice": "0x2540be400",
                    "gas": "0x186a0",
                    "to": "0x178341794621Ae73cC9090dA473B763E9A9b010B",
                    "value": "0x560b8ce73d414c7",
                    "input": "0x",
                    "hash": "0xd1fd7a9f56b623a592a992ca27309c3f1dfc1f3adb51e35cb8625cc97ba8c1c5",
                    "from": "0x7D5e3D5D63225832cbf723526aF2e4EA4833dB35",
                    "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
                    "blockNumber": null,
                    "transactionIndex": null
                }
            }
        },
        "queued": {}
    }
}

Proposed solution
After WriteBlocks in blockchain.go, there should be some sort of thing to clear pending txns from the txpool.

@mrwillis, sorry for the late response here.
I have confirmed this behaviour and made the changes required in this PR #249 which is now merged into current develop, so feel free to try it out!


Test dataset processing fails when using FLASH end-pairing

Download igdiscover-testdata-0.6-tar.gz
Change  IgDiscover/discoverrtest/igdiscover.yaml to   merge_program: flash
IgDiscover run fails with the error:

Finished job 40.
1 of 36 steps (3%) done
rule parse_flash_stats:
input: reads/2-flash.log
output: stats/reads.json
jobid: 31
Job counts:
count	jobs
1	parse_flash_stats
1
Error in rule parse_flash_stats:
jobid: 0
output: stats/reads.json

SystemExit in line 130 of /usr/local/lib/python3.6/dist-packages/igdiscover-0.12.dev68+g7f6179b-py3.6.egg/igdiscover/Snakefile:
Could not parse the FLASH log file
File "/usr/lib/python3.6/concurrent/futures/thread.py", line 56, in run
File "/usr/local/lib/python3.6/dist-packages/igdiscover-0.12.dev68+g7f6179b-py3.6.egg/igdiscover/Snakefile", line 130, in __rule_parse_flash_stats
Exiting because a job execution failed. Look above for error message
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: IgDiscover/discovertest/.snakemake/log/2019-08-14T215059.922222.snakemake.log

snakemake.log has similar content

rule parse_flash_stats:
input: reads/2-flash.log
output: stats/reads.json
jobid: 31
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: IgDiscover/discovertest/.snakemake/log/2019-08-14T215059.922222.snakemake.log

The directory discovertest/stats is empty

The flash logfile error results from a typo in the Snakemake file
`    rule parse_flash_stats:
input: log='reads/2-flash.log'
output:
json='stats/reads.json'
run:
total_ex = re.compile(r'[FLASH]\sTotal reads:\s([0-9]+)')
merged_ex = re.compile(r'[FLASH]\sCombined reads:\s([0-9]+)')
with open(input.log) as f:
for line in f:
match = total_ex.search(line)
if match:
total = int(match.group(1))
continue
The Flash logfile uses different names ("pairs" instead of "reads")

[FLASH] Read combination statistics:
[FLASH]     Total pairs:      7811
[FLASH]     Combined pairs:   7327
[FLASH]     Uncombined pairs: 484
[FLASH]     Percent combined: 93.80%

Ah, thanks for catching this! Weird, I thought this worked at some point in time ... (FLASH hasn’t made any new releases, so it cannot be that they changed their message.) We didn’t catch this because we don’t run FLASH during the tests.
I fixed the error and also added a test.


Add size limit problem

JWT adds a header and a signature (usually the same one, size constant for both), and encodes data in base64, what requires around 4/3 the original data size.
Including data that grows up, such as a list of role descriptions that can be added to the user, it is easy to create a big JWT.
Problems:

This big JWT is going to be sent on every communication, generating larger messages and consuming more network resources.
Every web server has a header size limit that is between 4k and 48k. Any header beyond that will be rejected, generating a hard to debug selective DoS problem.

moving pr to the original project.


Share Plugin of Xamarin Forms does not work

Hi ,
First of all great Plugin.
I am using this plugin in multiple apps I am trying to use Xamarin Forms Share Plugin to share the image through the ActionButtonPressed event but nothing happen.
I got the break point but sharing does not work.

Very disappointment i didn't get any answers yet;

same problem xamarin forms plugin was good ,at least give a visible property for share button

@lumisoftusa with any open source project you are more then free to clone the solution and try to fix the issue yourself...


ImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _Py_FalseStruct

I update my tensorflow to 1.5, the last version is 1.3.0. But I got a issue about numpy, after lot of attempts, it was solved, numpy can be used.
But now, I have a new issue when I import tensorflow:
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/tensorflow/init.py", line 24, in
from tensorflow.python import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/init.py", line 49, in
from tensorflow.python import pywrap_tensorflow
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 74, in
raise ImportError(msg)
ImportError: Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow.py", line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 28, in
_pywrap_tensorflow_internal = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/pywrap_tensorflow_internal.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow_internal', fp, pathname, description)
ImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _Py_FalseStruct
Failed to load the native TensorFlow runtime.
See https://www.tensorflow.org/install/install_sources#common_installation_problems
for some common reasons and solutions.  Include the entire stack trace
above this error message when asking for help.
I can't get any solutions on the Internet. Anyone can help me?

This error (undefined symbol: _Py_FalseStruct) is a symptom of a mismatch between the python version and the version of a module. Have you somehow installed the py3 version of tensorflow into your py2 environment?
How did you install TensorFlow?
Can you try to install tensorflow into a clean virtualenv? It does look like your python installation is broken.

Nagging Assignee: It has been 14 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

I'll close this, assuming this is a problem with your installation. Please reopen if more information is available.

Hello, I met a problem like yours. I have a model in docker and I try to train it. It works and everything is ok. But later on , I try t train it, a problem occurs:
ImportError: /usr/local/lib/python2.7/dist-packages/tensorflow/python/_pywrap_tensorflow_internal.so: undefined symbol: _ZTIN10tensorflow17CostGraphDef_NodeE
Failed to load the native TensorFlow runtime.
Could you please give some suggestion? Thank you in advance.


[#147829023] Force TLS for MySQL service instances

What
Use a new version of the RDS broker than forces TLS connections to MySQL service instances. Adjust the acceptance tests to verify this in the same way we do for Postgres.
How to review
It's best to look at alphagov/paas-rds-broker#52
Before merging:

Make sure you've updated alphagov/paas-rds-broker-boshrelease#40 to use a merge commit
Make sure you've updated the wip commit in this PR to use a final build

Who can review
Anyone.

LGTM


Incorrect presentation of ImageField and Label

The library doesn't render ImageFields correctly. There is no newline after the label of the field. Please fix that.
Sample Image

I'm having the same problem!

That part is generated by Django. I agree the rendering does not look very nice. Let's see what we can do.

That part is generated by Django. I agree the rendering does not look very nice. Let's see what we can do.

Hmm okay. Just a new line after the label would have been great.

@ArnavVarshney If you can submit a code snippet or a PR that would speed things up.

@dyve I wouldn't mind doing that, to be honest, I don't really know how I can test the changes I make locally. Can I manually compile this repo and use it in my project?

Yes, you can clone it and edit it locally. You can also download it and copy it into your project and tinker with it. This might get you started: https://opensource.com/article/19/7/create-pull-request-github
For more in-depth questions, I'm going to refer you to StackOverflow.
Happy coding!

@dyve I did manage to fix it but I am not sure if the pull request was as desired though. This is my first time contributing to a public project!

I solved the problem by adding label_class = 'row', I don't know if it's the best idea but it works.

@dyve Any updates?

Fixing the issues with 2.0.0 first, then I look at this. Not sure if the  insert will not have side effects (like when you do not have a label).

@dyve Sure take your time! By the way, I did try it without the label. Worked normally for me.


Stubs for make:broker

Create the make:broker command to be able to create a new broker from scratch

This issue will not be made in this package.
This package will be generic and not teamwork dependant.
If needed it will be created in the future a bridge that will connect this package with the laravel framework and this issue will belong to that bridge


Robert Longson: Watch oxsoftwares.com

Robert Longson requests the watch of the watch_keyword oxsoftwares\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

oxsoftwares\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by tripleee in Charcoal HQ


Tmux start script is printing errors

On Arch this is the output:
~/.dotfiles/tmux/start.sh:3: condition expected: tmux:
~/.dotfiles/tmux/start.sh:3: condition expected: tmux:
~/.dotfiles/tmux/start.sh:3: condition expected: tmux:
~/.dotfiles/tmux/start.sh:3: condition expected: tmux:

This is caused because the process of the version I have installed on Arch is called tmux: server.


MINOR: Fix flaky test case for compact/delete topics

We recently observed a transient failure of this test case:
java.lang.AssertionError: Contents of the map shouldn't change expected:<Map(0 -> (340,340), 5 -> (345,345), 10 -> (350,350), 14 -> (354,354), 1 -> (341,341), 6 -> (346,346), 9 -> (349,349), 13 -> (353,353), 2 -> (342,342), 17 -> (357,357), 12 -> (352,352), 7 -> (347,347), 3 -> (343,343), 18 -> (358,358), 16 -> (356,356), 11 -> (351,351), 8 -> (348,348), 19 -> (359,359), 4 -> (344,344), 15 -> (355,355))> but was:<Map(0 -> (340,340), 5 -> (345,345), 10 -> (350,350), 14 -> (354,354), 1 -> (341,341), 6 -> (346,346), 97 -> (297,297), 9 -> (349,349), 96 -> (296,296), 13 -> (353,353), 2 -> (342,342), 17 -> (357,357), 12 -> (352,352), 7 -> (347,347), 98 -> (298,298), 3 -> (343,343), 18 -> (358,358), 95 -> (295,295), 16 -> (356,356), 11 -> (351,351), 99 -> (299,299), 8 -> (348,348), 19 -> (359,359), 4 -> (344,344), 15 -> (355,355))>

The presence of old keys implies that not all old segments
had been deleted. The fix is to improve the wait condition.
Rather than waiting for the number of segments to be 1, we
wait for the log start offset to reach the end offset.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

retest this please

Thanks @hachikuji. Can you please elaborate why we should not wait for the number of segments to be 1?

@ijuma The intent in the test case is to delete all old segments. The current wait logic assumes all segments will be deleted at once and only the newly created segment will be left around. My best guess for why this expectation fails is that the retention check (which runs asynchronously) is executing after the last modified time of all but one of the segments has been changed. This leaves one old segment behind which ultimately causes the above assertion error.

retest this please

retest this please


Use create instead of replace when creating Secret or ConfigMap

Based on user feedback, the command:
kubectl create configmap -n keptn ingress-config --from-literal=ingress_hostname_suffix=${INGRESS_HOSTNAME} --from-literal=ingress_port=${INGRESS_PORT} --from-literal=ingress_protocol=${INGRESS_PROTOCOL} --from-literal=istio_gateway=${ISTIO_GATEWAY} -oyaml --dry-run | kubectl replace -f - does not work on a fresh cluster, since the configmap is not available.
I fixed it by changing it to create instead of replace.

Can not confirm, I just tried
$ kubectl -n keptn create secret generic dynatrace --from-literal="DT_API_TOKEN=$DT_API_TOKEN" --from-literal="DT_TENANT=$DT_TENANT" --from-literal="KEPTN_API_URL=$KEPTN_API_URL" --from-literal="KEPTN_API_TOKEN=$KEPTN_API_TOKEN" -oyaml --dry-run | kubectl create -f -
W1124 09:43:59.475772  107674 helpers.go:553] --dry-run is deprecated and can be replaced with --dry-run=client.
secret/dynatrace created

on a fresh cluster and it worked.
However, if the secret already exists, kubectl create -f does not work:
Error from server (AlreadyExists): error when creating "STDIN": secrets "dynatrace" already exists

In addition, using replace does not work if the secret does not exist (on a fresh cluster):
Error from server (NotFound): error when replacing "STDIN": secrets "dynatrace" not found

Closing it, as I believe it's not needed.


Hidden Node counts don't account for no spawn

Setup:

craft 100 x Rarefied Titanbronze Tower Shield
Yield per node: 8 (490 melded gear, pick clean rotation)
Titanium ore needed: 300
MiqoCrafter suggests startGathering(38) Titanium Ore (hidden item)

I have adequate quantities of all mats except Titanium Ore.
If possible, MiqoCrafter should add an additional buffer on hidden node calculations to account for nodes that don't yield the hidden item. I'm not sure what the optimal multiplier would be. Maybe qty needed / (yield per node * .25)
For now I've manually changed it to 100 nodes instead of 38.

Hi ! Thanks a lot for the feedback, and the good idea :). I will add this multiplier.


Plugin with executableTarget doesn't work when we archive iOS App

Description
When you want to use a plugin as a build step along with an executable target.
It works well during debug but not when we launch an archive.
The plugins doesn't find the binary
The Package.swift :
// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
    name: "AppConfigKit",
    platforms: [
        .iOS(.v13)
    ],
    products: [
        .library( name: "AppConfigKit", targets: ["AppConfigKit"])
    ],
    dependencies: [
        .package(url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"),
        .package(url: "https://github.com/ReactiveX/RxSwift.git", from: "6.5.0"),
        .package(url: "https://github.com/Swinject/Swinject.git", from: "2.7.1"),
        .package(url: "https://github.com/firebase/firebase-ios-sdk", .upToNextMinor(from: "8.15.0")),
        .package(url: "https://github.com/SwiftGen/SwiftGenPlugin", from: "6.6.0")
    ],
    targets: [
        .target(
            name: "AppConfigCatalog"
        ),
        .target(
            name: "AppConfigCommon"
        ),
        .executableTarget(
            name: "AppConfigObfuscator",
            dependencies: [
                .target(name: "AppConfigCommon"),
                .product(name: "ArgumentParser", package: "swift-argument-parser")
            ]
        ),
        .plugin(
            name: "AppConfigPlugin",
            capability: .buildTool(),
            dependencies: [.target(name: "AppConfigObfuscator")]
        ),
        .target(
            name: "AppConfigKit",
            dependencies: [
                .product(name: "RxSwift", package: "RxSwift"),
                .product(name: "RxCocoa", package: "RxSwift"),
                .product(name: "Swinject", package: "Swinject"),
                .product(name: "FirebaseRemoteConfig", package: "firebase-ios-sdk"),
                .target(name: "AppConfigCommon")
            ],
            resources: [
                .copy("Assets/Images.xcassets")
            ],
            plugins: [
                .plugin(name: "AppConfigPlugin"),
                .plugin(name: "SwiftGenPlugin", package: "SwiftGenPlugin")
            ]
        )
    ]
)

Expected behavior
The plugin should work.
Actual behavior
The plugin doesn't find the executable.
sandbox-exec: execvp() of '//Users/allanvialatte/Library/Developer/Xcode/DerivedData/Company-gqfwhoeacbgyswapkicevjpjcgsr/Build/Intermediates.noindex/ArchiveIntermediates/CompanyApp/BuildProductsPath/CompanyApp/AppConfigObfuscator' failed: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code

Steps to reproduce

Create a package with a .plugin and an .executableTarget
Archive iOS App which depends on the package

Swift Package Manager version/commit hash
Swift Package Manager - Swift 5.8.1
Swift & OS version (output of swift --version ; uname -a)
swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-<IP_ADDRESS>.5 clang-14<IP_ADDRESS>.100)
Target: arm64-apple-macosx13.0
Darwin Macbook-Pro-M1.local 22.5.0 Darwin Kernel Version 22.5.0: Mon Apr 24 20:52:24 PDT 2023; root:xnu-8796.121.2~5/RELEASE_ARM64_T6000 arm64

My guess would be that this might be related to custom build configurations, as I do see BuildProductsPath/CompanyApp in the path, which by default would be BuildProductsPath/Release.
Do you see the executable in the path /Users/allanvialatte/Library/Developer/Xcode/DerivedData/Company-gqfwhoeacbgyswapkicevjpjcgsr/Build/Intermediates.noindex/ArchiveIntermediates/CompanyApp/BuildProductsPath/Release/AppConfigObfuscator by any chance?
In any case, this seems Xcode specific, cc @abertelrud

@neonichu thanks for your help
To answer you :
Script path :
    /bin/sh -c /Users/allanvialatte/Library/Developer/Xcode/DerivedData/Shopmium-gqfwhoeacbgyswapkicevjpjcgsr/Build/Intermediates.noindex/ArchiveIntermediates/ShopmiumSandbox/IntermediateBuildFilesPath/AppConfigKit.build/ShopmiumSandbox-iphoneos/AppConfigKit_AppConfigKit.build/Script-9386591236704714098.sh
Content :
#!/bin/bash
/usr/bin/sandbox-exec -p "(version 1)
(deny default)
(import \"system.sb\")
(allow file-read*)
(allow process*)
(allow file-write*
    (subpath \"/private/tmp\")
    (subpath \"/private/var/folders/4k/kldjrlls46z9r2k4cjz_j0bh0000gn/T\")
)
(deny file-write*
    (subpath \"/Users/allanvialatte/Developer/shopmium-org/shopmium-ios/app/Packages/Foundation/AppConfigKit\")
)
(allow file-write*
    (subpath \"/Users/allanvialatte/Library/Developer/Xcode/DerivedData/Shopmium-gqfwhoeacbgyswapkicevjpjcgsr/SourcePackages/plugins/appconfigkit.output/AppConfigKit/AppConfigPlugin\")
)
" "/${BUILD_DIR}/${CONFIGURATION}/AppConfigObfuscator" /Users/allanvialatte/Developer/shopmium-org/shopmium-ios/app/Packages/Foundation/AppConfigKit/Sources/AppConfigCatalog/appconfig-private.json"

Error message :
sandbox-exec: execvp() of '//Users/allanvialatte/Library/Developer/Xcode/DerivedData/Shopmium-gqfwhoeacbgyswapkicevjpjcgsr/Build/Intermediates.noindex/ArchiveIntermediates/ShopmiumSandbox/BuildProductsPath/ShopmiumSandbox/AppConfigObfuscator' failed: No such file or directory
Executable path :
/Users/allanvialatte/Library/Developer/Xcode/DerivedData/Shopmium-gqfwhoeacbgyswapkicevjpjcgsr/Build/Intermediates.noindex/ArchiveIntermediates/ShopmiumSandbox/BuildProductsPath/ShopmiumSandbox/AppConfigObfuscator
But it's a symbolic link to :
AppConfigObfuscator -> ../../IntermediateBuildFilesPath/UninstalledProducts/macosx/AppConfigObfuscator
But in this folder we have nothings (no executable)

FYI it's look like this issue too :
[Package Manager executable not available when building for platforms other than macOS](https://forums.swift.org/t/package-manager-executable-not-available-when-building-for-platforms-other-than-macos/56279/2)

Thanks for your report, but please file it through http://feedbackassistant.apple.com/ since the SwiftPM project doesn't track issues in Xcode.


Add Bundler dependency manager

This adds bundler as a dependency manager. It seems to work (copies files, runs bundle install) but because I'm not deeply familiar with Xcode I wouldn't be surprised if there was something obvious missing. I'd love to see someone who knows better than I do actually run this and see if it does what they would expect.
cc @keith because you requested it initially
Resolves #156

This is rad. I'm happy it dropped into the existing architecture so well.

Let me rebase and squash all these commits if you decide to merge.

@jakecraige Mind giving this a gander, since you implemented the other dependency managers?

Sorry for the delay at looking this over. I'll try to get to it by the end of the week.

Thanks! Merged as 8439456


stat: fix TOC formula in documentation

This formula is simpler, has the ntp[0] included in the series and has the additional advantage of being correct.
Please take a look.

Codecov Report

Merging #1605 (285bbcb) into master (11e9fee) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1605   +/-   ##
=======================================
  Coverage   72.88%   72.88%
=======================================
  Files         482      482
  Lines       58276    58276
=======================================
  Hits        42476    42476
  Misses      13399    13399
  Partials     2401     2401

Impacted Files
Coverage Δ

stat/roc.go
87.17% <ø> (ø)

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 11e9fee...285bbcb. Read the comment docs.

Thanks.

Thank you for the reviews.


cannot render .rmd file

I cannot render .rmd file.
Right-click commands "preview in HTML/Word" are not available.
...
Additional information:
OS Information
Version:       Microsoft Windows NT 6.3.9600.0
RTVS Information:
Assembly: Microsoft.VisualStudio.R.Package, Version=0.4.20623.1711, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
R Install path:
C:\Program Files\Microsoft\R Client\R_SERVER\

P.S. I am using standard Azure Data Science virtual machine.

Could you please update to 0.5. https://aka.ms/rtvs-current

I have installed the update.
It did not fixed the issue.
Also I have error message (see attachment).
Probably this is related to the issue.

Here is the log:

464
2016/12/15 21:54:08.986
Information
VisualStudio
    Entering function CVsPackageInfo::HrInstantiatePackage
{C194969A-A5B1-4AF2-A9DF-ECF7CE982A05}

465
2016/12/15 21:54:08.986
Information
VisualStudio
    Begin package load [Roaming Profiles Package]
{C194969A-A5B1-4AF2-A9DF-ECF7CE982A05}

466
2016/12/15 21:54:08.986
Information
VisualStudio
    End package load [Roaming Profiles Package]
{C194969A-A5B1-4AF2-A9DF-ECF7CE982A05}

467
2016/12/15 21:54:09.033
Error
Editor or Editor Extension
    System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Languages.Editor.BraceMatch.BraceHighlighter..ctor(ITextView view, ITextBuffer textBuffer)
   at Microsoft.Languages.Editor.BraceMatch.BraceHighlightProvider.CreateTagger[T](ITextView textView, ITextBuffer textBuffer)
   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)

From the log: "System.NullReferenceException: Object reference not set to an instance of an object.
   at Microsoft.Languages.Editor.BraceMatch.BraceHighlighter..ctor(ITextView view, ITextBuffer textBuffer)
   at Microsoft.Languages.Editor.BraceMatch.BraceHighlightProvider.CreateTagger[T](ITextView textView, ITextBuffer textBuffer)
   at Microsoft.VisualStudio.Text.Tagging.Implementation.TagAggregator`1.GatherTaggers(ITextBuffer textBuffer)
"

I believe the assert is ignorable. I think you can avoid it if you have all editor windows closed before starting VS. Back to the HTML - is the command disabled or invisible?

The command is invisible.

Installing and loading library "rmarkdown" solved the issue.
Visual Studio with R Tools, menu: R Tools -> Windows -> Packages; search for "rmarkdown"; click "Install" on Available tab; enable on Loaded tab.