No deployment configuration after adding docker-compose.yml

Describe your issue here
After giving a name and put my docker-compose.yml and click in create, there was no containers been started and even the docker-compose.yml content in View Config. Looks like that my docker-compose.yml is not been passing to Rancher start the deployment. It's very strange.

Useful
Info

Versions
Rancher v1.1.1 Cattle: v0.165.7 UI: v1.1.12

Access
localauth admin

Orchestration
Cattle

Route
environment.index

This typically means there is an error in yoru docker-compose.yml or rancher-compose.yml.
If you use the rancher-compose CLI directly, it will provide you what the error is.
http://docs.rancher.com/rancher/v1.2/en/cattle/rancher-compose/
There are several issues existing to help display the errors instead of being stuck in Activating.
Also, you can add your docker-compose.yml here and we might be able to spot the issue right away. Note: there is no v2 support in Rancher yet, but it's coming in the next pre-release.

closing due to inactivity.


chore(main): release 1.1.2

:robot: I have created a release beep boop
1.1.2 (2024-03-07)
Bug Fixes

action: fix github action script path (#41) (26e89d3)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/LNSD/sops-exec-action/releases/tag/v1.1.2 :sunflower:


[Windows] Force Chocolatey to check packages hashes

Description
Improving security of Windows builds.
Related issue:
#5493
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2019,windows2022


lower graphite_to_zabbix alarm sensitivity

The sensitivity and severity of current graphite_to_zabbix alarm is not appropriate.
One graphite_to_zabbix query timeout or failure doesn't necessarily mean the system is in critical condition.
Here I lower the sensitivity from "a single failure" to "if more than 20% of the queries". In a typical 3 or 5 head nodes cluster, that generally means when 1 head nodes is not able to support graphite queries.

I am concerned that this will allow just under 1/5th of our alarms to be permanently broken and we would not know. Ideally this could tell if the same data is missing each query.

We might be blind. needs further discussion.

It looks the missing data can be detected by "nodata" function
I'm thinking of

for each zabbix trigger, add " or {.nodata(1m)=1" to the condition, which will be in PROBLEM state once there is no data feed in one minute.
reduce the current three graphite_to_zabbix alarms to one "unsuccessful queries" alarm, which fires when "there is N unsuccessful (empty or failed) queries with in T seconds"
@cbaenziger , what do you think?

@leochen4891 I think the nodata idea is good; recall that Chef only gives us data once a run so it'll need a different time sensitivity than Diamond and JMXTrans data.
Is there a good way for the no data alarms to all be hierarchal so we don't get thousands of no data alarms if Graphite is down but one alarm saying multiple Graphite send failures? (But we will be able to see the individual alarms when looking at Zabbix at least)?


Update snippet comment note webhook with current payload

This adds all fields that are currently delivered by a GitLab.com instance. The main issue that I had was apparently Snippet.CreatedAt and Snippet.UpdatedAt changed their format and are now like a merge request note. This caused
parsing time "\"2022-01-24 18:41:19 UTC\"" as "\"2006-01-02T15:04:05Z07:00\"": cannot parse " 18:41:19 UTC\"" as "T"

I ignored some fields for now since I don't know anything about them, like

encrypted_secret_token
encrypted_secret_token_iv
secret_token

Docs: https://docs.gitlab.com/ee/user/project/integrations/webhook_events.html#comment-on-a-code-snippet
The original webhook payload (with some values edited) for reference:
{
  "object_kind": "note",
  "event_type": "note",
  "user": {
    "id": 1,
    "name": "xxx",
    "username": "xxx",
    "avatar_url": "https://gitlab.com/uploads/-/system/user/avatar/xxx/avatar.png",
    "email": "[REDACTED]"
  },
  "project_id": 1,
  "project": {
    "id": 1,
    "name": "xxx",
    "description": "xxx",
    "web_url": "https://gitlab.com/xxx",
    "avatar_url": "https://gitlab.com/uploads/-/system/project/avatar/1/xxx.png",
    "git_ssh_url": "git@gitlab.com:xxx.git",
    "git_http_url": "https://gitlab.com/xxx.git",
    "namespace": "xxx",
    "visibility_level": 0,
    "path_with_namespace": "xxx",
    "default_branch": "main",
    "ci_config_path": "",
    "homepage": "https://gitlab.com/xxx",
    "url": "git@gitlab.com:xxx.git",
    "ssh_url": "git@gitlab.com:xxx.git",
    "http_url": "https://gitlab.com/xxx.git"
  },
  "object_attributes": {
    "attachment": null,
    "author_id": 1,
    "change_position": null,
    "commit_id": null,
    "created_at": "2022-01-24 18:23:11 UTC",
    "discussion_id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "id": 1,
    "line_code": null,
    "note": "test",
    "noteable_id": 1,
    "noteable_type": "Snippet",
    "original_position": null,
    "position": null,
    "project_id": 1,
    "resolved_at": null,
    "resolved_by_id": null,
    "resolved_by_push": null,
    "st_diff": null,
    "system": false,
    "type": null,
    "updated_at": "2022-01-24 18:23:01 UTC",
    "updated_by_id": null,
    "description": "test",
    "url": "https://gitlab.com/xxx/-/snippets/xxx#note_xxx"
  },
  "repository": {
    "name": "xxx",
    "url": "git@gitlab.com:xxx.git",
    "description": "xxx",
    "homepage": "https://gitlab.com/xxx"
  },
  "snippet": {
    "id": 1,
    "title": "xxx",
    "content": "xxx",
    "author_id": 1,
    "project_id": 1,
    "created_at": "2022-01-21 04:21:14 UTC",
    "updated_at": "2022-01-24 18:23:11 UTC",
    "file_name": "xxx",
    "type": "ProjectSnippet",
    "visibility_level": 0,
    "description": "xxx",
    "encrypted_secret_token": null,
    "encrypted_secret_token_iv": null,
    "secret": false,
    "repository_read_only": false,
    "secret_token": null
  }
}

No problem at all, thank you for merging!


Allow disabling milisecond diff

Just like the title says

+1

+1

+1

You can't at this moment, but you can simply use console.log or console.error for that if your instrumentation needs are so simple.

@bucaran console.log/console.error doesn't have all the other features :(

:+1:

https://github.com/visionmedia/debug/issues/370 < Middleware should allow you to do this quite easily


Failure when trying to import existing AutoScaling policy

Description
Using this module I want to import existing resources created by the web console.
Everything goes fine, until I try to import the resource related to aws_appautoscaling_policy.table_read_policy[0] and aws_appautoscaling_policy.table_write_policy[0], where the error says that the desired resource is not found::
Error: Cannot import non-existent remote object
After multiple searches on the internet and going through the documentation I tried to import the existing resources, according to how the module is assembled it should be: dynamodb/table/example/dynamodb:table:ReadCapacityUnits/DynamoDBReadCapacityUtilization:table/example
This identifier belongs to the structure:
service-namespace = dynamodb
resource-id = table/example
scalable-dimension = dynamodb:table:ReadCapacityUnits
policy-name = DynamoDBReadCapacityUtilization:table/example
However, when executing the command:  aws application-autoscaling describe-scaling-policies  --service-namespace dynamodb
I obtain the following structure
             "PolicyARN": "arn:aws:autoscaling:us-west-2:00000000:scalingPolicy:xxxxxxxxxx-98xx:resource/dynamodb/table/example:policyName/$example",
            "PolicyName": "$example-scaling-policy",
            "ServiceNamespace": "dynamodb",
            "ResourceId": "table/example",
            "ScalableDimension": "dynamodb:table:ReadCapacityUnits",
            "PolicyType": "TargetTrackingScaling",
            "TargetTrackingScalingPolicyConfiguration": {
                "TargetValue": 70.0,
                "PredefinedMetricSpecification": {
                    "PredefinedMetricType": "DynamoDBReadCapacityUtilization"
                }
            },

Using this value I construct the following identifier which does work:
dynamodb/table/example/dynamodb:table:WriteCapacityUnits/$example-scaling-policy
The problem is that Terraform is now trying to destroy the resource:
  module.dynamodb.aws_appautoscaling_policy.table_read_policy[0] must be replaced
-/+ resource "aws_appautoscaling_policy" "table_read_policy" {
      ~ alarm_arns         = [
          - "arn:aws:cloudwatch:us-west-2:000000000000:alarm:TargetTracking-table/example-AlarmHigh-xxxxxxxxxx",
          - "arn:aws:cloudwatch:us-west-2:000000000000:alarm:TargetTracking-table/example-AlarmLow-xxxxxxxxxx",
          - "arn:aws:cloudwatch:us-west-2:000000000000:alarm:TargetTracking-table/example-ProvisionedCapacityHigh-xxxxxxxxxx",
          - "arn:aws:cloudwatch:us-west-2:000000000000:alarm:TargetTracking-table/example-ProvisionedCapacityLow-xxxxxxxxxx",
        ] -> (known after apply)
      ~ arn                = "arn:aws:autoscaling:us-west-2:000000000000:scalingPolicy:xxxxxxxxxx:resource/dynamodb/table/example:policyName/$example-scaling-policy" -> (known after apply)
      ~ id                 = "$example-scaling-policy" -> (known after apply)
      ~ name               = "$example-scaling-policy" -> "DynamoDBReadCapacityUtilization:table/example" # forces replacement
    }

[ X] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Module version [Required]: 4.0.0

Terraform version: v1.6.3

Provider version(s): v5.25.0

@sebastianarca The issue is with PolicyName, use the same policy name as returned by aws application-autoscaling describe-scaling-policies  --service-namespace dynamodb command and add \ at the start of policy name (i.e after scalable-dimension, add \$$example-scaling-policy as the policy name).
I confirmed with aws dynamodb team, they stated that it is the default way of creating name of policy  (i.e having $ in policy name)
Try below and that should work for you
terraform import module.dynamodb.aws_appautoscaling_policy.table_read_policy[0] dynamodb/table/example/dynamodb:table:ReadCapacityUnits/\$$example-scaling-policy


Add format tokens for nicer signatures [phab:D1025]

Created by zarko at 2016-08-27 01:28:14:
This diff adds format tokens that make it possible to generate
nicer signatures. It changes the Java indexer to produce these
signatures.
The tokens provide a way to turn off parent delimiters (so
no more leading dots in .java.lang.String); a way to annotate
a span of text as important (so you can show only "String"
instead of the whole qualified name); and a way to annotate
a span of text as belonging to a parameter list (so you can
elect to drop parameter lists for function signatures).
The diff also changes the Java indexer to use parameter names
rather than types when generating printable method signatures.

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
Minor (optional) nit: How about p instead of l? (I often have trouble distinguishing I, l, and 1 in passing).

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
Why so? That seems misleading, since this is a collection of anchors rather than a span of text.
Though I guess "Span" could make sense if we moved this message definition inside Printable so it's clearly that vs. a location.

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
}  // namespace ?

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
ShouldReject

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
I'm finding the negation here somewhat confusing, given that most of these are things to reject but not kIncludeLists.
Maybe something like filter or filter_policy, with a default of kIncludeAll = 0 that gets overridden?
Separately: Should this be an enum rather than a bare unsigned?

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
"under" here meaning inside?

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
This parameter list is getting long.  We should probably pull out all this signature-generation code into a separate package with a more friendly interface. That doesn't need to be this change, but there's a lot of tricky same-type parameters throughout.
For now: Please document num and links, and what the return values mean.

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
"fetching parameter edges: %v", err

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
Please document the new parameters.
Consecutive params of like type can be combined:
 ticket, kind, format string

Again, I think we should consider pulling all this out into a "signature" package with its own config type to carry some of these bits.

fromberger commented inline (context lost during migration) at 2016-08-27 18:25:09:
Could be: name += "[" if you like.

zarko wrote at 2016-08-29 18:12:45:

Address comments.

zarko commented inline (context lost during migration) at 2016-08-29 18:12:47:
num is already documented ("num is the N from the token")

zarko commented inline (context lost during migration) at 2016-08-29 18:12:47:
With this change, not all Links are collections of anchors; only those with DEFINITION kind are.

zarko commented inline (context lost during migration) at 2016-08-29 18:12:47:
It's a bitmask, so it seems a little weird to turn it into an enum (unless we write enumerators for all possible bitmask states).

fromberger commented inline (context lost during migration) at 2016-08-29 18:52:28:
Perhaps just a typedef, then; though I guess at that point we lose any illusion of type-safety anyway. Ah, C++.

fromberger commented inline (context lost during migration) at 2016-08-29 18:52:28:
Apparently I need glasses or something. :)

fromberger commented inline (context lost during migration) at 2016-08-29 18:52:28:
I'm not objecting to changing the name, more just that Span doesn't seem like the right thing to change it to.

fromberger accepted this revision at 2016-08-29 18:52:28

shahms commented inline (context lost during migration) at 2016-08-29 19:32:42:
Bitmasks are perfectly cromulent uses of enums.  Why wouldn't they be?

shahms required changes at 2016-08-29 19:32:42

zarko wrote at 2016-08-29 19:40:42:

Address comments.
Address comments.

zarko commented inline (context lost during migration) at 2016-08-29 19:42:02:
I'd previously given my argument against, but I don't feel strongly enough about it to keep the code the way it is.

shahms commented inline (context lost during migration) at 2016-08-29 19:49:26:
To clarify: using enums as bitmasks is explicitly and intentionally supported:
For an enumeration whose underlying type is fixed, the values of the enumeration are the values of the underlying type. Otherwise, for an enumeration where emin is the smallest enumerator and emax is the largest, the values of the enumeration are the values in the range bmin to bmax, defined as follows: Let K be 1 for a two’s complement representation and 0 for a one’s complement or sign-magnitude representation. bmax is the smallest value greater than or equal to max(|emin| − K, |emax|) and equal to 2M − 1, where M is a non-negative integer. bmin is zero if emin is non-negative and −(bmax + K) otherwise. The size of the smallest bit-field large enough to hold all the values of the enumeration type is max(M, 1) if bmin is
zero and M + 1 otherwise. It is possible to define an enumeration that has values not defined by any of its enumerators. If the enumerator-list is empty, the values of the enumeration are as if the enumeration had a single enumerator with value 0.
You do run into some issues using an enum class due to the lack of implicit integer conversions (which are what give classic enums operator |, operator &, and operator bool).

zarko wrote at 2016-08-29 20:00:03:
I tend to think of enumerators as sum types, which may be a personal deficiency.
Are there still problems with this diff? I can't land it because you've explicitly rejected it.

shahms wrote at 2016-08-29 20:10:24:
Thanks!  They should probably be sum types but given how regularly they have been (ab)used as bitmasks, it's a supported and idiomatic use case.

shahms accepted this revision at 2016-08-29 20:10:24

zarko closed via commit a5c33dfeff15579c918025b5f920b518a59a2abd at 2016-08-29 20:11:38


memory consumption

hello,
When I switched my project from the standard library to go-re2 memory consumption increased a few times.
This is memory usage on standard library after 30min
701.69MB 95.28% 95.28%   701.69MB 95.28%  bufio.(*Scanner).Text (inline)
10.09MB  1.37% 96.65%    16.59MB  2.25%  websitedata/internal/controllers.(*App).LoadHostData
6.50MB  0.88% 97.54%     6.50MB  0.88%  go.mongodb.org/mongo-driver/bson/bsonrw.(*valueReader).readString
4.51MB  0.61% 98.15%     4.51MB  0.61%  regexp/syntax.(*compiler).inst (inline)
This is memory usage on go-re2 after 5 minutes
2678.14MB 83.98% 83.98%  2678.14MB 83.98%  github.com/tetratelabs/wazero/internal/wasm.(*MemoryInstance).Grow
169.09MB  5.30% 89.28%   169.09MB  5.30%  github.com/tetratelabs/wazero/internal/wasm.NewMemoryInstance (inline)
104.70MB  3.28% 92.56%   104.70MB  3.28%  github.com/tetratelabs/wazero/internal/engine/compiler.(*engine).NewModuleEngine
94.54MB  2.96% 95.53%    94.54MB  2.96%  bufio.(*Scanner).Text (inline)
85.33MB  2.68% 98.20%    85.33MB  2.68%  github.com/tetratelabs/wazero/internal/engine/compiler.(*moduleEngine).newCallEngine
3.01MB 0.094% 98.30%    90.54MB  2.84%  websitedata/internal/controllers.(*App).ParseWatByLine
3MB 0.094% 98.39%   342.04MB 10.73%  github.com/wasilibs/go-re2/internal.newABI

Hi @kris-dev-hub - as documented in the performance section of the README, indeed go-re2 uses much more memory than the standard library. I am working on a big change to the code that should mostly remove this overhead and will let you know when it's in.

@kris-dev-hub I just merged a change that redoes the execution model completely. As such, it will need some baking before releasing but would you be able to try the latest unreleased version github.com/wasilibs/go-re2@0018040 and see if things look different for you? Real world data will be very helpful. Thank you.

No more memory issues. Thank you very much for responding so quickly.
102.21MB 90.60% 90.60%   102.21MB 90.60%  bufio.(*Scanner).Text (inline)
3.01MB  2.67% 93.27%   100.21MB 88.83%  websitedata/internal/controllers.(*App).ParseWatByLine
2.50MB  2.22% 95.48%     2.50MB  2.22%  reflect.mapassign0
2.05MB  1.81% 97.30%     7.05MB  6.25%  websitedata/pkg/watimport.InitImport
1.50MB  1.33% 98.63%     2.02MB  1.79%  github.com/wasilibs/go-re2/internal.Compile

Thanks for verifying @kris-dev-hub - I have released a prerelease of the next version with this improvement.


QoL + sprintf fix

Hey! I'm embedding your QuakeC VM in a project of mine, thanks for your kind work! I needed some modifications/fixes  to make it works. This pull request is a way of giving back what I received, hehe. Feel free to add it (or not, your choice). Some other changes may appear in the future if I find anything else.

Some memory was uninitialized, leading to strange value in the qcvm_t struct.
The sprintf implementation was kinda weird, and wasn't working at all (I don't even know if it worked once).
Adding a simple "user pointer" feature, to allow an exported function to retrieve any game specific data without relying on globals.
Adding ftoi (float to integer) and itof (integer to float)

I can't get the CMake toolchain to work with my version of fteqcc (skill issue on my end ig), but I can confirm I tested the changes in my engine.

Looks all good to me at first glance. I'll review and merge soon. Thanks!


Setting an unsigned type to negative values

Aim
To be able to write:
let var : u8 = -1; // or global

Expected Behavior
That both examples compile and work in the exact same way.
Bug
Instead, a compilation error is thrown: error: u8 cannot be used in a unary operation
Yet doing:
let var = -1 as u8;

compiles and executes as expected with the previous code.
To Reproduce
See notes above
Installation Method
None
Nargo Version
nargo 0.19.4
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

The first example works as expected because -1 is not a valid u8 number. Rust behaves similarly.
The second example does not work either because execution is failing. However it compiles fine as you indicate.
So the issue here is that the second example compiles.


Explicitly defined pkgdef

It might be worth mentioning that if your project uses an explicitly defined pkgdef file (not one generated during the build), that there are some additional entries that need to be added for a new ToolWindow to be picked up. I just killed the better part of a day struggling to add a ToolWindow to my project before I figured this out.

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

ID: 554db2bb-c0c2-d694-be77-44cb0fd311f8
Version Independent ID: e7a691ea-7540-f6c4-46e4-66abdbd07c37
Content: Adding a Tool Window - Visual Studio
Content Source: docs/extensibility/adding-a-tool-window.md
Product: visual-studio-windows
Technology: vs-ide-sdk
GitHub Login: @madskristensen
Microsoft Alias: madsk

Thanks for submitting your feedback and we apologize for the delayed response.  Due to current resourcing and substantial extensibility changes we are currently working on that will result in significant, structural doc changes, we are closing this lower priority issue.  We will return to this issue on a later date and address it based on it's relevance after those extensive extensibility updates are made. Feel free to comment here as necessary.


Small fixes to website and adding contributing info

Added section to contributing doc explaining requirements to locally test docs.
Fixed broken links
Added diagram to API explanation
Cross-linked example API objects to user stories

/ok-to-test

Thanks for doing this @rahulkjoshi Just a few questions!

Thanks for the poke, I lost some momentum here 🙃
PTAL, I've rebased and addressed the comments.

Thanks @rahulkjoshi
/lgtm
/approve


[1.6.X] Enforce the same major version of NumPy at runtime

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

I do not have time to explore why this fails for now, but this is likely unrelated to the changes proposed there.
Let's close and reopen this PR if we need to have new builds for 1.6 (which is unlikely in my opinion).


[Unticketed] Fix Screenshot Tests Between Intel Recordings and M1 Verifications

📲 What
Existing snapshot test verifications failing on M1. These snapshots were recorded on Intel machines and as we port over our build processes to M1, we hadn't checked if the test cases were passing locally.
Turns out there are issues and the best future proof solution is to individually re-record them on M1 machines, but given the number of screenshots its not a practical solution for now. We can re-record as we go, so this is a holdover to ensure both M1 and Intel machines can still use our base of screenshots and have tests pass locally.
🤔 Why
These articles go into detail regarding the idea of perceptual precision and how this issue is a community wide problem at the moment.

Original FBSnapshotTestCase M1/Intel issue.
M1/Intel fix with SnapshotTesting PR
Context PR for subpixel precision.
Explainer of perceptual precision.

Perceptual Precision Value
Description

100%
Must be exactly equal

≥ 99%
Allows differences not perceptible by human eyes

≥ 98%
Allows differences possibly perceptible through close observation

≥ 90%
Allows differences perceptible at a glance

≥ 50%
Allows differences when more similar than opposite

≥ 0%
Allows any differences

🛠 How
From the reading I did on the above links it seems like replacing iOSSnapshotTestCase framework with SnapshotTesting (the fix is here) and using perceptualPrecision in our tests is the right way to go.
Wrote a new assetExistingSnapshot and verifyExistingSnapshot function based on the versions written in SnapshotTesting and hardcoded the screenshots directory. The file names are still dynamic based on the test names.
The idea is just a hold-over until we eventually completely remove iOSSnapshotTestCase from the project.
🏎 Performance

[ ] SnapshotTesting should be faster due to some internal reworkings on CoreImage, but test this locally on the entire suite once all existing snapshots use the new assert function.

✅ Acceptance criteria

[ ] Pre-recorded screenshots need no new re-recordings and pass with no less than 98% perceptual precision on M1 machines.

⏰ TODO

[ ] Ensure existing test cases are not re-recorded, but use the new assert function with at least 98% perceptual precision.
[ ] Record tests for SetYourPasswordViewController and ResetYourFacebookPasswordViewController as they are missing.

Note: Commented out testOptimizelyFeatureFlagToolsViewController until this pr is merged. Comment back in with this pr.

@msadoon Hi Mubarak! I've previously chatted with Kickstarter folk (Isabel, Justin, Hari) about Screenshotbot, but back then they didn't have the bandwidth (we did get pretty close to an integration though). Screenshotbot would solve this issue nicely, without having to worry about perceptualPrecision.
Basically, as long as you generate screenshots in CI, (so always identical machines), you would  never have this problem. You don't have to store screenshots in your repo, and let Screenshotbot notify you on changes on your Pull Request.
I still have the demo of all of Kickstarter-ios' screenshots imported. Let me know if you're interested in chatting!
(PS. Last time I chatted with Kickstarter, we didn't really have customers TBH. These days we do have people using this with both ios-snapshot-test-case and swift-snapshot-testing, so the integration should go pretty smoothly.)

G

@msadoon Hi Mubarak! I've previously chatted with Kickstarter folk (Isabel, Justin, Hari) about Screenshotbot, but back then they didn't have the bandwidth (we did get pretty close to an integration though). Screenshotbot would solve this issue nicely, without having to worry about perceptualPrecision.
Basically, as long as you generate screenshots in CI, (so always identical machines), you would never have this problem. You don't have to store screenshots in your repo, and let Screenshotbot notify you on changes on your Pull Request.
I still have the demo of all of Kickstarter-ios' screenshots imported. Let me know if you're interested in chatting!
(PS. Last time I chatted with Kickstarter, we didn't really have customers TBH. These days we do have people using this with both ios-snapshot-test-case and swift-snapshot-testing, so the integration should go pretty smoothly.)

Hi Arnold!
Screenshotbot looks like a good solution to move our testing completely to CI. Maybe we can discuss with @Arkariang to get a better understanding of the scope of the work (on Android as well) and how screenshotbot could help us write tests in the future. My only thought is that we are still building out a pipeline for things like end-to-end testing and trying to remove our dependence on human effort for regression testing. We're also building our team this year and there going to be more eyes on this project soon, so your solution makes sense and will be discussed on our side.

Closing out this PR as it is pretty out of date and replaced by this one.

@msadoon Sounds good, reach out to me at<EMAIL_ADDRESS>whenever you're ready to make this move!


Running too slowly

Hi, thank you for your wonderful work!
I tried to use it to finish my semantic segmentation task. I do:

sudo apt-get install ninja-build

git clone https://github.com/mapillary/inplace_abn.git

cd inplace-abn

CUDA_VISIBLE_DEVICES=3 python test_vistas.py ./wide_resnet38_deeplab_vistas.pth.tar ./data/input/ ./data/output/

The segmentation results are well. But it costs about 12 seconds for per input picture. Is there something wrong with my operations? Or any parameter I could set to fix this problem?
System: Ubuntu 16.04 LTS
Images(jpg) size: 360(w) * 240(h)
Device: NVIDIA GTX 1080ti with 11GB RAM
Driver version 384.81
CUDA: 9.0
PyTorch: 0.4.0
NVCC Compiler, GCC, G++: 4.8.5

@Walstruzz I don't have a Titan 1080Ti at hand to try, but take into account that the script resizes the longest dimension to 2048 and applies scale augmentation after that with 3 scales. In your case within the 12 seconds, the script performs 3 forward passes at resolutions 1365x2048, 955x1433, 1638x2458 + fusion at 1365x2048 + downsampling at the original size + loading and saving.
Also, if this is not the case, you should measure the timing over multiple images, and not just 1.

@rotabulo
Sorry, maybe I didn't express it clearly. I had measured the timing over multiple images and it took an average of 12 seconds.
As you said, the script resizes the longest dimension to 2048. I change the script test_vistas_single_gpu.py
transformation = SegmentationTransform(         2048,         (0.41738699, 0.45732192, 0.46886091),         (0.25685097, 0.26509955, 0.29067996),     )
to
transformation = SegmentationTransform(         1024,         (0.41738699, 0.45732192, 0.46886091),         (0.25685097, 0.26509955, 0.29067996),     )
and now it runs faster.
Thank you very much!!!


Static method collectAndServe error

I have CsharpWorkPath set up as well as the port, I have tried with the version from my local /bin/debug folder and the driver version in  the C:\sparkCLR\runtime\bin. I am trying to run Pi program.
The exact error is:
{"JVM method execution failed: Static method collectAndServe failed for class org.apache.spark.api.python.PythonRDD when called with 1 parameters ([Index=1, Type=JvmObjectReference, Value=13], )"}
I have also tried with the temp parameter but it does not do any good as far as I have seen. I have completely disabled my AV software and I have also disabled MS Defender.
Thanks

Hi @Mrsevic. This error is covered in the troubleshooting documentation. Helpfully that helps.

As already noted in original post I have already set up that parameter.

Okay, I must have missed that.
Can you provide steps to reproduce this error? Do the Mobius examples run successfully?

@Mrsevic - are you getting this error only in debug mode?

Hi Kaarthik. Thank you for your response. No I am afraid that I am getting the error also in production, release mode.

@Mrsevic : are you running the example in local mode? You can swap to local mode by changing your environment variables to point to the Mobius build directory. For example:
set SPARKCLR_EXT_JARS=C:\Code\Mobius\build\localmode\..\runtime\dependencies\spark-csv_2.10-1.4.0.jar,C:\Code\Mobius\build\localmode\..\runtime\dependencies\commons-csv-1.4.jar
set SPARKCLR_HOME=C:\Code\Mobius\build\localmode\..\runtime
set SPARK_HOME=C:\Code\Mobius\build\localmode\..\tools\spark-2.0.0-bin-hadoop2.6
set HADOOP_HOME=C:\Code\Mobius\build\localmode\..\tools\winutils

If not, can you swap to local mode and try to run it? Also, if you're not running local mode, you'll need to verify that the spark version you are running against is the same as your Mobius build. Currently, the master branch supports spark version 2.0.2.

@Mrsevic - +1 on suggestion from @dwnichols . Try running the example for the Mobius release and report back the result instead of building the example in your machine.

@dwnichols @skaarthik  Thank you for your support.
I have checked again all the version and yes I have spark 2.0.2 and all the other necessary prerequisites.
I do want to run the examples again using Standalone Cluster Client mode, but I have tried with local mode as well.
In order to  do this you have to build solution first as stated in documentation. Everything was successfully built.
In client mode it seems that example is executed successfully with the following command:
sparkclr-submit.cmd --master local[*] --total-executor-cores 2 --exe SparkClrPi.exe C:\mobius-driver\Mobius-master\examples\Batch\pi\bin\Debug
When I add debug parameter however good old error returns again but this time with another value of 15 and sometimes 21 instead of 13. Probably it is the same error as it was already.
As for the suggestion of running in local mode when I build solution I do not get any spark or winutils folder. I do have winutils exe generated and some runtime(although in different folder).

The downloading of some dependencies is within the run samples scripts. You can find the samples script within the Mobius project: .\build\localmode\RunSamples.cmd

Thanks.
I have set these variables like you have said:
set SPARKCLR_EXT_JARS=C:\mobius-driver\Mobius-master\build\runtime\dependencies\commons-csv-1.4.jar, C:\mobius-driver\Mobius-master\build\runtime\dependencies\spark-csv_2.10-1.4.0.jar, C:\mobius-driver\Mobius-master\build\runtime\dependencies\spark-streaming-kafka-0-8-assembly_2.11-2.0.0.jar
set SPARKCLR_HOME=C:\mobius-driver\Mobius-master\build\runtime
set SPARK_HOME=C:\mobius-driver\Mobius-master\build\tools\spark-2.0.2-bin-hadoop2.6
set HADOOP_HOME=C:\mobius-driver\Mobius-master\build\tools\winutils
Run samples work fine but as I want to do some debug this time around  I get the debug error at the very first step:
An unhandled exception of type 'System.Exception' occurred in Microsoft.Spark.CSharp.Adapter.dll
Additional information: JVM method execution failed: Constructor failed for class org.apache.spark.SparkContext when called with 1 parameters ([Index=1, Type=JvmObjectReference, Value=15], )

You can close this issue it is irrelevant to debug, it is important that the sample runs.

Closing as per requested.


feat: add async support for csv and dataframe methods

opening this as a draft to get some feedback.

add async versions of get_result_csv, _refresh, refresh_csv and refresh_into_dataframe
reduce diff between client.py and client_async.py, to make future maintenance easier
make test-all passes 100%

closes #54

I have read the CLA Document and I hereby sign the CLA

recheck

im a bit out of depth here.
in the basic client, the requests' response is converted to a binary stream using BytesIO:
return ExecutionResultCSV(data=BytesIO(response.content))

however, the asyncio variant of our session returns a StreamReader type response. although a stream, it cannot be handled by pandas' read_csv. currently i was able to solve this as such:
return ExecutionResultCSV(data=BytesIO(await response.content.read(-1)))

but is this really the most efficient way to convert the asynchronous response to something pandas can read?

client.py versus client_async.py: https://www.diffchecker.com/tXrNtPqY/

Looks good. I will merge and we can tag a new release after a few other of the pending/incoming PRs are landed.

@eliseygusev care to comment on the async aspect here maybe?

i will resolve conflicts and update for updates made to client in #53

yes will do, just also have a day job :(

Cool beans. I could also resolve the conflicts here in the interface if its not too wild...

should be good to merge @bh2smith!

async client now also supports the performance param as introduced in #53
minimised diff again between client.py and client_aync.py: https://www.diffchecker.com/ej06mO8H/

@bh2smith what is in the way of merging this? i think waiting will just creates more conflicts down the road for other prs...

Ya we can merge this... but the performance tier is still failing. Its fine though (aw you explained)

Could you also review #59 --- @gosuto-inzasheru?


Mechanism for expressing network driver capabilities

For work like what @zenhack is doing in #408, it would be good to have a mechanism for registering the optional capabilities for drivers. One example would be for a driver to advertise its ability to do channels, where multiple networks can be communicated over a single NIC/port.
As HaaS grows and has more code & contributors, it may not always be feasible to support new features (like channels) in all existing drivers.
Other capabilities could include the bridging of networks between HaaS instances (#409), QoS options or enabling jumbo frames.
Updated:
Examples include:

Jumbo frames are per-switch on our Dell switches and per-port on our Ciscos (#755)
QoS (#384)
Disabling STP (#779)
DHCP/ARP Snooping (#471)
Enabling the tagging of DHCP packets with the port number (from @okrieg or @pjd-nu)

CC @naved001 @zenhack

Examples include:

Jumbo frames are per-switch on our Dell switches and per-port on our Ciscos
QOS
Disabling STP (#779)
DHCP/ARP Snooping (#471)
Enabling the tagging of DHCP packets with the port number (from @okrieg or @pjd-nu)

@shwsun @naved001 @Izhmash @zenhack
We discussed this how do we wish to expose to the user, what different services HIL provides for a given switch. Currently switches are not exposed to the users. They only know about nic and networks.
We think we should augment the one of the calls show nic or show network where we can list what other services HIL provides for that given switch.

To clarify/expand a bit on @SahilTikale's summary:

The obvious thing would be to just query the switch, but the switch topology is currently only exposed to admins.
We've talked about wanting to expose topology to the users in the future; one that happens we should probably move this information there.
We can report this information via the affected visible objects, i.e. networks and NICs
There was some disagreement about whether networks or NICs made more sense. I think NICs make more sense; with networks you have the problem of possibly needing to do multi-switch queries to determine the answer to a question. @SahilTikale said he thought it was better to do it on the network. We didn't want to get bogged down with that argument during the meeting. @SahilTikale, do you want to make the case for doing it on the network here?

@naved001 @Izhmash and I are in the meeting today.
I gave some thought to our discussions last week and I agree that putting this as a part of show_nic makes more sense than show_network. But I have some more questions, I will add it to the thread here after the meeting.

Sorry for the delay, was trapped into sth previously. Here are some more questions/thoughts:

I think exposing network topology is very important and seems very related, is that on our roadmap somewhere?
In the long run do we want to let admin make network with different functionalities beforehand? (s.t. users can choose a network with QoS, or a network with Jumbo frame?) My $0.02 here is that HIl is built for network admins, the focus would be: 1) have drivers implemented with functionalities s.t. admin can easily manipulate it, 2) users will get the slice of resource they want and go from there (only knowing what is going on inside the network is good enough).

Any other ideas?

The first implementation of this will be #755.
Now that we have a decision, closing this out.

I'm not sure I understand why this was closed? we've come to a consensus about what to do, but this still isn't done -- this should probably remain open until we've actually merged a solution.

My suggestion is that:

We have per-switch capabilities (like a giant ENUM)
These capabilities are checked in api.py

That way, api.py doesn't need to do switch-specific logic; each switch's capabilities are exported in a generic manner.
For example, we could have a PER_PORT_JUMBO_FRAME setting, which is exported by each switch driver's get_capabilities(), and then checked in the api.py call for enable_jumbo_frames().

@henn @Izhmash and I discussed this again today. And we think that the following should solve this issue.

Every switch driver will have a list called capabilities in the class. So it would look like
capabilities = ["require-native-network", "per-port-jumbo-frames"]

and then there'll be a method  get_capabilities() that returns a boolean if a capability exists or not by checking it in the list.

an API that needs to test this, can call that method switch.get_capabilities('require-native-network) to ensure that the switch supports that method, and then proceed with the original request or error out.

show_node() can be updated to show the capabilities they support.

#895 closes this


openssl failed to build on Ubuntu 14.04.3 LTS

Dear All,
Thanks for any help in advance. I have trawled the forums but I haven’t found anything that helped.
The ultimate aim is to install Circlator and Gubbins.
On brew install openssl I get the error:
==> make test
Last 15 lines from /home/sb2145/.cache/Homebrew/Logs/openssl/04.make:
seed-ecb
seed-ecb base64
seed-ofb
seed-ofb base64
zlib
47174838103712:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib/libz.dylib): /usr/lib/libz.dylib: cannot open shared object file: No such file or directory
47174838103712:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:232:
47174838103712:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not supported:c_zlib.c:463:
47238071848608:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(/usr/lib/libz.dylib): /usr/lib/libz.dylib: cannot open shared object file: No such file or directory
47238071848608:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:232:
47238071848608:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not supported:c_zlib.c:463:
cmp: EOF on ./p.zlib.clear
make[1]: *** [test_enc] Error 1
make[1]: Leaving directory `/tmp/openssl20160120-21246-1hr6r0f/openssl-1.0.2e/test'
make: *** [tests] Error 2

READ THIS: https://github.com/Linuxbrew/linuxbrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting

These open issues may also help:
Erlang linked to wrong OpenSSL on OSX 10.6.8 https://github.com/Homebrew/homebrew/issues/47681
openssl: add 'enable-ssl-trace' option https://github.com/Homebrew/homebrew/pull/45250

gist-logs can be found here:
https://gist.github.com/anonymous/7c7574daa89f1cfc4fa9
Cheers,
Sion

This issue will be fixed today. See #729

Fixed. Thanks for the bug report.

I have this error message, although I've the patch already:
47418088124064:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libz.so): libz.so: cannot open shared object file: No such file or directory
47418088124064:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
47418088124064:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not supported:c_zlib.c:463:
47366714547872:error:25066067:DSO support routines:DLFCN_LOAD:could not load the shared library:dso_dlfcn.c:187:filename(libz.so): libz.so: cannot open shared object file: No such file or directory
47366714547872:error:25070067:DSO support routines:DSO_load:could not load the shared library:dso_lib.c:233:
47366714547872:error:29064065:lib(41):BIO_ZLIB_NEW:zlib not supported:c_zlib.c:463:

Should I reopen the Issue?

What command are you running that created that error message?
Is it fixed by brew install zlib?

No, it's not.
What I'm running: brew install openssl

Please report brew gist-logs openssl.

I'm able to reproduce this issue on Ubuntu 14. Please open a new issue. A workaround is
brew install gcc openssl


Missing required positional argument: 'template_name'

Describe the bug
When a new member tries to register it fails and the logs show:
File "/usr/src/app/memberportal/profile/models.py", line 486, in email_profile_to
    return send_single_email(
TypeError: send_single_email() missing 1 required positional argument: 'template_name'

To Reproduce
Steps to reproduce the behavior:

Member tries to register
They see a failure message
Docker logs show the error above

fixed by #233


Installing Kafka 0.10 on Home-brew

Please note we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.
Please always follow these steps:

[ Yes] Confirmed this is a problem with running a brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at the relevant tap e.g. for Homebrew/homebrew-core https://github.com/Homebrew/homebrew-core/issues/new
[Yes ] Ran brew update and retried your prior step?
[ Yes] Ran brew doctor, fixed all issues and retried your prior step?
[ Yes] Ran brew config and brew doctor and included their output with your issue?

To help us debug your issue please explain:

What you were trying to do (and why) -  Trying to install Kafka 0.10
What happened (include command output) - Not getting the formula in brew
What you expected to happen - Need to install Kafka 0.10
Step-by-step reproduction instructions (by running brew commands)

I ran brew install Kafka command on home-brew and it has installed Kafka 0.11.
But I need to install Kafka 0.10, for this I tried brew search Kafka , but it is not showing any other formula for 0.10 version.

Features
Please replace this section with:

a detailed description of your proposed feature
the motivation for the feature
how the feature would be relevant to at least 90% of Homebrew users
what alternatives to the feature you have considered

We will close this issue or ask you to create a pull-request if it's something we're not actively planning to work on.

I ran brew install Kafka command on home-brew and it has installed Kafka 0.11.
But I need to install Kafka 0.10, for this I tried brew search Kafka , but it is not showing any other formula for 0.10 version.

We don't provide Kafka 0.10.


Redesign App

remove some gradient
discuss about new design

Redesigned: #20 and #21

Redesigned: #20 and #21

Nice work!

@zuramai do you mind to redesign others too? already check the Homepage Todo List.

sure


Issue with PS/2 keyboard on Terasic DE0 Board

When I flash the sof-file everything works correctly. But when I flash the pof-file to keep the software after a power cycle the keyboard doesn't work correctly anymore. The buttons are mixed-up completely. Any idea what goes wrong here and how to fix? I use the Quartus II 13.1 (32-bit) Web Edition.

Hi @dennyalbert,
I haven't seen this issue before. My A1 boots correctly when I flash the configuration files.
Do you verify the flash contents after flashing?
The other possibility it that Quartus does not produce the correct .pof file.
Can you attach your .pof file?
/Niels.

Hi @trcwm,
attached please find my pof-file.
Yes I did a verify and everything seems to be ok.
apple-one.zip
Regards,
Denny

Your .pof file works perfectly on my DE0 system. I'm not sure how to help you further I'm afraid.
/Niels.

I have now tested the workflow under windows without success. Only to rule out an error with the operating system. Otherwise I use linux.
Could I have a problem with the hardware?
I have tested some examples, everything has worked without any problems.
If there is a problem with the memory, should not the verify lead to an error?
Is there a possibility to read the memory bit-by-bit and compare that with the pof-file?

Now I have read the configuration from the board and there are many differences between the two files. How can that happen, shouldn’t be the files identical?
Attached the two files.
read&written.zip

Have you erased the flash chip before programming?

I had the opportunity to test on a second Terasic DE0 board and have the same issue.
I tried to establish a connection via the serial interface, unfortunately without success. Attached two screenshots. Do you have any idea why the connection does not work?

Are you using a RS232 compliant serial to USB cable? A normal TTL-level cable won't work.

Yes, the DE0 has a level translator (unlike many other boards) and it is directly compatible with an RS232 COM port.
I power cycle the DE0 when changing the position of the RUN/PROG switch. I have never seen it misbehave in either state.
When I power up in the PROG state, the DE0 does nothing. When I power up in the RUN state (and the flash has been programmed), my A1 works as intended.

This is really annoying that two boards behave differently.
Just to clarify, do I only need to load the pof-file or do I have to do some other configurations like for unused pins?

To my knowledge there are no additional requirements to make the A1 run from config flash.
You board seems to work ok if the configuration was loaded directly from the PC. My best guess is that your config flash is not working properly.

This was also my first guess that the config flash is the problem. But the same issue with two new boards? Unfortunately the EPCS4 is no longer available.

Unfortunately I have the same problem with your files.

Now I have built a cable for the serial port as described in the picture. I can receive characters but not send. Is there something special to do? Can the PS/2 keyboard stay connected?

If I'm not mistaken, the code will only transmit the data sent to the VGA to the UART.
The functionality to get the keyboard data from the UART is disabled by default.
You have to set the 'ps2_select' value in apple1_de0_top.v to zero.

I'm getting closer to the problem. The keyboard (Fujitsu KB400) itself seems to be the problem.
If I supply the keyboard with voltage before the FPGA everything works.
The same effect occurs if I press and hold the reset button (Button 0) before switching on and release afterwards.
Any ideas how to fix the problem?

Now I was able to test with an old AT keyboard (PS/2 adapter) and can confirm my guess that the Fujitsu keyboard was the problem.

Glad you solved it! 👍 how annoying 😄


WIP - Inclusion list Experiment

This is an experimental branch for inclusion list and inclusion proofs.
TODO: Is a benchmark test for constructing a merkle inclusion proof of transactions

This work has been completed in a separate branch


make launch error Windows 10 carla 0.9.11 "The filename, directory name, or volume label syntax is incorrect."

Hi all, when ever I try and run make launch I'm hit with the same error, "The filename, directory name, or volume label syntax is incorrect.". I've tried everything in the FAQ, including deleting and re-cloning carla. The UE4_ROOT environment variable is pointing to my UE4 folder, and I have the carla content in "Content\carla".
Here's the output from when I run make launch.
F:\Research\carla>make launch
-[Setup]: [Batch params]: --boost-toolset msvc-14.1
-[Setup]: Asynchronous jobs:  24
-[Setup]: Boost toolset:      msvc-14.1
-[Setup]: Install directory:  "F:\Research\carla\Build\"
-[Setup]: Installing zlib...
    -[install_zlib]: [Batch params]: --build-dir "F:\Research\carla\Build\"
    -[install_zlib]: A zlib installation already exists.
    -[install_zlib]: Delete "F:\Research\carla\Build\zlib-install\" if you want to force a rebuild.
    -[install_zlib]: Exiting...
-[Setup]: Installing libpng...
    -[install_libpng]: [Batch params]: --build-dir "F:\Research\carla\Build\" --zlib-install-dir "F:\Research\carla\Build\zlib-install\"
    -[install_libpng]: A libpng installation already exists.
    -[install_libpng]: Delete "F:\Research\carla\Build\libpng-1.2.37-install\" if you want to force a rebuild.
    -[install_libpng]: Exiting...
-[Setup]: Installing rpclib...
    -[install_rpclib]: [Batch params]: --build-dir "F:\Research\carla\Build\"
    -[install_rpclib]: A rpclib installation already exists.
    -[install_rpclib]: Delete "F:\Research\carla\Build\rpclib-install\" if you want to force a rebuild.
    -[install_rpclib]: Exiting...
-[Setup]: Installing Google Test...
    -[install_gtest]: [Batch params]: --build-dir "F:\Research\carla\Build\"
    -[install_gtest]: A Google Test installation already exists.
    -[install_gtest]: Delete "F:\Research\carla\Build\gtest-install\" if you want to force a rebuild.
    -[install_gtest]: Exiting...
-[Setup]: Installing "Recast & Detour"...
    -[install_recast]: [Batch params]: --build-dir "F:\Research\carla\Build\"
    -[install_recast]: A "Recast & Detour" installation already exists.
    -[install_recast]: Delete "F:\Research\carla\Build\recast-cdce4e-install\" if you want to force a rebuild.
    -[install_recast]: Exiting...
-[Setup]: Installing Boost...
    -[install_boost]: [Batch params]: --build-dir "F:\Research\carla\Build\" --toolset msvc-14.1 --version 1.72.0 -j 24
    -[install_boost]: A Boost installation already exists.
    -[install_boost]: Delete "F:\Research\carla\Build\boost-1.72.0-install\" if you want to force a rebuild.
    -[install_boost]: Exiting...
        1 file(s) copied.
        1 file(s) copied.
-[Setup]: Installing Xercesc...
    -[install_xercesc]: [Batch params]: --build-dir "F:\Research\carla\Build\"
    -[install_xercesc]: A xerces installation already exists.
    -[install_xercesc]: Delete "F:\Research\carla\Build\xerces-c-3.2.3-install\" if you want to force a rebuild.
    -[install_xercesc]: Exiting...
-[Setup]: Creating "CMakeLists.txt.in"...
-[Setup]:
   ###########
   # SUCCESS #
   ###########

   IMPORTANT!

   All the CARLA library dependences should be installed now.
   (You can remove all "*-src" folders in F:\Research\carla\Build\ directory)

   You only need the ASSET PACK with all the meshes and textures.

   This script provides the assets for CARLA 0.9.11:
   You can download the assets from here:

       http://carla-assets.s3.amazonaws.com/20201222_232b876.tar.gz

   Unzip it in the "F:\Research\carla\Unreal\CarlaUE4\Content\Carla\" folder.
   If you want another version, search it in F:\Research\carla\Util\ContentVersions.txt.

-[BuildLibCarla]: [Batch params]: --server --client
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- Build debug:   ON
-- Build release: ON
-- Build test:    ON
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Research/carla/Build/libcarla-visualstudio
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  carla_server.vcxproj -> F:\Research\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server.lib
  carla_server_debug.vcxproj -> F:\Research\carla\Build\libcarla-visualstudio\LibCarla\cmake\server\Release\carla_server_debug.lib
  -- Install configuration: "Release"
-- Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
-- Build debug:   ON
-- Build release: ON
-- Build test:    ON
-- Configuring done
-- Generating done
-- Build files have been written to: F:/Research/carla/Build/libcarla-visualstudio
Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

  carla_client.vcxproj -> F:\Research\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client.lib
  carla_client_debug.vcxproj -> F:\Research\carla\Build\libcarla-visualstudio\LibCarla\cmake\client\Release\carla_client_debug.lib
  -- Install configuration: "Release"
-[BuildLibCarla]: LibCarla server has been successfully installed in "F:\Research\carla\Unreal\CarlaUE4\Plugins\Carla\CarlaDependencies\"!
-[BuildLibCarla]: LibCarla client has been successfully installed in "F:\Research\carla\PythonAPI\carla\dependencies\"!
-[BuildCarlaUE4]: [Batch params]: --build --all
--build
--all
ECHO is off.
-[BuildCarlaUE4]: Building Unreal Editor...
The filename, directory name, or volume label syntax is incorrect.
make: *** [CarlaUE4Editor] Error 1

F:\Research\carla>

I've looked up that error for Windows, it may have something to do with an invalid character for a directory/file.
Any help with this issue would be greatly appreciated!

@jfolden
Do you add UE4_ROOT(my path is D:\CARLA\CARLA_Latest\carla) to your environment variable?  UE4_ROOT should be located to the root directory of CARLA simulator.

If you set your environment variable correctly. I strongly recommend you to check the execution logic in BuildCarlaUE4.bat(my path is D:\CARLA\CARLA_Latest\carla\Util\BuildTools)

@bernatx could you follow up on this please?

@corkyw10 I got it working. My specific problem was that Windows added a ';' to the end of my UE4_ROOT environment variable, which caused the path to be "C:\Path\to\UnrealEngine;" instead of "C:\Path\to\UnrealEngine".
What helped me was printing out the paths used in BuildCarlaUE4.bat (my path is D:\CARLA\CARLA_Latest\carla\Util\BuildTools).
Also, just running the .uproject in the Unreal folder in the carla directory helped out a ton, not with this problem but in general lol.

@jfolden That's great, I'm glad you got it working!


Corrections and refactoring of scss.js

mixin fontFaceCustom and fontFaceVariableCustom not using properties to build paths.
Refactored the mixin.scss file to make all the generated css in one mixin and the other mixins will utilize that minxin with an include.

Added corrections to scss.js
Change scssGeneric template to use mixin variables correctly
Corrected scssMixins template mixins not using type and stretch correctly.

@jcphlux, sorry for the delay, I've been really busy IRL. Thanks for the PR!
I'm pretty hesitant approving this while reviewing the refactors regarding using fontFaceCustom() in every other mixin. While I appreciate the direction to make the code more DRY, I feel the readability and complexity of the code scaled up way too much for future maintainability - especially for a template. Identifying the roots of the bugs in this PR became a lot more difficult as we have a much longer 'chain of code' to go through.
Plus, the major refactors make it very difficult to see exactly what you were trying to fix since this bug wasn't highlighted in an issue anywhere. Could you elaborate on what you mean by "mixin fontFaceCustom and fontFaceVariableCustom not using properties to build paths"?
Although I do really like the use of map.get() in fontFaceCustom, I definitely want to push that through.


Migrated to React Hooks

Let's review the code before merging.

setState callbacks don't work for the useState hook, so we might need to improvise. I think there's a way to use useEffect to replace those callbacks.


fix: use Terraform-supported tfenv instead of ours

Summary
Before we've been using our own version of this tool, but I've been getting this error. They have recommendations, but the easiest thing I could think of is upgrading this tfenv dependency to the latest supported version. By manually tweaking this value, I could run make apply and make plan without any blocking popups.
The only difference between the czi version and the official one is this change, but I don't know if this change matters or not. If it doesn't and we use the tfutils repo, we can archive the czi repo.
Test Plan
Say unittests, or list out steps to verify changes.
References
https://support.hashicorp.com/hc/en-us/articles/13177506317203
https://www.storagetutorials.com/solved-terraform-will-damage-your-computer/

Wow we have so many forks! Good catch


WIP: Notebook plugin

This is a basic IPython notebook plugin which uses IPython.nbconvert to automatically convert an IPython notebook to an HTML file in the deployed site.
It would be nice to add more flexibility: i.e. allow the notebook to extend an existing template for more customization of how it fits into the site.
The plugin requires IPython version 1.0

Thanks @jakevdp! Such a great idea.
Kindly write some unittests to merge.


Need to cd ../; cd - after each deploy

Describe the bug
A clear and concise description of what the bug is.
After php vendor/bin/dep deploy in remote server I need to do cd ../; cd - so the files would be updated
To reproduce
Steps to reproduce the behavior:

On remote server ssh into directory
cat file returns content
php vendor/bin/dep deploy
cat file returns same content
cd ../; cd -
cat file now returns different content

Expected behavior
A clear and concise description of what you expected to happen.
Expected after each php vendor/bin/dep deploy no need for cd ../; cd -
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

Deployer version:
PHP version:
7.4
Deployment target(s) OS:
Linux

Content of deploy.php
// your code here

Output log with enabled option for verbose output -vvv
# output here

Additional context
Add any other context about the problem here.

Looks like this is issue with all of my servers. Tried both mv -T and ln and it's still same result need to cd ../; cd - to see changes..

I only needed to use absolute paths in my background scripts.
I had start.sh code with
cd folder; php code.php
instead of php /folder/code.php

This is a feature.


welcomescreen.yml issue.

Description

The copyright in welcomescreen.yml isn't updated to 2024, and says RoseSMP 2023 instead of Tulip SMP 2024
Steps to reproduce

Check the welcomescreen.yml config file
Go to this page
Look at config/welcomescreen.yml

Platform and Version
Operating System:

GitHub on Chrome
CPU Archetecture:

I use an Intel CPU. Also unrelated but I'd correct 'cpu do u have' to 'CPU do you have'
Python Version:

I didn't run the script
Tiramisu Version:  Got no idea if it was a release, but the one on the homepage

Check only those that apply

[ ] I am running straight from git

Branch:

[ ] I am running a release downloaded from the releases page

Release number:

fixed in 7d1eddd


Remove GoogleService-Info.plist

at https://github.com/vector-im/riot-ios/blob/develop/Riot/Assets/GoogleService-Info.plist
We do not need it anymore.

Closed with #3339


Fix link in typo in src/task/mod.rs

This is currently a broken link, which you can see here https://docs.rs/async-std/1.8.0/async_std/task/index.html

Thanks

Thanks


Cache mentions/whispers between sessions

Being able to see your mentions/whispers tab between app closures would be great feature to add.
With the current intermittent crashes (see #2432) mentions can be lost and would require the user to scroll back through the channels. Also just makes sense to match the history from channels.

This would have to be a local thing as caching that stuff via a chatterino API sounds sketchy.

Sounds like a good use for existing logging functionality

@Mm2PL thinking just to read in whispers/mentions since x time from ./Logs/Twitch/{Mentions,Whispers}/latest? Sounds reasonable.

Mentions should just use Recent Messages IMO. Whispers are a separate topic though.

Whispers could also use the undocumented im.twitch.tv api.

Very good idea, especially with all the crash issues

undocumented

@gempir you're talking about getting it from the c2 API? I'd much rather have it a local cache so that c2 API isn't handling the whispers.
I may have misunderstood - strong possibility.

@jammehcow
Mentions from https://recent-messages.robotty.de/ API, were we take recent-messages from. So we just need to pass those recent messages through the mentions filterer (not sure how that works in the code)
Whispers either from the undocumented im.twitch.tv or storing locally. But I personally I would separate these into 2 issues.

im.twitch.tv is probably getting removed with Kraken. Only loading from file is left. Unless twitch in a miraculous burst of good will towards 3rd party developers decides to add a Helix endpoint for whispers.


Need documentation/help to fuzz large products using onefuzz

I have looked into the documentation and haven't found much useful information and hence asking here. fuzz.exe example seems to be the basic ones, my software requires some per-configured setup(Registry keys, other dll files, environment variables etc) to be run in-order to execute the target_exe. How do I set this up ? Does libfuzzer/AFL/radamsa template provide the option to upload a setup.exe file which would set the configurations and then use the target_exe to perform fuzzing ? (eg: target.exe depends on a.dll and b.dll and some registry keys, usual setup is that the setup.exe would configure the registry keys and download the necessary dlls which are requires for the target.exe to run)

Does libfuzzer/AFL/radamsa template provide the option to upload a setup.exe file which would set the configurations and then use the target_exe to perform fuzzing?

It does! And it is documented, though a little hard to find. See (2i) here.

All tasks should have a setup container, which contains the application under test and optional a setup.sh or setup.ps1 to customize the VM prior to fuzzing

So you can include an OS-appropriate setup script in the root of your setup container. This script which will get run wherever the setup container is used, and can be used for the pre-fuzzing OS-level configuration that you need.

Thanks @ranweiler for the response. If I understand it correctly, the setup container folder which contains setup.ps1 could be tweaked to download the software-setup.exe and run it before the actual target-exe is fuzzed correct ? And this needs to be done through azure portal and not the onefuzz-cli correct ? The onefuzz template  libfuzzer basic --setup_dir option is not the pre-installation setup option right ?
The other question i had is that assuming that the setup has been run and the instance is preconfigured with dlls,exes and registry keys, these are usually installed in the C:\ or the respective folder and target-exe is already part of it(my goal is fuzz the target-exe which is already installed as part of setup). Now, when I schedule my fuzzing job all I want to replace the existing target-exe with the one that I want(instrumented binary) in the same C:\ folder, can this be done ? And do I have control of which folder I can push my target-exe into when scheduling the fuzzing jobs ?

the setup container folder which contains setup.ps1 could be tweaked to download the software-setup.exe and run it before the actual target-exe is fuzzed correct ?

Right!

And this needs to be done through azure portal and not the onefuzz-cli correct ? The onefuzz template libfuzzer basic --setup_dir option is not the pre-installation setup option right ?

No, you would use this option to upload a setup script, and you do not need to use the Azure Portal.
For a given task, setup a role for a particular blob storage container. If you create the container using a job template, a container will automatically get created for you, with a name deterministically derived from the project, name, and build parameters.
As you know, any given task's target_exe must reside in the setup blob storage container for the task. An (optional) setup script, if present, must also reside in that storage container, and must be named setup.sh (on Linux) or setup.ps1 (on Windows). When using the CLI with a job template, you can specify --setup_dir, and your local directory will be copied to a (newly-created) remote blob storage container, which will reside in the fuzz... storage account resource in your OneFuzz instance's resource group.
Example: pretend you have a Linux libFuzzer binary named my-fuzzer and it required you to install (picking something at random) libpng.
On your dev machine / CI, you'd create a directory that will be copied up to the setup blob container for your job. You'd place your fuzzer in the root of that directory, and create a file named setup.sh, also in the root.
Your setup.sh might look like:
#!/usr/bin/env bash
set -e

sudo apt update
sudo apt install -y libpng

And your local directory would look like:
my-setup/
├── my-fuzzer
└── setup.sh

Then you could create the job with --setup_dir my-setup and --target_exe setup/my-fuzzer.
(note: I haven't actually run any of the above, so don't try to copy-paste it, but it illustrates the idea)

The other question i had is that assuming that the setup has been run and the instance is preconfigured with dlls,exes and registry keys, these are usually installed in the C:\ or the respective folder and target-exe is already part of it(my goal is fuzz the target-exe which is already installed as part of setup).

It is correct that the target_exe you specify (whatever it is named) will be copied to a fuzzing VM in the setup directory. This gets dynamically created, and is not user-defined. Treat this as out of your control, from an API perspective.

Now, when I schedule my fuzzing job all I want to replace the existing target-exe with the one that I want(instrumented binary) in the same C:\ folder, can this be done ? And do I have control of which folder I can push my target-exe into when scheduling the fuzzing jobs ?

We don't support running your fuzzer in an arbitrary directory. You should set things up the other way around: ensure that from the setup directory, wherever it is, your target can access the installed pre-reqs. Your setup script will have access to the runtime-determined setup directory name via the environment variable ONEFUZZ_TARGET_SETUP_PATH, as documented here.


ModuleNotFoundError: No module named 'fastremap

when I use pyinstaller package  this project,it have a error,can you help my solve it?

Oh, I see now that you have used pyinstaller. Then I assume you wish to add this module to a python desktop app? Probably, some kind of GUI python software?
Note that adding such complex libraries with many hidden deps can be quite tricky in PyInstaller. Here is a project where we have done this, but not for this exact CLI:
https://github.com/raidionics/Raidionics/blob/master/assets/main.spec
What you likely need to do, is add hooks to handle hidden imports. Take a look at the aforementioned spec-file file, to give you some clues on how to fix the issue.

As this issue is not related to the lungtumormask CLI, and the issue title is misleading, I am closing this issue.
Feel free to make a separate issue more explicitly stating what the issue is and what you are trying to do.


[FEATURE]: Add inArray support for expression

Describe want to want
Currently, the following is not possible. It would be nice if it could !
inArray(sql`MONTH(${myTable.createdAt})`, [4, 5])
// WHERE MONTH(myTable.createdAt) IN [4, 5]

Note that this does not create a type error, but generate a runtime error since the column createdAtMonth doesn't exists :
inArray(sql`MONTH(${myTable.createdAt})`.as("createdAtMonth"), [4, 5])

I can't reproduce. Please provide a reproduction to take a look. I'll close the issue but we could reopen


RequiredByDefault is not applied correctly to dto object

Where required by default is true, the data classes properties are not required by default which make all the properties nullable.

@cl3m Make sure that your code passes all checks, in this case format it.


Desktop Javascript Console

Draft PR until full merge
Press F3 while in-game to toggle the console.
Features:

movable cursor
clipboard integration
selection
input history

Not supported:

display of previous inputs
delete word
mouse support

Keybinds:

left/right: move cursor by one character
up/down: move up/down or history up/down
CTRL+left/right: move cursor by one word
CTRL+A: select all
SHIFT+left/right: resize selection
CTRL+D: close console
HOME: move to the start
END: move to the end
CTRL+C: copy selection to clipboard
CTRL+X: cut selection to clipbord
CTRL+V: paste clipboard to cursor
ENTER: submit
SHIFT+ENTER: new line at cursor
BACKSPACE: delete previous character
DELETE: delete next character

Resolves #190

Codecov Report

Merging #250 (a59afe2) into master (21c9315) will decrease coverage by 1.13%.
The diff coverage is 0.00%.

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


Don't require ID for layers

MVT doesn't require a ID field. Many sources won't have an ID on all layers, and this is the norm on OSM-derived ocean data.

Fixing this would likely fix #337


Remove "Send a reply" new user tip

After implementing #19900, there are two places where new users are told how to reply to a message: in the Welcome Bot text and in the "Send a reply" new user tip immediately below.
To simplify and avoid redundancy, we should remove the "Send a reply" new user tip.

CZO thread

@zulipbot claim


Multiple gates to access different modules

I am trying to integrate two different applications - build for accounts and inventory in two different modules using laravel-modules. I have another different module for authentication which is a common module for both accounts and inventory. This authentication module uses role and permission based authentication system. There will be other common models that will be used by both accounts and inventory.
Plan : I am trying to use guards to control the access of accounts and inventory modules. E.g. For accounts, guard will be account_guard and for inventory, it will be inventory_guard. Guard for common modules like authentication and other common models will be accessible via both account_guard and inventory_guard. All these guards have a common provider i.e. User model from authentication module.
Questions:

I want to get some review before actually implementing this plan, are there any chances to encounter any problem with this idea in a long run?

Is there something already built in in laravel-modules to handle such type of authentication problem?

Is there any better way to solve this problem?

Thanks.

Hello,
This looks pretty good to me.
There's no built-in way in the package to perform this, which leaves more flexibility to the users using the package.


Fix text fill within clip: true blocks in PNG export

Fixes https://github.com/typst/typst/issues/5499
Within clip: true blocks, only opaque solid colors worked properly (...to an extent, given the changed tests below) in PNG export (all's fine in PDF and SVG). Solid colors with transparency, gradients and patterns were all broken (see the sample at the bottom).
The problems were all located within write_bitmap at typst-render/src/text.rs. It has two code paths, one for clip: true (there is a mask) and one for clip: false (no mask). In the clip: true branch, the following problems were present:

Regarding transparency, we weren't using the alpha_mul function to apply the bitmap coverage value to the fill. We were simply replacing the fill's alpha with the coverage. Therefore, glyphs would never properly blend with what's under them, and would always be close to, if not fully, opaque, depending on the coverage value. The fix was to use alpha_mul.
Regarding gradients and patterns, the fill color sampler expects coordinates in the canvas coordinate space, not in the bitmap's. We were passing bitmap coordinates. The fix was to convert those bitmap coordinates to canvas coordinates.

Tests

Two tests were updated as the text color was slightly changed. I verified that the change is completely irrelevant (pixels went from RGB(127, 127, 127) to RGB(126, 126, 126) or something like that).
Added a new test similar to the sample below but reduced.

Sample
Given the code below:
#set page(width: 2in, height: 2.1in)

#let pat = pattern(
  size: (30pt, 30pt),
  relative: "parent",
  square(
    size: 30pt,
    fill: gradient
      .conic(..color.map.rainbow),
  )
)

#block(clip: false, {
  text(fill: blue, "Hello, World")
  [\ ]
  text(fill: blue.darken(20%).transparentize(50%), "Hello, World")
  [\ ]
  text(fill: gradient.linear(..color.map.rainbow), "Hello, World")
  [\ ]
  text(fill: pat, "Hello World")
})
#block(clip: true, {
  text(fill: blue, "Hello, World")
  [\ ]
  text(fill: blue.darken(20%).transparentize(50%), "Hello, World")
  [\ ]
  text(fill: gradient.linear(..color.map.rainbow), "Hello, World")
  [\ ]
  text(fill: pat, "Hello World")
})

We have the following results:
Broken output (before this PR)

Correct output (with this PR)

Makes sense!


HBASE-28197 The configs for using meta replica can conflict

The changed UT can reproduce the problem.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 13s
Docker mode activated.

-0 :warning:
yetus
0m  2s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 30s
master passed

+1 :green_heart:
compile
1m  0s
master passed

+1 :green_heart:
shadedjars
4m 46s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 18s
the patch passed

+1 :green_heart:
compile
0m 58s
the patch passed

+1 :green_heart:
javac
0m 58s
the patch passed

+1 :green_heart:
shadedjars
4m 46s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 28s
hbase-client in the patch passed.

+1 :green_heart:
unit
224m 32s
hbase-server in the patch passed.

248m 48s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5516

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux ae4ab149b4df 5.4.0-156-generic #173-Ubuntu SMP Tue Jul 11 07:25:22 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e806350bd0

Default Java
Temurin-1.8.0_352-b08

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/testReport/

Max. process+thread count
4973 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 10s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+0 :ok:
mvndep
0m 11s
Maven dependency ordering for branch

+1 :green_heart:
mvninstall
2m 48s
master passed

+1 :green_heart:
compile
1m  9s
master passed

+1 :green_heart:
shadedjars
4m 51s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 42s
master passed

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 13s
Maven dependency ordering for patch

+1 :green_heart:
mvninstall
2m 43s
the patch passed

+1 :green_heart:
compile
1m  8s
the patch passed

+1 :green_heart:
javac
1m  8s
the patch passed

+1 :green_heart:
shadedjars
4m 50s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 42s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
1m 30s
hbase-client in the patch passed.

+1 :green_heart:
unit
313m 12s
hbase-server in the patch passed.

339m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5516

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 222b7bbb9791 5.4.0-153-generic #170-Ubuntu SMP Fri Jun 16 13:43:31 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / e806350bd0

Default Java
Eclipse Adoptium-11.0.17+8

Test Results
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/testReport/

Max. process+thread count
4409 (vs. ulimit of 30000)

modules
C: hbase-client hbase-server U: .

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5516/1/console

versions
git=2.34.1 maven=3.8.6

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


bug: Missing ionicons.woff in www/build/fonts/

Type: bug
Ionic Version: 2.x
Platform: all
I got the following error in the browser when I ran ionic serve from a freshly made tabs starter app.
Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:8100/build/fonts/ionicons.woff?v=3.0.0-alpha.3

ionicons.woff is referenced in www/build/css/app.ios.css.
Here's my ionic info:
$ ionic info

Your system information:

Cordova CLI: 5.4.1
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 2.0.0-alpha.51
Ionic CLI Version: 2.0.0-beta.17
Ionic App Lib Version: 2.0.0-beta.8
ios-deploy version: 1.8.3
ios-sim version: 5.0.4
OS: Mac OS X El Capitan
Node Version: v5.3.0
Xcode version: Xcode 7.2 Build version 7C68</span>

Manually updating fonts to the following in ionic.config.js fixed the problem.  But I think the ionic CLI should fix it.
fonts: {
      src: [
        'node_modules/ionic-framework/fonts/**/*.ttf',
        'node_modules/ionicons/dist/fonts/*.ttf',
        'node_modules/ionicons/dist/fonts/*.woff*'
      ],
      dest: "www/build/fonts"
    }

The starter projects are updated now to include ionicons in package.json and the ionic.config.
https://github.com/driftyco/ionic2-app-base/blob/master/package.json#L7
https://github.com/driftyco/ionic2-app-base/blob/master/ionic.config.js#L14
Please refer to the CHANGELOG for alpha.51 if you are having issues in an existing project:
https://github.com/driftyco/ionic/blob/2.0/CHANGELOG.md#ionicons-were-moved
Thanks!

@brandyscarney I just checked that my package.json and ionic.config.js are exactly the same as in the starter projects.  But I ran into the problem unless I included the files in the fonts section.

Can you try updating it to match the conference app and see if that works?
src: ['node_modules/ionic-framework/fonts/**/*.+(ttf|woff|woff2)'],

https://github.com/driftyco/ionic-conference-app/blob/master/ionic.config.js#L18

Thanks @tlancina @brandyscarney for making the fix.  I was going to jump in to create a PR.  But you beat me to the punch.

@tlancina @5amfung  what solution for this problem? i have the same error

i get error when i write it

This is invalid JSON,
Add quote marks :
{       "name": "tasklist",       "app_id": "b8ec0680", "v2": true, "typescript": true, "fonts": 	{ 	"src": "['node_modules/ionic-framework/fonts/**/*.+(ttf|woff|woff2)')]", 	"dest": "www/build/fonts" 	} }

My ionic.config.json has the same as the ionic-app-base
{
  "name": "UPS.TS.RC4",
  "app_id": "",
  "v2": true,
  "typescript": true
}

But I still see this error when running off the web in a browser.
http://mumti.org/mumti/g/assets/fonts/ionicons.woff2?v=3.0.0-alpha.3
I also see at the very beginning of the loading
http://mumti.org/mumti/g/cordova.js
ionic info

Your system information:

 ordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 2.2.2
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 1.1.4
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v7.2.0
Xcode version: Not installed

My package.json
  "scripts": {
    "build": "ionic-app-scripts build",
    "clean": "ionic-app-scripts clean",
    "ionic:build": "ionic-app-scripts build  && beep ",
    "ionic:serve": "ionic-app-scripts serve && beep ",

    "watch": "ionic-app-scripts watch && beep ",
    "serve:before": "watch",
    "emulate:before": "build",
    "deploy:before": "build",
    "build:before": "build",
    "run:before": "build",
    "run:after": "beep",
    "serve:after": "beep",
    "beep": "bash.exe beep.sh",
    "beep0": "bash.exe -c \"echo -en '\\a' \" "
  },
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@ionic-native/core": "3.1.1",
    "@ionic/storage": "2.0.0",
    "ionic-angular": "2.3.0",
    "ionic-native": "2.9.0",
    "ionicons": "3.0.0",
    "rxjs": "5.0.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "0.7.2"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.1.4",
    "typescript": "^2.0.10"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-console",
    "cordova-plugin-statusbar",
    "cordova-plugin-device",
    "cordova-plugin-splashscreen",
    "ionic-plugin-keyboard",
    "cordova-plugin-x-socialsharing"
  ],
  "cordovaPlatforms": [
    {
      "platform": "android",
      "version": "",
      "locator": "android"
    },
    {
      "platform": "browser",
      "version": "",
      "locator": "browser"
    }
  ],
  "description": "UPS.TS.RC6: An Ionic project",
  "config": {
    "ionic_source_map": "source-map"
  }
}

I also had to add .woff2 to my mime types on my hosting server.

Add this mime to your web.config
<!--
https://stackoverflow.com/questions/28235550/proper-mime-type-for-woff2-fonts
  -->
			<remove fileExtension=".woff2" />
    			<mimeMap fileExtension=".woff2" mimeType="font/woff2" />


bug/certifi vuln

update certifi: 2022.12.07 -> 2023.07.22
closes #20

Current status of this package on repology: https://repology.org/project/python:certifi/versions

closing as this wouldn't fix the issue, openssl needs to be patched


Add doxygen-style documentation for some TerminalInput.cpp functions

Summary of the Pull Request
References and Relevant Issues
Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
PR Checklist

[ ] Closes #xxx
[ ] Tests added/passed
[x] Documentation updated

If checked, please file a pull request on our docs repo and link it here: #xxx

[ ] Schema updated (if necessary)

@microsoft-github-policy-service agree


Use class for template template parameter

The current definition using typename fails when compiling
with GCC 4.8 and 4.9, because typename is allowed since C++17.
References

The C++17 code was introduced in #248

Failing CircleCI builds: https://circleci.com/gh/boostorg/gil/7123 and https://circleci.com/gh/boostorg/gil/7125
libs/gil/test/pixel/concepts.cpp:24:39: error: expected 'class' before 'Concept'
template <template<typename> typename Concept>
                                    ^

https://en.cppreference.com/w/cpp/language/template_parameters#Template_template_parameter

Tasklist

[x] Review
[x] Adjust for comments
[ ] All CI builds and checks have passed

By the way, we may want to consider using class instead of typename in general. For example, if we wanted to follow the C++ Specification Style Guidelines:

template type parameters use class not typename

@stefanseefeld, @chhenning Any preferences?

In general I prefer "typename" for type parameters (since not all types are classes). However, for template template parameters I do prefer "class", for the same reason: Only classes can be parametrized, not arbitrary types.

@stefanseefeld I agree. To me, the typename is a misnomer in the non-template-template cases, so I try to avoid it there too.


Fixed typos

Typo in first bullet point
Fixed capitalization in "Changing Reclaim Policy of a PersistentVolume" bullet point

This change is

@ryanmcginnis Thanks for the contribution. Please be sure to sign the CLA and use the same email address as is associated with your GitHub account. Thx


Add support for home, end, delete, and ctrl+w

This PR makes the REPL properly handle the following keys: home (jump to the beginning of the line), end (jump to the end of the line), delete (delete the character to the right of the cursor), and ctrl+w/^w (delete the previous word and all trailing spaces, works just like in a bash shell).
Sorry for all the small PRs, I figured it would be best to separate them since they don't really have anything to do with each other, but I can merge them all into one PR if requested.

This is great, thanks!

Awesome, thanks!


T-API ODU Spec updated as per comments in onf2016.215.15

T-API ODU Spec updated as per comments in onf2016.215.15
Additional changes:

Created TerminationPac and ClientAdaptationPac instead of a TtpPac as per discussion on OTWG IM call on May23

Added some text in the Applied Comment to clarify how these Pacs are used

MepSpec and ProtectionSpec created as experimental and temporarily shown in a new OduOamProtectionSpecs diagram

oduRateTolerance was present in both TTP and CTP so moved to ConnectionEndPointLpSpec and marked as experimental

Pending Issues:

The TerminationPac is empty: better to re-evaluate merging TerminationPac with ClientAdaptationPac into a TtpPac (as per May interim meeting discussion)

Still need to define the type for the acceptedPayloadType

A new pull request will be submitted based on the ODU Spec updated after the OTWG IM call on July 11, 2017


Ability to data profile node outputs for creating data quality checks

Is your feature request related to a problem? Please describe.
Data profiling is a way to help bootstrap creating data quality checks.
Data profiling is also a way to facilitate data exploration, by providing summary statistics over data.
Describe the solution you'd like
A user should be able to profile their DAG, or a set of nodes, and get out some summary statistics.
Those statistics could then be used to bootstrap data quality, i.e. check_output(), decorators, but the output should be standalone.
Describe alternatives you've considered
Haven't considered many options. But there are a few libraries that do data profiling already.
Additional context
Systems like whylogs, great expectations, use profiling to help with the user experience.
Standalone libraries like https://github.com/capitalone/DataProfiler also exist.
https://github.com/stitchfix/hamilton/pull/149 does a little to prototype in this area too.

We are moving repositories! Please see the new version of this issue at https://github.com/DAGWorks-Inc/hamilton/issues/40. Also, please give us a star/update any of your internal links.
Note that everything else (slack community, pypi packages, etc...) will not change at all.


Update UserGuide with prefix summary

Add prefix summary
Change help window to reflect group UserGuide URL

Codecov Report
Base: 72.15% // Head: 72.15% // No change to project coverage :thumbsup:

Coverage data is based on head (22f922d) compared to base (e2bfb99).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #35   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

Impacted Files
Coverage Δ

src/main/java/seedu/address/ui/HelpWindow.java
0.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Adding Twitter url to new tab homepage doesn't load icon

Adding a twitter url ie https://mobile.twitter.com/explore to a new position via the '+' on the new tabe homepage results in a loading/spiral animation and not the site icon

Expected behavior
Load the site favicon like it does all other sites.
Screenshots
If applicable, add screenshots to help explain your problem.
Samsung Tab S7 + Pixel 5
Android 12

98.0.4758.106

Hi, download the latest build from here:
https://github.com/kiwibrowser/src.next/releases
and revert if the issue still occurs, else you can close this issue. Additionally, you can try clearing the cache.
In my case, I get the icon.


Adding a Vagrantfile for spinning up a development VM

Vagrant is a tool for using virtual machines to share development environments.
Learn more about it at:
https://www.vagrantup.com/
Also making changes to the .gitignore file to ignore any data that Vagrant
might create.

@ofirtzabari Please add in the description of this PR something like:
Fix issue #1

@ofirtzabari AFAICS you deleted all files
Please add back the Vagrantfile and the .gitignore files