"Branch master not found" when creating online repo

Github recently changed the default branch name to "main" (https://github.com/github/renaming). However, when you try to create a new online repo in abapGit, the default will be set to "master" leading to the following error:

Issue:
abapGit does not automatically detect the name of the default branch. The initial default branch is hardcoded to refs/heads/master (`zif_abapgit_definitions=>c_git_branch-master).
Workaround:
When creating a new online repo, enter "main" as the default branch:

I think this can be fixed. The branch list contains special branch "HEAD" which is the master branch. It was even in the branch list before, then removed. So technically should be possible to go through the branches, comparing the SHA1, and identify anonother non-HEAD branch which will be the master or main

Scanning the code for 'HEAD' may help, I can see just a couple of places, one of which is a global constant which is yet used in another couple of places.

yes, just a bit tricky since at that time the abapGit repo doesn't exist yet. ZCL_ABAPGIT_BRANCH_OVERVIEW->GET_BRANCHES requires the repo

reproduces with public repository https://github.com/larshp/head_branch_main


Move class definitions out of package objects

I mentioned this on Gitter but am creating an issue for more inclusive discussion.
I think it'd be a good idea to move all class (and trait and object) definitions that aren't implicit classes out of package objects, since having package$ prefixes on the JVM class names makes a number of things inconvenient (javap, Java interop, etc.).
This would be a breaking change but mostly (entirely?) source-compatible for Scala users. It'd be pretty straightforward to implement, and could even happen before 0.7.0 if people are on board.
Any thoughts?

+1

-Xlint says we're okay here after #292 and #295.


YJDH-676: Fetch and autofill employee data

Description :sparkles:
Fetch employee data by Employee name and voucher serial number

Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

API branch is deployed to platta: https://kesaseteli-pr2093.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

Codecov Report

Merging #2093 (2c52e40) into develop (031f8ec) will increase coverage by 0.44%.
The diff coverage is n/a.

:exclamation: Current head 2c52e40 differs from pull request most recent head a420169. Consider uploading reports for the commit a420169 to get more accurate results

@@             Coverage Diff             @@
##           develop    #2093      +/-   ##
===========================================
+ Coverage    31.14%   31.58%   +0.44%
===========================================
  Files          714      440     -274
  Lines        13521     8551    -4970
  Branches      2927     1958     -969
===========================================
- Hits          4211     2701    -1510
+ Misses        8872     5610    -3262
+ Partials       438      240     -198

see 274 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

HANDLER branch is deployed to platta: https://handler-pr2093.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://handler-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

YOUTH branch is deployed to platta: https://youth-pr2093.dev.hel.ninja :rocket::rocket::rocket:

EMPLOYER branch is deployed to platta: https://kesaseteli-pr2093.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://kesaseteli-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://youth-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

Fixed linting issues, but youth still might fail test, not sure what is that, not related to my task. I think Kari merged at least to develop branch all latest backend changes. Yes, should be installed with frontend to production.

HANDLER branch is deployed to platta: https://handler-pr2093.dev.hel.ninja :rocket::rocket::rocket:

EMPLOYER branch is deployed to platta: https://kesaseteli-pr2093.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://handler-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://kesaseteli-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://youth-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

API branch is deployed to platta: https://kesaseteli-pr2093.api.dev.hel.ninja/healthz :rocket::rocket::rocket:

HANDLER branch is deployed to platta: https://handler-pr2093.dev.hel.ninja :rocket::rocket::rocket:

TestCafe result is success for https://kesaseteli-pr2093.dev.hel.ninja :laughing::tada::tada::tada:

TestCafe result is success for https://youth-pr2093.dev.hel.ninja :laughing::tada::tada::tada:


Add GeoJSON spec to Dev center

@jpcedenog thanks for this update. Few suggestions:

Let's make it explicit that the features only need to have geometries to be processed by Sust Global and all other key value properties like properties are optional?
We should be explicit that we only support points, polygons and multi-polygon geometries and do not support LineString geometries at the moment.
We only support geojsons and do not support shapefiles. If you have a shapefile representing geometries, you need to use a separate tool like QGIS or ARCGIS to convert the shapefile to a geojson
We should add a line on the edge limit and area limit on the geometries. @christopher-lowrie would like the right values here.

@jpcedenog The edge limit is 35K, the portfolio area limit is 100K sq km.

@jpcedenog also, I believe the portfolio link for geojson is 2K (not 5K like for CSV files). Can you add that to the line listing 5K portfolio limit for point based CSV files


Added Dash0 trace export documentation

Affected Components

[ ] Content & Marketing
[ ] Pricing
[ ] Test
[x] Docs
[ ] Learn
[ ] Other

Notes for the Reviewer
Added documentation for Dash0 trace integration

Actually even misspelled "Authorization" . Thanks all suggestions applied

Actually even misspelled "Authorization" . Thanks all suggestions applied

Oh, I missed that on my first pass! Thanks for catching it in yours!

Looks like you need to do the vercel deploy. I lack permission


Improve Observations Indexes

Describe the feature you'd like and what it will do
The primary key index for Observations should be ordered "datastreamId → phenomenonTime"
The unique index on observation ID should be separate.
Why is this feature important?
These indexes will help speed up Observations queries as more rows are added to the table.
Is your feature request related to a problem? Please describe.
No response
Any additional comments?
No response

https://github.com/hydroserver2/hydroserver-webapp-back/tree/123-observation-indexes


VariantParser: Encoding issue for Unicode chars when loading/streaming

In my project path i have a directory called 'Développement', the first time i launch a project the terminal display a normal output:
OPENING:.../Développement/...::Développement::...

But the second time it display:
OPENING:.../Développement/...::DÃÂ©veloppement::...

Then:
OPENING:.../Développement/...::DÃÂÃÂÃÂÃÂ©veloppement::...

And rapidly it can take one minute for display dozens of lines just for the path.
Ubuntu 14.04.
Edit:
workaround: restore editor_settings.tres each time before to launch Godot

Confirmed reproducible on Linux with Godot 3.0, working on it.

Simple test that reproduces the issue with ConfigFile:
	var accented = "/path/to/héllo"

	var cfg = ConfigFile.new()
	cfg.set_value("test", "projects/" + accented.replace("/", "::"), 42)
	cfg.save("res://test.cfg")

	# Load from scratch
	cfg = ConfigFile.new()
	cfg.load("res://test.cfg")
	print(cfg.get_section_keys("test"))
	print(cfg.get_value("test", "projects/" + accented.replace("/", "::")))

prints:
[projects/::path::to::hÃ©llo]
ERROR: get_value: Couldn't find the given section/key and no default was given
   At: core/io/config_file.cpp:90.
Null

Here's a basic project that reproduces the bug in ConfigFile as shown above: bug_6888_unicode.zip
I've traced the issue back so far to:

Here assign will already be Ã instead of é:
https://github.com/godotengine/godot/blob/e4213e66b2dd8f5a87d8cf5015ac83ba3143279d/core/io/config_file.cpp#L184
Same here:
https://github.com/godotengine/godot/blob/ac2a9bb26718f5e5a699eb24ca0868ede55e7f0d/core/variant_parser.cpp#L1501
Need to go further up in CharType and FileAccess stuff and there I'm totally clueless...

CC @hpvb to the rescue :P

As seen in #16850, this seems to be mitigated if the strings read by VariantParser are quoted - so maybe we just need to ensure that strings which non-ascii characters are always quoted when written to a text file.

This diff makes my above reproducer work fine:
diff --git a/Node2D.gd b/Node2D.gd
index 73e6bbc..6a9dc45 100644
--- a/Node2D.gd
+++ b/Node2D.gd
@@ -4,7 +4,7 @@ func _ready():
        var accented = "héllo"

        var cfg = ConfigFile.new()
-       cfg.set_value("test", accented, 42)
+       cfg.set_value("test", '"' + accented + '"', 42)
        cfg.save("res://test.cfg")

        # Load from scratch
diff --git a/test.cfg b/test.cfg
index 326d10b..cc911bc 100644
--- a/test.cfg
+++ b/test.cfg
@@ -1,3 +1,3 @@
 [test]

-héllo=42
+"héllo"=42


rain-bittorrent: 1.13.0 -> 2.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/cenkalti/rain/releases.
meta.description for rain-bittorrent is: BitTorrent client and library in Go
meta.homepage for rain-bittorrent is: https://github.com/cenkalti/rain
Updates performed

Golang update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.0.0 in filename of file in /nix/store/b06j9zh7g1b9h5mlr8s487n69cq793js-rain-2.0.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

rain-bittorrent

Instructions to test this update (click to expand)

Either download from the cache:
nix-store -r /nix/store/b06j9zh7g1b9h5mlr8s487n69cq793js-rain-2.0.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nixpkgs-update-cache.nix-community.org/' \
  --option trusted-public-keys '
  nixpkgs-update-cache.nix-community.org-1:U8d6wiQecHUPJFSqHN9GSSmNkmdiFW7GW7WNAnHW0SM=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The nixpkgs-update cache is only trusted for this store-path realization.)
For the cached download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A rain-bittorrent https://github.com/r-ryantm/nixpkgs/archive/09a3af9956c1e8f765143bc02e07e4f6df23cb74.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/09a3af9956c1e8f765143bc02e07e4f6df23cb74#rain-bittorrent

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/b06j9zh7g1b9h5mlr8s487n69cq793js-rain-2.0.0
ls -la /nix/store/b06j9zh7g1b9h5mlr8s487n69cq793js-rain-2.0.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

rain-bittorrent

Maintainer pings
cc @justinrubek @matthewdargan for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge


Indention

On the title screen, you should include how to perform indents with inline HTML " "
This would help a lot with Homebrew creations! I love the website and I'm making a TON of homebrew classes and races between college classes for my groups. Keep it up!
And, of course, Homebrewy is heavily credited on the final page of the binder.  Take care!

Not quite sure I'm following what you mean.

Re-open if you can clarify your issue.


fixes CRDB watch implementation accumulating past updates

when the timestamp to start emitting updates from
is way in the past, CRDB will not emit checkpoints.
As a consequence, every update in the w.r.t to the moment the changefeed was created will accumulate
in memory and OOM the process with a large enough
backlog.
The proposed solution is to compute one checkpoint from the real-time stream of updates, and then use that as the high-watermark for the backlog of
changes from the past. We need to emit all the updates before we can emit a checkpoint, so downstream callers would have to handle it accordingly.

superseded by https://github.com/authzed/spicedb/pull/2120


seash should upload multiple files with one command

It would be great if we could have seash upload multiple files using a single command. Currently, you would go and say
user !> upload file1.r2py
user !> upload file2.r2py
user !> upload datafile

Let's have a single
user !> uploadfiles file1.r2py file2.r2py datafile

Implemented as a new seash module, uploaddir, in a097c9559cb2d7f5ec4259062b46487d7b14ff50. Closing!


Connection reset by peer - SSL_connect

Not too familiar with Ruby, so my troubleshooting may be a bit limited, but copying your syntax with the software installed yielded a Connection reset by peer - SSL_connect (Errno::ECONNRESET)

what command caused that error message?
can you paste the contents of your Gemfile.lock here?


Disable Mechvibes when fullscreen application is up.

Speak for itself. If it possible - maybe it will work with borderless windowed?

This is definitely not possible with our tech stack, but you should be able to work around this either by muting mechvibes before opening fullscreen or by making use of the planned feature #126


Feature/rollups  dupe target fix

Critical Changes
Changes

When a deactivated rollup is reactivated from the custom UI, its target field is checked against existing active rollups before save. If it matches one, save is blocked and helpful message is exposed to the user.

Issues Closed
New Metadata
Deleted Metadata

@bethbrains The code looks like there are more changes than just the one item listed above (such as field types), or are all those changes related to the dupe check?

@force2b I accidentally rebased off Randi's branch. If that merge gets propogated down correctly, this one should functionally be only one commit.


Release version 0.5.16

Update version to 0.5.16 with cargo-release.
Merge this PR to build and publish a new release.

Waiting for a few more changes.


Color:fix setting V switch S to old V value

The bug:
var c = Color(0.1,0.2,0.3)
print(c.h,c.s,c.v)
c.v=0.6
print(c.h,c.s,c.v) # s is  wrongly set to 0.3

Hehe, I was looking at this literally 15 min ago but missed it :)


Adds unit tests for serializers

Changes
Adds unit tests for serializers:

Ensures that data is written to CSV and TSV files correctly (test_csv_serializer and test_tsv_serializer)

All filenames have the correct extension
The expected headers were written to the spreadsheet

The correct number of rows were written to the spreadsheet
Ensures that different filemodes are handled correctly

Write file modes should result in the creation of a file
Read-only file modes should result in a TypeError exception being thrown

Makes a number of changes to serializers:

raising an exception if the filemode is read-only.
always appends the correct extension to the filename, either replacing the incorrect extension or adding it if doesn't exist.
adds an extension property to CSVWriter and TSVWriter.
updating docstrings to conform with Google format.

Questions

Is the filename handling too overboard? Do we need this?
It would be possible to refactor test_csv_serializer and test_tsv_serializer into a single test function by adding another for loop. How do folks feel about this - the tradeoff is legibility over concision.

fixes #38

I think this PR also fixes #55, since it updates the serializers' docstrings to the Google format. The data helpers already have docstrings in the Google format from the last sprint, so I think that covers things for now?

@HaSistrunk good call, updating the PR description.


Add a new field subnets for machine pool

They can span across more than one subnet for multi-az cluster. This way it's backwards compatible until we are ready to migrate to this new field.

So this will not be useful as we remove the default machine pool which creates nodes in all subnets then create one machine pool designated for each AZ/subnet, and there is no way to provide more than one subnet ids when creating a machine pool through ROSA CLI and OCM API.


Should trains/obstacles self-generate

Instead of keyboard controls (which are ok for debugging), make objects on the track generate and appear (randomly?) automatically.

Added a spawner class that handles all spawning of trains and barriers. All obstacles on the screen are spawned based on spawn thresholds defined in constants. Works functionally but needs tweaking to get spawn rate how we want it


the keys of the raw data

I want to express my gratitude for kindly open sourcing your code. I am currently studying your paper "Seamless lightning nowcasting with recurrent-convolutional deep learning" and I am trying to understand the details of your code. However, I have encountered a problem with the keys of the raw data, which are "dict_keys(['patches', 'patch_coords', 'patch_times', 'zero_patch_coords', 'zero_patch_times', 'zero_value'])". Could you please provide me with more information on what these keys represent?

Hi, thanks for your interest in the code. The training data is is stored in patches of 32x32 pixel size from which the training samples are built. The patches variable contains the actual data and the patch_coords and patch_times fields encode the time and coordinates of each patch.
We also optimize the storage space by saving the location of "empty" patches (for example, for the precipitation variables, those patches that have no precipitation) separately, hence the zero_patch_coords and zero_patch_times fields. These are filled with zero_value when the patches are built.

Thank you for your quick reply. I have been working with some data on convection patches and I have a couple of questions that I was hoping you could help me with.
Firstly, I have been able to easily understand the patch_coords and patch_times, but I am unsure about the zero_patch_coords. Could you help me determine what coordinates are stored in the zero_patch_coords?  if all points are zero, which point should use as zero_patch_coords? I would greatly appreciate any insights or explanations you may have on this.
Additionally, I have randomly plotted the patches data and patch_coords and have found that some of the coordinates appear to be outside of the convection area. I am unsure why this is the case and was hoping you might be able to shed some light on this issue.
Thank you in advance for your help.
the red point is the patch_coords corrsponding to the patches data.

Hi, the patch_coords variable does not refer to coordinates in the patch but rather the coordinates of the patch itself when the training sample is constructed. For example, if you have four patches that have the same patch_times and their patch_coords are (8,8), (8,9), (9,8), (9,9) then you can combine those patches to make a bigger training sample.
Some of the patches are outside the convection area because we are building bigger training samples out of them.

Thank you very much for your reply! May I ask how the scale attribute in raw data  has been processed such as raw ["RZC"] ["scale"]?

The scale attribute is based on how the data were originally stored. I have retained it to keep the files smaller as it allows storing them in 8-bit format.

Thank you very much for your answer! It is very helpful to my understand.


Add support for py39

Adds support for py39

[x] Bump requires-python in TOML
[x] Cap versions of jax and scipy, which have dropped support for py39 in later releases.

Note, the README shield will be updated when we release to PyPI.

I added Python 3.9 to the CI matrix in 40163bec828.  If this passes, I think it is good to go.


Remove "\n" and quotes (" ") on inputs and results section on the GUI and show as python strings.

@Prasy12 is this completed ( i assume so?)


Here my list

http://paste.ee/p/t8Dxg
Hope this helps your project.
:+1:

Thank you very much. Your dataset added the amounts for over 100 games. This definetly helps. Stay tuned for updates. If you have feature-requests let me know.


update controller-gen

currently controller-gen is version 0.6.2.
when upgrade to 0.7.x or later, harbor can't start up, because harbor CR status is missing

fixed by https://github.com/goharbor/harbor-operator/pull/962


humaneva dataset train and test error

hello, thanks for your great work!
while I train and test the model on humaneva dataset, I've met with the following problem, and the dataset is generated as your guideline of VideoPose3D, and I found and located where the output become 0 (guess it may be the reason), but I don't understand why it happened, could you please help to solve it? Thanks very much!
The error:
Traceback (most recent call last):
File "/home/PoseEstimation/GAST-Net-3DPoseEstimation-master/main.py", line 338, in evaluate
epoch_loss_3d_pos_procrustes += inputs_3d.shape[0] * inputs_3d.shape[1] * p_mpjpe(predicted_3d_pos, inputs)
File "/home/PoseEstimation/GAST-Net-3DPoseEstimation-master/common/loss.py", line 34, in p_mpjpe
U, s, Vt = np.linalg.svd(H)
File "/usr/local/python3.6.1/lib/python3.6/site-packages/numpy/linalg/linalg.py", line 1612, in svd
u, s, vh = gufunc(a, signature=signature, extobj=extobj)
File "/usr/local/python3.6.1/lib/python3.6/site-packages/numpy/linalg/linalg.py", line 106, in _raise_linalgerror_svd_nonconvergence
raise LinAlgError("SVD did not converge")
numpy.linalg.LinAlgError: SVD did not converge
The location where input and output become 0:
def relu(input, inplace=False):
# type: (Tensor, bool) -> Tensor
r"""relu(input, inplace=False) -> Tensor
Applies the rectified linear unit function element-wise. See
:class:`~torch.nn.ReLU` for more details.
"""
if inplace:
    result = torch.relu_(input)

%when the forward process passes through the above line, both the input and output suddenly become 0, which are both normal before.

Hi~
I just trained and test the model on HumanEva dataset, but I didn't meet the problem. Please check if the training set and test set of HumanEva are ok.

Train

python trainval.py -d humaneva15 -e 200 -k detectron_pt_coco -d humaneva15 -arc 3,3,3 -drop 0.5 -b 32 -lrd 0.98 -str Train/S1,Train/S2,Train/S3 -ste Validate/S1,Validate/S2,Validate/S3 -a Walk,Jog,Box --by-subject

Test

python trainval.py -d humaneva15 -e 200 -k detectron_pt_coco -d humaneva15 -arc 3,3,3 -drop 0.5 -b 32 -lrd 0.98 -str Train/S1,Train/S2,Train/S3 -ste Validate/S1,Validate/S2,Validate/S3 -a Walk,Jog,Box --by-subject --evaluate epoch_200.bin

Hi~
I just trained and test the model on HumanEva dataset, but I didn't meet the problem. Please check if the training set and test set of HumanEva are ok.

Train

python trainval.py -d humaneva15 -e 200 -k detectron_pt_coco -d humaneva15 -arc 3,3,3 -drop 0.5 -b 32 -lrd 0.98 -str Train/S1,Train/S2,Train/S3 -ste Validate/S1,Validate/S2,Validate/S3 -a Walk,Jog,Box --by-subject

Test

python trainval.py -d humaneva15 -e 200 -k detectron_pt_coco -d humaneva15 -arc 3,3,3 -drop 0.5 -b 32 -lrd 0.98 -str Train/S1,Train/S2,Train/S3 -ste Validate/S1,Validate/S2,Validate/S3 -a Walk,Jog,Box --by-subject --evaluate epoch_200.bin

@fabro66 Thanks for your help! I have reprocessed the data, trained and tested the model, and now there is no problem. Although I do not know the exact cause of the previous problem, it is now working normally.

@fabro66 Thanks for your help! I have reprocessed the data, trained and tested the model, and now there is no problem. Although I do not know the exact cause of the previous problem, it is now working normally.

Glad to hear that you solved the problem！

Glad to hear that you solved the problem！


Portal adds VMware Application Catalog related configuration and report content

1.Portal adds VMware Application Catalog related configuration and report content

2.Portal nav structure adjustment
3.Portal report list adds multi-column filtering

Codecov Report

Merging #233 (2d79088) into main (4efea85) will increase coverage by 0.28%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #233      +/-   ##
==========================================
+ Coverage   57.74%   58.03%   +0.28%
==========================================
  Files          17       17
  Lines        1233     1239       +6
==========================================
+ Hits          712      719       +7
+ Misses        475      474       -1
  Partials       46       46

Flag
Coverage Δ

unittests
58.03% <ø> (+0.28%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.
see 1 file with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Embedded quotes borked

When doing ... with an embedded quote, the quote will not have an id#. Example shown here https://imgur.com/a/B1ffO. Also, when doing .qid with an embedded quote id#, it will not display the quote id# and who made but will display the quote. Example shown here https://imgur.com/FTteWbZ. Please fix embedded quotes to show id# when ... is done and to show id# and who made it when .qid is done.

Find the qid with liqu. The point of the embed is for it to look clean.

But what if i want to know who made the embedded quote?

.qsearch will show ID but not who made it

.liqu will.

Re-open. The main bug (not being able to quickly retrieve author of an embedded quote) remains unfixed.


[Feature] get maximum device memory allocated in train log

In training log, maximum device memory allocated is shown.

This PR conflicts with the latest code, please fix it

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


firefox is still a bit buggy so we mark it as not supported

Works for me!

Indeed it is still quite buggy for Firefox. Think this was due to Firefox not supporting the gradient? I guess it is better to not support it for now.

Also works with me :+1:


[Bug] Set current date for date type when create table will be failed

Search before asking

[X] I had searched in the issues and found no similar issues.

Version
Doris version doris-2.0.3-rc06-37d31a5
What's Wrong?
I am going to create table, a column named sale_date which date type is date, and I want set it's default value to current date, sample sql like below:
use test;
CREATE TABLE IF NOT EXISTS sale_detail  (
id int not null comment "id",
sale_date date NOT NULL COMMENT "销售时间",
update_date DateV2 not null
)
PARTITION BY RANGE(sale_date)
(
PARTITION P_202111 VALUES [('2021-11-01'), ('2021-12-01'))
)
DISTRIBUTED BY HASH(id) BUCKETS 10
PROPERTIES (
"replication_num" = "3",
"bloom_filter_columns"="id",
"dynamic_partition.enable" = "true",
"dynamic_partition.time_unit" = "MONTH",
"dynamic_partition.time_zone" = "Asia/Shanghai",
"dynamic_partition.start" = "-2147483648",
"dynamic_partition.end" = "2",
"dynamic_partition.prefix" = "P_",
"dynamic_partition.replication_num" = "3",
"dynamic_partition.buckets" = "3"
);
ALTER TABLE test.sale_detail MODIFY COLUMN sale_date Date DEFAULT CURRENT_DATE NOT NULL;
Or set default value directly when create table:
CREATE TABLE IF NOT EXISTS sale_detail  (
id int not null comment "id",
sale_date date NOT NULL default CURRENT_DATE COMMENT "销售时间",
update_date DateV2 not null
)
...
No mater which case, the sql has run failed.

What You Expected?
I am able to set a default value for Date type.
How to Reproduce?
Please run sql in above.
Anything Else?
No response
Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

试了下date确实不能添加默认值，datetime(3)可以添加默认值CURRENT_TIMESTAMP(3)

试了下date确实不能添加默认值，datetime(3)可以添加默认值CURRENT_TIMESTAMP(3)

datetime(3)这个我知道是支持，我们现在的场景是想用date类型🤣


Ant+ dropouts with Keiser new ‘M connect’ computer introduced mid ‘21 onwards

newly introduced Keiser computer mid 2021 (upgrade available to users from mid 2021) standard on 2022 us bikes I believe.
dropouts in Power over ant+ seen - (previous ant+ position fine prior to computer upgrade - and even positioned next to watch still saw drops in signal)

this was using power and cadence profile from Gymnasticon over ant+, and speed cadence from the new Keiser computer over bluetooth to fenix 6 - at same time.
As Gymnasticon now provides speed - it’s whether it was the speed connection over Bluetooth from new Keiser computer that causes interference??
(I don’t think I tested it without Keiser speed connected). Def Looks like I need to swap over to my newer computers again to see if problem still persists for newer Keiser M3i computer users.
I’m off work as it’s half term so will try this week.

So - please note this only relates to New Keiser M connect computer intro 2021/22.
Connecting Gymnasticon ant+ to fenix for p/c/s.
Connecting Gymnasticon to power in zwift.
intermittend issue where all stats drop to 0 at same time (ant and bl) - only way to reset is to go to menu on zwift which seems to reset connection.
M Garmin connect stat shows where it drops out over P/C and speed same.

Zwift analyser indicated no disconnection within same time frame

so makes me think it’s something to do with the new mix of Keiser computer and gymnasticon.

only suggestion is to use the new Keiser computer for connecting to zwift, and use gymnasticon ant+ only which seems to solve the issue.

Quick test again today Ant+ donegle repositioned on 2m extension cable (so 2m away from Raspberry pi) and 1m away from new Keiser M connect computer to see if it helped (I think its the new computer TBH as this never happens on older computer for me) - Note it took 20 seconds to refund the signal at [2022-03-01T15:16:52.819Z] which is the dropouts being seen in ANT+ on garmin watch as well as on swift (even though Zwift says there's no dropout in signal when checked - just drops to 0)

[2022-03-01T15:16:50.841Z] received stats from bike [power=30W cadence=70rpm speed=15.54km/h]
[2022-03-01T15:16:50.875Z] wheel rotation [timestamp=1646147810875.354 revolutions=72 speed=15.54km/h power=30W]
[2022-03-01T15:16:51.047Z] pedal stroke [timestamp=1646147811047.4243 revolutions=42 cadence=70rpm power=30W]
[2022-03-01T15:16:51.362Z] wheel rotation [timestamp=1646147811360.9138 revolutions=73 speed=15.54km/h power=30W]
[2022-03-01T15:16:51.848Z] wheel rotation [timestamp=1646147811846.4736 revolutions=74 speed=15.54km/h power=30W]
[2022-03-01T15:16:51.905Z] pedal stroke [timestamp=1646147811904.5671 revolutions=43 cadence=70rpm power=30W]
[2022-03-01T15:16:52.333Z] wheel rotation [timestamp=1646147812332.0334 revolutions=75 speed=15.54km/h power=30W]
[2022-03-01T15:16:52.762Z] pedal stroke [timestamp=1646147812761.71 revolutions=44 cadence=70rpm power=30W]
[2022-03-01T15:16:52.819Z] wheel rotation [timestamp=1646147812817.5933 revolutions=76 speed=15.54km/h power=30W]
Stats timeout: Restarting BLE Scan
[2022-03-01T15:16:52.875Z] received stats from bike [power=0W cadence=0rpm speed=undefinedkm/h]
[2022-03-01T15:17:08.690Z] received stats from bike [power=3W cadence=25rpm speed=3.62km/h]
[2022-03-01T15:17:08.710Z] pedal stroke [timestamp=1646147828692 revolutions=45 cadence=25rpm power=3W]
[2022-03-01T15:17:08.715Z] wheel rotation [timestamp=1646147828693 revolutions=77 speed=3.62km/h power=3W]
Stats timeout: Restarting BLE Scan
``

https://github.com/ptx2/gymnasticon/pull/89#issuecomment-947848551 - totally forgot that we'd had a discussion about this previously @chriselsen .
Have had a mess about/tweaking and for the life of me haven't managed to find any way of imroving this issue.
So new keiser m3i computer still has old BLE shown as 'M3', but now also has M3i#000 (3 dig numbers based on bike number allocated) - this new bluetooth has Cycling speed and cadence and fitness machine.  NRF Connect screenshots attached.

Bike will connect ok to computer - but every no wand then will loose connection between bike and Gymnasticon and can take up to 60 seconds (if it does eventually reconnect)..

Keiser M3 bike version:  6.46  (Stats timeout:  2  sec.) [2022-03-02T15:49:58.401Z] bike connected d0:1e:2f:c4:ff:bc [2022-03-02T15:49:58.496Z] ANT+ stick opened [2022-03-02T15:49:58.862Z] received stats from bike [power=4W cadence=31rpm speed=4.41km/h] [2022-03-02T15:49:58.885Z] pedal stroke [timestamp=1646236198868 revolutions=1 cadence=31rpm power=4W] [2022-03-02T15:49:58.894Z] wheel rotation [timestamp=1646236198872 revolutions=1 speed=4.41km/h power=4W] [2022-03-02T15:49:59.368Z] received stats from bike [power=4W cadence=26rpm speed=4.41km/h] [2022-03-02T15:49:59.879Z] received stats from bike [power=4W cadence=26rpm speed=4.41km/h] [2022-03-02T15:50:00.584Z] wheel rotation [timestamp=1646236200583.0205 revolutions=2 speed=4.41km/h power=4W] [2022-03-02T15:50:00.898Z] received stats from bike [power=3W cadence=26rpm speed=3.62km/h] [2022-03-02T15:50:01.177Z] pedal stroke [timestamp=1646236201175.6924 revolutions=2 cadence=26rpm power=3W] [2022-03-02T15:50:01.408Z] received stats from bike [power=3W cadence=26rpm speed=3.62km/h] Restarting BLE Scan [2022-03-02T15:50:02.427Z] received stats from bike [power=2W cadence=20rpm speed=2.78km/h] [2022-03-02T15:50:02.937Z] received stats from bike [power=2W cadence=20rpm speed=2.78km/h] [2022-03-02T15:50:03.298Z] wheel rotation [timestamp=1646236203297.2651 revolutions=3 speed=2.78km/h power=2W]

Its most definitely auto connecting to ic4 when it drops - so, quick and dirty solution is to either remove ic4 from the autodetect, or just remove the auto detect entirely I guess! ( adding in the gymnastics.json doesn't appear to override the autodetect)

Removing ic4 profile etc hasn’t helped at all, reading on fb groups others having dropouts using Keiser BLE connection (old m3 BLE) - so it’s looking more like an issue with the new computer rather than gymnasticon. (Although no dropouts seen using the keiser app to connect)

Right, I’ve been testing this for weeks now (on pi zero 1) it’s doesn’t appear to be gymnasticon but either the pi’s /the new Keiser hardware that has the issue. Tested it with zwift connected to new Keiser computer (M connect) which sends out fitness bike profile over BLE, Gymnasticon connected to Keiser direct BLE connection (standard connection) and sending the ant+ to my Garmin watch.
On pi zero (v1) and it’s working pretty much flawlessly. Changes I made, full apt update gymnasticon Keiser file I set dropout from 2s to 3 and set wifi (mainly to alter Bluetooth Channel’s) to JP in config which seems to have sorted it. Only minor drops seen in image-

Using the same sd card in a pi zero 2 - it’s still dropping out for 30s at a regular intervals -

Tried apt update all and nothing has improved over ant+/Bluetooth.
@chriselsen - any other suggestions to try?? It’s clearly related to pi hardware..

The only idea I could come up with is to use a USB extension cable and move the ANT+ stick away from the Pi and its Bluetooth/Wifi antennas.
I usually do that anyways to brink the ANT+ stick closer to the bike handle, where my wrist with the Garmin watch is and have pretty much no connectivity issues with ANT+ that way.

Funnily enough that was the first thing I tried when I saw the issue as I assumed it was interference from the additional Bluetooth. Made no difference unfortunately with a 2m long extension for ant+. Also moved pi away from bike computer etc.
connecting pi and the keiser app to the bike (both using same Keiser direct BLE - and when pi drops to 0 for 30s the app is still working showing correct stats so Keiser computer is definitely still sending data - so it looks like it’s a pi02 issue..(checked this when I saw this on the Keiser website) -

Ok I’ve got it working on pi02, - 7s seconds works with new M connect computer.
Keiser M3 bike version:  6.46  (Stats timeout:  7  sec.) any less and the 30s dropouts start..

const KEISER_STATS_TIMEOUT_NEW = 7.0


generalize links so they auto-build to current repo

or change snowexhackweek --> TEMPLATE. If we want to get fancy eventually, we could have a script that renames every occurance of TEMPLATE with the new repository name https://github.com/stactools-packages/template/blob/main/scripts/rename documented here https://github.com/stactools-packages/template#how-to-use
Originally posted by @scottyhq in https://github.com/uwhackweek/jupyterbook-template/pull/16#discussion_r718108697

I think we've largely addressed the spirit of this issue by generalizing the base_url as a variable in the config file. I suspect we'll still find places where it'd be great to have more automated customization (and I like the idea of incorporating it all with cookie cutter to make it easier for those setting up the template), but for now I think we can consider this done. Feel free to reopen if there are any objections!


ISIL March Accross Iraq not released

id:387bfd7f9d204139b7201da2472ec8e8
This Map Journal is being used in content produced by the National Security Team.
@kerryrobinson FYI.
Content looks good if we have appropriate permissions.
@CraigCleveland

@conklinbd @kerryrobinson I spoke directly to the Esri Media team on this one as they were the original authors to clarify the licensing.  We (Esri) created it at the request of Mashable and were using their license to access the AP images and text.  So although fine to use in a public setting we do not necessarily have the rights to copy the images/text and package them up for redistribution.  I made the suggestion to @nfeuerstein that we could recreate the product using similar images from Wikimedia, and with our own text for a future release.

OK, thanks Craig, that sounds fine.  For my What is Web GIS app (which is a Map Series story map) I just need to reference another story map or briefing book on the Ops Server that is a good example.
Maybe the Incident Briefing Book (https://nsec.esri.com/SolutionsWeb/Apps/NationalIntel/BriefingBook/?bookId=735dc51d834e4afb8d8e059bfeb64053) is a good one since it is released?
@conklinbd just let me know how I can now udpate my story map to reflect this change.

@kerryrobinson can you remind me which item id uses this map journal?

@conklinbd id:a0944c6a2b4f4847863af010461c24a5

Item reassigned. Assign back to me when it is ready to release.

Unfortunately the Incident Briefing story map is a map journal just like the one i'm embedding it into so it doesn't look great. But there are no other released story maps that I can choose so I've gone ahead and made the changes.
Reassigning to Ben to release.

@kerryrobinson I agree this doesn't look good. If I have a few minutes I might recreate the old AAR story map that we had for Afghanistan. At least we have data permissions for that.

@conklinbd I was thinking the same thing. The map tour is a good one to show, so the AAR would be great.

Ok. I created a Story Map id:932fd43122d24c28ad408ef4b9387746.
This item and the web map id:13a6ba5d51b1467983cfb3bf0e96b78b will need to be released.
I have updated this Journal and Reassigned back to my user.
@lfunkhouser can you review and release the Story Map and Web Map. I made it quickly so please check it out.

@conklinbd I just took a quick look, the description for the Story Map (mainstage) will need to change from talking about an Incident Report to an After Action Report.

Ok. I fixed that.

I am realizing that this issue has gotten to be large. I am moving the release issue to a separate item.
I am closing this item, unless you see any additional errors @kerryrobinson then you can reopen.


Add log message when no pending block to improve debugging

I suggest adding a log message when there is no pending block to improve debugging.

Please refrain from presenting inconsequential changes to the codebase in a pull request.


Login using accesstoken and refresh token

Found that the access/refresh token is valid for 90 days.
Why NOT we use that instead of MFA everytime.. if we can personally manage and cache.
Can we have API added api_login(id, access_token, refresh_token) ?

Right, I got the access/refresh token by calling the wb.refresh_login(), but there's no method to login/make request with them.

I've made a pull request with api_login() option. Or you can add it to your own fork as well.
Here is an example use
from webull import webull

# Set your credential as global variables
EMAIL = ''
PASSWORD = ''
PASS_CODE = ''

wb = webull()
creds = wb.login(EMAIL, PASSWORD)

ACCESS_TOKEN = creds['accessToken']
REFRESH_TOKEN = creds['refreshToken']
TOKEN_EXPIRE = creds['tokenExpireTime']
UUID = creds['uuid']

def test():
    wb = webull()
    wb.api_login(access_token=ACCESS_TOKEN, refresh_token=REFRESH_TOKEN,
			token_expire=TOKEN_EXPIRE, uuid=UUID)
    wb.get_trade_token(PASS_CODE)

    positions = wb.get_positions()
    print(positions)


Skip AuthenticationMiddleware for log-cache endpoints

Is there a related GitHub Issue?

https://github.com/cloudfoundry/cf-k8s-controllers/issues/362

What is this change about?
Right now the CF CLI is omitting the authorization header for the log-cache endpoints for some reason. I've got an open Slack thread about that and will link the issue for it once it exists.
As a mitigation this change omits our hard-coded log-cache endpoints in the AuthenticationMiddleware.

/api/v1/info is a discovery endpoint and doesn't require
authentication in general
/api/v1/read/<app-guid> eventually will require authentication, but
doesn't right now since we are returning a hard-coded empty list of
envelopes. Eventually we will want Auth here.

Does this PR introduce a breaking change?
No
Acceptance Steps
Follow the A/C on https://github.com/cloudfoundry/cf-k8s-controllers/issues/362 or try to cf push an app. You shouldn't see 401 errors anymore while trying to hit log-cache.

Thanks @Birdrock , I threw away the go.mod changes. They must have came about when I was trying to get golangci-lint working on my machine.


Error Exception:

Hello, thanks for this contribution.
i'm trying implement a workflow with model Proveedor, but return Interface 'raoul2000\workflow\base\IWorkflowDefinitionProvider' not found
Model ProveedorWorkflow.php
<?php
namespace app\models;

class ProveedorWorkflow implements \raoul2000\workflow\base\IWorkflowDefinitionProvider
{
    public function getDefinition() {
        return [
            'initialStatusId' => 'draft',
            'status' => [
                'draft' => [
                    'transition' => ['publish','deleted']
                ],
                'publish' => [
                    'transition' => ['draft','deleted']
                ],
                'deleted' => [
                    'transition' => ['draft']
                ]
            ]
        ];
    }
}

Model Proveedor
class Proveedor extends \yii\db\ActiveRecord
{

    public function behaviors()
    {
        return [
            \raoul2000\workflow\base\SimpleWorkflowBehavior::className()
        ];
    }
...

Hi,
in the latest release, the IWorkflowDefinitionProviderinterface  belongs to the name space raoul2000\workflow\source\file.
Sorry for the error in the README.md file... I'll fix it soon.

Thank you for you asnwer, i create pull request #16  #15

thanks for your contribution


checkout-fully-paid webhook

This webhook should be triggered when: checkout.balance == 0

@witoszekdev  There is checkout-fully-paid webhook that we delivered in https://github.com/saleor/saleor/pull/12179. Does it mean that this task should be closed, or there is something missing? The PR with the webhook: https://github.com/saleor/saleor/pull/12320

Fixed in https://github.com/saleor/saleor/pull/12320


Make compatible with Red Hat YAML

Hello!

Vote on this issue by adding a 👍 reaction
If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

Affected area/feature

Note additional detail on https://github.com/pulumi/pulumi-lsp/issues/77

Notably, it appears you get an error if you have both installed:

Note that an extension may be disabled on a per-workspace basis, but it isn't clear to me whether the "Disable Red Hat YAML" button disables for this workspace or globally.
Also, the current arrangement of having the Pulumi lsp be a sub-extension of the main extension allows the user to disable the LSP without losing the debugging or ESC functionality.

Some points about the Red Hat YAML extension:

It exposes an extension API that seemingly allows other plugins to supply a schema for the document, see src/schema-extension-api.ts.
It too has some extension conflict logic: src/extensionConflicts.ts.

A note from @ringods related to this:

the Github Actions extension also manages YAML files but doesn't conflict with Redhat YAML. Looking into their package.json, they register a separate language and limit the scope to some file patterns: https://github.com/github/vscode-github-actions/blob/44facd0a4a4cbb64c0eead90df04195028e10063/package.json#L33-L49
Looking at the docs for contributes.languages extension point, I think we will have to experiment with filename patterns and/or firstline option for our extension to be picked up as the language instead of being treated as generic YAML by the Redhat extension.
https://code.visualstudio.com/api/references/contribution-points#contributes.languages

Any update? 🤔
We are using GitHub Actions, Pulumi, and K8s daily, so I need to install all three extensions.

The K8s extension requires Redhat YAML, so if you disable it, the k8s extension won't work.

Pulumi conf files start with Pulumi.ENV.yaml, so I don't think enabling it will be hard based on the file name.

When I open a Pulumi file, the language Mode is set to YAML, for us,  we have three environments, dev, test, and prod
but when I open Pulumi.test.yaml I see the following error:

The only thing worked for us was adding this to the settings:
  "files.associations": {
    "Pulumi.yaml": "pulumi-esc",
    "Pulumi.*.yaml": "pulumi-esc"
  }


[Question] Master detail like relay example

Working with the schema defined in #2 and with the following defined:
export default class extends Relay.Route {
  static queries = {
    viewer: () => Relay.QL`
      query {
        viewer
      }
    `
  };

In app.js
ReactDOM.render(
  <Relay.Renderer
    environment={Relay.Store}
    Container={App}
    queryConfig={new AppHomeRoute()}
  />,
  document.getElementById('root')
);

In components/App.js
class App extends React.Component{
   let list = this.props.viewer.dmcConnection.edges.map((edge, idx) =>

{edge.node.name}

    );
    render(){
        return(

                {list}

        );
    }
}

export default Relay.createContainer(App, {
  initialVariables: {
    limit: 100
  },
  fragments: {
    viewer: () => Relay.QL`
      fragment on Viewer {
          dmcConnection(first: $limit) {
            edges{
              node{
                name
              }
            }
          }
      }
    `,
  },
});

When I click on a li I want to show another component with the detail of dmc object. How can I start?
Feel free to close this if you consider it's irrelevant.
Thank you as always.

How I understand you want to do it not via react-relay-router. I add data to Store via relayStore.primeCache() method.
See how it works in relay-northwind-app with category toggling:

ToggleCategory.js: https://github.com/nodkz/relay-northwind-app/blob/master/app/components/categories/ToggleCategory.js
Product.js: https://github.com/nodkz/relay-northwind-app/blob/master/app/components/products/Product.js#L33
Live demo: https://nodkz.github.io/relay-northwind/#/products?_k=dkvuyr


feat: add initial R003 flag

closes open-contracting/bi.open-contracting.org#121

@jpmckinney This is my first attempt, I still need to add the procurement methods logic but I opened the draft PR already in case you want to submit your feedback already

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

27 of 29 (93.1%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 90.007%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/indicators/mod.rs
0
1
0.0%

src/indicators/r003.rs
23
24
95.83%

Totals

Change from base Build<PHONE_NUMBER>:
0.07%

Covered Lines:
1252

Relevant Lines:
1391

💛  - Coveralls

@jpmckinney a first attempt with the procurement method logic for you to review. The code works but I think it has a lot of room for improvement so all suggestions are welcome!

see if we can test the other options

Could you say more about this?

see if we can test the other options
Could you say more about this?

To make sure all settings work (R003.procurement_method_details, etc.)


Opyn Gamma QA MAINNET

Review Info

Description
Info

Subgraph Reviewed
https://subgraphs.messari.io/subgraph?endpoint=https://api.thegraph.com/subgraphs/id/QmeVSwnvqMo2fNZe7Bc4GuLjAVBtgF9anuCiq98vivrxCn&tab=protocol

Schema Version
1.3.0

Subgraph Version
1.0.0

Methodology Version
1.0.0

Evidence Spreadsheet
https://docs.google.com/spreadsheets/d/1tqWG8-Wqq77NpKoKhSQIJvxB9FaWUUq5/edit?usp=sharing&ouid=104027705798814439445&rtpof=true&sd=true

Metrics to Review
Pool Overview - TVL

TVL data for only one out of the 17 pools, which is the 'Aave Token' vault, has shown a discrepancy of -59.03% when compared with the Defi Llama data.

March 31, 2023:

Subgraph - Aave Token Pool
Defi Llama - Aave Token Pool
Difference %

$555,537.52
$1,356,102.11
-59.03%

While there are two pools with double-digit discrepancies, we believe that these discrepancies may be attributed to differences in time and token prices. These pools are 'Uniswap' and 'Perpertual'.

Refer to the sheet "Pool_Overview" for details

Please refer to the attached worksheet for more details.

@spitko QA for Opyn

Hey, thanks for the QA.

TVL data for only one out of the 17 pools, which is the 'Aave Token' vault, has shown a discrepancy of -59.03% when compared with the Defi Llama data.

There was an option that expired on 31.03, which caused the drop in TVL. It seems the subgraph was first to show this, but by the next day, the DefiLlama TVL again matches with the subgraph data.

While there are two pools with double-digit discrepancies, we believe that these discrepancies may be attributed to differences in time and token prices. These pools are 'Uniswap' and 'Perpertual'.

Yes, this is due to the subgraph having outdated price data. The token price and TVL is only updated whenever some action is done in that pool. And those two pools have relatively low activity.

cc: @ishraq8

that resolves the issues. there is an update PR https://github.com/messari/subgraphs/pull/1967
but shouldn't affect data and the fields are optional
great work @spitko

published on arb network


Renew all ...doesn't

Some scheduled renewals didn't happen. so decided to choose option to renew all but it stopped after renewing about 8 (out of 50) - any suggestions?

I suggest you examine the log file and/or share it here, it should provide some hints as to what happened.

I can't see a log file for the Windows client - where is it located?

That's described in the bug report template that you deleted before you posted 😄

There is no log file or folder - there is nothing in Windows Event logs showing why it stopped trying to renew certificates at a certain point - there are no logs in %programdata%\win-acme

Where is is meant to write this log file?
If it only records to the event log - what event log id is used for acme when it stops processing renewals?

there are no logs in %programdata%\win-acme

Logs are stored seperately for each ACME service, for most people that means acme-v02.api.letsencrypt.org. So if you go into that folder you'll find the log folder under there.


Lot's of 504 Gateway Timeouts - Trying again after eth_getLogs RPC call failed

Do you want to request a feature or report a bug?
Report a bug
What is the current behavior?
I'm not sure if this is the correct place to report this bug (if not I'm sorry), but I'm seeing a lot of warning messages with subgraphs on the bsc chain:

Trying again after eth_getLogs RPC call failed (attempt #9) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream
20-4-2021 15:08:34
DEBUG
Trying again after eth_getLogs RPC call failed (attempt #9) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream
20-4-2021 15:07:32
DEBUG
Trying again after eth_getLogs RPC call failed (attempt #7) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream
20-4-2021 15:07:01
DEBUG
Trying again after eth_getLogs RPC call failed (attempt #6) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream
20-4-2021 15:04:58
DEBUG
Trying again after eth_getLogs RPC call failed (attempt #2) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream
20-4-2021 15:04:27
DEBUG
Trying again after eth_getLogs RPC call failed (attempt #1) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream

Sometimes it's also ending with the following error:

20-4-2021 15:08:12
WARNING
Unexpected RPC error, error: Transport("Unexpected response status code: 504 Gateway Timeout"), component: BlockStream
20-4-2021 15:08:12
WARNING
Trying again after eth_getLogs RPC call failed (attempt #10) with result Err(Transport("Unexpected response status code: 504 Gateway Timeout")), component: BlockStream

Is this cause by a wrong written subgraph or does it have to do with the BSC network? Above error messages are on the pancakeswap subgraph and some other DEX subgraphs as well, while the uniswap subgraph (form which most of these subgraphs are basically cloned) does not have this problem.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.
I checked the logs on the following places:
https://thegraph.com/explorer/subgraph/pancakeswap/dex-candles?selected=logs
https://thegraph.com/explorer/subgraph/pancakeswap/exchange?selected=logs
https://thegraph.com/explorer/subgraph/psi-passive-income/exchange?selected=logs
What is the expected behavior?
These debug logs/warnings are causing the subgraphs getting out of sync. My expected behavior would be for this to work correctly.

This is a Hosted Service issue, rather than a graph-node bug. There are ongoing problems with our eth_node providers from BSC, you can track at https://status.thegraph.com/ and on our discord


[kudu1] meld not starting

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-uzmUUclMNf: Connection refused

From non-tmux terminal it works.

$ meld . &
[1] 21246
$
(meld:21246): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-uzmUUclMNf: Connection refused

(meld:21246): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Failed to connect to socket /tmp/dbus-uzmUUclMNf: Connection refused
Traceback (most recent call last):
  File "/usr/bin/meld", line 178, in <module>
    main()
  File "/usr/bin/meld", line 164, in main
    already_running, dbus_app = meld.dbus_service.setup(app)
  File "/usr/lib/meld/meld/dbus_service.py", line 56, in setup
    bus = dbus.SessionBus()
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 211, in __new__
    mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/_dbus.py", line 100, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
  File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 122, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-uzmUUclMNf: Connection refused

After rebooting OS, the issue is gone.
This seems to be happening before https://github.com/130s/hut_10sqft/issues/55

The following single command from this answer solved for me (just running it without doing anything else):
$ eval `dbus-launch`

Thank you @130s!


filter deployment by applicaiton name

Yes, seems I need to run .exec to it . right now it is just a place holder for this feature . It should not break anything . I am thinking use aync.js to avoid this callback hell

Update the PR as per our chat over the phone

looks good


Razor Language Server Unable to Start - Multiple Errors

dotnet version: 8.0.202
vscode about output:
Version: 1.87.2 (user setup)
Commit: 863d2581ecda6849923a2118d93a088b0745d9d6
Date: 2024-03-08T15:20:17.278Z
Electron: 27.3.2
ElectronBuildId: 26836302
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19045
Error Messages:

Description:
I am trying to run a .net 8 Blazor app in vscode with the C# dev kit extension installed. When I start vscode I get the attached errors 5 or so times as the server attempts to start. For what it's worth, razor syntax highlighting works just fine in visual studio.
Here's a snip of my output:

@dibarbet have you seen this before? It looks like the Roslyn language server is also failing to start.

Some more info: I've tried uninstalling/reinstalling vscode and deleting my .vscode settings folders. I've tried making a new blazor project and it's failed on that as well.

@dibarbet , if both C# and Razor are failing to start, what logs would be helpful in finding the cause?

@dibarbet , if both C# and Razor are failing to start, what logs would be helpful in finding the cause?

For the C# server, we'd need the C# output window logs - ideally with dotnet.server.trace set to `Trace in vscode settings.

@dibarbet have you seen this before? It looks like the Roslyn language server is also failing to start.

Hard to tell - the server can fail to start for multiple reasons (e.g. corrupt dotnet installation, named pipe issues, etc).  I've seen error code before, but it doesn't necessarily mean much.
If both servers are failing to start, I would suspect a corrupt / incorrect dotnet installation.

Some more info: I've tried uninstalling/reinstalling vscode and deleting my .vscode settings folders. I've tried making a new blazor project and it's failed on that as well.

@ztquinn could you provide the c# logs as well?

Oddly enough, after setting the logs to trace, which kicked off the razor.server.telemetry package to download, (which likely triggered other packages to download latest), the server now initializes just fine. I'm not quite sure what happened but it works now?


Bad error message when deploying without import radius

Bug information
Steps to reproduce (required)
Create a file named app.bicep with the following contents:
param environment string

param application string

resource redis 'Applications.Datastores/redisCaches@2023-10-01-preview' = {
  name: 'redis'
  properties: {
    environment: environment
    application: application
  }
}

Deploy it with:
rad deploy .\app.bicep -a demo

Observed behavior (required)

See this error message:
rad deploy .\app.bicep -a demo
Building .\app.bicep...
D:\scratch\recipes-data\app.bicep(6,16) : Warning BCP081: Resource type "Applications.Datastores/redisCaches@2023-10-01-preview" does not have types available.
Deploying template '.\app.bicep' for application 'demo' and environment 'default' from workspace 'default'...

Deployment In Progress...

Error: {
  "code": "DeploymentFailed",
  "message": "At least one resource deployment operation failed. Please see the details for the specific operation that failed.",
  "target": "/planes/radius/local/resourceGroups/default/providers/Microsoft.Resources/deployments/rad-deploy-c0d0bf60-9e81-4669-bdbe-382f80d6192a",
  "details": [
    {
      "code": "ResourceDeploymentFailure",
      "message": "An exception was encountered. Current deployment operation has failed. Error message: 'Authentication failed. Please ensure you have registered an Azure credential via 'rad credential register azure', and that it has the proper RBAC permissions on your target scope. For more information visit https://docs.radapp.dev/reference/cli/rad_credential/'. Exception: 'k8s.Autorest.HttpOperationException: Operation returned an invalid status code 'NotFound'\n   at k8s.Kubernetes.SendRequestRaw(String requestContent, HttpRequestMessage httpRequest, CancellationToken cancellationToken)\n   at k8s.AbstractKubernetes.k8s.ICoreV1Operations.ReadNamespacedSecretWithHttpMessagesAsync(String name, String namespaceParameter, Nullable`1 pretty, IReadOnlyDictionary`2 customHeaders, CancellationToken cancellationToken)\n   at k8s.CoreV1OperationsExtensions.ReadNamespacedSecretAsync(ICoreV1Operations operations, String name, String namespaceParameter, Nullable`1 pretty, CancellationToken cancellationToken)\n   at DeploymentEngine.KubeCredentials.FetchCredentialAsync(CancellationToken cancellationToken) in /src/src/DeploymentEngine/Credentials/KubeCredentials.cs:line 62\n   at DeploymentEngine.KubeCredentials.GetClientAsync(CancellationToken cancellationToken) in /src/src/DeploymentEngine/Credentials/KubeCredentials.cs:line 87'",
      "target": "/providers/Applications.Datastores/redisCaches/redis"
    }
  ]
}

TraceId:  f68f30fea46f875d11cf7ba5d733a06a

Desired behavior (required)
I would like to see a better error message that says something like "No types available for 'Applications.Datastores/redisCaches@2023-10-01-preview'. Make sure you specified and imported the right resource type."
The current message points the user in the wrong direction.
Workaround (optional)

Add import radius as rad to the Bicep file
System information
rad Version (required)
rad version
RELEASE   VERSION   BICEP     COMMIT
edge      6932c11   0.11.88   6932c1188aa5611d923a5c168956877b538b090d

Operating system (required)

Windows 11
Additional context

AB#9684

Since Radius is in the process of merging with the main bicep compiler, which will address this issue, we are closing this.


Clientscript crash

Clientscript crashing with "WorldeditCUI" running when chat message sent

crash-15-11-2022_16-22-32.txt

You can download the latest dev build here: https://github.com/senseiwells/EssentialClient/actions/runs/3536585242


Update the readme to include updated import and Faire's announcement

mjml slack community: https://join.slack.com/t/mjml/shared_invite/zt-gqmwfwmr-kPBnfuuB7wof5httaTcXxg


Review styles in http://3dbionotes.cnb.csic.es/ws/database

Not sure what I have to review here... @adrianq

BTW I am out of EyeSeeTea-Web workspace (we have to set unassigned time entries)

Just the text, below the submit button. It looks to me we messed up the styles...
We can have a look at the entries in toggl together in our meeting


Us103 add initial mandatory dates for ce

Add functionality to add collection exercise mandatory events. This can be tested by creating a new collection exercise when you view the collection exercise details page an add button should appear next to mandatory event dates.

 US103: INT User to Input Mandatory Event Dates After R17/18 (L)

Approving based on my points being addressed now.

@gemmai95 - this needs to get merged in or it risks getting stale. Are you able to address the final few comments on the PR? Or can I close this.


Update Docker link to PowerShell-Docker in README.md

PR Summary
Updated the link in README.md link to PowerShell-Docker
PR Checklist

[X] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[X] Summarized changes
[X] Change is not breaking
[X] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[X] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

User-facing changes

[X] Not Applicable
OR
[ ] User-facing Documentation needed

[ ] Issue filed - Issue link:

Testing - New and feature

[X] Not Applicable or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

[ ] Add [feature] if the change is significant or affects feature tests

Leave a comment

Thanks


Fix logging call

Showed up in my stderr as "Unhandled rejection TypeError: r.warn is not a function"

Thanks!


Change way browser and version found

There was a problem with firefox and opera where the version found was not the actual version of the browser. This new code fixes that.

Coverage remained the same at 78.48% when pulling 01adb2d34be0aa8e67ab4bdccd764329721f8c2b on squirrelo:fix-firefox-validation into 8a791a30972f111331a09a2466148fde66f13b98 on biocore:master.

This looks good except, there's not a good way to test this code, it has the "same" validity as the other chunk of code taken from a blog post found on the inter-tubes and that the code is not really maintainable. IMHO, should be ready to merge as soon as the comments I made are addressed but then again ... how can we make sure this new snippet is not introducing any problems that the previous block was accounting for? I would probably advocate for finding the bug in the previous block of code and correct it there.

The issue is that there is no perfect way and more when browsers change the way they report their version, which made the previous one obsolete. I think this is fine as long as we test in all valid browsers.

Ok, sounds good. We should check Safari, Chrome, Opera, Internet
Explorer, Firefox and lynx? With the corresponding mobile versions where
possible?
On (Feb-10-15|14:13), Antonio Gonzalez wrote:

The issue is that there is no perfect way and more when browsers change the way they report their version, which made the previous one obsolete. I think this is fine as long as we test in all valid browsers.

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/844#issuecomment-73795404

Up to you. I normally check Safari, Chrome, and Firefox.

Well the only browser that shows the error message is lynx, however the interface is unusable in internet explorer 8.
Just for fun:

@ElDeveloper, that is a fantastic screenshot

Still no good. I'm being inappropriately flagged (Firefox 35.0.1)

and cannot access the site. I also do not use Chrome and do not run a Mac.  For Linux (and Windows) users who can't (or won't) use Chrome, it's probably better to botch the detection and include an "unsupported browser" blurb at the top than to blanket ban.
Cheers

Are you testing on this branch or on the main site?

Apologies -- actually, this is for the main site as it currently exists, not the proposed changes, thereby merely corroborating the finding in the opening message.

So apparently flake8 updated and is throwing all sorts of fun errors. I'll fix that in aseperate emergency pull request.

I'm on it, see #846

almost done also ...

Oops, pull request already in.

Pull from upstream master.

ready for review again.

:+1: @ElDeveloper ?

It still doesn't work in IE 8 i. e. no message about the website not working is shown. :confused:

good to review again

It now shows the appropriate message for IE8, however it shows the
message in IE10 and Opera (it wasn't before), from the displayed message
it seems that at least IE10 is supported.
On (Feb-12-15|15:50), Joshua Shorenstein wrote:

good to review again

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/844#issuecomment-74178676

Coverage decreased (-0.09%) to 78.5% when pulling 9eceadee7186978da7afbd7d3af1dd7838117f1d on squirrelo:fix-firefox-validation into 1ca033a95a29d4843af2663e93a6ae51ebdb213e on biocore:master.

Bluh, The issue is that the older browsers flat out won't run the version check javascript, so I defaulted it to just throw the error by default. Not sure whats going on with IE 10, but we don't support Opera so it's getting the default error page.

So then the only open issue is IE 10. And we may also need to rephrase
the error message to: "This site only works on these browsers".
On (Feb-12-15|16:10), Joshua Shorenstein wrote:

Bluh, The issue is that the older browsers flat out won't run the version check javascript, so I defaulted it to just throw the error by default. Not sure whats going on with IE 10, but we don't support Opera so it's getting the default error page.

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/844#issuecomment-74180945

Yup. IE isn't firing off the document.ready so I'll dig into that.

Went old school and used body onload='' to fire off the check, since that's supported by pretty much everything. This also means the site is visible by default now for non-checked browsers, so Opera will show the site again.

Coverage decreased (-0.09%) to 78.5% when pulling 02e2eadd1f7d468bce636eed223df451e8e5f5d4 on squirrelo:fix-firefox-validation into 1ca033a95a29d4843af2663e93a6ae51ebdb213e on biocore:master.

If we don't support Opera should that be changed then?
On (Feb-12-15|16:32), Joshua Shorenstein wrote:

Went old school and used body onload='' to fire off the check, since that's supported by pretty much everything. This also means the site is visible by default now for non-checked browsers, so Opera will show the site again.

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/844#issuecomment-74183541

I think we can have in the documentation that we support X browsers above Y version, and while the site is accessible with other browsers , we make no claims to usability.

Agree, could you add that list to the help wiki?

@ElDeveloper could you check again that it works on the expected browsers? Seems like you have everything in your system to do this ... thanks!

Added to the FAQ section.

Thanks, looks fine:
https://github.com/biocore/qiita/wiki/Frequently-Asked-Questions

Just tested this in all the browsers I have access to and it works just
fine! Lynx actually lets me log in (unlike IE8). Just one more minor
comment about whitespace and this should be merged right away!
On (Feb-13-15| 5:50), Antonio Gonzalez wrote:

@ElDeveloper could you check again that it works on the expected browsers? Seems like you have everything in your system to do this ... thanks!

Reply to this email directly or view it on GitHub:
https://github.com/biocore/qiita/pull/844#issuecomment-74255837

whitespace removed, merge ready.

Coverage decreased (-0.11%) to 78.48% when pulling d86181f3b99cfa5490cb20b0723b3b4b45b70cc6 on squirrelo:fix-firefox-validation into 1ca033a95a29d4843af2663e93a6ae51ebdb213e on biocore:master.


send integer timestamp, for compatibility to Zabbix 3

At least Zabbix 3.2 doesn't seem to accept values without a proper timestamp. With this small change, it works for me.

This isn't something I used any more. However, if it works for you, it works for me :-)


Fix typo - escaped '%' character.

changelog: none
Signed-off-by: Alf-Rune Siqveland<EMAIL_ADDRESS>

I added an explicit check for python version to handle the changes in escaped characters for re.escape for python >= 3.7. Once we upgrade the python version in Travis this check may be removed.


Add NextRoundLifetime as information in a new GetNextRoundInfo RPC (or maybe NextRound keyt inside GetRound)

https://github.com/ark-network/ark-next/blob/master/server/api-spec/protobuf/ark/v1/service.proto#L162
This allows client to automatically sync and get information of the VTXO lifetime proposed by the ASP to be used from the next round

The sender could call the current GetInfo rpc (where there is the round lifetime) ?


Add support for optimizer info API

Add support for optimizer info API
Below is an example of the output of the README.md example
[...]
Optimizer-1: Connected Operating: 25.4 W / 30.9 V / 0.85 A / 13.2 C
[...]

Hi @Miouge1
Thanks a lot! This looks great!
One question: is the inverter_id the same as the plant_id or does it require a different one?

plant_id and inverted_id are different, I suppose someone could have several inverter in the same plant. The inverted_id has the plant_id as parentDn.

Do you know how to get the inverter ids for a specific plant?

Yes, it can be obtained with client.get_device_ids(). I've updated README.md to show an example usage of get_device_ids


Histogramm crashes on stacking by categorical columns with too many distinct values

If I have a string column with many different values (e.g. labels for problems with many classes) and I use the stacked histogram I get the following messages:
If I try to stack by column, I get "Error rendering component"
Example: BirdClef2023 dataset, column ('primary_label')

This Issue is derived from #15


How to know if plugin runs correctly

In the Gradle Console log, there are no traces of the Redex plugin actually run. So i'm not too such if it actually done anything.
Is there a way to know for sure redex has been applied?

@andhie the plugin now shows you how many methods and fields have been removed

@timmutton the README is not up-to-date. Even with 1.2.0, it doesn't show anything.


chore: zeebe-knative-worker to 0.0.12

chore: Promote zeebe-knative-worker to version 0.0.12

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Who can give me an example of adding subtitles to a video? When I add subtitles, I always report that the font cannot be found

Who can give me an example of adding subtitles to a video? When I add subtitles, I always report that the font cannot be found

Why is it that the prompt above did not find the font, and below it prompted me to convert the font? Finally, the video subtitles were also added to display normally, which is why

Show your code when your code does not work. As I, and many others, have had no problem getting subtitles to work, the problem is in your implementation, which you did not share.
Also, there are plenty of other people with the same issue which you clearly did not search for or you would have simply been able to use the help they have already been given instead. That help includes examples.
I searched issues to get you started:
Subtitle issues


[may18] Documentation updates: roadmap, contributing, coding guidelines

Update roadmap to reflect how master is currently being managed as well as to add release cadence and branch management updates re: vNext
Contributing modified to describe how to find the correct dev branch for master.
Adapt coding guidelines from vNext.
Closes #2014, #2015, #2038

@davidkline-ms does stringing the issues together like this close them all out automatically?
Closes #2014, #2015, #2038

@StephenHodgson, re: chaining the issue numbers together... I don't know, but I manage the resolved issues manually each release (marking them fixed in stabilization, then closing when we release)


Feature Request - Battery management

GIVEN I have copied or licenced ACER battery optimised battery management
or https://chargie.org/blog-list/
WHEN I plug in my device to charge
AND it contains a battery
THEN I can specify that it is not charged above 80% or below 30% to avoid battery degradation from too many discharge cycles?

Duplicate of existing issues. Charging is already throttled based on heat and current charge.
Also don't know what you mean by not charged below 30%.

@thestinger This is the planned system of keep charge between 30-80% to avoid battery memory/issues with wear in Lithium batteries
Below 30% starts a full discharge and there are limited number for the life of the battery
One cannot replace the battery in pixel phones, like you can with fairphones or older devices
I think above 80% causes wear on the battery
I can find links if you want more evidence


Multiple getValue

Currently AutoComplete will match and display what is set for getValue ..
It would be nice to  allow for EasyAutoComplete to have more values to search through.
For example, i use a json file and have getValue set to the key: "name" that is shown in my json file.  As the user types it searches the "name" entries and displays that.  It would be nice if i can give EXTRA keys like "slug" that it can search through too.
So, in short, it would be nice if getValue allowed for an array of entries, not just one string.  I know it can be a function too but that doesnt help.  Unless i am missing something.

@amiga-500 Is there any chance you could share your solution? Thanks


Python 3 compatibility + Scouting updates

Lots of clean up.
Formatted source with black.
Fixed all linter & pydocstyle errors.
All tests pass.
Updated requirements.txt to current revisions of things.
All work done using Python 3.7.4
All Python2 work items resolved:

use of xrange
bytes-like object handling
string.encode('base64')
explicit checking for None

Many repositories these days are making use of a Python formatter called black. I am a supporter of it and the formatting changes it makes.
https://black.readthedocs.io/en/stable/the_black_code_style.html#strings  If that helps.


Camera preview is blank if RequestedFPS value is set

Describe the bug
Downloaded the latest release and ran the application fine.
If I set the RequestedFPS  in the XAML file of Page 1 and run the application.
The camera preview is black.
I tried RequestedFPS =60 and RequestedFPS =120
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Version [e.g. XamarinForms v<IP_ADDRESS> / Maui v<IP_ADDRESS>-pre]

Additional context
Add any other context about the problem here.

RequestFPS property will only affect in Android.
If you do not sure what is the value, just remove it and it will be decided by the device.

this may be similar to an issue I'd encountered. In CameraViewRenderer.cs under Android, line 100 there's a check for whether RequestFPS is set, and if it is it'll set the camera to manual exposure. Depending on the room conditions when the camera is turned on this could give you a very underexposed (black) picture.
as JimmyPun610 says, you could avoid this by not attempting to set RequestFPS in android.


runtime: TestMemStats-2 fails with "Bad sys value" when run with -cpu=1,2,4

CL 9350 changed run.bash from:
GOMAXPROCS=2 go test runtime -short -cpu=1
GOMAXPROCS=2 go test runtime -short -cpu=2
GOMAXPROCS=2 go test runtime -short -cpu=4

to
GOMAXPROCS=2 go test runtime -short -cpu=1,2,4`

The latter failed on all the linux builders. See e.g. http://build.golang.org/log/da902358a2f5babbca5dc405364c912987e396b7.
##### GOMAXPROCS=2 runtime -cpu=1,2,4
--- FAIL: TestMemStats-2 (0.00s)
	malloc_test.go:41: Bad sys value: {Alloc:2492744 TotalAlloc:312910744 Sys:31721720 ...

Fix the test, and then re-submit CL 9350. (It was rolled back in CL 9394.)
/cc @aclements

Looks to be related to the shuffle from StackInuse to StackSys in readmemstats_m. With the single runs of the runtime test, StackSys == 0 before this shuffle, so it's fine to clobber it with StackInuse and pull that amount out of HeapSys. Everything still adds up to Sys. But with the multiple runs StackSys != 0 at this point, so when we clobber it, the new sum differs from the original sum in Sys by this much.
I'm not sure why multiple runs changes this, but this shuffle smells wrong.

Ah. I think newosproc0 is the only function that manipulates memstats.stacks_sys directly. It gets called in the runtime test suite by TestNewOSProc0, which presumably runs after TestMemStats. In a single run, this means when TestMemStats runs, stacks_sys==0. But in a multi-run, the first run of TestNewOSProc0 will run before the second run of TestMemStats, so the second run of TestMemStats sees stacks_sys!=0.
The problem is just as easy to trigger with
go test -short runtime -cpu=1,1

https://go-review.googlesource.com/9366


bug: submit multipart/form-data with empty file input, got error on request.formData()

Originally reported in #3570, request.formData() shouldn't throw if a file is not provided.

Fixed by<EMAIL_ADDRESS>see conversation in original issue


Create documentation of table templates

In GitLab by @jakebeal on Feb 4, 2019, 16:48
Document the table templates for expressing experiment combinations, including examples, so that it's easy for people to use them via cut and paste.

In GitLab by @jakebeal on Aug 1, 2019, 13:26
changed the description

In GitLab by @mweston on Aug 7, 2019, 15:03
Repetition is extremely common in these tables, e.g. a 12 point inducer concentration sequence can be repeated across several strains, and across several several measurement types. Time series are often re-used as well.
Copy and paste will serve us fine for now, but for building out larger experiments, we'll want to think about how to re-use or re-reference certain sections.

In GitLab by @nwalczak on Sep 16, 2019, 09:34
assigned to @nwalczak

In GitLab by @nwalczak on Sep 16, 2019, 09:34
created branch 33-create-documentation-of-table-templates

In GitLab by @nwalczak on Sep 16, 2019, 09:34
mentioned in merge request !57

In GitLab by @nwalczak on Sep 16, 2019, 10:16
closed via commit e6ead74fbcbf9e8c2220c60bb3631b954941c893

In GitLab by @nwalczak on Sep 16, 2019, 10:16
closed via merge request !57

In GitLab by @nwalczak on Sep 16, 2019, 11:47
mentioned in commit e6ead74fbcbf9e8c2220c60bb3631b954941c893


WIP .NET Core landing page

Contributes to #17506
Most links are based on highest page view articles.

@BillWagner I know you had suggested a different way of organizing the cards. We can discuss the pros and cons of each, but I selected these card themes based on the most popular articles under /core/.

I incorporated feedback from Hanselman, and this is ready for final review. If you have suggestions about the title/H1 for about.md, I'm open to those too.

Thanks all for the reviews!


Cirrus: Fix #3543: Failure in 'release' task

Normally when testing PRs, the final task to run is 'success'.  It's
purpose is three-fold:

Notify on IRC that a PR passed all testing.
Block merging of a PR unless all dependent tasks are successful.
When successful, publish cached binary release archives.

Mistakenly, the 'release' task was not made dependent upon the 'success'
task.  Since 'success' only runs for PRs, this was causing post-merge
failures due to the 'release' task not finding any release archives -
the tasks which generate them are still running.
Fix this by making the 'release' task depend upon the same items as
the 'success' task.  This will ensure it only runs as the very last
step, for both PRs and on branches (post-merge).
Signed-off-by: Chris Evich<EMAIL_ADDRESS>Fixes #3543

Changes LGTM

@baude @giuseppe @edsantiago PTAL - this fixes failures happening on post-merge testing on master, (PR testing should be okay)

/lgtm
Thanks, I think this explains why I sometimes couldn't find the release logs

/approve


Fix imports order & update gitignore

On branch fix-linters
Changes to be committed:
modified:   .gitignore
modified:   quinn/schema_helpers.py

Looks good to me


CUE Upstream Issues and Enhancements

We've encountered a few issues with upstream CUE, and have some enhancements we'd like to help contribute, as well. This issue is intended to catalog, discuss, and suggest potential solutions for each of these.
Issues

https://github.com/dagger/dagger/issues/2182
https://github.com/cue-lang/cue/issues/1647
https://github.com/dagger/dagger/issues/1867

https://github.com/dagger/dagger/pull/2024

Enhancements

https://github.com/dagger/dagger/issues/825
https://github.com/dagger/dagger/issues/940

https://github.com/dagger/dagger/discussions/2124

https://github.com/dagger/dagger/issues/2163
https://github.com/dagger/dagger/issues/1254
Allow more direct control of CUE tasks in cue/flow

Discussion
Upgrading CUE - https://github.com/dagger/dagger/issues/2182
The changes on cue/master have caused some issues with comprehensions that break docker.#Build. We need to sort these out with upstream.
cue eval takes an abnormous amount of time when it shouldn't  - https://github.com/cue-lang/cue/issues/1647
Some community members (including @Breigner01) are having issues with CUE performance. An example is attached. I suspect this has to do with the disjunctive embed here.
Structural cycle when dagger do --with and dagger.#DecodeSecret are conjointly used - https://github.com/dagger/dagger/issues/1867
There are issues with filling values into the #Plan. This needs further investigation.
Language Server for Dagger - https://github.com/dagger/dagger/issues/825
This would be obviously useful for Dagger as well as the CUE community generally.
Some concerns I have are:

Performance. Correctly parsing and evaluating CUE in realtime in order to provide feedback to CUE devs is a harder problem than the current evaluation scheme.
Different ways to set up CUE instances. Think ./... vs .:dagger vs plan.cue. I'm not sure how the LSP will know which mode we're hoping to use for our configs.

Support explicit dependency - https://github.com/dagger/dagger/issues/940
This likely requires a general enhancement to cue/flow to make it easier to depend on sets of tasks under a given key.
Improve Package Management - https://github.com/dagger/dagger/issues/2163
cue mod is something that Dagger needs (as an improvement over dagger project), and something the CUE community needs as well. It will help with managing, importing, and depending on various CUE schemas.
Inline actions - https://github.com/dagger/dagger/issues/1254
This should make some plans much cleaner/easier to write. But requires enhancement to cue/flow as well.
Allow more direct control of CUE tasks in cue/flow

[ ] Create an issue to describe the need for this and some potential implementations.

Our current system for choosing which tasks to run... leaves a lot to be desired. It would be much easier if we were able to let cue/flow find all tasks, but choose which ones we actually want to run. This potentially introduces situations where we could induce race conditions, but I believe it's worth the risk. Also, we're wanting to simply select a particular path in the DAG, from inputs through our selected action(s) through to outputs, so we should be able to do that without introducing races.

I reported https://github.com/dagger/dagger/issues/1867 upstream with:

https://github.com/cue-lang/cue/issues/1671


Turing checkpointing by callbacks

How does one save a chain via callbacks in Turing? Right now, I have something like:
function checkpoint(rng, model, sampler, sample, state, i; kwargs...)
    if i % 1000 == 0
        serialize("testchainfull$i", chn)
    end
end

with the function being called in the callbacks keyword in the sample method. This doesn’t actually seem to save anything or error out. What am I missing?

chn is defined from the sample function, which I understand won't work because the chain isn't constructed yet. I think I do want the full chain because I want to checkpoint the chain in case anything interrupts the sampling.


Enable headers-only file to get headers using 'headers: true' option

When trying to get headers from headers-only file using headers: true option, Table#headers method currently returns [].
So, I thought it's proper that Table#headers method return file's header in this case.
For example:
test.csv(headers-only file)
a,b,c

the previous behaviour
csv = CSV.read 'test.csv', {headers: true}
csv.headers
=> []

changed it as follows
csv = CSV.read 'test.csv', {headers: true}
csv.headers
=> ["a", "b", "c"]

I added an argument of headers to Table.new method because Table class should always has headers.

Thanks.
I've merged.
I've changed headers to keyword argument from optional argument and added a missing test to parse header only CSV.

Thanks!


why do you create this library for logging

Hi, i am reading your source code and i am going to your library for logging, but why do you create this library for logging? What is  the outstanding feature in your library, the pros and cons of this library when we compare this with Log4j in Java or Logstash on ELK, thank u so much

I don't know what you want to here, which isn't already written here:

https://github.com/zalando/logbook#readme
https://github.com/zalando/logbook#alternatives


scheduler refactors and renames from the buffer_shape branch [pr]

Ideally all scheduler side-effects should be done as close to when we return the list[ScheduleItem].
also, EMPTY needs a ShapeTracker in sources at the very least.

chenyu, I removed the two code changes, will move the const spec restriction to a new diff. I do wanna restrict the spec as much as possible.


Remove unused imports

Removal of several unused imports as flagged by codacy (this time into the correct branch...).

may I know why it is a pull request to merge into dev instead of master?

It is better to keep this under dev, as such modifications might change the
behavior of the code.
On Sat, 3 Sep 2022, 09:05 Xudong Sun, @.***> wrote:

may I know why it is a pull request to merge into dev instead of master?
—
Reply to this email directly, view it on GitHub
https://github.com/marrlab/DomainLab/pull/30#issuecomment-1236063784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFHJ733OFGPYB7RZNKHNC3V4L2C7ANCNFSM6AAAAAAQDQY2BE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yeah I wasn't sure what your policies were on this, so I thought it more prudent to merge into dev. Happy to reopen my (now closed) first pull request that actually by default was into master.

I would suggest to keep it under dev please and thanks for contribution :)
@Xudong: can you please check whether the dev branch would work after
taking out some of the unused modules?
I initially wanted to take them out, but I was not fully sure as in those
files torch tensors or numpy array are being used
On Sat, 3 Sep 2022, 09:51 Patrick Rockenschaub, @.***>
wrote:

Yeah I wasn't sure what your policies were on this, so I thought it more
prudent to merge into dev. Happy to reopen my (now closed) first pull
request that actually by default was into master.
—
Reply to this email directly, view it on GitHub
https://github.com/marrlab/DomainLab/pull/30#issuecomment-1236069977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFHJ724GGEHE2AV62C4TW3V4L7QNANCNFSM6AAAAAAQDQY2BE
.
You are receiving this because you commented.Message ID:
@.***>

If I understand correctly, you are unsure if files processing torch/numpy objects will still work if they don't import torch/numpy. As long as you are only operating on the objects (and functions bound to them), it shouldn't matter.  You can easily test this for example with two files:
module.py:
def custom_max(x):
    return x.max()

script.py:
import numpy as np
from module import custom_max

np.random.seed(42)
x = np.random.uniform(size=10)
custom_max(x)
#> 0.9507143064099162

Still worth testing, though, to make sure I haven't removed anything vital :D

I just realised that my changes introduce new Codacy code quality issues. It originally complained about try-except blocks where the error e was never used, now it continues to complain about the too general Exception type and the try-except-pass constructs. Any suggestions how to solve this?
P.S.: I also saw that #29 got reopened, would you like me to use that one instead. I stayed with this PR for now to keep all discussion in one place.

Now codacy passed.
@aliechoes

I haven't got the point of the advantages of merging into dev, since merging small changes each time into master will be easier?

I will think how can we test the behavior, maybe I run the same command in two different folders on the same laptop to see if the results are the same?

If we find too much work to improve the code quality of the bash files, we can move them to a separate branch.

so, in general and for further development, you want your the changes to the dev. As we are going to have version control on the master branch. This will guarantee the sanity of the master branch for the users.