HADOOP-18959. Use builder for prefetch CachingBlockManager. (#6240)

branch-3.3 backport PR of #6240

Testing in progress

FYI @ahmarsuhail

Tested against us-west-2
mvn clean verify -Dparallel-tests -DtestsThreadCount=8 -Dscale -Dprefetch

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
6m 38s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 3 new or modified test files.

_ branch-3.3 Compile Tests _

+0 :ok:
mvndep
14m 49s

Maven dependency ordering for branch

+1 :green_heart:
mvninstall
34m 56s

branch-3.3 passed

+1 :green_heart:
compile
18m 36s

branch-3.3 passed

+1 :green_heart:
checkstyle
2m 49s

branch-3.3 passed

+1 :green_heart:
mvnsite
2m 38s

branch-3.3 passed

+1 :green_heart:
javadoc
1m 40s

branch-3.3 passed

+1 :green_heart:
spotbugs
3m 56s

branch-3.3 passed

+1 :green_heart:
shadedclient
35m 28s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+0 :ok:
mvndep
0m 33s

Maven dependency ordering for patch

+1 :green_heart:
mvninstall
1m 39s

the patch passed

+1 :green_heart:
compile
17m 55s

the patch passed

+1 :green_heart:
javac
17m 55s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
2m 39s

the patch passed

+1 :green_heart:
mvnsite
2m 35s

the patch passed

+1 :green_heart:
javadoc
1m 35s

the patch passed

+1 :green_heart:
spotbugs
4m 12s

the patch passed

+1 :green_heart:
shadedclient
35m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 28s

hadoop-common in the patch passed.

+1 :green_heart:
unit
2m 44s

hadoop-aws in the patch passed.

+1 :green_heart:
asflicense
0m 59s

The patch does not generate ASF License warnings.

215m  1s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6302/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6302

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 8975975f556c 5.15.0-88-generic #98-Ubuntu SMP Mon Oct 2 15:18:56 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
branch-3.3 / ea8bc8e8f81d6726d93125655936f30a3f2a4e9d

Default Java
Private Build-1.8.0_362-8u372-ga~us1-0ubuntu1~18.04-b09

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6302/1/testReport/

Max. process+thread count
1252 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common hadoop-tools/hadoop-aws U: .

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6302/1/console

versions
git=2.17.1 maven=3.6.0 spotbugs=4.2.2

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

This message was automatically generated.

@ahmarsuhail since the original PR is merged to trunk and this is backport with clean build and scale testing done, could you please help review/merge so that upcoming 3.3.x or 3.4.0 release doesn't miss it? (otherwise we might have to deal with backward compatibility issues) :)

@virajjasani I recently cut the 3.4.0 branch..so I'm just checking where things should be backported to now. Will do this once I have some clarity there.

Sounds good, thanks @ahmarsuhail. For branch-3.4, this will be clean cherry-pick since it was just cut recently.

@ahmarsuhail Thanks for your reminder! I modified the version to 3.4.0, the PR will be merged to branch3.3 soon.

@virajjasani Thanks for the contribution! merge into branch-3.3.


fix: bump gateway api version

see https://github.com/gravitee-io/issues/issues/7573

Gravitee.io Automatic Deployment
🚀 A prerelease version of this package has been published on Gravitee's private artifactory, you can:

use it directly by updating your project with version: 1.1.1-chore-bump-gateway-api-SNAPSHOT
download it from Artifactory here

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

1.1.1
GitHub release

Your semantic-release bot :package::rocket:


Print stylesheet

Have a working print style for the country page
PDF examples are available online for VNM, THA, etc...

@jcr ready on Beta - https://beta.landportal.info/book/countries/VNM

@aostroverkhov : we had a round of comments last Thus.
Essentially about :

pie chart / spider graph alignment (in 2 columns, the pie wasn't aligned properly)
font size in general (to make them slightly smaller globally).
Try to fit the indicators table in 1 page
page breaks
- to right logo size(?)

what's the status on this? Can we close

@jcr sorry I thought this related to PDF version only, will update the print.css accordingly too.
item not quite clear though - "page breaks - to right logo size(?)" - could you please explain what's required here?

@jcr this is ready now, you can check on Dev

"page breaks - to right logo size(?)"
there is a missing lines between the 2 elements
page breaks: I can see is better , though in some case just before the map I have a whole white page

"to right logo size(?)" was a typo: read "toP right"
Other comments:

the flag doesn't show up
hide the compare countries and map forms (obviously)
get compare chart and map on 1 page ideally.


Document running multiple services on single vm

Description
We should improve our docs for this case, and point users to using net namespaces and cgorups

FYI. some newly introduced features ("application probe proxy", and "Envoy readiness reporter") listen a local port on the host, so we need to make sure they use different ports when run multiple instances on a single VM.
The configuration keys are:

KUMA_READINESS_PORT configures on which port the "Envoy readiness reporter" listens, defaults to 9902.
KUMA_APPLICATION_PROBE_PROXY_PORT configures on which port the "application probes proxy" listens, defaults to 9001. It can be disabled by set to 0 when the feature is not used.


[False Positive] [VSCode] DS187371 flags keyword "EAX" in any language

TODO

[ ] Propogate recent C# implementation changes to VSCode extension to prevent this rule from flagging plain text files.
[ ] Use stricter conditions for this rule.

Rule ID
DS187371 - A potentially weak cipher mode of operation was used.
What the rule matched
Keyword "EAX" in any language, including plain text. In my case, EAX refers to the deprecated Environmental Audio eXtensions library.
Why should this not be matched?
An acronym for an audio processing library should not be matched as an [Important] security vulnerability.

What version and format of devskim are you using? I recently made a change to the C# implementation that should have prevented this from showing up in plaintext (.txt) files.  That change hasn't been ported to VS Code yet though.

That change hasn't been ported to VS Code yet though.
Ah, darn. That's the only implementation I've been using.
I suppose I should have mentioned that in the original post.

This will be fixed with #361 which transitions the VS Code extension to use the same .NET backend.

Depends on https://github.com/microsoft/ApplicationInspector/pull/555


Bump version for next release

Codecov Report

Merging #155 (87b8f45) into meilisearch-v0.25.0 (d7ae484) will not change coverage.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##           meilisearch-v0.25.0      #155   +/-   ##
=====================================================
  Coverage               100.00%   100.00%
=====================================================
  Files                       14        14
  Lines                      827       827
=====================================================
  Hits                       827       827

Continue to review full report at Codecov.

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


Argentina phone number formatting is quite broken

I'd implement this fix myself, but don't truly understand enough about how the gem works to make the changes.
Right now, we format all Argentina numbers as +54 xx xxx xxx. They should be formatted as:
A) Local numbers. Many area codes, 2-4 digits. Different area codes result in the remainder of the number being formatted differently.
+54 11 1234 5678
+54<PHONE_NUMBER>
+54 2965 12 3456
B) Mobile numbers.
I'll think about a quick solution and pasting it here (for reference). Cheers!

Thanks for the test cases as well.

Is there another country that has a similar setup with the area codes? If there's an existing case, I can probably figure things out.

Lithuania might be helpful, but I have to admit that I am wondering how to do the mobile numbers. Argentina is pretty unique in that they prepend a "mobile digit" in front of the normal numbering scheme.

This solves the case for fixed line numbers:
  country '54', one_of('11') >> split(4,4) |
                one_of("261",
                       "381",
                       "221",
                       "385",
                       "341",
                       "342",
                       "264",
                       "387",
                       "299",
                       "220",
                       "223",
                       "388",
                       "343",
                       "345",
                       "358",
                       "353",
                       "351",
                       "297",
                       "291",
                       "237") >> split(3,4) |
                fixed(4)      >> split(2,4)

Simplified the long list a little:
match(/^(22[0,1,3,7]|237|26[1,4]|29[1,7,9]|34[1,2,3,5]|35[1,3,8]|38[1,5,7,8])/) >> split(3,4) |

@vilcsak Can you live with mobile number rendered as "+54 911 1234 5678"? (no space between 9 and 11) I need to do a little rewrite of Phony if this case needs to be covered.

(Please disregard my earlier attempt at a regexp – I was in the wrong mindset)

Got it, will release in 1.5.2 in 10 minutes.
  # Argentine Republic.
  #
  country '54', one_of('11', '911') >> split(4,4) | # Fixed & Mobile
                match(/^(22[0137]|237|26[14]|29[179]|34[1235]|35[138]|38[1578])/) >> split(3,4) |        # Fixed
                match(/^(922[0137]|9237|926[14]|929[179]|934[1235]|935[138]|938[1578])/) >> split(3,4) | # Mobile
                match(/^(9\d{4})/) >> split(2, 4) | # Mobile
                fixed(4) >> split(2,4) # Fixed

Cool, this will certainly do for now. Would be great to have the true 9 support in the future.

Great! 1.5.2 is released, fixed with your input. Many thanks!

Upgraded, thanks!

@vilcsak Great! Please note that 1.6.0 has been released as well, lowering the possibility of cut-off numbers. Also find yourself in the special mentions section https://github.com/floere/phony/wiki/Contributors :)

Btw, I love the title "quite broken" … it's like the brits say "quite dead" :)


feat: add UDF to_local_time()

Which issue does this PR close?
Help with https://github.com/apache/datafusion/issues/10602
Closes https://github.com/apache/datafusion/issues/11358
Rationale for this change
This PR adds a ScalarUDF function to_local_time():

this function converts a timezone-aware timestamp to local time (with no offset or timezone information). In other words, this function strips off the timezone from the timestamp, while keep the display value of the timestamp the same. See examples below
only accept 1 input with type Timestamp(..., *)
returns with type Timestamp(..., None)

Example
This is how to use it in datafusion-cli:
> select to_local_time('2024-04-01T00:00:20Z'::timestamp AT TIME ZONE 'Europe/Brussels');
+---------------------------------------------+
| to_local_time(Utf8("2024-04-01T00:00:20Z")) |
+---------------------------------------------+
| 2024-04-01T00:00:20                         |
+---------------------------------------------+
1 row(s) fetched.
Elapsed 0.010 seconds.

> select to_local_time('2024-04-01T00:00:20'::timestamp AT TIME ZONE 'Europe/Brussels');
+--------------------------------------------+
| to_local_time(Utf8("2024-04-01T00:00:20")) |
+--------------------------------------------+
| 2024-04-01T00:00:20                        |
+--------------------------------------------+
1 row(s) fetched.
Elapsed 0.008 seconds.

> select
  time,
  arrow_typeof(time) as type,
  to_local_time(time) as to_local_time,
  arrow_typeof(to_local_time(time)) as to_local_time_type
from (
  select '2024-04-01T00:00:20Z'::timestamp AT TIME ZONE 'Europe/Brussels' as time
);
+---------------------------+------------------------------------------------+---------------------+-----------------------------+
| time                      | type                                           | to_local_time       | to_local_time_type          |
+---------------------------+------------------------------------------------+---------------------+-----------------------------+
| 2024-04-01T00:00:20+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) | 2024-04-01T00:00:20 | Timestamp(Nanosecond, None) |
+---------------------------+------------------------------------------------+---------------------+-----------------------------+
1 row(s) fetched.
Elapsed 0.017 seconds.

Example of using to_local_time() in date_bin()
Combine to_local_time() with date_bin() will look like:
> select date_bin(interval '1 day', to_local_time('2024-04-01T00:00:20Z'::timestamp AT TIME ZONE 'Europe/Brussels'));
+----------------------------------------------------------------------------------------------------+
| date_bin(IntervalMonthDayNano("18446744073709551616"),to_local_time(Utf8("2024-04-01T00:00:20Z"))) |
+----------------------------------------------------------------------------------------------------+
| 2024-04-01T00:00:00                                                                                |
+----------------------------------------------------------------------------------------------------+

> select date_bin(interval '1 day', to_local_time('2024-04-01T00:00:20Z'::timestamp AT TIME ZONE 'Europe/Brussels')) AT TIME ZONE 'Europe/Brussels';
+----------------------------------------------------------------------------------------------------+
| date_bin(IntervalMonthDayNano("18446744073709551616"),to_local_time(Utf8("2024-04-01T00:00:20Z"))) |
+----------------------------------------------------------------------------------------------------+
| 2024-04-01T00:00:00+02:00                                                                          |
+----------------------------------------------------------------------------------------------------+

Click to see more examples of applying to array values

Write sample data

create or replace table t AS
VALUES
  ('2024-01-01T00:00:01Z'),
  ('2024-02-01T00:00:01Z'),
  ('2024-03-01T00:00:01Z'),
  ('2024-04-01T00:00:01Z'),
  ('2024-05-01T00:00:01Z'),
  ('2024-06-01T00:00:01Z'),
  ('2024-07-01T00:00:01Z'),
  ('2024-08-01T00:00:01Z'),
  ('2024-09-01T00:00:01Z'),
  ('2024-10-01T00:00:01Z'),
  ('2024-11-01T00:00:01Z'),
  ('2024-12-01T00:00:01Z')
;

create or replace view t_utc as
select column1::timestamp AT TIME ZONE 'UTC' as "column1"
from t;

create or replace view t_timezone
as
select column1::timestamp AT TIME ZONE 'Europe/Brussels' as "column1"
from t;

See how tables look like

> select column1, arrow_typeof(column1) from t;
+----------------------+-------------------------+
| column1              | arrow_typeof(t.column1) |
+----------------------+-------------------------+
| 2024-01-01T00:00:01Z | Utf8                    |
| 2024-02-01T00:00:01Z | Utf8                    |
| 2024-03-01T00:00:01Z | Utf8                    |
| 2024-04-01T00:00:01Z | Utf8                    |
| 2024-05-01T00:00:01Z | Utf8                    |
| 2024-06-01T00:00:01Z | Utf8                    |
| 2024-07-01T00:00:01Z | Utf8                    |
| 2024-08-01T00:00:01Z | Utf8                    |
| 2024-09-01T00:00:01Z | Utf8                    |
| 2024-10-01T00:00:01Z | Utf8                    |
| 2024-11-01T00:00:01Z | Utf8                    |
| 2024-12-01T00:00:01Z | Utf8                    |
+----------------------+-------------------------+
12 row(s) fetched.
Elapsed 0.009 seconds.

> select column1, arrow_typeof(column1) from t_utc;
+----------------------+------------------------------------+
| column1              | arrow_typeof(t_utc.column1)        |
+----------------------+------------------------------------+
| 2024-01-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-02-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-03-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-04-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-05-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-06-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-07-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-08-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-09-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-10-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-11-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
| 2024-12-01T00:00:01Z | Timestamp(Nanosecond, Some("UTC")) |
+----------------------+------------------------------------+
12 row(s) fetched.
Elapsed 0.011 seconds.

> select column1, arrow_typeof(column1) from t_timezone;
+---------------------------+------------------------------------------------+
| column1                   | arrow_typeof(t_timezone.column1)               |
+---------------------------+------------------------------------------------+
| 2024-01-01T00:00:01+01:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-02-01T00:00:01+01:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-03-01T00:00:01+01:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-04-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-05-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-06-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-07-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-08-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-09-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-10-01T00:00:01+02:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-11-01T00:00:01+01:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
| 2024-12-01T00:00:01+01:00 | Timestamp(Nanosecond, Some("Europe/Brussels")) |
+---------------------------+------------------------------------------------+
12 row(s) fetched.
Elapsed 0.012 seconds.

Query using to_local_time()

> select column1, to_local_time(column1), arrow_typeof(to_local_time(column1)) from t_utc;
+----------------------+------------------------------+--------------------------------------------+
| column1              | to_local_time(t_utc.column1) | arrow_typeof(to_local_time(t_utc.column1)) |
+----------------------+------------------------------+--------------------------------------------+
| 2024-01-01T00:00:01Z | 2024-01-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-02-01T00:00:01Z | 2024-02-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-03-01T00:00:01Z | 2024-03-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-04-01T00:00:01Z | 2024-04-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-05-01T00:00:01Z | 2024-05-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-06-01T00:00:01Z | 2024-06-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-07-01T00:00:01Z | 2024-07-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-08-01T00:00:01Z | 2024-08-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-09-01T00:00:01Z | 2024-09-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-10-01T00:00:01Z | 2024-10-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-11-01T00:00:01Z | 2024-11-01T00:00:01          | Timestamp(Nanosecond, None)                |
| 2024-12-01T00:00:01Z | 2024-12-01T00:00:01          | Timestamp(Nanosecond, None)                |
+----------------------+------------------------------+--------------------------------------------+
12 row(s) fetched.
Elapsed 0.015 seconds.

> select column1, to_local_time(column1), arrow_typeof(to_local_time(column1)) from t_timezone;
+---------------------------+-----------------------------------+-------------------------------------------------+
| column1                   | to_local_time(t_timezone.column1) | arrow_typeof(to_local_time(t_timezone.column1)) |
+---------------------------+-----------------------------------+-------------------------------------------------+
| 2024-01-01T00:00:01+01:00 | 2024-01-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-02-01T00:00:01+01:00 | 2024-02-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-03-01T00:00:01+01:00 | 2024-03-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-04-01T00:00:01+02:00 | 2024-04-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-05-01T00:00:01+02:00 | 2024-05-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-06-01T00:00:01+02:00 | 2024-06-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-07-01T00:00:01+02:00 | 2024-07-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-08-01T00:00:01+02:00 | 2024-08-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-09-01T00:00:01+02:00 | 2024-09-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-10-01T00:00:01+02:00 | 2024-10-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-11-01T00:00:01+01:00 | 2024-11-01T00:00:01               | Timestamp(Nanosecond, None)                     |
| 2024-12-01T00:00:01+01:00 | 2024-12-01T00:00:01               | Timestamp(Nanosecond, None)                     |
+---------------------------+-----------------------------------+-------------------------------------------------+
12 row(s) fetched.
Elapsed 0.016 seconds.

Combine with date_bin()

> select date_bin(interval '1 day', to_local_time(column1)) AT TIME ZONE 'Europe/Brussels' as date_bin from t_utc;
+---------------------------+
| date_bin                  |
+---------------------------+
| 2024-01-01T00:00:00+01:00 |
| 2024-02-01T00:00:00+01:00 |
| 2024-03-01T00:00:00+01:00 |
| 2024-04-01T00:00:00+02:00 |
| 2024-05-01T00:00:00+02:00 |
| 2024-06-01T00:00:00+02:00 |
| 2024-07-01T00:00:00+02:00 |
| 2024-08-01T00:00:00+02:00 |
| 2024-09-01T00:00:00+02:00 |
| 2024-10-01T00:00:00+02:00 |
| 2024-11-01T00:00:00+01:00 |
| 2024-12-01T00:00:00+01:00 |
+---------------------------+
12 row(s) fetched.
Elapsed 0.023 seconds.

> select date_bin(interval '1 day', to_local_time(column1)) AT TIME ZONE 'Europe/Brussels' as date_bin from t_timezone;
+---------------------------+
| date_bin                  |
+---------------------------+
| 2024-01-01T00:00:00+01:00 |
| 2024-02-01T00:00:00+01:00 |
| 2024-03-01T00:00:00+01:00 |
| 2024-04-01T00:00:00+02:00 |
| 2024-05-01T00:00:00+02:00 |
| 2024-06-01T00:00:00+02:00 |
| 2024-07-01T00:00:00+02:00 |
| 2024-08-01T00:00:00+02:00 |
| 2024-09-01T00:00:00+02:00 |
| 2024-10-01T00:00:00+02:00 |
| 2024-11-01T00:00:00+01:00 |
| 2024-12-01T00:00:00+01:00 |
+---------------------------+
12 row(s) fetched.
Elapsed 0.011 seconds.

What changes are included in this PR?
New ScalarUDF function to_local_time() with tests
Are these changes tested?
Yes
Are there any user-facing changes?
No API changes.

The clippy error was fixed in https://github.com/apache/datafusion/pull/11368

I took the liberty of merging up from main to get the CI error fix

@alamb @jayzhan211 @Abdullahsab3 -- Thank you for all your reviews and the many helpful suggestions ♥ I have addressed all of them. I'm happy to make further updates if there are any additional suggestions.
@alamb -- Thank you for merging the clippy error fix!

@alamb Thank you for the careful review!

The other thing we should do is document this function in the function reference: datafusion.apache.org/user-guide/sql/scalar_functions.html
However, we can do that as a follow on PR as this one is already quite large

I'll have a follow-up PR to document this new function

I plan to merge this PR tomorrow morning Eastern time unless there are any other comments or anyone would like additional time to review

I'll have a follow-up PR to document this new function

Here is the follow-up PR:

https://github.com/apache/datafusion/pull/11401

Thank you everyone! This is a great addition i think


xSQLServer: Opt-in for script files common tests

Pull Request (PR) description

Changes to xSQLServer

Opt-in for script files common tests (issue #707).

Removed Byte Order Mark (BOM) from the files; DSCClusterSqlBuild.ps1,
DSCFCISqlBuild.ps1, DSCSqlBuild.ps1, DSCSQLBuildEncrypted.ps1,
SQLPush_SingleServer.ps1, 1-AddAvailabilityGroupListenerWithSameNameAsVCO.ps1,
2-AddAvailabilityGroupListenerWithDifferentNameAsVCO.ps1,
3-RemoveAvailabilityGroupListenerWithSameNameAsVCO.ps1,
4-RemoveAvailabilityGroupListenerWithDifferentNameAsVCO.ps1,
5-AddAvailabilityGroupListenerUsingDHCPWithDefaultServerSubnet.ps1,
6-AddAvailabilityGroupListenerUsingDHCPWithSpecificSubnet.ps1,
2-ConfigureInstanceToEnablePriorityBoost.ps1, 1-CreateEndpointWithDefaultValues.ps1,
2-CreateEndpointWithSpecificPortAndIPAddress.ps1, 3-RemoveEndpoint.ps1,
1-AddConnectPermission.ps1, 2-RemoveConnectPermission.ps1,
3-AddConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1,
4-RemoveConnectPermissionToAlwaysOnPrimaryAndSecondaryReplicaEachWithDifferentSqlServiceAccounts.ps1,
1-MakeSureEndpointIsStarted.ps1, 2-MakeSureEndpointIsStopped.ps1,
1-EnableTcpIpWithStaticPort.ps1, 2-EnableTcpIpWithDynamicPort.ps1,
1-AddServerPermissionForLogin.ps1, 2-RemoveServerPermissionForLogin.ps1,
1-ConfigureInstanceAsDistributor.ps1, 2-ConfigureInstanceAsPublisher.ps1,
1-WaitForASingleClusterGroup.ps1, 2-WaitForMultipleClusterGroups.ps1.

This Pull Request (PR) fixes the following issues:
Fixes #707
Task list:

[x] Change details added to Unreleased section of CHANGELOG.md?
[ ] Added/updated documentation, comment-based help and descriptions in .schema.mof files where appropriate?
[ ] Examples appropriately updated?
[x] New/changed code adheres to Style Guidelines?
[x] Unit and (optional) Integration tests created/updated where possible?

This change is

Codecov Report

Merging #708 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #708   +/-   ##
===================================
  Coverage    97%    97%
===================================
  Files        30     30
  Lines      3250   3250
===================================
  Hits       3165   3165
  Misses       85     85

Reviewed 31 of 31 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Cannot Import modules from "browse from gallery" which have dependencies in Az.Accounts module in PowerShell Runtime 7.1

Cannot Import modules from "browse from gallery" which have dependencies in Az.Accounts module in PowerShell Runtime 7.1
Issue
I have verified and confirm that modules which have have dependencies in Az.Accounts module in PowerShell Runtime 7.1 unlike PowerShell Runtime 5.1. Below error showing in portal and cannot select "import" button.
Please fix this issue or explicitly mention this behavior in documentation.
This module has dependencies that are not present in this account. All dependencies must be present before this module can be imported.
Dependencies:
Az.Accounts (≥ 2.7.6)

How to reproduce
For example, currently I have Az.Accounts 2.10.1 in PowerShell Runtime 7.1.

When I try to import Az.ContainerInstance 3.1.0 in PowerShell Runtime 7.1., below screen showing and cannot click "import".

How to workaround
I have found the way to workaround this issue.
1.Access to PowerShell gallery and click "manual download" and click "Download the raw nupkg file"
https://www.powershellgallery.com/packages/Az.ContainerInstance/3.1.0

2.Change the downloaded file name as .zip file format.
For example, change from az.containerinstance.3.1.0.nupkg to Az.ContainerInstance.zip
3.Click "Browse for file" and select the local .zip file.

4.The error message showing but you can ignore that error and click "Import".
5.The module successfully imported and works as expected.

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

ID: f895a4a7-ab8c-b63e-58b9-b5ecaebd7bc9
Version Independent ID: 90dcb4e2-b017-93a5-15af-20e355ccefb4
Content: Manage modules in Azure Automation
Content Source: articles/automation/shared-resources/modules.md
Service: automation
Sub-service: shared-capabilities
GitHub Login: @SnehaSudhirG
Microsoft Alias: sudhirsneha

@sooch-msft
Thanks for your feedback! We will investigate and update as appropriate.

@sooch-msft Thanks for reaching out. I have tested from my end the scenario you have described; however, I am not unable to reproduce it as I am able to import the modules via gallery without any issues.

I would suggest you to re check from your end, if you are still facing the issue, do revert. Also, this channel is mainly for documentation suggestions, for technical help, post your question on Microsoft Q & A community forum.
We will close the issue for now. If there are further questions, please revert and we will be glad to assist you.

I am currently experiencing the same issue, but for the Az.AlertsManagement module for pwsh 5.1


Minor button styling issues

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.22621.1702
Other software
No response
Steps to reproduce the bug

Go to Settings > Accounts then add an account. In the dialog you will see a button from old Windows 10 styles that has the tilt effect when holding it.

In the Introducing Dev Home page, when hovering over the accent button "Get started", it does not use the correct style and then goes back to normal (i.e. not accented).

On hover:

Expected result
Use correct Windows 11 button styles and with correct hover effect.
Actual result
Inconsistent button styles across the app.
Included System Information
No response
Included Extensions Information
No response

In case this issue is approved, I could try helping with it by the way.

Where does this dialog content come from anyways? I can't find the source for it. LoginUIDialog only has the close button and title.

@itsWindows11 The "Sign in to github.com" button comes from the Dev Home GitHub Extension, in the microsoft/devhomegithubextension repo. That UI is an Adaptive Card rendered inside a ContentDialog. The other buttons you mention are simply WinUI 3 XAML and do live in this repo. We'd love to have your help!

It looks like that button issue is in the adaptive cards library, so unfortunately out of scope for the app.


LogManager: java.nio.file.NoSuchFileException: /greengrass/v2/logs/greengrass_2022_09_26_22_0.log

Describe the bug
I am getting a NoSuchFileException a few times a day. As far as I can see the log manager is working fine, but it seems that during it's log rotation it's searching for a file that it cannot find. When I look for this log file with sudo ls I can see the file does indeed not exist, so it seems to be a bug whereby it is looking to access a file that no longer exists.
To Reproduce

Running on a Rasberry Pi

{
  "reset": [],
  "merge": {
    "logsUploaderConfiguration": {
      "systemLogsConfiguration": {
        "uploadToCloudWatch": "true",
        "minimumLogLevel": "INFO",
        "diskSpaceLimit": "100",
        "diskSpaceLimitUnit": "MB",
        "deleteLogFileAfterCloudUpload": "false"
      }
    },
    "periodicUploadIntervalSec": "300"
  }
}

Expected behavior
Would expect no errors logged during normal operation
Actual behavior
Logs the following:
2022-09-27T10:08:38.657+09:00Copy2022-09-27T01:08:38.657Z [WARN] (pool-2-thread-10) com.aws.greengrass.logmanager.LogManagerService: Unchecked error thrown when collecting files to be deleted. {serviceName=aws.greengrass.LogManager, currentState=RUNNING} | 2022-09-27T01:08:38.657Z [WARN] (pool-2-thread-10) com.aws.greengrass.logmanager.LogManagerService: Unchecked error thrown when collecting files to be deleted. {serviceName=aws.greengrass.LogManager, currentState=RUNNING}
-- | --

2022-09-27T10:08:49.407+09:00Copyjava.nio.file.NoSuchFileException: /greengrass/v2/logs/greengrass_2022_09_26_22_0.log	at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)	at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)	at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)	at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)	at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99)	at java.base/java.nio.file.Files.readAttributes(Files.java:1764)	at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219)	at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276)	at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373)	at java.base/java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:83)	at java.base/java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:103)	at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132)	at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913)	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)	at com.aws.greengrass.logmanager.LogManagerService.deleteFilesIfNecessary(LogManagerService.java:746)	at com.aws.greengrass.logmanager.LogManagerService.startWatchServiceOnLogFilePaths(LogManagerService.java:708)	at com.aws.greengrass.logmanager.LogManagerService.lambda$scheduleSpaceManagementThread$9(LogManagerService.java:342)	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)	at java.base/java.lang.Thread.run(Thread.java:829) | java.nio.file.NoSuchFileException: /greengrass/v2/logs/greengrass_2022_09_26_22_0.log at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111) at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116) at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55) at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149) at java.base/sun.nio.fs.LinuxFileSystemProvider.readAttributes(LinuxFileSystemProvider.java:99) at java.base/java.nio.file.Files.readAttributes(Files.java:1764) at java.base/java.nio.file.FileTreeWalker.getAttributes(FileTreeWalker.java:219) at java.base/java.nio.file.FileTreeWalker.visit(FileTreeWalker.java:276) at java.base/java.nio.file.FileTreeWalker.next(FileTreeWalker.java:373) at java.base/java.nio.file.FileTreeIterator.fetchNextIfNeeded(FileTreeIterator.java:83) at java.base/java.nio.file.FileTreeIterator.hasNext(FileTreeIterator.java:103) at java.base/java.util.Iterator.forEachRemaining(Iterator.java:132) at java.base/java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801) at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484) at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474) at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:913) at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234) at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578) at com.aws.greengrass.logmanager.LogManagerService.deleteFilesIfNecessary(LogManagerService.java:746) at com.aws.greengrass.logmanager.LogManagerService.startWatchServiceOnLogFilePaths(LogManagerService.java:708) at com.aws.greengrass.logmanager.LogManagerService.lambda$scheduleSpaceManagementThread$9(LogManagerService.java:342) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)
-- | --

Environment

OS: Raspbian GNU/Linux 11 (bullseye)
JDK version: openjdk 11.0.14 2022-01-18
Nucleus version: Greengrass core version: 2.5.6
Log Manager version: 2.2.6

Additional context
As far as I can see logs are being sent to cloudwatch successfully; but I am unclear if I am losing logs from the files that are erroring here

@bml1g12,
Thank you for reporting this. As you noted, we are logging this error, but it is an expected condition which does not impact the functionality of Log Manager.

@dgggIoT Let's drop the log level for https://github.com/aws-greengrass/aws-greengrass-log-manager/blob/main/src/main/java/com/aws/greengrass/logmanager/LogManagerService.java#L709-L712 as it isn't really any issue. It does not need to be at WARN. Debug should be fine to use in this case.

Thanks for this information. If it's expected I'd suggest changing the message itself also to inform the user that the message that it is expected rather than an "Unchecked error" (which sounds unexpected). As @MikeDombo suggested also dropping the log level would be great.
Having this issue creates an obstacle for easily identifying error level events from the logs, as we need to explicitly add filters to remove them otherwise.

@bml1g12 thank your for your feedback. I would also suggest looking for [ERROR] to identify errors, as this message is already at [WARN], which may or may not be a problem, but quite often it isn't an issue.


[bug] Main screen ads are not being removed.

🧐 Have you fully read the README and viewed similar issues?

[X] I have read the README
[X] I have checked older issues, open and closed
[X] I did a clean install of Spotify and SpotX

Сountry of your account
USA
What is your Spotify Plan?
Free
Do you have Spicetify installed?
No
ℹ Computer information
- Spotify: <IP_ADDRESS>6 (Latest version)
- Distro: Ubuntu 22.04
- Shell: Bash

📝 Description
The sponsored ad frame on the main screen is not being removed.
I have attached a screenshot.
🖥 Terminal Input/Output
bash <(curl -sSL https://raw.githubusercontent.com/SpotX-CLI/SpotX-Linux/main/install.sh)
📸 Screenshots

same

same here

Same

Don't have a nice solution, I have hacked by adding height: 0 to /xpui/home-hpto.css for the first class .WiPggcPDzbwGxoxwLWFf

In my case, both the main screen is not removed and I get ads when streaming music. (Artix Linux/spotify-launcher; it had an update and hence is the case, I tried over-writing the spotx by reinstalling it, but it ain't working)

In my case, both the main screen is not removed and I get ads when streaming music. (Artix Linux/spotify-launcher; it had an update and hence is the case, I tried over-writing the spotx by reinstalling it, but it ain't working)

Same issue for me on arch. Would be grateful if someone can help.


applied a colorscheme with pywal and now it won't go away for anything in this world

The only way to change it seem to be by generating another pywal colorscheme and that is not what I want.

Please help me I'm considering even calling a priest to exorcise this colorscheme out of here.

Go ask pywal, not me. Probably put some colors in an xresources or xdefaults file that st uses.


fix(opt): batch group topn executor does not give any order guarantee

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
fix https://github.com/risingwavelabs/risingwave/issues/7332

Checklist For Contributors

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] I have demonstrated that backward compatibility is not broken by breaking changes and created issues to track deprecated features to be removed in the future. (Please refer to the issue)
[ ] All checks passed in ./risedev check (or alias, ./risedev c)

Checklist For Reviewers

[ ] I have requested macro/micro-benchmarks as this PR can affect performance substantially, and the results are shown.

Documentation

[ ] My PR DOES NOT contain user-facing changes.

Click here for Documentation
Types of user-facing changes
Please keep the types that apply to your changes, and remove the others.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note

Should we fix this on Dedup instead?
https://github.com/risingwavelabs/risingwave/blob/74ee5682fdb4e57970e664ea8ce7a9ba95f87586/src/frontend/src/planner/select.rs#L160-L164
Does a group top 1 without order by will also have the order property afterwards?

Will the fix is needed no matter how... consider a user write a groupTopN SQL with ORDER BY, it will be wrong too. The groupTopN can not give any order property now.


@axflow/models: support for HuggingFace text-generation tasks

This change introduces support for text-generation tasks through Hugging Face. Hugging Face has many different "tasks" (see screenshot below). This PR introduces support for  text-generation (the most popular) and conversational. These map somewhat to completion & chat respectively, for openAI.
We introduce run(), stream(), streamBytes() and streamTokens() for text-generation tasks. When the model doesn't support streaming, we bubble that error up to the user.
HF supports multiple ways to do inference:

public inference endpoint, using their public API base (the default)
through their "inference endpoints" product

These have both been tested and work with the changes.
Note: we handle stop tokens here by stripping them from the streamTokens() response. Importantly, they are still sent to down during the stream() call, but can be identified in the Chunk type by having the property: special: true.
Testing
This was tested with different models, notably gpt2 for run() and google/flan-t5-xxl for streaming.
It was also tested using a live inference endpoint for llama-2-7-B.
The responses from those tests were then hardcoded into text files and mocked into unit tests.
TODO
These do not necessarily block the PR, but need to be done:

[x] test against the inference endpoint. This likely means deploying a model on HF
[x] docs

Appendix
HF tasks

Tested against axchat-demo, it works.


Set default IMPLICIT-ITERATOR pragma

In my effort to make the ruby & js mustache compatible, I need to make the implicit iterators to_s.
Unfortunately, the ruby mustache blows up on {{%IMPLICIT-ITERATOR iterator=to_s}}.
I would like to make the default implicit iterator 'to_s'.
One way of doing it is to change Mustache.Renderer.prototype.pragmas. Unfortunately, Mustache.Renderer is private, so it would need to be public.
Another way is to have some sort of options method.
I would be fine with either. For now, I'll just make Mustache.Renderer public because it is less work.
Thanks,
Brian

Pragmas are removed in the current master branch, so closing this issue for now. The {{.}} notation still works as you would expect for iterating over collections.


WM should not have access to mine layers

This should not be possible

Maybe your WM is just especially cowardly for a WM? 😀


 It's great to me.
But I want to modify field permission for role. When I modify Administrator -> Setting -> Workflow -> Fields permission -> Role and Track Edit. But when I finished modify it, but it still not workable. I want add some field be required field. But I cannot do it.
Do you have easier way to get things working.
Thanks
Tails

Hi,
Thanks for your help.
I need add category and due date become requirement field.
So I change field permission for it as below step
Administration -> Workflow -> Fields Permission -> Role:Developer Tracker:all -> Category:Required, Due date: Required
But it is not workable

Are you testing this with a user that has the Developer role for that project?  I tried this with the Admin account and it didn't prompt me for the required fields but when I created an account and set them as developer in test project.  It wouldn't let me create a new issue without entering the due date.

Hi,
Thanks for your help.
I try use Developer role to modify issue will see the field be required. Sorry, it’s bothering
But admin role will not see requirement field is right user experience ?

I'm not a redmine developer but yes that seems to be what they intended.  Admin's get to break the rules I assume.


RangeError in /clan/bai-jia-jiang-pg8cvrrc

Error in ClashLeaders
RangeError in /clan/bai-jia-jiang-pg8cvrrc
Maximum call stack size exceeded
View on Bugsnag
Stacktrace
webpack:///node_modules/vue/dist/vue.esm.js:961 - defineReactive

View full stacktrace
Created automatically via Bugsnag

An error linked to this issue has been marked as fixed in Bugsnag
RangeError in /clan/bd-trojans-y22ugr9c


3.1.5 draft [do not merge yet]

Pull request, to facilitate discussion about upcoming core 3.1.5 .
Not ready for merging.

Changes to acks during reconnects needs a new proposal.


Refactor and Add Tests

I'm considering using this tool for a project at my org, wanted to contribute by adding some tests which required some refactoring, sorry the PR got a bit bigger then I initially expected. There's some dependencies I didn't add to vendor yet to keep the PR cleaner (i.e. github.com/stretchr/testify/assert), I can add that in another PR if this gets approved. Hope this helps!

/cc @stevesloka

I'll check this out, no worries about the refactor, I think doing that and adding tests is a positive step forward. I'll check this out and get back to you soon.


Need to assign more than 12G to run the bookinfo example, is this right?

General information

OS: Windows
Hypervisor: Hyper-V
Did you run crc setup before starting it (Yes/No)?

CRC version
crc version: 1.0.0+575079b
OpenShift version: 4.2.0 (embedded in binary)

CRC status
CRC VM:          Running
OpenShift:       Running (v4.2.0)
Disk Usage:      14.83GB of 32.2GB (Inside the CRC VM)
Cache Usage:     10.14GB

CRC config
- cpus                                      : 4
- memory                                : 12288

Steps to reproduce

Follow the instrcutions for settig up OpenShift service mesh under https://docs.openshift.com/container-platform/4.1/service_mesh/service_mesh_install/installing-ossm.html
Deploy the bookinfo example from https://docs.openshift.com/container-platform/4.2/service_mesh/service_mesh_day_two/ossm-example-bookinfo.html

Expected
All container should be ready.
Actual
While trying to deploy the bookinfo example using the link above not all containers are ready. Some are "pending" and "Unschedulable", maybe due to "Insufficient memory", as stated in the events section in the OpenShift Web Console.
As described above I am assigning 12GB of RAM and 4 virtual CPUs, which might not be enough.
Do I need additional hardware resources for deploying the above example?

8GB is the lower limit of what a simple application needs with the OpenShift Control Plane. But you might run into memory issues as OpenShift 4 needs a lot of resources... have you tried to assign more?

Referring to the bookinfo example from above I tried to configure all pods (istio and bookinfo) in the same project. Then, all pods are running.
However, if I try to configure the istio-related pods in a different project, then some bookinfo-related pods are "pending" and "unschedulable", due to "insufficient cpu", as stated above.
I tried to allocate more than 4 virtual cpus using:
$crc config set cpus 8

After the configuration change  the follwing error is shown:
Error in dirver during machine creation.

Therefore, I assume that I cannot allocate more cpu resources.

Error in dirver during machine creation.

This is because you can not assign more vCPUs than actual CPU cores you have. Hyper-V is VERY picky about this... it will not overcommit (and also not when it have not enough resources due to CPU affinity/pinning).


Feature request / question expath dependencies

Hello dependabot team,
I would like to add expath dependency checking to dependabot, with the immediate use case of leveraging it for exist-db application packages.
I have looked through your contribution guidelines, and examples, and am pretty much ready to start. Before I do so I'd just like to feel the waters about any reservations your team might have about adding this feature, or any other insights into what you'd like to see for this to be accepted.
Greetings

Totally up for adding support. I’m on my phone so can’t dig in too much, but take a look at the open PR with a .NET template for an idea of how adding a new language / package manager works. Might make sense for me to put together a template for you?

@greysteil thanks for the swift response. I think your documentation has enough to get me going (my ruby might be a bit rusty). I ll see how far I get, and come back here with more questions should I get stuck.

Closing this due to age and low demand. If this scenario is critical to your workflow please feel free to comment.


Release Wasmtime 0.33.1

This is an automated pull request from CI which is intended to
notify maintainers that it's time to release Wasmtime version
0.33.1. Version numbers have been bumped
in this PR automatically and the release process will automatically
enter the next stages once this PR is merged.
It's recommended that maintainers double-check that RELEASES.md
is up-to-date. If not please feel free to push to this PR any
modifications to the release notes. Additionally before merging it's
probably best to double-check the release process and make sure that
everything is ship-shape.

I believe this includes the code for 0.34 despite being on the 0.33 branch.

We apparently can't run the bump-patch script for two different target branches at the same time because only a single source branch is used.
Closing this for now and once 0.34.x is done I'll kick this off again.


Performance of Method Call SET_ATTRIBUTE_NC in CREATE_XL_SHEET of ZCL_EXCEL_WRITER_2007

Hello community,
I want to create an Excel file from a great table, near by 500.000 records, but the program dumps with a timout error. I performed a runtime analysis and the result is that 44% of the runtime needs the method call lo_element_3->set_attribute_ns.

This is a result "only" from 50391 records with 24 fields in the table.
Is there a way to reduce the time consumption of the method call set_attribute_ns in the method CREATE_XL_SHEET of the class ZCL_EXCEL_WRITER_2007?
Thanks for hints.
Best regards
Stefan

Hello Stefan,
have you tried using the class "ZCL_EXCEL_WRITER_HUGE_FILE" instead of "ZCL_EXCEL_WRITER_2007".
It may not support all features but it should be faster and might be sufficient to fulfill your needs.

Hello Stefan,
thank you very much for your tip. I implement the class and the XSL transformations. The first run time analysis shows a 12 times faster writing with 131.072 records :+1:
Now I transport the objects to the development system and try it with the same test cases. I will report my results later.
Thanks again.
Best regards
Stefan

Hello Stefan,
as you can see in comparisation to my previous measurement 42% faster over all.

Now another question in the context of huge writer class: Is it necessary to change the creation of the table, set an attribute or anything else? The code, which works with WRITER_2007 perfect, doesn't work with WRITER_HUGE, it generates corrupted XLSX files.
Here my code:
Create Object l_rcl_excel.
l_rcl_worksheet = l_rcl_excel->get_active_worksheet( ).
l_rcl_worksheet->set_title( Me->WORKSHEET_TITLE ).
l_str_table_settings-table_style  = Me->TABLE_STYLE.
l_rcl_worksheet->bind_table( ip_table          = i_table
is_table_settings = l_str_table_settings ).
Create Object l_rif_excel_writer Type /GKV/CA03_cl_writer_huge.
e_xlsx_datastream = l_rif_excel_writer->write_file( l_rcl_excel ).
Thanks again.
Best regards
Stefan

Hi Stefan,
as mentioned by Stefan, not all the functionalities are available with that reader.
Could you please provide more details on the error that you are getting?
Ivan

Hello Ivan,
thanks for your reply. I get no error, I get only a corrupted XLSX file. You can try this report to reproduce my error:
"-Begin-----------------------------------------------------------------
Report ZTTTEST.
"-Structures--------------------------------------------------------
  Data: Begin Of TestStruc,
          ElemInt  Type i,
          ElemPack Type p,
          ElemFlt  Type f,
          ElemStr  Type String,
        End Of TestStruc.

"-Variables---------------------------------------------------------
  Data l_str_Test Like TestStruc.
  Data l_tab_Test Like Standard Table Of TestStruc.
  Data l_GUID Type SYSUUID_C.
  Data l_rcl_excel Type Ref To ZCL_EXCEL
  Data l_rcl_worksheet Type Ref To ZCL_EXCEL_WORKSHEET.
  Data l_rif_excel_writer Type Ref To ZIF_EXCEL_WRITER.
  Data l_cnt_Lines Type i Value 0.
  Data l_xlsx_datastream Type XString.
  Data l_FileName Type FILEEXTERN.

"-Main--------------------------------------------------------------
  Do 1024 Times.
    l_str_Test-ElemInt = sy-index.
    l_str_Test-ElemPack = sy-index * 1000.
    l_str_Test-ElemFlt = sy-index * '3.14'.
    l_str_Test-ElemStr = `Dies ist ein Test ` && sy-index.
    Append l_str_Test To l_tab_Test.
  EndDo.

  If l_tab_Test Is Not Initial.
    Describe Table l_tab_Test Lines l_cnt_Lines.
    If l_cnt_Lines <= 1048576.
      Create Object l_rcl_excel.
      l_rcl_worksheet = l_rcl_excel->get_active_worksheet( ).
      l_rcl_worksheet->bind_table( ip_table = l_tab_Test ).
      "The WRITER_2007 generates a perfect XLSX file
      "Create Object l_rif_excel_writer Type ZCL_EXCEL_writer_2007.
      "The WRITER_HUGE generates a corrupted XLSX file
      Create Object l_rif_excel_writer Type ZCL_EXCEL_writer_huge.
      l_xlsx_datastream = l_rif_excel_writer->write_file( l_rcl_excel ).

      l_GUID = cl_system_uuid=>CREATE_UUID_C32_STATIC( ).
      l_FileName = '/FTPSAP/NSP/001/TMP/' && l_GUID.
      Open Dataset l_FileName For Output In Binary Mode.
      Transfer l_xlsx_DataStream To l_FileName.
      Close Dataset l_FileName.

    EndIf.
  EndIf.

"-End-------------------------------------------------------------------

Thanks and best regards
Stefan

Hello Stefan,
it looks like the transformation ZEXCEL_TR_SHEET causes this problem.
Please try to replace the following line - seems to be a spelling error.  Unfortunately I don't have enough experience with transformations to know if this really causes problem - but if it fixes yours please let us know and we change the current transformation
Transformation: ZEXCEL_TR_SHEET - current version
      <tt:cond check="WORKSHEET.TABLES_COUNT != 0">
        <mergeCells>
          <tt:attribute name="count" value-ref="WORKSHEET.TABLES_COUNT" />
          <tt:loop ref="WORKSHEET.TABLES">
            <tablePart>
              <tt:attribute name="r:id" value-ref="R_ID" />
            </tablePart>
          </tt:loop>
        </mergeCells>
      </tt:cond>

The tag "mergeCells" should be changed to "tableParts"
      <tt:cond check="WORKSHEET.TABLES_COUNT != 0">
        <tableParts>
          <tt:attribute name="count" value-ref="WORKSHEET.TABLES_COUNT" />
          <tt:loop ref="WORKSHEET.TABLES">
            <tablePart>
              <tt:attribute name="r:id" value-ref="R_ID" />
            </tablePart>
          </tt:loop>
        </tableParts>
      </tt:cond>

Hallo Stefan,
vielen Dank. Zur Zeit bin ich gerade in Urlaub und habe keinen Zugriff auf unser System. Melde mich wenn ich wieder da bin. Nochmals Danke und beste Grüße
Stefan
Von meinem Windows Phone gesendet
----- Ursprüngliche Nachricht -----
Von: "StefanSchmoecker"<EMAIL_ADDRESS>Gesendet: 11.07.2015 09:47
An: "ivanfemia/abap2xlsx"<EMAIL_ADDRESS>Cc: "Stefan Schnell"<EMAIL_ADDRESS>Betreff: Re: [abap2xlsx] Performance of Method Call SET_ATTRIBUTE_NC in CREATE_XL_SHEET of ZCL_EXCEL_WRITER_2007 (#388)
Hello Stefan,
it looks like the transformation ZEXCEL_TR_SHEET causes this problem.
Please try to replace the following line - seems to be a spelling error.  Unfortunately I don't have enough experience with transformations to know if this really causes problem - but if it fixes yours please let us know and we change the current transformation
Transformation: ZEXCEL_TR_SHEET - current version
      <tt:cond check="WORKSHEET.TABLES_COUNT != 0">
        <mergeCells>
          <tt:attribute name="count" value-ref="WORKSHEET.TABLES_COUNT" />
          <tt:loop ref="WORKSHEET.TABLES">
            <tablePart>
              <tt:attribute name="r:id" value-ref="R_ID" />
            </tablePart>
          </tt:loop>
        </mergeCells>
      </tt:cond>

The tag "mergeCells" should be changed to "tableParts"
      <tt:cond check="WORKSHEET.TABLES_COUNT != 0">
        <tableParts>
          <tt:attribute name="count" value-ref="WORKSHEET.TABLES_COUNT" />
          <tt:loop ref="WORKSHEET.TABLES">
            <tablePart>
              <tt:attribute name="r:id" value-ref="R_ID" />
            </tablePart>
          </tt:loop>
        </tableParts>
      </tt:cond>

Reply to this email directly or view it on GitHub:
https://github.com/ivanfemia/abap2xlsx/issues/388#issuecomment-120593342

Hello Stefan,
thanks for your solution, but it doesn't solve the problem.
So it looks with Writer2007:

And so it looks with HugeWriter and your correction:

Thanks again and best regards
Stefan

Please try latest build.  Your demo program works with the huge-writer for me.
I'll keep this issue open, since there is a major performance issue with the 2007-Writer.  After some discussion with Marcus von Cube, the author of the Huge-Writer  and some precious hints from his side I'm going to do some intensive runtime checks and try some changes to alleviate some of the problems the 2007-writer is encountering so that we finally get a version that creates excel-sheets in acceptable time but is still supporting all features.
Check back for some screenshots of my analysis some time soon.

Hello Stefan,
thank you very much for your activities and for your solution. The HugeWriter works now with my test program perfect. It needs in my case with 1k records approximately 25% of the time from the Writer2007 and it produces an error-free result.
Stefan, many thanks for your great support. I know you spend a lot of time to create this solution, thank you for that. It is superb to work with you.
Thanks and best regards
Stefan

I guess we may close this issue as it's 6 years old and seems to be solved.


pyder has encountered a problem. Sorry for the inconvenience.  You can automatically submit this error to our Github issues tracker.  Note: You need a Github account for that

Description
What steps will reproduce the problem?

What is the expected output? What do you see instead?
Please provide any additional information below
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 519, in createEditor
readonly=readonly)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 1311, in setup
readonly=readonly, remote=remote)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 1266, in init
title)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 1151, in init
minmax=minmax)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 111, in init
self.set_data(data)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 159, in set_data
self.set_size_and_type()
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 179, in set_size_and_type
for index in range(start, stop) ]
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 179, in
for index in range(start, stop) ]
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/spyder/widgets/variableexplorer/collectionseditor.py", line 78, in getitem
return getattr(self.obj, key)
File "/Users/shahzaibaziz/opt/anaconda3/envs/oldspyder/lib/python3.6/site-packages/pandas/core/generic.py", line 257, in _constructor_sliced
raise AbstractMethodError(self)
pandas.errors.AbstractMethodError: This method must be defined in the concrete class Series
Version and main components

Spyder Version: 3.2.3
Python Version: 3.6.6
Qt Versions: 5.9.6, PyQt5 5.9.2 on Darwin

Dependencies
pyflakes >=0.6.0 :  2.1.1 (OK)
pycodestyle >=2.3:  2.5.0 (OK)
pygments >=2.0   :  2.4.2 (OK)
pandas >=0.13.1  :  None (OK)
numpy >=1.7      :  1.17.4 (OK)
sphinx >=0.6.6   :  2.2.1 (OK)
rope >=0.9.4     :  0.14.0 (OK)
jedi >=0.9.0     :  0.15.1 (OK)
psutil >=0.3     :  5.6.5 (OK)
nbconvert >=4.0  :  5.6.1 (OK)
sympy >=0.7.3    :  None (NOK)
cython >=0.21    :  None (NOK)
qtconsole >=4.2.0:  4.6.0 (OK)
IPython >=4.0    :  7.9.0 (OK)
pylint >=0.25    :  2.4.4 (OK)

This is an error in Pandas. Please close Spyder, open Terminal.app and run there
conda update pandas spyder

Closing due to lack of response.


[core] Allow to reuse functions from docs:api

[x] I have followed (at least) the PR section of the contributing guide.

This PR is the counterpart of https://github.com/mui-org/material-ui-x/pull/2465. To be able to generate the API docs of the X's components reusing the same code from the core, I had to split docs/scripts/buildApi.ts into separate files. Without doing that, once a function from this file is imported its command is executed as well.

@flaviendelangle Is b311b6c related to this PR? If not, I'll revert it since this should be only a split of the functions already in use in the core, without the introduction of any new behaviors.

It is needed for a PR in progress on X. And since this one is lasting a lot longer than it should and my change is trivial, I added it here.

It is needed for a PR in progress on X. And since this one is lasting a lot longer than it should and my change is trivial, I added it here.

@flaviendelangle I'll revert it. You can add it to your fork or fork my fork and add it there. I didn't check the new part, it seems to not break anything but it's outside the scope.

Then can we take for granted that after one month without review we can merge this PR ?
I can't create a PR before that. This fork situation should not last that long.

@flaviendelangle I reverted b311b6c. You can create now a new PR with the change you added for mui-org/material-ui-x#3022


Capture setTimeout/setImmediate timings

setTimeout and setImmediate are currently uncontrolled in window.
Although this semi-works, it's a problem if it's ever used for animations, since it bypasses the whole renderchain timing we have set up for requestAnimationFrame. Additionally, unless we control these (like we do requestAnimationFrame, it's a corner case when destroying a window if that window has set and uncontrolled timeout.
The straightforward way to fix this is have our own timers that only call back at frame tick time, and can be approved or thrown away by the core.

setTimeout
tickAnimationFrame
calling tickAnimationFrame


yield* an iterable in an async generator function

async function* fn() {
  yield* [1,2]
}

Flow reports that [1, 2] is not an AsyncIterable
https://flow.org/try/#0IYZwngdgxgBAZgV2gFwJYHsICp4QBQCUMA3gFAwxioCmANgCY4DaAjADQBMAuqQL6lA

use
  yield [1,2]
}```

That's different. My code is the equivalent of
async function* fn() {
  yield 1;
  yield 2;
}

this now works


[BIOMAGE-1700] Validate and upload BD rhapsody files

Description

Details
URL to issue
https://biomage.atlassian.net/browse/BIOMAGE-1700
Link to staging deployment URL (or set N/A)
https://ui-grasp6-ui53-api20.scp-staging.biomage.net/
Links to any PRs or resources related to this PR
https://github.com/biomage-org/api/pull/20
Integration test branch
master

Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.

Code updates
Have best practices and ongoing refactors being observed in this PR

[ ] Migrated any selector / reducer used to the new format.

Manual/unit testing

[ ] Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
[ ] Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
[ ] Unit tests written or no unit tests required for change, e.g. documentation update.

Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.

[ ] Started end-to-end tests on the latest commit.

Documentation updates

[ ] Relevant Github READMEs updated or no GitHub README updates required.
[ ] Relevant Wiki pages created/updated or no Wiki updates required.

Optional

[ ] Staging environment is unstaged before merging.
[ ] Photo of a cute animal attached to this PR.

Instruction text for the upload modal

Each folder corresponds to a sample, it should contain a “_Expression_Data.st” file
Any other file will show up with a red cross and should be removed by clicking the red trash can button.
The folder with Multiplet and Undetermined cells should not be uploaded since it would distort the analysis.


fix encoding the token

Only the credentials have to be base64 encoded. The rest of the header text needs to stay in plaintext as can be seen in the powershell example. Otherwise the header will not be recognized.

@vijayma
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Trigger events on the cornerstone object fails, if the library is loaded as an AMD module

If cornerstone is used as an AMD module, the events like $(cornerstone).trigger('CornerstoneImageCacheFull', cacheInfo);, or $(cornerstone).trigger('CornerstoneImageLoaded', { image: image }); fail, because the variable cornerstone is not defined from inside cornerstone.js.

Hi Aloïs,
We noticed this as well and are trying to fix it. I'll keep the ticket open until that's complete. Thanks for the report!

I have moved Events to fire on $(cornerstone.events) so that you can use this when importing as an AMD module as well.


Dashboard Layout Problems

This plugin is great since I changed cases to a rackmount server and lost the use of the corsair PSU. However, after I install, it has a negative effect on the dashboard. Random rearrangements of the cards, it lags when changing tabs, and it wont let me rearrange back to normal without scrambling the order again. Using Unraid 6.9.1 along with IPMI tools and PSU plugins

Hi mbecraft76, have you ever tried to deactivate other plugins that are on the dashboard to find out which one affects the tasmotapm?


[SPARK-11184] [MLLIB] Declare most of .mllib code not-Experimental

Remove "Experimental" from .mllib code that has been around since 1.4.0 or earlier

Merged build triggered.

Merged build started.

Test build #43937 has started for PR 9169 at commit 409dc5d.

Test build #43937 has finished for PR 9169 at commit 409dc5d.

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/43937/
Test PASSed.

To give you an idea of how prevalent the @Experimental tag is ...

Streaming: 6
Core: 29
SQL: 42
ML: 93
MLlib: 95

Worth cleaning up MLlib I think; does anyone have particular opinions about applying similar logic to ML (anything from <= 1.4.0 is no longer Experimental, in general)? There would be much less to remove there.
Or, core and streaming? I could keep going to swat this in one logical change, but don't feel strongly enough to push on it. MLlib is the most important part to update.

MLlib has more public methods than other components, and hence more @Experimental tags:) I made some comments on the methods that I want to keep the experimental tag on. cc @jkbradley

All done, thank you. Yes I think there's a good reason MLlib has more @Experimental, also simply because it makes use of this feature a lot. ML pipelines is still mostly experimental so all of its tags are probably still meaningful.
Does anyone have thoughts on reviewing and removing the streaming/core ones too? I'll have a look at that...

Merged build triggered.

Merged build started.

Test build #44049 has started for PR 9169 at commit 1888342.

Test build #44049 has finished for PR 9169 at commit 1888342.

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

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

Merged build finished. Test PASSed.

Merged build triggered.

Merged build started.

Test build #44228 has started for PR 9169 at commit 22c6277.

Test build #44228 has finished for PR 9169 at commit 22c6277.

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/44228/
Test PASSed.

@mengxr let me know if this is OK with you. I made the updates you suggested.

This looks good to me. Btw, we haven't yet discussed the exact semantic of @Experimental. I think we haven't made any break changes on @Experimental APIs without deprecating them first in MLlib since 1.0. Then they are basically the same as stable methods. Does @Experimental mean having a better chance to be deprecated? If we don't know the exact semantic, most users/developers would be confused by the @Experimental tag.

Merged into master. Thanks! We can keep the discussion running:)

Thanks! On @Experimental, I assume it simply means that it is intended for end users (i.e. not a @DeveloperApi) but may be removed or changed at any time (without even deprecation).
While it seems nice to try to keep these stable or use deprecation, as you say, it tends to make them act like stable methods. This can be a small problem if an API is added under the theory that it's just @Experimental and is thus low-risk, but is then treated like it can't be changed.
I imagine that most users don't pay a lot of attention to the tag, and therefore might generally be surprised if such a method went away. I think all of this simply argues for more rapidly reflecting reality: lots of @Experimental methods are long since really stable and should be untagged. This is a good first crack at that.
I'll put down a to-do to do the same for core and streaming, as I think most of those tags can probably go.

@srowen Thanks for sharing your view! I agree that most users won't pay attention to the tags. It would be a surprise to users if we make break changes on @Experimental APIs without deprecating them first, the same as on stable APIs. It seems that we just want to reserve the right to change. That reminds me the user agreement from online services, which I never read ... Anyway, I think it would be better if we don't rely on the tags and treat APIs as stable ones from the very beginning.


RegenerateId must remove old session.

Here's a quick fix to remove old session when doing regenerateId().
It was there in zf1 but somehow was left out when refactoring for zf2.
In its current state if you choose to regenerateId() on each request or do a rememberMe()/forgetMe() it causes new session to be created that results in sessions proliferation quite quickly.
This fix makes old session to be removed.

I merged, but added the (bool) casting before pushing.

Great! Thanks for merging #791 too.


Master branch is 3 commits ahead of dev

Current Behavior
Need to either merge those commits to dev branch or delete them if they were added to dev separately.
Steps To Reproduce
No response
Anything else?
No response

I resolved this, but then the new cherry-pick has put it ahead by 1 again. We'll have to remember to update when we get to the next release. Your PR change should be merged into master though.


Provide convenient method to js snippet

Js error reporting can be enbabled by enbable_js option, which injects middleware to provide js snippet. This however does not always work correctly. In my case it is que-web UI which is broken by this middleware (I didn't debug it too much why it happens).
Also sometimes you don't want to include it on all pages.
To workaround this we're doing:
  <% rollbar_gem_dir = Gem::Specification.find_by_name("rollbar").gem_dir %>
  <script type="text/javascript">
    // https://docs.rollbar.com/docs/javascript
    var _rollbarConfig = {
      accessToken: 'post-client-access-token',
      payload: {
        environment: '<%= Rails.env %>'
      }
    };
    // Rollbar Snippet
    <%= raw File.read("#{rollbar_gem_dir}/data/rollbar.snippet.js") %>
  </script>

It would be nice to have something lie Rollbar.js_snippet or similar to not have to dig into gem internals to get this file.

The most straightforward way is to add it directly to your front end code, described in the Quick Start here. https://docs.rollbar.com/docs/browser-js
Your example is the ERB version of this.

Loading it from gem makes possible to change it in the future, when there is such a need. When copy pasting from docs, it will stay like this forever.
Anyway, it is only the suggestion. Feel free to close.

Makes sense. I'll keep it open.


Add RFC for Grid Primitives

This RFC describes Grid Primitives for Hyperledger Grid which provide a
reusable, standard approach to defining, storing, and consuming
properties within smart contracts, software libraries, and network-based
APIs.
Signed-off-by: Peter Schwarz<EMAIL_ADDRESS>

Rebased on master.

It feels to me like a date primitive would be very useful.  Maybe ISO 8601 (compatible) format?

Has there already been some conversation around Grid being able to make the "value" of a declared variable as sensitive? The actual content probably won't be a secret but some option to make values opaque (perhaps a hook into Pike?) could be leveraged to keep things like the route of an item not visible for reverse engineering of company supply lines.

Has there already been some conversation around Grid being able to make the "value" of a declared variable as sensitive? The actual content probably won't be a secret but some option to make values opaque (perhaps a hook into Pike?) could be leveraged to keep things like the route of an item not visible for reverse engineering of company supply lines.

Or perhaps more generically, a data_classification?  Does it make sense for the primitives to define what the classifications are, or would it be better as something implemented as a struct?

I raise the primitives being able to handle sensitive so the underlying storage of the data is able to handle both the opaqueness of the data but also be able to apply any metadata needed to remove the opaqueness - perhaps a permission tag.
The idea of data classification as a helper library would be a cool thing to have riding on top of the primitives.

I raise the primitives being able to handle sensitive so the underlying storage of the data is able to handle both the opaqueness of the data but also be able to apply any metadata needed to remove the opaqueness - perhaps a permission tag.

I wouldn't support this without more discussion and "here's why you're thinking about it wrong, Dave".  Sending encrypted fields around on a public/shared ledger is counter to fundamental principles of distributed trust. If there's sensitive data it should be on a private circuit.

I'm picking up what you're putting down, @davececchi.
I suppose the only other use case for the primitive is to be able to clearly identify where a credential might go as part of a data model (like making a request to an external API with an auth challenge). That might be a higher level concern though.

Added a commit for a Datetime data type

I'm not an approver but tossing my 💲0.02 ...
RFC looks good. The only item that jumps out at me is probably a conversation (and better understanding for me) on the way specific permissions will be tied to roles and those roles tied to agents. I make several assumptions there. The portion of the RFC that highlights this for me is making sure the Pike agent with can_create_schema and/or can_update_schema actually map to permissions with a better RBAC description (where do I modify those roles? where are these permissions actually enforced? can I map those permissions to roles in an IdP or authorization service that is external - like LDAP calls, AD, etc.).
If I had approval rights, I crush that approval button.

I propose this RFC be merged. After approval by the core subteams, this RFC will enter its final comment period. After FCP has ended, the root team will make a decision.
Approvals required to enter FCP:
Core subteam

[ ] Adeeb Ahmed
[ ] Andi Gunderson
[ ] Darian Plumb
[ ] James Mitchell
[ ] Jason Walker
[ ] Peter Schwarz
[ ] Shawn Amundson

This RFC has entered final comment period.  It will be merged on 05 Sep 2019.

FCP has ended without substantial new feedback. I propose this RFC be approved and merged. The core subteam must approve.
Core subteam:

[ ] Adeeb Ahmed
[ ] Andi Gunderson
[ ] Darian Plumb
[ ] James Mitchell
[ ] Jason Walker
[ ] Peter Schwarz
[ ] Shawn Amundson


untime/vm/virtual_memory_posix.cc: 88: error: Failed to reserve region for compressed heap: 12 (Cannot allocate memory)

--- Command "vm" (took 61ms):
DART_CONFIGURATION=DebugX64C out/DebugX64C/dart --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/DebugX64C/generated_tests/language_2/void/void_type_usage_test_conditional_return.dart

exit code:
-6

stderr:
../../runtime/vm/virtual_memory_posix.cc: 88: error: Failed to reserve region for compressed heap: 12 (Cannot allocate memory)
../../runtime/vm/os_thread_linux.h: 32: error: expected: key != kUnsetThreadLocalKey
Aborting re-entrant request for stack trace.

--- Re-run this test:
python tools/test.py -n dartk-linux-debug-x64c language_2/void/void_type_usage_test/conditional_return

===========
There are new test failures on [gardening] Add explicit type to ensure templated function applies....[vm/compiler] Write retained reasons JSON to a file..
The tests
language_2/void/void_type_usage_test/conditional_null_equals2 Crash (expected Pass)
language_2/void/void_type_usage_test/conditional_parens Crash (expected Pass)
language_2/void/void_type_usage_test/conditional_return Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/conditional_return_dynamic Crash (expected Pass)
language_2/void/void_type_usage_test/conditional_stmt Crash (expected Pass)
language_2/void/void_type_usage_test/conditional_throw Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/conditional_void_init Crash (expected Pass)
language_2/void/void_type_usage_test/conditional_while Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/field_assign Crash (expected Pass)
language_2/void/void_type_usage_test/field_assign2 Crash (expected Pass)
language_2/void/void_type_usage_test/final_local_addition Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_boolean_and_left Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_boolean_and_right Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_boolean_negation Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_boolean_or_left Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_boolean_or_right Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_cascade Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_conditional_stmt Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_do_while Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_equals_left Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_equals_right Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_for_in Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_for_in2 Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_identical Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_literal_list_init Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_literal_map_key_init Crash (expected Pass)
language_2/void/void_type_usage_test/final_local_literal_map_key_init2 Crash (expected CompileTimeError)
language_2/void/void_type_usage_test/final_local_literal_map_value_init Crash (expected Pass)
language_2/void/void_type_usage_test/final_local_literal_map_value_init2 Crash (expected CompileTimeError)
    and 99 more tests

are failing on configurations
dartk-linux-debug-x64c

Different tests today but similar errors:
There are new test failures on Roll dart_style 2.0.0 into the SDK....Remove unused code and files from analysis_server:.


Rebuild for Python 3.7, GCC 7, R 3.5.1, openBLAS 0.3.2

Fixes #4
Fixes #3

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.
I do have some suggestions for making it better though...
For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/meta.html#use-pip


FreeRTOS changes to make cmbacktrace work.

Hi,
can you please explain the changes to do in the FreeRTOS to make it work with cmbacktrace?
thank you.

Hi, because there is no StackSize information in the TCB of FreeRTOS,


Jams 0.2 announcement

Is it worth sending out an announcement about v0.2.0 to the ismir mailing list (and any other relevant lists) with links to the LBD abstract (once ready) & tech report as well as inviting people to come check the LBD during ISMIR 2015?

I punted a bunch of non-essential issues up to 0.2.2.  Maybe we should hold off for 0.2.1, which really only depends on implementing local namespaces #55 ?  I was planning to hack that out tomorrow anyway.

sounds sensible. I think the only "deadline" to consider is that it would be nice to get this out before ismir, so that you can pimp it out during the conference.

I vote +1 for the announcement (once it's ready).
On Sat, Oct 17, 2015 at 4:19 PM, Justin Salamon<EMAIL_ADDRESS>wrote:

sounds sensible. I think the only "deadline" to consider is that it would
be nice to get this out before ismir, so that you can pimp it out during
the conference.
—
Reply to this email directly or view it on GitHub
https://github.com/marl/jams/issues/74#issuecomment-148948883.


Problem of send SMS

Hello,
I installed that library in my local server.
I added api key and secret with to and from parameter in example.php
When i run example.php page in local then display OK status but message not send in phone number.
I am in india and a also add country code before phone number.
Also i used free account of nexmo.
Please guide me what is the problem?

Hello,
Sorry for add issue. That issue for another code of github library.


fix: incomaptible issue

Please merge this to fix issues related to path,diox dependency

Thanks. Merged and updated. Please check v2.0.1-diox.


virtual_elements.js/text slice arguments in local scope before call

I know the library is not yet in optimization stage, but this one may be worth looking into already as the fix is commonly used and the de-optimized function is called many times during a single patch.

Not sure why this is happening. I thought this usage should be safe since we're not passing the arguments array anywhere. Copying the values into a separate array doesn't seem necessary though. I tried the following:
for (var i = 1; i < arguments.length; i += 1) {
  var fn = arguments[i];
  formatted = fn(formatted);
}

and it seems like it optimizes fine, which make me think V8 is doing something odd here. I did try running it through Uglify and it does preserve the variable assignment. Not sure if Closure Compiler will preserve it as well.

Just for reference, fixing this improves performance by around 40% on the benchmark in the perf branch.

Looks like closure compiles it to something like:
function text(value) {
  var formatted = value;
  for (var i = 1; i < arguments.length; i++) {
    formatted = (0, arguments[i])(formatted)
  }
}

Importantly, that (0, arguments[i]) turns the invocation into a function call, not a method call (we are leaking the arguments object due to the implicit method call).

Cool! I would suggest using directly the closure output in the source, as it makes clear there is a syntactic intention to be preserved.

Sounds good to me, mind changing this PR to do that? I think adding a comment would also be helpful.

Could you rebase these two commits together? Looks good otherwise.

Whoot, nice find!


ci: add support for AppVeyor

Do not merge yet
Apparently AppVeyor was enabled. Trying to make it work now.

@drzaeus77 AppVeyor doesn't seem to be enabled in this repository: https://ci.appveyor.com/project/iovisor/bpftrace


RTL: TileCatalog: Various

Page arrows point wrong way
Not sure if this is a problem or not, but the multi-select channel stays on the right side of the card instead of shifting to the left side

Search icon moves to left align in the element.  doesn't move in LTR

still valid

:tada: This issue has been resolved in version 2.101.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Error processing zip file

There were a few odd errors:
Error processing the url https://www.psychologytoday.com/us/blog/small-social-systems/201011/keeping-your-commitments-yourself: File is not a zip file
Error processing the url https://www.verywellmind.com/what-is-the-rule-of-commitment-2795890: File is not a zip file
Why is it expecting a zip file from scraping a page?

Hi @2b3pro sometimes Selenium fails scraping certain sites. Have you tried running it again?

I'll give it a shot.


Fix Bicep Playground InvalidOperationException error

Bicep version
run bicep --version via the Bicep CLI, az bicep version via the AZ CLI or via VS code by navigating to the extensions tab and searching for Bicep
N/A
Describe the bug
A clear and concise description of what the bug is vs what you expected to happen
Currently, the playground website is not working anymore, everything fails with a InvalidOperationException error.
To Reproduce
Steps to reproduce the behavior:

Open https://azure.github.io/bicep/
Input valid Bicep code (or use any sample template)

Additional context
Add any other context about the problem here.
It's probably lacking some tests, I guess it could be avoid in the future with more complete tests and/or CI.

This should have been fixed with #15896. I've kicked off an actions run to re-deploy it here: https://github.com/Azure/bicep/actions/runs/12417557801

Resolved! Thanks for bringing this to our attention!


Cannot clear TX Buffer of CAN

Hello,
I am using a 2-Channel Isolated CAN Expansion HAT to control two DC Motors via a Raspberry Pi 4B. I am using python-can 4.3.1.
When starting the python script, I receive the "Transmit Buffer Full" Error from can/interfaces/socketcan/socketcan.py.
However, if successfully running cangen can0 and candump can0 in the terminal before running the python script, the CAN works perfectly.  It sometimes happens that running cangen can0 and candump can0 yields write: no buffer space available, in which case the CAN doesn't work. Attempting to change the CAN interface settings with functions such as sudo ifconfig can0 txqueuelen 1000 results in these errors RNETLINK answers: Invalid argument. The can0 is initialised with txqueuelen = 65536, so I don't know why I get these errors, which seem to be very random.
I checked the following threads, without any success:

https://stackoverflow.com/questions/40424433/write-no-buffer-space-available-socket-can-linux-can
https://community.carloop.io/t/socketcan-canplayer-error-sendto-no-buffer-space-available/298
https://stackoverflow.com/questions/52221802/socketcan-linux-no-buffer-space-available

I asked the manufacturer for advice, who recommended to add bus.flush_tx_buffer(). This didn't change anything.
Continuing to troubleshoot the issue, I observe that when I turn the Raspberry Pi on, running ifconfig indicates no issues. However running cangen can0, which results in the "write: No buffer space available" error message, I observe a significant amount of TX errors, as depicted below:

I have tried changing the bitrate, turning the can0 interface down then up, still doesn't resolve the issue. The only solution which works after multiple attempts is to reboot the Raspberry Pi, for which the TX errors seem to halve after every reboot (until there are non left and I can run the python script)
Below is a screenshot when running ip -det link show can0

This is the code to put the CAN Bus up at boot:
 sudo nano /etc/network/interfaces
auto can0
iface can0 inet manual
pre-up /sbin/ip link set can0 up type can bitrate 1000000 dbitrate 8000000 restart-ms 1000 berr-reporting on fd on
up /sbin/ifconfig can0 up
down /sbin/ifconfig can0 down
post-up /sbin/ip link set can0 txqueuelen 65536

Any help is fully appreciated!

Issue continued here: https://github.com/linux-can/can-utils/issues/514


Issues in Authentication

I applied all the steps including update-database for both api & application contexts, uncommented seeding data to create users (Admin & User), when I login as Admin I get an error: Invalid login attempt. Both users are already created in the db normally. Am I missing something?

Hard to say like that without debugging it! At the last submission some of the versions of package references are starred and others are not not like:

So this could be causing some issues. Ideally they should all be starred to pick the latest versions. Other than that there is also two ways of performing a login one using the default scaffolded razors that are static and located in the Server project, and the other way is by using the login which is in the client project in the Pages/Generics folder.
Can you paste the full error that we try guessing what is the problem maybe?

Actually there is no error. Simply the login failed, the seeded users (Admin & User) could not be found. The [HttpPost("SignIn")] result returned false.

I figured it out! You should just not use the seed data, but create your user, and set the EmailConfirmed to true or 1 on the database itself! It looks like it might be an issue with the password hashing in SeedData class. But when you create your new user you and set emailconfirmed in the App.db AspNetUser table then you can log in successfull, manually also set the user to have an admin role in the database and you should be good to go!

Issue solved as per your advice. Thanks a lot.

I am glad it work, just beware this is just a demo project to highlight a few topics, to make it production grade it will need still a lot of work. It  was a bit like a sandbox exercise to get Identity Core properly working with MudBlazor ;-) All the best in your endeavours!


corrected some typos

Coverage remained the same at 96.907% when pulling 881adbfb68f6530d000123a6860826aa299ac87e on Kreozot:patch-1 into 06c716de483b1e237eccd047e1fd6a79ce7e8c81 on island205:master.

nice work.


Use zfill to make sure the saved embeddings or prediction results are sortable.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Could you add descriptions for this PR?


Support std::string in OptionsParser

This PRs adds support for std::string in OptionsParser. It is illustrated in ex0 and ex0p. Some of the mesh API is changed from const char * to const std::string &. This should be backwards compatible since std::string is constructible from const char *. (If/when we support C++17, maybe using std::string_view instead of const std::string & would be better since it can avoid a copy).
The motivation for this change is that sometimes it is useful to do string operations on a command-line argument (e.g. std::string::find, std::string::rfind, std::string::operator==, std::string::operator+=, etc.). It is much easier to do this with std::string than const char *. This way, you don't need to first create a const char * to take the command line argument, and then a secondary std::string to do the string operations.

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

Merged in next for testing...


Customize Default InputView

How can I use the default InputView and customize it appearance or functionalities?
Can I use inputViewBuilder to achieve it?

The reason I asked is because I couldn't make custom inputView (made using inputViewBuilder)  work properly, like in others' comments, especially on  dismissing keyboard


Add pd.read_parquet

I have updated the commented out test added by #192
I did not include the use_nullable_dtypes parameter as it was added in Pandas 1.2.0 and data-science-types resolves Pandas to 1.1.4 (on my machine) using a clean Python 3.8.1 venv created by pyenv

Looks good! Thanks!


unknown number of lines for line chart

Hi,
Do you know if it is possible to create a line chart without knowing how many lines there will be? for instance, i am getting my data from a database, and it shows how many communications there have been by various methods (currently email and phone). I have got this working beautifully hardcoding the two lines. However, if more communication methods are added such as IM then this will change all the chart structure and the code will become large and cumbersome so i am looking for some way to do it dynamically with data provided by C# from database. Do you have any ideas?
Many Thanks,

Hi @dang2906, this sort of support question is better for Stack Overflow.
Or, I believe the Google search term you're looking for is "multiseries line chart d3", which brings up
https://bl.ocks.org/mbostock/3884955

Yep. Please use StackOverflow tag d3.js or the d3-js Google group to ask for help.

I am attempting the article referred to by @gordonwoodhull and will update this as to the results in case anybody else comes across this question. I have also asked this on stack overflow at http://stackoverflow.com/questions/35604422/dynamic-number-of-lines-on-chart/35609740#35609740


alias_method_chain deprecated in Rails 5

Fortitude appears to be pretty well Rails 5 compatible, with the exception of the use of alias_method_chain, which is deprecated and should be replaced with Module.prepend.  Please, use Module#prepend instead. From module, you can access the original method using super. (called from <top (required)> at /Users/<app>/config/environment.rb:5)

@gdpelican @harlantwood: @vlymar and I are working on a PR for Rails 5 support: https://github.com/ageweke/fortitude/pull/51
We haven't tackled these deprecation errors yet because there were some bigger issues at play,  but we plan to.
If you have a chance, we'd appreciate your thoughts on that PR :)

This has been fixed in 0.9.5, which I just released. It uses Module#prepend under the covers on Ruby 2.0 and above, but alias_method_chain on Ruby 1.8/1.9.
(Yes, I might be a masochist or insane for supporting Ruby 1.8.7 still…but, honestly, it’s not all that hard, and my experience out in the industry has been that old versions of software stick around for far longer than you’d ever imagine.)