[SQL] expose a public entry for toRowList in BeamEnumerableConverter

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @akedin @apilloud
cc: @Ardagan @TheNeuralBit

run java precommit

Noticed first time precommit failed with test failures, witch had passed locally.
I will fix it first and respond to comments later.

@akedin
I totally agree your suggestion on code refactor. Have updated the code accordingly. I removed collect but still keep limitCollect as there is a special logic for limit.
Regarding to usefulness. Actually the refactoring of code implies: collectRows read rows into memory and allow further processing. At this moment, this idea is used for SQL shell by feeding in-memory data.  I think this idea can be used to simplify writing SQL test cases:
Think about data driven test. We could define SQL tests by only queries and their an expected result. And the testing interface will just be function that accepts a query (assume no table access) and return a list of row. The list of Row will be compared with provided expected result (another list of row). So the person who writes tests do not need to work with Beam, pipeline, passert, etc.

This is simplification over what is there now. LGTM.


CSS Overreach

The CSS included as part of the bootstrap isn't selective enough to only apply to the specific sections of the website where it's needed.  For example: all entries in the project settings page are altered by the inclusion of the stylesheet which it seems should only apply to the repositories part of the project settings.

As discussed in https://github.com/jbox-web/redmine_git_hosting/issues/732#issuecomment-532362560, issues related to Redmine < 4.0 or severely outdated issues are being closed to help clean up the issue tracker.
If this issue is still relevant to you and you are running Redmine >= 4.0, please open a new issue including all new relevant information.


allow user.url to be accessed without the server running

Reduces the number of different ways we need to build the same URLs.
follow-up on #472

Seem good to me.

Thanks, @Carreau!


Mac OS X Support

See notes for possible ways of doing this: e.g. PyObjC or perhaps the way that noble does it.
This may also require some refactoring, so that we can have different backends which can then be selected.

I tried building under OSX and get following:
src/XpcConnectionBase.cpp:72:27: warning: comparison of integers of different signs: 'int' and 'size_type' (aka 'unsigned long') [-Wsign-compare]
        for (int i = 0; i < str.size(); i++) {
                        ~ ^ ~~~~~~~~~~
1 warning generated.
ld: library not found for -lboost_python-py34
clang: error: linker command failed with exit code 1 (use -v to see invocation)
error: Setup script exited with error: command 'clang++' failed with exit status 1

sw_vers -productVersion
10.11.6
python --version
Python 3.5.2

You need to use Python 2.7 and "brew install boost-python"  or build Boost manually with Python 3.5+ support.

@silps fixed in 3f252a3


Switch mnist dataset mirror to a more reliable one

The current mnist dataset mirror used in the cleverhans_v3 sometimes sporadically return 503. This issue was first noted in 2018 (#496) and considered resolved since everything seem to be working fine since then.
Yesterday, @orlp reported this issue again. I looked into it and it's quite sporadic, returning a 503 every once in a while. I thought it best to switch the url once and for all.
Since we're using the "https://storage.googleapis.com/cvdf-datasets/mnist/" in our jax tutorial, I wanted to stay consistent with that and changed all referenced " http://yann.lecun.com/exdb/mnist/" to "https://storage.googleapis.com/cvdf-datasets/mnist/". This is the same url referenced in the tf datasets class.

You will need to resolve conflicts: are you working from the last commit? Could be easier to open a new PR if that’s not the case since this is 2 line diff

Thanks, Nicolas - now resolved.

You will need to resolve conflicts: are you working from the last commit? Could be easier to open a new PR if that’s not the case since this is 2 line diff


cxxrtl: add debug information to the C++ API, and add introspection via a new C API

See individual commits for details.
This PR has two main opportunities for improvement:

Memories cannot be updated in a race-free way either through the C++ debug information or the C API.
Localized and elided public signals do not appear in the debug information and cannot be introspected.

This PR significantly benefits from (but does not depend on) #2107.

cc @programmerjake @bracketmaster @jfng


The getter 'definingUnit' was called on null

Hello,
As soon as i create a test class like in the doc i get the following error:
NoSuchMethodError: The getter 'definingUnit' was called on null.
Receiver: null
Tried calling: definingUnit
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:54:5)
#1      LinkedElementFactory.isLibraryUri (package:analyzer/src/summary2/linked_element_factory.dart:133:28)

My test code:
import 'package:moor/ffi.dart';
import 'package:flutter_test/flutter_test.dart';
// the file defined above, you can test any moor database of course
import '../lib/models/dbs/tables.dart';

void main() {
  //MyDatabase database;

  setUp(() {
    //database = MyDatabase(VmDatabase.memory());
  });
  tearDown(() async {
    //await database.close();
  });
}

if i remove
import '../lib/models/dbs/tables.dart';
i don't get the error anymore any tables are correctly generated
This file is just a standard moor file like in the getting started doc.
I found an issue (#905 ) where it is says to downgrade analyser but i can't as older version use non null safe package and is incompatible with many packages now.
I don't get this issue with built_value
i have:
moor: ^4.1.0
moor_generator: ^4.1.0
build_runner: ^1.11.0

For information i fixed this issue with modifying my import from relative to package:
import '../lib/models/dbs/tables.dart';
import 'package:packagename/models/dbs/tables.dart';


--preserve-symlinks isn't supported

Needing to use this to get symlinks/peerDeps working with a local dependency.
This works: node -r ts-node/register --preserve-symlinks src
But even if I add the whitelist to ts-node-dev, this doesn't work: ts-node-dev --preserve-symlinks src
This works: NODE_PRESERVE_SYMLINKS=1 ts-node-dev src

There is compilerOptions parameter see https://github.com/TypeStrong/ts-node#cli-and-programmatic-options

It doesnt.
In ts-node it works like that:
node -r ts-node/register --preserve-symlinks src/main.ts
but in ts-node-dev there's no such argument. Also setting
    "preserveSymlinks": true,

doesn't help for both.

Will reopen probably should handle those node's standard options.


build: parse go version at go tip

This parses go version when build is running
in moast recent go master branch.

LGTM

@xiang90 Go tip failed on this PR but etcd continuous-integration/travis-ci/pr is green as you see.
https://travis-ci.org/coreos/etcd/builds/94950478
This should fix all the testing mess since yesterday. Sorry!

@xiang90 Thanks. Just fixed the link error with go tip.

LGTM. Let's fix issue reported by go vet next.

Sure, I am tracking them here https://github.com/coreos/etcd/issues/3954.


Geographic: Most density  (list top 5 products under visualization) — Product space — ECONOMÍA

Profile type: Geographic
Topic: ECONOMÍA
Section: OPORTUNIDADES
Sub Section: Product space
Title: Most density  (list top 5 products under visualization)
Chart type: **
Data source: **
Official source: **
Cube query: **

After May 11th we will create news issues related with new visualizations


proposal: go fmt should consider line length and wrap lines

Proposal Details
perhaps go fmt should reformat files (with an option/flag) if lines exceed a length
in older editors, the length was like 80. with modern machines, default might be ~120
https://youtrack.jetbrains.com/issue/IJPL-171225/Allow-go-fmt-tooling-to-reformat-files-if-lines-exceed-length
we must know that version control (line by line) will be impacted by this...but I think philosophically it's fine, as most projects will just start and end with the setting that they choose. or they do incremental changes.

Related Issues

[feature request]: hope go fmt tools can limit the length of a single line of go code  #60172 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

Duplicate of #11915


Driver configuration doesn't work

Description
It looks like the ->withDefaultDriverConfiguration() method doesn't actually pass the configuration to the client during build().
The client is always created with default driver params.
To Reproduce
$client = ClientBuilder::create()             ->withDriver('default', $auradb_uri, Authenticate::basic($neo4j_username, $neo4j_password))             ->withDefaultDriver('default')             ->withDefaultDriverConfiguration(DriverConfiguration::default()->withSslConfiguration(                 SslConfiguration::default()->withVerifyPeer(false)->withMode(SslMode::FROM_URL()))                 ->withMaxPoolSize(4096)                 ->withAcquireConnectionTimeout(2.5)             )             ->withDefaultSessionConfiguration(SessionConfiguration::default()->withDatabase('neo4j'))             ->withDefaultTransactionConfiguration(TransactionConfiguration::default()->withTimeout(120.0))             ->build();
Screenshots

Desktop (please complete the following information):

Library version: 3.0.5
Neo4j Version: 5.14 Community Edition / AuraDB
PHP version: . 8.1
OS: Win/Linux

Additional context
I could created a driver object with correct configuration, but, couldn't pass it to the client, as the build() method doesn't accept a pre-configured driver object.

Hello Avital!
Thank you for reaching out! I will fix it tomorrow as I'm out for the day.
Looks like you are correct
Sent from Proton Mail mobile
-------- Original Message --------
On 2 Dec 2023, 16:43, Avital Yachin wrote:

Description
It looks like the ->withDefaultDriverConfiguration() method doesn't actually pass the configuration to the client during build().
The client is always created with default driver params.
To Reproduce
$client = ClientBuilder::create() ->withDriver('default', $auradb_uri, Authenticate::basic($neo4j_username, $neo4j_password)) ->withDefaultDriver('default') ->withDefaultDriverConfiguration(DriverConfiguration::default()->withSslConfiguration( SslConfiguration::default()->withVerifyPeer(false)->withMode(SslMode::FROM_URL())) ->withMaxPoolSize(4096) ->withAcquireConnectionTimeout(2.5) ) ->withDefaultSessionConfiguration(SessionConfiguration::default()->withDatabase('neo4j')) ->withDefaultTransactionConfiguration(TransactionConfiguration::default()->withTimeout(120.0)) ->build();
Screenshots
neo_driver_code.png (view on web)
neo_bug2.png (view on web)
Desktop (please complete the following information):

Library version: 3.0.5
Neo4j Version: 5.14 Community Edition / AuraDB
PHP version: . 8.1
OS: Win/Linux

Additional context
I could created a driver object with correct configuration, but, couldn't pass it to the client, as the build() method doesn't accept a pre-configured driver object.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Bug with the newest Version 1.32.3

README
Github is NOT here for support and general questions, it's designed for developers to discuss development and code. If your issue is unrelated to anything technical, do not make an issue, you will be blocked and your issue closed without an answer.
Bug
Operating system: Windows 10 Pro
Game version: 2.12
CET version: 1.32.3
GPU: Geforce RTX 4080
Description
Everytime I try to start the game a Pop up comes up and tells me "Failed to resolve Address for hash 0x9ccf1543. Process will now close."
And as it told me it shuts the Game down
And of course i updated every single Mod
Expected behaviour
Should Start the game I guess
Reproduction
Updated from a CET Version from around January/February 1.29.1 to the newest from July 1.32.3 and then it started

Buy the game, then cry

I did buy it on GOG from my Dad's account and i used it since 2020 couse GOG said that they support that

Error says otherwise, is either not original not latest version.
Anyway no further support here, this is for CET issue and this is not an issue on legal fully updated copy.

Okay sorry for wasting your time gotta look at it with gog since I did buy it

I do have the same issue and I got it off of steam and it's legit. This could happen to anyone and its not just because u have a pirated game. I'm on the latest version of cyberpunk 2077 and I continue to receive this error.


memory usage extremely high

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Sarama Version:
574d3147eee384229bf96a5d12c207fe7b5234f3
Kafka Version:
0.10.0
Go Version:
go1.10.3
Configuration
What configuration values are you using for Sarama and Kafka?
I am using "github.com/bsm/sarama-cluster" to consume kafka and very simple configuration.
	config := cluster.NewConfig()
	config.Consumer.Return.Errors = true
	config.Group.Return.Notifications = true
	config.Group.Topics.Whitelist = regexp.MustCompile(ij.c.Kafka.TopicRegex)
	// init consumer
	consumer, err = cluster.NewConsumer(ij.c.Kafka.Brokers, ij.c.Kafka.GroupId, nil, config)

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
Problem Description
memory usage is very high , I profile and found this:
ROUTINE ======================== billions-index-json/vendor/github.com/Shopify/sarama.(*Broker).responseReceiver in /root/golib/src/billions-index-json/vendor/github.com/Shopify/sarama/broker.go
    2.40GB     2.40GB (flat, cum) 85.47% of Total
         .          .    507:			dead = PacketDecodingError{fmt.Sprintf("correlation ID didn't match, wanted %d, got %d", response.correlationID, decodedHeader.correlationID)}
         .          .    508:			response.errors <- dead
         .          .    509:			continue
         .          .    510:		}
         .          .    511:
    2.40GB     2.40GB    512:		buf := make([]byte, decodedHeader.length-4)
         .          .    513:		bytesReadBody, err := io.ReadFull(b.conn, buf)
         .          .    514:		b.updateIncomingCommunicationMetrics(bytesReadHeader+bytesReadBody, requestLatency)
         .          .    515:		if err != nil {
         .          .    516:			dead = err
         .          .    517:			response.errors <- err

Is this still an issue. If not, please close.

closing, feel free to re-open if this is still an issue

pls make sure that all references of the consumerMessage have been released, a huge amount of memory would be occupied otherwise.  More details: https://github.com/Shopify/sarama/wiki/Frequently-Asked-Questions#why-is-the-consumer-leaking-memory-andor-goroutines


Azure SQL RBAC thru PowerShell

Is there documentation on how to do Azure SQL database RBAC thru PowerShell?

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

ID: 429955f9-093b-70bd-9461-4269ad2eb8e9
Version Independent ID: 9aad7a41-bca9-9159-0cc7-c79516648857
Content: Azure SQL logins and users
Content Source: articles/sql-database/sql-database-manage-logins.md
Service: sql-database
GitHub Login: @VanMSFT
Microsoft Alias: vanto

@Ayanmullick
Thanks for the feedback! We are currently investigating and will update you shortly.

No, I'm looking for how to do the SQL database RBAC. Add an Azure AD user as 'db_datareader' to a specific Azure SQL database.

@VanMSFT Please review with Mirek

@Ayanmullick In looking at this document: Database-Level Roles:

db_datareader | Members of the db_datareader fixed database role can read all data from all user tables.

Would be the same as Reader in the following documentation: Role assignments via PowerShell. The role db_datareader would a specific value set through SSMS directly against the desired database.

The Azure resource level RBAC is entirely different from the RBAC within the database.
Get-AzureRmRoleAssignment -Scope /subscriptions/<SubID>/resourceGroups/<RGName>/providers/Microsoft.Sql/servers/<SQLServerName>/databases/<SQLDatabaseName>|ft
This outputs the Azure level RBAC
SELECT DP1.name AS DatabaseRoleName,
  isnull (DP2.name, 'No members') AS DatabaseUserName
FROM sys.database_role_members AS DRM
RIGHT OUTER JOIN sys.database_principals AS DP1
ON DRM.role_principal_id = DP1.principal_id
LEFT OUTER JOIN sys.database_principals AS DP2
ON DRM.member_principal_id = DP2.principal_id
WHERE DP1.type = 'R'
--AND DP2.name = CURRENT_USER --user to check role membership
--AND DP1.name = 'rolename' --Role name to check membership
ORDER BY DP1.name;
This outputs the Database level RBAC when run within SSMS.

@Ayanmullick Yes, this is correct. So, with what has been clarified and based upon your initial question, you asking for database RBAC role assignments via PowerShell. I will forward this on to the content author to evaluate. Thank you!

Hi @Ayanmullick, thank you for your question! There's no official documentation to my knowledge that provides details on what you are asking. However, the syntax of adding a role member would be the same through PowerShell as it would be if you are running a SQL command. You would need to build a connection object, and then run the T-SQL query through the SqlCommand class. You can also try Invoke-Sqlcmd, provided you have the right permissions and drivers to connect to Azure SQL DB.
I hope that helps!
Van

#please-close - Discussed with customer and they are working through Microsoft Support.

@Ayanmullick We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Feature/refactoring

Main func reduced number of args. Previous offset config and animate options and parameter centerIfNeeded moved to options object in arguments. Vars replaced by const and let's.

Thanks a lot for your contribution @tonybdesign! 😄


🐛 [Whatsapper] Fails to start on RPI4

Description
The add-on downloads fine but it never starts
Reproduction steps
1. install
2. start

Addon Logs
[FATAL tini (7)] exec tini failed: Exec format error```

Architecture
aarch64
OS
HAos

I've just realized this is not supported on aarch64 on the upstream image.

Thanks! I've removed aarch64 from the option to avoid this issue


[8.x] add collation argument to query builder orderBy

This pull request makes it easier to add a collation to an order by clause in SQL generated by the query builder.
Background:
In internationalized web apps, users can typically select their language. Among the things that change based on the selected language are not only translated strings in the UI or date / time formats but also sorting order. Databases implement this via collations, it's possible to specify the collation not only when creating databases / tables but also for a single query.
So far, Laravel only allowed building queries with specified collation in an order by clause by using orderByRaw(). This is not great when you want to internationalize your project and have to switch from orderBy() to orderByRaw() throughout your code base.
Implementation:
This pull request adds an optional 3rd argument to orderBy() called $collation, defaulting to null. If it's null, no collation information is added to the generated SQL, making it fully backwards compatible.
If a collation information is given, " collate " . $collation is appended to the generated SQL.
This syntax works with all four supported database engines. The names of the available collations are different from database to database and version to version, but that's anyways up to the developer to specify the collation they want to use.
Tests:
The case that no collation information is given is already covered by the existing tests which compare generated SQL to fixed strings. There is one new test added ensuring that a collation string given in the orderBy() leads to the correct SQL.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


Issue with creating VM from qcow3 based image

Reported errors of
'uses a qcow2 feature which is not supported by this qemu version: QCOW version 3' when starting a VM.

arunt [9:05 AM]
I am using vMX 15.1 (junos-vmx-x86-64-15.1F6.9.qcow2)
[9:06]
my virsh is setup as below
[9:06]
virsh # version
Compiled against library: libvirt 3.2.0
Using library: libvirt 3.2.0
Using API: QEMU 3.2.0
Running hypervisor: QEMU 2.8.1
[9:09]
just to add a note, I am doing this setup in RHEL 6.6


Extension Host using up CPU

Issue Type: Bug
Execution of a cell, i.e. Run Cell, in python file mimicking jupyter notebook slows down as more code is added and executed. With every execution of a cell, the Value of all the Variables in the Python Interactive window is reloaded even though only one variable is changing or being added.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:30:08.229Z)
OS version: Linux x64 4.15.0-65-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-6300HQ CPU @ 2.30GHz (4 x 800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: disabled_softwareskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: unavailable_offviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 1, 1

Memory (System)
7.66GB (1.13GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (8)

Extension
Author (truncated)
Version

anaconda-extension-pack
ms-
1.0.1

python
ms-
2019.10.41019

azure-account
ms-
0.8.4

csharp
ms-
1.21.4

vscode-yaml
red
0.5.3

azure-iot-edge
vsc
1.17.0

azure-iot-toolkit
vsc
2.10.0

pyqt-integration
zho
0.2.0

The Python Extension is using up lot of CPU (checked the process explorer) and slowing down the execution. What's the solution to this?


Fix typo in documentation comments

Changes Made
In crates/cairo-lang-primitive-token/src/lib.rs:

Changed unfiorm → uniform in the crate documentation comment

In crates/cairo-lang-plugins/src/plugins/compile_error.rs:

Fixed quote style in error message:

Old: "compiler_error!"
New: "compile_error!"

Reason for Changes
These changes improve code quality and consistency by:

Fixing a spelling error in the documentation which enhances readability and professionalism
Correcting the error message to accurately reflect the actual macro name, preventing potential confusion for developers

This change is

@orizi
I have updated the tests according to your feedback and ran ./scripts/rust_fmt.sh.
The changes have been verified with the test
Please review the updated changes. Let me know if anything else needs to be addressed.


Emit error event when calling EventSource.close()

The spec says:

When a user agent is to fail the connection, the user agent must queue a task which, if the readyState attribute is set to a value other than CLOSED, sets the readyState attribute to CLOSED and fires a simple event named error at the EventSource object. Once the user agent has failed the connection, it does not attempt to reconnect!

This pull-request makes that error event to be emitted. I needed to update the tests because when an error ocurred the error event was dispatched multiple times (one for the error, and one to notify the clossing). The Reconnection is stopped when server goes down and eventsource is being closed test is not passing due to a EADDRINUSE that I can't be able to identify, but the other ones works correctly.

Can you please rebase with master and try to fix the failing tests?

@piranna bump?

Sorry about that, I changed job and totally forgot about this pull-request since I didn't need it anymore. Rebase done.

So, I researched this one a bit. The spec says the following:

Any other HTTP response code not listed here, as well as the cancelation of the fetch algorithm by the user agent (e.g. in response to window.stop() or the user canceling the network connection manually) must cause the user agent to fail the connection.

Now, it's a bit unclear to me whether the phrase the user canceling the network connection manually means the developer calling .close() or not. I tested the behaviour of the native EventSource in Chrome and Firefox, and none of them trigger an error when close() is called manually.
From a personal standpoint, I also think this makes more sense - since a developer can keep track of calling close(), I don't think that triggering an error makes any sense. Since this seems to be in line with what Chrome and Firefox does, I'm going to revert and close this. Open for discussion if anyone has any viewpoints.


Exchange Online PowerShell to apply Retention Tags to Personal Folders and subfolders

Looking for PowerShell commands to apply Retention Tags to Personal Folders and all folders and email under a specific personal folder, for Exchange Online.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 3665db68-7dd8-2e93-1797-505eb77a22ce
Version Independent ID: 9cf5b8f2-a6aa-e79b-70e7-cfe5c1aee69c
Content: Get-RecoverableItems (exchange)
Content Source: exchange/exchange-ps/exchange/mailboxes/Get-RecoverableItems.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@msilinda The short answer is no, it's not possible for an admin to auto-apply personal tags to personal folders in user mailboxes. Admins can use retention policies to apply the Default Policy tag (DPT) to any item in the mailbox and can use Retention Policy Tags (RPT) to apply  to default folders. Only users can apply personal tags to items/folders in their mailbox to: "Manually to items and folders
Users can automate tagging by using Inbox rules to either move a message to a folder that has a particular tag or to apply a personal tag to the message [by using client-side rules]." For more info, see https://docs.microsoft.com/en-us/Exchange/security-and-compliance/messaging-records-management/retention-tags-and-policies.


test

Coverage remained the same at 85.82% when pulling 012223baff82bf52c895d5d5f4e9201852ce981e on dev into 2eb51c21960c4b97b5096b861c0cff74655582b7 on dev_temp.


Diagnostic data: include SDK version and git hash

This PR adds the SDK version in the diagnostic data output:
***Version***
SDK v0.5.2 (23c25faac7)

@ok300 Is it an idea to rebase this PR on top of 6c30f3f8fe7bf9e1e5953a8526344f7da4bd5b3a?
That commit is uncontroversial I think, so let's at least make things json and figure out the hex encoding later?

@JssDWt good idea. I'll wait until you merge the JSON hex PR, then I'll rebase this one.

@JssDWt good idea. I'll wait until you merge the JSON hex PR, then I'll rebase this one.

I'm off until Friday, maybe you can include that commit in this PR for now. Just the commit that creates the json document, not the hex serializer.

I rebased on #1091 .


thindows have wrong collision

Description
for some reason thindows, at bridge on aspid at least, have a circle in the middle of the tile as hitbox
Reproduction

walk up to bridge
sus

Screenshots
hitbox drawn on, approximately correct

seems to happen with railings as well

Might be https://github.com/space-wizards/RobustToolbox/pull/3958 or https://github.com/space-wizards/RobustToolbox/pull/3957 but need to confirm

oh yeah it was quickhull for sure.


Enhancer annotation hdf5 issue

Thank you for your help again. I'm running into an issue precomputing embeddings for enhancer_annotation task (saw some online suggestions about possible file corruption).
(BEND) gbenegas@luthien:/scratch/users/gbenegas/projects/BEND$ python scripts/precompute_embeddings.py model=resnetlm task=enhancer_annotation
Run Embedding
[2023-10-23 18:01:56,193][HYDRA] Launching 1 jobs locally
[2023-10-23 18:01:56,193][HYDRA]        #0 : model=resnetlm task=enhancer_annotation
Embedding data for enhancer_annotation
Embedding with resnetlm
Embedding split: part2
         Embedding chunk 0 (1/1)
Error executing job with overrides: ['model=resnetlm', 'task=enhancer_annotation']
Traceback (most recent call last):
  File "/scratch/users/gbenegas/projects/BEND/scripts/precompute_embeddings.py", line 49, in run_experiment
    sequtils.embed_from_bed(**cfg[cfg.task], embedder = embedder,
  File "/scratch/users/gbenegas/projects/BEND/bend/io/sequtils.py", line 119, in embed_from_bed
    hdf5_file = h5py.File(hdf5_file, mode = "r")['labels'] if hdf5_file else None
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "/scratch/users/gbenegas/software/mambaforge/envs/BEND/lib/python3.10/site-packages/h5py/_hl/group.py", line 357, in __getitem__
    oid = h5o.open(self.id, self._e(name), lapl=self._lapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5o.pyx", line 189, in h5py.h5o.open
KeyError: 'Unable to synchronously open object (bad local heap signature)'

Set the environment variable HYDRA_FULL_ERROR=1 for a complete stack trace.

Hello,
Yes this particular file was corrupted. It has been replaced on the erda directory  and will be replaced on zenodo soon as well.

Fixed version now also on zenodo

Thank you!


Center image over text in MGSwipeButton

Would you be willing to add functionality which moves the button image over the button text?
Here is a PR which creates buttons like this picture:

There is no side effect if this new method is not called, so it should be fairly low risk.
I have tested this in the iPhone6-iOS8 & the iPhone5-iOS7 simulator, and it behaves nicely.

Nice feature, thanks for the pull request.


Mutliple clicks required to re-enable layers/themes

Description
After navigating to a place with the navigator control, it takes two clicks to be able to re-enable a theme or type.
What browser are you seeing the problem on? What version are you running?
Chrome 125
The OS you're using
MacOS 14.5
Steps to reproduce
Start the explorer site.
Click on any of the panels in the navigator (Paris Roads for one), which jumps you to a new place on the map and sets different theme enable/disable/pin settings.
Click on any of the empty checkboxes (such as Places) enable a currently-disabled theme. Observe that the checkbox doesn't check (and no console log message fires).
The browser URL at the time you encountered the bug
canary (as-yet-unreleased) build

Issue has been fixed- now, whenever setVisibleTypes is called by the Navigator, the Theme Selector will run some code to re-calculate which themes should be enabled. This eliminates the desync between the two controls.


Parse out TxPower from advertisement packets for iOS

TxPower is not being returned for devices because iOS Adapter is not parsing.  Below is what I got working.  Will create pull request with addition.
Source/Plugin.BLE.iOS/Adapter.cs
public static List<AdvertisementRecord> ParseAdvertismentData(NSDictionary advertisementData)
{
...
else if (key == CBAdvertisement.DataTxPowerLevelKey)
{
    var arr = NSData.FromString(advertisementData.ObjectForKey(key).ToString()).ToArray();
    records.Add(new AdvertisementRecord(AdvertisementRecordType.TxPowerLevel, arr));
}

Configuration
Version: 1.1.0
Platform: iOS

Merged :)


partition table improvements

currently, the way to create partitions is pretty flat. need to be able to

support all of these permutations:

mbr and no LUKS
efi and no LUKS
mbr and LUKS
efi and LUKS

create appropriate partition table
still be able to customize sizes of individual partitions
still be able to override whole partition table or individual? partitions

making some progress on this, PR incoming soon


Not recognizing correct code to let me progress

Challenge Size your Images has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
  Please ask for help in Help Chat.
Thanks and Happy Coding!


feat: java version bump up

We chatted about this in the SIG meeting today, and there are differing opinions. One school of thought is that this encourages users to upgrade and supports Spring Boot 3+. Another school is that this is bothersome for users who are stuck on older versions and cannot upgrade easily.
For now, I believe we decided that keeping 8 while just overriding for the spring submodule(s) is the way to support the broadest user base. @open-telemetry/java-contrib-approvers do you agree?

For now, I believe we decided that keeping 8 while just overriding for the spring submodule(s) is the way to support the broadest user base. @open-telemetry/java-contrib-approvers do you agree?

👍


gocryptfs: mounting as non-root broken

Describe the bug
gocryptfs fails to mount a volume as non-root/without sudo
Steps To Reproduce
as a non-root user:
$ /nix/store/ldkp7i9yhf57hc2dfjznfvwh09pm102m-gocryptfs-2.1/bin/gocryptfs crypt plain  # newer build of package, with fuse as input
Password:
Decrypting master key
DetectQuirks: Btrfs detected, forcing -noprealloc. See https://github.com/rfjakob/gocryptfs/issues/395 for why.
/nix/store/5fww4k3j02nbfyjgn4sslqlz48z8f752-fuse-2.9.9/bin/fusermount: mount failed: Operation not permitted
fs.Mount failed: fusermount exited with code 256
$ /nix/store/f1wxi2l7rx2c0k5r60583hqy4ws2q193-gocryptfs-2.1/bin/gocryptfs crypt plain  # older build of package, without fuse as input
Password:
Decrypting master key
DetectQuirks: Btrfs detected, forcing -noprealloc. See https://github.com/rfjakob/gocryptfs/issues/395 for why.
Filesystem mounted and ready.

Expected behavior
gocryptfs should mount volumes without needing sudo, as normal user
Additional context
#138532 added fuse as input to the package, and added it to PATH in a wrapper. I assume that in older builds fusermount is grabbed from my PATH, which would be /run/current-system/bin/fusermount. The wrapper in /run/current-system/bin/fusermount has the setuid bit set, while the binary in the package does not; I assume this is the source of the problem.
Running the wrapped binary directly (/nix/store/ldk…102m-gocryptfs-2.1/bin/.gocryptfs-wrapped) mounts the volume without problems.
Notify maintainers
@flokli @offlinehacker @prusnak @kalbasit
Metadata

system: "x86_64-linux"
host os: Linux 5.10.67, NixOS, 21.05.20210926.fd8a7fd (Okapi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.4pre20210922_bcd73eb
channels(root): ""
channels(d): ""
nixpkgs: /nix/store/mz8vpyg587llb4c802w96m956icc39vm-source

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

cc @sephalon

The solution is to postfix fuse instead of prefix

The solution is to postfix fuse instead of prefix

What do you mean by postfix fuse?

The solution is to postfix fuse instead of prefix

What do you mean by postfix fuse?

I meant use --suffix instead of --prefix here https://github.com/NixOS/nixpkgs/pull/138532/files#diff-993678093cadc7b431e6e7229421191a397df5d6574b0620358fc1bc1e6e98a7R56

@DeeUnderscore Can you please try the proposed fix above and report back if that fixes the issue?

Thanks, yes, it solves my issue. I was also able to mount via the fileSystems option with the fix applied, so I went ahead and opened a PR at #140057


[AutoRelease] t2-resource-2022-10-10-38276(Do not merge)

https://github.com/Azure/sdk-release-request/issues/3254
Live test fail, detailed info is in pipeline log(search keyword FAILED)!!!
https://dev.azure.com/azure-sdk/internal/_build?definitionId=1025
BuildTargetingString
azure-mgmt-resource
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/3254


Tutorial 2: Finding and downloading datasets from the DigitalTWINS platform using the digitaltwins-api

Learning outcomes

find existing datasets stored in the platform’s portal.
access the platform using the digitaltwins Python API and find existing datasets.
download datasets in SDS format using the digitaltwins Python API.

Resolved by: #106

Text for tutorial is located at the bottom of the Digital Twin Platform User Documentation google doc https://docs.google.com/document/d/10dQ0Cyq0NQ1JlxPYCVtGCIY2umZrYzhAltsyRd9QhgY/edit


[Feature]: Set proxy mode true/false

Scope
Web
Feature Description
Set proxy mode true/false
Use Case
If someone want's to put txadmin behind proxy (cloudflare for example) they should still be able to get admins ip.
Proposed Solution
Add Convar
Additional Info
No response

This is not possible, this is also how Tor works...  You can reverse proxy txAdmin on your own server, so you can view the admins IP in your proxy's log. (on my server I use nginx to do exactly what you want to do)
If that what I am saying here is not true then please correct me

We are not talking about Tor here. When you run txadmin on your VPS, and an admin logs in, it will show the admin's IP in txadmin log. But having in mind that I do use nginx reverse proxy (just like you said) the txadmn no longer receives admin's IP, but instead it displays <IP_ADDRESS> (loopback address) because of the local proxy, and if you set it to add an header for forwarded-for address (just like cloudflare adds as well) and you set app.proxy to true koa automatically knows to use the header instead the IP making the request.

Im pretty certain if you use cloudflare, or i hhave in the past, the authentic origin ip is stored  as a header sent by cloudflare, which is the origin IP of the person making the request, and wont tell you cloudflares IP, PHPBB use this for there forum admin logs.

Yes the IP is stored as a header from the proxy providers. And the purpose of this is to be able to get that IP, otherwise, txAdmin would be using Cloudflare's IP.

txAdmin should/could just use X-RealIP / X-Forwarded-For, if either of those are set.

txAdmin should/could just use X-RealIP / X-Forwarded-For, if either of those are set.

Pretty much it would be the same as enabling proxy mode. There is no difference.

Except there would be no need for such proxy mode and/or manual changes, as it would be detected automatically.

If you enable proxy mode (you can just do it in the code without var, it's disabled on purpose) it will also detect it automatically and will work as you described it. That's the whole purpose of it


Information is outdated and needs to be corrected

[Enter feedback here]
The document states that the only supported method for VMWare HCX is through Expressroute. This is not correct.
HCX is supported over VPN or SD-WAN
https://docs.vmware.com/en/VMware-HCX/4.2/hcx-user-guide/GUID-8128EB85-4E3F-4E0C-A32C-4F9B15DACC6D.html

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

ID: bfdd20d6-7b1d-73f1-f580-d9207e10c5fb
Version Independent ID: 610d9d1a-dbea-0289-01ca-c84f2b30d1ef
Content: Microsoft Azure VMware Solution FAQ - Azure VMware Solution
Content Source: articles/azure-vmware/faq.yml
Service: azure-vmware
GitHub Login: @Ajayan1008

@gourav445 Thank you for your feedback!  We are reviewing this and will get back to you shortly.

@v-alje
I couldn't find the GitHub Id for the author listed on the document detail section for this doc. I am assigning it to you as you have made changes to this doc before. Please feel free to assign to the right person. Thank you.

@Karishma-Tiwari-MSFT I'm sorry. I'm not on the content team and don't know who this should go to. My contribution was just a bulk search and replace for Loc.

This input appears no longer to be relevant based on what I'm seeing about HCX in the current FAQ.
@akashdubey-ms or @suzizuber, pls assign to a VMWare SME for clarification or closure.

@rvandenbedem can you help us out with this one?

@suzizuber - @ianmsgit is correct, this issue has been resolved. I will close this.

#please-close


Cannot run docker imager

Watchman Version: v0.21.3 on Docker moov/watchman:latest
What were you trying to do?
I try to run watchman on my local machine via docker image.
What did you expect to see?
What did you see?
I got this error like in the image below.

How can we reproduce the problem?
Run this command:
docker pull moov/watchman:latest
docker run -p 8084:8084 -p 9094:9094 moov/watchman:latest

Sorry about that @sinh117801 the :latest tag wasn't properly pushed before. It works now and moov/watchman:v0.21.3 also works.

@adamdecaf - Thanks


Application error.... Heroku

When i'm trying to deploy on heroku i'm getting like

Application error

what is problem please help me

Hi, I'm not familiar with Heroku. Do you have anything else that can help in troubleshooting? :D


unable to install platformio

Hello
I'm trying to install the platormio and keep getting the same error:
sudo python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
==> Installing Python Package Manager ...
Requirement already up-to-date: pip in /Library/Python/2.7/site-packages
[SUCCESS]
==> Installing PlatformIO and dependencies ...
Collecting platformio
Downloading platformio-2.6.3.tar.gz (85kB)
Requirement already up-to-date: bottle in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: click<6,>=3.2 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: lockfile>=0.9.1 in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: pyserial in /Library/Python/2.7/site-packages (from platformio)
Requirement already up-to-date: requests>=2.4.0 in /Library/Python/2.7/site-packages (from platformio)
Collecting scons (from platformio)
Downloading scons-2.4.1.tar.gz (639kB)
Installing collected packages: scons, platformio
Found existing installation: scons 2.3.6
Uninstalling scons-2.3.6:
Successfully uninstalled scons-2.3.6
Running setup.py install for scons
Complete output from command /usr/bin/python -c "import setuptools, tokenize;file='/private/tmp/pip-build-JIjG2m/scons/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-GRoiPe-record/install-record.txt --single-version-externally-managed --compile:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: option --single-version-externally-managed not recognized

----------------------------------------

Rolling back uninstall of scons
Command "/usr/bin/python -c "import setuptools, tokenize;file='/private/tmp/pip-build-JIjG2m/scons/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-GRoiPe-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /private/tmp/pip-build-JIjG2m/scons
[FAILURE]
The installation process has been FAILED!
Please report about this problem here
< https://github.com/platformio/platformio/issues >

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29398512-unable-to-install-platformio?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

Hi,
Try this
sudo pip install -U scons
sudo pip install -U platformio

Hi
I'm sorry for hassle, just found:
http://docs.platformio.org/en/latest/faq.html#pip-scons-error-option-single-version-externally-managed-not-recognized
Reinstalling scons sorted the issue out.
Thank you, much appreciate.
Best

Did you resolve it?

yes, all is working fine so far

On 25 Dec 2015, at 18:46, Ivan Kravets<EMAIL_ADDRESS>wrote:
Did you resolve it?
—
Reply to this email directly or view it on GitHub.

Could you give us a :star: here https://github.com/platformio/platformio/stargazers? Thanks!

Thanks! Happy Holidays and Merry Christmas! :christmas_tree:


[Issue] Docusaurus was unable to resolve the "docusaurus-plugin-react-docgen" plugin.

After adding plugin config in docusaurus.config.js, docusaurus start throw this error:
Error: Docusaurus was unable to resolve the "docusaurus-plugin-react-docgen" plugin. Make sure one of the following packages are installed:
- docusaurus-plugin-react-docgen
- @docusaurus/plugin-docusaurus-plugin-react-docgen
- docusaurus-plugin-docusaurus-plugin-react-docgen

Config used:
{
  plugins: [
    [
      "docusaurus-plugin-react-docgen",
      {
        src: [path.join(__dirname, "../../aha-react/src/components")],
        route: {
          path: "/docs/components",
          component: require.resolve("./src/components/PropTable.tsx"),
          exact: true,
        },
      },
    ],
  ]
}

I also went to check node_modules and the package is already installed 🤔 Any clues to resolve this? Thanks in advance!

Fixed in 60d810831595a5596b3f6451bde651f28139eee0

you also have to add the options for react-docgen, then update the api to its parse method. I think this has a long way to go because after its all set and done you only get the response back from react-docgen. we need templates and the rest of the structure to get it somewhere near feature rich as react-styleguidist, some day soon, its very promising start!!

@andrew-hm feel free to make more issues/PRs! Happy to review/collaborate on new features 👌


⚠ Processors has degraded performance

In 5ce1aa8, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 292 ms

Resolved: Processors performance has improved in ba39799.


'page.onResourceRequested' misses some URLs

I have a problem with PhantomJS 2.0.0 on Windows 7 Pro 64-bit. BTW, I use PJS in connection with Geb integration tests triggered by Maven. The same problem already occurred under PJS 1.9.8 on Windows and even worse (i.e. for more URLs) on Linux, as mentioned in #13745 and on the mailing list. As now I have the problem in the current version, hopefully my ticket will be accepted this time.
My script
var page = this;
page.onResourceRequested = function (requestData, request) {
    if (requestData.url.match(/fonts.googleapis.com|youtube-nocookie.com|api.ahoyrtc.com/)) {
        console.log('Request (#' + requestData.id + '): ' + requestData.url + ' -> abort');
        request.abort();
    }
    else {
        console.log('Request (#' + requestData.id + '): ' + requestData.url + ' -> ' + JSON.stringify(requestData));
    }
}

gets executed for most URLs opened via Geb and Ghostdriver, but for some it does not. Instead, the test stalls and is aborted after a timeout of 30 seconds specified in my GebConfig.groovy. What I am doing is

deactivate proxy via --proxy-type=none CLI parameter,
call an internal page accessible without proxy.
The page tries to load some resources such as Webfont, CSS and JS files, but my onResourceRequested hook is supposed to blacklist them. Somehow it fails to do so on some pages, on others it works. I.e. I see a few Request ... -> abort messages, but not all I expect. When it fails, the URLs are not logged either, but page loading just times out.
If I add the blacklisted domains to my /etc/hosts file like <IP_ADDRESS> api.ahoyrtc.com, the tests pass, no more timeouts.

Feel free to ask for more information.
Edit: Just thinking out loud, could this be related to resources being loaded asynchronously in combination with HTTPS? I see in my logs that some HTTPS URLs are intercepted by the hook, though.

It looks like the problem occurs because my Geb test performs a button click which opens a new window. In this new window my Javascript hook from GebConfig.groovy quoted above  is not installed and thus not executed. Can anyone tell me how to inject the onResourceRequested hook into newly opened windows/tabs so as to enable those windows to do URL filtering?

I further thought about my problem. Basically the requirement is as follows: I would like to prevent PhantomJS from trying to load certain blacklisted URLs because in our test environment behind a very restrictive firewall they cannot be accessed without a proxy (which we are told not to use in automatic tests). The bad thing is not that external resources cannot be accessed because the pages still work as expected without them, but that PhantomJS tries to load them anyway and times out.

It looks like the problem occurs because my Geb test performs a button click which opens a new
window. In this new window my Javascript hook from GebConfig.groovy quoted above is not
installed and thus not executed.

Aha! I've had this problem myself.  You need to use the onPageCreated hook to reestablish all of your hooks in the new window.  Please see https://github.com/zackw/tbbscraper/blob/master/collector/scripts/pj-trace-redir.js for a fully worked example.
We would be open to the possibility of changing this in some way -- for instance, making hooks automatically inherit to child pages -- but we need to think carefully about how it ought to work.  I've tagged this accordingly.  If you have opinions about how it should work we are listening.

 Your script is really complex and I do not need that many hooks, just a few. I tried this:
// PhantomJS 1.9.8 doesn't support bind yet
Function.prototype.bind = Function.prototype.bind || function (thisp) {
	var fn = this;
	return function () {
		return fn.apply(thisp, arguments);
	}
}

function p_onResourceRequested(requestData, request) {
	if (/googleapis.com|gstatic.com|youtube-nocookie.com|ahoyrtc.com|webid-solutions.de/.test(requestData.url)) {
		console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> abort');
		request.abort();
	}
	else {
		console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> ' + JSON.stringify(requestData));
	}
}

function p_onResourceTimeout(requestData) {
	console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> resource timeout');
}

function p_onError(msg, trace) {
	console.log('[PhantomJS] Error: ' + msg);
	trace.forEach(
		function(item) {
			console.log('  ', item.file, ':', item.line);
		}
	);
}

function p_onResourceError(resourceError) {
	console.log('[PhantomJS] Request (#' + resourceError.id + '): ' + resourceError.url + ' -> resource timeout');
	console.log('  Error code: ' + resourceError.errorCode);
	console.log('  Error message: ' + resourceError.errorString);
}

function p_onPageCreated(page) {
	console.log('[PhantomJS] onPageCreated...');
	// Page timeouts
	page.settings.resourceTimeout = 10 * 1000;
	page.settings.pageLoadTimeout = 10 * 1000;

	// Page hooks
	page.onError               = p_onError.bind(page);
	page.onResourceRequested   = p_onResourceRequested.bind(page);
	page.onResourceTimeout     = p_onResourceTimeout.bind(page);
	page.onPageCreated         = p_onPageCreated.bind(page);
	console.log('[PhantomJS] onPageCreated done');
}

page = this;
console.log('[PhantomJS] Installing page hooks...');
p_onPageCreated(page);
console.log('[PhantomJS] Installing page hooks done');

This installs the hooks and e.g. onResourceRequested actually works and logs something. But as soon as a new tab is opened in my test, the browser seems to die. Am I doing anything wrong here, producing an endless loop with a stack overflow or so? I may not really have understood the recursion thing. Please note that the behaviour is the same in 2.0.0 and 1.9.8.
Error message:
org.openqa.selenium.remote.UnreachableBrowserException: Error communicating with the remote browser. It may have died.
Build info: version: '2.42.2', revision: '6a6995d31c7c56c340d6f45a76976d43506cd6cc', time: '2014-06-03 10:52:47'
System info: host: 'T2ATT3I6', ip: '<IP_ADDRESS>', os.name: 'Windows 7', os.arch: 'amd64', os.version: '6.1', java.version: '1.8.0_51'
Driver info: driver.version: RemoteWebDriver

I'm sorry, I don't have any useful suggestions for your new problem.  Please consider asking for help on the phantomjs-users mailing list.  We try to keep each bug report focused on one specific problem, which in this case = the hooks not inheriting.

Um, well, without the hooks inheriting as posted above and along the lines you suggested to me I do not have this problem. If I deactivate the hooks I do not have this problem. Would you mind checking if I got the solution right along the lines of your own script which I used as a template? Much appreciated.

I don't see anything obviously wrong with it. Try disabling individual
hooks one at a time?

Thanks, I did. in order to achieve what I want (blacklisting unreachable URLs causing my tests to hang) I need at least onResourceRequested (filtering) and onPageCreated (inheriting). Those two lead to PJS crashes.

Are you planning a way to configure more sophisticated proxy settings like non-proxy hosts or maybe a blacklist of unreachable URLs which should not be tried to resolve but aborted? The latter would help me get rid of Javascript hooks.

In order to achieve what I want (blacklisting unreachable URLs causing my tests to hang)
I need at least onResourceRequested (filtering) and onPageCreated (inheriting). Those
two lead to PJS crashes.

I stared at your code some more and I see a key difference from my script: you have

page = this;
console.log('[PhantomJS] Installing page hooks...');
p_onPageCreated(page);
console.log('[PhantomJS] Installing page hooks done');

This sets hooks on the internal pseudo-webpage hosting the controller script, which is categorically not supported.  In particular, I expect it is causing all of your console.log calls to recurse into your onError handler.  I couldn't see how that was happening before, but now I do.
Instead do something like
var page = new WebPage();
p_onPageCreated.bind({})(page);
page.open(...);

I do not know how to make that play nice with Selenium.  I would personally go to almost any length to avoid having to use Selenium.

Are you planning a way to configure more sophisticated proxy settings like non-proxy hosts or maybe a blacklist of unreachable URLs which should not be tried to resolve but aborted? The latter would help me get rid of Javascript hooks.

I am not interested in discussing that inside this issue, which is about hooks inheriting to child pages.

Your suggestion does not really help under my circumstances because my JavaScript code is evaluated inside PhantomJSDriver.executePhantomJS which says in its JavaDoc:

Certain callbacks are used by GhostDriver (the PhantomJS WebDriver implementation) already. Overriding these may cause the script to fail. It's a good idea to check for existing callbacks before overriding.

So that is what I did - and I found that there was already an onPageCreated hook used by GhostDriver to do bookkeeping for the list of open windows etc. I saw this when printing the function to the console:
// ...
var page = this;
var original_onPageCreated = page.onPageCreated
console.log('page.onPageCreated (original) = ' + original_onPageCreated);
// ...

This is the result:
function (newPage) {
    _log.debug("_addNewPage");

    _decorateNewWindow(newPage);                //< decorate the new page
    _windows[newPage.windowHandle] = newPage;   //< store the page/window;
}

So what I ended up doing was call the original onPageCreated hook from my own one and everything was fine. Just for reference, this is my current solution executed via PhantomJSDriver.executePhantomJS(...) from my GebConfig.groovy file:
function prototype_bind(oThis) {
    var fn = this;
    return function () {
        return fn.apply(oThis, arguments);
    }
}

function prototype_bind_polyFill(oThis) {
    if (typeof this !== 'function') {
        // closest thing possible to the ECMAScript 5
        // internal IsCallable function
        throw new TypeError('Function.prototype.bind - what is trying to be bound is not callable');
    }

    var aArgs   = Array.prototype.slice.call(arguments, 1),
        fToBind = this,
        fNOP    = function() {},
        fBound  = function() {
            return fToBind.apply(this instanceof fNOP
                    ? this
                    : oThis,
                aArgs.concat(Array.prototype.slice.call(arguments)));
        };

    fNOP.prototype = this.prototype;
    fBound.prototype = new fNOP();

    return fBound;
}

// PhantomJS 1.9.8 doesn't support bind yet
Function.prototype.bind = Function.prototype.bind || prototype_bind;

function p_onResourceRequested(requestData, request) {
    if (/googleapis.com|gstatic.com|youtube-nocookie.com/.test(requestData.url)) {
        console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> abort');
        request.abort();
    }
    else {
        console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> ' + JSON.stringify(requestData));
    }
}

function p_onResourceTimeout(requestData) {
    console.log('[PhantomJS] Request (#' + requestData.id + '): ' + requestData.url + ' -> resource timeout');
}

function p_onError(message, callStack) {
    console.log('[PhantomJS] Error: ' + message);
    callStack.forEach(
        function(frame) {
            console.log('[PhantomJS]   ', frame.file, ', line #', frame.line);
        }
    );
}

function p_onResourceError(resourceError) {
    console.log('[PhantomJS] Request (#' + resourceError.id + '): ' + resourceError.url + ' -> resource timeout');
    console.log('  Error code: ' + resourceError.errorCode);
    console.log('  Error message: ' + resourceError.errorString);
}

p_onClosing = function(closingPage) {
    console.log('[PhantomJS] Page is closing: ' + closingPage.url);
}

function p_onPageCreated(newPage) {
    newPage.onPageCreated != original_onPageCreated && original_onPageCreated(newPage);
    console.log('[PhantomJS] New page (tab/window) created');

    // Page timeouts
    newPage.settings.resourceTimeout = 10 * 1000;
    newPage.settings.pageLoadTimeout = 30 * 1000;

    // Page hooks
    newPage.onError             = p_onError.bind(newPage);
    newPage.onClosing           = p_onClosing.bind(newPage);
    newPage.onResourceRequested = p_onResourceRequested.bind(newPage);
    newPage.onResourceTimeout   = p_onResourceTimeout.bind(newPage);
    newPage.onPageCreated       = p_onPageCreated.bind(newPage);
}

var page = this;
var original_onPageCreated = page.onPageCreated
//console.log('page.onPageCreated (original) = ' + original_onPageCreated);

console.log('[PhantomJS] Installing page hooks...');
p_onPageCreated(page);
console.log('[PhantomJS] Installing page hooks done');

Well, it worked at home but not in office with the big, real-world application. I am getting messages like
PhantomJS has crashed. Please read the crash reporting guide at
  https://github.com/ariya/phantomjs/wiki/Crash-Reporting
  and file a bug report at
  https://github.com/ariya/phantomjs/issues/new with the crash dump file attached:
  /tmp/0725341e-d841-823d-7f0b09e5-428cb4c2.dmp

Unfortunately I cannot sen the dump because I saw in a hex editor that it contains lots of confidential data. If I get infinite recursion or similar, how do I best debug or log it?

I have asked you at least twice already to take support questions to the user mailing list.  Lest there be any doubt, "how do I investigate this bug in detail" is a support question, especially when "this bug" isn't the originally-reported bug anymore.
I'm going to have to close this bug report and create a fresh one for the actionable feature request, because your insistence on posting queries about tangential problems here has rendered it useless for discussion of that feature request.

N.B. If you don't like the way I'm treating your bug reports, you are also welcome to discuss that on the user mailing list.  Not in the bug tracker.

#13770 is the new issue for the feature request.


MSID: 93170 Version: 1 DOI: 10.1101/2<IP_ADDRESS>1244

MSID: 93170
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>1244
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=93170
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>1244

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/93170v1
Update ticket with any problems (add blocked label)
Add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>1244
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/93170/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 6: Add PDF url to manuscripts.json
Pull request created to enhanced-preprint-client

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

Waiting for peer review content to load then can QC

missing affiliation for RE

Nicely spotted @rkcook312.
@acollings I assume the affiliation is missing in eJP?

Yeah, sorry @fred-atherden, they're a guest editor: Fred Hutchinson Cancer Research Center, Seattle, United States of America (same as the Senior Editor)

Thanks Andy. I've reimported and the affiliation is showing.
However, I notice that the title is in all caps, so that'll need fixing before we proceed.

Package uploaded to s3://prod-elife-epp-meca/93170-v1-meca.zip with title capitalisation fixed. This will need reimporting after at least an hour (giving the docmap time to update).


ModuleNotFoundError: No module named 'pretrainedmodels'

I encountered this error while running deep_if model. Can you please add this module?

Hi! Have you run
 pip install -r requirements.txt

? This module is listed in requirements.txt.  So it should be installed via this command


Date picker doesn't unset value when input is cleared and value is updated

When I log the modifier before submit should show  {$unset:{my_date_field:""}} but just ignores the field, retaining the previous value.

+1 here.
This bug seems to be located in the valueOut function of the bootstrap-datepicker input type definition in autoform-bs-datepicker.js.
There's a check here on this.val() so the function return only if field value is not falsy.
Here is the actual function
valueOut: function () {
  if (this.val()) {
    var val = this.datepicker('getUTCDate');
    return (val instanceof Date) ? val : this.val();
  }
}

Obviously, an empty string will never call the return statement. I changed it to
valueOut: function () {
  var val;
  if (this.val()) {
    val = this.datepicker('getUTCDate');
  }
  return (val instanceof Date) ? val : this.val();
}

to return an empty string when needed.

+1 ran into this same bug.  @aldeed can you merge and release #27?

+1 @aldeed

@aldeed We also have the same issue with datepicker, when is the fix going to be merged & released?


Development/metrol 430 object

If cmake version can be changed to 3.13, the solution is simpler as mentioned here:
https://cmake.org/cmake/help/latest/command/target_link_libraries.html#id3

@neeraj-deshpande with the last two changes I have a working webkit with a westeros based compositorclient... but yeah I use cmake v3.18 now so maybe that is why.


PSI-MOD.obo.xml not up to date

PSI-MOD.obo.xml update after #4 missing

Does anyone know how this XML is generated? I presume it is generated via a script that reads the OBO file and generates the XML?
Does anyone know where the script can be found? Or who might know?
thanks,
Eric

I'm going to propose that we delete the .obo.xml or in some way mark it as deprecated.  I don't have a way to generate the .obo.xml (which isn't OWL, but rather just a serialized obo file) and I don't plan on reverse-engineering it... thoughts?

I agree.
Best wishes.
Sylvie.
Professor Sylvie RICARD-BLUM
Pericellular and Extracellular Supramolecular Assemblies
UMR 5246 CNRS - University Lyon 1
Institute of Molecular and Supramolecular Chemistry and Biochemistry
University Claude Bernard Lyon 1, 43 Boulevard du 11 novembre 1918
69622 Villeurbanne Cedex, France
Phone: +33(0)4 72 44 82 32
E-mail<EMAIL_ADDRESS>http://www.icbms.fr
The French Society for Matrix Biology http://www.sfbmec.fr
The International Society for Matrix Biology http://ismb.org
Le 30/11/2020 à 22:41, Eric Deutsch a écrit :

I think I tried reaching out to John G back in Feb and did not get a
response. I agree that we should not keep an obsolete file in master
lest someone try to use it. I concur that we should delete it and then
try to re-create it if someone complains.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/HUPO-PSI/psi-mod-CV/issues/5#issuecomment-736073239,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJD23Z3I6AO2SD74VMYINFTSSQGQTANCNFSM4ED2VKZA.

In principle I agree.
I have no views on users of the xml version, which is anyway not the official source format.
De : pmt706<EMAIL_ADDRESS>Envoyé : lundi 30 novembre 2020 20:21
À : HUPO-PSI/psi-mod-CV<EMAIL_ADDRESS>Cc : Subscribed<EMAIL_ADDRESS>Objet : Re: [HUPO-PSI/psi-mod-CV] PSI-MOD.obo.xml not up to date (#5)
I'm going to propose that we delete the .obo.xml or in some way mark it as deprecated. I don't have a way to generate the .obo.xml (which isn't OWL, but rather just a serialized obo file) and I don't plan on reverse-engineering it... thoughts?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/HUPO-PSI/psi-mod-CV/issues/5#issuecomment-735988943, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AESGSRVJOFFHJNUQOKE6CTLSSPWC3ANCNFSM4ED2VKZA.


Fix broken link for issue 266

Fix broken link by adding the correct directory structure to the path

Thanks!


[REQUEST] FMG doesn't work on Opera GX

My main browser is opera gx but when I use FMG. It always say FMG ERROR [CONTENT] TypeError: Cannot convert undefined or null to object. but when I use on chrome it work perfect. Make it work on opera gx please.

should work, compile for chrome and enable dev mode, then add the extension in the extension manager.


Pyclick instead of vncdotool's mouse

Feature Request

Use pyclick instead of vncdotool's mouse

Also, If I wanted to expedite or implement this myself, how would I go about doing so?

I'm not familiar with pyclick, but if the movement planning is sufficiently abstracted it seems like a reasonable thing to consider.  My only hesitation would be what do we gain from using pyclick? While the current implementation is naive, what are the downsides of such direct movement?  Additionally, does adding a new dependency potentially create installation issues for some users?  If you wanted to implement yourself, I'd be happy to look at a PR.

The purpose of doing this is to counter detection methods, creating bots / automation, which is my goal, so if you do not support doing so I understand.
Also, (on the same topic of botting / automation) another thing to consider is upgrading from PIL to mss, as this significantly increases the FPS (if the frames were to go somewhere besides a screenshot, or a vnc client) I've done a small scale test with PIL vs mss when using / modifying sentdex's GTAV client (ml/ai learning to drive in the gtav environment). I switched to mss and got far better results (double if i recall, but I wouldn't quote me on this). I do believe others could benefit from this implementation, I just don't know about frame-buffers and the required things to achieve this.
I'm not looking to send a PR, more-so of learning how vncdotool is using the mouse. I see that twisted is being used, and that their are custom made functions for the mouseDown, mouseUp, mouseMove and click, however, I tried to implement pyclick myself, and failed, not to worry. I will try again soon, and if not find support to do so.

I'm open to improving the mouseMove algo, or making it configurable.  As I don't have a need to do so I won't be implementing it.  If you don't intend to send a PR then I don't see value in keeping this issue open and will be closing it unless there is reason not to.


Users: updating views

Removing ability to update firstname and lastname
Allowing to enter card number only once
Removing some obsolete assets
Adding status view to start page

Just that small comment. Well done! +1


Error Handling: When input file is missing

Write better error message.

The default message looks good.
genv sample.env
    Error: ENOENT: no such file or directory, open 'sample.env'
    Code: ENOENT


Conduct contract release 1 and deploy via governance to networks

This issue is tracking Celo's first smart contract upgrade release. While executing upon this release according to the process laid out in https://docs.celo.org/community/release-process/smart-contracts, we are simultaneously going to improve it as we go and reference those changes here as well
Process Checklist:

[x] Merge all changes that should go into release 1
[x] Cut release branch and submit branch to auditors
[x] Receive Audit report
[x] Address issues found in audit
[x] Submit audit fixes to auditors @emaG3m @yorhodes
[x] Receive final audit report
[x] Write up release/governance proposal notes @alecps
[x] Make release on Github and add @alecps's release notes draft @nambrot
[x] (Sep 29) Propose GasLimit increase on Baklava @alecps
[x] (Oct 6) Propose GasLimit increase on Alfajores @aslawson @emaG3m
[ ] (Oct 13) Propose GasLimit increase on Mainnet @aslawson
[ ] Deploy contracts on Baklava @yorhodes
[ ] Verify Deploy on Baklava (i.e. test downtime slasher) @yorhodes
[ ] Propose contract upgrade on Baklava
[ ] Deploy contracts on Alfajores
[ ] Verify Deploy on Alfajores (i.e. test downtime slasher)
[ ] Propose contract upgrade on Alfajores
[ ] Deploy contracts on Mainnet
[ ] Propose contract upgrade on Mainnet

Blockers:

[x] Testing that raising the block gas limit is safe

To-Dos:

[x] Review @m-chrzan's verify-bytecode PR @emaG3m @yorhodes
[x] Update docs with an overview of deployment/verification tooling @yorhodes
[x] Script to verify currently deployed contracts bytecode @yorhodes
[x] Script to verify proposal is well formed and matched commit @yorhodes
[x] Enumerate relevant PRs for release notes
[x] Setup comms plan with community @cla-bel
[x] Update promotion process with comms action items @cla-bel
[x] Update release process docs @emaG3m
[x] Add branching process to docs @nambrot
[x] Write CGP for GasLimit Increase @nambrot
[x] Write announcement context post in time for baklava gasLimit increase proposal @cla-bel
[x] Fix master CI version check @emaG3m
[x] Update docs that accomodates right reference for CI version check @emaG3m
[ ] Update docs with a process to handle initialize data
[ ] Proxy linked libraries in migrations @yorhodes
[ ] Remove release 1 specific tooling after release 1
[x] Update docs with process for cutting release branch and updating reference of CI checks for master @emaG3m
[x] Properly tag what's currently deployed on the networks @nambrot
[ ] Merge release branch back into master and give auditors next release commit
[ ] verify-bytecodes should output positive messaging
[ ] verify proposal should check initialize data
[ ] Suppress script output in verification scripts
[ ] Add --dryrun to make-release script and reconcile build args
[ ] Add SlasherUtil hack since it added getVersionNumber
[ ] getVersionNumber only on proxied contracts
[ ] All proxied contracts have getVersionNumber
[ ] make-release only releases contracts with proxies
[ ] Have logic to determine which contracts should actually be deployed (fix Regex exclusion)
[ ] Remove MetaTransactionWallet from check version
[ ] Write CGP12
[ ] Fix make-release/verify-bytecode with UsingPrecompiles linked library

Meaningful PRs that went in this release:

Downtime Slasher https://github.com/celo-org/celo-monorepo/pull/3806
Wiggle Room for LockedGold requirements https://github.com/celo-org/celo-monorepo/pull/4461
Allow signer to withdraw attestation fees https://github.com/celo-org/celo-monorepo/pull/4298
Add sell/buy functions for Exchange.sol https://github.com/celo-org/celo-monorepo/pull/4580
Allow the transferring of attestations https://github.com/celo-org/celo-monorepo/pull/4583

The commit that was submitted to OpenZeppelin was https://github.com/celo-org/celo-monorepo/tree/b2f0a58fcc7667d41585123aae5b24c47aa894f6 and the release branch is oz-prerelease

Release Notes draft in progress here https://docs.google.com/document/d/1vmZCKJRM9WO4VYinKEb5q4QetXjNzYFxq0AvPy_t8pA/edit Please add any improvements!

CGP for the block gas limit increase proposal https://github.com/celo-org/celo-proposals/pull/46

Created the branch release/contracts/1 with tag celo-contracts-v1.rc1 and made a prerelease release at https://github.com/celo-org/celo-monorepo/releases/tag/celo-contracts-v1.rc1

Baklava Gas Limit Increase has been proposed as proposal 4.
celocli governance:view --proposalID 4 --node https://baklava-forno.celo-testnet.org
It will enter into approval stage tomorrow ~10:40AM PDT.  Baklava just needs 1 approver.
It will then enter the voting stage Thursday and will need someone with access to the cLabs voting keys to vote and pass it.

Proposal is approved
celocli governance:view --proposalID 4 --node https://baklava-forno.celo-testnet.org
Running Checks:
   ✔  4 is an existing proposal
proposal:
  0:
    contract: BlockchainParameters
    function: setBlockGasLimit
    args:
      0: 130000000
    params:
      gasLimit: 130000000
    value: 0
metadata:
  proposer: 0xF3EB910DA09B8AF348E0E5B6636da442cFa79239
  deposit:<PHONE_NUMBER>00000000000 (~100 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 1
  descriptionURL: https://github.com/celo-org/celo-proposals/blob/master/CGPs/0011.md
stage: Approval
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.0143430905876
  agreement: 80%
isApproved: true
isProposalPassing: false
secondsUntilStages:
  referendum: 12863
  execution: 99263
  expiration: 704063

Baklava GasLimit Proposal is executed, blocks are stable!
celocli governance:execute --proposalID 4 --from 0xfcf982bb4015852e706100b14e21f947a5bb718e
Running Checks:
   ✔  4 is an existing proposal
   ✔  4 is in stage Execution
   ✔  Proposal 4 is passing corresponding constitutional quorum
SendTransaction: executeTx
txHash: 0x552d82ceeeafce060c5b28557c513af60f957280aebc4853ad0e7a99a0a2c315
Sending Transaction: executeTx... done
ProposalExecuted:
proposalId: 4

The Block Gas Limit update has been proposed on Alfajores with proposalID 1
proposal:    0:      contract: BlockchainParameters     function: setBlockGasLimit     args:        0: 130000000     params:        gasLimit: 130000000     value: 0 metadata:    proposer: 0xB10c80EB948057eDfb7D0eF9BAD319144efC8568   deposit:<PHONE_NUMBER>00000000000 (~100 10^18)   timestamp:<PHONE_NUMBER>    transactionCount: 1   descriptionURL: https://github.com/celo-org/celo-proposals/blob/master/CGPs/0011.md stage: Queued upvotes: 0  votes:    Yes: 0    No: 0    Abstain: 0  passing: false requirements:    participation: 0.005    agreement: 80% isApproved: false isProposalPassing: false secondsUntilStages:    referendum: 1509    execution: 5109    expiration: 91509

The blockGasLimit proposal has been executed on alfajores

The release process documentation is up to date with the internal and community tooling.
https://docs.celo.org/community/release-process/smart-contracts#release-process

The cLabs team asked OpenZeppelin to review and audit the recent changes in the smart contracts from their protocol.
We examined the code, and here we publish our findings in Phase 3.  👇
The relevant commits are specified in the report.
https://blog.openzeppelin.com/celo-contracts-audit

Block GasLimit increase proposal is live on Mainnet, thanks @aslawson https://celo.stake.id/#/proposal/11

Thanks @zviadm for noticing that our block gasLimit proposals had specified the wrong number for the increase (130M instead of 13M). This post will track the work needed to rectify that mistake:

[ ] Inform approvers of Mainnet multisig to not approve @nambrot
[ ] Dequeue the current Mainnet Proposal 12 @aslawson
[ ] Mark [CGP11] as REJECTED on https://github.com/celo-org/celo-proposals/blob/master/CGPs/0011.md
[ ] Create new CGP12 that sets it to the right value
[ ] Propose CGP12 on Baklava
[ ] Propose CGP12 on Alfajores
[ ] Propose CGP12 on Mainnet (pending success on Baklava/Alfajores)

Baklava Proposal to set the gasLimit to 13M has been proposed
celocli governance:view  --proposalID 5 --node https://baklava-forno.celo-testnet.org
Running Checks:
   ✔  5 is an existing proposal
proposal:
  0:
    contract: BlockchainParameters
    function: setBlockGasLimit
    args:
      0: 13000000
    params:
      gasLimit: 13000000
    value: 0
metadata:
  proposer: 0xfCf982bb4015852e706100B14E21f947a5Bb718E
  deposit:<PHONE_NUMBER>00000000000 (~101 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 1
  descriptionURL: https://github.com/celo-org/celo-proposals/pull/51
stage: Queued
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.1842132935244
  agreement: 80%
isApproved: false
isProposalPassing: false
secondsUntilStages:
  referendum: 14357
  execution: 100757
  expiration: 705557

Alfajores Proposal to set the gasLimit to 13M has been proposed
celocli governance:view  --proposalID 2 --node https://alfajores-forno.celo-testnet.org
Running Checks:
   ✔  2 is an existing proposal
proposal:
  0:
    contract: BlockchainParameters
    function: setBlockGasLimit
    args:
      0: 13000000
    params:
      gasLimit: 13000000
    value: 0
metadata:
  proposer: 0x456f41406B32c45D59E539e4BBA3D7898c3584dA
  deposit:<PHONE_NUMBER>00000000000 (~101 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 1
  descriptionURL: https://github.com/celo-org/celo-proposals/pull/51
stage: Queued
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.013997244463
  agreement: 80%
isApproved: false
isProposalPassing: false
secondsUntilStages:
  referendum: 1774
  execution: 5374
  expiration: 91774

Alfajores Proposal to set the gasLimit to 13M has been executed

Baklalva Proposal to set the gasLimit to 13M has been executed

The block gas limit increase has been proposed on Mainnet
celocli governance:view  --proposalID 12 --node https://rc1-forno.celo-testnet.org
Running Checks:
   ✔  12 is an existing proposal
proposal:
  0:
    contract: BlockchainParameters
    function: setBlockGasLimit
    args:
      0: 13000000
    params:
      gasLimit: 13000000
    value: 0
metadata:
  proposer: 0xF3EB910DA09B8AF348E0E5B6636da442cFa79239
  deposit:<PHONE_NUMBER>00000000000 (~100 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 1
  descriptionURL: https://github.com/celo-org/celo-proposals/blob/master/CGPs/0012.md
stage: Approval
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.1807886970308
  agreement: 80%
isApproved: false
isProposalPassing: false
secondsUntilStages:
  referendum: 26131
  execution: 458131
  expiration: 717331

Baklava Contract Upgrade has been proposed
governance:view --proposalID 9
Running Checks:
   ✔  9 is an existing proposal
proposal:
  0:
    contract: Registry
    function: setAddressFor
    args:
      0: Signatures
      1: 0x7b3c5344D8Df4cd3462518FAFEE43F43A4A76577
    params:
      identifier: Signatures
      addr: 0x7b3c5344D8Df4cd3462518FAFEE43F43A4A76577
    value: 0
  1:
    contract: SignaturesProxy
    function: _setImplementation
    args:
      0: 0x8CaaAbb7f2e5c543d0BBe54745b6C48e96B3E5bd
    params:
      implementation: 0x8CaaAbb7f2e5c543d0BBe54745b6C48e96B3E5bd
    value: 0
  2:
    contract: AccountsProxy
    function: _setImplementation
    args:
      0: 0x762bb351087b5EFA3Ac0a2D269aa3F1499946812
    params:
      implementation: 0x762bb351087b5EFA3Ac0a2D269aa3F1499946812
    value: 0
  3:
    contract: Registry
    function: setAddressFor
    args:
      0: AddressLinkedList
      1: 0x14f43F01e9de9930372Cf32C27773FF3F47F9a20
    params:
      identifier: AddressLinkedList
      addr: 0x14f43F01e9de9930372Cf32C27773FF3F47F9a20
    value: 0
  4:
    contract: AddressLinkedListProxy
    function: _setImplementation
    args:
      0: 0xa24e0959A336A0BC7AC526C09497B685655059D0
    params:
      implementation: 0xa24e0959A336A0BC7AC526C09497B685655059D0
    value: 0
  5:
    contract: Registry
    function: setAddressFor
    args:
      0: AddressSortedLinkedList
      1: 0x29C8F3858C91546BFf142D318F66a54042E3cA8B
    params:
      identifier: AddressSortedLinkedList
      addr: 0x29C8F3858C91546BFf142D318F66a54042E3cA8B
    value: 0
  6:
    contract: AddressSortedLinkedListProxy
    function: _setImplementation
    args:
      0: 0x19A46a7E5069c0bC0Cd650411DB016c466a9E01b
    params:
      implementation: 0x19A46a7E5069c0bC0Cd650411DB016c466a9E01b
    value: 0
  7:
    contract: Registry
    function: setAddressFor
    args:
      0: AddressSortedLinkedListWithMedian
      1: 0x8ea23c44d496ccebb0d57F9dF433BB6AF90396Fe
    params:
      identifier: AddressSortedLinkedListWithMedian
      addr: 0x8ea23c44d496ccebb0d57F9dF433BB6AF90396Fe
    value: 0
  8:
    contract: AddressSortedLinkedListWithMedianProxy
    function: _setImplementation
    args:
      0: 0x7950546f75f7FB7076D8A434571f1bF645328283
    params:
      implementation: 0x7950546f75f7FB7076D8A434571f1bF645328283
    value: 0
  9:
    contract: AttestationsProxy
    function: _setImplementation
    args:
      0: 0x11BC1D21700e26947b9574BCE6eAB46Cf6534060
    params:
      implementation: 0x11BC1D21700e26947b9574BCE6eAB46Cf6534060
    value: 0
  10:
    contract: DoubleSigningSlasherProxy
    function: _setImplementation
    args:
      0: 0x8b527cAA341cCba2bd155b9fecd5fA78dC8e0996
    params:
      implementation: 0x8b527cAA341cCba2bd155b9fecd5fA78dC8e0996
    value: 0
  11:
    contract: Registry
    function: setAddressFor
    args:
      0: DowntimeSlasher
      1: 0xf70FBB1E4ca0985bFB3019b4AAFD5eFC6B8CBFCa
    params:
      identifier: DowntimeSlasher
      addr: 0xf70FBB1E4ca0985bFB3019b4AAFD5eFC6B8CBFCa
    value: 0
  12:
    contract: DowntimeSlasherProxy
    function: _setAndInitializeImplementation
    args:
      0: 0x0dA385a46E3c15a4277066edca9247A6e5687f68
      1: 0x4ec81af1000000000000000000000000000000000000000000000000000000000000ce100000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000021c0
    params:
      implementation: 0x0dA385a46E3c15a4277066edca9247A6e5687f68
      callbackData: 0x4ec81af1000000000000000000000000000000000000000000000000000000000000ce100000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000021c0
      initialize@0x4ec81af1:
        registryAddress: 0x000000000000000000000000000000000000ce10
        _penalty:<PHONE_NUMBER>00000000000
        _reward:<PHONE_NUMBER>0000000000
        _slashableDowntime: 8640
    value: 0
  13:
    contract: ElectionProxy
    function: _setImplementation
    args:
      0: 0x7368454BEa90044fb663f15B9646048243831f47
    params:
      implementation: 0x7368454BEa90044fb663f15B9646048243831f47
    value: 0
  14:
    contract: EpochRewardsProxy
    function: _setImplementation
    args:
      0: 0x770b35AbB26d210f922353b051Baf7b416E1369e
    params:
      implementation: 0x770b35AbB26d210f922353b051Baf7b416E1369e
    value: 0
  15:
    contract: EscrowProxy
    function: _setImplementation
    args:
      0: 0xe8940F2BF8950218dBa5Ea27daB1d883ecA84118
    params:
      implementation: 0xe8940F2BF8950218dBa5Ea27daB1d883ecA84118
    value: 0
  16:
    contract: ExchangeProxy
    function: _setImplementation
    args:
      0: 0x991F3Ff09239C38432686Aa196E2323b54fb7DFa
    params:
      implementation: 0x991F3Ff09239C38432686Aa196E2323b54fb7DFa
    value: 0
  17:
    contract: GasPriceMinimumProxy
    function: _setImplementation
    args:
      0: 0x031F53606a429895c2f87008791C3C100f5B7Bb5
    params:
      implementation: 0x031F53606a429895c2f87008791C3C100f5B7Bb5
    value: 0
  18:
    contract: GoldTokenProxy
    function: _setImplementation
    args:
      0: 0xA5F6a3ba00974Cedc00431bfeB83b20d524a606D
    params:
      implementation: 0xA5F6a3ba00974Cedc00431bfeB83b20d524a606D
    value: 0
  19:
    contract: Registry
    function: setAddressFor
    args:
      0: Proposals
      1: 0xE9d405f8bb20bF15a9E574dEfF1d20f39591Bac5
    params:
      identifier: Proposals
      addr: 0xE9d405f8bb20bF15a9E574dEfF1d20f39591Bac5
    value: 0
  20:
    contract: ProposalsProxy
    function: _setImplementation
    args:
      0: 0x9eA51f3a8EE459224bCA08Ceac7283E25628b409
    params:
      implementation: 0x9eA51f3a8EE459224bCA08Ceac7283E25628b409
    value: 0
  21:
    contract: Registry
    function: setAddressFor
    args:
      0: IntegerSortedLinkedList
      1: 0x5eC5fadFB4E2C5bfBc8e9efAe3B747FC46448fEd
    params:
      identifier: IntegerSortedLinkedList
      addr: 0x5eC5fadFB4E2C5bfBc8e9efAe3B747FC46448fEd
    value: 0
  22:
    contract: IntegerSortedLinkedListProxy
    function: _setImplementation
    args:
      0: 0xCd7b6B9742E355adC71E3230F90C56BE40230B80
    params:
      implementation: 0xCd7b6B9742E355adC71E3230F90C56BE40230B80
    value: 0
  23:
    contract: GovernanceProxy
    function: _setImplementation
    args:
      0: 0x0277a4EC52663DCB30b05f1Db763A99245B79B4c
    params:
      implementation: 0x0277a4EC52663DCB30b05f1Db763A99245B79B4c
    value: 0
  24:
    contract: LockedGoldProxy
    function: _setImplementation
    args:
      0: 0xB3D8cB1E0CAf779C9f3342e68eA99d859Aba5556
    params:
      implementation: 0xB3D8cB1E0CAf779C9f3342e68eA99d859Aba5556
    value: 0
  25:
    contract: RandomProxy
    function: _setImplementation
    args:
      0: 0xC6ac5751442B340ca53CaCD439202Dc404b80ec6
    params:
      implementation: 0xC6ac5751442B340ca53CaCD439202Dc404b80ec6
    value: 0
  26:
    contract: ReserveProxy
    function: _setImplementation
    args:
      0: 0x05ca5DdD8eD8Ca0Bdf908C3Ffc3978520E8B691c
    params:
      implementation: 0x05ca5DdD8eD8Ca0Bdf908C3Ffc3978520E8B691c
    value: 0
  27:
    contract: SortedOraclesProxy
    function: _setImplementation
    args:
      0: 0x98f72c70B49BeAE7cE9c3720d20D61E555FfbDb2
    params:
      implementation: 0x98f72c70B49BeAE7cE9c3720d20D61E555FfbDb2
    value: 0
  28:
    contract: StableTokenProxy
    function: _setImplementation
    args:
      0: 0xbcf2C16C2d7eed55b2732aedAf4C4c0F5f957Fe4
    params:
      implementation: 0xbcf2C16C2d7eed55b2732aedAf4C4c0F5f957Fe4
    value: 0
  29:
    contract: ValidatorsProxy
    function: _setImplementation
    args:
      0: 0x26519Afef00A42A863cd8844d91dC6BCec366589
    params:
      implementation: 0x26519Afef00A42A863cd8844d91dC6BCec366589
    value: 0
metadata:
  proposer: 0xfCf982bb4015852e706100B14E21f947a5Bb718E
  deposit:<PHONE_NUMBER>00000000000 (~100 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 30
  descriptionURL: https://github.com/celo-org/celo-proposals/blob/master/CGPs/0013.md
stage: Approval
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.317813188295
  agreement: 90%
isApproved: true
isProposalPassing: false
secondsUntilStages:
  referendum: 2256
  execution: 88656
  expiration: 693456

Baklava contract upgrade has been proposed
➜  protocol git:(master) ✗ celocli governance:show --proposalID 10

Running Checks:
   ✔  10 is an existing proposal
Outputting proposal JSON to upgrade_proposal.json
proposal:
  0:
    contract: AccountsProxy
    function: _setImplementation
    args:
      0: 0xf757feFA575bceA6Eba3fFB25723916F94858997
    params:
      implementation: 0xf757feFA575bceA6Eba3fFB25723916F94858997
    value: 0
  1:
    contract: AttestationsProxy
    function: _setImplementation
    args:
      0: 0x087bc230d256E5107C805c261817A1EF621C5046
    params:
      implementation: 0x087bc230d256E5107C805c261817A1EF621C5046
    value: 0
  2:
    contract: DoubleSigningSlasherProxy
    function: _setImplementation
    args:
      0: 0x8781541FAb84d7f83a670d057b5a75896947fE5d
    params:
      implementation: 0x8781541FAb84d7f83a670d057b5a75896947fE5d
    value: 0
  3:
    contract: Registry
    function: setAddressFor
    args:
      0: DowntimeSlasher
      1: 0xC743C9a58050a669ec4aff41D8A6C76f2264e206
    params:
      identifier: DowntimeSlasher
      addr: 0xC743C9a58050a669ec4aff41D8A6C76f2264e206
    value: 0
  4:
    contract: DowntimeSlasherProxy
    function: _setAndInitializeImplementation
    args:
      0: 0xf50E030d37D5d243b246D9cBe44Eff6144d8302A
      1: 0x4ec81af1000000000000000000000000000000000000000000000000000000000000ce100000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000021c0
    params:
      implementation: 0xf50E030d37D5d243b246D9cBe44Eff6144d8302A
      callbackData: 0x4ec81af1000000000000000000000000000000000000000000000000000000000000ce100000000000000000000000000000000000000000000000056bc75e2d631000000000000000000000000000000000000000000000000000008ac7230489e8000000000000000000000000000000000000000000000000000000000000000021c0
      initialize@0x4ec81af1:
        registryAddress: 0x000000000000000000000000000000000000ce10
        _penalty:<PHONE_NUMBER>00000000000
        _reward:<PHONE_NUMBER>0000000000
        _slashableDowntime: 8640
    value: 0
  5:
    contract: ElectionProxy
    function: _setImplementation
    args:
      0: 0xDEF73db69E5aaCcbC803ab89ef6b9a31CF5F4Ff0
    params:
      implementation: 0xDEF73db69E5aaCcbC803ab89ef6b9a31CF5F4Ff0
    value: 0
  6:
    contract: EpochRewardsProxy
    function: _setImplementation
    args:
      0: 0x274d63D315BfDd1A5c1409C1B1Ad1a88aeB07331
    params:
      implementation: 0x274d63D315BfDd1A5c1409C1B1Ad1a88aeB07331
    value: 0
  7:
    contract: EscrowProxy
    function: _setImplementation
    args:
      0: 0x372e54C597110Da170e96BF5baE3aABC367A9A18
    params:
      implementation: 0x372e54C597110Da170e96BF5baE3aABC367A9A18
    value: 0
  8:
    contract: ExchangeProxy
    function: _setImplementation
    args:
      0: 0x21b8dF5fBd0bcEf63Bef4f2cD22d4BCA4fFD3dEB
    params:
      implementation: 0x21b8dF5fBd0bcEf63Bef4f2cD22d4BCA4fFD3dEB
    value: 0
  9:
    contract: GasPriceMinimumProxy
    function: _setImplementation
    args:
      0: 0x011EC8fc4812daF3924A979A171C3Bb54D68B50c
    params:
      implementation: 0x011EC8fc4812daF3924A979A171C3Bb54D68B50c
    value: 0
  10:
    contract: GoldTokenProxy
    function: _setImplementation
    args:
      0: 0xa12d4bA7a4D5DAf29523eb87c519cb1dca6273F3
    params:
      implementation: 0xa12d4bA7a4D5DAf29523eb87c519cb1dca6273F3
    value: 0
  11:
    contract: GovernanceProxy
    function: _setImplementation
    args:
      0: 0xA92630F95a7Ec5EaFb791C93d60F4fa72EFa0e86
    params:
      implementation: 0xA92630F95a7Ec5EaFb791C93d60F4fa72EFa0e86
    value: 0
  12:
    contract: LockedGoldProxy
    function: _setImplementation
    args:
      0: 0x40cc4861e42a7867eC6d2De2800E9E1893fC3d07
    params:
      implementation: 0x40cc4861e42a7867eC6d2De2800E9E1893fC3d07
    value: 0
  13:
    contract: RandomProxy
    function: _setImplementation
    args:
      0: 0x876C992B4808E242E0113001FD51EA05790ed892
    params:
      implementation: 0x876C992B4808E242E0113001FD51EA05790ed892
    value: 0
  14:
    contract: ReserveProxy
    function: _setImplementation
    args:
      0: 0x330295A02E363e544c8C4ac8736A79Ba2DE382Bd
    params:
      implementation: 0x330295A02E363e544c8C4ac8736A79Ba2DE382Bd
    value: 0
  15:
    contract: SortedOraclesProxy
    function: _setImplementation
    args:
      0: 0xEFe7a08239Cd853383F4FD76e90616371096Efc7
    params:
      implementation: 0xEFe7a08239Cd853383F4FD76e90616371096Efc7
    value: 0
  16:
    contract: StableTokenProxy
    function: _setImplementation
    args:
      0: 0x4A1b48FC0ED957578EC697532b5c975fE94B6Ccf
    params:
      implementation: 0x4A1b48FC0ED957578EC697532b5c975fE94B6Ccf
    value: 0
  17:
    contract: ValidatorsProxy
    function: _setImplementation
    args:
      0: 0x3353c275FD5d37985cC5720C98E037f4dAE67301
    params:
      implementation: 0x3353c275FD5d37985cC5720C98E037f4dAE67301
    value: 0
metadata:
  proposer: 0x0Cc59Ed03B3e763c02d54D695FFE353055f1502D
  deposit:<PHONE_NUMBER>0000000000000 (~10000 10^18)
  timestamp:<PHONE_NUMBER>
  transactionCount: 18
  descriptionURL: https://github.com/celo-org/celo-proposals/blob/master/CGPs/0013.md
stage: Queued
upvotes: 0
votes:
  Yes: 0
  No: 0
  Abstain: 0
passing: false
requirements:
  participation: 0.317813188295
  agreement: 90%
isApproved: false
isProposalPassing: false
secondsUntilStages:
  referendum: 14357
  execution: 100757
  expiration: 705557

Alfajores has been upgraded 🎉

Mainnet has been executed! https://github.com/celo-org/celo-proposals/pull/85


updating default values for configuration values needed.

Describe what this PR does and why we need it:
This will set default values during the local run if they are not set in my vars.

fixes #424


Where is the database?

I can't find the sql file to create the proper tables so this awesome plugin can work.
Regards!

thanks a lot !


Implement a second more generic golink rule that can copy output from arbitrary rules

This is useful for tools like gomock which generate files but don't define go_generated_srcs as well as various other
This moves a portion of the proto rules and the shell script into as well, as they were the same between both functions I decided to reuse them.
I tested this on Embark's internal monorepo that runs bazel and things seem to run well!

Makes sense. Thank you @luna-duclos


General Grievance: Watch juwa777casino.net

General Grievance requests the watch of the watch_keyword juwa777casino\.net. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

juwa777casino\.net has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Schema.org bug

I have modified RDFWriter configuration for JSON which now generates compact jsonld and this compact jsonld fixes some schema.org bugs. I also removed some rdf statements according to the structure testing tool validation report.

Coverage increased (+10.4%) to 96.788% when pulling ae22b448393914c1080c831530877cfc3b582ae0 on rajaram5:develop into e8f06d2e9835687f639592ea975ba29ad538dcac on DTL-FAIRData:develop.

Coverage increased (+9.9%) to 96.379% when pulling 3755c02e405dd7e9b3ff8ef33d32cd2685dd17d3 on rajaram5:develop into e8f06d2e9835687f639592ea975ba29ad538dcac on DTL-FAIRData:develop.

Coverage increased (+9.9%) to 96.385% when pulling 670063d4a53ed7de6a4293f825db4482e5420543 on rajaram5:develop into e8f06d2e9835687f639592ea975ba29ad538dcac on DTL-FAIRData:develop.

Coverage increased (+9.9%) to 96.382% when pulling d1a5e3bdeeace9b5c2e880d0a574d9a06ece7558 on rajaram5:develop into e8f06d2e9835687f639592ea975ba29ad538dcac on DTL-FAIRData:develop.

Coverage increased (+9.9%) to 96.382% when pulling fa430fc633d1bf3dfa2da6079c5168f1951d4d60 on rajaram5:develop into e8f06d2e9835687f639592ea975ba29ad538dcac on DTL-FAIRData:develop.