pgCluu 2.5 does not collect stats under PostgreSQL 9.6

Hello,
Tested "pgCluu" 2.5 with PostgreSQL 9.6, "pgcluu_collectd" did not output CSV files and SAR stats. The program exists with the 'sysinfo.txt' file found in the directory.
The following error message is found in the logs of the PostgreSQL instance:
user=postgres,db=Temps : 1,188 ms,time=2017-04-11 10:33:32 CEST FATAL:  database "Temps : 1,188 ms" does not exist
Regards

Hi,
To trap the error message returned by pgcluu_collectd run it in interactive mode, I mean without the -D option. But if you use the latest development code from github the issue might already be solved.
Best regards,

We have tested the version 3.0dev, it fixed this issue.
As we use "pgCluu" in Production site, we would also like to know when this version will be released.
Thanks

I guess during my next four consecutive spare time days, which mean during my next holidays and probably at end of this month.

Hello,
Do you have any new roadmap for the release 3.0?
Thanks

If everything goes as expected it will be out this weekend. I'm currently working to finalise the release, I still have to document the CGI mode and to extract the javascript code to be compliant with Debian packaging.

Sorry but next release that was expected last week-end is delayed before the end of the month. I can not find time to close the few pending issues and build a release. This will be a maintenance release because the CGI mode will take too much time to fully complete and we need a release now.

Please have a look at release 2.6 just published here https://github.com/darold/pgcluu/releases

Thank you for this release. According to my tests, I have few remarks for this release.
I have the following warnings during the installation:
[root] # perl Makefile.PL
Checking if your kit is complete...
Warning: the following files are missing in your kit:
cgi-bin/resources/bean.js
cgi-bin/resources/bootstrap-datetimepicker.js
cgi-bin/resources/bootstrap.min.css_
cgi-bin/resources/bootstrap.min.js
cgi-bin/resources/datetimepicker.css
cgi-bin/resources/font-awesome.min.css
cgi-bin/resources/jqplot.barRenderer.min.js
cgi-bin/resources/jqplot.canvasAxisTickRenderer.min.js
cgi-bin/resources/jqplot.canvasTextRenderer.min.js
cgi-bin/resources/jqplot.categoryAxisRenderer.min.js
cgi-bin/resources/jqplot.cursor.min.js
cgi-bin/resources/jqplot.dateAxisRenderer.min.js
cgi-bin/resources/jqplot.highlighter.min.js
cgi-bin/resources/jqplot.pieRenderer.min.js
cgi-bin/resources/jqplot.pointLabels.min.js
cgi-bin/resources/jquery.jqplot.min.css
cgi-bin/resources/jquery.jqplot.min.js
cgi-bin/resources/jquery.min.js
cgi-bin/resources/pgcluu.css
cgi-bin/resources/pgcluu.js
cgi-bin/resources/pgcluu_slide.js
cgi-bin/resources/sorttable.js
cgi-bin/resources/underscore.js
Please inform the author.
Writing Makefile for pgCluu
I have tested with PostgreSQL 9.5 and 9.6, in both cases, I have Perl warnings while generating reports:
[postgres] $ pgcluu -o /tmp/report_pgcluu96/ /tmp/stat_pgcluu96/
Use of uninitialized value in addition (+) at /usr/local/bin/pgcluu line 4144.
Use of uninitialized value in addition (+) at /usr/local/bin/pgcluu line 4144.
Use of uninitialized value $bgwriter_stat{"checkpoints_timed"} in substitution (s///) at /usr/local/bin/pgcluu line 4152.
Use of uninitialized value $bgwriter_stat{"checkpoints_req"} in substitution (s///) at /usr/local/bin/pgcluu line 4153.
Use of uninitialized value $bgwriter_stat{"buffers_checkpoint"} in substitution (s///) at /usr/local/bin/pgcluu line 4162.
Use of uninitialized value $bgwriter_stat{"buffers_clean"} in substitution (s///) at /usr/local/bin/pgcluu line 4163.
Use of uninitialized value $bgwriter_stat{"buffers_backend"} in substitution (s///) at /usr/local/bin/pgcluu line 4164.
Use of uninitialized value $bgwriter_stat{"buffers_alloc"} in substitution (s///) at /usr/local/bin/pgcluu line 4165.
Use of uninitialized value $bgwriter_stat{"maxwritten_clean"} in substitution (s///) at /usr/local/bin/pgcluu line 4168.
Use of uninitialized value $bgwriter_stat{"buffers_backend_fsync"} in substitution (s///) at /usr/local/bin/pgcluu line 4169.
The status of the command line is '0'.
The Perl version used is v5.16.3.
Regards

Commit 0b260a3 fixes the MANIFEST, about the second issue I will investigate more because this case might not append. I guess you have run pgcluu too early, if you execute it again now do you have the same warning about uninitialized value?

I have tested the lastest "master" ZIP file, I do not have warnings in compilation, but still have the same warnings with generating reports.
I follow the same steps described in README:
mkdir /tmp/stat_db1/
pgcluu_collectd -D -i 60 /tmp/stat_db1/
pgcluu_collectd -k
mkdir /tmp/report_db1/
pgcluu -o /tmp/report_db1/ /tmp/stat_db1/
Use of uninitialized value in addition (+) at /usr/local/bin/pgcluu line 4144.
Use of uninitialized value in addition (+) at /usr/local/bin/pgcluu line 4144.
Use of uninitialized value $bgwriter_stat{"checkpoints_timed"} in substitution (s///) at /usr/local/bin/pgcluu line 4152.
Use of uninitialized value $bgwriter_stat{"checkpoints_req"} in substitution (s///) at /usr/local/bin/pgcluu line 4153.
Use of uninitialized value $bgwriter_stat{"buffers_checkpoint"} in substitution (s///) at /usr/local/bin/pgcluu line 4162.
Use of uninitialized value $bgwriter_stat{"buffers_clean"} in substitution (s///) at /usr/local/bin/pgcluu line 4163.
Use of uninitialized value $bgwriter_stat{"buffers_backend"} in substitution (s///) at /usr/local/bin/pgcluu line 4164.
Use of uninitialized value $bgwriter_stat{"buffers_alloc"} in substitution (s///) at /usr/local/bin/pgcluu line 4165.
Use of uninitialized value $bgwriter_stat{"maxwritten_clean"} in substitution (s///) at /usr/local/bin/pgcluu line 4168.
Use of uninitialized value $bgwriter_stat{"buffers_backend_fsync"} in substitution (s///) at /usr/local/bin/pgcluu line 4169.
What do you mean by "run pgcluu too early" ?

I was thinking this comes just before file pg_stat_bgwriter.csv was generate. Can you post post here some lines of this file?

As I did a short test, I have one line in the file:
$ cat pg_stat_bgwriter.csv
2017-07-13 11:39:32+02;286;0;4017;34;40;0;0;0;0;1309;2017-07-12 11:48:11+02
I think I undertood the issue. When I run the test longer, I found too lines in the file, then I do not the warnings while generating reports.
$ cat pg_stat_bgwriter.csv
2017-07-13 17:36:23+02;357;2;4121;51;64;0;0;0;0;1374;2017-07-12 11:48:11+02
2017-07-13 17:37:24+02;357;2;4121;51;64;0;0;0;0;1649;2017-07-12 11:48:11+02
But this behavious is not happened in the previous release.

This is because the first line is taken as an origin now to autodetect the inteval beween and its values are not stored anymore to compute the report. pgcluu is ran too early, but I will try to avoid the warning. I keep the issue open until it is fixed.


Add remaining library API endpoints

This adds all of the remain library API endpoints. Again, a lot of descriptions are somewhat bland and I had to guess on a few.

I really appreciate your work on this!


runProfile shouldn't throw error when "end" function is called

If user calls end in a script, runProfile should catch that error rather than bubbling it up

Refactored end method to prevent this issue.


Hydration node mismatch with .server/.client components

Environment

Operating System: Linux
Node Version:     v16.14.2
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-uy1uwl?file=app.vue
Describe the bug
According to the docs, server-side rendered .server components are replaced with their .client counterparts on the client-side. Unfortunately, this isn't working as expected and Vue throws an Hydration node mismatch warning even though both files contain the same template without any state dependent dynamic content.
<template>

Hello World!

</template>

Additional context
No response
Logs
[Vue warn]: Hydration node mismatch:
- Client vnode: div
- Server rendered DOM:
Hello World!

  at <Headline.client>
  at <App key=1 >
  at <NuxtRoot>

@danielroe What is the reason we show a placeholder div for the client-only component? Can we not directly render the component itself?

Hi,
Fave same issues when I tried to use . server components.
Some fixes?🤔


Macro, like tokio::test?

This project is 🔥!
I've done some experiments with wasm-mt-test and it's working great. However, I need to adjust my test code to run in a worker thread. It would be super cool if I could include a macro, like use wasm_mt_test::test and then my tests would automatically run in a worker.
Unless I'm mistaken, I believe it'd just generate a wrapper containing:
let pkg_js_uri = wasm_mt_test::get_pkg_js_uri();

let th = wasm_mt_test::create_mt(&pkg_js_uri).await.thread().and_init().await.unwrap();

exec!(th, async move || test_fn().await).await

Thanks for your suggestion!
So far, we have just create_test_thread() for a similar purpose.  A proc_macro for your use cases sounds interesting.  Currently, I don't have enough time to actively add new functionalities to this crate, however I would love to review such a PR.


Add possibility to add constraints infrastructure for classes that already have an implementation of pre_randomize

Currently, constraints_utils tries to define pre_randomize. This doesn't work for classes that already have an implementation of pre_randomize. In such a case, we should split the macro into one that creates the necessary infrastructure for the add_<scope>_constraint functions, and another macro that hooks it up in pre_randomize, which the user can insert in their implementation of pre_randomize:
class some_class;

  function void pre_randomize();
    // do stuff
   // ...
   `constraints_pre_randomize_hook
  endfunction

  `constraint_infrastructure_wo_pre_randomize_hook(some_class)

endclass

This would also help for classes that don't have a base class, as constraints_infrastructure inserts a call to super.pre_randomize, which isn't legal in such a context.

Fixed in #11


chmod +x change_ios_position.sh No such file or directory

i’m sorry, I really bad at this. I can’t locate in which directory i should be?


[Bug]

discord crashing too much when I launch it, i installed BD on this too, tried reinstalling both apps, but the crashing still happens, turned off my pc, restarted it too, nothing worked.

Same on my end.

Try uninstalling BetterDiscord, then see if it crashes as often. If it does, try reinstalling Discord. If it continues to crash afterwards, it's not Discord or BetterDiscord.

same on my end tried reinstalling many times, running vanilla discord now

#821 If you are running Canary, it breaks BD. It's being fixed, but for now use pbt, stable, or run vanilla.


docs: Update cloudformation.yaml docs for v1

Description: This PR updates the Cloudformation docs to match the new cloudformation.yaml for v1.
Does this change impact docs?

[X ] Yes, PR includes docs updates

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

Pull Request Test Coverage Report for Build<PHONE_NUMBER>1
Details

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

Totals

Change from base Build<PHONE_NUMBER>9:
0.01%

Covered Lines:
5982

Relevant Lines:
7546

💛  - Coveralls


no module named 'pascal_voc_writer'

no module named 'pascal_voc_writer'.

Hi, that module needs to be installed.
pip install pascal-voc-writer


Port to ESM / GNOME 45 Support

Fixes #145.
Most changes just follow the Official Porting Guide. Additionally, the following changes are necessary:

Replace Mainloop.* calls with equivalent GLib.* calls
Replace some global variables with class fields
Extract settings keys into a separate module so the can be imported by both the extension and the preferences
Wrap preferences in a Adw.PreferencesPage and Adw.PreferencesGroup

While testing on my main machine (Fedora 39 Beta) using a nested instance of GNOME Shell, I ran into multiple database corruptions, but I couldn't replicate this issue in a GNOME OS VM.  I also don't see how this can be caused by these changes.
Since these changes aren't compatible with GNOME <45, it would make sense to create a final release for these versions before merging this PR.

Thanks for doing this! I don't have gnome 45 so can't actually test this, but the changes look fine so I'll trust you. :) And yeah, if you have two instances of the extension running at once, chaos will ensue so don't worry about that.
I published the gnome 45 version of the extension which is pending review: https://extensions.gnome.org/review/45415. If stuff's broken once that goes through, let me know and we can work on fixes. If all goes smoothly, thanks again!

Alrighty, the extension is live. Can you update and confirm it works?

That was quick, thanks for merging and addressing the review comments! I switched to the extensions.gnome.org version and it works fine.

Hell yeah!


$ref that points to github?

I have this cut down schema:
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "http://github.com/o19s/ubi/schema/event.request.schema.json",
  "title": "Event",
  "description": "An event that occurred, typically in response to a user.  See https://github.com/o19s/opensearch-ubi/blob/2.14.0/documentation/schemas.md abd https://github.com/o19s/opensearch-ubi/blob/2.14.0/src/main/resources/events-mapping.json for more info.",
  "type": "object",
  "required": ["query_id"],
  "properties": {
    "application": {
      "description": "name of the application tracking UBI events (e.g. _amazon-shop_, _ABC-microservice_)",
      "type": "string"
    },
    "query_id": {
      "$ref": "https://raw.githubusercontent.com/o19s/ubi/main/schema/query_id.schema.json#/definitions/query_id"
    }
  }
}

And I get an error:
{
    "exception": "CatalogError",
    "message": "A source is not available for \"https://raw.githubusercontent.com/o19s/ubi/main/schema/query_id.schema.json\""
}

is this due to limitions in the platform?  do most people not use the $ref with a url?

The jschon.dev website does not support remote references. For remote use cases, the jschon library does support remote references against base URLs (sources) that have been registered with the add_uri_source method on a Catalog instance. Requiring remote sources to be registered prevents loading from arbitrary remote locations, which is a security risk if schema content is untrusted.


Add support for secondary_allocation_ids on nat gateways

Is your request related to a new offering from AWS?
Is this functionality available in the [AWS provider for Terraform]
(https://registry.terraform.io/providers/hashicorp/aws/latest/docs)? See CHANGELOG.md, too.

No 🛑: please wait to file a request until the functionality is avaialble in the AWS provider
Yes ✅: please list the AWS provider version which introduced this functionality

Yes: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/nat_gateway#public-nat-with-secondary-private-ip-addresses
Is your request related to a problem? Please describe.

I need to add secondary public ips to my NAT gateways in order to scale my egress bandwidth.
https://aws.amazon.com/blogs/networking-and-content-delivery/attach-multiple-ips-to-a-nat-gateway-to-scale-your-egress-traffic-pattern/
Describe the solution you'd like.

Add an input variable, of type list where an user can enter an arbitrary number of secondary allocation ids, the list length should match the number of NAT devices selected by the user, each list element references 1 to 7 EIPs, similarly to the current input field: external_nat_ip_ids
A maximum of 8 IPs can be associated with each NAT gateway, 1 primary and 7 secondary ones.
Describe alternatives you've considered.

There are no alternatives as my NAT gateways and VPC are managed by this terraform module. Maybe adding a lifecycle ignore on the secondary_allocation_ids field of the VPC module?
Additional context

I've tried to add this capability as I have similar need, however I'm running into following issue:
│ Error: Provider produced inconsistent final plan
│
│ When expanding the plan for aws_nat_gateway.this[2] to include new values learned so far during apply, provider "registry.terraform.io/hashicorp/aws" produced an invalid new value for .association_id: was
│ known, but now unknown.
│
│ This is a bug in the provider, which should be reported in the provider's own issue tracker.

Could some of the maintainers take a look what might be wrong with this piece of code? Maybe there might be a better way to write this. When code is applied for the second time EIPs that have been created are also correctly associated with NAT Gateway.
Inputs:
variable "secondary_nat_ips" {
  description = "The number of secondary private IPv4 addresses assigned to NAT Gateways"
  type        = number
  default     = 0
}

main.tf
locals {
  nat_gateway_count         = var.single_nat_gateway ? 1 : var.one_nat_gateway_per_az ? length(var.azs) : local.max_subnet_length
  nat_gateway_ips           = var.reuse_nat_ips ? var.external_nat_ip_ids : try(aws_eip.nat[*].id, [])
  nat_gateway_secondary_ips = try(chunklist(aws_eip.nat_secondary[*].id, local.nat_gateway_count), [])
}

resource "aws_eip" "nat_secondary" {
  count = local.create_vpc && var.enable_nat_gateway && var.secondary_nat_ips > 0 ? local.nat_gateway_count * var.secondary_nat_ips : 0

  domain = "vpc"

  tags = merge(
    {
      "Name" = format(
        "${var.name}-%s-ext-%s",
        element(var.azs, var.single_nat_gateway ? 0 : count.index),
        floor(count.index / (var.single_nat_gateway ? 1 : length(var.azs))) + 1
      )
    },
    var.tags,
    var.nat_eip_tags,
  )

  depends_on = [aws_internet_gateway.this]
}

resource "aws_nat_gateway" "this" {
  count = local.create_vpc && var.enable_nat_gateway ? local.nat_gateway_count : 0

  allocation_id = element(
    local.nat_gateway_ips,
    var.single_nat_gateway ? 0 : count.index,
  )

  secondary_allocation_ids = [
    for id in local.nat_gateway_secondary_ips : element(id, count.index)
  ]
  // omitted for brevity
}

Thank you @pdrastil for the help. I just tried the implementation you provided on the fork, but i am getting another error too, when trying to update a NAT gateway that had already 1 public ip set as primary.
module.networking.module.vpc.aws_nat_gateway.this[0]: Still creating... [3m30s elapsed]
╷
│ Error: waiting for EC2 NAT Gateway (nat-0df5ec3ea661a14aa) create: unexpected state 'failed', wanted target 'available'. last error: Resource.AlreadyAssociated: Elastic IP address [eipalloc-0f95df00baa48f688] is already associated
│
│   with module.networking.module.vpc.aws_nat_gateway.this[0],
│   on .terraform/modules/networking.vpc/main.tf line 1080, in resource "aws_nat_gateway" "this":
│ 1080: resource "aws_nat_gateway" "this" {
│
╵

not sure if you have any idea about how to overcome this.

@darkxeno This might be related to issue in AWS provider I've bumped into. When testing the snippet I've posted I was hitting errors where provider didn't know if resource should be updated or replaced. To keep it simple I haven't proceed with the rest of implementation with providing custom IPs and left the fork for upstream so they can do the repro.

We really need this too, please prioritise it.
Thanks

We definetely need this as well.

We also need this. We added secondary IP address manually a while ago with hopes that module will support it.

No updates?

https://github.com/terraform-aws-modules/terraform-aws-vpc/pull/1109/files#r1823054641 - I did some testing and it seems this is not really supported in a nice way by the AWS provider.


[SPARK-31615][SQL] Pretty string output for sql method of RuntimeReplaceable expressions

What changes were proposed in this pull request?
The RuntimeReplaceable ones are runtime replaceable, thus, their original parameters are not going to be resolved to PrettyAttribute and remain debug style string if we directly implement their sql methods with their parameters' sql methods.
This PR is raised with suggestions by @maropu and @cloud-fan https://github.com/apache/spark/pull/28402/files#r417656589. In this PR, we re-implement the sql methods of  the RuntimeReplaceable ones with toPettySQL
Why are the changes needed?
Consistency of schema output between RuntimeReplaceable expressions and normal ones.
For example, date_format vs to_timestamp, before this PR, they output differently
Before
select date_format(timestamp '2019-10-06', 'yyyy-MM-dd uuuu')
struct<date_format(TIMESTAMP '2019-10-06 00:00:00', yyyy-MM-dd uuuu):string>

select to_timestamp("2019-10-06S10:11:12.12345", "yyyy-MM-dd'S'HH:mm:ss.SSSSSS")
struct<to_timestamp('2019-10-06S10:11:12.12345', 'yyyy-MM-dd\'S\'HH:mm:ss.SSSSSS'):timestamp>

After
select date_format(timestamp '2019-10-06', 'yyyy-MM-dd uuuu')
struct<date_format(TIMESTAMP '2019-10-06 00:00:00', yyyy-MM-dd uuuu):string>

select to_timestamp("2019-10-06T10:11:12'12", "yyyy-MM-dd'T'HH:mm:ss''SSSS")

struct<to_timestamp(2019-10-06T10:11:12'12, yyyy-MM-dd'T'HH:mm:ss''SSSS):timestamp>

Does this PR introduce any user-facing change?
Yes, the schema output style changed for the runtime replaceable expressions as shown in the above example
How was this patch tested?
regenerate all related tests

Test build #122122 has started for PR 28420 at commit c0fd2a6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26796/
Test PASSed.

Test build #122123 has started for PR 28420 at commit 3e66c25.

Test build #122122 has finished for PR 28420 at commit c0fd2a6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122122/
Test FAILed.

Test build #122123 has finished for PR 28420 at commit 3e66c25.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122123/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26814/
Test PASSed.

Test build #122142 has started for PR 28420 at commit 29c25b9.

Test build #122142 has finished for PR 28420 at commit 29c25b9.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122142/
Test FAILed.

I feel having the pretty functionality in RuntimeReplaceable is a bit intrusive. Dropping the idea above is okay, but I think we need a more general solution for getting pretty strings outside RuntimeReplaceable. WDYT? @cloud-fan

Test build #122160 has started for PR 28420 at commit f6bc861.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26832/
Test PASSed.

Test build #122160 has finished for PR 28420 at commit f6bc861.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122160/
Test FAILed.

Test build #122172 has started for PR 28420 at commit c42a283.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26844/
Test PASSed.

Test build #122172 has finished for PR 28420 at commit c42a283.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122172/
Test FAILed.

Test build #122176 has started for PR 28420 at commit 128ca14.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26848/
Test PASSed.

Test build #122176 has finished for PR 28420 at commit 128ca14.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122176/
Test FAILed.

Test build #122224 has started for PR 28420 at commit ac511ad.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26896/
Test PASSed.

Test build #122224 has finished for PR 28420 at commit ac511ad.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122224/
Test FAILed.

retest this please

Test build #122225 has started for PR 28420 at commit ac511ad.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26897/
Test PASSed.

Test build #122225 has finished for PR 28420 at commit ac511ad.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122225/
Test FAILed.

retest this please

Test build #122228 has started for PR 28420 at commit ac511ad.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26900/
Test PASSed.

Test build #122228 has finished for PR 28420 at commit ac511ad.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122228/
Test PASSed.

Test build #122315 has started for PR 28420 at commit e43d9ed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/26985/
Test PASSed.

Test build #122315 has finished for PR 28420 at commit e43d9ed.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122315/
Test PASSed.

Test build #122363 has started for PR 28420 at commit 5843ac6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27029/
Test PASSed.

Test build #122363 has finished for PR 28420 at commit 5843ac6.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122363/
Test FAILed.

retest this please

Test build #122375 has started for PR 28420 at commit 5843ac6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/27041/
Test PASSed.

Test build #122375 has finished for PR 28420 at commit 5843ac6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/122375/
Test PASSed.

We need to backport this into branch-2.4, too? I personally think printing debug info looks like a bug. @cloud-fan @dongjoon-hyun

It's a minor bug, but the diff is not small. Maybe master-only is good enough?

ok

Thanks! Merged to master.


DFS iterative and recursive java versions

Implemented iterative and recursive Depth First Search in Java with main program.

update readme

Done


docs(contributing): explain deploy previews

add some explanation to what happens when creating a PR, and show how to use the preview
Also fixed the image in there
see https://github.com/algolia/instantsearch.js/pull/2383

Thanks @Haroenv Can you also update the PR template :)

something like this is what you meant @bobylito ?

Perfect! Thanks


ratelimit bad responses

I'd like to create a middleware that limits the number of bad responses a client can generate per hour. For example, a failed auth attempt may generate HTTP 401. To combat password brute force attacks, it would be nice to only allow each client IP to make, for example, 10 per hour.
I've taken a look at the existing ratelimit plugin, however it seems that I would not be able to extend it using the method described in the doco under 'Programmatic rate limits' as the decision on whether to block or accept needs to be made by my plugin before the request is passed on.
I'd be interested to hear people's thoughts on how best to approach this. Can anyone point me to existing code that does a similar thing?

I actually spent some time thinking about the similar problem we have at Mailgun and discussed the possible solutions with peers at the office a while ago.
My suggestion is to implement a special plugin - fail2ban
fail2ban has two properties, pattern and action.

pattern is a metric-based patter to activate the action, similar to what we have in the circuit breaker:

http://docs.vulcand.io/proxy.html#circuit-breakers
The simple language would allow fail2ban to match suspicious errors by looking at the response code ratio, as in the example below, where we calculate the ratio of "unauthorizied" response codes  to all other response codes in a 10 second time window:
ResponseCodeRatio(401, 403, 0, 600) > 0.5

action would be able to specify the desired side-effect. One of the side effects I personally want to implement is a blocklist, that is backed to etcd backend, e.g.:

So we will block the client IP for 60 seconds to prevent brute-force attacks:
BlocklistUpsert(ClientIP(), "60s")
We should be able to block requests by IP, by URL, header and so on.


Retrieving samples of unconstrained variables

As I understand it, given a Turing Model, we can get a bijector, which transforms the potentially constrained variables in the model to some unconstrained latent space. Sampling takes place in this latent space, while samples are returned in a Chains object using the original constrained parameterization. Sometimes, it's easier to diagnose sampling issues by working with the variables in the latent space. It would be nice to have a way to, given a Model and corresponding Chains with samples of the constrained variables, get a new Chains that contains samples of the corresponding latent variables.
cc @cpfiffer

The sampling space is not a property of the Model and neither encoded nor known at this stage. This is defined by every sampler individually.

Yeah, but this issue speaks to the fact that we don't have a top-level understanding of when and where variables are transformed when they get to the user, which I think we should have.

Yes, I agree. Everytime I implement or fix something that uses these transformations I'm confused since it happens implicitly when indexing the VarInfo.

Therefore I am also curious when it is helpful for users to obtain the internally sampled values - you have to know the internals of your sampler to analyze them whereas samples in the original space are clearly interpretable by only knowing your model.

Also, it should def be possible to write a function which does what Seth wants. The following works on my end.
A couple of utility functions for creating VarInfo from a MCMCChains.Chains:
import Turing.DynamicPPL

# TODO: make generated for `TypedVarInfo`
function apply_varnames!(f!, vi::DynamicPPL.TypedVarInfo, spl::DynamicPPL.AbstractSampler)
    vns = DynamicPPL._getvns(vi, spl)
    for v in keys(vns)
        for vn in vns[v]
            f!(vi, vn)
        end
    end
end

function varinfo_from_chain!(vi::DynamicPPL.AbstractVarInfo, model, chain, sample_idx = 1, chain_idx = 1)
    # Update the parameters
    DynamicPPL.setval!(vi, chain, sample_idx, chain_idx)

    # Update the logjoint accordingly
    lp = first(chain[sample_idx, :lp, chain_idx])
    DynamicPPL.setlogp!(vi, lp)

    return vi
end

function varinfos_from_chain(model, chain, spl)
    vi_base = DynamicPPL.VarInfo(model, DynamicPPL.initialsampler(spl))

    return map(Iterators.product(1:size(chain, 1), 1:size(chain, 3))) do (sample_idx, chain_idx)
        vi = deepcopy(vi_base)
        return varinfo_from_chain!(vi, model, chain, sample_idx, chain_idx)
    end
end

Assuming the chain is already in constrained space, we can then retrieve the unconstrained chain as follows:
function unconstrain(chain::MCMCChains.Chains, model, spl)
    vis = map(varinfos_from_chain(model, chain, spl)) do vi
        # Transform parameters to unconstrained
        DynamicPPL.link!(vi, spl)

        # Make it so that `tonamedtuple` won't transform the variables
        # if we want to convert into a chain again.
        apply_varnames!(vi, spl) do vi, vn
            DynamicPPL.settrans!(vi, false, vn)
        end

        return vi
    end

    return reduce(
        MCMCChains.chainscat, [
            AbstractMCMC.bundle_samples(vis[:, chain_idx], model, spl, nothing, MCMCChains.Chains)
            for chain_idx in MCMCChains.chains(chain)
        ]
    )
end

Example:
@model function gdemo(xs)
    s ~ InverseGamma(2, 3)
    m ~ Normal(0, √s)
    for i in eachindex(xs)
        xs[i] ~ Normal(m, √s)
    end
end

m = gdemo(randn(100) .+ 1);
alg = NUTS(0.65)
c = sample(m, alg, 1000);
c

Chains MCMC chain (1000×14×1 Array{Float64,3}):

Iterations        = 1:1000
Thinning interval = 1
Chains            = 1
Samples per chain = 1000
parameters        = m, s
internals         = acceptance_rate, hamiltonian_energy, hamiltonian_energy_error, is_accept, log_density, lp, max_hamiltonian_energy_error, n_steps, nom_step_size, numerical_error, step_size, tree_depth

Summary Statistics
  parameters      mean       std   naive_se      mcse        ess      rhat
      Symbol   Float64   Float64    Float64   Float64    Float64   Float64

           m    0.9083    0.0959     0.0030    0.0039   893.4550    1.0015
           s    0.9205    0.1264     0.0040    0.0064   822.6878    0.9990

Quantiles
  parameters      2.5%     25.0%     50.0%     75.0%     97.5%
      Symbol   Float64   Float64   Float64   Float64   Float64

           m    0.7151    0.8442    0.9116    0.9717    1.1076
           s    0.7100    0.8298    0.9098    1.0026    1.2282

And
unconstrain(c, m, DynamicPPL.Sampler(alg))

Chains MCMC chain (1000×3×1 Array{Float64,3}):

Iterations        = 1:1000
Thinning interval = 1
Chains            = 1
Samples per chain = 1000
parameters        = m, s
internals         = lp

Summary Statistics
  parameters      mean       std   naive_se      mcse        ess      rhat
      Symbol   Float64   Float64    Float64   Float64    Float64   Float64

           m    0.9083    0.0959     0.0030    0.0039   893.4550    1.0015
           s   -0.0920    0.1356     0.0043    0.0069   832.0576    0.9990

Quantiles
  parameters      2.5%     25.0%     50.0%     75.0%     97.5%
      Symbol   Float64   Float64   Float64   Float64   Float64

           m    0.7151    0.8442    0.9116    0.9717    1.1076
           s   -0.3425   -0.1865   -0.0946    0.0026    0.2055

The final bit is just copying over the internal parameters to the new chain.

Close in favour of https://github.com/TuringLang/DynamicPPL.jl/issues/94 and https://github.com/TuringLang/DynamicPPL.jl/pull/347


How to clear Textfield in redux

Hi I am using redux, react-redux and Material-UI to build a form. Now, I kind of stuck in  the process of how to clear the text fields value after the form submit. Please help, thanks.
here is one of the components that I wrote
import TextField from 'material-ui/lib/text-field';
import {isMatchedPassword} from '../../../lib/util/inputsValidation.jsx';
import React, { Component, PropTypes } from 'react'

export class UserPasswordConfirmTextField extends Component{
  render(){
    const {floatingLabelText,confirmedPasswordError,onBlurTextfield,password}=this.props;
    return(
      <TextField
        floatingLabelText={floatingLabelText}
        type={"password"}
        disabled={!password}
        errorText={confirmedPasswordError}
        onBlur={(evt)=>{
          onBlurTextfield('confirmedPassword', evt.target.value,isMatchedPassword(password,evt.target.value), 'confirmedPasswordError')}
      } />
    )
  }
}

UserPasswordConfirmTextField.propTypes = {
  floatingLabelText: PropTypes.string.isRequired,
  confirmedPasswordError:PropTypes.string,
  password:PropTypes.string.isRequired,
  onBlurTextfield:PropTypes.func.isRequired
};

and the corresponding container
import {updateInput} from '../../actions.jsx';
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import {UserPasswordConfirmTextField} from './component.jsx'

function mapStateToProps(state,{floatingLabelText=""}) {
  const {registration}=state;
  const {password,confirmedPassword,confirmedPasswordError}=registration;
  return {
    password,
    confirmedPassword,
    confirmedPasswordError
  }
}

function mapDispatchToProps(dispatch) {
  return {
    onBlurTextfield:(label,value,evalFunc,errName)=>{
      dispatch(updateInput(label,value,evalFunc,errName))
    },
  }
}

export default connect(mapStateToProps, mapDispatchToProps)(UserPasswordConfirmTextField)

This is not linked to redux. You need to use a controlled TextField, use the value and onChange event.

Iam sorry, but I rather new to redux and react, can you please elaborate what you mean? Many thanks.

Have a look at https://github.com/callemall/material-ui/blob/master/docs/src/app/components/pages/components/TextField/ExampleControlled.jsx.

Thanks @oliviertassinari , but I've not quite figure out how to do that in my case yet, since the field reset state is depend on its parent. i did something like,
import {updateInput} from '../../actions.jsx';
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux'
import {UserPasswordConfirmTextField} from './component.jsx'

function mapStateToProps(state,{floatingLabelText=""}) {
  const {registration}=state;
  const {password,confirmedPassword,confirmedPasswordError,isFetching}=registration;
  return {
    password,
    isFetching,
    confirmedPassword,
    confirmedPasswordError
  }
}

function mapDispatchToProps(dispatch) {
  return {
    onBlurTextfield:(label,value,evalFunc,errName)=>{
      dispatch(updateInput(label,value,evalFunc,errName))
    },
  }
}

function mergeProps(stateProps, dispatchProps, ownProps) {
  return Object.assign({}, ownProps, {
    isReset:  (()=>{
                if (stateProps.isFetching)
                  return ''
              })(),
    password: stateProps.password,
    confirmedPassword:  stateProps.confirmedPassword,
    confirmedPasswordError: stateProps.confirmedPasswordError,
    onBlurTextfield:  (label,value,evalFunc,errName)=> dispatchProps.onBlurTextfield(label,value,evalFunc,errName)
  })
}

export default connect(mapStateToProps, mapDispatchToProps, mergeProps)(UserPasswordConfirmTextField)

and the component
import TextField from 'material-ui/lib/text-field';
import {isMatchedPassword} from '../../../lib/util/inputsValidation.jsx';
import React, { Component, PropTypes } from 'react'

export class UserPasswordConfirmTextField extends Component{
  render(){
    const {isReset,floatingLabelText,confirmedPasswordError,onBlurTextfield,password}=this.props;
    return(
      <TextField
        floatingLabelText={floatingLabelText}
        type={"password"}
        disabled={!password}
        errorText={confirmedPasswordError}
        onBlur={(evt)=>{
          onBlurTextfield('confirmedPassword', evt.target.value,isMatchedPassword(password,evt.target.value), 'confirmedPasswordError')}
      } />
    )
  }
}

UserPasswordConfirmTextField.propTypes = {
  floatingLabelText: PropTypes.string.isRequired,
  confirmedPasswordError:PropTypes.string,
  password:PropTypes.string.isRequired,
  onBlurTextfield:PropTypes.func.isRequired
};

this enables me to reset the field when the submit is pressed( the isFetching=true and its from the component's parent), but it will make the floatingLabelText overlap with the value. and it seems like a hack to me

@fortunebubble i think this issue can help you
https://github.com/rackt/redux/issues/699
Especially the last phrase

If you want to set values programmatically later in React's declarative manner, you'll have to make it a controlled input. In this case you'll have to provide always-up-to-date value as well as onChange that does something meaningful to change that value. Whether it calls setState or dispatches a Redux action is up to you. Redux Form is a nice project for making controlled forms easy with React and Redux, you might want to check it out.

Thanks @eks1985 , I will look into it.

@fortunebubble Have you found a solution. Can we close this issue?

@oliviertassinari , thanks for the follow up, the way I solve it is using the redux-form. I close the issue now


Error when using your boilerplate

When I delete all example code I'm getting the following error:

Cannot read tslint configuration - 'Failed to load d:\Coding\management-pannel\tslint.json: Invalid "extends" configuration value - could not require "tslint-microsoft-contrib/recommended". Review the Node lookup algorithm (https://nodejs.org/api/modules.html#modules_all_together) for the approximate method TSLint uses to find the referenced configuration file.'tslint(1)

Is this only on my side or is there sth. broken?
//Edit: Even with the vanilla boilerplate I'm getting this error

Where or how you are getting this error message? You should not use TSLint as it is deprecated and replaced with ESLint. All TSLint functionality was removed from this repository in https://github.com/jsynowiec/node-typescript-boilerplate/commit/fb26003feaaf91a537a2cfebdcafd60e4f5259d0 I have now also removed the leftover tslint.json file that was missed.
Just run npm run lint or eslint . --ext .ts,.tsx from the project's directory.

Closing due to inactivity.

Sry 4 answering late.
It looks like I had an old version which was before fb26003. No errors as of today, thx <3


Nativescript Vue.JS use

Has anyone had any luck getting this working with VueJS?

Yes, I have a working version.
Example:
import { ImageCacheIt } from "nativescript-image-cache-it/image-cache-it.ios";

Vue.registerElement('ImageCacheIt', () => ImageCacheIt);

But at the moment, I only use IOS. Maybe you can import the module without the image-cache-it.ios suffix to make it work for Android & IOS.

import ImageCacheIt from 'nativescript-image-cache-it/vue'
Vue.use(ImageCacheIt)


Terragrunt does not override dependency blocks following _envcommon pattern

I have this block in my _envcommon for eks-core-services
dependency "aurora" {
  config_path = "${get_terragrunt_dir()}/../../data-stores/aurora"

  mock_outputs = {
    primary_endpoint = "database"
    port             = 5432
  }
  mock_outputs_allowed_terraform_commands = ["validate", ]
}

I need to override this in my eks-core-services/terragrunt.hcl to point to a different location in my Reference Architecture, config_path = "${get_terragrunt_dir()}/../../data-stores/aurora-legacy":
terraform {
  source = "${include.envcommon.locals.source_base_url}?ref=v0.91.0"
}

dependency "aurora" {
  config_path = "${get_terragrunt_dir()}/../../data-stores/aurora-legacy"

  mock_outputs = {
    primary_endpoint = "database"
    port             = 5432
  }
  mock_outputs_allowed_terraform_commands = ["validate", ]
}

# Include the root `terragrunt.hcl` configuration, which has settings common across all environments & components.
include "root" {
  path = find_in_parent_folders()
}

# Include the component configuration, which has settings that are common for the component across all environments
include "envcommon" {
  path = "${dirname(find_in_parent_folders())}/_envcommon/services/eks-core-services.hcl"
  # We want to reference the variables from the included config in this configuration, so we expose it.
  expose = true
}

However, this configuration does not work, and Terragrunt still searches for the original dependency.

We're having the same issue, but only for a particular environment. Elsewhere the dependency override works fine. I haven't been able to determine what is different. Using terragrunt 0.32.3.

hit the same issue, the only way to override the dependency path is to use merge strategy = "deep" but then I get a lot of stuff that I don't want to get ...

Hi @Tomasz-Kluczkowski,
I am facing similar issue when trying to override config_path in the dependency block and while troubleshooting I found your merge_strategy sugesstion, but even after using merge_strategy as deep I am not able to override the config_path.
Is there any specific version of terragrunt from which the override functionality was enabled with the deep merge strategy?
It will be very helpful if you can suggest something as I have a lot of use cases for this and currently as a workaround, I hvae to replicate the whole parent file just because of dependencies.

@Tomasz-Kluczkowski Thanks for sharing the example. I figured out why I was getting the error even after using merge_strategy = "deep, I was using expose = true as well in the include block and it seems to be the case that if expose is set to true then terragrunt doesn't overrides the parent dependencies.
Have removed the expose pararmeter now and it is working as expected.

Apparently the dependency block is getting a special treatment when using the deep merge strategy, where a dependency can be referenced in both directions: parent -> child, child -> parent.
I bet this is why expose isn't behaving as expected.


Implement config usable across sass, js and templating

Problem / Motivation
As a developer working on or implementing the Libero frontend, I want a single source of truth for common properties used across different parts of the codebase, in order to make it easier to maintain and reason about.
Proposed solution

Use a json config object to populate respective sass & js configurations at build time.
Start with breakpoints for PoC as these are likely used in js as well as sass.
Extend as necessary.

Tasks

[ ] Decide on a config format.
[ ] Incorporate config data into sass.
[ ] Incorporate config data into PoC js.
[ ] Automate incorporation into sass & js via build pipeline.

Initial stab at something at https://github.com/libero/patterns-core/pull/17

Unchecked the checklist items as reevaluated approach means this needs to be done in a more loosely coupled fashion.


Using this as a lib or not launching via python script

This may be too early in the project for this to be viable, but I'm trying to see how to start either using this as a lib or using the code in this lib without having to call the python scripts.
I'm using leiningen which might not be the best way to do this.
Here's the code which I'm going to try and see if I can get working =)...
%  lein trampoline repl
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were deprecated in JDK 13 and will likely be removed in a future release.
Compiling 9 source files to ~/Code/clojure/fruit-economy/target/classes
~/Code/clojure/fruit-economy/src/java/module-info.java:4: error: module not found: lombok
    requires static lombok;
                    ^
~/Code/clojure/fruit-economy/src/java/module-info.java:5: error: module not found: org.jetbrains.annotations
    requires static org.jetbrains.annotations;
                                 ^
~/Code/clojure/fruit-economy/src/java/module-info.java:6: error: module not found: clojure
    requires clojure;
             ^
3 errors
Compilation of Java sources(lein javac) failed.

Not quite sure what part of the python script I'm missing, hopefully will have a chance this weekend to dig in and find out. Pretty excited about this.

Sorry about that. Eventually I tend to forgot how painful it is to host java sources along with clojure sources and attempt it again.
I did a little bit of reorganization. All java parts have moved to io.github.humbleui:types:0.1.2:clojure. This repo is now Clojure-only. This should make including it as a dependency much easier.
For tools.deps this seem to work: io.github.humbleui/humbleui {:git/sha "7db69df04963a6112837c2f5f8731e58f00bfac3"}
For Lein, you might now build a jar by using ./script/package.py and depend on that. Eventually a jar built exactly that way will end up on Clojars, but for now I think it’s too early for that.
Does that work for you? Let me know! I can adjust more things if needed.

Thanks! I've updated the linked project =)...
I've used lein-git-down to get the specific git hash, so that's fine, it still seems I need to still import jwm skija-shared, plus all the skija os specific libs, which is no hardship, but useful to know.
The weird thing is that unlike when I run your python script version, running it via leinigen just seems to make it not work, not sure why yet as you can see -XstartOnFirstThread is there so it really shouldn't be terminating due to NSWindow drag regions should only be invalidated on the Main Thread!...
Starting nREPL server...
/Library/Java/JavaVirtualMachines/openjdk.jdk/Contents/Home/bin/java -Dfile.encoding=UTF-8 -XstartOnFirstThread -XstartOnFirstThread -Dclojure.compile.path=~/Code/clojure/fruit-economy/target/classes -Dfruit-economy.version=0.1.0-SNAPSHOT -Dclojure.debug=false "-javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=57360:/Applications/IntelliJ IDEA.app/Contents/bin" -classpath ~/Code/clojure/fruit-economy/test:~/Code/clojure/fruit-economy/dev:~/Code/clojure/fruit-economy/src:~/Code/clojure/fruit-economy/resources:~/Code/clojure/fruit-economy/target/classes:~/.m2/repository/io/github/humbleui/skija-macos-arm64/0.98.0/skija-macos-arm64-0.98.0.jar:~/.m2/repository/nrepl/nrepl/0.9.0/nrepl-0.9.0.jar:~/.m2/repository/io/github/humbleui/skija-macos-x64/0.98.0/skija-macos-x64-0.98.0.jar:~/.m2/repository/io/github/humbleui/skija-windows/0.98.0/skija-windows-0.98.0.jar:~/.m2/repository/io/github/humbleui/skija-linux/0.98.0/skija-linux-0.98.0.jar:~/.m2/repository/org/clojure/clojure/1.11.0-alpha3/clojure-1.11.0-alpha3.jar:~/.m2/repository/org/clojure/core.specs.alpha/0.2.62/core.specs.alpha-0.2.62.jar:~/.m2/repository/org/clojure/spec.alpha/0.2.194/spec.alpha-0.2.194.jar:~/.m2/repository/io/github/humbleui/types/0.1.2/types-0.1.2.jar:~/.m2/repository/humbleui/humbleui/7db69df04963a6112837c2f5f8731e58f00bfac3/humbleui-7db69df04963a6112837c2f5f8731e58f00bfac3.jar:~/.m2/repository/io/github/humbleui/jwm/0.3.1/jwm-0.3.1.jar:~/.m2/repository/io/github/humbleui/skija-shared/0.98.0/skija-shared-0.98.0.jar clojure.main -i /private/var/folders/77/2pz9tf451x962w3371g_xhg40000gn/T/form-init10275749412739895747.clj
Reflection warning, io/github/humbleui/ui.clj:259:5 - call to method drawRect on java.lang.Object can't be resolved (no such method).
Error loading complete.core: Could not locate complete/core__init.class, complete/core.clj or complete/core.cljc on classpath.
Connecting to local nREPL server...
Clojure 1.11.0-alpha3
nREPL server started on port 57362 on host <IP_ADDRESS> - nrepl://<IP_ADDRESS>:57362
1
=> 1
(-main)
nREPL server started on port 57373 on host localhost - nrepl://localhost:57373
2022-01-14 12:37:01.165 java[70185:3940439] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
*** First throw call stack:
(
	0   CoreFoundation                      0x00007fff37fe84d7 __exceptionPreprocess + 250
	1   libobjc.A.dylib                     0x00007fff70a2b5bf objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff38010cbc -[NSException raise] + 9
	3   AppKit                              0x00007fff3520dc1c -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 310
	4   AppKit                              0x00007fff351f5682 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1416
	5   AppKit                              0x00007fff351f50f3 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
	6   libjwm_x64.dylib                    0x000000010a3b61b7 _ZN3jwm9WindowMac4initEv + 263
	7   libjwm_x64.dylib                    0x000000010a3b663a Java_io_github_humbleui_jwm_WindowMac__1nMake + 138
	8   ???                                 0x0000000112f6a53a 0x0 +<PHONE_NUMBER>
)
libc++abi.dylib: terminating with uncaught exception of type NSException

Process finished with exit code 134 (interrupted by signal 6: SIGABRT)

My mistake, worked out how to handle that $ difference in deps, so learned something new today =)...

it still seems I need to still import jwm skija-shared, plus all the skija os specific libs, which is no hardship, but useful to know.

Interesting! These dependencies are supposed to be transitive (see deps.edn). lein-git-down claims to support this format, did it not work?

Also not sure if this makes a difference, but I imported io.github.humbleui/types instead of io.github.humbleui/types$clojure as the latter was not available.

It should, actually. io.github.humbleui/types$clojure is tool.deps way of saying 0.1.2-clojure (classifer, in Maven terms)

running it via leinigen just seems to make it not work

So here’s the deal. macOS is very strict about only doing UI stuff from first thread. That means you can’t run nREPL and start app from there. What you can is call -main that spawns nREPL in separate thread and then call (hui/init) (hui/start) on the original one and block forever. See how https://github.com/HumbleUI/HumbleUI/blob/7db69df04963a6112837c2f5f8731e58f00bfac3/dev/user.clj#L132-L136 is structured
Another gotcha with lein is that it starts your app from its own JVM (or something like that), so make sure to run lein trampoline run instead of just lein run.
Also, don’t forget -XstartOnFirstThread, otherwise JVM itself won’t behave.
 It’s much more forgiving on Windows/Linux, but on macOS it is what it is.
Let me know if this helps.

It blows up for me too. I’ll investigate

Perfect, works as suggested, thanks!
A question, what sorts of things are in / out of scope for this?
I'm happy to create issues as I run into things, but I don't want to just produce noise.
My current goal is to try creating a game interface, basically mix some canvas with UI controls, so I can get something akin to a display area, buttons / controls on the left or right, with some space for status info at the top / bottom of the screen.
So something similar to an intellij window, except instead of the main UI being a text editor, instead rendering some 2d stuff...

Should be okay. It’s very early though, we barely have any widgets yet

That's ok, glad to hear that what I'm trying to do is not out of scope, I'll try and see how far I get by adding them myself...
I'm planning on using the repo linked to this project as a bit of a test-bed to see what's workable...


No log for extra verbose tasks

SUMMARY
Logging produced by these tasks may break the DCI GUI.
ISSUE TYPE

Bug, Docs Fix, or other nominal change

Tests

[x] TestBos2: acm-hub -  https://www.distributed-ci.io/jobs/a527c9fb-452e-49aa-a67b-d437a7652c56/jobStates

Test-Hints: no-check

retest


[Bug]: SNS Topics Not Creating

Is there an existing issue for this?

[X] I have searched the existing issues

Affected Resource(s)
sns.aws.upbound.io/v1beta1
Resource MRs required to reproduce the bug
apiVersion: sns.aws.upbound.io/v1beta1
kind: Topic
metadata:
  labels:
    testing.upbound.io/example-name: sns
  name: example
spec:
  forProvider:
    region: us-west-1

Steps to Reproduce
Apply the above manifest with the below versions
What happened?
Resource fails to create due to an invalid parameter
Relevant Error Output Snippet
Warning  CannotObserveExternalResource  13m                   managed/sns.aws.upbound.io/v1beta1, kind=topic  failed to observe the resource: [{0 reading SNS Topic (arn:aws:sns:<no value>:xxxxx:example): operation error SNS: GetTopicAttributes, https response error StatusCode: 400, RequestID: 6af5cf45-fe35-5c0e-8e20-912ba24ff906, InvalidParameter: Invalid parameter: TopicArn Reason: A <no value> ARN must begin with arn:null, not arn:aws:sns:<no value>:xxxxx:example  []}]

### Crossplane Version

1.15.0

### Provider Version

v1.2.0

### Kubernetes Version

1.27

### Kubernetes Distribution

EKS

### Additional Info

_No response_

I can reproduce the issue on main. The SNS Topic resource works as expected in v1.1.1, so this is a regression in v1.2.0.
It looks like something changed that affected the way we parse the region out of the config in TemplatedStringAsIdentifier external name configs that are building ARNs through string interpolation. This likely affects roughly 30 resource kinds that use this type of external name config.
@turkenf We're going to need a v1.2.1 to fix this.

@erhancagirici I'm not sure, but I think #1204 might have been the cause of this regression.

@bgould-careplanner thanks for reporting and @mbbush thanks for checking. The problem is indeed at #1204 side. I'll send a fix very soon.
The reason is we switched to native TF SDK config and setup.Configuration became obsolete, however as you mentioned, some external name configs with TemplatedStringAsIdentifier  use setup.Configuration to get the region parameter.
Since the value is not available anymore, the constructed external name is wrong.
I've checked other usages of setup.configuration and there are 25 of them. All of them retrieve region parameter only. Adding back region will suffice to fix the issue.


Demo: home screen transaction list

Implement the transaction list section. Refer to the screenshot.

Design:
https://www.figma.com/file/rd8upWhFjqFRaX4hKTTOh3/leeway?type=design&node-id=1091-4390&t=aPSNVMiGbtDiXkhY-4

Do i have to add the text inside these cards or the cards alone?

Do i have to add the text inside these cards or the cards alone?

Yes, you should add the texts, for now you can put some dummy data.
@Adhithyarajan Please mention the relevant members or the core team when asking questions about the issue otherwise we won't get notified.


How to learn the pose regression Model?

I want to get the pose regression model.
So, I'll construct to the dataset.
What dataset did you use to make your pose regression model?
DeepFluoro Dataset?

I would appreciate it if you could answer the part that can be answered.
Thank you.

HI @ryukyungjoon, to train on the DeepFluoro dataset, see here: https://github.com/eigenvivek/DiffPose/blob/main/experiments/deepfluoro/train.py
Make sure you've installed diffdrr==0.3.9.

Thank you for your quick response.
After the training is completed, should the model be evaluated as evaluate.py or register.py ? What is the difference between the results of the two codes?
When I looked at the code, it seems that both codes use Deepfluoro, the dataset that we used in the force regression model.
In order to evaluate it as a custom dataset, I would appreciate it if you could tell me as much as possible how the custom dataset should be constructed.

register.py! This runs the test-time optimization in the paper. evaluate.py runs only the network on the DeepFluoro dataset.
Setting this up for your own custom dataset is currently not easy :) You would have to write a torch dataloader for your dataset, then rewrite train.py and register.py to work with your dataset.
Creating a simple interface for training your own DiffPose model from scratch is on the todo list for version 2! ETA on that is ~1 month.

그렇군요.
당신의 논문에서 내가 이해한 바로는, 골반 학습 모델로 신경혈관 테스트 역시 성공적인것으로 확인했습니다.
custom 데이터 셋으로 학습이 어렵다면, 당신이 구현한 pelvic 학습 코드로 pelvic 모델을 만들고, custom 데이터 셋으로 evaluate 및 registration을 수행하고 싶다.
evaluate와 registration을 수행하는데에도 꼭 train.py까지 수정해서 재학습을 해야하나요?
custom 데이터셋에서 test에 필요한 파라미터를 입력으로 주는 방식을 사용할 수는 없는지 궁금합니다.

Right.
As far as I understood in your paper, we also confirmed that neurovascular testing was successful with a pelvic learning model.
If it is difficult to learn with a custom data set, I would like to create a pervic model with the pervic learning code you implemented, and perform evaluation and registration with the custom data set.
Do I have to correct it to train.py and relearn it even if I perform evaluation and registration?
I wonder if it is possible to use the method of giving the parameters required for test as input in the custom dataset.

No that's not quite right. A new model was trained for the neurovascular dataset (that code is here: https://github.com/eigenvivek/DiffPose/tree/main/experiments/ljubljana). Basically, for a new anatomical structure, you have to train a new model.

That's right.
I got it wrong. When I checked the answer and looked at the contents of the paper again, it was that the model made by changing only the dataset without changing the hyperparameters of the model showed good performance.
If so, I understand that it is common to use datasets that have not been used for training when evaluating the learned model, but did the evaluation proceed with the deepfluoro used for training?

The setup for DiffPose is like this:

You get a preoperative CT from a patient (i.e., a 3D volume). You generate synthetic X-rays from that patient and train a model with the synthetic data.
You evaluate the model using real X-rays from the same patient.

You can totally try using a model that was trained on one patient and evaluating it on X-rays from another. In fact, I think that's an interesting future application of DiffPose. However, while the model need not be trained and evaluated on the same patient, it should be trained and evaluated on the same anatomy.

Closing for now, please feel free to reopen if you have more questions


Unable to include ng-table as webpack doesn't seem to like it

If I add ng-table to a bare project, I'm getting what appears to be a webpack error.
added to package.json
"ng-table": "~0.5.4"

and to app.js:
import ngTable from 'ng-table';

Results in the following error when running gulp:
➜  NG6-starter git:(master) ✗ gulp
[09:28:43] Requiring external module babel-core/register
[09:28:44] Using gulpfile ~/Desktop/NG6-starter/gulpfile.babel.js
[09:28:44] Starting 'serve'...
[09:28:45] Finished 'serve' after 352 ms
[09:28:45] Starting 'default'...
[09:28:45] Finished 'default' after 10 μs
[BS] Access URLs:
 ----------------------------------
       Local: http://localhost:3002
    External: http://<IP_ADDRESS>:3002
 ----------------------------------
          UI: http://localhost:3003
 UI External: http://<IP_ADDRESS>:3003
 ----------------------------------
[BS] Serving files from: client
webpack built b533ac39e89802b7de9b in 3080ms
Hash: b533ac39e89802b7de9b
Version: webpack 1.12.13
Time: 3080ms
               Asset     Size  Chunks             Chunk Names
       app.bundle.js  20.8 kB       0  [emitted]  app
    vendor.bundle.js  1.39 MB       1  [emitted]  vendor
   app.bundle.js.map  25.3 kB       0  [emitted]  app
vendor.bundle.js.map  1.61 MB       1  [emitted]  vendor
          index.html  1.27 kB          [emitted]

ERROR in ./client/app/app.js
Module not found: Error: Cannot resolve module 'ng-table' in /Users/kinabalu/Desktop/NG6-starter/client/app
 @ ./client/app/app.js 13:15-34
webpack: bundle is now VALID.

And when visiting the site, nothing shows because of a module load error:
Uncaught Error: Cannot find module "ng-table"
angular.js:4526Uncaught Error: [$injector:modulerr] Failed to instantiate module app due to:
Error: [$injector:nomod] Module 'app' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.5.0/$injector/nomod?p0=app
    at http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:1195:13
    at http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:3142:18
    at ensure (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:3066:39)
    at module (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:3140:15)
    at http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:5630:23
    at forEach (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:1448:21)
    at loadModules (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:5614:6)
    at createInjector (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:5536:20)
    at doBootstrap (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:2818:21)
    at bootstrap (http://localhost:3002/vendor.bundle.js?b533ac39e89802b7de9b:2839:13)
http://errors.angularjs.org/1.5.0/$injector/modulerr?p0=app&p1=Error%3A%20%…F%2Flocalhost%3A3002%2Fvendor.bundle.js%3Fb533ac39e89802b7de9b%3A2839%3A13)

Is there a way to modify the webpack.config.js so that it's okay with ng-table?  Thanks!

Checked.
The reason is than you have ng-table v0.5.4 installed. And package.json of this package includesmain section only since v0.5.5.
Event more, there is already -0.6, 0.7, 0.8 and event 1.0 release since then. Don't know why  it doesn't published to NPM. Check this issue for details.
Right now you can just install it via github directly.


Update windows-11-support-azure-virtual-machines.md

Remove expander
Pull request guidance
Thank you for submitting your contribution to our support content! Our team works closely with subject matter experts in CSS and PMs in the product group to review all content requests to ensure technical accuracy and the best customer experience. This process can sometimes take one or more days, so we greatly appreciate your patience.
We also need your help in order to process your request as soon as possible:

We won't act on your pull request (PR) until you type "#sign-off" in a new comment in your pull request (PR) to indicate that your changes are complete.

After you sign off in your PR, the article will be tech reviewed by the PM or SME if it has more than minor changes. Once the article is approved, it will undergo a final editing pass before being merged.

A private PR for this task is now published:
Update windows-11-support-azure-virtual-machines.md
Please cancel and close this PR. Thank you!


OAuth support should take into account CAS services definition

Closes #1697

That's fine with me. Sure. It's evident that we have to think through this a bit more so ,+1 on the merge assuming build failures are not related.

Looks like Travis is happy with the changes. Shall we proceed?

Yes. Merging...

I think I might have a simple solution for the issue discussed here on this thread. Going to prototype some more once we are done with oidc.


add release note for v1.2.2

Some bugs are fixed.
Now support gpt-3.5-turbo.
The Bot now replys in Markdown style.

Finished


Web site stoped syncing

Hi
Sorry to bother you but I really like your website, your information is so much better then the vcpkg.io
But after coming back from vacation, I noticed that the web site stopped syncing.
Might be that Github stopped running you actions, since there has not been any pushes for a while. and that might be since
your port file validator fails to parse https://github.com/microsoft/vcpkg/blob/master/ports/shader-slang/portfile.cmake
it has some #[[ comment ]] and [[ long arg ]] stuff at the end that might mess it up I guess. Maybe you can just disable the validation step for that? Or do you extract info from that file?
Any way, it would be really sad if the site stopped working. Im would be willing to help if possible, but Im a C++ dev mostly...

Thanks for catching that! The parser didn't support block comments within arguments, and I had initially relied on the official CMake website, which turned out to be a bit misleading.
I was too lazy to leave it - I've fixed it and it should be good to go for a while.


harmony support : feature request

Node can use --harmony
so the generate.js file can use es6.

Closing it, since Node 0.4.x comes now with a lot of es6(2015) features.

Actually node has no support of all features even with --harmony flag.
Using es6 with node (for example in json-server) could be like this:
babel-node node_modules/.bin/json-server --watch src/server/index.js.
Check this out http://www.2ality.com/2015/03/babel-on-node.html
Maybe I do not completely understand the problem. But this script stops --watch mode and the terminal is not updated whenever you make changes within the server.


Collision detection needs to handle boundingBox and offset properly

note to self: boundingBox is too large vertically for some reason


Microsoft Safety Scanner shows different results than Test-ProxyLogon.ps1

Describe the issue
I ran Test-ProxyLogon.ps1 it showed that my machine was impacted by the 0day CVEs.
I ran MSERT and it reported nothing on a full scan.
Expected behavior
I would expect that both of them would show IOCs or neither of them would show IOCs.
How is anyone supposed to know what is going on if two tools from the same company gives two different results?

Test-ProxyLogon.ps1 and MSERT scan for two different things. They are not expected to show the same results. Please refer to the blog post for details.

Quote the blog post to me one more time.
On Sat, Mar 6, 2021, 11:51 PM Bill Long<EMAIL_ADDRESS>wrote:

Closed #109 https://github.com/microsoft/CSS-Exchange/issues/109.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/CSS-Exchange/issues/109#event-4417645174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7FNQTM4RXUTTGGOOOQO5TTCMA4LANCNFSM4YXOOVPQ
.

I honestly cannot believe how casual and dismissive you guys at MS are.
 The hubris. I understand it must really difficult to do your job as
a $1.75T company but can you try?
Make some sort of effort. Please? Anything?
On Sun, Mar 7, 2021, 12:14 AM Drew<EMAIL_ADDRESS>wrote:

Quote the blog post to me one more time.
On Sat, Mar 6, 2021, 11:51 PM Bill Long<EMAIL_ADDRESS>wrote:

Closed #109 https://github.com/microsoft/CSS-Exchange/issues/109.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/CSS-Exchange/issues/109#event-4417645174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD7FNQTM4RXUTTGGOOOQO5TTCMA4LANCNFSM4YXOOVPQ
.


Endpoint delete api/messages

Description
Please provide a short summary explaining what this PR is about.
added the Endpoint: DELETE api/messages.
Fixes # (issue)
How to test?
Please provide a short summary how your changes can be tested?
Checklist

[x ] I have performed a self-review of my own code
[x ] I have commented my code, particularly in hard-to-understand areas
[x ] I have made corresponding changes to the documentation
[x ] This PR is ready to be merged and not breaking any other functionality

I would remove changes to package.json and package-lock.json as well as the changes to the create method. Then the PR is complete.


Update TCRD / DrugCentral version

TCRD has rearranged their source locations - they may now be found at
http://juniper.health.unm.edu/tcrd/download/ (for TDLs and ID mappings)
and at
https://unmtid-shinyapps.net/download/DrugCentral/2021_09_01/ (for DrugCentral drug-target interactions)
May be a worthwhile update to incorporate more recent interactions.

Closed by #443


add NPR All Songs Considered poll makefile to examples

We should add this, and possibly other makefiles by outside groups to our list of examples
repo: https://github.com/nprapps/allsongsconsidered-poll/
blog post: http://blog.apps.npr.org/2018/01/03/all-songs-considered-poll.html

We should add this from Eads, as well! https://github.com/propublica/ilcampaigncash


Fix create partitioned topic with a substring of an existing topic name.

Fixes #6468
Motivation
Fix create a partitioned topic with a substring of an existing topic name. And make create partitioned topic async.
Verifying this change
Added unit test for this change.
Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (no)
The public API: (no)
The schema: (no)
The default values of configurations: (no)
The wire protocol: (no)
The rest endpoints: (no)
The admin cli options: (no)
Anything that affects deployment: (no)

Documentation

Does this pull request introduce a new feature? (no)

@sijie I have addressed your comments, please take a look.

cherry-picked into branch-2.5


esp-as-lib with CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=y doesn't build (IDFGH-4444)

Environment

Development Kit:      ESP32-Wrover-Kit
Kit version WroverKit: v4
Module or chip used:  ESP32-WROOM-32D
IDF version (run git describe --tags to find it):
v4.3-dev-2136-gb0150615d
Build System:        cmake (idf-as-lib)
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System:     macOS
(Windows only) environment type: [MSYS2 mingw32|ESP Command Prompt|Plain Command Prompt|PowerShell].
Using an IDE?: No
Power Supply:         USB

Problem Description
Using idf-as-lib build method, enabling CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=y causes an undefined reference to `esp_gdbstub_panic_handler' during linkage of esp_system
Expected Behavior
esp_system should link with esp_gdbstub when this flag is set (manually updating esp_system to include this dep 'fixes' the problem)
Actual Behavior
esp_system doesn't link with esp_gdbstub causing undefined reference
Steps to reproduce

step1
clone esp-idf
build examples/build_system/cmake/idf_as_lib according to README.md (this should work)
change ESP System settings to use CONFIG_ESP_SYSTEM_PANIC_GDBSTUB=y
build again, this will fail with the undefined reference described above

Debug Logs
l  -u pthread_include_pthread_cond_impl  -u pthread_include_pthread_local_storage_impl  -u vfs_include_syscalls_impl  -L /Users/meros/git/above/ahhbe-fw-esp32/external/esp-idf/components/esp_wifi/lib/esp32 && :
/Volumes/git/above/ahhbe-fw-esp32/external/espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/esp_system/libesp_system.a(panic.c.obj):(.literal.esp_panic_handler+0x30): undefined reference to `esp_gdbstub_panic_handler'
/Volumes/git/above/ahhbe-fw-esp32/external/espressif/tools/xtensa-esp32-elf/esp-2020r3-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld: esp-idf/esp_system/libesp_system.a(panic.c.obj): in function `esp_panic_handler':
/Users/meros/git/above/ahhbe-fw-esp32/external/esp-idf/components/esp_system/panic.c:287: undefined reference to `esp_gdbstub_panic_handler'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.

Other items if possible
sdkconfig.zip

Thanks for the report and letting us know, we will look into.

Hi @meros, incidentally, there is a pending MR that solves this. This should be in the public repo in the coming days.


[New Feature]: Implement stream-receive-action remaning compiler phases

Description
$subject. Changes have been made to the parser at the moment.

Since the Eggplant is not gonna use the worker approach, it was concluded to park this feature.

Closing the issue as this will not be required soon.


Detect when the open hex file has changed, and offer to reflash

Inspired by Notepad++

A bit of research suggests that this npm module is the way to do it.

What form do you envision the offer taking?

What do you think of this? The button changes depending on if a device is detected.

The OK button should say cancel, or the second sentence should be removed from the prompt.

I think it would also be good if the window came to the foreground when this happens.

The wording is good, and the behavior seems good. I think on OS X it should be a drawer that slides out from under the window, and I think you get this for free if you're using the JS window.confirm. I'm not sure what node alternatives there are that would have a similar effect, but that'd be worth tracking down.

Good point about macOS. Unfortunately, a quick Google search says that you can't customize the button text if you use the built in js function. I'll have to see if there's a library or something that calls the Mac API directly.

Re: coming to the foreground, I could see this being disliked by a vocal minority, liked by a minority, and being indifferent otherwise. Perhaps we need to offer it as a preference if we implement it?

What do you get when you run this code in the developer tools console on Mac? (Cmd+Shift+i to open it I think) Does it do the pop-down thing?
dialog.showMessageBox({ type: "info", buttons: [], message: "Hello world", });

Nevermind, this is from the Electron docs

Sheets

On macOS, dialogs are presented as sheets attached to a window if you provide a BrowserWindow reference in the browserWindow parameter, or modals if no window is provided.
You can call BrowserWindow.getCurrentWindow().setSheetOffset(offset) to change the offset from the window frame where sheets are attached.

The problem with electron's dialog object though, is that you can't change the button text after bringing up the prompt. The library used in the screenshot, Bootbox, makes use of Boostrap modals, and you can change the button text after the dialog is displayed.

Do we need to change the text after bringing up the prompt, or can we live with not being able to change the button if they press reset after the dialog is shown?
Thinking about other directions that may sidestep this issue, what if we wrote to the status window instead? A message there could prompt the user to flash. Alternatively, we could use an overlay to draw an arrow pointing at the flash button with a message saying, "the hex file has changed, click that to flash"

If it's a choice between buttons that accurately reflect the current state and feel correct within the context of the app, or buttons that show stale data but fit in a bit more nicely with the OS, I'm going to choose the former. My opinion is that stale data can hurt usability far more than an incorrectly-styled alert box.
With the main use case I'm thinking of here, bring-to-front is a vital component. If we're going to have bring-to-front, it should be very obvious why that's happening.
Writing to the status window would be too subtle, and overlays like that are usually used in tutorials. I feel like it would be hard to make the overlay option feel "right", especially for explaining why a window just popped into the foreground. I'm open to that option if you can provide a convincing demo though.
Alerts are really the right choice to say "ignore everything else and look here". I wish we could easily pull up the native Mac dialog in a way that lets us update the buttons, but it's not like using the bootbox dialog will confuse any Mac users, right?
As a side note, it should technically be possible to write a node addon that will let you call the native Mac API, which, as I confirmed through a quick test in a Swift playground, will let you create sheets and then modify the button text. That's going to probably be a bit of a hassle though.


Fixing users profile label that displays whether the user is participating in the research study.

Fixing users profile label that displays whether the user is participating in the research study.

r=me.


Installation error: Command "python setup.py egg_info" failed with error code 1

Encountering this installation error on macOS Sierra:
Stians-Mac-mini:~ stian$ brew install homebrew/fuse/gitfs
==> Installing gitfs from homebrew/fuse
==> Using the sandbox
==> Downloading https://github.com/PressLabs/gitfs/archive/<IP_ADDRESS>.tar.gz
Already downloaded: /Users/stian/Library/Caches/Homebrew/gitfs-<IP_ADDRESS>.tar.gz
==> Downloading https://files.pythonhosted.org/packages/5c/79/5dae7494b9f5ed061cff9a8ab8d6e1f02db352f3facf907d9eb614fb80e9/virtualenv-15.0.2.tar.gz
Already downloaded: /Users/stian/Library/Caches/Homebrew/gitfs--homebrew-virtualenv-15.0.2.tar.gz
==> python -c import setuptools... --no-user-cfg install --prefix=/tmp/gitfs--homebrew-virtualenv-20170105-62989-mbq7ql/target --single-version-externally-managed --record=installed.txt
==> python -s /tmp/gitfs--homebrew-virtualenv-20170105-62989-mbq7ql/target/bin/virtualenv -p python /usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec
==> Downloading https://files.pythonhosted.org/packages/86/8c/70aea8215c6ab990f2d91e7ec171787a41b7fbc83df32a067ba5d7f3324f/atomiclong-0.1.1.tar.gz
Already downloaded: /Users/stian/Library/Caches/Homebrew/gitfs--atomiclong-0.1.1.tar.gz
==> /usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/gitfs--atomiclong-20170105-62989-1ngho46/atomiclong-0.1.1
Last 15 lines from /Users/stian/Library/Logs/Homebrew/gitfs/03.pip:
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
    wb.build(autobuilding=True)
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_set.py", line 634, in _prepare_file
    abstract_dist.prep_for_dist()
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_set.py", line 129, in prep_for_dist
    self.req_to_install.run_egg_info()
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_install.py", line 439, in run_egg_info
    command_desc='python setup.py egg_info')
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "python setup.py egg_info" failed with error code 1 in /private/tmp/pip-zmQCsP-build/

READ THIS: https://git.io/brew-troubleshooting

Stians-Mac-mini:~ stian$

I can second this, on mac os sierra I get:
/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/bin/pip install -v --no-deps --no-binary :all: --ignore-installed /private/tmp/gitfs--pygit2-20170204-14230-4iga7m/pygit2-0.24.2
Last 15 lines from /Users/sebastiangoscik/Library/Logs/Homebrew/gitfs/06.pip:
  Removing source in /private/tmp/pip-pVmVTO-build
Command "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-pVmVTO-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xnnIXh-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/include/site/python2.7/pygit2" failed with error code 1 in /private/tmp/pip-pVmVTO-build/
Exception information:
Traceback (most recent call last):
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/commands/install.py", line 342, in run
    prefix=options.prefix_path,
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_set.py", line 784, in install
    **kwargs
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/req/req_install.py", line 878, in install
    spinner=spinner,
  File "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/lib/python2.7/site-packages/pip/utils/__init__.py", line 707, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command "/usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/bin/python -u -c "import setuptools, tokenize;__file__='/private/tmp/pip-pVmVTO-build/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-xnnIXh-record/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/Cellar/gitfs/<IP_ADDRESS>/libexec/include/site/python2.7/pygit2" failed with error code 1 in /private/tmp/pip-pVmVTO-build/

You should try to install pip manually.

I've updated the homebrew recipe. Can you please try again?


hook YATCO into sysUninstall event so it will hide the UI when uninstalled

This is no longer relevant with EMCO


[prim, tlul] Wire up new full_o output from prim_fifo_sync

prim_fifo_sync has just gained a new output port. These modules don't need the signal (they can just use wready_o), so we don't need to connect it to anything. But we do need to explicitly mention it to avoid lint errors.
Fixes #5019.

Merging this to fix one of the two bugs currently on master. The other is breaking FPGA builds (and this PR will fail CI for that reason).

Merging this to fix one of the two bugs currently on master. The other is breaking FPGA builds (and this PR will fail CI for that reason).


[Bug]: Example04_Dynamic_GroupChat_Coding_Task throwing exception

Describe the bug
I was running this example in my system and it is throwing error.
https://github.com/microsoft/autogen/blob/ca4f7176169d5f40b5e7570aab7dce4a37bd088f/dotnet/sample/AutoGen.BasicSamples/Example04_Dynamic_GroupChat_Coding_Task.cs
Steps to reproduce
No response
Model Used
gpt-3.5
Expected Behavior
It shouldn't throw exception
Screenshots and logs

Details:
System.InvalidOperationException
HResult=0x80131509
Message=Sequence contains no matching element
Source=System.Linq
StackTrace:
at System.Linq.ThrowHelper.ThrowNoMatchException()
at System.Linq.Enumerable.First[TSource](IEnumerable1 source, Func2 predicate)
at AutoGen.Core.GroupChat.d__10.MoveNext()
at AutoGen.Core.GroupChat.d__12.MoveNext()
at AutoGen.Core.AgentExtension.d__6.MoveNext()
at AutoGen.Core.AgentExtension.d__2.MoveNext()
at AutoGen.Core.AgentExtension.d__3.MoveNext()
at Example04_Dynamic_GroupChat_Coding_Task.d__0.MoveNext() in C:\Users\91701\source\repos\TestAutoGen\TestAutoGen\Example04_Dynamic_GroupChat_Coding_Task.cs:line 250
at Program.d__0.MoveNext() in C:\Users\91701\source\repos\TestAutoGen\TestAutoGen\Program.cs:line 7
Additional Information
No response

@teeshajain17 Your api-key is exposed in your previous screenshot, I just update the image to remove the api-key part. In the meantime, please deprecate your current api-key ASAP

@teeshajain17 Maybe try a better llm (gpt-4) and see if the error persist? Example-04 is one of the "challenging" tasks that may require a more powerful LLM to complete.

Okay. let me try that.

It worked. Thanks! Could you suggest a simple example that demonstrates the functionality of the group chat feature and can be accomplished by GPT-3.5?

@teeshajain17 Am working on it, you can track progress in #2859

@LittleLittleCloud Can I help in any way? I would love to contribute.

@teeshajain17 Of course, I can add you as reviewer once the PR is ready. In the meantime the remaining imcomplete samples are the below two, let me know which one you want to take.

Also feel free to edit the task list by adding the sample you want to create and assign that sample to yourself.

I'm unsure about what to do exactly and how to create these sample examples because I've just started learning Autogen. However, please include me as a reviewer in the pull request.


fix c8 and c11 exploits, fix c11 infinite loop, fix dimboost autobuyer ignoring costs

from issue 208 and 212

Thanks.


Process A should have Console.ReadLine(); as last line of code

Please add Console.ReadLine(); as last line of code in process A.

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

ID: fcc02010-ec28-4e04-0881-7cd1d9d8b148
Version Independent ID: c5261008-5deb-2af9-647f-f07ec56d9e47
Content: Memory-Mapped Files
Content Source: docs/standard/io/memory-mapped-files.md
Product: dotnet
Technology: dotnet-standard
GitHub Login: @Thraka
Microsoft Alias: adegeo

Hello @GabrielZalisz Can you clarify the request? Are you saying that you want a readline at the end so you can pause and analyze the output?
I believe this has been added in the latest versions of .NET, starting with .NET Core. I wouldn't want to put one in since this is the new standard and then would require two keypresses at the end.


Scrollbar handle is collapsed on Firefox for Ubuntu 16.04

Not sure if it's specific to Ubuntu's theme, but scrollbar handle is collapsed and expands to normal height on mouse over.

Seems not only specific to react-virtualized, but generally to any scrollbar.

This library doesn't set presentational styles (with the exception of minor formatting for Table headers) and only then if you manually include a CSS file. 😄


fixed typo in slightfile of nats messaging example

It is – our Azure credential is called "NATS_CREDS_PATH", and not "NATS_CREDS".


Updating version to 1.0.4. Also Enabling ppc64le

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] 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)
[ ] Ensured the license file is being packaged.

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

@conda-forge-admin please rerender

@conda-forge-admin please rerender

@conda-forge-admin, please ping team

Hi! This is the friendly automated conda-forge-webservice.
I was asked to ping @conda-forge/rake_nltk and so here I am doing that.

@conda-forge-admin, please ping team

Hi! This is the friendly automated conda-forge-webservice.
I was asked to ping @conda-forge/rake_nltk and so here I am doing that.

Hi! This is the friendly automated conda-forge-linting service.
I was trying to look for recipes to lint for you, but it appears we have a merge conflict.
Please try to merge or rebase with the base branch to resolve this conflict.
Please ping the 'conda-forge/core' team (using the @ notation in a comment) if you believe this is a bug.

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

@conda-forge-admin please rerender


AskUserMessage always takes the full timeout time to complete

Version: chainlit==0.6.2
Problem: Time taken to get the response from AskUserMessage is always the full timeout time (60 secs).
import time
import chainlit as cl

time_start = time.time()
res = await cl.AskUserMessage(content=question, timeout=60).send()
time_end = time.time()
print(f"Async: Time taken (secs): {time_end - time_start}")

Are you using AskUserMessage in either cl.on_chat_start or cl.on_message?

It's with @cl.on_chat_start

This is the code of chainlit hello:
# This is a simple example of a chainlit app.

from chainlit import AskUserMessage, Message, on_chat_start

@on_chat_start
async def main():
    res = await AskUserMessage(content="What is your name?", timeout=30).send()
    if res:
        await Message(
            content=f"Your name is: {res['content']}.\nChainlit installation is working!\nYou can now start building your own chainlit apps!",
        ).send()

Both this code and chainlit hello works on my end, can you confirm?

Actually, I'm using it in a function that is called by the main fun with cl.on_chat_start
async def async_ask_question(question: str) -> str:
print("Async: Asking question")
time_start = time.time()
res = await cl.AskUserMessage(content=question, timeout=60).send()
time_end = time.time()
print(f"Async: Time taken (secs): {time_end - time_start}")
if res:
return res["content"]
else:
return "No response"

does chainlit hello work on your end?


Deploy in AWS Lambda

I’d like to deploy this in AWS Lambda. I have some experience deploying small NodeJS functions, but have never deployed a python function. I imagine this might be a popular deployment option, so from a feature request perspective it would be great if the documentation included a “how to” get it running up there. I’m going to give it a whirl myself, but any time saving tips would be greatly appreciated.

Hi, please checkout the connectedcar-node-api. This is a middle-man api that I build that allows you to control your car from your own "personal" api. You can use serverless to deploy to AWS Lambda.


Data quality

Hi,
Are there any plans for explicit support for data quality checks per task, such as result validation and profiling? Right now as far as I can tell a task can either succeed or fail, but there's no concept of validating the results.

Perhaps its not much help, but I've implemented a generic Python function for use within my dags. I use this function to execute check SQL within some of my pipelines and validate the result matches what I expect.

You can always run your checks in or outside of your critical path.
We have a very common construct that we've abstracted in a function (in our pipeline repo, not the airflow repo) that returns a subdag containing:

The task that loads data in to a staging table (HiveOperator)
A set of data quality checks (PrestoCheckOperator)
Exchanging the partition to make it live (HiveOperator)

Perhaps you could also use a subdag to run your DQ checks.
AIt'd be easy to create a ChainOperator that would receive a list of task and run them one after the other, and atomically (if one fails, the whole chain fails).


Fix typing in components.viewer_model

Fixes typing in napari.components.viewer_model.

As test are passing and you indicating you might be off a couples of weeks/month, I'm marking as ready for review.

Also once we drop 3.8/3.9 we canuse pyupgrade to do mass rewrite if we wish.

Restarted tests.

As this was not objected to for about a month, I'm going to merge =to move things forward.

@Carreau This PR crash fresh start of napari (python -m napari). Could you fix this?

Sure.

https://github.com/napari/napari/pull/6484