[Bug]: server isn't verifying page unique names

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior

Steps To Reproduce
Open the same application in two tabs, click add page in both the tabs, refresh
Environment
Production
Version
Cloud

Duplicate of #14286


Hide tooltips behind panels

Before

After

Fixes https://github.com/AtomLinter/linter-ui-default/issues/51
Related https://github.com/atom/one-dark-ui/pull/127
Related https://github.com/atom/one-light-ui/pull/54

See https://github.com/atom/one-dark-ui/pull/127#issuecomment-198509440.

Closed in favor of https://github.com/atom/atom/issues/11249


Merge main branch from dev-branch

Hi Team
We have successful done the testing of IBM IAF operator and update code push into dev-branch.
Now we need to move our updated code from dev-branch to main. Can you please help us.

Duplicate


Model weight acquisition request

Can model weights be open sourced? Or where can I find it?

https://huggingface.co/AI4Protein/Prime_690M

It has already been downloaded many times.

Thank you so much.


Remove "edX" string from localizable.strings

Removing edX from localizable strings.
Replacing edX with platform name if it is being used from json files like registration.json and profiles.json when view is populating
Jira: https://openedx.atlassian.net/browse/MA-2472

@BenjiLee @danialzahid94 Please review.

Current coverage is 43.75% (diff: 28.57%)

Merging #778 into master will decrease coverage by <.01%

@@             master       #778   diff @@
==========================================
  Files           353        353
  Lines         25190      25199     +9
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits          11023      11026     +3
- Misses        14167      14173     +6
  Partials          0          0

Powered by Codecov. Last update fcda8c5...4322e61

👍

@saeedbashir decrease in coverage?

@verdanmahmood decrease in coverage is < 0.01%. It is not possible to test every line of code on client side.

👍 Other than the one suggestion.


get_url_host

Should this be closed? this macro is here: https://github.com/fishtown-analytics/dbt-utils/blob/dev/0.7.0/macros/web/get_url_host.sql


runnerID and runnerGroupID are int64, not string

When running this before the change, results that included runnerID or runnerGroupID could not be parsed. This PR changes the type for both from string -> int64

Thank you, @sfunkhouser - can you find any official GitHub docs that show these values as integers? I'm curious because I thought the original implementation came from an example where they were strings... but now I'm having troubles finding the examples.
Also, if you could please fix the CLA and the unit tests, we can move forward with this PR.

Looking for the docs, I've only found the runner docs, which reference them as integers<EMAIL_ADDRESS>and when I ran through the audit logs I got an unmarshal error but let me see if I can find some more concrete documentation on this. I'll follow-up tomorrow.


Fine-Tuning Zero123++ pre-defined range of query image.

Hi, I try to finetune Zero123++ and in your paper you use a pre-defined range for the query image:

"The azimuth, elevation and camera distance of the query image is randomly sampled from a pre-defined range."

Can you explain in more detail what range you used for this?

@SBlumenstock1 Hello, have you used the dataset for training, please take a look at the configuration file of your dataset

@SBlumenstock1 Sorry for the late reply. azimuth range: [0, 360], elevation range: [-20, 45], camera distance range: [2.5, 5.0]


Architecture revamp

This is where all the OTP goodness comes in.
So far the connection process has been rewritten to a GenServer and it works.
What's still left to do:

[x] Hook up the hook manager with the updated connection server. Hooks are no longer stored in the connection process but in a dedicated HookManager process. The connection should probably emit incoming messages as GenEvent events.

[x] The hook manager listens on events and processes them by invoking each hook in a separate Task. This approach leads to isolation of all of the system's components from each other so that one thing crashing doesn't have any adverse effects on the rest of the system.

I have tested hooks from beamie_bot with this version of chatty and everything seems to work.

Okay :) I'll try it out with Alher and will send you feedback about what might go wrong.

So, do you plan something else before merging it with master? :)

@Annwenn Yes, there are some TODO notes left in the code I'd like to address. Also need to update the docs.
Do you think you could help me with a test suite? I'm thinking some basic regression tests that check the hook API works on a mock connection. First I need to expose the ability to substitute the connection module. Then the tests can use the real hook manager and test that hooks are invoked when expected, that crash inside a hook doesn't affect other processes, etc.

@alco Oh, I know for a fact that Chatty is resilient enough now.
Of course I'd be glad to help :)

@alco Okay I can testify that we must set the timeout to at least 10 seconds for the hooks :)

@Annwenn Hey. How does the 10-second delay in hook processing work out for you in terms of user experience? I would normally think the thing is broken if it didn't get back to me in a few seconds.

Merging this to master. Will handle the remaining TODOs separately.

:+1:

@Annwenn Hey. How does the 10-second delay in hook processing work out for you in terms of user experience? I would normally think the thing is broken if it didn't get back to me in a few seconds.

Well, some websites send large data that take some time to process. Parsing large JSON files or doing multiple http requests can take up to 6-7 seconds.


Update index.md in Unit Testing - english

Added further description on unit testing

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Looks good to me, and congratulations on your first Pull Request!  🎉🎉🎉
We look forward to future contributions!

Thanks for contributing to freeCodeCamp @JaredEzz!


B-20617: SC TOO Creating Mobile Home Shipment and Shipment Card Display

Note: this is required due to updating of test coverage
Previous PR (INT)
13826
Agility ticket B-20617
Testing Steps

You can start with just a user, a move with no shipment, or a move with a shipment. Using information from either the user, move, or shipment, search as a SC.
If you have opened a user finish setting up the move and click the "Add a new shipment" dropdown and select "Mobile Home" as the type of shipment to add.
Fill out information for the Mobile Home and once done you should see a shipment card with all the relevant details.
Now log in as a TOO and search for the Move/Shipment. Once you have opened the Move to see the shipments, you should be able to edit the Mobile Home Shipment.

Warnings

:warning:

Files located in legacy directories (src/shared or src/scenes) have
been edited. Are you sure you don’t want to also relocate them to the new file structure?
View the frontend file org ADR for more information

  Generated by :no_entry_sign: dangerJS against c3cfaf1c9a3b97137683b1d85daeabe79fa1bfb6

Test coverage on server failed.
Last run: Thu 10 Oct 2024 04:12:44 PM UTC
Refer to this report to see coverage details for the server app.
Documentation for test coverage can be found at this link.

Test coverage on server failed.
Last run: Thu 17 Oct 2024 08:02:11 PM UTC
Refer to this report to see coverage details for the server app.
Documentation for test coverage can be found at this link.


[Bug][Squid4] Cannot write log file cache.log

resolved in https://github.com/egirna/squid/pull/4/commits/70e9d70187c769330a6e1b1ca5e5a76633673131


Network Manager - Unable to add a network group to a connectivity configuration

Describe the bug
I'm trying to add a network group to an existing connectivity configuration
command:
Related command
az network manager connect-config update
Errors
The command failed with an unexpected error. Here is the traceback:
('Unable to build a model: ('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, \'{\\\\\', \'groupConnectivity\\\\: \\\\DirectlyConnected\\\\,\'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: \'str\' object has no attribute \'get\'", AttributeError("\'str\' object has no attribute \'get\'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))), DeserializationError: ('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, \'{\\\\\', \'groupConnectivity\\\\: \\\\DirectlyConnected\\\\,\'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: \'str\' object has no attribute \'get\'", AttributeError("\'str\' object has no attribute \'get\'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'")))', DeserializationError('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, '{\\', 'groupConnectivity\\: \\DirectlyConnected\\,'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))))
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1436, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1201, in rest_key_case_insensitive_extractor
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1230, in attribute_key_case_insensitive_extractor
AttributeError: 'str' object has no attribute 'get'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1626, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in deserialize_iter
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1639, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1454, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1436, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1201, in rest_key_case_insensitive_extractor
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1230, in attribute_key_case_insensitive_extractor
azure.core.exceptions.DeserializationError: ("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 622, in body
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1406, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1415, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1637, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1626, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in deserialize_iter
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1639, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1454, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1436, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1201, in rest_key_case_insensitive_extractor
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1230, in attribute_key_case_insensitive_extractor
azure.core.exceptions.DeserializationError: ('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, '{\\', 'groupConnectivity\\: \\DirectlyConnected\\,'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'")))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 233, in invoke
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 663, in execute
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 726, in _run_jobs_serially
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 697, in _run_job
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 333, in call
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 242, in handler
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 452, in cached_put
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/init.py", line 446, in _put_operation
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/core/tracing/decorator.py", line 78, in wrapper_use_tracer
File "C:\Users.azure\cliextensions\virtual-network-manager\azext_network_manager\vendored_sdks\operations_operations.py", line 46757, in create_or_update
_json = self._serialize.body(connectivity_configuration, 'ConnectivityConfiguration')
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 624, in body
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 622, in body
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1406, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1415, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1637, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1626, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in deserialize_iter
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1657, in
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1639, in deserialize_data
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1454, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/exceptions.py", line 51, in raise_with_traceback
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1436, in _deserialize
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1201, in rest_key_case_insensitive_extractor
File "D:\a_work\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msrest/serialization.py", line 1230, in attribute_key_case_insensitive_extractor
azure.core.exceptions.SerializationError: ('Unable to build a model: ('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, \'{\\\\\', \'groupConnectivity\\\\: \\\\DirectlyConnected\\\\,\'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: \'str\' object has no attribute \'get\'", AttributeError("\'str\' object has no attribute \'get\'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))), DeserializationError: ('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, \'{\\\\\', \'groupConnectivity\\\\: \\\\DirectlyConnected\\\\,\'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: \'str\' object has no attribute \'get\'", AttributeError("\'str\' object has no attribute \'get\'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'")))', DeserializationError('Unable to deserialize response data. Data: [<azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08520>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E08388>, <azext_network_manager.vendored_sdks.models._models_py3.ConnectivityGroupItem object at 0x05E087F0>, '{\\', 'groupConnectivity\\: \\DirectlyConnected\\,'], [ConnectivityGroupItem], DeserializationError: ("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))', DeserializationError("Unable to deserialize to object: type, AttributeError: 'str' object has no attribute 'get'", AttributeError("'str' object has no attribute 'get'"))))
Issue script & Debug output
az network manager connect-config update -g xxxxx --configuration-name yyyyy --name zzzzz --add appliesToGroups "{"groupConnectivity": "DirectlyConnected", "isGlobal": "False", "networkGroupId": "/subscriptions/xxxxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.Network/networkManagers/zzzzzzz/networkGroups/somenetworkgroup", "useHubGateway": "True"}" --debug
debug.txt
Expected behavior
the network group should be added to the connectivity configuration
Environment Summary
azure-cli                         2.49.0
core                              2.49.0
telemetry                          1.0.8
Extensions:
virtual-network-manager               0.6.0
Dependencies:
msal                              1.20.0
azure-mgmt-resource               22.0.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Extensions directory 'C:\Users\username.azure\cliextensions'
Python (Windows) 3.10.10 (tags/v3.10.10:aad5f6a, Feb  7 2023, 17:05:00) [MSC v.1929 32 bit (Intel)]
Legal docs and information: aka.ms/AzureCliLegal
Additional context
No response

Please replace parameter --add with parameter --applies-to-groups and try again. For example: az network manager connect-config update --applies-to-groups  network-group-id="/subscriptions/xxxxxxxxx/resourceGroups/xxxxxxx/providers/Microsoft.Network/networkManagers/zzzzzzz/networkGroups/somenetworkgroup" use-hub-gateway="True" is-global=False group-connectivity=DirectlyConnected

Hello Zeng,
The update command just replace an existing configuration, I need to add a new definition block under the applies-to-groups object.
To make it more clear, to add a new network group in an existing configuration, without losing it.
cf. attached file for result
debug.txt

Hi ph-hector, update cannot add a new applies-to-group, only modify it.


[ui2] Hitting enter in Sequence parameters dialog does not create Sequence

To reproduce:

Open Numberscope and go to the scope
Click on "Constant Sequence" or really any other sequence as well
Enter a constant value
When entry is complete, hit enter

Expected behavior: The sequence is created and fills in the sequence slot in the bundle being defined.
Actual behavior: The dialog closes with no effect.

(Note this same buggy behavior exists both in main and update_codebase_3.)

So closing.


DBeaver FR: Disable Auto SQL Assistant/Completion for table aliases

DBeaver - Version 6.3.4 CE
DBeaver driver: MS SQL Server  / Microsoft Driver (the new Microsoft Driver)
Operating System: Windows 7 / Windows 8.1 / Windows 10
Database Server: Microsoft SQL Express 2014, 2016, 2017
The automatic SQL Assistant/Completion annoyingly suggest table names for table aliases, this should not be done.
1) Start to write "SELECT * FROM MyTable MT"
2) If you now stop typing (with our DBeaver configuration there is a 500ms delay),
    the automatic SQL Assistant pops up and suggest  table names that start with "MT".
The automatic SQL Assistant should stop to suggest database tables when I start to write table aliases.

Thank you for your suggestion.

Fixed

verified


Async http client

Things to discuss:

naming of retry_status_codes x status_forcelist
retries x max_retries
tests coverage
any missing functions?
are more examples needed?
fix httpx version or not?
currently, the backoff time is calculated like backoff = self.backoff_factor ** retry_attempt and I do not know if that is sufficient.

I do not know if I need to change anything in .github/workflows.
@davidesner @bakobako

Currently all requests urls are logged into console. This is not intended functionality and I will have to find a way to disable that.


improvements to zbuf.Batch and zng.Record memory

zbuf.Batch was designed a long time ago with the original goal of hiding in-place recording filtering behind an interface.  Since the code no longer works that way, we've been stuck with a suboptimal abstraction: arrays for *zng.Record pointers get created suboptimally and there is confusing memory-management across zbuf.Batch.Unref() and zng.Record.Keep().
The proposal here is to use reference-counted slices of []zng.Record which have records that point into reference-counted buffer slabs of zng Raw data (i.e., what a zng scanner decompresses into memory or what a zbuf.Batch implementation efficiently construct for entities like groupby that generats  lots of new records to be consumed downstream).
In this approach, zbuf.Batch becomes the interface to the slice of records and hidden behind that would be an implementation that manages and refcounts the slabs.
New zbuf.Batch
The current batch interface is:
type Batch interface {
	Ref()
	Unref()
	Index(int) *zng.Record
	Length() int
	Records() []*zng.Record
}

The proposed interface is:
type Batch interface {
    Ref()
    Unref()
    Records() []zng.Record
}

Like old Batch, the semantics are that the record slice and the body of each record in the slice are immutable.  Under the covers, an implementation would typically manage and refcnt both the []zng.Record slices as well as the slabs of data that the records in the record slices point to.
Here indexing the slice of records can be done directly so there is no need for Batch.Index() and Batch.Length().
Example wrapper  implementation
Also, an implementation of batch could be stacked. This would be useful for filtering, e.g., where records aren't change just subsets of the slices are selected.  The outer batch could keep a reference on the inner batch but manage its own pool of record slices.  When the outer batch refcnt hits 0, it calls unref on the underlying batch.  And it's use is something like this in proc filter:
func (f *Proc) Pull() (zbuf.Batch, error) {
	for {
		batch, err := f.parent.Pull()
		if proc.EOS(batch, err) {
			return nil, err
		}
		// Create a new batch containing matching records.
		out := zbuf.NewWrapper(batch)
		for _, rec := range batch.Records() {
			if f.Filter(rec) {
				out.Append(rec)
			}
		}
		return out, nil
	}
}

compare to the old code:
func (f *Proc) Pull() (zbuf.Batch, error) {
	for {
		batch, err := f.parent.Pull()
		if proc.EOS(batch, err) {
			return nil, err
		}
		// Create a new batch containing matching records.
		out := make([]*zng.Record, 0, batch.Length())
		for k := 0; k < batch.Length(); k++ {
			r := batch.Index(k)
			if f.Filter(r) {
				out = append(out, r.Keep())
			}
		}
		batch.Unref()
		if len(out) > 0 {
			return zbuf.Array(out), nil
		}
	}
}

Leaner zng.Records
To go along with the new Batch intercace, records no longer need to be marked volatile and copied with Keep().  So the new zng.Record would be:
type Record struct {
	Type        *TypeRecord
	Bytes     zcode.Bytes
	ts      nano.Ts
}

compared to the existing...
type Record struct {
	Type        *TypeRecord
	nonvolatile bool
	Raw     zcode.Bytes
	ts      nano.Ts
	tsValid bool
}

I propose here to remove tsValid and use the trick Noah mentioned where if ts is zero, you look it up.  Since this should rarely happen in a context where ts is used, better to save the memory here on a memory-intensive data structure than worry about perf in this corner case.  nonvolatile will no longer be needed because batch referencing will take care of ownership of the underlying raw slice data.
For entities like sort and groupby, which sort arrays of records, they currently use pointers and the slices of pointers aren't shared so they can destructively change the underlying slice.  In these cases, they already allocate new records and follow the Keep() protocol. Here, sort could collect the batches into an aggregate wrapper that builds an aggregate []zng.Record slice owned only by slice, then sort could sort that slice and send it down stream, and when it is unref'd, all of its consituent batches get unref'd.
To get this working all incrementally, we can leave much existing as is and do thing like convert a []*zng.Record to an object  holding a new []zng.Record that doesn't do anything and relies on GC, e.g.,
type NopBatch []zng.Record

func (_ NopBatch) Ref() {}
func (_ NopBatch) Unref() {}
func (n NopBatch) Records() []zng.Record() {
  return n
}

There was some discussion about changing zbuf.Reader and using batches instead of *zng.Record.  Maybe we keep zbuf.Reader and zbuf.Writer as is and change places that are using zbuf.Reader to zbuf.Puller.  We could also create zbuf.Pusher which is the analog of zbuf.Writer but for batches.

Here's another idea to throw in the mix here.  @henridf had suggested using []zng.Value instead of []zng.Record for batch.  This could make a lot of sense.  You would lose the ts cache, but I have a twist for this.
The twist involves combine this with another idea to solve the zcode.Bytes copy problem.  Whenever there is a put or cut, an entire new zcode.Bytes is newly create and old bytes copied to the new buffer.  For smalliish buffer, this is fine, but for larger buffers arising from wide-column data, this could be a real bottleneck.  The idea is to have something more flexible than a single slice-of-bytes Bytes field of zng.Value.
mbuf-chain style zng.Values
Back in the day, the kernel solved its scatter gather buffering problem with a data structure called the mbuf.  Conceptually, it was a linked list of data buffers.   It was a complicated C union, but was essentially this:
struct mbuf {
    struct mbuf *m_next
    int m_len
    unsigned char *data
}

Can we leverage this simple and universal idea of linked-list scatter-gather buffers in znv.Value?
mbuf zng.Values take one
We want a data structure that represents a contenation of zcode.Bytes.  To simplify things, we will presume the boundaries of the concatenated buffers fall on field boundaries of the top-level record.  That said, we break up large arrays or sets within that;'s a field within a record, but let's have the simple discussion first. (This is important as certain aggregations like collect and union have to make a new value on every insert and this has N^2-ish performance.)
The obvious first approach might look this like this:
type zng.MbufValue {
    Type zng.Type
    Body []zcode.Bytes
}

(I will use the name zng.MbufValue here, but obviously we will choose something better.)
The problem with this pattern is it creates another layer of slices to manage presumably with pools and refcnts.
How can we avoid this while maintaining the chaining pattern?  Well, if we maintain the two-level pool model (underlying bytes buffers and layer of record slices), how can we extend the record layer with chaining? Since all of the records come from the same master slice, we make the "next" pointer in the link simply be an integer index of the next buffer in the slice and for nodes that aren't at the head of the list, the Type pointer can just be nil.  This looks like this:
type zng.MbufValue {
    Type zng.Type
    Bytes zcode.Bytes
    next uint32
}

We can make anItertype to easily traverse this just zcode.Iter.  To make the iterator more efficient, we can cleverly add the number of top-level fields that are in each Bytes buffer...
type zng.MbufValue {
    Type zng.Type
    Bytes zcode.Bytes
    next uint32
    nvals uint32
}

If we design the methods on this type well, it could be that the code in put, cut, drop etc might be no more complicated than it already is, perhaps simpler.
Now, what about the ts field?  How about instead of nano.Ts, we create a generic 64-bit value cache that can be set to anything by convention (e.g., sorting logic knows the primary key and if it's a 64-bit scaler, it can be stored in this field).  WIth this, we have
type zng.MbufValue {
    Type zng.Type
    Bytes zcode.Bytes
    Cache uint64
    next uint32
    nvals uint32
}

Ok, what about nested values that need to be grown (like append to an array).  To do this, let's just add one more field called "child" that is the child index of the MbufValue that is the mbuf for that one field (child can be -1 is this doesn't code a child field) and nvals would be 1 (representing that this is one nested top-level field).
type zng.MbufValue {
    Type zng.Type
    Bytes zcode.Bytes
    Cache uint64
    next uint32
    nvals uint32
    child uint32
}

(And actually now, nvals and child are redundant and can be coded more efficiently, but we will leave that detail out here.)
That's it.  Batches would be slices of MbufValues that all come from the same pool and the two-layer reference counting system described above would work for this more complicated machinery just as well.  And in the very common case where there is one MbufValue per zng.Value, very little overhead would be added to processing and the savings in memory copies in general would be immense.
I will suggest an optimization of the MbufValue layout in a subsequent comment...

For a more efficient mbuf, not that child, nvals, and next call easily fit in 64 bits, one bit for a child flag, then if false, nvals and next encode as usual and for true, nvals=1, and child and next can be easily coded in <=63 bits.

Note that if the Cache field is mainly useful for sorts and if we figure out that sorting is more efficiently done by allocating a slab of pointer each time we know we need to sort a fixed size of MbufValues, then the Sort pointers could look like this:
type zng.MbufPointer {
    Mbuf *zng.MbufValue
    Cache uint64
}

and MbufValue can be simplified to
type zng.MbufValue {
    Type zng.Type
    Bytes zcode.Bytes
    nextInfo uint64
}

The problem with this pattern is it creates another layer of slices to manage presumably with pools and refcnts.

How can we avoid this while maintaining the chaining pattern? Well, if we maintain the two-level pool model (underlying bytes buffers and layer of record slices), how can we extend the record layer with chaining? Since all of the records come from the same master slice, we make the "next" pointer in the link simply be an integer index of the next buffer in the slice and for nodes that aren't at the head of the list, the Type pointer can just be nil.

I don't think I understand how this changes things. Are you proposing the that record slices layer []*zng.Record becomes a slice of []zng.MbufValue and that the values here will represent both the outer Records (or Values) in a Batch as well as the Values of a container?

type zng.ValuePlus struct {
    zng.Value
}

type zbuf.Batch interface {
    Values() []zng.ValuePlus
    Unref()
}


Improve code coverage in luis-apis

Proposed Changes

Add .js extension to ./bin/luis file. This file was not being indexed for code coverage metrics. nyc requires that all files have an extension (link).
Add new tests related to cover other paths in luis-apis cli.
Delete unused files.

files in bin should probably not have extensions.

Pull Request Test Coverage Report for Build 422

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.5%) to 68.877%

Totals

Change from base Build 420:
-6.5%

Covered Lines:
2847

Relevant Lines:
3941

💛  - Coveralls

bin files can most definitely be .js and in fact this seems quite normal.  npm and gulp and many cli's all put .js files into the bin folder.  It's even on the sample page for the npm bin documentation that way.  Are there are objections you have to this delta?

@juanar, looks like the build is failing here as well.

PR #353 should fix the issues with this PR


Added DefaultRazorIndentationFactsService unit tests.

Already had a good variety of integration tests so refactored the service to properly unit test each piece.
Found several pieces of unneeded code (wasn't being used) so removed it.
Removed the LocateOwner logic that was embedded in the service. We already have an equivalent locate owner on our SyntaxTreeNode items.

#1698

If you haven't done it already, make sure to manually verify issues like #1461 doesn't happen again.

Verified


Replace ReferenceDirectory class with static constructor

Is your feature request related to a problem? Please describe.
As a follow up to #3805, the ReferenceDirectory class should be replaced with a static named constructor
Describe the solution you'd like
Replacement of the ReferenceDirectory class with a named constructor in the ReferenceFile class

I can look into this.


fix: call GatherEnvironmentInfo once in NodeAddToClusterMulti to avoid race condition causing error

fixes #1410
When multiple nodes are created, each call to NodeAddToCluster was calling GatherEnvironmentInfo, which was calling EnsureToolsNode() and then deleting the tools node. This causes some type of race condition. The work doesn't need to be done multiple times anyways, so just move it up to NodeAddToClusterMulti and do it once, before kicking off the goroutines.
(Also see #924 and #952 for previous similar issue)

LGTM!
Thank you @ligfx !


Possible to send out reminder emails to instructors that will be teaching?

I just noticed in the Steering Committee minutes a suggestion that AMY might be able to send out reminder emails to instructors who will be teaching, to avoid calendar mishaps. In that connection I was wondering if we could create/attach an ics file to the email? In that case, we could also skip the "entering wrong data" mishap.

@karinlag so just to be clear: you're suggesting that we send out ICS with workshop's dates marked as some event? So that instructors can easily add the event to their calendars?
ref. #51.

On 10/5/2015 12:09 PM, Piotr Banaszkiewicz wrote:

@karinlag https://github.com/karinlag so just to be clear: you're
suggesting that we send out ICS with workshop's dates marked as some
event? So that instructors can easily add the event to their calendars?

Yes, exactly. That way we can help people not write the wrong date in
their calendars. I am however uncertain whether this one should be sent
out right after the workshop has been created, or at a set time before
the workshop (like for instance a month before).
Karin

I'm not sure about this.
I'm in regular contact with instructors & hosts in the weeks leading up to a workshop and I worry this will be just one more email that clutters people's inboxes.
We had just one case of an instructor who didn't show up because of a date mixup (right when I started so I wasn't involved in the planning of this at all).  The host & I both emailed her several times over a week or so and she never responded to those emails so I don't think an automated calendar reminder would have helped.  Someone who doesn't look at numerous personal emails is unlikely to look at an automated email.
I've only been doing this for a couple of months... has this been a bigger problem?

On 06/10/15 16:30, maneesha sane wrote:

I'm not sure about this.
I'm in regular contact with instructors & hosts in the weeks leading up
to a workshop and I worry this will be just one more email that clutters
people's inboxes.
We had just one case of an instructor who didn't show up because of a
date mixup (right when I started so I wasn't involved in the planning of
this at all). The host & I both emailed her several times over a week or
so and she never responded to those emails so I don't think an automated
calendar reminder would have helped. Someone who doesn't look at
numerous personal emails is unlikely to look at an automated email.
I've only been doing this for a couple of months... has this been a
bigger problem?

Not a big problem no, but I know that for myself, I sometimes worry if I
actually get things in on the correct date (but that might just be me).
How about an in between thing: we send out a "registration" kind of
email, once we have an instructor for a workshop, with an attached ics
that contains the dates and the address? In that case it would work more
as a courtesy thing, as well as us ensuring that we and the instructors
have the correct info.
Karin

Instead of sending reminders to instructors, how about we send reminders to execdir@ or some other small list for a couple of months and see how we feel?

I always meant to send "good luck!" and "how did it go?" messages to instructors before and after, but forgot.
It'll help us shake out bugs in email sending.

I've just started sending personal "Are you ready? Good luck" emails a few days before the workshop.
For a while now I've been sending personal "How'd it go?" emails a few days after the workshop.
We could automate this but there are often details I'll share or ask about that are custom to each workshop.

On 09/10/15 18:53, maneesha sane wrote:

I've just started sending personal "Are you ready? Good luck" emails a
few days before the workshop.
For a while now I've been sending personal "How'd it go?" emails a few
days after the workshop.
We could automate this but there are often details I'll share or ask
about that are custom to each workshop.

While I I love the personal touch, the neurotic in me would love to know
that somebody else(TM) has already or will send me a reminder that I can
put directly into the calendar, so that I will not be the reason for
the screw up if and when :)
Karin

We can automate sending "Event's calendar" emails, and leave all personal emails to Executive Directors and/or Maneesha.

@maneesha @karinlag @jduckles @gvwilson anyone can use their deciding voice and tell me who should be emailed about what and when? I'll appreciate it a lot :-)
Another thought just stroke me: we could perhaps use #483 for https://github.com/swcarpentry/amy/issues/516#issuecomment-146929035 (e.g. admin comes to event's details page and sees they should send "Good luck" email today).

On 14.10.2015 21:28, Piotr Banaszkiewicz wrote:

@maneesha https://github.com/maneesha @karinlag
https://github.com/karinlag @jduckles https://github.com/jduckles
@gvwilson https://github.com/gvwilson anyone can use their deciding
voice and tell me who should be emailed about what and when? I'll
appreciate it a lot :-)

I nominate @jduckles and @gvwilson as the ultimate decision makers here.
K

Not me! @jduckles and @maneesha

@maneesha up to you on this one. You're in the thick of how this actually would work/not work.

I wasn't sure about having automated emails go out because I know I would ignore something that looked like an automated email - I think a lot of other people would, too.  However, I do send basically the same "Are you ready?" and "How'd it go?" emails to hosts/organizers/instructors before & after the workshop.  I have fill-in-the-blank templates that I use.
How about this... now that we have admins assigned to specific workshops can we have  emails that go out that look like they're coming from me (or that workshop's assigned admin)? I'll share the fill-in-the-blank template that I use for each.

On 12/5/2015 10:14 PM, maneesha sane wrote:

I wasn't sure about having automated emails go out because I know I
would ignore something that looked like an automated email - I think a
lot of other people would, too. However, I do send basically the same
"Are you ready?" and "How'd it go?" emails to
hosts/organizers/instructors before & after the workshop. I have
fill-in-the-blank templates that I use.
How about this... now that we have admins assigned to specific workshops
can we have emails that go out that look like they're coming from me (or
that workshop's assigned admin)? I'll share the fill-in-the-blank
template that I use for each.

+1 from me.
K

@maneesha I'm not sure if we can send emails on someone else's behalf – I mean: can we send emails from our server and use "From<EMAIL_ADDRESS>header to indicate that it was Giacomo who sent that email? If I was the recipient's server, I'd put that to spam.
@wking do you have any experience with such stuff?

As long as the reply-to is @software-carpentry.org we can send the messages through the mail.software-carpentry.org SMTP server I'd think.

See #795.


PayPalPaymentsForm action url

Hello, after updation of POSTBACK_ENDPOINT/SANDBOX_POSTBACK_ENDPOINT urls to ipnpb.paypal.com/ipnpb.sandbox.paypal.com instead of www.paypal.com/www.sandbox.paypal.com (commit ) PayPalPaymentsForm is rendered with these as action url so instead of bieng redirected to Paypal login we get "encrypted_cross_dispatch=<some_long_hash>" as a response. I changed form action url back to www and that solved the issue, as suggested here. Maybe separated setting for action url can be added along POSTBACK_ENDPOINTs ? Im still using only sandbox account

Thanks for the report. It looks like we need a separate URL for this, as you suggest.


Gradle builds don't detect 32 bit only devices

I noticed when trying to perform a default gradle build on an arm device, which is 32 bit only, it would not compile correctly. The x64 portion of the build would sometimes complete and sometimes just hang for hours, and the x86 build automatically failed, because arm GCC does not have the -m32 flag. I don't have a 32 bit desktop system to test this on, but it would probably have the same issue. I don't know if gradle has an easy way to detect a 32 bit only system, and remove the -m32 flag. I was able to get an always compiling local arm build by running ./gradlew :arm:build -PcompilerPrefix=, but thats not a valid hack for normal use.

Check the toolchains/ folder. You can add/remove flags there, I think it should be pretty obvious how to add and remove flags. I don't have a 32-bit only system to test with myself, but the arm.gradle setup should be removing the -m32 flag already, which is why it works.

I'm not worried about building for me, as the :arm:build with the empty compiler prefix works just fine for me, was just worried about other people if they attempted to build it. There have been a lot of people trying to get NetworkTables working on offboard devices for camera tracking this year, and I know that other people are going to run into the same issue and not know how to work around it.

Fixed by #210.


Storybook Nginx configuration for production deployment

This updates the React component library's Storybook app Nginx configuration to handle routing according to these rules:

Requests to / will be redirected to the B.C. Design System landing page on gov.bc.ca

Ex: A GET request to https://<design-system-subdomain>.gov.bc.ca will go to BCDS page

Requests to any valid address starting with /react-components/ will get served the Storybook app, which handles its own routing client-side after the first page load

Ex: A GET request to https://<design-system-subdomain>.gov.bc.ca/react-components/ will go to Storybook
Ex: https://<design-system-subdomain>.gov.bc.ca/react-components/?path=/docs/components-button-button--docs goes to Storybook's Button documentation page

Requests to /react-components will be redirected to /react-components/ (trailing slash)
Requests that would result in 404 errors are redirected to the BCDS page

Keeping this Nginx configuration where it is makes sense for now, but it might need a re-think if we start serving multiple apps from one subdomain at different paths. In that case, it might make more sense to move the Nginx configuration to somewhere else in this repo, outside of packages/react-components.

We have provisioned designsystem.gov.bc.ca as the subdomain that Storybook will be served from.
I have created a Route object in OpenShift pointing that domain to our production deployment's Service object.
The Storybook site is currently being served from https://designsystem.gov.bc.ca/, and after this PR gets merged, that will change to https://designsystem.gov.bc.ca/react-components/.


Explicitly set encoding when calling open

The long dashes in README.rst raise a UnicodeDecodeError when building the project on Python 3.5.2. Unfortunately python 3.5.2 is the default python 3 version in Ubuntu 16.04 LTS.
root@ba3058541282:/src/syncrepl# pip3 wheel .
Processing /src/syncrepl
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-1v94ry17-build/setup.py", line 103, in <module>
        long_description = readme(),
      File "/tmp/pip-1v94ry17-build/setup.py", line 95, in readme
        return file.read()
      File "/usr/lib/python3.5/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1706: ordinal not in range(128)

Specifying the encoding when opening the file fixes the issue
def readme():
    with open('README.rst', encoding='utf8') as file:
        return file.read()

Hello!
I've got an Ubuntu 16.04 system, and I'm not able to reproduce the issue as you described it.  See the following asciicast:
https://asciinema.org/a/DG8xAbfQt0kVs99TyHEiOapZG
I wonder, what output do you get from the locale command?  If your locale is set to something like C or US-ASCII, then that would explain the error you're getting.

Looks like two files need to be changed: setup.py calls open in two locations; docs/conf.py calls open once.  Both should have encodings hard-coded.

Hello @akkornel,
I build all of my python projects using docker. The image in question is based on the official docker xenial one with a few python libraries added. Good call on checking locale, that isn't something I've set in the past.
docker run -it --rm  multipart/python3-dev
root@7a68891575fd:/# locale
LANG=
LANGUAGE=
LC_CTYPE="POSIX"
LC_NUMERIC="POSIX"
LC_TIME="POSIX"
LC_COLLATE="POSIX"
LC_MONETARY="POSIX"
LC_MESSAGES="POSIX"
LC_PAPER="POSIX"
LC_NAME="POSIX"
LC_ADDRESS="POSIX"
LC_TELEPHONE="POSIX"
LC_MEASUREMENT="POSIX"
LC_IDENTIFICATION="POSIX"
LC_ALL=

A quick google search reveals I'm not the first person to be bit by this type of issue!


feat(wash-cli): wash up --wadm-manifest

Feature or Problem

This commit introduces the functionality for wash up --wadm-manifest <path to manifest>, which starts a host and immediately deploys an application defined in a WADM manifest, cleaning it up when the Ctrl+C is hit, along with normal host termination.
Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

After discussion with Taylor, there's one more thing left to do:

[ ] Check for NoOp/Error response in the Ok result from undeploy_model_* and delete_model_* calls


uthenticode: 1.0.8 -> 1.0.9

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/trailofbits/uthenticode/releases.
meta.description for uthenticode is: "A small cross-platform library for verifying Authenticode digital signatures."
meta.homepage for uthenticode is: "https://github.com/trailofbits/uthenticode"
meta.changelog for uthenticode is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.0.9 in filename of file in /nix/store/jwnhf4wjiqgglb62qcivpzciv1f7fxl9-uthenticode-1.0.9

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
uthenticode

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/jwnhf4wjiqgglb62qcivpzciv1f7fxl9-uthenticode-1.0.9 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

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

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

1 package built:

uthenticode

Maintainer pings
cc @arcz for testing.

Upstream change looks okay.


[FLINK-31597][table] Cleanup usage of deprecated TableEnvironment#registerFunction

What is the purpose of the change
Removes the usage of the deprecated method TableEnvironment#registerFunction.
The PR is based on https://github.com/apache/flink/pull/23748
Brief change log

Replace the usage of TableEnvironment#registerFunction with TableEnvironment#createTemporarySystemFunction

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@wuchong since you were involved in this, could you please have a look?
It seems I found a way to clean this deprecated things

cc @lincoln-lil , @LadyForest , could you help to review this?

cc @lincoln-lil , @LadyForest , could you help to review this?

Sure. I'll take a look ASAP.

the failure is unrelated and the reason is FLINK-33568

@flinkbot run azure

I just noticed that the master branch has been updated, would you mind rebasing and resolving conflicts? @snuyanzin

Thanks for notifying about that, resolved the conflicts
I'm going to merge it once ci is passed
i'm going to merge as 2 commits as each commit is related to a different jira issue

thanks for taking a look


Check for successful status code in hippo healthcheck

Signed-off-by: Thorsten Hans<EMAIL_ADDRESS>With this PR hippo healthcheck will rely on on the status code instead of response text
Related issue: #603

Thank you for the PR! This should not be merged until the next release of Hippo has been made available and we are prepared to  support it. As of right now, https://github.com/deislabs/hippo/pull/957 has not yet been released.

Thank you for the PR! This should not be merged until the next release of Hippo has been made available and we are prepared to support it. As of right now, https://github.com/deislabs/hippo/pull/957 has not yet been released.

@bacongobbler is this PR eligible to be revisited?  It looks like the v0.18.0 hippo release has the referenced fix.

@ThorstenHans I'm afraid it looks like this needs a rebase because the problematic Cargo.lock file also got updated on another branch - sorry!

Replaced by #669


Need to have contextual property groups (relative to nature of program)

Description of the enhancement requested
A Git repository, and therefore a (VS Code) Workspace, can contain programs (COBOL in our case) of different kinds. There is no reason to impose homogeneity in the nature of programs within a Git repository.
For example, a Git repository can contain:

batch COBOL programs, with or without Db2 access,
CICS COBOL programs, with or without Db2 access,
mixed COBOL (sub)programs (batch and CICS), with or without Db2 access,
batch COBOL  programs with EXCI interface, with or without Db2 access.

The compilation parameters, and therefore the property groups, are then not the same and must adapt to the nature of the program.
It would therefore be necessary to be able to declare groups by type of program, in addition to the language (COBOL).
How to determine the nature of a program?

by distributing them in different folders of the Git repository, therefore different folders of the Workspace -> add a "path" in the declaration of a property group?
by applying a naming convention to the programs -> add a program selection filter in the declaration of a property group?
This would put constraints on the organization of the Git repository or the program naming plan.

In the hypothesis of being able to select a property group to apply it to a particular program, we suggest calling a "user function":

as input, the "user function" would receive as parameters the name of the program, its relative path in the Workspace, and the name of the candidate property group,
on output, the "user function" would return an indicator to select or not the candidate property group,
the system would proceed property group by property group until the first property group receiving a selection indicator for the program considered.
The "user function" would be coded by the client site, potentially stored in the Git repository (relative access path), or outside the Git repository (absolute access path), in a language to be defined.

Thanks. This is an enhancement that we are also considering. Offering an API to query the contents of ZAPP files is a good idea for users and extenders.
Question: if you organize the different programs in different folders, would you suggest to (1) potentially have a zapp file inside each folder overriding settings from zapp files in parent folders or (2) a central zapp file at the top that declares the different context in one place?
For (1) I could envision this to work similarly to how Maven allow parent-child relationships for their POM files in which the children inherit from the parents, but can then also override and define local content.

Hi,
One solution could be to divide the programs into folders according to their nature (combination of attributes that influence the way of compiling and linking), either all at the same level, or on a tree hierarchy. Then zapp files can be defined at each folder level, a zapp file at the root for the default properties, a zapp file at each folder level to either replace or override the defined zapp file(s) at higher hierarchical level(s).
On the other hand, this introduces a constraint in the way of distributing the programs in the Workspace / Git repository.
We use the Endevor SCM, which is the target for our User Builds and Project Builds, triggered either from VS Code (User Build), or from Jenkins via Bitbucket (Project Build) after a merge or push on server, and we had the same problem to manage.
We have created files with the .endevor extension carrying different information needs by Endevor process:

one <element>.endevor: common for all builds, carry element specific information
one <ccid>.endevor for each type of User Build (from VS Code), carries informations specific of the contexte of the private branch:

for User Build from feature/<ccid>-<userid> , specific to Endevor target (sandbox subsystem)
for User Build from hotfix/<ccid>-<userid>, specific to Endevor target (sandbox subsystem)

one .endevor file for each type of Project Build (from Jenkins, triggered by P.R./Merge or Push), carries information specific to the context of the public or private branch:

master.endevor: for Project Build on the public master branch , triggered by Merge, always same Endevor target
hotfix.endevor: for Project Build on private hotfix/<ccid>-<userid> branch, triggered by Push, always same Endevor target
<version>.endevor: for Project Build on a public release/<version> branch, triggered by Merge, specific to Endevor target

a global.endevor file, which contains all the information by default

global.endevor, master.endevor, hotfix.endevor, <version>.endevor, <ccid>.endevor are stored in a .endevor root folder.
<element>.endevor are stored in same folder as element.
The properties applied to the Build of an element are built by inheriting from different .endevor files, from the lowest priority to the highest priority:

User Build (from feature/<ccid>-<userid> or hotfix/<ccid>-<userid>):

global.endevor / <ccid>.endevor / <element>.endevor
ccid value is obtained from current branch name.

Project Build:

for master branch: global.endevor / <ccid>.endevor / master.endevor / <element>.endevor
for hotfix/<ccid>-<userid> branch: global.endevor / <ccid>.endevor / hotfix.endevor / <element>.endevor
for release/<version> branch: global.endevor / <ccid>.endevor / <version>.endevor / <element>..endevor
ccid value is obtained by exploring 2nd source commit chain in merge commits for current branch name.


Apparently need root privileges for some features.

From<EMAIL_ADDRESS>on 2010-09-17T11:19:27Z
After I first install spyder, I get the following in my terminal when I try to run it.  No messages on subsequent launches.  This is on Lucid.
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/config.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/interpreter.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/mpl_patch.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/configdialog.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/console.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/editor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/explorer.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/externalconsole.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/figure.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/findinfiles.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/history.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/inspector.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/onlinehelp.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/projectexplorer.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/pylintgui.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/runconfig.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/shortcuts.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/variableexplorer.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/workdir.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/workingdirectory.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/plugins/workspace.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/pyplot.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/requirements.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/spyder.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/userconfig.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/classparser.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/dochelpers.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/encoding.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/environ.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/iofuncs.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/programs.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/qthelpers.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/utils/sourcecode.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/arrayeditor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/browser.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/classbrowser.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/base.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/codeeditor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/codeeditor/syntaxhighlighters.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/colors.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/comboboxes.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/dicteditor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/editor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/editortools.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/explorer.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/init.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/baseshell.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/globalsexplorer.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/monitor.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/namespacebrowser.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/pythonshell.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/sitecustomize.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/startup.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/externalshell/systemshell.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/figureoptions.pyo'
Sorry [Errno 13] Permission denied: '/usr/local/lib/python2.6/dist-packages/spyderlib/widgets/findinfiles.pyo'
Sorry [Errno 13] Per...
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=381

From pierre.raybaut on 2010-09-22T13:42:49Z
This has been changed in mercurial repository: Spyder was optimizing its own bytecode after each update -- this was sometimes requiring administrative privileges.
Now you may do the same thing by typing:
sudo python spyder.py --optimize
Status: Fixed


Walkthrough tile buttons are missing background color

Before

Current

@lramos15 maybe related to CSS var changes?

@bhavyaus Assigning you in case you also wanted to take a look since you're working in this area. The bug is likely caused by https://github.com/microsoft/vscode/pull/165185 the fix would be to compare to stable and see what color variable is now being missed in gettingStarted.css feel free to reach out if you get stuck or don't have time to work on this item :+1:


Dependency Container in a Nested Form

Based on this cross-package issue https://github.com/yassipad/laravel-nova-nested-form/issues/26, I created a fork of dependency-container where this problem is fixed.
It seems to working, but i would like to find someone that helps me in testing.
You can find fork here: https://github.com/alberto-bottarini/nova-dependency-container

Can you please open a merge request! We are facing the same issue, and It would be great if the original component supports nested forms!

Can you help me testing the fork? I would like to propose a tested PR...

@sash I created a PR.
Please upvote
https://github.com/epartment/nova-dependency-container/pull/146

The maintainer ignored PR too long. Code in pr 146 has conflicts. I fixed conflicts in PR 202 (https://github.com/epartment/nova-dependency-container/pull/202). Pls upvote


Error in test_address_ru.rb

this occurs by chance when runs rake test,  seems "Орёл" does not match with the regex
Failure:
  </\A[a-zа-я\-\s]+\z/i> expected to be =~
  <"Орёл">.
test_city(TestAddressRU)
/home/gustavo/Documents/Projects/ffaker/test/test_address_ru.rb:12:in `test_city'
      9:   end
     10:
     11:   def test_city
  => 12:     assert_match /\A[a-zа-я\-\s]+\z/i, @tester.city
     13:   end
     14:

Oops, Do you have valid regexp for russian words?
because, I am not native in Russian. >_<

fixed in #230

Thanks!


[Weak supervision] Simplified version of the skweak tutorial.

This is an initial draft of the simplified version of the skweak tutorial. These are the next steps before we have a working version:

Save the preprocessed dataset to the Rubrix repository and turn the Preprocessing section into an appendix.
Visualize the data and improve the regular expressions.
Introduce a baseline.
Show how the rules can be created with Rubrix through gifs / screenshots.
Add clear descriptions to each section.

Closes #942

Great job Ruan! Just a few minor comments:

not sure if the following is really necessary in the setup section, did you encounter problems with the installation of skweak otherwise?

%pip install -U pip setuptools wheel -qqq

the second example in the docstring of the sports_match_detector heuristic would not match, maybe use another, or just the first one

Following could be a bit misleading in our case since we only have one label:

As we have implemented several independent labeling functions, the annotations produced by our heuristic rules may overlap and even conflict with each other.
For those cases, skweak includes an aggregation model called majority voter. It considers each labeling function as a voter and outputs the most frequent label.

Maybe one could rephrase it, or add a short sentence explaining that in our case the majority voter is really just a simple aggregator. Though, I'm not sure how it deals with partial overlaps ...

Also, we should create a reminder issue, that once we release the new NER improvements in the web app, we should simplify the "Logging to Rubrix" section, by using the annotation argument for the gold labels. I would also put this section after the "Aggregation" to simply log the final single set of annotations and compare it to the gold labels.
Out of curiosity: did you get any improvements by balancing the training set, that is having the same amount of records with and without annotations?
Again, great job, and after addressing the minor issues above, I would merge this PR.

not sure if the following is really necessary in the setup section, did you encounter problems with the installation of skweak otherwise?

%pip install -U pip setuptools wheel -qqq

Removed.
These are real dependencies but most environments already come with these libs installed.

the second example in the docstring of the sports_match_detector heuristic would not match, maybe use another, or just the first one

Fixed.

Maybe one could rephrase it, or add a short sentence explaining that in our case the majority voter is really just a simple aggregator. Though, I'm not sure how it deals with partial overlaps ...

Fixed.

Out of curiosity: did you get any improvements by balancing the training set, that is having the same amount of records with and without annotations?

The current version of the notebook is balanced: it has the same of amount of records with and without annotations on the training set.
This is what happens if you don't balance the training set:

The F score will drop down from 43.67% to 15.28%, which is 22.02% below the baseline.

This is what happens if you don't balance the training set:

Wow, ok thanks for the clarification!
Will merge this now, an awesome tutorial!

@frascuchon arg, just noticed after the merge that I did not update the title of this PR... can we correct this?


Fixes cookbook name in attributes

otherwise the cookbook will fail due to the renaming of the cookbook

Thanks! i missed that one


720p@30FPS is highest res+fps I can use

The only other option is 360p@30FPS. This is with the old HTML5 player, and the new HTML5 player, which apparently supports 2160p@60FPS, but as I can't access it, it is currently an okay UI update.
Any ideas on why this is?

Please make sure you have DASH playback enabled in the settings.

That is slightly odd as having DASH disabled before this update was fine.
I can't complain as enabling it works.

It would be rather odd if it indeed had worked as you claimed as to my understanding YouTube has not offered video streams in those resolutions with non-DASH format for the longest time to my knowledge, but glad to hear you got the issue solved regardless.


For NIP-75

I'm not sure if this will completely fix it.  I'm just checking in so the CI will run all the unit tests while I commute to the office.

ok to test

ok to test

lgtm


Enhancement-->navbar UI IMPROVEMENT

Navbar ui needs to be improve ...i want to work on this issue

Hi Pritam,
sure. What do you have in mind?
We just enhanced its responsivity. How do you want to improve it?
Denis

@denispelli basically some modern  type of  design in navbar ...like some hover effects ,colour transition on hover ...and i think it will be great if we increase the gap between the nav-contents and the logos..i have other plans in my mind as well as dark mode,Footer improvement,hero section ....It will fully convert the website into a modern website which will attract userss..I had mentioned all the necessary changes and i want work on these..if you assign me then i will start working on these things step by step..Thanks for reading


Check supported types before inserting into Hive tables

Fixes #4219

Added tests.

ping @electrum

Thanks @electrum. Addressed comments.

Looks good, but add a Hive release note:
* Do not allow inserting into tables when the Hive type does not match
  the Presto type. Previously, Presto would insert data that did not
  match the table or partition type and that data could not be read by
  Hive. For example, Presto write files containing ``BIGINT`` data when
  for a Hive column type of ``INT``.

Merged #4466


ci: build docker images automatically

Description
This PR introduces a new CI pipeline to automatically build docker images on a new pull request or push to the main branch.
In addition we also start a postgres service, perform database upgrade, and seeding toy user data to the database.
Related Items
Closes #795

[X] I agree to contribute to the project under Apache 2 License.
[X] To the best of my knowledge, the proposed patch is not based on code under GPL or other license that is incompatible with FlexMeasures

Awesome, and it already works!
Would it be easy to add some data and a few commands, like in this script?
This basically would run the basic toy tutorial.
But this can also become a new issue, after this gets merged.

This looks like a good thing to test. I am assuming we need a Redis server to test the scheduling functionality also?

No, that is only needed when --as-job is used in the CLI command to get a schedule.
Could be a follow-up though


[DE-322] Java driver v7

Documentation for Java Driver 7.0
https://github.com/arangodb/arangodb-java-driver/tree/v7

Updated/added content to ArangoDB University (test instance).
The file java_v7-examples-import-graph-data.md appears to be missing?

Further changes to be done in the ArangoDB University directly. Access for Michele requested from Chris.


Add docs for using psn-api via CDN such as skypack

Related https://github.com/skypackjs/skypack-cdn/issues/235

Just FYI, the entry is outdated, still listing PSNAWP as PHP wrapper and missing at least some contributors at the bottom.

I've decided to close this as I'm not sure we should even be recommending to use this library in client-side settings anymore.


loss of precision when rendering JSON with big numbers

Mojolicious version: 6.60
Perl version: Perl 5.16.3
Operating system: MacOS 10.5.5 and Ubuntu linux

Steps to reproduce the behavior
When rendering a JSON structure that has a large integer, there is a loss of precision.
#!/usr/bin/env perl
use Mojolicious::Lite;

my $json = {
    big_int =><PHONE_NUMBER>12345678901234567890,
};

get '/' => sub {
    my $c = shift;
    $c->render( json => $json );
};

app->start;
__DATA__

Expected behavior
{"big_int":123456789012345678901234567890}
Actual behavior
{"big_int":1.23456789012346e+29}

The precision is lost before the value reaches Mojo::JSON.
$ perl -E 'say<PHONE_NUMBER>12345678901234567890'
1.23456789012346e+29

In the future you might want to try our official IRC channel or mailing-list first. http://mojolicious.org/perldoc/Mojolicious/Guides/Contributing#SUPPORT

Thank you, to work around this issue is to use the  bignum pragma.


raftstore: add cost for call command failed.

add a time cost error to check whether resource temporary Unavailable is caused by timeout or not.
Now if we send a command to a not leader peer, the connection will be hung up then meet a timeout error. How do we handle this case in test?
@ngaut @BusyJay

LGTM

LGTM, I think this peer should return an error rather than just hang up.

Could you fire an issue ? @siddontang
Let's merge this PR now.

Fired #427 already.


URN and JPA Annotation Support

Added a bit of a hack on the URN support but nevertheless still useful. Creates the package and class name based on the urn in the "id" attribute of the schema.
Added JPA Annotation support very rough working code.
Added MiscSupport Annotator to provide generated-class tracking (this functionality could be moved into NoopAnnotator but did not want to touch it).

Thanks for submitting this. It's nice to have these things published so that others can see this.
I don't think it will be possible to merge this but thanks for making the code available.


Adding a pytorch Dataset for us to build on

Example of this Dataset in action across 10 files in both "single worker" and "multiple worker" modes:

There are two main things to expand on here:

Check for nodata in the imagery/labels. We want to throw away chips that are majority nodata (or have any nodata). This might should be added "as needed" (some datasets will have nodata values set in the raster, some will have conventions like "all 0s across channels mean it is nodata" and others with have nodata labels to ignore).
Create a mode in which the dataset doesn't sample randomly, but instead gives you a grid of chips across each tile. This will be useful for writing the scoring scripts!


Option to sort numerically in Alluvial Diagram

Whan creating an Alluvial Diagram, the sorting can only be done by Name, which is alphabetic.  Ability to sort numerically on a numeric column would be useful.
Consider the following simple dataset:
INITIAL DATASET, FINAL RANKING
A,8
A,4
A,1
B,7
B,2
B,3
C,5
C,6
C,9
A,10
B,11
Creating an alluvial diagram with steps of INITIAL DATASET and FINAL RANKING shows the FINAL RANKING column as 1,10,11,2,3,4,5,6,7,8,9 (alphabetical order) rather than sorted numerically.  I can't see any practical use for a number column to be sorted alphabetically.
REQUEST:  If a STEP column is a number, NAME sorting should sort numerically rather than alphabetically.

@Triphammer Is this feature present nowt.As i am interested in it

Not that I am aware of.  I haven't had any response at all about it.

Fixed in master, feature will be present in the next release, see image below.

I'm speechless.  Perfect.  Thank you so very much.


Configurable credentials mode

Same like https://github.com/jamiepine/pulse/pull/8

Change was done manually because of changes, along with #8 and pushed to master. Pull request closed.


Dockerfile doesn't COPY all files in project directory

Issue
Docker Version: Docker for Windows 1.12.0-rc3
OS: Windows 10 RTM
In my application folder, I have a .aws folder, with stub configuration files. The filesystem structure of the project looks like this:
+ Project Folder
|--> app.py
|--> .aws
|-----> config
|-----> credentials
+

In my Dockerfile, I have a COPY instruction, to copy the entire Project Folder into the Docker image. However, the .aws folder isn't copied. I have not specified a .dockerignore file, so nothing should be excluded.
Any thoughts on why this is happening?
Cheers,
Trevor Sullivan

/cc @jhowardmsft

Seems to work on master. Closing.
E:\Docker\build\awstest>docker build --no-cache .
Sending build context to Docker daemon  5.12 kB
Step 1/3 : FROM windowsservercore
 ---> 051b15e6a494
Step 2/3 : COPY . c:\aws
 ---> 3a3962b236d5
Removing intermediate container 33d45a7d32fc
Step 3/3 : RUN dir /s c:\aws
 ---> Running in 5e932bc9e719
 Volume in drive C has no label.
 Volume Serial Number is C64C-B897

 Directory of c:\aws

11/08/2016  08:27 PM    <DIR>          .
11/08/2016  08:27 PM    <DIR>          ..
11/08/2016  08:25 PM    <DIR>          .aws
11/08/2016  08:27 PM                67 Dockerfile
               1 File(s)             67 bytes

 Directory of c:\aws\.aws

11/08/2016  08:25 PM    <DIR>          .
11/08/2016  08:25 PM    <DIR>          ..
11/08/2016  08:25 PM                 6 somefile.txt
11/08/2016  08:26 PM    <DIR>          subdir
               1 File(s)              6 bytes

 Directory of c:\aws\.aws\subdir

11/08/2016  08:26 PM    <DIR>          .
11/08/2016  08:26 PM    <DIR>          ..
11/08/2016  08:25 PM                 6 somefile.txt
               1 File(s)              6 bytes

     Total Files Listed:
               3 File(s)             79 bytes
               8 Dir(s)  21,292,888,064 bytes free
 ---> cad4f91ae567
Removing intermediate container 5e932bc9e719
Successfully built cad4f91ae567

E:\Docker\build\awstest>type Dockerfile
#escape=`
FROM windowsservercore
COPY . c:\aws
RUN dir /s c:\aws
E:\Docker\build\awstest>dir /s
 Volume in drive E is SSD Data
 Volume Serial Number is ECCC-30E6

 Directory of E:\Docker\build\awstest

11/08/2016  08:27 PM    <DIR>          .
11/08/2016  08:27 PM    <DIR>          ..
11/08/2016  08:25 PM    <DIR>          .aws
11/08/2016  08:27 PM                67 Dockerfile
               1 File(s)             67 bytes

 Directory of E:\Docker\build\awstest\.aws

11/08/2016  08:25 PM    <DIR>          .
11/08/2016  08:25 PM    <DIR>          ..
11/08/2016  08:25 PM                 6 somefile.txt
11/08/2016  08:26 PM    <DIR>          subdir
               1 File(s)              6 bytes

 Directory of E:\Docker\build\awstest\.aws\subdir

11/08/2016  08:26 PM    <DIR>          .
11/08/2016  08:26 PM    <DIR>          ..
11/08/2016  08:25 PM                 6 somefile.txt
               1 File(s)              6 bytes

     Total Files Listed:
               3 File(s)             79 bytes
               8 Dir(s)  785,172,971,520 bytes free

E:\Docker\build\awstest>


examples: show how to change the global configuration/samplers

I have been going over the javadocs at https://www.javadoc.io/doc/io.opencensus/opencensus-api/0.12.2 and I can't figure out how to change the global tracer's configuration to make it always sample since am making an integration. I asked for help here and there but no dice.
Some examples of not just changing the sampler for a single span but for the entire global configuration, would be immensely helpful.

I think that is controlled with the global TraceConfig, for example:
    TraceConfig traceConfig = Tracing.getTraceConfig();
    traceConfig.updateActiveTraceParams(
        traceConfig.getActiveTraceParams().toBuilder().setSampler(Samplers.alwaysSample()).build());

/cc @bogdandrutu

Thank you @sebright! Yes, I looked through all those docs but being unfamiliar with the Java implementation, it was tricky.

It is the same issue when I tried the examples and got nothing output (#842).
There does exist a specification on how to set that in a global/local way. But given that most users might start with examples rather than specification, we should probably explicitly add it in the examples.

Fixed with https://opencensus.io/quickstart/java/tracing/.


Contradictory Errors When Configuring Unusual Boot Setups

Describe the bug
A clear and concise description of what the bug is.
Configuring boot.loader.generationsDir.enable = true; and boot.loader.systemd-boot.enable = true; causes an error due to multiple bootloaders, but disabling the latter causes an error due to You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.
Steps To Reproduce
Steps to reproduce the behavior:

Add boot.loader.generationsDir.enable = true; and boot.loader.systemd-boot.enable = true; to configuration.
Run nixos-rebuild boot
Observe error
Set boot.loader.systemd-boot.enable = false;
Run nixos-rebuild boot
Observe error

Expected behavior
I expect disabling systemd boot to allow me to use generationsDir boot.
Screenshots
Not screenshots, but the errors.
With both enabled:
building Nix...
building the system configuration...
trace: warning: The option `services.xserver.displayManager.defaultSession' defined in `/etc/nixos/configuration.nix' has been renamed to `services.displayManager.defaultSession'.
error:
       … while calling the 'head' builtin

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error: The option `system.build.installBootLoader' is defined multiple times while it's expected to be unique.
       Only one bootloader can be enabled at a time. This requirement has not
       been checked until NixOS 22.05. Earlier versions defaulted to the last
       definition. Change your configuration to enable only one bootloader.

       Definition values:
       - In `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/loader/generations-dir/generations-dir.nix': <derivation generations-dir-builder.sh>
       - In `/nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/boot/loader/systemd-boot/systemd-boot.nix': <derivation install-systemd-boot.sh>
       Use `lib.mkForce value` or `lib.mkDefault value` to change the priority on any of these definitions

with systemd-boot disabled:
building Nix...
building the system configuration...
error:
       … while calling the 'head' builtin

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/attrsets.nix:1575:11:

         1574|         || pred here (elemAt values 1) (head values) then
         1575|           head values
             |           ^
         1576|         else

       … while evaluating the attribute 'value'

         at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/modules.nix:809:9:

          808|     in warnDeprecation opt //
          809|       { value = builtins.addErrorContext "while evaluating the option `${showOption loc}':" value;
             |         ^
          810|         inherit (res.defsFinal') highestPrio;

       (stack trace truncated; use '--show-trace' to show the full trace)

       error:
       Failed assertions:
       - You must set the option ‘boot.loader.grub.devices’ or 'boot.loader.grub.mirroredBoots' to make the system bootable.

Additional context
Add any other context about the problem here.
Notify maintainers

Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.32-1-MANJARO, NixOS, 24.05 (Uakari), 24.05.675.805a384895c6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.2`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Add a :+1: reaction to issues you find important.

I think I found the issue. GRUB is the default bootloader, but is automatically disabled if systemd boot is enabled. Other boot options do not appear to have the same effect.

did you manage to fix it?

Yes, I manually disabled GRUB using "boot.loader.grub.enable = false;"


[Question]: Support for Widgets - WidgetKit, ActivityKit

What happened?
@bcardarella Are there any plans for these technologies to be added to the list of add-ons?
https://developer.apple.com/widgets/

I'll let Carson weigh on this. Looking at the documentation these don't appear to be SwiftUI compatible views. WidgetKit looks to be part of WidgetConfiguration and ActivityKit appears to be mostly through UI outside of the app.
I do think we should look into how these would work with LVN but I don't yet know if these are something we could represent with LVN server side rendering.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Great, ty @bcardarella!

WidgetKit/ActivityKit would probably not play well with LiveView. They can't be updated once they're rendered, so you wouldn't be able to use the socket to update the UI or anything like that.
The only thing I could see working, is if we allow rendering static SwiftUI markup on the server, then expose that as an endpoint like /widget. The client would fetch the markup and render it to static SwiftUI Views.


feat: add "collect cards with your inputs" guide

Description
add "collect cards with your inputs" guide

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[ ] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

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


Support portability of db

Hi,
It would be great if the tool would support portability of db.
In my case I have data that I backup to at least 2 drives and I want to verify that all drives contain the same data.
In my case i have them mounted here /mnt/y and /mnt/v
I want to check both drives using the same database but create only hashes from one of them.
So maybe just another argument that would replace /mnt/y with /mnt/v/ prefix in memory would be sufficient.
I will try to look into the code and create pull request if I find time.
Thanks,
Petr

Sorry to hijack this issue, but I ran into a similar issue and tried to fix it by creating a symlink from /mnt/y to /mnt/v .. so the original indexed path exists (although it's a symlink), but it doesn't seem to work.
strace output does show a AT_SYMLINK_NOFOLLOW in the output, but I'm not sure how to fix that in the python code.

Symlinks are files so it doesn't follow so it can index them. You could use a bind mount.
If paths are relative then there can be dups. The primary key of the existing system has to change and to what would that be?
Is this a permanent or temporary thing? I could make a simple function that replaces strings in the filepath but the way it does it will depend on the actual workflow. Or perhaps I could do something where it compares files to add to the DB to missing files and if the details match up it changes the filepath?

Oh of course! I completely forgot about bind mounts. That works perfectly, thanks!
I prefer this solution, since it doesn't require you to make changes. Also note to @petacz this would solve your issue as well:
mount -o bind /mnt/y /mnt/v

It's not about whether or not a change is needed. That's fine. I just don't know what the intended workflow is. Is it a "I happen to have a mirror of the data elsewhere and want to check it" or "I have moved my paths around and want to rename the filepaths"? Or both?

The use-case is having a mirror of the data elsewhere.