fix(utils.py): show original import error

Instead of getting this:
Unable to import module 'epsagon': Failed to import module: index
Get this:
Unable to import module 'epsagon': Failed to import module: lambda_function, Error: No module named 'mod'
(this will expose the real import error to the user)

The locking of the version might help with the tests but it means that we don't fully support new versions of fastapi and we won't have the same metadata when using newer versions. Maybe it's worth mentioning it in the readme or just fix the issue and ensure we support newer versions.

The locking of the version might help with the tests but it means that we don't fully support new versions of fastapi and we won't have the same metadata when using newer versions. Maybe it's worth mentioning it in the readme or just fix the issue and ensure we support newer versions.

That's true - I'll open a ticket for it for the team to handle separately

:tada: This PR is included in version 1.70.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Assertion error when trying to run motion detection using XNATArchive

Error message:
File "run_motion_detection.py", line 72, in
run_md(args.input_dir, dynamic=args.dynamic_md, xnat_id=args.xnat_id)
File "run_motion_detection.py", line 48, in run_md
visit_ids=[session_id], work_dir=WORK_PATH)
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/pipeline.py", line 189, in run
self.connect_to_archive(complete_workflow, **kwargs)
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/pipeline.py", line 310, in connect_to_archive
visit_ids=visit_ids)
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/archive/xnat.py", line 771, in project
processed=processed),
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/archive/xnat.py", line 888, in _get_datasets
multiplicity=mult, location=None))
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/dataset.py", line 161, in init
super(Dataset, self).init(name, format, multiplicity)
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/dataset.py", line 86, in init
super(BaseDataset, self).init(name=name, multiplicity=multiplicity)
File "/Users/francescosforazzini/git/NiAnalysis/nianalysis/dataset.py", line 24, in init
assert isinstance(name, basestring)
AssertionError
If I use local archive instead of xnat archive everything works fine.
In order to reproduce this error you can run the script in my mbi-analysis branch (resting_state) called assertion_error.py. It is in mbi-analysis/debug

I am going to assume that this is fixed. Can always reopen later


Update external_dicts_dict_sources.md

Set PostgreSQL section level equals MS SQL section level

It has already been done in #3063


Fix : User Roles not added to create, update or delete calls

Thanks for attempting to fix this issue.  There are 7 test failures to address before further review.

Down to 4... You can run tests locally with npm test

Fix this issuse #389 #294

@gfosco What is missing on this PR it to be merge?

:+1:


Implicit declaration of function 'Py_DecodeLocale' is invalid in C99

It's very difficult to do anything with this report. You have provided one line of context - presumably the last line of an error log that you have received. We know nothing about what you have done, what you were trying to do, what you expected to see...
If I was to guess, you're using the wrong Python-iOS-template for the version of Python-Apple-support that you've downloaded. However, you've given us nothing to help clarify, so that is entirely a guess.
We're happy to help you; but we need you to help us help you.


changed homepage theme

Description

The current theme of the website does not align with the business's identity. I propose introducing a new theme using yellow and green as the primary colors to better reflect the brand. The changes will first be implemented on the homepage, followed by a gradual rollout across other pages to ensure consistency and alignment throughout the website.

Related Issues

Closes #568

Screenshots / videos (if applicable)

https://github.com/user-attachments/assets/af4068d0-fc3f-4ae5-a7c3-984368b614c5

Hey @mdazfar2, I have a request — could you please raise the level of this PR from 1 to 2? Although the number of file changes is limited, implementing the theme change required significant effort and time. Thank you!


crashed

was in my test world as not used this mod before and made a small fusion reactor and a small fission reactor and one of them crashed my world as report says something about depletion. and now I cant open that world as when I do it instantly crashes
crash-2017-05-06_09.54.40-server.txt

You're using an old version of the mod (1.9d) - that was a known bug, and was fixed in the latest version for 1.7.10, v1.9f.


Illegal instruction (core dumped)

OS: Ubuntu 22.04.3 LTS
Docker: 24.0.7
...
[----] Installing update...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Extracting package...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Installing update...
[----] Cleaning up...
[----] Update complete, launching Steamcmd...
Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
Logging directory: '/home/steam/Steam/logs'
[  0%] Checking for available updates...
[----] Verifying installation...
Steam Console Client (c) Valve Corporation - version<PHONE_NUMBER>
-- type 'quit' to exit --
Loading Steam API...OK
Logging in user 'NewSteamUser' to Steam Public...OK
Waiting for client config...OK
Waiting for user info...OK
Success! App '730' already up to date.
entry.sh: line 62:    47 Illegal instruction     (core dumped) ./cs2 -dedicated -ip <IP_ADDRESS> -port 27015 -console -usercon -maxplayers 16 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_inferno +rcon_password tmprconpw +sv_password ""

cs2ds.env:
STEAMUSER=NewSteamUser
STEAMPASS=NewSteamPassword
STEAMGUARD=XXXXX

CS2_SERVERNAME="Test Server"
CS2_IP=<IP_ADDRESS>
CS2_PORT=27015
CS2_LAN=0
CS2_RCONPW=tmprconpw
CS2_PW=""
CS2_MAXPLAYERS=16
CS2_STARTMAP=de_inferno
CS2_BOT_QUOTA=0

And how I'm running it (without docker-compose):
#!/bin/bash

docker rm cs2ds -f
docker run -d --name cs2ds \
    --network ubuntu-bridge \
    --hostname cs2ds \
    --env-file cs2ds.env \
    --memory 8g \
    -v /NAS/cs2ds:/home/steam/cs2-dedicated/ \
    joedwards32/cs2

Anyone else getting?:
entry.sh: line 62:    47 Illegal instruction     (core dumped) ./cs2 -dedicated -ip <IP_ADDRESS> -port 27015 -console -usercon -maxplayers 16 +game_type 0 +game_mode 1 +mapgroup mg_active +map de_inferno +rcon_password tmprconpw +sv_password ""

I've tried using the docker-compose template, but I wound up with the same error so I don't think it's related to that:

Turns out my server's CPU is really old and this isn't related! :)


To not publish DB keys on public repos...

Regarding "Modify Your Bot Code"#2. It's my understanding that it would be bad practice to hardcode your database keys directly into your code. I'd love to see a note or comment next to the database option fields (host and masterKey) here acknowledging that these values should be kept hidden (i.e. using some environmental variables like process.env).

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

ID: 432edb74-c60c-6416-c568-69fcbe0a768e
Version Independent ID: 06e3a7a0-263c-9654-d328-8d573c0552ea
Content: Manage custom state data with Azure Cosmos DB - Bot Service
Content Source: articles/nodejs/bot-builder-nodejs-state-azure-cosmosdb.md
Product: bot-framework
GitHub Login: @ducvo
Microsoft Alias: v-ducvo

@sjciasullo - fyi you can use msbot tool to manage this type of information. See https://github.com/Microsoft/botbuilder-tools/tree/master/packages/MSBot.


fix: pack should not set artifactType when config is specified

Related issue: #532
Related discussion: https://github.com/oras-project/oras/issues/1011#issuecomment-1664614098

Codecov Report

Merging #565 (385acbc) into main (933ae41) will decrease coverage by 0.02%.
The diff coverage is 100.00%.

:exclamation: Current head 385acbc differs from pull request most recent head eaa9238. Consider uploading reports for the commit eaa9238 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #565      +/-   ##
==========================================
- Coverage   74.09%   74.08%   -0.02%
==========================================
  Files          51       51
  Lines        4775     4773       -2
==========================================
- Hits         3538     3536       -2
  Misses        908      908
  Partials      329      329

Files Changed
Coverage Δ

pack.go
81.20% <100.00%> (-0.25%)
:arrow_down:


Function calls format

Hello all,
I am using RustFmt for code refactor. I have an issue with function calls with many arguments.
Say, I have a function
linear_viscoelastic_model_dem_other(
            &mut grains,
            &mut hopper,
            1e7,
            0.0,
            dt,
            stage2,
            &grid,
            dim,
 );

I want this to be
linear_viscoelastic_mode_dem_other(
         &mut grains, &mut hopper, 1e7, 0.0,
         dt, stage2, &grid, dim);

Please see the discussion in https://github.com/rust-lang-nursery/fmt-rfcs/issues/65


GCP kubeflow 1.2 install: Kpt not setting values for upstream/manifests/gcp/v2/management/

/kind question
Before installing kubeflow we 'make set-values' which invokes kpt setting. However no attempt is being made to set values in upstream/manifests/gcp/v2/management but it is clear that default values are being set in multiple places. Does anybody know if this is a bug and how it affects my install?
$kpt cfg list-setters upstream/manifests/gcp/v2/management/

upstream/manifests/gcp/v2/management/
         NAME            VALUE     SET BY   DESCRIPTION   COUNT   REQUIRED   IS SET
  gcloud.core.project   PROJECT                           3       No         Yes
  location              us-east1                          1       No         Yes
  name                  NAME                              7       No         Yes

/assign

Suggest using Kubeflow 1.3 now


[HUDI-3215] Solve UT for Spark 3.2

Tips

Thank you very much for contributing to Apache Hudi.
Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.

What is the purpose of the pull request
(For example: This pull request adds quick-start document.)
Brief change log
(for example:)

Modify AnnotationLocation checkstyle rule in checkstyle.xml

Verify this pull request
(Please pick either of the following options)
This pull request is a trivial rework / code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end.
Added HoodieClientWriteTest to verify the change.
Manually verified the change by running a job locally.

Committer checklist

[ ] Has a corresponding JIRA in PR title & commit

[ ] Commit message is descriptive of the change

[ ] CI is green

[ ] Necessary doc changes done or have another open PR

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

@leesf @xushiyan
please review this if have a chance.
This has been verified locally. And the test reports have submitted in this ticket.

@YannByron can you please add PR description, so that it's a little more clear what we're trying to tackle here?

@xushiyan very appreciate for your explanation. I'll restore the origin logic.

@xushiyan what's the difference between ordering.field and precombine.field?

@YannByron let me clarify my thoughts:

event time field can be different from ordering / precombine field: the former is used to calculate latency/freshness; it can be another field say occurred_at and the latency will be calculated as commit_time - occurred_at, while the records are ordered or precombined using updated_at
there are users who need to set event time and there are those who don't care. For the latter, we can't just set it as the ordering field; we should leave it not set and then nothing will be calculated or persisted in commit metadata
as you reported "setting returnNullIfNotFound to true does not take effect", then we should fix that instead of masking it by setting event time

WDYT?

@xushiyan I remove the codes about setting event.time by precombine.field, but I keep setting ordering.field by precombine.field, is it right?
And, for "setting returnNullIfNotFound to true does not take effect", I can't fix it soon. So I just catch the exception in this case to make it work.
please review again.

@YannByron let me clarify my thoughts:

event time field can be different from ordering / precombine field: the former is used to calculate latency/freshness; it can be another field say occurred_at and the latency will be calculated as commit_time - occurred_at, while the records are ordered or precombined using updated_at
there are users who need to set event time and there are those who don't care. For the latter, we can't just set it as the ordering field; we should leave it not set and then nothing will be calculated or persisted in commit metadata
as you reported "setting returnNullIfNotFound to true does not take effect", then we should fix that instead of masking it by setting event time

WDYT?

@xushiyan I remove the codes about setting event.time by precombine.field, but I keep setting ordering.field by precombine.field, is it right? And, for "setting returnNullIfNotFound to true does not take effect", I can't fix it soon. So I just catch the exception in this case to make it work. please review again.

@YannByron yes we should tackle returnNullIfNotFound as a follow-up issue and PR.


WebGL DLLNotFoundException: Unable To load DLL 'mediapipe_c': The specified module could not be found.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 20.04, WSL2): Windows 10 Home Single Language 20H2 X64
Chrome Version: 96
Target (e.g. desktop cpu, android arm64): WebGL
Bazel version:
Python version: 3.9
GCC/G++ version:
Unity version: 2020.3.8f
Android NDK version (if building for Android):
Xcode version (if building for iOS):

Describe the problem
Hi, I'm trying to get the build for Web GL and I'm getting the errors in the screenshot. I know that the topic is duplicate and there is no WebGL support yet, but I need it, can you give me an idea how to proceed? Thank you so much
Full logs

Additional context
Thank you again

See https://github.com/google/mediapipe/issues/1818 and https://github.com/google/mediapipe/issues/877
Duplicates #49

See #395


vector: 0.24.1 -> 0.25.0

https://vector.dev/releases/0.25.0/
https://vector.dev/highlights/2022-10-04-0-25-0-upgrade-guide/
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[x] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Thank you !


crash with new version

I am experiencing a crash when running a simple test case, which seems to be due to commit https://github.com/Microsoft/LightGBM/commit/4948dcc5f1da21e572b283e9ffd3035308055998
I haven't had time to debug it yet, but this is what I get
Num classes: 2
[LightGBM] [Info] Number of data: 5000, number of features: 2
Iteration 1
Score: 0.693147
terminate called after throwing an instance of 'std::runtime_error'
  what():  Check failed: buffer[bag_data_cnt - 1] > buffer[bag_data_cnt] at /home/cjb/.conan/data/LightGBM/0.0.1-0/pix4d/testing/build/376ea0804ce8fafcea70f651db612a88f50c6971/LightGBM/src/boosting/gbdt.cpp, line 205 .

when running the code here http://pastebin.com/xyhJ97YM
I will take a second look later, but I wanted to leave it here for reference. Maybe this test could be added to the test suite as well.

Thanks!
have fixed, you can try it again.


feature/java8 -> dev

This change is

Review status: 0 of 50 files reviewed at latest revision, 2 unresolved discussions.

support/src/main/java/edu/byu/support/activity/ByuActivity.java, line 63 at r1 (raw file):

	private void configureToolbar(View view) {
		Toolbar toolbar = (Toolbar) view.findViewById(R.id.toolbar);

There's a lot of these, so I'll just leave one comment.  Do you not have to cast when you use findViewById anymore?

support/src/main/java/edu/byu/support/utils/StringUtils.java, line 91 at r1 (raw file):

	 * 	Capture the rest of the word (including apostrophes, periods (for web addresses), and possibly numbers) so we can lowercase it
	 */
	private static final Pattern PATTERN = Pattern.compile("(^|[ (/-])(?!(?:" + TextUtils.join("|", EXCEPTIONS) + ")\\b)([a-zA-Z])([\\w'\\.]*)");

I could be wrong, but I thought you did have to escape the period.  I seem to remember this being an issue when we were trying to validate the jwt in OAuth.

Comments from Reviewable

Review status: 0 of 50 files reviewed at latest revision, 2 unresolved discussions.

support/src/main/java/edu/byu/support/activity/ByuActivity.java, line 63 at r1 (raw file):
Previously, geogor37 (Geoff Gorham) wrote…
There's a lot of these, so I'll just leave one comment.  Do you not have to cast when you use findViewById anymore?

Done.

support/src/main/java/edu/byu/support/utils/StringUtils.java, line 91 at r1 (raw file):
Previously, geogor37 (Geoff Gorham) wrote…
I could be wrong, but I thought you did have to escape the period.  I seem to remember this being an issue when we were trying to validate the jwt in OAuth.

Could you test this? The compiler kept telling me that I had an "unnecessary escape"

Comments from Reviewable

Reviewed 50 of 50 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

support/src/main/java/edu/byu/support/utils/StringUtils.java, line 91 at r1 (raw file):
Previously, romrell4 (Eric Romrell) wrote…
Could you test this? The compiler kept telling me that I had an "unnecessary escape"

Looks like this is fine

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

support/src/main/java/edu/byu/support/utils/StringUtils.java, line 91 at r1 (raw file):
Previously, geogor37 (Geoff Gorham) wrote…
Looks like this is fine

Done.

Comments from Reviewable


Use CDF for irradiance prefiltering

Expanding on the realtime filtering of irradiance, here is the equivalent logic for prefiltering.
If the user specifies generateHarmonics = false, prefilterOnLoad = true and scene.enableIblCdfGenerator() has been called, then an irradianceTexture will be generated using CDF.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/16010/merge
Test environment:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16010/merge/index.html
To test a playground add it to the URL, for example:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16010/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/16010/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/16010/merge
https://gui.babylonjs.com/?snapshot=refs/pull/16010/merge
https://nme.babylonjs.com/?snapshot=refs/pull/16010/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/16010/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16010/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
https://snapshots-cvgtc2eugrd3cgfd.z01.azurefd.net/refs/pull/16010/merge/testResults/webgpuplaywright/index.html

Let us know when you think the PR is ready for review.

I would like a review whenever you're available. The functionality is complete, I think.
Maybe I'll make some visualization tests.

I'm getting errors in WebGPU when prefiltering the irradiance. Not sure what's going on yet.
#8R5SSE#481
WebGPU uncaptured error (17): [object GPUValidationError] - Destroyed texture [Texture "BabylonWebGPUDevice5_TextureCube_1024x1024x6_wmips_rgba32float_samples1"] used in a submit.
 - While calling [Queue].Submit([[CommandBuffer from CommandEncoder "upload"], [CommandBuffer from CommandEncoder "render"]])
 - ```

Okay, I've pushed some changes. Notably, I'm creating a new CdfGenerator inside HdrIrradianceFiltering so that we can set the IBL without messing up the one that the user has set on the scene.cdfGenerator.
The WebGPU error seems to be about the loaded, unfiltered cubemap. It happens only when I'm trying to prefilter both irradiance using the CDF maps and radiance. My interpretation of this is that filtering irradiance with the CDF maps causes this texture to be deleted before the radiance filtering runs. Does that sound right?
I'm not sure how or why this would happen. I can filter both without the CDF maps so it certainly seems to be related to something the CDFGenerator is doing.
This playground have shadows disabled and I defined some booleans to let you easily enable and disable irradiance and radiance filtering.
#8R5SSE#487

This playground have shadows disabled and I defined some booleans to let you easily enable and disable irradiance and radiance filtering. #8R5SSE#487

Should this PG crash? It does work for me, with prefilterIrradiance=prefilterRadiance=true. I reloaded it / started it a few times and could not make it crash (Windows 11, Chrome latest version).

No, it shouldn't crash. I used to get the WebGPU errors that I mentioned but, after refactoring the promise logic yesterday, that's gone away.
Everything should be working correctly now.

@Popov72 let me know when you are all good on this one and I ll do a final pass


Support for lumi.sensor_smoke

t will be very fine to support lumi.sensor_smoke
I can help if you explain me !
Thank you.

Do you have a link to product?
Xiaomi smoke detectors work out of the box though, unless anything changed with the latest release.

https://www.gearbest.com/alarm-systems/pp_615081.html?lkid=10368929
Yes it works fine, but we can have the battery type, and battery %, .

Please provide the simple descriptors for the device.

This should be fixed by https://github.com/dmulcahey/zha-device-handlers/pull/46

@Nemesis24 please confirm

It's ok !!

Please provide the simple descriptors for the device.

<SimpleDescriptor endpoint=1 profile=260 device_type=1026 device_version=1 input_clusters=[0, 3, 18, 1280, 12, 1] output_clusters=[25]>


routing break between 4.12.4 and 4.13.1

I have a route that worked properly (for me) using the 4.12.4 release, but broke when I updated to 4.13.1.
The route has an optional parameter enclosed in (literal) parenthesis, like this:
'/:foo\\(:bar?\\)'

It is intended to match paths like /hello(world) or /hello().
On version 4.12.4, both parameters (:foo and :bar) are matched, but with version 4.13.1, it seems that only :foo is.
There is a gist here: https://gist.github.com/mykwillis/cf0a955d1a273257e798#file-route-js
C:\dev\express\route>cat route.js
/**
 * Simple Expressjs application demonstrating difference in routing behavior
 * between version 4.12.4 and 4.13.1.
 */
var express = require('express');
var request = require('request');
var http_server = express()
  .get('/:foo\\(:bar?\\)', function(req, res, next) {
    res.end(JSON.stringify({ 'foo': req.params.foo, 'bar': req.params.bar }));
  }).listen(8080, function() {
    request('http://localhost:8080/hello(world)', function(err, res, body) {
      // 4.12.4: {"foo":"hello","bar":"world"}
      // 4.13.1: {"foo":"hello"}
      console.log(body);
      process.exit();
    });
  });

C:\dev\express\route>npm install<EMAIL_ADDRESS>C:\dev\express\route>node route.js
{"foo":"hello","bar":"world"}

C:\dev\express\route>npm install<EMAIL_ADDRESS>C:\dev\express\route>node route.js
{"foo":"hello"}

I'll look into this, though you'll probably want to fine this kind of issue in https://github.com/strongloop/express/issues in the future :) It's possibly something from a change in path-to-regexp, but I'll have to check. /cc @blakeembrey if he can check it out fasster than myself :)

The matches appear to be the same for each version, I'll look into it with Express a little more.
➜  path-to-regexp git:(0.1.x) gco v0.1.3
Note: checking out 'v0.1.3'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 8f91a83... 0.1.3
➜  path-to-regexp git:(8f91a83) node
> require('./')('/:foo\\(:bar?\\)').exec('/hello(world)')
[ '/hello(world)',
  'hello',
  'world',
  index: 0,
  input: '/hello(world)' ]
➜  path-to-regexp git:(8f91a83) gco v0.1.6
Previous HEAD position was 8f91a83... 0.1.3
HEAD is now at 41abe34... v0.1.6
➜  path-to-regexp git:(41abe34) node
> require('./')('/:foo\\(:bar?\\)').exec('/hello(world)')
[ '/hello(world)',
  'hello',
  'world',
  index: 0,
  input: '/hello(world)' ]

oops, sorry about filing to the wrong repo!

It is a regression. Likely an offset is off by one:
parts = []; require('./')('/:foo\\(:bar?\\)', parts); parts
[ { name: 'foo', optional: false, offset: 1 },
  { name: 0, optional: false, offset: 17 },
  { name: 'bar', optional: true, offset: 18 } ]

I'll patch it and make a PR now.

@blakeembrey awesome, thanks for the quick look :+1: ! I should be back from a vacay soon and get full-force back into the repos :)

thanks for the crazy fast attention, guys.

@mykwillis I patched it in path-to-regexp and made a PR to express for you. Turned out to be a regression where it wasn't handling escaped brackets properly. Thanks for pointing it out :+1:

Hi @mykwillis , I'm sorry for the longer-than-usual time to patch here, but I'm back from my trip and I just released Express 4.13.2 to npm that includes the patch from @blakeembrey . Let us know if you still have any issues!

really appreciate the patch. Glad it wasn't just me going crazy with regex fever!


Fails to add a let's encrypt certificate

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

Yes

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug
Hello everyone.
I just deployed the NPM docker and when I go to add a DuckDNS certificate I get the attached error.
I have performed the python version upgrade but the same thing keeps happening.
pi@raspberrypi:~ $ pip3 --version
Error Nginx.txt
pip 22.0.4 from /home/pi/.local/lib/python3.9/site-packages/pip (python 3.9)
I have recreated the docker, restarted the Raspberry Pi but I still get the error.
Nginx Proxy Manager Version
2.9.16
Operating System
Rpi 2B
OS: Raspbian 11 bullseye
Kernel: armv7l Linux 5.10.103-v7+

I am having the same issue with trying to add for cloudflare!

Hi shabubu.
Try version 2.9.12 with that I have managed to work.
Regards

I am having the same issue with trying to add for cloudflare!

Hi shabubu.
Try version 2.9.12 with that I have managed to work.
Regards

I'm also having the same issue when trying to use CloudFlare.

+1 for cloudflare, same error

I also rolled back to a different version and it worked fine. Given this was the first time I was setting it up in docker on a pi I thought something was wrong and tried shelling in and manually fixing build dependencies but eventually I realized this had to be a bug from a recent version when very few had ever complained about this.

Which version did you go back to?

I also rolled back to a different version and it worked fine. Given this was the first time I was setting it up in docker on a pi I thought something was wrong and tried shelling in and manually fixing build dependencies but eventually I realized this had to be a bug from a recent version when very few had ever complained about this.

Which version did you go back to?

@cma84 suggested 2.9.12. Rollng back to this version worked for me as well.

I solved the issue,
First Update .
apt update
apt-get install build-essential libssl-dev libffi-dev python3-dev cargo
pip install certbot-dns-duckdns~=0.6
Second , add SSL certificate WITHOUT usisng DNS challenge.
I am using Cloudflare.

If it doesn't solve for using cloudflare while using DNS challenge then it is not a solved issue.  The only way I personally use it is with DNS challenge.

The pip of nmp runs inside the container. You should check the pip path in the container. In the country of network censorship, you need to set a proxy for pip in the container. I use this method to solve many pip problems.

Has anyone ran into this problem recently? Last I checked it was still broken (4 months ago)


Github Pages Page build failed: Unknown tag error

I've been getting this error when I try to publish to GitHub-Pages
 Your site is having problems building: The tag image on line 129 in
themes/minimal/exampleSite/content/post/migrate-from-jekyll.md is not a recognized Liquid tag. For
more information, see https://help.github.com/articles/page-build-failed-unknown-tag-error/.

This is lines 111-131 on page themes/minimal/exampleSite/content/post/migrate-from-jekyll.md

is written as this Hugo shortcode:

        {{ with .Get "link"}}{{ end }}

        {{ if .Get "link"}}{{ end }}
        {{ if or (or (.Get "title") (.Get "caption")) (.Get "attr")}}

{{ if isset .Params "title" }}
            {{ .Get "title" }}{{ end }}
            {{ if or (.Get "caption") (.Get "attr")}}

            {{ .Get "caption" }}
            {{ with .Get "attrlink"}} {{ end }}
                {{ .Get "attr" }}
            {{ if .Get "attrlink"}} {{ end }}

 {{ end }}

        {{ end }}

The result is my master being updated on GitHub but my page (sblack4.github.io) does not.
I suspect this is some kind of bug with gh-pages. I'm going to try and fix this in my fork (https://github.com/sblack4/minimal) and can push the changes back if anyone else has this problem!
😃

The issue resolved, I did two things:

surrounded the bit of code in question with triple-backticks (`)
cleaned my public folder (rm -rf public && hugo)

I can't say what fixed it but my gh-pages is back in action!
I'm closing the issue,


Fails to depict and answer the polymeric forms

i have used gget to predict the structure of chloride dismutase and it successfully gave me the pdb file of the structure in a monomeric form and when i cross checked it with pdb database it showed the structure to be a hexameric protein.
Now is it necessary to fill this gap ?

Hi! It might be worth playing around with the mono- versus multimer function in gget alphafold. If you pass each sequence of the hexamer separately as a list (or in a .fa), the program will automatically use the multimer model. This will take much longer but might yield results closer to the expected structure.

HiThe sequence is at 58% identity and is a homohexadimer. So i dont know how but the pdb database showed the same monomer arranged in a circular 6mer perimeter. Plus i cannot put same sequences 6 times, is it ?I mean prodigal captured only one sequenceRegardsHarpreet SinghOn Aug 17, 2022 12:22 AM, Laura Luebbert @.***> wrote:
Hi! It might be worth playing around with the mono- versus multimer function in gget alphafold. If you pass each sequence of the hexamer separately as a list (or in a .fa), the program will automatically use the multimer model. This will take much longer but might yield results closer to the expected structure.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

i also happen to face an issue with supplying a fasta file to read as it returns an error that fasta file starts with '>' but myt file does contain the '>' symbol at the starting.
And i am plotting the pdb file separately in pymol, is the plotting function embedded in gget alphafold as i couldnt get any plot

Hi, I ran gget alphafold on a fasta file containing the chloride dismutase sequence (from PDB 2VHH) 6 times (pasted below). (Note: I had no problem inputting the fasta file. Please make sure your fasta is formatted correctly, starting with a single-line description without any characters/lines preceding the ">".) Inputting several sequences automatically uses the multimer model. The resulting prediction looks as follows:

>1
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD
>2
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD
>3
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD
>4
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD
>5
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD
>6
GSHMQPMQAMKIERGTILTQPGVFGVFTMFKLRPDWNKVPAMERKGAAEEVKKLIEKHKDNVLVDLYLTRGLETNSDFFFRINAYDLAKAQTFMREFRSTTIGKNADVFETLVGVTKPLNYISKDKSPGLNAGLSSATYSGPAPRYVIVIPVKKNAEWWNMSPEERLKEMEVHTTPTLAYLVNVKRKLYHSTGLDDTDFITYFETDDLTAFNNLMLSLAQVKENKFHVRWGSPTTLGTIHSPEDVIKALAD


image does not show in markdown

An image that GitHub can show does not show in markdown.

An image that can be shown in markdown does not get shown in the control
import flet as ft

md1 = """
![Test image](https://cdn.wallpapersafari.com/20/34/lfbiMe.jpg)
"""

md1 = """
image
![Test image](https://cdn.wallpapersafari.com/20/34/lfbiMe.jpg)
endimage
"""

def main(page: ft.Page):
    page.scroll = "auto"
    page.add(
        ft.Markdown(
            md1,
            selectable=True,
            extension_set=ft.MarkdownExtensionSet.GITHUB_WEB,
            on_tap_link=lambda e: page.launch_url(e.data),
        )
    )

ft.app(target=main, view=ft.WEB_BROWSER)

Describe the results you received:

Describe the results you expected:

image

end image
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
Name: flet
Version: 0.7.4
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0

Operating system:

Additional environment details:

It could be a CORS policy on their side. Do you see any errors in Developer Console of your browser while opening the app?

CORS was the first suspect, but since GitHub shows it correctly it can't be CORS.  Both my dev deploy and my local cannot display the image.  Also the server is owned by a friend and he says no CORS is setup on the server.

Can you display that image with just Image control?

I can last the url into the url bar and it shows. Did not try image control.

It's CORS:

The image can be opened in desktop mode without any issues:
import flet as ft

def main(page: ft.Page):
    page.add(ft.Image("https://cdn.wallpapersafari.com/20/34/lfbiMe.jpg"))

ft.app(main)

It's CORS:

The image can be opened in desktop mode without any issues:
import flet as ft

def main(page: ft.Page):
    page.add(ft.Image("https://cdn.wallpapersafari.com/20/34/lfbiMe.jpg"))

ft.app(main)

Thanks for the information 👏  I was about to report that Image control does not work on the browser, and I blindly forgot the CORS policy. Mine was a thumbnail of a YouTube video that I got from their API, so it seems that they forgot to enable CORS.

If we get a CORS error on an image or in markdown, is it possible to display something that shows the image is not available?

I see, there is a possibility for that imageBuilder property. Leaving this issue open and adding "bug" label.

Related: https://github.com/flet-dev/flet/issues/1461

@gbrandt were you able to prepare some workaround?
@FeodorFitsner did it move?

is it possible to display something that shows the image is not available?
Image.error_content can now be used for this.


Add TG bot to telegram directories

If we want users it'd probably be worthwhile to submit the bot to several of the popular TG bot aggregators out there. (Sadly TG doesn't have its own!)

This will increase our mongodb usage potentially too much

This will increase our mongodb usage potentially too much

How? Concurrent connections? Space? There is 512mb for free

good point


Fix/test decision maker

Status
PRODUCTION / DEVELOPMENT
Description
TestSuite class was duplicating function declaration in test_node_decision.cpp and test_node_state_drive.cpp which was causing the unit tests to fail. Since both cpp files rely in the same functions I have created a TestClass to hold all of them. This also reduces maintainability needs.

@s-azumi @kfunaoka This is the completed pipeline following the update of this PR https://gitlab.com/ServandoGS/Autoware/pipelines/46369460

@s-azumi Would you merge this pull request if you are OK?


can't load cocapods-1.2.1/bin/pod (have 1.5.1 installed)

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
When using fastlane started to get message:
xit status of command 'pod install' was 1 instead of 0.
/Users/InVooDoo/.fastlane/bin/bundle/bin/pod:22:in load': cannot load such file -- /Users/InVooDoo/.fastlane/bin/bundle/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/bin/pod (LoadError) 	from /Users/InVooDoo/.fastlane/bin/bundle/bin/pod:22:in '
And I see that fastlane try to use 1.2.1, how to set use 1.5.1 or just latest I have?
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.13.4

Ruby
2.2.4

Bundler?
false

Git
git version 2.15.1 (Apple Git-101)

Installation Source
~/.fastlane/bin/bundle/bin/fastlane

Host
Mac OS X 10.13.4 (17E202)

Ruby Lib Dir
~/.fastlane/bin/bundle/lib

OpenSSL Version
OpenSSL 1.0.2g  1 Mar 2016

Is contained
true

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Development/Xcode.app/Contents/Developer/

Xcode Version
9.3

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE
en_US.UTF-8
✅

fastlane files:
`./fastlane/Fastfile`
default_platform :ios

require_relative '/Users/InVooDoo/Library/Mobile Documents/com~apple~CloudDocs/iWork/Misc/actions'

$apple_id =<EMAIL_ADDRESS>$git_branch = "master"
$team_id = "EHTMEM7E2H"
$itc_team_id = "2106312"

$bundle_ids = ["biz.keyd.globeconvert", "com.globefamilyapps.globeconvert"]
$info_plists = ["Properties/Free-Info.plist", "Properties/Paid-Info.plist"]
$schemes = ["GlobeConvert Free", "GlobeConvert Paid"]

$bundle_id = $bundle_ids[0]

$types = ["free", "paid"]

$project_path = "GlobeUnits.xcodeproj"
$app_name = "GlobeConvert"

$signing_identity = "iPhone Distribution: Ievgenii Lebid (EHTMEM7E2H)"

before_all do |lane, options|
    ENV["APP_IDENTIFIER"] = $bundle_id
end

platform :ios do
    lane :tf do |options|
        build(options)
    end

    lane :dsyms do |options|
        upload_dsyms(options)
    end

    lane :ver do |options|
        update_codesign_version
    end
end

after_all do |lane, options|
    clean_build_artifacts

    is_git_check = options[:check]

    if is_git_check
       reset_git_repo(force: true)
    end
end

`./fastlane/Appfile`
app_identifier ENV["APP_IDENTIFIER"] # The bundle identifier of your app
apple_id<EMAIL_ADDRESS># Your Apple email address

team_id "EHTMEM7E2H" # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.93.1
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-act
1.1.1
✅ Up-To-Date

Loaded gems

Gem
Version

CFPropertyList
2.3.5

activesupport
4.2.9

addressable
2.5.2

atomos
0.1.2

babosa
1.0.2

bigdecimal
1.2.6

bundler
1.14.6

claide
1.0.2

cocoapods
1.2.1

cocoapods-core
1.2.1

cocoapods-deintegrate
1.0.1

cocoapods-downloader
1.1.3

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.0.0

cocoapods-trunk
1.2.0

cocoapods-try
1.1.0

colored
1.2

colored2
3.1.2

commander-fastlane
4.4.6

declarative
0.0.10

declarative-option
0.1.0

domain_name
0.5.20170404

dotenv
2.2.1

emoji_regex
0.1.1

escape
0.0.4

excon
0.59.0

faraday
0.13.1

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

fastlane-plugin-act
1.1.1

fastlane-plugin-appicon
0.7.0

fourflusher
2.0.1

fuzzy_match
2.0.4

gh_inspector
1.1.2

google-api-client
0.13.1

googleauth
0.5.1

highline
1.7.8

http-cookie
1.0.3

httpclient
2.8.3

hurley
0.2

i18n
0.8.6

io-console
0.4.3

json
1.8.1

jwt
2.1.0

jwt
1.5.6

libxml-ruby
3.0.0

little-plugger
1.1.4

logging
2.2.2

memoist
0.16.0

mime-types
3.1

mime-types-data
3.2016.0521

mini_magick
4.5.1

minitest
5.4.3

molinillo
0.5.7

multi_json
1.12.2

multi_xml
0.6.0

multipart-post
2.0.0

nanaimo
0.2.4

nap
1.1.0

naturally
2.1.0

netrc
0.7.8

nokogiri
1.5.6

os
0.9.6

plist
3.3.0

power_assert
0.2.2

psych
2.0.8

public_suffix
2.0.5

rake
10.4.2

rdoc
4.2.0

representable
3.0.4

retriable
3.1.1

rouge
2.0.7

rouge
1.11.1

ruby-macho
1.1.0

rubygems-update
2.5.2

rubyzip
1.2.1

security
0.1.3

signet
0.7.3

simctl
1.6.3

slack-notifier
2.3.2

sqlite3
1.3.13

terminal-notifier
1.8.0

terminal-table
1.7.3

test-unit
3.0.8

thread_safe
0.3.6

tty-cursor
0.5.0

tty-screen
0.6.3

tty-spinner
0.8.0

tzinfo
1.2.3

uber
0.1.0

unf
0.1.4

unf_ext
<IP_ADDRESS>

unicode-display_width
1.3.0

unicode-display_width
1.1.3

word_wrap
1.0.0

xcodeproj
1.5.7

xcpretty
0.2.6

xcpretty-travis-formatter
0.0.4

generated on: 2018-04-28

It seems that the lock of your bundle of using a Cocoapods version 1.2.1, you either update the dependency in your bundle or delete it to force fastlane to use the system one

@minuscorp I'm not using bundle for most of the projects and all the time using it. I have checked fastlane it has 1.2.1 gemspec. Don't know how to change it so far. In the system cocoapods 1.5.0 only now.

You have defined in your Gemfile the CocoaPods dependency with that version, but it seems that is not installed, you should try to bundle install and bundle update

@invoodoo Were you able to solve this? 😊

I have reinstalled all wig sudo and wothout and it seems like it works now. :-)


HBASE-25255 Master fails to initialize when creating rs group table

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

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


Tasks are not moving after gantt is loaded

When you try to move the task it does not react on mouse click in gantt tree.
It only works after the gantt tree is completely minimized and then resized to normal.
This happens in angular gantt version 1.2.13. Any previous version works fine.

I confirm same problem.
Task (mouse drag) move works on 1.2.12, but after upgrade to 1.2.13 it does not work.

Interesting... I still have version 1.2.8 which has worked well for our needs, but I recently started seeing this behavior/problem after upgrading to Angular 1.5.9.  Minimizing the gantt tree appears to restore the capabilities.  Any idea what is behind this or how to fix besides asking users to minimize tree and reopen?

Angular 1.5.6
Angular-gantt 1.2.14
Also experiencing this issue. In short, I load the data first time, I am able to move nothing. I load more data and I am able to move tasks. I did some digging and found out at least this:
In file: angular-gantt/src/plugins/movable.js
var onPressEvents = function(evt) {};

This function is never called after only the first load of the tasks. Additionally these elements appear to be undefined (or rather are empty JQlite objects) on the first load:
var foregroundElement = taskScope.task.getForegroundElement();

// IE<11 doesn't support `pointer-events: none`
// So task content element must be added to support moving properly.
var contentElement = taskScope.task.getContentElement();

Any ideas?

Same problem.
I've noticed that when the tasks are first loaded their directives weren't transformed to  yet, and once taskScope.task.getContentElement() try to get the element by the class this.$element[0].querySelector('.gantt-task-content') this object is returning null.
I just don't know how to solve that. Any light @Toilal ?

No sorry :(. Reproducing the issue on plunkr or a minimal github project would help.

Same problem here also.
As @andrepaulo mentioned it seems to be originating from this.$element[0].querySelector('.gantt-task-content') returning null. This is because upon evaluating getForegroundElement() and getContentElement() the task template hasn't fully rendered yet, looking something like this:
<div class="gantt-task" ng-class="task.model.classes">
   <gantt-task-background></gantt-task-background>
   <gantt-task-foreground></gantt-task-foreground>
   <gantt-task-content></gantt-task-content>
</div>

So trying to find the element with the associated classes using the querySelector fails. Not sure how to rectify this though...

These changes fix the behavior:
https://github.com/animustech/angular-gantt/commit/48108cec28174000a32a74aff85cde476c1fbd39#diff-54c74346f92ae0133fd289da2c74da12
Any change to get them merged? Would a PR be appreciated?


Uploading to keys containing @ fails with error: 403: "The request signature we calculated does not match the signature you provided. Check your key and signing method."

this fails:
gof3r cp<EMAIL_ADDRESS><EMAIL_ADDRESS>--endpoint=s3-eu-west-1.amazonaws.com
gof3r error: 403: "The request signature we calculated does not match the signature you provided. Check your key and signing method."

this works (notice replacing @ with _ in the key name):
gof3r cp<EMAIL_ADDRESS>s3://ts-zfs-backups-eu-west-1/testing_gzip_bla.gz --endpoint=s3-eu-west-1.amazonaws.com

the key name is mandatory (i.e. does not seem to be inferred from filename, so there is really no workaround for this problem)
AWS permits creating keys with @ in them (either through the web console or aws-cli tool)

Same for colon : :|

Fixed by #113


Genericize cce-mem interface

We should genericize the cce-mem interface.  Possibly this should be AXI or something similar.  Otherwise:

Rename the cmds without cce_*
Change the forwarded payload as raw bits instead of a specific struct (like in FE-BE interface).  This will decouple the CCE implementation from the memory interface.  https://github.com/black-parrot/pre-alpha-release/blob/be_dev/bp_common/src/include/bp_common_me_if.vh#L517
Change lce_cce enums to a generic name. For 1 bit enums, possibly change to raw logic for clarity

Keep in mind, this is the CCE-L2 interface, not the CCE-DRAM interface...

sed -i "s/cce_mem/l2_mem/g"

I think I am getting the gist of what you are saying —- basically there
should be interface like we have for BE/FE that does not expose unnecessary
inner details of the directory engine; for example in a single core
implementation, we would not need a lot of this.
In a nutshell:
A. we should have something that looks like an L2 interface, not a CCE/L2
interface.
B. Similarly for L2/DRAM.
C. And there should probably be a third interface which is our I/O enclave,
which is just off of the CCE.
D. (And I guess there is a fourth item, which is the coherent I/O
interface, but that should be a lightly modified LCE interface.)
I think the mechanism there is to provide for synthesis time
configurability of a metadata payload, much like we do with the BE/FE.
Regarding AXI, it is not a good choice for our native interfaces — but is a
must-have for our I/O interfaces — we should have adapters in the BP repo
that allow for easy interfacing.
On Sat, Apr 27, 2019 at 2:36 AM Dan Petrisko<EMAIL_ADDRESS>wrote:

sed -i "s/cce_mem/l2_mem/g"
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/black-parrot/pre-alpha-release/issues/148#issuecomment-487271198,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEFG5ACZSE5PFYORTUJVD43PSQNCBANCNFSM4HI3TRIQ
.

Makes sense to me.  This is coming up because I'm writing the I/O enclave.  Right now it's over-provisioned and just re-uses the CCE/L2 interface.  Looks like the path forward is to design a more light-weight, non-coherent I/O interface.
In Ariane, they used Axi-Lite as the CLINT interface https://github.com/pulp-platform/ariane/blob/master/src/clint/clint.sv
Rocket uses TileLink https://github.com/freechipsproject/rocket-chip/blob/master/src/main/scala/devices/tilelink/CLINT.scala

I ended up doing something very simple for the CLINT interface and punted the I/O decision until later.
https://github.com/black-parrot/pre-alpha-release/blob/dev/bp_top/src/v/bp_clint.v
Essentially, the CCE-MEM interface is the same, but since the timer and software interrupts a) always accept and b) are stored in flops, we just read the request and forward it back with no additional overhead. When we end up handling I/O, (and expand CLINT to I/O enclave), we should use the redesigned interface for outward facing signals.


[New Project]: Password Validation

Describe the project you want to add with tech stack
What is Password Validation?
The Password Validation Webpage project aims to create a user-friendly web application that provides real-time password validation to users. It will help individuals create strong and secure passwords by providing them with immediate insights into the strength of their chosen passwords. The project will implement basic password validation rules and offer suggestions to users for improving the strength and security of their passwords.
Expected behavior
Real-time Validation: The webpage will instantly validate the password entered by the user, providing immediate feedback on its strength and security.
Validation Rules: The webpage will implement a set of validation rules, such as minimum length, required character types etc., to guide users in creating strong passwords.

can you please assign me this issue i would really like to work on it


settings-profile: Move tooltip for name change disabled to field.

Moves the tooltip when name changes are disabled to be shown on hovering over the full name input field. Removes the question icon that previously showed the tooltip on hover.
Follow-up to #23810.
Notes:

Manually tested on Chrome and Firefox in Linux for the tooltip hover behavior. Would be nice if a reviewer could test in Safari / MacOS.
Previous implementations of this type of tooltip were for button inputs (see mentioned PR above) and required adding some CSS rules for the hover behavior to work correctly. Because this is an input field, it seems like adding those CSS rules is unnecessary.

Screenshots and screen captures:

Name changes disabled w/tooltip

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Looks good to me in manual testing! @timabbott over to you.

Looks great, merged, thanks @laurynmm!
@sahil839 FYI in case you have any additional tweaks to suggest.


What is the best way to upgrade local-colabfold 1.3 to version 1.4?Question:

What is your question?
What is the best way to upgrade local-colabfold 1.3 to version 1.4?
Computational environment

OS: [Ubuntu 22.04]
CUDA version if Linux (11.7)

According to your instructions, I have upgraded localcolabfold version 1.3 to version 1.4. The command was executed successfully, but when running the tool, the number 1.3 is seen in the version section of the tool.

Sorry for the confusion, but the behavior is normal. The versions of them are independent. Enjoy it!

Thanks


Question about the API.

Greetings,
I have a question about the API, I mean I know how to add things like top, hair, shoes directly into the mod, but I don't really understand the API.
Is it possible to add more parts, like shirt, from outside the mod with the API, while the mod depends on edit_skin?
For me the API looks complicated, for now because I don't understand it.

Yes.
Here is an example of adding a new top to the mod:
edit_skin.register_item({
	type = "top",
	texture = "mymod_top_1.png",
	mask = "mymod_top_1_mask.png"
})

This code registers a new top that uses mymod_top_1.png as the main texture and mymod_top_1_mask.png as the color mask.
Any other questions?

And that's than in the init.lua from the external mod, and don't need to be done in an list.json?
Otherwise I comment again, if I have any more questions.

Question again.
Let's say I accidentally disabled the Mod that depends on edit_skin, while having the skin parts from that Mod in use, is there a code, that turns the Skin automatically back to the default male or female skin from edit_skin, when I disabled it?
Like "if ("mymod") is disable then" or something like that.

There is no mechanizem for that currently. If a texture is applied to a player, and the file does not exist, you will get "Could not load" errors.
I'm not sure it would be a good idea to set missing textures to the default texture. If someone axodentally disabled a mod, they probably dont want their skin set back to default.

Thank you.
For now, one last question. I read that Minetest having a hardcoded node limit. Does registering more Skin options count to this limit as well, even though the Skin options count as items(?) and not nodes?

Thank you.
For now, one last question. I read that Minetest having a hardcoded node limit. Does registering more Skin options count to this limit as well, even though the Skin options count as items(?) and not nodes?

Skin items do not count against the Minetest node limit. Skin items aren't registered as Minerest craft items. You cant have them in your inventory or anything like that. I think the limit would be RAM. I think Lua JIT is limited to 2GB so that might be the limit.

So 2GB in total, for everything that counts as an Item, like 1GB Skin items and the other 1GB Minetest craft items.
Good to know.

@MrRar
I read in the closed 2nd Issue that it could be possible to have a skinned hand, but you do register here too.
If possible, how would it look like, and would it work with a Mod that depends on Edit_Skin?

@MrRar
I read in the closed 2nd Issue that it could be possible to have a skinned hand, but you need to register here.
If possible, how would it look like, and would it work with a Mod that depends on Edit_Skin, too?


class_alias(\LucaDegasperi\OAuth2Server\Facades\Authorizer::class, 'Authorizer');

For lumen 5.x
if add this line at app.php
class_alias(\LucaDegasperi\OAuth2Server\Facades\Authorizer::class, 'Authorizer');
when i run phpunit,will got
"Cannot declare class Authorizer, because the name is already in use".
so,i delete  class_alias(\LucaDegasperi\OAuth2Server\Facades\Authorizer::class, 'Authorizer');
,use
return response()->json(\LucaDegasperi\OAuth2Server\Facades\Authorizer::issueAccessToken());
in my routes.php

Thanks for using this package!
For this kind of support questions, we'd like you to use the following resources:

Documentation
OAuth 2.0 Documentation
Laracasts
Laravel Slack
Stack Overflow

This will allow us to keep the issues for bug reporting only and make our work easier.

noting to say...


ERROR in ./node_modules/react-dom/cjs/react-dom.production.min.js 12:39-63

Hello. I don't know if this is a bug or something we are not doing well, but I am since morning trying to fix this error that appears when configuring webpack and building the output:
><EMAIL_ADDRESS>build
> webpack --mode production

assets by status 127 KiB [cached] 2 assets
orphan modules 149 bytes [orphan] 1 module
modules by path ./node_modules/ 131 KiB
  modules by path ./node_modules/react/ 6.48 KiB
    ./node_modules/react/index.js 190 bytes [built] [code generated]
    ./node_modules/react/cjs/react.production.min.js 6.3 KiB [built] [code generated]
  modules by path ./node_modules/react-dom/ 119 KiB
    ./node_modules/react-dom/index.js 1.33 KiB [built] [code generated]
    ./node_modules/react-dom/cjs/react-dom.production.min.js 118 KiB [built] [code generated]
  modules by path ./node_modules/scheduler/ 4.91 KiB
    ./node_modules/scheduler/index.js 198 bytes [built] [code generated]
    ./node_modules/scheduler/cjs/scheduler.production.min.js 4.72 KiB [built] [code generated]
./src/index.js + 1 modules 363 bytes [built] [code generated]

ERROR in ./node_modules/react-dom/cjs/react-dom.production.min.js 12:39-63
Module not found: Error: Can't resolve 'object-assign' in '/Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react-dom/cjs'
resolve 'object-assign' in '/Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react-dom/cjs'
  Parsed request is a module
  using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react-dom/package.json (relative path: ./cjs)
    resolve as module
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react-dom/cjs/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react-dom/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /Users/diesanromero/Documents/Projects/kemuscorp/node_modules
        single file module
          using description file: /Users/diesanromero/Documents/Projects/kemuscorp/package.json (relative path: ./node_modules/object-assign)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign is not a file
            .jsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign.jsx doesn't exist
        existing directory /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign
          using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: .)
            using description file: /Users/diesanromero/Documents/Projects/kemuscorp/package.json (relative path: ./node_modules/object-assign)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign is not a file
              .jsx
                Field 'browser' doesn't contain a valid alias configuration
                /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign.jsx doesn't exist
              as directory
                existing directory /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign
                  using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: .)
                    using path: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index
                      using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: ./index)
                        no extension
                          Field 'browser' doesn't contain a valid alias configuration
                          /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index doesn't exist
                        .jsx
                          Field 'browser' doesn't contain a valid alias configuration
                          /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index.jsx doesn't exist
      /Users/diesanromero/Documents/Projects/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/node_modules doesn't exist or is not a directory
      /Users/diesanromero/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/react-dom/index.js 35:2-63
 @ ./src/index.js 2:0-33 5:0-15

ERROR in ./node_modules/react/cjs/react.production.min.js 9:19-43
Module not found: Error: Can't resolve 'object-assign' in '/Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react/cjs'
resolve 'object-assign' in '/Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react/cjs'
  Parsed request is a module
  using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react/package.json (relative path: ./cjs)
    Field 'browser' doesn't contain a valid alias configuration
    resolve as module
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react/cjs/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/react/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/node_modules doesn't exist or is not a directory
      looking for modules in /Users/diesanromero/Documents/Projects/kemuscorp/node_modules
        single file module
          using description file: /Users/diesanromero/Documents/Projects/kemuscorp/package.json (relative path: ./node_modules/object-assign)
            no extension
              Field 'browser' doesn't contain a valid alias configuration
              /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign is not a file
            .jsx
              Field 'browser' doesn't contain a valid alias configuration
              /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign.jsx doesn't exist
        existing directory /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign
          using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: .)
            using description file: /Users/diesanromero/Documents/Projects/kemuscorp/package.json (relative path: ./node_modules/object-assign)
              no extension
                Field 'browser' doesn't contain a valid alias configuration
                /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign is not a file
              .jsx
                Field 'browser' doesn't contain a valid alias configuration
                /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign.jsx doesn't exist
              as directory
                existing directory /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign
                  using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: .)
                    using path: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index
                      using description file: /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/package.json (relative path: ./index)
                        no extension
                          Field 'browser' doesn't contain a valid alias configuration
                          /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index doesn't exist
                        .jsx
                          Field 'browser' doesn't contain a valid alias configuration
                          /Users/diesanromero/Documents/Projects/kemuscorp/node_modules/object-assign/index.jsx doesn't exist
      /Users/diesanromero/Documents/Projects/node_modules doesn't exist or is not a directory
      /Users/diesanromero/Documents/node_modules doesn't exist or is not a directory
      /Users/diesanromero/node_modules doesn't exist or is not a directory
      /Users/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
 @ ./node_modules/react/index.js 4:2-59
 @ ./src/index.js 1:0-26 5:30-49

webpack 5.38.1 compiled with 2 errors in 2784 ms

This is my webpack config file:
const path = require('path');

const HtmlWebpackPlugin = require('html-webpack-plugin');

const babel = {
  test: /\.(js|jsx)$/,
  exclude: /node_modules/,
  use: {
    loader: 'babel-loader',
  },
}

const html = {
  test: /\.html$/,
  use: [
    { loader: 'html-loader' }
  ]
}

module.exports = {
  entry: './src/index.js',
  output: {
    path: path.resolve(__dirname, 'dist'),
    filename: 'bundle.js',
  },
  resolve: {
    extensions: ['.jsx'],
  },
  module: {
    rules: [ babel, html ],
  },
  plugins: [
    new HtmlWebpackPlugin({
      inject: true,
      template: './public/index.html',
      filename: './index.html'
    }),
  ],
  devServer: {
    contentBase: path.join(__dirname, 'dist'),
    compress: true,
    port: 3006
  }
};

I already see what I did wrong.

I already see what I did wrong.

Could please show what was wrong?

resolve: {
    extensions: ['.jsx'],
  },

Please use:
resolve: {
    extensions: ['.jsx', '...'],
},

I already see what I did wrong.

Could please show what was wrong?

I see, I missed the .js in resolve.resolve which I thought it is only affect the code inside src


typo in yaml screenshot describing VM labels

Module 8 Instructions advise to add label env=webapp. Screenshot illustrates label env=wepapp

/workshop/content/images/MTV/61_VMWARE_VMs_YAML.png

@agonzalezrh This issue can be closed, the image was updated to correct the typo.


Write tests for cdb.SelectCurrentWorkflow

What changed?
This PR covers SelectCurrentWorkflow without going too deep into parseWorkflowExecutionInfo helper function. It will be covered separately with a dedicated test function.

Why?
Increase coverage.

Pull Request Test Coverage Report for Build 018df196-f8c8-426d-adb5-445f96950fa8
Details

0 of 0   changed or added relevant lines in 0 files are covered.
450 unchanged lines in 19 files lost coverage.
Overall coverage decreased (-0.01%) to 62.889%

Files with Coverage Reduction
New Missed Lines
%

common/persistence/sql/common.go
2
72.73%

common/persistence/sql/sqlplugin/mysql/db.go
2
83.33%

common/persistence/sql/sqlplugin/mysql/task.go
2
73.68%

common/persistence/sql/sqlplugin/postgres/db.go
2
85.0%

common/persistence/sql/sqlplugin/postgres/task.go
2
73.4%

common/task/parallel_task_processor.go
2
93.06%

common/util.go
2
91.69%

service/history/execution/mutable_state_util.go
2
37.63%

service/matching/db.go
2
73.23%

common/log/tag/tags.go
3
50.18%

Totals

Change from base Build 018df01c-3fd6-4c29-b1b5-1dbf8f49a043:
-0.01%

Covered Lines:
92952

Relevant Lines:
147804

💛  - Coveralls


MongoDB: Simple findFirst() query for primary key is slower than expected

Here it is very clear that the prism creates a bad query for a query that is actually simple
i hope this can fixing
// from prisma query
const message = await prisma.message.findFirst({
    where: {
        id: data.messageId
    },
})

// I changed the match object in the query from Prisma with a simple match, the results were fast
// 41ms execute from Navicate
db.messages.aggregate([
    {
        "$match": {
            "_id": ObjectId("65c0aa61d2b6db513c66be4e")
        }
    },
    {
        "$project": {
            "_id": 1,
            "deviceId": 1,
            "priority": 1,
            "status": 1,
            "payload": 1,
            "maxRetry": 1,
            "expiredSendAt": 1,
            "updatedAt": 1,
            "createdAt": 1,
            "type": 1,
            "callbackUrl": 1,
            "callbackType": 1,
            "proccessId": 1,
            "delay.min": 1,
            "delay.max": 1
        }
    }
])

// The query results from Prisma are taken from the Mongo Compass performance log
// 429ms execute from Navicate
db.messages.aggregate([
    {
        "$match": {
            "$expr": {
                "$and": [
                    {
                        "$in": [
                            "$_id",
                            [
                                {
                                    "$literal": "65c0aa61d2b6db513c66be4e"
                                }
                            ]
                        ]
                    },
                    {
                        "$ne": [
                            "$_id",
                            "$$REMOVE"
                        ]
                    }
                ]
            }
        }
    },
    {
        "$project": {
            "_id": 1,
            "deviceId": 1,
            "priority": 1,
            "status": 1,
            "payload": 1,
            "maxRetry": 1,
            "expiredSendAt": 1,
            "updatedAt": 1,
            "createdAt": 1,
            "type": 1,
            "callbackUrl": 1,
            "callbackType": 1,
            "proccessId": 1,
            "delay.min": 1,
            "delay.max": 1
        }
    }
])

Originally posted by @Davidaprilio in https://github.com/prisma/prisma/issues/16916#issuecomment-1926674064

@janpio are you sure this is a findFirst call?
this looks more like this issue https://github.com/prisma/prisma/issues/22812
i am pretty confident that findFirst does work properly and does not do a $in query, since I analyize this to death for my app. I also suspected findFirst to sometimes lead to collscan https://github.com/prisma/prisma/issues/23775 but in my case it was a "hidden" findUnique that i overlooked because it was caused by a library that i used. Maybe this user has a similar problem

are you sure this is a findFirst call?

Yes, I am pretty sure that is what was reported:

// from prisma query
const message = await prisma.message.findFirst({
    where: {
        id: data.messageId
    },
})

If what was reported was wrong, we will figure this out when trying to reproduce.

I just tried it again, and sorry it turns out it really does use $eq
import { PrismaClient } from "@prisma/client";

const prisma = new PrismaClient({
    errorFormat: 'pretty',
    log: ['query', 'info', 'warn', 'error'],
})

async function run() {
    const res = await prisma.message.findFirst({
        where: {
            id: '65c75988a71554b2fcd0c48d'
        },
    })
}
run()

end in console
(base) david@dell-office:~/Projects/***$ ts-node test/query.ts
prisma:query db.messages.aggregate([ { $match: { $expr: { $and: [ { $eq: [ "$_id", { $literal: ObjectId("65c75988a71554b2fcd0c48d"), }, ], }, { $ne: [ "$_id", "$$REMOVE", ], }, ], }, }, }, { $limit: 1, }, { $project: { _id: 1, delay.min: 1, delay.max: 1, deviceId: 1, priority: 1, status: 1, payload: 1, maxRetry: 1, expiredSendAt: 1, updatedAt: 1, createdAt: 1, type: 1, callbackUrl: 1, callbackType: 1, proccessId: 1, testing: 1, }, }, ])
(base) david@dell-office:~/Projects/***$

Maybe I used to take the query log wrong, but the query was really very heavy.
but I still feel findFirst is heavier than a regular query
when I changed findFirst to aggregateRaw it was much lighter in the performance log, and I also replaced findFirst with the relation Messages: true to aggregateRaw and it was also lighter in terms of the performance log
I looked at the performance log in Compass
This is from the query above

Simple query

Ok, does that mean that the original message was a mistake? If so, I think it would be good to close this issue to make sure that is properly tracked.
I am not sure I am following with the further performance problem you describe. Do you think it is worth creating a new issue, with more information so we can fully understand and reproduce this? We would be very happy to do that. Thanks!

Yes, you can close this issue
and if you want to create a new issue about performance to improve I would be happy, because actually the problem from the start was performance and I was wrong in the query $in

Sure, go ahead! Thanks.

Note that our release 5.14.0 significantly improved the performance of certain queries when using MongoDB, specifically ones with include and in should now not cause a collection scan any more and use an index instead to find the correct documents.
If you still encounter any performance problems with Prisma and MongoDB, please open a new GitHub bug issue. Thanks!


Add just enough namespaces to make a name unique

When a server is created, it includes the entire namespace in the name, this would be very verbose when a version namespace is often included right before. So if we have the following services
foo.bar.baz.v1.service
foo.bar.baz.v2.service
bar.v1.foo.service
bar.v2.foo.service

they should be called
V1Service
V2Service
V1FooService
V2FooService

This should not be implemented like this, since adding a new version can change function names which is obviously annoying


v2: Render + Presenter

Example:
https://github.com/pressly/chi/tree/v2_presenter/_examples/render

btw, is there a way to stream the resp body?

What exactly does this PR accomplish? What is render and a presenter?

@nhooyr it lets you present objects in a desired format (based on Accept header) and let's you version API responses. Check this example: https://github.com/pressly/chi/tree/v2_presenter/_examples/render
Does this answer your Q?


Allow for Reproducible Builds

Hello,
it would be great if you could allow Android users to run reproducible builds to verify that the version downloaded from Google Play is 100% equivalent to the source code here on Github.
Here is an example how the Signal App does this via docker:
https://github.com/signalapp/Signal-Android/blob/master/ReproducibleBuilds.md
Thanks, Marc

Internal Tracking ID: EXPOSUREAPP-2891

Hi @hirschnase, @hrehfeld, @rugk, community, please see https://github.com/corona-warn-app/cwa-app-android/issues/1483#issuecomment-734155537. Thanks.
Best wishes,
DS

Corona-Warn-App Open Source Team

Hhere we have a FOI request (freedom of information; IFG – Informationsfreiheitsanfrage) on FragDenStaat about this topic:
https://fragdenstaat.de/anfrage/sap-cwa-jira-tickets-zu-den-themen-f-droid-vollkommen-quelloffener-software-und-reproduzierbare-builds-corona-warn-app/
Feel free to follow, it asks for some internal Jira tickets about this topic/reproducible builds/F-Droid etc.

Hhere we have a FOI request (freedom of information; IFG – Informationsfreiheitsanfrage) on FragDenStaat about this topic:
https://fragdenstaat.de/anfrage/sap-cwa-jira-tickets-zu-den-themen-f-droid-vollkommen-quelloffener-software-und-reproduzierbare-builds-corona-warn-app/
Feel free to follow, it asks for some internal Jira tickets about this topic/reproducible builds/F-Droid etc.

Cross-posting from https://github.com/corona-warn-app/cwa-app-android/issues/1483#issuecomment-841271723:

CCTG has been built reproducibly since the very beginning. This can be verified by following https://codeberg.org/corona-contact-tracing-germany/cwa-android/src/branch/main/docs/rebuilding.md.
https://github.com/corona-warn-app/cwa-app-android/pull/2800 was merged into the Android app, which should make it reproducible as-is.
Due to the proprietary closed-source components from Google that this app bundles, this is only of limited use.


Link not work at IE Edge

I was trying on IE Edge and navigation with Link appear not working.
I have a basic Router config.
Thanks

I'm having the same issue, what did you conclude?

I don't know. I didn't change anything but it works


Remove duplicate title heading for generated docs

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


qownnotes: 19.7.3 -> 19.8.6, use qt's mkDerivation

Motivation for this change
Update, fix (cc #65399).
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Notify maintainers
cc @dtzWill O:)

Can you squash your commits @dtzWill?

--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/NixOS/nixpkgs/pull/66987#issuecomment-522846163Non-text part: text/html


Update requests

Coverage decreased (-1.4%) to 80.063% when pulling eb14d8341e76c2e18dedaef3719d9756427d4f00 on update-requests into 1f2c02207b7c6527eaae9d30bdda03232198ddf7 on master.


Change Links in README

Currently, the images are being fetched from google drive links and sometimes they do not load on the Readme file. So we decided to use Cloudinary to store all the images. I have already uploaded all the images on Cloudinary(which I will share with the one taking up the issue on slack) and we just need to replace the image links with the new ones in the readme file.
Anyone who wants to take up this issue just comment below.

Hi @Shikhar15606  can you assign me on this one

Hi @Shikhar15606 can you assign me on this one

Ya sure @Jitulteron7. Go ahead


Properly use custom libdcap_quoteprov.so build for CI

In order to make sure that the custom libdcap_quoteprov.so library is used by the CI, we have to set LD_PRELOAD environment variable as well.

The LD_LIBRARY_PATH change in the current master branch solves this CI specific issue.
We are good without changes in this PR.


Update scala-library, scala-reflect to 2.12.17

Updates

org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.12.15 to 2.12.17.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.12.15).
You might want to review and update them manually.
daffodil-japi/build.sbt

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, old-version-remains, commit-count:1

It looks like scoverage has only created 2.12.17 builds for versions 2.0.5 and 2.0.3 of the scalac plugin:
https://search.maven.org/artifact/org.scoverage/scalac-scoverage-plugin_2.12.17
To get either of those versions of the scalac plugin we need to bump the sbt-scoverage plugin to 2.0.x, but those versions have known issues with windows. So because we can't bump sbt-scoverage, we can't bump the scala version. And we also can't bump sbt-native-packager (PR #826).
So we're now running into issues because of this windows problem in sbt-scoverage.
We could maybe try to disable coverage on windows until this is fixed. The GitHub actions files might get a bit ugly.
Alternatively, we could try to put some effort into fixing the sbt-scoverage issue and submitting a PR. It doesn't seem like it's high priority for the devs, so it may not get fixed without outside input.

+1
sbt-scoverage has created a new release that fixes the problems with windows. Due to dependencies, I've updated this PR to update scala, sbt-scoverage, and sbt-native-packager.
We do not distribute the two sbt plugins so there are no licensing concerns There are no new features we really need compared to the old versions, but they do update dependencies, e.g. scala-xml
The scala update is ALv2 and so is compatible with Apache licenses, and our NOTICE/LICENSE files are already accurate. This also includes some important changes, such as always generating Java 8 bytecode for compatibility.


check_proposal called twice on the same protocol state?

Basically, we're checking for the proposal before the best tip on the TF has been updated.

We've solved this by tracking the last slot proposed in.


Kata examples should be editable and runanble

Currently katas in the playground have no way to edit or run examples (in the main index file or in the answer/solution file).
To Reproduce
Open any Kata with example "multi-qubit systems" and scroll to any example (for example, Lesson: Multi-qubit systems in Q#). The code will be shown read-only without any buttons to run.
Expected behavior
Kata code examples should be editable and runnable just like the default sample in the playground.

@DmitryVasilevsky is this done now? It seems katas are editable now on microsoft.github.io/qsharp


Any plan to support not only iOS

Hi
Great library. Any plan to make it pure swiftui and to make it available for other OS like macos.
Thanks Armin

Hi Armin
Thank you! SwiftUI is not scheduled for now while I planned to implement macOS in the next month


Update netrxd.py

rate_b is not currently a keyword argument for rxd.Reaction and rxd.MultiCompartmentReaction.

thanks adam, I made this same fix separately


Integration is using deprecated methods on an instance of NumberEntity

Version of the custom_component
v1.0.0-beta1
On Home Assistant Core 2023.10.5
Describe the bug
I am getting a log message pointing out that the integration is "overriding deprecated methods on an instance of NumberEntity".
Please, have a look at the following message:
Debug log
Logger: homeassistant.components.number
Source: components/number/init.py:203
Integration: Number (documentation, issues)
First occurred: 2:48:43 PM (1 occurrences)
Last logged: 2:48:43 PM
custom_components.miner.number::MinerPowerLimitNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author.

This has been addressed in v1.0.1. @oscarrdg can you verify that upgrading solved this issue? If not, please reopen :)


Question regarding the training loss

Hi, thanks for presenting this great work. I am trying to train a model with a smaller dataset (~10000) from scratch, and have some questions about the loss scale and expected loss curve.

I notice the final loss will be multiplied by sqrt(seq_len) before backward, which is roughly a factor of 10~20 in most cases. So basically it's like using the original loss with a learning rate of 1e-2 or even larger (since the default lr is 1e-3).  Wouldn't it be a bit large and cause stability issues?

During the first 1000 steps of the training, I can hardly observe any decrease in my fape loss. So I was wondering if I have mistakenly used an inappropriate loss scale. If someone has successfully conducted the training and reached a fair accuracy, could you plot the curve of each loss term along the training steps, so that I could check with my loss scale and roughly get a sense of what loss curves I should expect?

My computation resource is still limited, so this kind of prior knowledge is really important to me. Any discussion or assistance is genuinely appreciated. Thanks in advance!

You should also monitor lDDT-CA. In my experience, FAPE loss is the last loss to decrease. Distogram and masked MSA loss have to reach a certain point first because the structure, in the beginning, is rubbish.

Thanks for the reply! A step means a gradient descent step and I'm using a minibatch size of 48.
Yes, I think your explanation is reasonable. Basically, the learning of an informative embedding via masked MSA and distogram loss should precede a little the learning of the structure module.
May I ask, given this definition of step, when the fape loss starts to significantly decrease in your case? Also, are you using the default learning rate and scheduler setting? (1e-3 lr, warmup in the first 1000 steps)

You should also monitor lDDT-CA. In my experience, FAPE loss is the last loss to decrease. Distogram and masked MSA loss have to reach a certain point first because the structure, in the beginning, is rubbish and FAPE is a structure-related loss.
What is a step in your case?

Thanks for the reply! A step means a gradient descent step and I'm using a minibatch size of 48.
Yes, I think your explanation is reasonable. Basically, the learning of an informative embedding via masked MSA and distogram loss should precede a little the learning of the structure module.
May I ask, given this definition of step, when the fape loss starts to significantly decrease in your case? Also, are you using the default learning rate and scheduler setting? (1e-3 lr, warmup in the first 1000 steps)

Sorry, I don't have this data atm, but it took some time. I don't think you see much FAPE movement before the distogram loss is < 0.5. Check out the OpenFold paper for some curves. lDDT-CA started to improve drastically around 3000 steps (Supplementary Figure 1). I didn't use warm-up.

Sorry for my late reply. I indeed observed a drastic decrease in fape loss after 1000+ steps, along with a significant increase in lddt. I used 10000 proteins and the resulting curve highly resembled the one shown in Figure 6. Close the issue now.


Remove obsolete files.

Update documentation

@johngian r?

Code look ok. r+
Make sure that docs are getting build locally.


Modify writer's buffer to normal one instead of pipe one

Vivado reports combinatorial loop in GeMM cluster after recent updates in GeMM Cluster.
The detailed log is as follows:
LUTLP-1#1 Critical Warning
Combinatorial Loop Alert
177 LUT cells form a combinatorial loop. This can create a race condition. Timing analysis may not be accurate. The preferred resolution is to modify the design to remove combinatorial logic loops. If the loop is known and understood, this DRC can be bypassed by acknowledging the condition and setting the following XDC constraint on any one of the nets in the loop: 'set_property ALLOW_COMBINATORIAL_LOOPS TRUE [get_nets <myHier/myNet>]'. One net in the loop is hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_cluster/i_axi_to_mem_dma/i_axi_to_mem_read/i_axi_to_detailed_mem/i_mem_to_banks/gen_reqs[0].i_ft_reg/fifo_i/gen_arbiter.gen_int_rr.rr_q_reg[2]_8. Please evaluate your design. The cells in the loop are:

hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/FSM_onehot_state_q[2]_i_2__0,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/FSM_onehot_state_q[2]_i_6,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/FSM_onehot_state_q[2]_i_7,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/FSM_onehot_state_q[2]_i_9,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/gen_arbiter.gen_int_rr.rr_q[0]_i_7,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__2/LUT5 (in hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__2 macro),
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__2/LUT6 (in hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__2 macro),
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__3/LUT5 (in hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__3 macro),
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__3/LUT6 (in hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i__i_22__3 macro),
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_shell_wrapper/inst_block_gemm_simd/gemm/gemm_array/mesh/mesh_0_0/data_i_fire_reg_i_2,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_shell_wrapper/inst_block_gemm_simd/simd/d_output_ifvalid_counter[31]_i_4,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_streamer_wrapper/i_snax_streamer_gemmX_streamer_top/reader_1/addressgen/outputBuffer/queues_0/ram_ext/gen_arbiter.gen_int_rr.rr_q[0]_i_2__42,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_streamer_wrapper/i_snax_streamer_gemmX_streamer_top/reader_1/addressgen/outputBuffer/queues_0/ram_ext/gen_arbiter.gen_int_rr.rr_q[1]_i_5__12,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_streamer_wrapper/i_snax_streamer_gemmX_streamer_top/reader_writer_0/writer/dataBuffer/queues_19/d_output_ifvalid_counter[31]_i_18,
hemaia_system_i/occamy_chip/inst/i_occamy/i_occamy_soc/i_occamy_quadrant_s1_0/i_occamy_cluster_0/i_snax_core_0_acc_0_snax_streamer_gemmX/i_snax_streamer_gemmX_streamer_wrapper/i_snax_streamer_gemmX_streamer_top/writer_0/addressgen/outputBuffer/queues_0/ram_ext/FSM_onehot_state_q[2]_i_8
 (the first 15 of 177 listed).

After investigation, this is caused by the combinatorial reliance between the readers and the writers. Specifically, imaging a condition when reader's output is directly connected to writer's input, and if FIFOs of both readers and writers are full; The round robin arbitrater initially gives writer side the permission to writer. As both valid and ready signals are high in this cycle, the writer can intake one more data. This information propagates to the reader, and finally reader starts to ask the new data. As writer already stored data in previous cycles, reader has the highest priority to writer, which lead to the revocation of writer's permission and give it. to reader. However, the revocation of writer's permission leads to the revocation of reader's permission to send the new request. Finaally it forms the combinatorial loop.
The solution to fix it is to make writer and reader not combinatorially relying on each other. This is done by introducing another type of FIFO in writer and sacrafice one position in FIFO.

Ok! Why does the test also change?
Because scalatest need no combinatorial relationship between any ports. Previously I inserted some workaround for this; now it is not needed. (As writer side become full FIFO)


Keras LSTM 1st Layer Requires 3d Input

Hi Again,
I want to discuss my implementation. I have a Keras LSTM learner in the first layer. It requires that the X_test input is 3d. This is fine but it breaks my second layer as these (scikit-learn) learners require 2d input. I have consequently modified backend.py as follows:
def _propagate_features(self, task):
        “”"Propagate features from input array to output array.“”"
        p_out, p_in = self.job.predict_out, self.job.predict_in

        # Check for loss of obs between layers (i.e. with blendindex)
        n_in, n_out = p_in.shape[0], p_out.shape[0]
        r = int(n_in - n_out)

        if not issparse(p_in):
            # Simple item setting
            if len(p_in.shape) == 3:
                print(‘p_in.shape before:\n’, p_in.shape)
                print(‘p_out.shape before:\n’, p_out.shape)
                p_in = p_in[:,0,:]
                print(‘p_in.shape after:\n’, p_in.shape)
                p_out = np.concatenate((p_out, p_in), axis=1)
                print(‘p_out.shape after:\n’, p_out.shape)
            else:
                p_out[:, :task.n_feature_prop] = p_in[r:, task.propagate_features]
        else: ....

And this works well i.e. everything works and I see the following output:
p_in.shape before:
(4052, 1, 247)
p_out.shape before:
(4052, 2)
p_in.shape after:
(4052, 247)
p_out.shape after:
(4052, 249)

The problem now is that I go back to my previous problem in that I am looking at the learners in both:
for fitted_estimator in ensemble.layers[i].learners[j].learner:

for fitted_estimator in ensemble.layers[i].learners[j].sub_learner:

for the second layer and 3rd and 4th learners (linear regressions) and I see that their coef_ length is only 2 and not 249 like I expected given that I am trying (see above) to propogate the 247 input to the second layer. I am trying to train the scikit-learn models on the second layer because with a 3d input it seems the only model that I can have in the first layer is the Keras model.
Please try and help me. What I really want is an ensemble with

LSTM; and other scikit-learn models (this is working but I don't understand the second layer)
My own cost functions (these work)
My own simple linear regression where I set intercept to 0 and have a coef_ of 1 to one column in the input data i.e. one of the 247 columns (I think I can do this but see below)

So far, everything is working but I need to work out why these fitted 2nd layer linear regression objects have a coef array of length 2 (when I expect 249) but I know how to change them now (thanks to you) and then I think I am done. I am in London and I am happy to share my code with you. Please help!!! I really need to get this finished.

False alarm. I changed the code from:
	ensemble.add(ests_1,
			folds= 10,
			propagate_features=[247],
			proba=False)

to
	ensemble.add(ests_1,
			folds= 10,
			propagate_features=[i for i in range(247)],
			proba=False)

And now it works! I just need to change the linear regressions and I am done! Thanks again for your help yesterday and thank you for writing this library. You might want to fix the 3d input issue for Keras' LSTMs when you find time. You can close this issue. Let us know if you would like to come to our office in Knightsbridge and meet the team and I'll buy you a coffee. This is Christian from Cirdan Capital.

Hi,
I'm glad it works. A few notes:

The safe way to manipulate input data is to add a preprocessing instance to you meta-learner layer that flattens the data. In your case, overriding _propagate_features is fine, but in general there is no way of knowing how to merge dimensions.

As stated in the documentation, the propagate_features argument expects an iterable, such as range(247), or more generally a list of column ids.

You are using an LSTM, which is a sequential model, but the SuperLearner instance uses standard cross-validation. You may want to the temporal ensemble class.

Best of luck!


Add tools tips to v2

I think you should add some tool tips .
For instance - "add users" - big plus on the top right side.
"Deposit addresses"  - near the balance on he right.

#304