Add route_service_url support for cups

Hi Simon et al
This PR is to add route_service_url support when creating user provided services  (i.e.  -r route_service_url)
Please see [#101430114] for more information
https://www.pivotaltracker.com/story/show/101430114
Cheers

At CLI team's request, we'll add a validation to return a meaningful error when API doesn't support the new option.

Will update to include the CC version validation and error message,  and will resubmit..
Cheers

Per @krishicks, the CLI team has decided to address a version checking strategy themselves later. So this PR is ready for evaluation.

Closing as per Shannon, we will resubmit after


TypeError: edge.initializeClrFunc is not a function

I fork this project, run and get a error as title.
OS: macOS 10.13.2
Node.js: 8.8.1
NETCore: 2.0.1-servicing-006924
mono: <IP_ADDRESS>
exception stack:
edge-js-quick-start git:(master) node main.js
CoreClrEmbedding::Initialize - Failed to initialize CoreCLR, HRESULT: 0x80070057
/github/edge-js-quick-start/node_modules/edge-js/lib/edge.js:178
    return edge.initializeClrFunc(options);
                ^

TypeError: edge.initializeClrFunc is not a function
    at Object.exports.func (/github/edge-js-quick-start/node_modules/edge-js/lib/edge.js:178:17)
    at Object.<anonymous> (/github/edge-js-quick-start/main.js:12:34)
    at Module._compile (module.js:612:30)
    at Object.Module._extensions..js (module.js:623:10)
    at Module.load (module.js:531:32)
    at tryModuleLoad (module.js:494:12)
    at Function.Module._load (module.js:486:3)
    at Function.Module.runMain (module.js:653:10)
    at startup (bootstrap_node.js:187:16)
    at bootstrap_node.js:608:3

me too
node main.js

module.js:597
  return process.dlopen(module, path._makeLong(filename));
                 ^
Error: Call to coreclr_create_delegate() for G failed with a return code of 0x80070002.
    at Error (native)
    at Object.Module._extensions..node (module.js:597:18)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (C:\Users\zr\Desktop\edge-js-quick-start-master\node_modules\edge-js\lib\edge.js:53:8)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)

I am also having this issue
macOS 10.13.3
node.js v8.9.4
NETCore 2.1.101

Was very busy lately, will take a look at macOS implementation issues in the next few days.

Issue fixed in new edge-js release. Quick start have been updated, and now works on Windows/macOS/Linux. Either do a fresh repo clone and follow the setup steps or update your repo, perform npm install and rebuild .NET solution.

Same problem
node 10
ubuntu 18.04 x64
net core 2.2.105

Hello, I cloned it, did npm install, then build the sln project and got :
Uncaught TypeError: edge.initializeClrFunc is not a function
at Object.exports.func (C:\A_Test\node_modules\electron-edge-js\lib\edge.js:187)
I have NodeJS 12.4.0
Electron 5.0.3
Electron-edge-js 12.4.0
Tried to download it rather than clone it, then building the cs part with the command, still didn't work.
Tried changing the paths to full direct string paths rather than variables.
Read the others posts and tried all the propositions.
Still didn't found how to fix it :'(


FEATURE: Support #keys on all metric types to fetch label value set for a metric

I am not a fan of the name keys for this method. Cause
{a: 1, b: 2}.keys
[:a, :b]

values that prom client uses has the exact same surprise going for it.
Instead... I think the most Ruby-ish thing we can to is probably define to_h (rename keys, to_h)
Also make sure you never leak out the internal store, you should do a .dup in Gauge and Counter.

feel free to merge once the dups are in.


Error saving on social_provider_user table after Google Login

Devdojo\Auth\Http\Controllers\SocialController@callback is giving me a error:
SQLSTATE[42703]: Undefined column: 7 ERROR: colunmn "id" doesn't exists LINE 1: ..., $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) returning "id" ^ (Connection: pgsql, SQL: insert into "social_provider_user" ("provider_user_id", "nickname", "name", "email", "avatar", "provider_data", "token", "refresh_token", "token_expires_at", "provider_slug", "user_id", "updated_at", "created_at") values (XXXXXX, ?, XXXXXXXX<EMAIL_ADDRESS>https://lh3.googleusercontent.com/a/XXXXXXX"{\"sub\":\"XXXXXXX\",\"name\":\"XXXXXXX\",\"given_name\":\"XXXXXX\",\"family_name\":\"XXXXXX\",\"picture\":\"https:\\\/\\\/lh3.googleusercontent.com\\\/a\\\/XXXXXXXc\",\"email\":\"XXXXXXX@gmail.com\",\"email_verified\":true,\"id\":\"XXXXXXXXXXXXX\",\"verified_email\":true,\"link\":null}", XXXXXXX, ?, 2024-06-21 21:07:26, google, 1, 2024-06-21 20:07:27, 2024-06-21 20:07:27) returning "id")
I belive it's line 67:
$newUser->addOrUpdateSocialProviderUser(...);
I just created a new project, installed the devdojo auth following the guide, runed the migrations and added the Google Keys on .env. Same error.
After looking the table social_provider_user, the structure doesn't contains the column "key" to return. The migration doesn't add it as well. The primary key is $table->primary(['user_id', 'provider_slug']);.
Now, why the parsed query from the ORM results on a return "id" at the end, I don't know. Driver maybe? PostgreSQL falt? How do we fix it?
Windows 11, PHP 8.3.8, PostgreSQL 16.2 running php artisan serve.

I've added on the model SocialProviderUser.php
protected $primaryKey = ['user_id', 'provider_slug']; public $incrementing = false;.
Now it's writing on the table.
My next error is:
SQLSTATE[42703]: Undefined column: 7 ERROR: column "0" doesn't exists LINE 1: select * from "users" where ("0" = $1 and "1" = $2) limit 1 ^ (Connection: pgsql, SQL: select * from "users" where ("0" = user_id and "1" = provider_slug) limit 1).
Investigating.

Well, I don't understand now.
The cookie is being saved.
The SessionGuard.php file is getting the $id fine:
$id = $this->session->get($this->getName());
But on the next line, when $this->user = $this->provider->retrieveById($id) tries to get the user we have this weird query select * from "users" where ("0" = user_id and "1" = provider_slug) limit 1

I am running into the same exact situation, I didn't do any of the extra steps @RudyAnconi did though.
I am using Supabase (postgres)

The fix that I suggested only solve half of the problem.
I'm still having problems with the $this->user = $this->provider->retrieveById($id)

After restart the server and delete the session, now it's working 👍

Thanks @RudyAnconi, does this PR that you submitted resolve the issue you were experiencing: https://github.com/thedevdojo/auth/pull/55/files. If so, I'll be sure to tag a new release tomorrow. I have a few more updates that will be going into that release as well.

@tnylea Yes, the PR solve the problem. Thank you for the quick follow up.

Perfect! Just tagged a new release here: https://github.com/thedevdojo/auth/releases/tag/1.0.2. Appreciate the help with that PR 😉
Feel free to let me know if there are any other issues or if you have any additional PR's you want to contribute.
Thanks! Talk to you soon.


New blue dark UI colors clash with dark devtools

Version
5.0.1
Browser and OS info
Chrome 75 / macOS 10.14.4
Steps to reproduce
Updating vue-devtools to 5.0.1
What is expected?
The dark vue-devtools would fit with the rest of Chrome’s dark devtools interface
What is actually happening?
The previous dark theme, which fit with the muted, desaturated dark devtools theme in Chrome, has been replaced with a dark blue theme that clashes with the default dark devtools theme. It seems like the UI colors are coming from @vuejs/ui and are supposed to be standard across Vue.js projects, but wouldn't it make more sense to make the devtools a “good citizen” of Chrome devtools than to sacrifice that for unity with other Vue.js products?

We're not gonna do specific styling for each version of the devtools.

Why was the old styling changed? The chrome dev tools color scheme doesn’t
change; it seems like only Vue-devtools was changed.
On Tue, Mar 26, 2019 at 8:32 AM Guillaume Chau<EMAIL_ADDRESS>wrote:

We're not gonna do specific styling for each version of the devtools.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vuejs/vue-devtools/issues/913#issuecomment-476604590,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJ5Yr8x-i0nLvWpSnFBuRVrecCNbvwLjks5vahNcgaJpZM4cKgR7
.

I mean Chrome, Firefox and the electron app

I know it may seem like a little detail, and even may feel a little nitpicky. However, now Vue Tools doesn't match Chrome's dev tools when it's set to dark mode, or the browser default when the OS is set to dark mode. The dark blue seems out of place and makes the extension feel less integrated into the browser. I would love to see the return of the previously used dark grey - instead of blue so it sits better within Chrome browser, and Electron.

https://github.com/vuejs/ui/issues/28


dotenv conflict with latest version

Hey guys,
I noticed on a new project I'm setting up that dotenv is having an issue with the latest version on node-coap, with dotenv preloaded requests no longer come in.
"dev": "node -r dotenv/config ./src/server.js",
dotenv was working with version 0.25.0
Im also on node version 14 but going to try latest of that as well in a bit.
No errors are showing up so I'm not sure where to start looking

Hm ... I would not know where node-coap relies on env variables at all ... so honestly: Does it work without dotenv?
Else enable debug log and show whats happening ....

Yeah I enabled debug log to see if I could see anything and nada

starts working just fine but local env vars don't get loaded :(

Not sure if this is an issue with dotenv blocking the incoming requests but wouldn't make much sense as it's just loading the env var into the process with node first starts up

@JKRhb any idea? I can not imagine that it should make any difference

Hmm :/ Maybe this is somehow caused by the switch to typescript?

I think this might actually be an issue with the node project using ESModules, I finally got an error with dotenv running just a simple http server

r

well nvm I realized I has a spelling error >.< it did work with the node http module so back to square one

@JKRhb are you able to reproduce for a sanity check?

🤦  I have no idea why but I started removing my env vars one by and and I removed my server PORT var and it started working

so something like this is not working
const port = process.env.S_PORT || 65011;
server.listen(port, () => {
	console.log(Date());
	console.log('\n=================================================\nCOAP LISTENER running at port ' +
	`${port}` + `\n Worker ${process.pid} is listening ` +
	'\n=================================================\n');
});

ah ok figured it out, due to the migration to TS a check must has been added to ensure the port is a number.
This works
const port = parseInt(process.env.S_PORT) || 65011;
server.listen(port, () => {
	console.log(Date());
	console.log('\n=================================================\nCOAP LISTENER running at port ' +
	`${port}` + `\n Worker ${process.pid} is listening ` +
	'\n=================================================\n');
});

@JKRhb are you able to reproduce for a sanity check?

Oh, sorry for the late response! :/

ah ok figured it out, due to the migration to TS a check must has been added to ensure the port is a number.

Oh, awesome that you could figure it out 🎉 Would you consider this issue resolved then? Or do you think some kind of documentation should be added in case others run into the same problem?

@JKRhb yeah I just think a quick little note next to the port in the readme would suffice! :) especially since pre 1.0.0 it could take in a string

@JKRhb yeah I just think a quick little note next to the port in the readme would suffice! :)

That sounds good :)

especially since pre 1.0.0 it could take in a string

I think the documentation in general could probably be updated – either in the README or maybe auto-generated using the TS typings and Github Actions, for example. The structure of the possible parameters for each method/constructor is pretty complex IMHO and not that well reflected at the moment.
...but I guess that is step we can take after documenting the new port parameter ;)


AVRO-2016: Adds --include option to the IdlTool.

We introduced automatic code formatting. For more info see the "How to contribute" page. This  probably affected this PR can you please rebase it.


Similar issue with  AnalysisManager.run

My cuckoo.py just started puking this out after one of the last updates. Like within the last 2 weeks max. I am not exactly sure which update did it, or what the stack trace is trying to tell me, so I'll just post it here.
2015-12-10 23:28:07,313 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 439, in run
success = self.launch_analysis()
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 326, in launch_analysis
self.guest_manage(options)
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 254, in guest_manage
guest.start_analysis(options, monitor)
File "/home/jc/cuckoo/lib/cuckoo/core/guest.py", line 375, in start_analysis
self.wait_available()
File "/home/jc/cuckoo/lib/cuckoo/core/guest.py", line 270, in wait_available
socket.create_connection((self.ipaddr, self.port), 1).close()
File "/usr/lib64/python2.7/socket.py", line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib64/python2.7/encodings/idna.py", line 164, in encode
result.append(ToASCII(label))
File "/usr/lib64/python2.7/encodings/idna.py", line 73, in ToASCII
raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long
no idea what that means. I will try shutting the api, web interface and cuckoo itself down and then running utils/community.py -wafb master and utils/community.py wafb 2.0 to see if that helps but I really doubt that it will. I have only tried analyzing one binary so far so I am not sure if this is being caused by the piece of software I am trying to analyze or what. Please let me know what else I can do to help troubleshoot this message.
Thanks,
l0ft

Also wanted to follow up. After I tried updating the community stuff I went back in through the web interface and submitted www.google.com which is my default for testing on here. Got a similar stack trace as last time. Check it out:
2015-12-10 23:40:58,878 [lib.cuckoo.core.scheduler] ERROR: Failure in AnalysisManager.run
Traceback (most recent call last):
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 439, in run
success = self.launch_analysis()
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 326, in launch_analysis
self.guest_manage(options)
File "/home/jc/cuckoo/lib/cuckoo/core/scheduler.py", line 254, in guest_manage
guest.start_analysis(options, monitor)
File "/home/jc/cuckoo/lib/cuckoo/core/guest.py", line 375, in start_analysis
self.wait_available()
File "/home/jc/cuckoo/lib/cuckoo/core/guest.py", line 270, in wait_available
socket.create_connection((self.ipaddr, self.port), 1).close()
File "/usr/lib64/python2.7/socket.py", line 557, in create_connection
for res in getaddrinfo(host, port, 0, SOCK_STREAM):
File "/usr/lib64/python2.7/encodings/idna.py", line 164, in encode
result.append(ToASCII(label))
File "/usr/lib64/python2.7/encodings/idna.py", line 73, in ToASCII
raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long
So I'm not really sure what's going on, but something is. The system is Fedora 22 (and was working). It's 64 bit and I keep everything up to date using dnf.
Thanks,
l0ft

Well, if you look closely it appears to be an error related to getaddrinfo / something with unicode encodings. Not really sure how that comes in to play here..

Closing this issue. Please re-open if you have new information on this issue etc.


[Enhancement] support creating index on mv

Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

[FE Incremental Coverage Report]
:disappointed: fail : 9 / 13 (69.23%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
6
10
60.00%
[997, 998, 999, 1000]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
2
2
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 10 / 14 (71.43%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
6
10
60.00%
[997, 998, 999, 1000]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
3
3
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 10 / 14 (71.43%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
6
10
60.00%
[997, 998, 999, 1000]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
3
3
100.00%
[]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 20 / 34 (58.82%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
3
10
30.00%
[862, 863, 864, 865, 1000, 1001, 1002]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
14
20
70.00%
[125, 133, 138, 157, 202, 203]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
3
4
75.00%
[768]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[FE Incremental Coverage Report]
:disappointed: fail : 20 / 34 (58.82%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
3
10
30.00%
[862, 863, 864, 865, 1000, 1001, 1002]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
14
20
70.00%
[125, 133, 138, 157, 202, 203]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
3
4
75.00%
[768]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio rebase

[FE Incremental Coverage Report]
:disappointed: fail : 20 / 34 (58.82%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/MaterializedView.java
3
10
30.00%
[862, 863, 864, 865, 1000, 1001, 1002]

:large_blue_circle:
com/starrocks/sql/analyzer/AlterTableStatementAnalyzer.java
14
20
70.00%
[125, 133, 138, 157, 202, 203]

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
3
4
75.00%
[768]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)


feat: Restart all bots

This PR

Adds the ability to restart all bots - Stops all running bots and start all bots in the botproject
Adds the suffix (Root Bot) or (Skill) to differentiate in the projectTree and start bots panel
Stop bots when projects are switched to avoid orphaned bots and ports.

Fixes #5115

Coverage increased (+0.02%) to 55.371% when pulling 019719fb7024aef2bceec48376678df99ad4f59e on srravich/restart-all-bots into eccbebe15c9c9395554c21a8db72bf97e205bb72 on main.


freebsd: Correctly detect FreeBSD version

This change removes the CI check that applies to freebsd version cfg. This is causing problems where the freebsd version defaults to 11 when CI is not enabled, some types may be incorrect on a > 11 system,
and compilation failures ensue.
A concrete example is libc::dev_t. This was defaulting to u32 on my FreeBSD 13-STABLE desktop, when it should have been u64. I couldn't compile anything that uses libc::devname_r as a result.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

Note that there was a previous attempt about that, #2581, and it was reverted as it causes an unwanted regression. See the discussion on the mentioned PR.

couldn't compile anything that uses libc::devname_r as a result

This means we're missing something like
    #[cfg_attr(all(target_os = "freebsd", freebsd11), link_name = "devname_r@FBSD_1.0")]

I really think we should add versioned symbols to ALL functions already.

I'm going to close this with the above reason, we should discuss how we treat these cfgs first, I think.


Text wiggles while scrolling while zoomed

Issue Type: Bug
On my Mac, when I scroll slowly, the lines of text wiggle. I took two screenshots at slightly different scroll positions, then aligned the first line of code in each screenshot.

I can't remember this happening previously. With macOS's inertial scrolling, it is a bit nauseating because almost any amount of scrolling ends with wiggling text as the scroll position eases to a stop.
The UI is zoomed in one step from default scale. At default zoom level I do not notice this, though it might be happing.
    "window.zoomLevel": 1,

The font is Apple's SF Mono (which may need to be installed from inside Terminal.app or wherever it lives now). I have a Retina display set to default scaling.
    "editor.fontFamily": "SF Mono",
    "editor.fontWeight": "500",
    "editor.fontSize": 12,

VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:18:50.054Z)
OS version: Darwin x64 19.5.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8559U CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.03GB free)

Process Argv
-psn_0_352342

Screen Reader
no

VM
0%

Extensions (29)

Extension
Author (truncated)
Version

systemd-unit-file
coo
1.0.6

vscode-eslint
dba
2.1.8

vscode-dash
dee
2.4.0

vscode-codeql
Git
1.3.1

vscode-test-explorer
hbe
2.19.1

r
Iku
1.4.3

linter-gfortran
krv
2.2.1

restructuredtext
lex
129.0.0

nc-gcode
ML
0.13.0

vscode-docker
ms-
1.4.1

vscode-ros
ms-
0.6.4

python
ms-
2020.7.96456

remote-containers
ms-
0.128.0

remote-ssh
ms-
0.51.0

remote-ssh-edit
ms-
0.51.0

remote-wsl
ms-
0.44.4

vscode-remote-extensionpack
ms-
0.20.0

cmake-tools
ms-
1.4.1

cpptools
ms-
0.29.0

debugger-for-chrome
msj
4.12.9

java
red
0.65.0

vscode-xml
red
0.13.0

LiveServer
rit
5.6.1

vscodeintellicode
Vis
1.2.9

vscode-java-debug
vsc
0.27.1

vscode-java-dependency
vsc
0.10.2

vscode-java-pack
vsc
0.9.1

vscode-java-test
vsc
0.24.0

vscode-maven
vsc
0.23.0

This is due to using window.zoomLevel. I recommend to use editor.fontSize for pixel perfect rendering. The window.zoomLevel is implemented outside of our control and even if we render rectangles at integer coordinates that perfectly touch each-other, the zooming might introduce rounding errors and create such artefacts.
Duplicate of #91686 and many others


Handle invalid address in url

Fixes #940.
It doesn't redirect (as suggested in the issue), just indicate the problem and avoids the crash.

On thing to consider here is the up to now,  PrettyAddress was throwing an exception for illegal addresses, but this PR changes the behavior so that now it only indicated the error, but lets the render continue. This might change the application's behavior in other situations in presence of illegal addresses... so some testing might be needed.

Sorry, wait, something is not right here...

@buberdds @pro-wh  this has been revamped. No more changes in PrettyAddress. No more unnecessary API request to load staking data. Ready for review again.

@buberdds I have replied to all your comments, and pushed my latest changes.

Task linked: CU-2yrztvw Prevent app crash when invalid address is provided

thanks, dismissing the changes-requested status.


Compiling Error (Fuzz.o)

cc -c -O3 -D_GNU_SOURCE -Wall -Werror -Wframe-larger-than=131072 -std=c11 -I/usr/local/include -I/usr/include -Wextra -Wno-override-init -funroll-loops -D_FILE_OFFSET_BITS=64 -D_HF_ARCH_LINUX -o fuzz.o fuzz.c
fuzz.c: In function ‘fuzz_threadNew’:
fuzz.c:324:40: error: ‘.verified’ directive output may be truncated writing 9 bytes into a region of size between 1 and 4096 [-Werror=format-truncation=]
snprintf(verFile, sizeof(verFile), "%s.verified", crashedFuzzer->crashFileName);
^~~~~~~~~~~~~
fuzz.c:324:5: note: ‘snprintf’ output between 10 and 4105 bytes into a destination of size 4096
snprintf(verFile, sizeof(verFile), "%s.verified", crashedFuzzer->crashFileName);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:242: fuzz.o] Error 1

Thanks, I've seen this warning before - if I'm not mistaken it's fortify-source thing? In any case I'll think on how to silence it, as it's not a bug in our code.

Please try with https://github.com/google/honggfuzz/commit/bcbead20ab264e4ce38eb75c4cb5675cc4c3a4fb or with HEAD. Though, I don't have access to gcc-7 to test it.

I just tested it and it worked but i've encountered another compiling error.


add CEDAR and ARCHS4 and overhaul and simplify code base

This pull request:

removes the dependency on alldataFilesEditor.Rmd to add or edit entries in the tables (this file is now deprecated/unnecessary -- will remove in a later push)
ports over previously added or edited entries to their respective files (e.g., a resource ISIC Archive now in resourceTable.Rmd) and CaPTk, an imaging tool, now in imagingTable.Rmd)
adds CEDAR and ARCHS4 as ITCR funded resources in resourceTable.Rmd
corrected CGC entry within multiTable.Rmd. Two of its Data Provided were not comma separated and therefore were not linked in the tables. Now they should be comma separated and ICGC linked.
added a script with two functions to handle formatting of tables (scripts/format-tables.R). Sourced this file and called its functions within each sub-table Rmarkdown (clinicalTable.Rmd, imagingTable.Rmd, multiTable.Rmd, omicsTable.Rmd, and resourceTable.Rmd).
no longer requires .csv files to be written for each formatted/modified sub-table. The variables are now inherited within allTables.Rmd.

Further work will improve documentation to explain what is happening and what steps should be followed in order to add or edit additional tools/resources. There may also be further reduction of I/O, regarding the resource identifier file, but not sure about this.

added PCDC and documentation. No further reduction in I/O

I think once we add "data" to the relevant file names this should be good to go :) (unless you did already and I missed that)


Fix Export CSVs

Fixes this issue: https://trello.com/c/r1bEsuU0/6915-2355-the-bouqs-export-to-csv-produces-blank-csv-document
Functional Tests

Replicated the issue on my vm in Firefox
Made this change to the js code and made sure it fixed the issue
Tested in chrome and safari to make sure those still worked

sorry this was for a local fork and is irrelevant here


📝 Fix CODEOWNERS error

@mousemaid --auto-merge

Esmerelda encountered an error: review required from @onein528 in order to merge.
error/403


elastalert will load the .yaml file in the hidden directory

My configuration parameters
rules_folder：/opt/elastalert/rules

rules_folder Parameters: It will try to load every .yaml file in the folder.
I run elastalert into kubernetes 1.18.3, and the rules file is mounted as configmap.
But kubernetes will create two hidden folders in this directory ("/opt/elastalert/rules"), which are "..2021_02_02_02_32_32.793023263" and "..data". These two folders cause elastalert to retrieve these two folders. Yaml in two directories, because the rule names cannot be the same, it will stop running. Is there any good solution?

https://github.com/jertel/elastalert-docker

@hyt05 In case it's helpful, I had the same problem and resolved it using the scan_subdirectories option. Here's the relevant bit of my config.yaml:
# This is the folder that contains the rule yaml files
# Any .yaml file will be loaded as a rule
rules_folder: rules

# Should ElastAlert recursively search the rules_folder
# for rule yaml files.
# Disabled because it causes errors when files are mounted
# from a Kubernetes config map.
scan_subdirectories: false

# ... rest of config


[DOCFIX] Add Chinese Tensorflow Document

Can one of the admins verify this patch?

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10711/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10712/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10783/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-PR-Builder/10807/
Test PASSed.

alluxio-bot, merge this please


Pending broken links on the website

Hi All,
PFA for the pending broken links on the website.
404 error URLs on site.xlsx

Adding few more
https://www.moleculardevices.com/sites/default/files/2018-04/Video-Gn.png https://www.moleculardevices.com/sites/default/files/2019-08/user-guide.png https://www.moleculardevices.com/sites/default/files/icons/sds.png https://www.moleculardevices.com/sites/default/files/icons/coa.png

All have been address in the sheet. Either imported, created redirect or missing on old site as well.

Closing as we have https://github.com/hlxsites/moleculardevices/issues/1081 also for 404 issues.


Add logic for two dim s value in RISE

Some input on how to resolve the typecheck errors would be appreciated.

Given #95, is this PR safe to close?

Given #95, is this PR safe to close?

Yes, go ahead.


Fix CUDA builds for OSKAR.

The Linux builds for OSKAR with Cuda are working, but when they are then imported on a host machine. The linker cannot find the cuda runtime libraries.
Investigate why the libraries cannot be found on the host even if the cudatoolkit is added as a dependency for conda.
If the libraries are found it should be possible to run the OSKAR version with CUDA on non-cuda enabled devices. As the OSKAR implementation always checkes if CUDA devices are actually present.
For now the OSKAR conda packages are working but only with CPU computing, which is a bit slower.

@fschramka Do you know whether CUDA works on CSCS?

@kenfus  I think this is fixed now, no?

Fixed according to @kenfus


Database import fails: pv: /mnt/ddev_config/.../*.*sql: No such file or directory

Is there an existing issue for this?

[X] I have searched the existing issues

Output of ddev debug test
Expand `ddev debug test` diagnostic information
ben@PF3DHS3K:~/dev/academymortgage$ ddev debug test
Running bash [-c /tmp/test_ddev.sh]
======= Existing project config =========
These config files were loaded for project academymortgage: [/home/ben/dev/academymortgage/.ddev/config.yaml]
name: academymortgage
type: drupal9
php_version: 8.0
webserver_type: nginx-fpm
webimage: drud/ddev-webserver:v1.21.5
router_http_port: 80
router_https_port: 443
additional_hostnames: []
additional_fqdns: []
database: {mariadb 10.4}
mailhog_port: 8025
mailhog_https_port: 8026
phpmyadmin_port: 8036
phpmyadmin_https_port: 8037
project_tld: ddev.site
use_dns_when_possible: true
composer_version: 2
nodejs_version: 16
default_container_timeout: 120
======= Creating dummy project named tryddevproject-16909 in ../tryddevproject-16909 =========
OS Information: Linux PF3DHS3K <IP_ADDRESS>-microsoft-standard-WSL2 https://github.com/ddev/ddev/issues/1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
User information: uid=1000(ben) gid=1000(ben) groups=1000(ben),4(adm),20(dialout),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),116(netdev),999(docker)
DDEV version: ITEM VALUE
DDEV version v1.21.6
architecture amd64
db drud/ddev-dbserver-mariadb-10.4:v1.21.5
dba phpmyadmin:5
ddev-ssh-agent drud/ddev-ssh-agent:v1.21.5
docker 24.0.4
docker-compose v2.15.1
docker-platform PF3DHS3K
mutagen 0.16.0
os linux
router drud/ddev-router:v1.21.5
web drud/ddev-webserver:v1.21.5
PROXY settings: HTTP_PROXY='' HTTPS_PROXY='' http_proxy='' NO_PROXY=''
======= DDEV global info =========
Global configuration:
instrumentation-opt-in=true
omit-containers=[]
mutagen-enabled=false
nfs-mount-enabled=false
router-bind-all-interfaces=false
internet-detection-timeout-ms=3000
disable-http2=false
use-letsencrypt=false
letsencrypt-email=
table-style=default
simple-formatting=false
auto-restart-containers=false
use-hardened-images=false
fail-on-hook-fail=false
required-docker-compose-version=
use-docker-compose-from-path=false
project-tld=
xdebug-ide-location=
no-bind-mounts=false
use-traefik=false
wsl2-no-windows-hosts-mgt=false
======= DOCKER info =========
docker location: -rwxr-xr-x 1 root root 35922416 Jul 7 08:50 /usr/bin/docker
docker version:
Client: Docker Engine - Community
Version: 24.0.4
API version: 1.43
Go version: go1.20.5
Git commit: 3713ee1
Built: Fri Jul 7 14:50:55 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.4
API version: 1.43 (minimum version 1.12)
Go version: go1.20.5
Git commit: 4ffc614
Built: Fri Jul 7 14:50:55 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
DOCKER_DEFAULT_PLATFORM=notset
======= Mutagen Info =========
======= Docker Info =========
Docker platform: PF3DHS3K
Using docker context: default (unix:///var/run/docker.sock)
docker-compose: v2.15.1
Using DOCKER_HOST=unix:///var/run/docker.sock
Docker version: 24.0.4
Able to run simple container that mounts a volume.
Able to use internet inside container.
Docker disk space:
Filesystem Size Used Available Use% Mounted on
overlay 1006.9G 5.7G 949.9G 1% /
Container ddev-academymortgage-dba Removed
Container ddev-academymortgage-db Removed
Container ddev-academymortgage-web Removed
Network ddev-academymortgage_default Removed
Project academymortgage has been stopped.
The ddev-ssh-agent container has been removed. When you start it again you will have to use 'ddev auth ssh' to provide key authentication again.
Existing docker containers:
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
Creating a new ddev project config in the current directory (/home/ben/dev/tryddevproject-16909)
Once completed, your configuration will be written to /home/ben/dev/tryddevproject-16909/.ddev/config.yaml
Configuring unrecognized codebase as project type 'php' at /home/ben/dev/tryddevproject-16909/web
Configuration complete. You may now run 'ddev start'.
Network ddev_default created
Starting tryddevproject-16909...
Container ddev-ssh-agent Started
ssh-agent container is running: If you want to add authentication to the ssh-agent container, run 'ddev auth ssh' to enable your keys.
Network ddev-tryddevproject-16909_default Created
Container ddev-tryddevproject-16909-dba Started
Container ddev-tryddevproject-16909-web Started
Container ddev-tryddevproject-16909-db Started
Container ddev-router Started
Successfully started tryddevproject-16909
Project can be reached at https://tryddevproject-16909.ddev.site/ https://<IP_ADDRESS>:32819/
======== Curl of site from inside container:
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 21 Jul 2023 16:11:44 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== curl -I of http://tryddevproject-16909.ddev.site/ from outside:
HTTP/1.1 200 OK
Server: nginx/1.20.1
Date: Fri, 21 Jul 2023 16:11:44 GMT
Content-Type: text/html; charset=UTF-8
Connection: keep-alive
Vary: Accept-Encoding
======== full curl of http://tryddevproject-16909.ddev.site/ from outside:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-16909'
======== Project ownership on host:
drwxr-xr-x 4 ben ben 4096 Jul 21 10:11 ../tryddevproject-16909
======== Project ownership in container:
drwxr-xr-x 4 ben ben 4096 Jul 21 16:11 /var/www/html
======== In-container filesystem:
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/sdc ext4<PHONE_NUMBER> 6181008 995878388 1% /var/www/html
======== curl again of tryddevproject-16909 from host:
Success accessing database... db via TCP/IP
ddev is working. You will want to delete this project with 'ddev delete -Oy tryddevproject-16909'
Thanks for running the diagnostic. It was successful.
Please provide the output of this script in a new gist at gist.github.com
Running ddev launch in 5 seconds
If you're brave and you have jq you can delete all tryddevproject instances with this one-liner:
ddev delete -Oy $(ddev list -j |jq -r .raw[].name | grep tryddevproject)
In the future ddev debug test will also provide this option.

Expected Behavior
Database would import
Actual Behavior
pv: /mnt/ddev_config/.importdb3672667186/*.*sql: No such file or directory
Failed to import database db for academymortgage: failed to import database: exit status 10
stdout:
stderr:
Steps To Reproduce

Windows 10, wcl2, ubuntu, DDEV v1.21.6

run 'ddev import-db'
get this error: 'pv: /mnt/ddev_config/.importdb3672667186/*.*sql: No such file or directory
Failed to import database db for academymortgage: failed to import database: exit status 10
stdout:
stderr:'

Anything else?
Drive space is not a problem, ddev ssh -s db gets me to the db prompt, df /mnt/ddev_config returns 'df: /mnt/ddev_config: No such file or directory' did a poweroff and start no errors, but didn't fix it, I don't see a /mnt/ddev-config warning on ddev start.

Is it possible you could share the database dump you're trying to import? What is the name of the file?
Please show the output of ddev exec -s db df /mnt/ddev_config and ddev exec -s db ls -l /mnt/ddev_config
If you have custom configuration, like in config.yaml or docker-compose.*.yaml, please temporarily disable it.

The filename is src=academymortgage_1689933605.sql.gz
'ddev exec -s db df /mnt/ddev_config'  returns:
Filesystem      1K-blocks    Used Available Use% Mounted on
/dev/sdc<PHONE_NUMBER> 6257312 995802084   1% /mnt/ddev_config
'ddev exec -s db ls -l /mnt/ddev_config' returns:
total 52
drwxr-xr-x 2 ben ben  4096 Jul 21 14:14 apache
drwxr-xr-x 6 ben ben  4096 Jul 21 13:58 commands
-rw-r--r-- 1 ben ben 10111 Jul 21 13:58 config.yaml
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 db-build
drwxrwxrwx 2 ben ben  4096 Jul 21 14:14 db_snapshots
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 homeadditions
drwxr-xr-x 2 ben ben  4096 Jul 21 14:14 nginx_full
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 providers
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 web-build
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 web-entrypoint.d
drwxr-xr-x 2 ben ben  4096 Jul 21 13:58 xhprof

/mnt/ddev_config is mounted fine. I don't know what happened with your other test.
I imagine the content of your academymortgage_1689933605.sql.gz is not a gzipped file or is not of type gzip. Try ungzipping it and see what's there. Then try doing ddev import-db --src=academymortgage_1689933605.sql

After running ddev exec -s db df /mnt/ddev_config and ddev exec -s db ls -l /mnt/ddev_config the database imported succesfully.  If you have any idea why I would love to know.

I don't know how either of those commands could affect your results. They just show what's there. Perhaps you did a reboot, or a ddev poweroff, or restarted Docker...
Glad it's working for you! Happy to continue the conversation here or elsewhere, closing for now.


Date marking on Material Calendar

I searched and did not find this on documentation so I'm come here to ask about date marking on specific dates on the Calendar, is possible to do that?
Like this

Yep, you can pass day rendered component. Example on the docs, datepicker — week picker

But how can I select only one day instead of selecting the week?

This is an example displaying you can pass custom component for rendering day.

Ok, I can rendering a day, but how I can mark multiple days? Sorry for asking too much I trying to understand

Add marking logic inside render day component

I'm sorry for necroing this thread, but how did you actually solve this? Because I cannot find the example anymore.

@Dukler https://material-ui-pickers.dev/api/datepicker#customization

@dmtrKovalenko Thanks!


nan output

I use SE_Inception_v4.py to train the cifar10 data. The code can run normally, but the "train_loss", "train_acc", "test_loss" and "test_acc" are "nan". I try to output "batch_loss" from "_, batch_loss = sess.run([train, cost], feed_dict=train_feed_dict)", the result is "nan". Did anyone meet this problem?

I am sorry, the output is like this
epoch: 1/100, train_loss: nan, train_acc: 0.1018, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0023, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000
epoch: 2/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000

I am sorry, the output is like this
epoch: 1/100, train_loss: nan, train_acc: 0.1018, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0023, test_loss: nan, test_acc: 0.1000
epoch: 1/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000
epoch: 2/100, train_loss: nan, train_acc: 0.0003, test_loss: nan, test_acc: 0.1000
I have the same problem

I have the same problem.How can I solve it


DO NOT MERGE!!!!!111!!! [bug 1229511] Upgrade to mysql 1.2.5, switch to utf8mb4

This upgrades the mysql lib to 1.2.5 which supports the utf8mb4
charset that supports 4-byte utf-8 characters.
When doing that, I was able to remove all the "remove emoji" code.
Further, upgrading the mysql lib caused some tests to break due to
improved precision of datetimes (down to the millisecond now). This
fixes those tests, too.

DO NOT MERGE!!!11!!
We can't merge this until mysql python lib has been upgraded on all the servers. That's covered in bug 1232406.

Travis is failing because the results don't have milliseconds, but the expected results do. I'm not sure why that would be. When upgrading mysql python lib locally, I suddenly started getting milliseconds.
I'll have to look into that.

I did some poking around and I think the problem is that travis runs tests in an Ubuntu 12.04 container which comes with mysql 5.5.46-0ubuntu<IP_ADDRESS>. The utf8mb4 stuff shows up in mysql 5.5.3, so that's good. However, mysql 5.6 introduced millisecond support in datetime stamp columns and that's where the tests are failing.
I'll have to do some soul searching as to how I want to deal with that.

I added a comment to bug #1221352 which covers the current status of all the work involved including this PR.
The travis issue needs to be fixed before this can go further.  I talked with @Osmose about it and we think we're going to table this for now.
Given that, I'm closing it out.


How implement something like copyNode()

Hello how is 'right' to implement something  like copyNode function or copyRoot()
I have record and i what to make i copy of this node (or root).

Hello!
Use:
$copy = new Node();
$copy->attributes = $node->$attributes;
$copy->insertAfter($node)->save();

We do the same thing, but doing in recursively:
function copyChildren($target, $from)
{
    foreach ($from->children as $child) {
        $copy = new Node();
        $copy->attributes = $child->attributes;
        $copy->appendTo($target)->save();
        copyChildren($copy, $child);
    }
}

$node->populateTree();
$copy = new Node();
$copy->attributes = $node->attributes;
$copy->insertAfter($node)->save();
copyChildren($copy, $node);


Pattern Ontology: Content block — segmented Functional Specs

The Content block — segmented pattern needs to be fleshed out to reflect latest changes based on the pattern ontology work.

Referencing #1021

Additional information

Airtable with naming and ontology
Mural with visual ontology and relationships
Functional Specs

Acceptance criteria

[x] Functional specs need to be finished
[x] file, directory, and code name is reflected of airtable
[x] References are updated to handle new names (search page for references outside of resources)
[x] Update with Type and Level
[x] Create stories for development based on changes to ontology

Here are the specs:
https://ibm.box.com/s/nl552k1j07ztjt6q15ea8m3vs8p8056b
And the issues already created for content block — segmented appeared to satisfy what needed to get done.


Using front camera for android with tensorflow lite

Click to expand!
Issue Type
Feature Request
Source
source
Tensorflow Version
tf 2.8
Custom Code
Yes
OS Platform and Distribution
Windows 10
Mobile device
Android
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
I want to use my android phones front camera (Samsung galaxy S9). I have toggled the camera to be on the front and also I have removed the mirror effect but still. It does not detect the objects.
1) It does not detect all of the objects;
2) If it detects some object then it like floats away.

The funny thing is whenever I switch to the back camera. Everything works like a charm, so it is not the models problem that is for sure I think.

Standalone code to reproduce the issue
So to make it happen.

In CameraActivity.java, line 427
if (facing != null && facing == CameraCharacteristics.LENS_FACING_BACK); //To toggle front camera

In LegacyCameraConnectionFragment.java, line 217
if (ci.facing == CameraInfo.CAMERA_FACING_FRONT) //to toggle front camera

In LegacyCameraConnectionFragment.java, under line 181
Matrix matrix = new Matrix();
matrix.setScale(-1, 1);
matrix.postTranslate(textureView.getWidth(), 0);
textureView.setTransform(matrix);

The whole matrix is to remove the mirror efect on the front camera.
Now that I have made these changes in the code, the front camera does not want to detect all of the objects, if it detects, then the objects just float. Am I missing something ?

Relevant log output
No response

Maybe someone have some ideas on how to resolve the issue ?
The problem is with the bounding boxes, the front camera does not detect objects precisely if it detects, then it floats somewhere.
Whenever I toggle camera to back, everything works like it should.
Thank you again !
I will wait for the reply.

Hello,
You can close this issue.
I resolved it !

@DemoLV , Could you please mention what changes solved your issue, if it is a workaround, we can keep this issue open and look at the issue in detail.
Feel free to close the issue if the issue is not a bug from our end. Thanks!

Sorry for the late response. I was away.
So basically for now it seems that it was a phone issue. I tested it on newest Xiomi and everything works.
But could that be true ?
I have samsung galaxy S9 and it did not work.

@sachinprasadhs @sushreebarsa @mohantym
I have an idea on this one. Maybe I can create this simple app "Wake Lock ON" and in this app I choose to press the button wake Lock on and then I open the Tensorflow Lite application and then I can lock the phone and everything will work ?
Or that will not work as I imagined.

Since you have already created a new issue on the below point here https://github.com/tensorflow/tensorflow/issues/56261, could you please close this issue and track the below request in the new issue, Thanks!

@sachinprasadhs @sushreebarsa @mohantym I have an idea on this one. Maybe I can create this simple app "Wake Lock ON" and in this app I choose to press the button wake Lock on and then I open the Tensorflow Lite application and then I can lock the phone and everything will work ? Or that will not work as I imagined.

So close issue #56260 ?
Sorry did not quite understand.

Ok, closing this issue.
Please go to this issue where it is opened #56261 about detecting objects while the phone is locked/sleep.


Feature: 'type: dataset' export bib without url

Debug log ID
UECSSUYL-refs-apse
What happened?
when set reference type as dataset (adding type: dataset in extra), the export bib is missing url or saying howpublished.

Are you exporting as bibtex or biblatex? bibtex doesn't have a dataset entry type, but biblatex does, and that exports as
@dataset{worldbank2017pakistan,
  title = {Pakistan - Solar Radiation Measurement Data},
  author = {{World Bank}},
  date = {2017},
  url = {https://energydata.info/dataset/pakistan-solar-radiation-measurement-data},
  urldate = {2023-03-30},
  organization = {World Bank via ENERGYDATA.info, under a project funded by the Energy Sector Management Assistance Program (ESMAP)}
}

Thank you for clarifying this. i wasn't aware that bibtex doesn't have a dataset entry type.
Problem solved. thank you for instant reply.


⚠ Bofrost.fr has degraded performance

In 471fb93, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 3580 ms

Resolved: Bofrost.fr performance has improved in 4f56b8e.


docs: improve readme

Should have a longer example with a tokenized sentence.

Eh - the readme is pretty good imo now


JBPM-5355 - Support case project - new case definition can be created…

… only in a case project

+1
so now the case definition will only be available for case projects, excellent - thanks @tsurdilo


libffi-devel headers not installed in the location expected by cffi

STR:

pacman -S python2 libffi-devel
curl -sSf https://bootstrap.pypa.io/get-pip.py | python
pip install cffi

Expected:
Installation succeeds.
Actual:
$ pip install cffi
  ...
  gcc -fno-strict-aliasing -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG -DNDEBUG -march=x86-64 -mtune=generic -O2 -pipe -DNDEBUG -DUSE__THREAD -DHAVE_SYNC_SYNCHRONIZE -I/usr/include/ffi -I/usr/include/libffi -I/usr/include/python2.7 -c c/_cffi_backend.c -o build/temp.msys-2.7.0-x86_64-2.7/c/_cffi_backend.o
  c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
   #include <ffi.h>
                   ^
  compilation terminated.
  error: command 'gcc' failed with exit status 1

  ----------------------------------------
  Failed building wheel for cffi

This occurs because the MSYS2 libffi-devel package installs the headers into:
/usr/lib/libffi-3.2.1/include/

...whereas cffi expects them (source) to be in one of:
/usr/include/ffi/
/usr/include/libffi/

I'm not sure it makes sense for cffi (and others) to have to hardcode the libffi version number in the include path, so I think it would be better if either:
a) the headers were installed into a generic location like /usr/include/libffi/
b) the package added a symlink from those commonly used locations to the actual location as part of install.
For the symlink approach (and as a manual workaround for people in the meantime), this works:
ln -s /usr/lib/libffi-3.2.1/include /usr/include/libffi

Arch Linux packages it the same way https://www.archlinux.org/packages/core/x86_64/libffi/files/


Update so we can run against the models served from IBM

Let's update the server code so we can run against the various models IBM is serving.
@jmontleon has sample code here to show what is needed:
https://github.com/konveyor-ecosystem/model-comparison/blob/main/compare.py

Preliminary work done in 03308115ef2b1cc665ba81f9b87a266495cb09b0

Fixed in PR#71
https://github.com/konveyor-ecosystem/kai/pull/71/files#diff-527a2a248f6c885a6871c1d59a621a04c1caed0fe33e2e74afae7dbfa90ff677


Update @btn-font-size to 16px from 14px

Changes

Update @btn-font-size to 16px from 14px

Review

@jimmynotjim
@Scotchester

This will hopefully be made obsolete by cf-theme-cfpb at some point, but might as well fix this now.
Please update the changelog and version number in package.json.

Closed in favor of https://github.com/cfpb/generator-cf/pull/128


Add a version property to the REST service

It would be useful if users could find out what version a Gaffer REST server was running. We could add this as a system property that is exposed via the /properties endpoint. This could also be shown in the footer in the swagger UI.

After discussion, we are going to expose the Koryphe and Gaffer versions through the /properties endpoint.  The Gaffer version will be visible in the footer in the Swagger UI but the Koryphe version will only be available through the /properties endpoint.  This will allow users to see what methods are/aren't available to them through their versions.

Merged into develop.


Support for types of non-parameterless constructors in XmlConfigurator.

The constructor parameters are taken from the corresponding values of
the child nodes.
You can add for instance

where StandardUnit has only one constructor that has a string parameter
named "value".

This is actually a great idea. With a few test cases this could make a great improvement.

while I like the general idea, I have concerns regarding the ctor resolution. The current proposal works only with ctor arguments of type String and uses their names to find the right ctor. C#, however, uses the arugment's type for overload resolution. In addition, how does this approach mix with the existing, "by property" initialization?
I'd prefer a syntax compatible with the existing xml parametritazion and following the same rules as C# for overload resolution. What about this:
currnetly
<param name="evaluator" type="log4net.spi.LevelEvaluator">
    <param name="Threshold" value="WARN"/>
<param>

and
<evaluator type="log4net.spi.LevelEvaluator">
    <threshold value="WARN"/>
<evaluator>

both translate to the following C# equvalent:
evaluator = new log4net.spi.LevelEvaluator { Threshold = "WARN" };

To achieve something like this
foo = new my.Foo(arg1: 22) { Bar = "baz" };

we could have this extension to the XML parametrization:
<param name="foo" type="my.Foo">
    <constructor>
        <param type="System.Int32" name="arg1" value="22"/><!-- name is not required, but may help the human reading the xml -->
    <constructor>
    <param name="Bar " value="baz"/>
<param>

or, using the compact parameter syntax
<foo type="my.Foo">
    <constructor>
        <arg1 type="System.Int32" value="22"/>
    <constructor>
    <bar>baz</bar>
<param>

This would introduce a new child element for "param", namely "constructor", which is not 100% backward compatible. But neither is the original proposal. And a workaround in the form of <param name="Constructor", ... /> is possible.
An implementation could collect and convert all params from the "constructor" element and feed them as array to System.Activator (there is an overload of CreateInstance taking the ctor arguments as Object[]). This one will then select the right ctor according to c#'s overload resolution rules. No need to iterate over the ctor meta data manually.


Minor change to Tilemap class

Changes Tilemap.getTileWorldXY() to take an additional parameter - nonNull - to make it behave as Tilemap.getTile() does.

:+1:


openapi: 3.0.1 support

since<EMAIL_ADDRESS>there is support for opeapi: 3.0.1

In conf.py
redoc_uri =<EMAIL_ADDRESS>

@marfillaster em.. what? :) Is it just a "FYI" or a bug report that it does not work?

Lol. More like FYI after 5 minutes I posted the issue.
On Mon, Aug 6, 2018 at 8:58 PM Ihor Kalnytskyi<EMAIL_ADDRESS>wrote:

@marfillaster https://github.com/marfillaster em.. what? :) Is it just
a "FYI" or a bug report that it does not work?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ikalnytskyi/sphinxcontrib-redoc/issues/18#issuecomment-410699214,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHbwYsTwyIeT6N0dzoNhMP9JB1F9SLKks5uOD17gaJpZM4Vv5OV
.


Add spec.updateStrategy.registryPoll.interval to CatalogSource.

Add Needed for installing standalone k8s-nmstate before upgrading from 4.10 to 4.11

you are pushing to the wrong branch @yossisegev


Smart Github workflows for downloading engine repo

Instead of hard-coding where to download the engine repository from, create a script that checks for alternate places to download the engine code based on where the workflow is being run from. First, see if the user who triggered the workflow has a fork of the engine repo that also contains a branch with the same name as the branch that triggered the workflow. If not, see if there's a branch in the project engine repo that has the same name. If neither of those is true, just use the default branch in the project engine repo.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Duplicate of #122


The KL divergence of gumbel relaxation

Dear Authors:
Thank you for your effort in reproducing this project. It's really useful and helpful.
In this project, I think the KL divergence is something wrong. The KL divergence should be tf.log(prior_temperature + eps) - y_times_prior_temp """- y""" + prior_log_odds -
2.0 * tf.log(1.0 + tf.exp(-y_times_prior_temp + prior_log_odds) + eps), where I use """ to highlight the difference between the original implementation.
The log probability is proportional to -1*(temperature + 1) * pre_log_y.

Hi @taufikxu,
Thanks for your comment and detailled suggestion, will take a look at it!


add brazilian portuguese language

Did the translation for brazilian portuguese. I hope this helps you!

Wow, thank you so much. This is definitely going to benefit a lot of people in the Brazillian-Portugese speaking community. Thank you and god bless!


npm run dev: Exit status<PHONE_NUMBER>

Version
v2.6.1
Reproduction link
https://github.com/vonBrax/nuxt-esm-bug
Steps to reproduce
OS: MS Windows 10 Pro 10.0.17763 64-bits
From the provided repo:

git clone https://github.com/vonBrax/nuxt-esm-bug
cd nuxt-esm-bug
npm install
npm run dev

From scratch:

npx create-nuxt-app nuxt-esm-bug (just default options)
cd nuxt-esm-bug
npm i stylelint stylelint-webpack-plugin
require stylelint-webpack-plugin inside nuxt.config.js (https://github.com/webpack-contrib/stylelint-webpack-plugin#getting-started):
-- const StyleLintPlugin = require('stylelint-webpack-plugin') - not even necessary to push it to config.plugins
npm run dev

What is expected ?
normally compile the application and start dev server
What is actually happening?
Process exit with error<PHONE_NUMBER> (stack overflow):
npm ERR! code ELIFECYCLE
npm ERR! errno<PHONE_NUMBER>
npm ERR<EMAIL_ADDRESS>dev: nuxt
npm ERR! Exit status<PHONE_NUMBER>
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Additional comments?
Tracking down the bug locally in the built package inside node_modules the offending line seems to be this one:

<EMAIL_ADDRESS> options = (nuxtConfigFile.endsWith('.ts') ? require(nuxtConfigFile) : esm(module, esmOptions)(nuxtConfigFile)) || {};

And mapping it to the source code it seems to be here: https://github.com/nuxt/nuxt.js/blob/dev/packages/cli/src/utils/config.js#L28
Apparently this is a known issue from the esm package (< v3.20.1) when used in conjuction with some other packages like stylelint or node-sass running on windows machines. The issue is described here: https://github.com/standard-things/esm/issues/745
As stated in https://github.com/standard-things/esm/issues/745#issuecomment-477851101, upgrading esm to 3.20.1 seems to fix the issue.
I tested upgrading the package locally in my machine and indeed the issue is gone.

This bug report is available on Nuxt community (#c9042)

we cant update esm to anything higher than 3.20 because of https://github.com/standard-things/esm/issues/773
So when a new version of esm will be released then we update

Looks like the update is coming soon ( https://github.com/standard-things/esm/commit/9432fad0d712cdcb434e655258f76bcbcc149747 )

Looks like the update is coming soon ( https://github.com/standard-things/esm/commit/9432fad0d712cdcb434e655258f76bcbcc149747 )

Can this be closed @manniL ?

I would say so :relaxed:


Release 1.1

From what I can see, I am fine with this PR. The 5000+ modified files comes from the rebasing of the project to clean old stuff ?

Note: I cannot add my review. Github says the page is too long to load.

👌
the 5000+ files just come from doxygen


HttpDelete throws 404

Controller:
[HttpGet]
public async Task<IActionResult> DeleteMyStuff()
{
  return View ( await _myService.LoadStuff(this) );
}

[HttpDelete]
public async Task<IActionResult> DeleteMyStuff(string namedStuff)
{
  ViewData["Message"] = "Success"; // <----------------- breakpoint

  if ( !await  _myService.DeleteMyStuff(namedStuff) )
  {
    ViewData["Message"] = "Failed";
  }

  return View ( _myService.LoadStuff(this) );
}

View:
<p> @ViewData["Message"] </p>
<form asp-action="DeleteMyStuff">
  <input name="namedStuff" type="text" placeholder="Enter stuff name to delete" />
  <button type="submit" />
</form>

Never hits the breakpoint in controller, instead throws 404 when running app with standalone Kestrel.
Do I need to modify web.config for Kestrel too to make it work:
<add name="httpplatformhandler"
     path="*"
     verb="*"
     modules="httpPlatformHandler"
     resourceType="Unspecified" />

? If so, why can't we have HttpDelete and HttpPut out of the box enabled in this modern age?

Kestrel does not read web.config. It's only meant for IIS.

So does this mean this is actually a bug in kestrel?

I doubt this is related to Kestrel, Kestrel does not consider the Method. I suspect this is an MVC issue.

@Tratcher, I think https://github.com/aspnet/Mvc/issues/3563 was the same issue which got closed as a duplicate of https://github.com/aspnet/KestrelHttpServer/issues/270. I cannot deduce the workaround from #270 (and the related links) for this typical use-case. Could you suggest where should I go with this next?

#270 was a data corruption issue that has long been fixed. Run the following to see if you're hitting that issue:
app.Run(context =>
{
  return context.Response.WriteAsync(context.Request.Method);
});

@jasonwilliams200OK did you get a chance to try @Tratcher's suggestion?


Issues with iso-8859-1 encoded SAMLResponse

I'm working with an IdP that generates iso-8859-1 encoded SAMLResponses. I ended up writing a middleware that would decode the string with iconv-lite and re-encode it before passing it along to passport-saml. Otherwise the signature validation would fail ("Invalid signature").
var iconvlite = require('iconv-lite');
var recodeSAMLResponse = function(req, res, next) {
  var response = req.body.SAMLResponse;
  if(!response) next();
  var buffer = new Buffer(response, 'base64');
  var decoded = iconvlite.decode(buffer, 'iso-8859-1');
  req.body.SAMLResponse = new Buffer(decoded).toString('base64');
  next();
}

I'm not sure how to integrate this with passport-saml. In line https://github.com/bergie/passport-saml/blob/8fa3381df8e0cc9eb29b25dbb8f80f87bd02af30/lib/passport-saml/saml.js#L429 the decoder forces utf-8.

If you'd like to put together a PR, I'd be open to a change where there's an optional config along the lines of expectedPostResponseEncoding that specifies a different encoding to use in the area you point to.
I'm not exactly sure what change you'd need to get this to work -- maybe just converting the buffer as 'binary' would do it?  Otherwise if you needed to use iconv-lite, I'd like to see that be an optional dependency, not something that everyone has to pull in.
Also, if you go down this path, please be sure to add a new test to cover it.
Otherwise, if your middleware is working for you, great. :-)


Fix USB Script

Problem
The Pythonscript to write a binary file to the flash fails after some writes.
ToDo
Make the script more reliable by implementing a more robust version of it with enhanced handshakes and acknowledgements based on a state machine.

We solve the usb-script by building a new one. See #245


chore(guardian-prover-health-check-ui): add missing uptime and block count

Status:

Uptime:

SignedBlocks:

Will it be better to read the minGuardians from the protocol: https://github.com/taikoxyz/taiko-mono/blob/alpha-6/packages/protocol/contracts/L1/provers/Guardians.sol#L28 ? I think right now its 4.

Will it be better to read the minGuardians from the protocol: https://github.com/taikoxyz/taiko-mono/blob/alpha-6/packages/protocol/contracts/L1/provers/Guardians.sol#L28 ? I think right now its 4.

Good point... I'll change it

@davidtaikocha done, now reading from contract


WeChat APP has a built-in browser. Using unocss in the "development environment" will make the project inaccessible

WeChat APP has a built-in browser. Using unocss in the "development environment" will make the project inaccessible;
The 'pnpm run preview' project can be accessed normally in the "production environment".
It is found that there is no problem with unocs of version 0.45.3, which will not cause the above problems.
0.45.29_development: pnpm run dev

0.45.29_production: pnpm run preview

Sorry, I don't use WeChat App for dev ,can't help you. But you can left a minimual reproduction


Expression this.CurrPage does not resolve in pageextensions

1. Describe the bug
In pageextensions, this.CurrPage fails with a compilation error:

'Page MyPage' does not contain a definition for 'CurrPage'

This is rather strange, as CurrPage does resolve in both the page in the pageextension, so this.CurrPage should also resolve.
2. To Reproduce
Steps to reproduce the behavior:

Write this code

page 50100 MyPage
{
    trigger OnOpenPage()
    begin
        this.SaveRecord();
        CurrPage.SaveRecord();
        this.CurrPage.SaveRecord();
    end;
 }

pageextension 50100 MyPageExtension extends MyPage
{
    trigger OnOpenPage()
    begin
        this.SaveRecord();
        CurrPage.SaveRecord();
        this.CurrPage.SaveRecord(); // 'Page MyPage' does not contain a definition for 'CurrPage'(AL0847)
    end;
}

Observe the compilation error.

3. Expected behavior
I would expect this.CurrPage to resolve as CurrPage resolves.
4. Actual behavior
The code fails with compilation error error AL0847: 'Page MyPage' does not contain a definition for 'CurrPage'

5. Versions:

AL Language: Latest preview release - 14.0.1070882
Visual Studio Code: 1.92.1
Business Central: 25
List of Visual Studio Code extensions that you have installed:
ms-dynamics-smb.al

Final Checklist

[x ] Search the issue repository to ensure you are reporting a new issue

[ x] Reproduce the issue after disabling all extensions except the AL Language extension

[ x] Simplify your code around the issue to better isolate the problem

From the code example, it seems there's a mismatch between pages and page extensions.


sync changelogger settings across devices

would like to sync the settings across devices if you would accept of pr when i get around to it?

Sure, I'll accept the PR if you make one

i forgot to update the readme > options > theme documentation in the PRs

That's fine, I can add that myself. The extension/docs/help.html also needs to be updated.

The extension/docs/help.html also needs to be updated.

if you remove the theme section from this ill apply the styling/theme media queries to this as well later this afternoon or tomorrow.

I ended up removing the help page and moving most of the unique points it had into the README. It mainly said the same things as the README anyway.
I also did a decent bit of work cleaning up the code (adding comments, fixing the race condition bug, updating the AMO API version, converting to TypeScript, etc.) on the feature branch. I think it's pretty much ready to go, but I'd be happy to hear if you would like to make any changes/suggestions before I submit it.

oh neat, ive been learning the basics of TS recently. i will give it a look over and see what you've done. i appreciate you valuing my opinion on the project :pray:

looked over the feature branch rewrite, it looks really clean now and i learned some things. first time seeing a semaphore. is that the fix for the race condition bug? i tested it a bit and didnt find any issues. no easy way to see the sync storage area or test the sync api though :man_shrugging: thanks for your work on refactoring the project!

Yes, the semaphore is the fix for the race condition bug. Saving the changelog to storage is actually 3 smaller steps, reading the current list, updating the list, and writing the new list. Because the WebExtension storage API is async, if 2+ extensions were installed/updated at basically the same time, the steps might execute out of order, causing some of the changelogs to not actually be saved. The semaphore "locks" storage so that it's guaranteed that only one changelog can be written at once, and that any others trying to access storage will have to wait for the lock to be released.
Good catch on that comment, it makes more sense as "shown".
And thanks again for your help on this version! I really appreciate it!

The new version should be up on AMO now. That was faster than expected! It only took 4 minutes for the submission to be approved.

very nice. just came through for me and updated nicely. enjoy your week!


New gateway resume logic

Checklist

[x] I have run nox and all the pipelines have passed.
[x] I have made unittests according to the code I have added/modified/deleted.

Looks like this follows the revamped gateway documentation, so should be good to merge


Multi-node service

From my understanding, when i have botkit running on multiple servers and i start a conversation with a user using botkit.startConversation() then the messages from that user should always go to the same server of botkit. Basically have stickiness based on userid.
For example:
User: Hi
Bot: Hi, what is your name?
User: TestBot
Bot: Hi TestBot, how can i help you?
In case of above conversation, if the first message from the user goes to server1 and the second message from the user goes to server2 then the conversation breaks. Is the understanding right?

@karthik-mudiam If you have the teams you service split between the servers, then all the messages will go to the correct servers, as long as they dont go down. So you would have teams A,B,C serviced by server1 and D,E serviced by server2. Each server will only have an RTM connect (websocket) for the teams they service, so all the messages will go to the correct server (stickiness on steroids). This is how most people I know are doing scaling. You just have to manage which teams will be assigned to which servers (balancing), and what happens when a server goes down/team uninstalls the bot.
If you put all teams on all servers, then without some sort of complicated websocket front server all  messages will go to all servers, and you will actually see 2 replies (duplicate) from the bot for every message you send.
The way to think about it is the botkit process is the one creating the connection (unlike a typical server scenario where you just wait for the client to connect), so for each process you can control which connections are made.

closed as answered


Error: Method not found

Getting this error while calling any of the eris-db-promise functions.
{"code":-32601,"message":"Method not found"}
Code :
var erisDb = require('eris-db-promise');
var erisInstance = erisDb.createInstance("http://<IP_ADDRESS>:1337/rpc");
erisInstance.accounts.getAccounts().then((list) => {
console.log(list);
});
I had tried using @monax/legacy-db but in that case I was able to call every function except the genPrivAccount function in Burrow.accounts(). Please suggest some way to genPrivAccount in monax chain.

@oshin-gupta what version of eris-db do you use ?

@konstantinzolotarev I am using eris-db: "0.15.12"


[important] mako 开源的致敬列表

所有人都必须回复，你参考了哪个开源实现，具体什么功能；尽量回忆全面。
如果没有需要回复 “没有”。
@umijs/mako-contributors

it's my bad.
sorry for missing that while collecting the list.
i will add that to credit part in mako's home page asap.
i really sorry about this.
Last but not least, thank you for your contributing to open source, without that , Mako is impossible.


Add support for OCI hooks

One should be able to optionally run hooks if present under a directory like /usr/libexec/oci/hooks.d

Fixed in https://github.com/kubernetes-incubator/cri-o/pull/562


Ingestion candidates reporting a 0 on prod

This should be 100 in normal operations.

Dropped off Tuesday morning.

And we're not reporting updates due to this, I presume:

This is very strange. We definitely didn't deploy anything at 12:30am on Tuesday (unless those timestamps are in a strange timezone) so it's unlikely to be a change we deployed.

The ingestion candidates query correctly selects records:
SELECT "packages"."id" AS "packages_id", "packages"."created_at" AS "packages_created_at", "packages"."updated_at" AS "packages_updated_at", "packages"."processing_stage" AS "packages_processing_stage", "packages"."score" AS "packages_score", "packages"."status" AS "packages_status", "packages"."url" AS "packages_url"
FROM "packages"
WHERE "packages"."processing_stage" = 'ingestion'
ORDER BY status != 'new', "packages"."updated_at" ASC LIMIT 10

→ this returns 10 rows in prod, as it should.

I've restarted p3 in case it's a connectivity issue again with that node but it had no effect.

Manually running ingestion on prod shows that we're really not finding any packages to ingest:
[ INFO ] Ingesting (limit: 1) ... [component: ingest] (App/Commands/Ingest.swift:30)
[ DEBUG ] query read packages filters=[or [packages[processing_stage] = reconciliation, and [packages[processing_stage] = analysis, packages[updated_at] < Optional(2021-04-22 06:53:35 +0000)]]] limits=[count(1)] [component: server, database-id: psql] (FluentKit/Query/Builder/QueryBuilder.swift:297)
[ DEBUG ] No available connections on this event loop, creating a new one [component: server, database-id: psql] (AsyncKit/ConnectionPool/EventLoopConnectionPool.swift:202)
[ DEBUG ] Ingesting [] [component: ingest] (App/Commands/Ingest.swift:93)

Note: Ingesting []. This is consistent with the reported 0 candidates but inconsistent with the query result when running manually.

I'll pull prod data to repro locally.

Can repro locally, there are no ingestion candidates and the problem is likely that analysis wasn't updating records. The deployment 2.26.1 seems to have kicked things into gear again:

Ingestion candidates still 0 but that's very likely because we don't re-ingest within the re-ingestion dead time window of 90mins.

Todo:

[ ] set alert on ingestion candidates dropping to 0
[ ] set alert on analysis candidate dropping to 0
[ ] set alert on GH rate limit dropping below 5k or so

I can see from the terminal history that analysis was running on p2 before 2.26.1 went up (and it is also now, on 2.26.2). So if it was another connectivity issue, it wasn't p3.
What's concerning is that prod is less reliable WRT processing that staging. The 3 node cluster bought us zero downtime deployments but seems to be causing us batch processing issues. May need to reconsider this.

Ingestion candidates back to normal now, build backlog recovering.

Actually, I kept this open as a reminder to set up the alerts.

I'd actually already set alerts for the three straightforward ones, and the ingestion on just fired...

It's dropped from 100 → 75 → 50, it must be analysis having issues again

I think I know what happened, and good thing I set up those alerts.
The health check I added is health checking the app_server container but because we run the batch jobs with the same base image - and they don't run the app service - they now fail their health checks and get restarted.
The faster ones probably manage to finish their cycle before restart but analysis apparently doesn't. I'll roll back that healthcheck change.

That also explains the many blue deployment annotations: it's the fast restarting of containers.

I've pulled the remaining alert into its own issue (#1099) and will close this one.


feat: enable producing to event bus via settings

Description: Implements ADR merged in #224 .
ISSUE: #210
Testing instructions:

Clone this repository and checkout this PR.
Update stub implementation of producer based on below patch

diff --git a/openedx_events/event_bus/__init__.py b/openedx_events/event_bus/__init__.py
index 582effe..a4bf597 100644
--- a/openedx_events/event_bus/__init__.py
+++ b/openedx_events/event_bus/__init__.py
@@ -100,6 +100,11 @@ class NoEventBusProducer(EventBusProducer):
             event_metadata: EventsMetadata,
     ) -> None:
         """Do nothing."""
+        print("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++")
+        print(f"""NoEventBusProducer#send signal: {signal}""")
+        print(f"""NoEventBusProducer#send topic: {topic}""")
+        print(f"""NoEventBusProducer#send event_key_field: {event_key_field}""")
+        print(f"""NoEventBusProducer#send event_data: {event_data}""")
+        print(f"""NoEventBusProducer#send event_metadata: {event_metadata}""")
+        print("++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++")

Install requirements locally using make requirements.
Open a django shell using python manage.py shell.
Run below snippet and verify that handlers print correct data.

from openedx_events.content_authoring.signals import XBLOCK_DELETED, XBLOCK_PUBLISHED, XBLOCK_DUPLICATED
from openedx_events.content_authoring.data import XBlockData, DuplicatedXBlockData
data = XBlockData(usage_key="block-v1:edx+DemoX+Demo_course+type@video+block@UaEBjyMjcLW65gaTXggB93WmvoxGAJa0JeHRrDThk", block_type="video")
dup = DuplicatedXBlockData(usage_key="block-v1:edx+DemoX+Demo_course+type@video+block@UaEBjyMjcLW65gaTXggB93WmvoxGAJa0JeHRrDThk", source_usage_key="block-v1:edx+DemoX+Demo_course+type@video+block@UaEBjyMjcLW65gaTXggB93WmvoxGAJa0JeHRrDThk", block_type="video")
XBLOCK_DELETED.send_event(xblock_info=data)
XBLOCK_PUBLISHED.send_event(xblock_info=data)
XBLOCK_DUPLICATED.send_event(xblock_info=dup)

Make sure that only the events configured in EVENT_BUS_PRODUCER_CONFIG are printed by the stub implementation of event bus producer.

Reviewers:

[x] @tecoholic

Merge checklist:

[x] All reviewers approved
[x] CI build is green
[x] Version bumped
[x] Changelog record added
[x] Documentation updated (not only docstrings)
[x] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Author concerns: List any concerns about this PR - inelegant
solutions, hacks, quick-and-dirty implementations, concerns about
migrations, etc.

Thanks for the pull request, @navinkarkera!  Please note that it may take us up to several weeks or months to complete a review and merge your PR.
Feel free to add as much of the following information to the ticket as you can:

supporting documentation
Open edX discussion forum threads
timeline information ("this must be merged by XX date", and why that is)
partner information ("this is a course on edx.org")
any other information that can help Product understand the context for the PR

All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here.
This is currently a draft pull request. When it is ready for our review and all tests are green, click "Ready for Review", or remove "WIP" from the title, as appropriate.

@navinkarkera: I added waiting for eng review for my team (arch-bom). I'm trying this process out. Let me know if this ends up being a process problem. Thanks.

Hi @navinkarkera! Just flagging that some branch conflicts have popped up.

@mphilbrick211: We heard Navin may be on vacation, so we'll hear back when we hear back.

@mphilbrick211: We heard Navin may be on vacation, so we'll hear back when we hear back.

Yes, thank you, @robrap! I forgot he was away.

@navinkarkera 🎉 Your pull request was merged!  Please take a moment  to answer a two question survey so we can improve your experience in the future.


Default filter does not work

Having this code:
$grid->addColumnText('active', 'Is active?', 'active')
	->setFilterSelect([true => 'Yes', false => 'No'])
	->setPrompt(null)
	->setCondition(function (QueryBuilder $qb, $value): void {
			$qb->andWhere('person.active = :active')->setParameter('active', $value);
	});

$grid->setDefaultFilter(['active' => true]);

Result is, when viewing grid for 1st time, there are all results and filter is not applied (the setCondition call is ignored, trying with xdebug breakpoint, it does not go inside). Though the Yes option is selected, the condition is being ignored.
After changing to NO it filters non-active results and changing to YES it works.
Problem is the inital state of the filter, where i want to filter all results by default
Datagrid version 5.6.0
Maybe im just doing something wrong.

Nevermind, the bug was in our code, overwriting setDefaultFilter() from another place, sorry :-)


hide the lens when they lift the finger up

Thanks for the PR, but I actually like the fact that the lens stays open when you release your finger because it allows you to view the zoomed image without your finger obstructing the view. You can tap anywhere else to hide the lens.
In any case, I feel the magnifying lens design isn't ideal for mobile. The best zooming experience on mobile would be to use the mobile's entire screen as the magnifying lens when they tap on the image, similar to what Amazon does on mobile. I may get around to creating an optional plugin for Magnify that does this, but no time at the moment, although you are free to give it a shot :).

Closing after #12. Although maybe you could have a timeout here.

Thanks for the suggestion, I'll add that as an option.


Usability: Reporting on Research

### Tasks
- [x] Define how results for component and pattern tests are summarized for SALT website guidance
- [x] Document process (e.g., peer review before publication) for reported results
- [ ] Add page to website

@mikearildbrown Svetlana and Rufaro did work on this last year - maybe we can find it to get started?

okay @mikearildbrown let's catch up and sketch out the structure for "research approach and methods", general template for "methods" and start to think about how results might be reported on within technical docs (I have found some good examples from Goldman and MUI)

@mikearildbrown & I are working on
"Our approach to research" page to live within "about us" section of site. This will outline the usability program and any pillars of research/guiding principles we want to mention. I have shared draft with Mike who will edit prior to creating MDX for site.
Linking research into component docs @sion-docs has recent research results for button & status indicator which he will review for relevance to docs. Expect that some info from results will be inc in first set of component docs & that we will make some edits to research approach to further address/drive guidance

June 9 - edited the post that will be released to site; waiting to deploy

Great!
Am I right in thinking this will be the "About Salt" > "Research approach & methods" page we identified in the IA discussions?
If so, I'll open a PR to add an MDX-ified version of it. I may as well move the roadmap page while I'm at it, as that's intended to live within the About section too.

Yep that's it!

June 30 - add page to website ; dependencies need to be addressed

Moving this to blocked as it depends on: https://github.com/jpmorganchase/salt-ds/issues/1923


fix(LGO): Move new conf files to correct directory

Try to fix this issue: https://github.com/ublue-os/bazzite/issues/1440

Appreciate the change, this won't work as-is as Valve's own DSP script still copies to wireplumber/wireplumber.conf.d. Doing some additional testing.

Am I misunderstanding the steamdeck-DSP patch? Is the bazzite.patch not pulling hardware specific configs to /usr/share/pipewire?
diff --git a/pipewire-confs/hardware-profiles/pipewire-hwconfig b/pipewire-confs/hardware-profiles/pipewire-hwconfig
index ac7adb6..d46bb14 100755
--- a/pipewire-confs/hardware-profiles/pipewire-hwconfig
+++ b/pipewire-confs/hardware-profiles/pipewire-hwconfig
@@ -51,40 +51,24 @@ dmi_info ()
 install_hwprofile ()
 {
     local -r prpath="$1"
-    local -r runconf=/run/pipewire
+    local -r confdir=/usr/share/pipewire
     local confd
     local cffile

-    echo "Installing pipewire hardware profile from '$prpath' in $runconf"
-
-    rm -rf $runconf
+    echo "Installing pipewire hardware profile from '$prpath' in $confdir"

     for confd in "${confdirs[@]}"
     do
         if [ -d "$prpath"/"$confd" ]
         then
-            mkdir -p $runconf/"$confd"
+            mkdir -p $confdir/"$confd"

             for cffile in "$prpath"/"$confd"/*.conf
             do
-                [ -f "$cffile" ] && cp -av "$cffile" $runconf/"$confd"
+                [ -f "$cffile" ] && /usr/bin/cp -avf "$cffile" $confdir/"$confd"
             done
         fi
     done
-
-    cat - <<EOF > $runconf/README
-This configuration was:
-
- - installed in $runconf
- - by $0
- - from $prpath
-
-It will be regenerated every time the system restarts.
-
-To alter it permanently either:
- - edit $prpath
- - override in \$XDG_CONFIG_HOME/pipewire/
-EOF
 }


[FLINK-30561][state/changelog] fix changelog local cache file not found

What is the purpose of the change
Fix the changelog local cache file not found while restarting, described in FLINK-30561.
Brief change log
(for example:)

prevent  StateChangelogHandleStreamHandleReader  close current iterator twice.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

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

Thanks for the pr.
It's a bit strange that add close flag in StateChangelogHandleStreamHandleReader.
I'd like to suggest to add this flag in the stream of ChangelogStreamHandleReaderWithCache:

IIUC, Upon restart, Only ChangelogStreamHandleReaderWithCache will be global, but StateChangelogHandleStreamHandleReader will always be used as a new object so that current flag will not be reused and will always be false ?
It's better to put the responsbility of "close once" into the smallest scope who relys on it.

Or maybe I missed something ?

Thanks for your suggestion @masteryhx . I agree with the second point. As for the first point, whether StateChangelogHandleStreamHandleReader is reused after restart will cause this problem.
I will move the close flag to ChangelogStreamHandleReaderWithCache later.


Update Yarn to 1.21.1

There's a recent security issue with Yarn/NPM, so it's time to upgrade: https://blog.npmjs.org/post/189618601100/binary-planting-with-the-npm-cli
I also fixed the warnings test to pass, although it didn't pass without my changes either.  It seems to me this test isn't really deterministic since the warnings come from NPM.

Thanks @neckro! I’ll get this released soon.


iproute 1.5

iproute-1.5.0 depended on by:

cql-3.0.3 (>=1.3 && < 1.5). Toralf Wittner<EMAIL_ADDRESS>@twittner
cql-io-0.14.3 (>=1.3 && < 1.5). Toralf Wittner<EMAIL_ADDRESS>@twittner

Thanks. cql-3.0.4 and cql-io-0.14.4 have been uploaded to hackage with corrected upper bounds.


App crashing when opening author

The avatar that opens the profile in Safari

Bug Report Dump (Auto-generated)

Version 1.25.0<PHONE_NUMBER>)
Device: iPhone X (iOS 12.1)
TestFlight: true

Dupe of #2462
Sent with GitHawk


limit number of entries in packetHistory map in ReceivedPacketHandler

Send a QUIC_TOO_MANY_OUTSTANDING_SENT_PACKETS.
See QuicConnection::MaybeCloseIfTooManyOutstandingPackets().

This is only necessary, since we need to save the EntropyBit of every packet in order to be able to check the Entropy value of packets in cases when packet loss occurs. Since the Entropy will be removed from the protocol with QUIC 34, this will only be needed for QUIC 33 and less.
Chromium also removes the check in the current version:
if (version() > QUIC_VERSION_33) {
  return;
}

are the first lines of QuicConnection::MaybeCloseIfTooManyOutstandingPackets().


chore(deps): bump https://github.com/jenkins-x/jx-git-operator from 0.0.65 to 0.0.71

Update jenkins-x/jx-git-operator from 0.0.65 to 0.0.71
Command run was jx step create pr regex --regex version: (.*) --version 0.0.71 --files charts/jx-labs/jx-git-operator.yml --repo https://github.com/jenkins-x/jxr-versions.git

/retest


Accession TF peaks as peaks and background as input for IDR

Tested OK on TF experiment, mapping and histone accessioning still work unchanged.


[Programming question]:

Is it possible to use python-pptx to convert pptx files to pdf files? If not, what alternatives are there?
git-bob comment

git-bob comment on how to do this with unoserver


Integration test production artifacts

Is your feature request related to a problem? Please describe.
We have been working on a binary distribution (#424) and want to offer a production-grade docker image (#597). We need some confidence that we aren't breaking these distributions as we make changes.
Describe the solution you'd like
The binary distribution and docker images have testing automation, ideally run against PRs, but at least run against main after merge.

Triaged 2023/11/08: We should aim to do this in by the next release.

This task should include raising additional task for missing integration/system tests that we need for 0.5.0 milestone.

We think that the system tests, which will be testing the container images built by the github actions, cover the requirements set out by this issue.


update publish script

I tried testing these out in the wild last night and noticed that they were not fully packaged. I think this fixes that issue, but entirely possible I left something out 😄.
I want to test/improve the api design and this should help towards that goal (getting better with api design is also a personal goal 🙂) .

Awesome! Feel free to cc me in PRs if you'd like a quicker review. I tend to look at mentions before my larger backlog. 😄

:shipit:

Awesome, will do 👍. Thanks!


teeth is not covered by the mesh

Hi
Our work is based on Basel Face Model topology, which does not provide teeth mesh.

@Fanziapril thanks for your reply. If I use your work, how could I generate the teeth texture?

I am afraid we cannot generate teeth for now. The main reason is we do not have the teeth topology. If you have your own teeth mesh, it could be combined with our face mesh.


Merge holding dranch dev-2021.3 github pages

Resolve conflict and merge the holding branch for docs for 2021.3

@saugatt wrong target branch


[Bug]: Icon is not displayed in the right alignment when the input type is number or password

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It is observed that icon is not displayed when right alignment is selected for input type number or password

Steps To Reproduce
1.Launch Appmsith app in release/Prod Environment
2.Drag and drop input widget
3.Choose type as Number or password
4.Choose any of the icon
5.Click on right alignment and observe
Environment
Production
Version
Cloud

related to https://github.com/appsmithorg/appsmith/issues/8506

Hide the icon alignment option in property pane for password type inputs. By default it should be right aligned and the developer should not be able to change it.
Reach : Assuming 5% users who configure password also configure icons
Stats

Stat
Values

Reach
10

Effort (months)
0.5

Issue is not reproducible. Closing as its resolved


Buying a compute job throws "error ordering asset" in random cases

When the user is buying a compute job he gets an error "Error ordering assets". It's a random bug, it's not happening always. However, it's happening frequently enough to be a problem not provoked by something simple.
I managed to narrow down the bug to a few cases and "predefined environments":

Buying a compute job for the first time (or after the timeout has passed for your last purchase). Most of the time I'm getting the error when working with "Ocean Chlorophyll Concentration Annual Composite Image (2018)" or "Daily Fishing Effort" both on Polygon. But it could be happening with others too.
I'm getting the error when testing on Polygon
In the console, I'm getting the following errors:

DOMException: Aborted
ERROR: Failed to order: HTTP request failed
Finding the service endpoints failed: DOMException: Aborted

Trying to buy the compute job again (after receiving the error and without refreshing) will either:

keep showing the same error
successfully buy the compute job (as in the video)

I'm not sure if the issue is coming from a bug in the code, it might be also RPC-related.

What http request failed?

@DimitarSD  can you please try to reproduce this on this #588 PR's live preview, in my opinion this issues are related (not 100% sure tho). I personally tried and reproduced the issue on our live market but never bumped into it when using the mentioned preview, so maybe something related to caching of subgraph values or the added checks for previous orders that were fixed there are also the root of the problem

@mihaisc I can't see it. It doesn't return any information.
@bogdanfazakas I'll check it now

Check network tab and see what failed

@mihaisc I think I managed to track it down (not 100% if this is the request - I was testing other stuff too). But this is the only request for that compute job that failed today (a couple of hours ago when I got the error above)
fetch("https://provider.polygon.oceanprotocol.com/api/v1/services/initialize?documentId=did:op:38D471eC06d2bA6DF6Fd14E48268CABFe6d2bF1C&serviceId=1&serviceType=access&dataToken=0x38D471eC06d2bA6DF6Fd14E48268CABFe6d2bF1C&consumerAddress=0x47F899a8F4dF04C75eDdc05E091cA26ed93a46Df", {
  "headers": {
    "accept": "*/*",
    "accept-language": "en-US,en;q=0.9,bg;q=0.8",
    "content-type": "application/json",
    "sec-ch-ua": "\" Not A;Brand\";v=\"99\", \"Chromium\";v=\"90\", \"Google Chrome\";v=\"90\"",
    "sec-ch-ua-mobile": "?0",
    "sec-fetch-dest": "empty",
    "sec-fetch-mode": "cors",
    "sec-fetch-site": "cross-site"
  },
  "referrer": "http://localhost:8000/",
  "referrerPolicy": "strict-origin-when-cross-origin",
  "body": null,
  "method": "GET",
  "mode": "cors",
  "credentials": "omit"
});

@md00ux can we get some logs from the polygon provider?
@DimitarSD can we get better timing on when that request was made?

Yep, it should be somewhere between 10:50:00 GMT - 11:05:00 GMT, May 12th. Maybe around 11 am GMT since the request that passed happened on Wed, 12 May 2021 11:03:03 GMT and a few minutes before that was the one that failed.

So i was able to reproduce the issue also, it happens all the time for me with this dataset(did:op:aa82a24d62de1eB817c2173fff8B8c12d7b1Bbf9) + algorithm(did:op:3723dED928610F8F546482DB740C40Ae8E887e5a) combination on Rinkeby and if fails all the time at ordering algorithm. The error is a 400 {"error":"Asset URL not found or not available."} thrown by the provider on this Get request https://provider.rinkeby.oceanprotocol.com/api/v1/services/initialize?documentId=did:op:3723dED928610F8F546482DB740C40Ae8E887e5a&serviceId=3&serviceType=access&dataToken=0x3723dED928610F8F546482DB740C40Ae8E887e5a&consumerAddress=0x968d4670c346275edd5CC1A7535D14b631FFc49C . I have attached some screenshots below.
From what i can see not sure if this can be a problem is that the algorithm has 2 services, and the metadata service has "index": 0 but the access service has the "index": 3.

@calina-c  see mentioned issue above 😃