Remove rubocop rules

I've removed the Rubocop configuration files from here now that they live in govuk-lint.
I've updated the using-rubocop.md documentation to refer to govuk-lint-ruby instead of rubocop.
This was prompted by @boffbowsh's comment in govuk-lint.

Thanks @boffbowsh.


Add blog post for week 34

I hope it's correct... It looks like I've confused the script by my one-day delay and needed to do the content manually..;(  (Also because a few PRs did not have a changelog entry.)

regate


Write peer review so it can be added to report (maximum 100 words!)

Done but it shouldnt be peer review, instead it should just be an overview of the work you have done.


snapshots

it would be cool if you could have named snapshots to which you can "revert" your plugins
this would basically just be an extension to the lockfiles I guess.
You'd be able to have multiple lockfiles and can restore the state from one of them

I'm not plannig on adding snapshots. Just use git to restore a previous lockfile and do :Lazy restore


FR: Add texture based brush to the demo

Currently the demo draws only lines. It might be useful to using a texture-based brush in the GPU demo.

Fixed


Bind numo/narray

opencv-python uses ndarray class of NumPy to represent numerical N-dimensional array instead of cv::Mat of OpenCV for interoperability with other data science or machine learning related libraries.
Similarly, use numo/narray for opencvr.

Prototype has been merged to main branch


Test suite

What do you want
A test suite that tests behavior in dxhd such as the possible flags and possible keybindings.
A full integration test might be hard (but I want to check it out still) due to the X11 dependency. I do see a fun challenge in this though :)
However, unit testing the config parser and flag parsing parts of the code should be very possible.
Why
To not break exist code on new features or refactorings, as well as possibly being able to test against a specification on new feature requests, aka test driving development. It's also good in general to have a spec to test against rather than just documentation that 'should work'.
Implementation hints
Will come back on this later, it's 1am.

Also this could be a long lasting issue about unit/integration testing ideas in general, with perhaps follow-up issues for testing specific parts if necessary.

Yeah that's really really needed. Writing tests for the parser is pointless for now, because the parser code is very bad. However, we should use TDD worfklow for parser rewrite (I highlight parser has to be rewritten, it is way too bad that there's no fix for it).


 Also eliminating an enumerator allocation by changing
from IReadOnlyDictionary to RouteValueDictionary.

Here's the data that I'm working with:

This should eliminate most of the 'ContainsKeyandTryGetValue`

Here's the data that I'm working with:

This should eliminate most of the 'ContainsKeyandTryGetValue`

:shipit:


License missing from repo

This repo is missing a license. Without a license, all code is copyright the author and may not be used by anyone else.
Please use something like http://choosealicense.com/ to decide what license to use. I recommend MIT or GPL.
A PSA called Add a License Please

dumplicate of #59


MacOS crash on SDL_PumpEvents

Description of the crash:
When launching the application on MacOS, there are sporadic crashes when a game control activates input.
Using a debugger, it appears that this is due to a segfault produced by various different calls to SDL_PumpEvents. The primary location where this is is happening appears to be libultraship/src/controller/deviceindex/ControllerDisconnectedWindow.cpp:17.
Can you reproduce? If so please list the steps:

[ ] No, I cannot reproduce this crash
[X] Yes, here are the steps to reproduce the crash:

Launch the application on MacOS.
While launching, activate any controller endpoint.
If the crash doesn't occur, try again. This sometimes doesn't happen until around the 10th attempt, and other times it happens nearly every time the app is launched.

Logs:
[2024-06-15 17:36:59.227] [/Users/user/GIT/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /Users/user/GIT/2ship2harkinian/./mm.o2r
[2024-06-15 17:36:59.467] [/Users/user/GIT/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /Users/user/GIT/2ship2harkinian/./mm.o2r to Archive Manager
[2024-06-15 17:36:59.518] [/Users/user/GIT/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /Users/user/GIT/2ship2harkinian/build-cmake/mm/2ship.o2r
[2024-06-15 17:36:59.519] [/Users/user/GIT/2ship2harkinian/libultraship/src/resource/archive/O2rArchive.cpp:28] [trace] Failed to find file version in zip archive  /Users/user/GIT/2ship2harkinian/build-cmake/mm/2ship.o2r.
[2024-06-15 17:36:59.519] [/Users/user/GIT/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /Users/user/GIT/2ship2harkinian/build-cmake/mm/2ship.o2r to Archive Manager
[17:37:00.071] [os.cpp:27] [error] Failed add SDL game controller mappings from "./gamecontrollerdb.txt" (Invalid RWops)
Segmentation fault: 11

System Information:

OS: MacOS 14.2
GFX Backend: happens on both Metal and OpenGL
Game Version: develop branch (commit e60ca15ae6a9e5381c9675530828e7a1c246f643)
Rom Version: ROM MD5 2A0A8ACB61538235BC1094D297FB6556

I tried to figure out how to resolve this, but I was unable to find anything.
The PumpEvent calls are producing segfaults even when I confirmed that they are called on the main thread, which is the same thread that is Init-ing the SDL subsystems.
I also confirmed that SDL_WasInit is reporting that the subsystems were initialized prior to the segfaults.
I also couldn't find anything online related to this issue either.

I just confirmed that this issue is not happening on the Linux build.
The chances seem strong that this is a weird condition specific to MacOS.

This could possibly be related to this issue on the SDL repo: https://github.com/libsdl-org/SDL/issues/9042
It may be possible to resolve this by upgrading the SDL version of the app, which I am not sure how to do here.

This appears to only happen with my Logitech Wireless Gamepad F710.
I have connected my Switch Joycons as a controller and don't see the same issue.

This could possibly be related to this issue on the SDL repo: libsdl-org/SDL#9042 It may be possible to resolve this by upgrading the SDL version of the app, which I am not sure how to do here.

Updating SDL would be Libultraship's responsibility. It might be worth it to this on SoH and if it happens there, open an issue on libultraship.


[AMBARI-23243]. Adding missing properties to OneFS mpack (amagyar)

What changes were proposed in this pull request?
Adding the following configuration properties:

hadoop.security.token.service.use_ip should be false when kerberos is enabled
dfs.checksum.type should always be NULL
dfs.datanode.http.address/dfs.datanode.https.address = <IP_ADDRESS>:8082/<IP_ADDRESS>:8080
yarn.scheduler.capacity.node-locality-delay = 0 (adding this from service advisior doesn't work, needs more investigation, but possibly because of a UI bug, so this is commented out for now)
dfs.client-write-packet-size = 131072 (this was already added)

How was this patch tested?

Installed OneFS service and inspected core-site, hdfs-site
Enabled kerberos and checked hadoop.security.token.service.use_ip  under custom core-site

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1308/
Test PASSed.


Can't create a blade file

Issue Type: Bug
It treats the 'blade' in .blade.php as a part of the name as opposed to a file format!
VS Code version: Code 1.26.1 (493869ee8e8a846b0855873886fc79d480d342de, 2018-08-16T18:31:26.156Z)
OS version: Darwin x64 15.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz (4 x 1300)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
4.00GB (0.03GB free)

Process Argv
/Users/ibrahimA/Downloads/Visual Studio Code.app/Contents/MacOS/Electron -psn_0_3961799

Screen Reader
no

VM
0%

Extensions: none

So .blade.php should be treated as a single extension.
@bpasero not sure if this is workbench or editor. Starting with workbench.

@Alyousfi can you state the exact steps you are doing?

Let's treat it as a duplicate of https://github.com/Microsoft/vscode/issues/56812
And rename that one


trouble with zfs/samba

hey @davestephens, thanks for putting this together! i can't seem to get samba shares working... it's not connectable, and i've tried messing around with some obvious settings/permissions and i'm getting nowhere
i also can't get the playbook to run on ubuntu server without commenting out this line: https://github.com/davestephens/ansible-nas/blob/master/tasks/general.yml#L20
this is my first time using ansible... am i missing something obvious?

Hey @chrisbutler, thanks for getting in touch.
What version of Ubuntu server are you using? I'm going to take a punt and say it's something newer than 16.04 - a quick search has revealed the zfs package was actually a virtual package (ie a pointer to >=1 other packages) which they've removed in newer Ubuntu versions.  To get things working you should be able to replace it with zfs-linux or just remove it entirely (as you have done) if you don't care about zfs. I'll get that fixed up in the code.
As for Samba, couple of things:

Can you check it's definitely installed ok and running? samba --version and
On the assumption that you're using something other than 16.04 - can you let me know what Ubuntu you're using and I'll spin up a VM and test the playbook out?
Minor point, but I assume the paths in your shares point to real paths on the filesystem that aren't locked down to readonly?
Rather than browsing to \\computername does browsing directly to \\computername\sharename work?

Thanks for trying ansible-nas out, hopefully we can work out what's going wrong!

Created #7 to track Ubuntu 18.04 compatibility.

yep, i'm using 18.04. it wants zfsutils-linux now, it seems
looks like samba wasn't installed... i installed it with apt but my user credentials don't work to log in
yes, the shares in the config are actual paths
including the \sharename doesn't seem to make a difference

thoughts on the samba situation?

OK, so this now works fine.
Part of it was Ubuntu 18.04 package names changing, and part of it was me making a massive cut and paste fail (basically the samba and docker roles weren't being run :man_facepalming:)
If you'd be so kind as to pull the latest from master and run again it's be appreciated!

ok, so i ran it again and got everything mostly working! thank you!
but... which user should i be trying to log in as for samba? i can't log in as my primary ubuntu user, or as a guest 😢

so i tried again with a fresh box, and i'm able to access the shares from the user specified in the config now!
it has to be the specific share directories (e.g. /tv), trying to connect to the root and list each directory doesn't currently work, which is likely just a configuration thing?
i'm guessing that my original issue accessing shares directly was related to fs permissions on the box, and now that the samba role step runs i can definitely close this issue


Column project operation on datasets.Dataset

Feature request
There is no operation to select a subset of columns of original dataset. Expected API follows.
a = Dataset.from_dict({
    'int': [0, 1, 2]
    'char': ['a', 'b', 'c'],
    'none': [None] * 3,
})

b = a.project('int', 'char')  # usually, .select()

print(a.column_names)  # stdout: ['int', 'char', 'none']
print(b.column_names)  # stdout: ['int', 'char']

Method project can easily accept not only column names (as a str) but univariant function applied to corresponding column as an example. Or keyword arguments can be used in order to rename columns in advance (see pandas, pyspark, pyarrow, and SQL)..
Motivation
Projection is a typical operation in every data processing library. And it is a basic block of a well-known data manipulation language like SQL. Without this operation datasets.Dataset interface is not complete.
Your contribution
Not sure. Some of my PRs are still open and some do not have any discussions.

Hi ! This would be a nice addition indeed :) This sounds like a duplicate of https://github.com/huggingface/datasets/issues/5468

Not sure. Some of my PRs are still open and some do not have any discussions.

Sorry to hear that, feel free to ping me on those PRs


Adding new maintainer

Can you please add @Baltazore as a contributor to this library? Also, can you please upgrade me to admin on this repo?
Or alternatively, can I move this repo to my organization?

Pinging @willrax :)

:+1: @Arkham @taras I'll try to get this done today

Bump

@willrax @Arkham there are currently 3 PRs that need to get merged and then versioned. Many people are having issues with ember-light-table since installing this addon as a dependency crashes.
@taras is having some technical issues right now with his computer so if you both need someone to take over in the mean time, I would be happy to get this done for you. I would just need merge + npm publish permissions.

Hey @offirgolan you're all set added you to the repo and npm. Sorry for taking so long to move on these things, but thanks for helping out.

@willrax no problem at all! Thank you for allowing me to help maintain this repo 😄


[SPARK-37232][BUILD] Upgrade ORC to 1.7.1

What changes were proposed in this pull request?
This PR aims to upgrade ORC to 1.7.1.

http://orc.apache.org/news/2021/11/07/ORC-1.7.1/

Why are the changes needed?
This will bring the latest bug fixes.

https://github.com/apache/orc/milestone/1?closed=1

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.

Test build #144971 has started for PR 34507 at commit 0c5a2b7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49442/

Merged to master for Apache Spark 3.3.0.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/49442/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/49442/

Test build #144971 has finished for PR 34507 at commit 0c5a2b7.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/144971/


Add renovate config

This will add a basic config for renovate. It should create a merge request every Friday morning with all minor and path updates that with a little luck will also be auto-merged.
Other (major) updates will receive separate PRs.

I will merge this for now and we can see what happens on Friday.


Link to examples in README

The README shows three examples but only the code for one is provided. It'd be helpful for beginners to see the code for the other two examples.

The code is available in the examples/ directory. I'll link to them below the image.


feat(chat): inform user about Name and Version field restrictions in Deployed state (Issue #2693)

Description:
Need to inform user why Name and Version fields are not available for edit when code app in Deployed state
Issues:

Issue #2693

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review

/deploy-review


first_version_visualization

I just correct my mistakes to upload all files. Now I just update my parts.

This is a good start. I have some questions and some requests for coding style changes.
First the graph is too large right now. Please make it smaller so that it and the controls (checkboxes for variables and downloadCSV button) are all visible at once. You also need to include instructions on what the visualization is and how to interact with it.
There are some comments on functionality that I've made, please see those and fix any issues.
Finally there are a few style issues I would appreciate you taking care of. The ones for Python come from the PEP8 standard.

Please keep lines to 79 columns in Python. Strive to do this in code for other languages as well so that your code displays well in anybody's editor. To efficiently use screen space, I don't display lines past 85 and line breaks by the editor are distracting.

In Python, keyword arguments to functions should not have a space between the keyword and the equals sign. Arguments should be separated by a comma and a space.

v = my_fun(a, b, key1=kwarg1, key2=kwarg2)

not
v = my_fun(a,b,key1=kwarg2,key2=kwarg2)  # or
v = my_fun(a, b, key1 = kwarg1, key2 = kwarg2)

In Python, put a space between # and the first letter of the comment, like

# put a space before `put`

Please use snake_case not camelCase for local variables Python. Read PEP 8 to learn about how to name other variables and classes. Don't worry about fixing everything at once, but please do fix it eventually. In new code, use snake case. In Javascript and HTML, keep using camelCase.

OK, I will fix them. I used some my old codes so not all of them are
snake_case.
On Thu, Jul 2, 2015 at 3:27 PM, Matthew<EMAIL_ADDRESS>wrote:

This is a good start. I have some questions and some requests for coding
style changes.
First the graph is too large right now. Please make it smaller so that it
and the controls (checkboxes for variables and downloadCSV button) are all
visible at once. You also need to include instructions on what the
visualization is and how to interact with it.
There are some comments on functionality that I've made, please see those
and fix any issues.
Finally there are a few style issues I would appreciate you taking care
of. The ones for Python come from the PEP8 standard[python.org]
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.python.org_dev_peps_pep-2D0008_&d=BQMCaQ&c=jifKnBYnyVBhk1h9O3AIXsy5wsgdpA1H51b0r9C8Lig&r=SBIVeg5P8-0Twl1xcR2vfw&m=AfzBvmHXMMay8xqcGOsJCvwouqKvhFV9VjDcM42y6Qc&s=BAlioTmPsMcsmFzhMiYC1piU3rLq0YHPDJuD3bsqUmk&e=
.

Please keep lines to 79 columns in Python. Strive to do this in code
for other languages as well so that your code displays well in anybody's
editor. To efficiently use screen space, I don't display lines past 85 and
line breaks by the editor are distracting.
2.
In Python, keyword arguments to functions should not have a space
between the keyword and the equals sign. Arguments should be separated by a
comma and a space.
v = my_fun(a, b, key1=kwarg1, key2=kwarg2)
not
v = my_fun(a,b,key1=kwarg2,key2=kwarg2)  # or
v = my_fun(a, b, key1 = kwarg1, key2 = kwarg2)

In Python, put a space between # and the first letter of the
comment, like

put a space before put

Please use snake_case not camelCase for local variables Python.
Read PEP 8 to learn about how to name other variables and classes. Don't
worry about fixing everything at once, but please do fix it eventually. In
new code, use snake case. In Javascript and HTML, keep using camelCase.

—
Reply to this email directly or view it on GitHub[github.com]
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_mtpain_vwplatform_pull_41-23issuecomment-2D118184499&d=BQMCaQ&c=jifKnBYnyVBhk1h9O3AIXsy5wsgdpA1H51b0r9C8Lig&r=SBIVeg5P8-0Twl1xcR2vfw&m=AfzBvmHXMMay8xqcGOsJCvwouqKvhFV9VjDcM42y6Qc&s=3ZHvUdS2bV0iidO7lL3ZvsOvyKAEfS12iR9CZKze63o&e=
.


Kinesis: fix maxBytesPerSecond throttling

The kinesis throttling is not being respected because the function getPayloadByteSize is incorrect.
private def getPayloadByteSize[T](record: (PutRecordsRequestEntry, T)): Int = record match {
    case (request, _) => request.partitionKey.length + request.data.asByteBuffer.position()
}

request.data.asByteBuffer.position() can return 0
The ticket was originally reported in https://github.com/akka/alpakka/issues/2871 and I did the fix in the akka repository. AFAICT I can use the same code as long as I am the author...

lgtm. If we wan't to be strict this should land in 1.1.0 since this is a behaviour change but afaict the current functionality appears to be broken so this can be an exception
@jtjeferreira Can you confirm?

yes the current functionality is broken

Merging - as it is a bug fix


haskell: Speed up cross callHackage by using native source

Motivation for this change
The extract of code from hackage is the same on all platforms.
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

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

Notify maintainers
cc @

@Ericson2314 Thanks for upstreaming this type of stuff!
I tried testing this locally and it appears to work:
$ nix-build -E 'with (import ./. {}); haskellPackages.hackage2nix "lens" "4.17.1"'
...
/nix/store/0kvij1wikr9lklz7ac3rh6wqh6sb6s5b-cabal2nix-lens-4.17.1
$ cat /nix/store/0kvij1wikr9lklz7ac3rh6wqh6sb6s5b-cabal2nix-lens-4.17.1/default.nix
...

The generated default.nix file looks good to me.

However, I'm not very familiar with the cross compilation support in nixpkgs (which I think is the difference between buildPackages and pkgs in this file??). I didn't actually try this with any sort of cross compilation target, so I guess I haven't really tested it.  Although it makes sense that it should work, since the cabal2nix we get from buildPackages should work the same as the cabal2nix we get from pkgs?
cc @peti

@Ericson2314 Oh, also, is this the type of thing that should go into the haskell-updates branch (instead of the master branch)?

I think it's fine to merge directly to master. This code is not used inside of Nixpkgs itself, so the test builds that happen on haskell-updates are not going to generate any useful insights anyway.

For those wondering, source does doesn't really have a host platform per-se, it is agnostic so it doesn't much matter which runCommand we use. Ideally the hashes would also be the same, since there's no C compiler or anything, but that's unsolved tech debt.


KeyError: 'spatial_transform.grid'

When I use test_reg.py and pretrained model reg_0280.pth to test the registration process,I got a keyerror: 'spatial_transform.grid'. Can you help me? The more information about this error is as following:
===> loading trained model '../reg_0280.pth'
Traceback (most recent call last):
File "test_reg.py", line 187, in
main(args)
File "test_reg.py", line 61, in main
net.load_state_dict(model_state_dict)
File "/home/wu/UMF/Test/../models/deformable_net.py", line 74, in load_state_dict
state_dict.pop('spatial_transform.grid')
KeyError: 'spatial_transform.grid'

I got the same error when I was doing alignment training and importing the pre-training provided by the author, so I hope I can learn how to solve it.
=> loading model '../cache/Reg_only/reg_0280.pth'
Traceback (most recent call last):
File "train_reg.py", line 163, in
main(args, visdom)
File "train_reg.py", line 76, in main
net.load_state_dict(model_state_dict)
File "../models/deformable_net.py", line 74, in load_state_dict
state_dict.pop('spatial_transform.grid')
KeyError: 'spatial_transform.grid'


feat(puller): self heal reserve by refreshing synced intervals

Checklist

[x] I have read the coding guide.
[ ] My change requires a documentation update, and I have done it.
[x] I have added tests to cover my changes.
[ ] I have filled out the description and linked the related issues.

Description
Every 12 hours, syncing is stopped, all intervals reset, then the syncing is restarted again.
Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

Closing it as an alternative solution has been suggested - re-evaluate in the future.


[PLAYGROUND PROJECT] Project #286

Project Title: "Drifting"
Project ID: 286
Artist Channel ID:<PHONE_NUMBER>03503410
Project Keyword: "drifting"

@grantoesterling can I shoot this your way?


Maybe let plugins define custom serve options?

https://twitter.com/psychemedia/status/1481171650934714370

can extensions be passed their own cli args? eg --ext-tiddlywiki-dbname tiddlywiki2.sqlite ?

I've thought something like this might be useful for other plugins in the past, too.

The challenge here is avoiding clashes. What if a plugin adds an option that I later want to use for a new Datasette core feature? Or what if two plugins define the same option?
Maybe the solution is to make them use namespaces defined by the plugin name.
How about this:
datasette t.db --plugin-setting datasette-tiddlywiki db t.db

Its a bit verbose having an option that itself then takes THREE strings: plugin name, setting name, setting value - but it would work.

Is it possible to parse things like --ext-{plugin}-{arg} VALUE ?

I try to stick pretty closely to what Click supports, and Click likes you to define options explicitly so that it can display them in the output of --help.
But... that makes me think that actually showing these options in --help is likely a better idea. My --plugin-setting concept would have help that looks something like this:
% datasette serve --help
  ...
  --plugin-setting <TEXT TEXT TEXT>...     Setting for a specified plugin.

That's not great help!
The alternative would be to allow plugins to register their extra options with the command - which would mean the help output could look like this instead:
% datasette serve --help
  ...
  --tiddlywiki-file <TEXT>    Database file to use for datasette-tiddlywiki

This feels like a good argument to me for plugins to explicitly register their settings. I'm not sure if I should enforce the name-of-plugin- prefix, or if I should allow plugins to define any setting they like. I'm still nervous about plugins over-riding existing or future default options to that command.

Another option: if I make plugin settings a higher level concept in Datasette than they are at the moment, I could allow them to be set either using --options OR using the existing metadata.yml/json mechanism. https://docs.datasette.io/en/stable/plugins.html#plugin-configuration
I want to make changes to that anyway, because I'm increasingly uncomfortable with plugin settings ending up in the "metadata" mechanism.

You can already run datasette --help-settings to see detailed help on available settings. Maybe datasette --help-plugin-settings could do the same thing for plugin settings?
Or I could even have available plugin settings show up as a list at the bottom of the datasette --help-settings output - which currently looks like this:
% datasette --help-settings
Settings:
  default_page_size            Default page size for the table view
                               (default=100)
  max_returned_rows            Maximum rows that can be returned from a table
                               or custom query (default=1000)
  num_sql_threads              Number of threads in the thread pool for
                               executing SQLite queries (default=3)
  sql_time_limit_ms            Time limit for a SQL query in milliseconds
                               (default=1000)
  default_facet_size           Number of values to return for requested facets
                               (default=30)
  facet_time_limit_ms          Time limit for calculating a requested facet
                               (default=200)
  facet_suggest_time_limit_ms  Time limit for calculating a suggested facet
                               (default=50)
  hash_urls                    Include DB file contents hash in URLs, for far-
                               future caching (default=False)
  allow_facet                  Allow users to specify columns to facet using
                               ?_facet= parameter (default=True)
  allow_download               Allow users to download the original SQLite
                               database files (default=True)
  suggest_facets               Calculate and display suggested facets
                               (default=True)
  default_cache_ttl            Default HTTP cache TTL (used in Cache-Control:
                               max-age= header) (default=5)
  default_cache_ttl_hashed     Default HTTP cache TTL for hashed URL pages
                               (default=31536000)
  cache_size_kb                SQLite cache size in KB (0 == use SQLite
                               default) (default=0)
  allow_csv_stream             Allow .csv?_stream=1 to download all rows
                               (ignoring max_returned_rows) (default=True)
  max_csv_mb                   Maximum size allowed for CSV export in MB - set
                               0 to disable this limit (default=100)
  truncate_cells_html          Truncate cells longer than this in HTML table
                               view - set 0 to disable (default=2048)
  force_https_urls             Force URLs in API output to always use https://
                               protocol (default=False)
  template_debug               Allow display of template debug information
                               with ?_context=1 (default=False)
  trace_debug                  Allow display of SQL trace debug information
                               with ?_trace=1 (default=False)
  base_url                     Datasette URLs should use this base path
                               (default=/)

The datasette publish --plugin-secret name setting value option already implements something a bit like this. https://docs.datasette.io/en/stable/plugins.html#secret-configuration-values
It's a bit of a messy hack to compensate for metadata being visible. Maybe I could replace that mechanism with the proposed plugin configuration rethink from this issue.
I still like the debug benefits of making plugin settings public - perhaps add a rule that if a plugin setting has a secret: prefix it gets redacted on a new /-/plugin-settings page.

There's actually already a way to move regular Datasette --setting options to a settings.json file thanks to configuration directory mode: https://docs.datasette.io/en/stable/settings.html
Maybe extending that mechanism to handle plugins would be a neat path forward here.


Text overlapping on the Quick Fix floating dialog

Text is overlapping on the Quick Fix dialog box when using @Decorator() in the typescript project.
ScreenShot:

VSCode Version: 1.43.1
OS Version: Manjaro Linux 19.0.2
Kernel: 5.5.8

@jrieken The text in there looks like actions from the quick fix menu:

The rendering is different than what I'm used to on mac/windows, perhaps quick fixes are painted with a custom menu on Linux?

@sbatten Looks like our custom context menu may be overlapping with the hover

iirc hovers use the context view service which only has a single dom element that is reused for all consumers. that means a menu and a hover cannot be shown at the same time.

@numToStr  Can you please provide some clear steps to reproduce?

@alexdima

Add this "strictPropertyInitialization": true in the tsconfig.json.
If needed restart the ts server.
This issue only occurs on class properties w/ decorators that don't have an initial value (as shown in the image above).
If you get ts errors as above, pop up the Quick Fix dialog, you will see the text overlapping (as shown in the image above)

Hope this helps :v:

This isn't the combination of the the menu and hover but the code action has special text that should be stripped. It essentially has a ton of new lines because it includes the full decoration as part of the property name. resolving as dupe of https://github.com/microsoft/vscode/issues/105428


One way relationship problem

Hi All.
I've designed model that contains many One-way relationships.  I tried to generate from XMI jhipter files but I got error:
Found the .jhipster/PersonalDetails.json configuration file, automatically generating the entity
The entity PersonalDetails is being created.
WARNING otherEntityRelationshipName is missing in .jhipster/PersonalDetails.json for relationship with id 2, using personalDetails as fallback
ERROR otherEntityField is missing in .jhipster/PersonalDetails.json for relationship with id 2
Found the .jhipster/Attendee.json configuration file, automatically generating the entity
The entity Attendee is being created.
WARNING otherEntityRelationshipName is missing in .jhipster/Attendee.json for relationship with id 1, using attendee as fallback
ERROR otherEntityField is missing in .jhipster/Attendee.json for relationship with id 1
This is part of my model: https://api.genmymodel.com/projects/_5tUAkDooEeWMccEXBUwABA/diagrams/_5tV1wzooEeWMccEXBUwABA/jpeg
I'm not sure if I'm doing something wrong, or jhipster doesn't support this kind of relationship.
Oh, and I'm using jhipster v2.19.0 installed from npm, and latest snapshot of jhipster-uml from github.

If you look issue #40, we are currently having compatibility issues  with the latest JHipster version. Due to time constraints it wont be fixed before 1 or 2 days. For know, try to use the version 2.18.0 or before. If you use the jhipster-uml from github make sure to use the master branch.

The problem should be solved with 9119064, can you try?

Thanks for your response. I'll try today in the evening and let you know.

There is still a bug out there if you are using the dto option see #1819 for progress on that but.

Ok, problem solved. Entities have been generated properly.
I didn't try with dto for now but I planned to use them in future. I'll monitor the issue you mentioned.
Thanks


Introduce rule engine to make scaling decisions

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/343/
Test PASSed.


Class 'Google_Service_Directory' not found

Hello,
I'm trying to get my server application to add a new forwarding address, and I've read that I need to use the Google_Service_Directory class to do so, but when I create a new class I get a "not found" error.
Can someone help me with this?

Hi @JBerkvens, can you include the code you're using?

include_once "google-api-php-client/vendor/autoload.php";
$private_key_file = '/location/to/secret.json';
$scopes = array('https://www.googleapis.com/auth/admin.directory.group', 'https://www.googleapis.com/auth/admin.directory.group.member', 'https://www.googleapis.com/auth/admin.directory.user');
$client = new Google_Client();
putenv('GOOGLE_APPLICATION_CREDENTIALS='.$private_key_file);
$client->useApplicationDefaultCredentials();
$client->setScopes($scopes);
$service = new Google_Service_Directory($client); //Here I get the error.
$results =<EMAIL_ADDRESS>array())->getMembers();
print_r($results);

This issue may no longer be relevant due to its age. Feel free to re-open.


Is field pgoff of register tr_req_iova ever used for anything?

Can bits 11:0 of register tr_req_iova ever affect a requested translation (or anything else)?
If not, can't these bits simply be always reserved instead of WARL?

Presently its not used by any standard extension. It was present to allow for an implementation to support extensions that may consume the page offset for a decision but they can be made reserved for now.

PR #127


Prompt for Linter and Prettier features

Closes #81
Adds linter and prettier features.

Proposed for v1.5 release.

Landed as 238f346


Don't use matrix when all signatories are user's wallets

Don't use matrix when all signatories are user's wallets.

Don't create matrix room if all signatories are user's wallets
Make matrix room id optional
Don't send matrix events if matrix room id is empty

fix:
https://github.com/novasamatech/nova-spektr/pull/1503

Status verification: ✅


Expose more pub(crate) methods as public or provide traits to override behavior

First off, this is a really well done project. Thank you for all your work.
There is one feature missing that is preventing me from fully scratching my current OAI bits and moving to this project.
I have an OAI service, but I have added new behavior to the SSE event stream to augment the information sent back in the streaming response. Besides just using the data: field in the SSE stream, I use SSE events and comments to provide a more rich description of the server-side state.
You already have the abstractions needed:
https://github.com/64bit/async-openai/blob/main/async-openai/src/client.rs#L493
With this method, you can provide an event handler, which could handle event:, etc.
In my specific case, my output stream would be an Annotated where all the sole data: message are O and all the events and other bits are wrapped by the Annotated wrapper.  Your abstractions already allow get/post to be generic with respect to O.
Would you be willing to extend the client functionality to provide more custom SSE handling?
What would this look like?  I'm not entirely sure. Initially, we could make this method fully public:
https://github.com/64bit/async-openai/blob/main/async-openai/src/client.rs#L402
Later, we could decide if/how to use the trait system.
Thoughts?

If I had a trait like
#[async_trait]
pub trait AnnotatedStream<I, O> {
    async fn create_annotated_stream(&self, mut request: I) -> Result<AnnotatedStream<O>, OpenAIError>;
}

I could then apply that to the Chat object.
One further thing would be needed. I would need to access the underlying client.  We might expose that as via a ClientProvider trait.


Migrate dataset query

We don't need this anymore for MT, viz default is going to be isAuthorSubmitted which is the same as isCanonical for the time being.


feat: implement getRandomValues and randomUUID - resolves #213 and #214

This implements https://github.com/crypto-browserify/crypto-browserify/issues/213 and https://github.com/crypto-browserify/crypto-browserify/issues/214

Any update on getting this merged or looked at?

Any updates? This is important so we can try replace react-native-crypto by crypto-browserify.

unsure about the status of crypto-browserify, I think the project is not maintained TBH. Happy to help maintain if maintainers are active?

@markhughes do you want to maintain a fork? I will be one of many who are interested to use.

@jprichardson , @calvinmetcalf , @ForbesLindesay or @fanatid any assistance?

Hi, two things:

can you move tape update to another PR?
is it possible to leave links to node source code for verification that everything is the same?

Thanks!

Just stopping by to say I would also be eager to see getRandomValues implemented in this library!

Sorry I will fix this PR up later this week, I've been sick and in-out of hospital

Hello @markhughes , any updates on adding randomUUID() to crypto-browserify?

Also curious about when (if 😅) this will be merged in

Hi @fanatid sorry for the delay I've been dealing with some health issues!

can you move tape update to another PR?

Got it out of here, thanks. Not sure how that one snuck in but it was required to run on my computer.

is it possible to leave links to node source code for verification that everything is the same?

Perhaps just the specs?

https://w3c.github.io/webcrypto/#Crypto-method-getRandomValues
https://w3c.github.io/webcrypto/#Crypto-method-randomUUID

Hey @fanatid, @jprichardson, @calvinmetcalf, @ForbesLindesay, @dcousens - you seem like the more recent past contributors in the browserify package. Could we possibly look at this?

Any updates? Is there an alternative package anyone is using?
CC: @markhughes @dcousens

It just needs to be merged. I'm using it for my own projects, but I don't think browserify is maintained like it used to be

Thank you @markhughes, doesn’t seem that anyone is maintaining the library. We forked yours so we can use it indefinitely.
Hopefully someone will take over maintenance here. This library is a recommended webpack 5 polyfill.


Handle timeouts, reconnect

I think we should handle reconnecting in case of a timeout. Perhaps we can send hello on a timer to check the connection status: https://datatracker.ietf.org/doc/html/rfc5730#section-2.3

I think maybe by default we shouldn't try to keep the connection alive, but instead just reconnect if we want to do something and it turns out the connection has timed out? Otherwise we might be keeping connections open to registrars with which we don't have many transactions.

Generally it's probably a better idea to only keep connections active when needed, but since most registries allow you to keep the connection active even if it isn't busy, it seems to be common requirement for registrars to reduce connection re-negotiation as much as possible for the transactions to be faster whenever they happen, even if the connection isn't otherwise too busy.


Add LibreSSL support

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
In the README, it shows this project uses OpenSSL. I'd like to see other SSL options be supported as well. For me particularly, I'd like to see LibreSSL support, which is a more secure forked version of OpenSSL.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Use LibreSSL instead of OpenSSL
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Attempt to link to LibreSSL and fix any incompatibilities as OpenSSL is not completely interchangeable with LibreSSL.
Additional context
Add any other context or screenshots about the feature request here.

PRs are welcomed. It should be pretty easy to add LibreSSL support, since libwebsockets already had support for it.

Not sure how helpful it might be but here's the link to the PR that switched win32-openssh from OpenSSL to LibreSSL: https://github.com/PowerShell/openssh-portable/pull/166/files. Maybe someone can get some inspiration from it.

Since libressl is forked from openssl, ttyd uses few openssl apis directly, it should not be incompatible with libressl, so this issue is mainly upstream aware, you may want to open issue on libwebsockets side if it do not works.
FYI: I've tried to build the latest version of libwebsockets with libressl, but it fails.
[ 28%] Building C object lib/CMakeFiles/websockets.dir/tls/openssl/openssl-server.c.o
/opt/build/x86_64-linux-musl/libwebsockets-4.1.6/lib/tls/openssl/openssl-server.c: In function ‘lws_tls_server_vhost_backend_init’:
/opt/build/x86_64-linux-musl/libwebsockets-4.1.6/lib/tls/openssl/openssl-server.c:511:3: error: implicit declaration of function ‘SSL_CTX_set_ciphersuites’; did you mean ‘SSL_CTX_set_cipher_list’? [-Werror=implicit-function-declaration]
  511 |   SSL_CTX_set_ciphersuites(vhost->tls.ssl_ctx,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
      |   SSL_CTX_set_cipher_list
cc1: all warnings being treated as errors

Since libressl is forked from openssl, ttyd uses few openssl apis directly, it should not be incompatible with libressl, so this issue is mainly upstream aware, you may want to open issue on libwebsockets side if it do not works.
FYI: I've tried to build the latest version of libwebsockets with libressl, but it fails.
[ 28%] Building C object lib/CMakeFiles/websockets.dir/tls/openssl/openssl-server.c.o
/opt/build/x86_64-linux-musl/libwebsockets-4.1.6/lib/tls/openssl/openssl-server.c: In function ‘lws_tls_server_vhost_backend_init’:
/opt/build/x86_64-linux-musl/libwebsockets-4.1.6/lib/tls/openssl/openssl-server.c:511:3: error: implicit declaration of function ‘SSL_CTX_set_ciphersuites’; did you mean ‘SSL_CTX_set_cipher_list’? [-Werror=implicit-function-declaration]
  511 |   SSL_CTX_set_ciphersuites(vhost->tls.ssl_ctx,
      |   ^~~~~~~~~~~~~~~~~~~~~~~~
      |   SSL_CTX_set_cipher_list
cc1: all warnings being treated as errors

So you should be able to provide a LibreSSL release if you've updated your dependency to v4.2 or later for libwebsocket. Noticed you added Windows support, which is awesome. Could you set up using libressl by default to remove the contact CVE exposure and fall back to openssl on for systems that don't have libressl installed? (Enhancment would be to provide warning to install libressl and offer some script command to switch the backend.)


Add torchvision and gym dependencies to test requirements

Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure to update the docs?
[ ] Did you write any new necessary tests?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

What does this PR do?
Fixes #2120.
PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
 Maybe this needs to be mentioned in the Contribution guide then?

ok, mind updating the info as part of this PR?

I've pushed the changes on my PR branch, but they didn't show up here perhaps because the PR is closed. Please update the status of the PR.


ADD: DEFUND Durango PD

Mayor<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Hello,
My name is [YOUR NAME HERE], and I am a resident of Durango, Colorado. We are experiencing a revolution across this country. For too long black lives and BIPOC in general have lived in fear of police departments who act violently with little or no consequence. Attempts at reform and extra training has done little to alter this systemic problem.
As a result I call for immediate defunding of Durango PD. At well over 8 million dollars, their budget accounts for 16% of the general fund for the city. In contrast, the funds allotted  for community services like aide for the homeless,  low income assistance, and youth services are less than 1 million. That’s over 8 times the amount of funding for police versus community services. This is absurd, we need to invest in the wellbeing of the community NOT the police.
Police are not trained to properly deal with most of the calls they answer and often make situations worse, especially when BIPOC are involved. What we need are more mental health professionals, more youth counselors, and more resources for homeless folks and those struggling to make ends meet. Investing so much money in the police shows a priority for maintaining a inequitable status quo, not a commitment toward community enhancement and racial justice.
Americans are crying out for justice. And you all are in a position to make a lasting change in our city. This can not wait, I urge you to address this problem head on and reallocate police funds towards programs that will make a safer, healthier, and more thriving community.
Please don’t wait, act now.
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

Hi [USER]! Thanks for your interest in adding [CITY] to the site. Can you provide more detail about the city budget to make a more compelling argument, showing the disparities in numbers?
Please see our email style guide for some suggestions.
Thank you!

Updated

Reviewing now

Some minor edits:

Mayor<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Council<EMAIL_ADDRESS>Hello,
My name is [YOUR NAME HERE], and I am a resident of Durango, Colorado. We are experiencing a revolution across this country. For too long Black people, Indigenous people, and People of Color  have lived in fear of police departments who act violently with little or no consequence. Attempts at reform and extra training have done little to alter this systemic problem.
As a result, I call for immediate defunding of Durango PD. At well over 8 million dollars ($8,417,771), their budget accounts for 16% of the general fund for the city. In contrast, the funds allotted for community services like aide for the homeless, low income assistance, and youth services are less than 1 million ($921,102). Police have over 9 times the amount of funding of community services. This is absurd. We need to invest in the well-being of the community NOT the police.
Police are not trained to properly deal with most of the calls they answer and often make situations worse, especially when Black people, Indigenous people, and People of Color are involved. What we need are more mental health professionals, more youth counselors, and more resources for homeless folks and those struggling to make ends meet. Investing so much money in the police shows a priority for maintaining a inequitable status quo, not a commitment toward community enhancement and racial justice.
Americans are crying out for justice. And you all are in a position to make a lasting change in our city. This can not wait. I urge you to address this problem head on and reallocate police funds towards programs that will make a safer, healthier, and more thriving community.
Please don’t wait, act now.
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]

👍🏻👍🏻

on it


FIX-#2388: Fixed requirements for omnisci binaries

Signed-off-by: Gregory Shimansky<EMAIL_ADDRESS>
What do these changes do?

[x] commit message follows format outlined here
[x] passes flake8 modin
[x] passes black --check modin
[x] signed commit with git commit -s
[x] Resolves #2388
[x] tests added and passing

@gshimansky what about pyarrow version in requirements.txt?

@gshimansky what about pyarrow version in requirements.txt?

It is not required for omnisci environment but I changed it too for consistency.


Latest Remote Desktop Release Notes Missing

Release Notes Missing
The release notes are missing for the latest version of the Microsoft Remote Desktop client from the Microsoft Store. The current version in the store is 10.2.1815.0. However, the release notes on this page only go as high as 10.2.1810. The Microsoft Store download page for this application points users to the below page for the latest release notes, so I would expect to find them there. Thanks for taking the time to look into it!

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

ID: 67b7b5a4-647e-fee3-6533-6ed88ae45bfa
Version Independent ID: d9102859-0147-346f-8268-6e2a75c8b0b7
Content: What's new in the Microsoft Store client
Content Source: WindowsServerDocs/remote/remote-desktop-services/clients/windows-whatsnew.md
Product: windows-server
Technology: remote-desktop-services
GitHub Login: @Heidilohr
Microsoft Alias: helohr

Microsoft Store now has version 10.2.1817.0.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Make client more async-friendly

See #26 for discussion.
I'll be honest; this is over my head right now. I've never done any Python async stuff. I'd love for anyone with more experience to chime in with thoughts or ideas about how/why to do this.

Well this seems to be split in two parts actually:

Greenthread-style async
EventLoop-style async

Since we are using Python requests (for better or for worse), adding the Greenthread-style async (using gevent) seems to be fairly simple: We just have to first try to use grequests (which patches up classic requests to use gevent for blocking I/O) in ipfsApi/http.py, then fall back to classic requests if that is not available. Users that need async then can simply depend on grequests to have greenthreading enabled for this library.
EventLoop-style async (the thing with callbacks / futures), is a lot harder as it (1) requires actual code change on our side, (2) requires quite some code change inside of requests, (3) requires a main loop (which only part of Python 3.4+ by default). I don't think this is feasible (without lots of uglyness), unless we want to make the library go async-only internally (a blocking interface can still be easily exposed on top of that) and replace requests as a whole while we're at it.
Why to do this? Paralysing requests, using less (one) threads, … Async is just generally more efficient, if you're doing more than one thing at once (that's why people do it in general). For the "script automation"-style case it doesn't matter, but for more "serious" applications it tends to give you much better integration (no need to stuff everything into one big thread callback) and nicer code.

I strongly recommend green threads (gevent or eventlet) over eventloops.

@jbenet: Due to their simpler integration, or because of some other experience/reason?

Yes, events are a major engineering time waster. Even the most ardent
proponents couldn't beat themselves programming with user level
threads/coroutines. (This is anecdotal evidence I collected by asking
several of them.)
Evented code is great for simple FSMs and simple network protocols, but
quickly gets complex as the caller. Hence user level threads/coroutines +
callback handlers where necessary is a happy medium.
On Mon, Aug 15, 2016 at 18:32 Alexander Schlarb<EMAIL_ADDRESS>wrote:

@jbenet https://github.com/jbenet: Due to their simpler integration, or
because of some other experience/reason?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ipfs/py-ipfs-api/issues/59#issuecomment-239949439,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIcobL9pQzw1JarfeR1crv04J-fO9jPks5qgOjugaJpZM4Jky7-
.

@jbenet: The more I read your second answer, the more confused I get. Correct me if I'm wrong: Your basically saying that we should support greenthreads & coroutines and not just callbacks?
To clarify: My first suggestion was about only integrating with greenthread libraries (that are not part of standard python), while my second suggestion was about supporting Python's native event loop adaptor (that can run on top of pretty much any existing event loop OR its own) and coroutine support. Which, by extension, would allow developers using greenthreads to also leverage the library using a bit of glue code (see aioeventlet for an example). I never talked about using some custom I/O event loop such as the (deprecated) asyncore module.

@alexander255 I was mostly talking about events vs (kernel)threads vs {user,green}threads. all that you say sounds good. i haven't used the new coroutine asyncio lib in py3, but image it works well. (though the explicit await is usually a sign of "coroutines added too little too late" to a language)
what i would suggest is: make it easy on programmers. whatever is the easiest to debug will save the most time. people will optimize other parts as they need to, but the most important thing is making sure things work well and robustly for people. (so whatever is most idiomatic and usable to people. that may be either your prop 1 or prop 2 depending on what people like to do in python these days)

Yes, the explicit await is somewhat redundant, but without it you couldn't do things like asyncio.gather or storing a coroutine for later. But your also right that Python was designed for single-core blocking I/O in the 90s and that that legacy definitely is showing.
Based on your "make it easy" suggestion, I'd go with 2 (greenthreading has also been somewhat nichey in Python and with ayncio gaining a lot of traction in the last years, I can't image that to change now). However, since there's no asyncio for Python 2 (and in particular nothing similar to aiohttp), it will need a multiple backend approach unfortunately. :cry:
We will not be able to drop Python 2.7 support for several years unfortunately, but I'll not go out of my way to add support for that legacy platform.

@faisalburhanudin: I have just stumbled upon this great-looking thing by accident and got interested: What was your inspiration in writing this? Why did you (apparently) abandon it? It looks like an important milestone for the Async interface we still never yet had, so it may be useful to us as well.
Regarding usefulness in particular: Would you be willing to license this code under MIT (or similar), in case we can reuse any code for our own asyncio port?
Good job on that library either way! :grin:

I should mention that there is, and has been for a while, a branch of mine with code to implement this.


[Vue warn]: Invalid default value for prop "position"

[Vue warn]: Invalid default value for prop "position": Props with type Object/Array must use a factory function to return the default value.
found in
---> <Notifications>

I think this patch is not published @euvl right?

Nope, will do tonight. It was closed due to annoying Github feature to close issues what start with 'Fix' keyword. Keep forgetting about it.. :-/

that*

Haha, great. Thanks for your great efforts @euvl  😄

Thanks, published in 1.3.2


batch processing w/ exponential backoff

Introduces a new hard limit of 2500 subjects which can be attested with a single invocation of the action.
Subjects are processed in batches of 50 with an exponential delay added after the initial batch is processed:

Batch 2: 7.5 seconds (150ms per attestation)
Batch 3: 15 seconds (300ms per attestation)
Batch 4: 30 seconds (600ms per attestation)
Batches 5-50: 60 seconds (1200ms per attestation)

Thanks! Would be great if this could be pushed downstream to https://github.com/actions/attest-build-provenance


Wake up at location after sleep schedule

Short Description:
Wake up at a given location after the sleep of SleepSchedule is finished.
wake_up_at_location: (lat, long | lat, long, alt | "") the location at which the bot wake up. Note that an empty string ("") will not change the location.
Fixes/Resolves/Closes (please use correct syntax):

Closes #4292 (partially )
Provide some workaround  #3773 (by choosing to wake up at home)

I noted that something removed the Random Pause configuration from the docs. Should I send again?

The random pause is very needed, reset to start point will prevent bot traveling all the world.
So if you can get that part back, will be very good.

Updated the randomPause docs while I was at it. :)

There should be altitude and a GPS noise.

The altitude was already there (even if it wasn't visible in the example configs). The GPS noise is applied automatically in the api_wrapper > def set_position (unless I'm missing something :) ).

Thanks for the pr!


S10 Pro - Base Station Cleaning

Is your feature request related to a problem? Please describe.
With S10, there are 3 soft buttons on the top of the station. In order to clean the base, you can press the Home button for 3s to fill the clean water to the base.
With S10 Pro, there are no button.  The inconvenience is that it normally takes a few rounds of cleaning like that to clean the base. So it will take 10 mins, instead of 2 mins with S10, to clean the base with S10 pro.
Describe the solution you'd like
If there's separated commands for filling and sucking water, that solve the problem.

Thank you.


How to include chained X509 certificates?

I am having chain of X509 certificates, but not able to include them in SP AuthnRequest. I have tried combining all the certificates as mentioned here but with no success. Is there any way to include chained X509 certificates in AuthnRequest?

Hello @jigneshkhatri ,
Did you solved your problem. Can you give me some suggestions?


chore: improve organization of ./devimint

Takes care of #3667. Title and description seem a bit contradictory, I hope interpreted it correctly.

Yeah, and I also ran into problem with the tests. I am still not sure I get what you have in mind exactly.
Do I understand correctly that you would imagine a structure like this?
/tmp/devimint-.../{new_named_dir}/config
/tmp/devimint-.../{new_named_dir}/fedimint-X
If yes, do you have a naming-suggestion for the new dir?


Link new ontology from ActivityPods website

https://github.com/activitypods/activitypods-ontology
See this example for how to do it:
https://github.com/assemblee-virtuelle/website/blob/master/src/pages/ontologies/pair/index.ts
We need to decide if the JSON-LD context will be on the same URI as the ontology OWL file. This is what is done with ActivityStreams. But Solid use a different URL for the notifications (https://www.w3.org/ns/solid/notifications-context/v1 instead of https://www.w3.org/ns/solid/notifications/v1). It depends if we want to publish the ontology as JSON-LD.
Any opinion @Laurin-W ?

I think it's very confusing to serve semantically different information depending on the Accept header you request (context definition vs ontology).
So I strongly prefer the solid appraoch here.
We could still use a rel or so, to link each other if that should be of any use..

Serving a different content based on the Accept header is a very standard functionning, widely used in linked data. We also support this in ActivityPods and SemApps-backend servers.
The problem here is mostly the confusion between the ontology in JSON-LD format (like the one of the PAIR ontology) and the JSON-LD context.

Alright ! So the ontology will need to be located at http://activitypods.org/ns/core to confirm with what we have used until now.
For the JSON-LD context, we could use http://activitypods.org/ns/core-context ?


Volumes cannot be referred to using shorter IDs

When referring to volumes on the CLI, they cannot be addressed using short IDs, like containers and images, only by the full ID:
$ hyper volume create
dc1ec072da927a2b138702a99a26f22557b53941eae78632aeae9260a0c8d25

$ hyper volume inspect dc1ec
[]
Error: No such volume: dc1ec

$ hyper volume rm dc1ec
Error response from daemon: No such volume: dc1ec

$ hyper volume rm dc1ec072da927a2b138702a99a26f22557b53941eae78632aeae9260a0c8d25
dc1ec072da927a2b138702a99a26f22557b53941eae78632aeae9260a0c8d25

Hello @paetling
Current, you can not operate the volume with short ID, but you may try --name to specify a volume name to operate, what do you think?
Thanks,

--name can be useful as a workaround for the moment, but short IDs would
really be more consistent with every other command.
On Tue, 8 Nov 2016, 20:16 Lei Xue<EMAIL_ADDRESS>wrote:

Hello @paetling https://github.com/paetling
Current, you can not operate the volume with short ID, but you may try
--name to specify a volume name to operate, what do you think?
Thanks,
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/hyperhq/hypercli/issues/177#issuecomment-259063525,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAJgi5XQkr1HM5xYz1FnbW5tn1oSEtGGks5q8CG3gaJpZM4KsBYA
.


Aligning Metagenome-assembled genomes to metatranscriptomics libraries command line?

Hi,
I would like to align the list of metagenome-assembled genomes to merged-metatranscriptomics libraries. Please suggest a reasonable command to run MetaGT? I tried the following, but it complains about genome input, maybe because of absolute paths.
nextflow run /media/bioinfoteam/SCRATCH_1TB/jssaini_scratch/github/metaGT/metaGT m -genome '*/media/bioinfoteam/SCRATCH_1TB/jssaini_scratch/Aline_MAGs/Aline_JS_combo/All_MAGs_work_13_Feb/stag_bins/drep_results_90_10/dereplicated_genomes/bakta_derep_mags_results/MAGs_2.5k/*.fa' --transcriptome '*.fastq'
Unknown option: -genome -- Check the available commands and options and syntax with 'help'
And how to open help documentation?  Thank you for your kind assistance.

Dear @JSSaini
Sorry for the late response.
To get available options you can run nextflow run metaGT -profile conda --help. I'll add information to the README soon.
To provide assembled metagenomes the option is correct except you forgot a second dash: --genome
To provide RNA reads I suggest to use --rna_reads option.
If you encounter more problems do not hesitate to contact and send me the error message.
All the best
Andrey


hwloc build issues in packaged tarball

Two things:

The layout of contrib/hwloc seems to have been changed so that there is no longer a src/ folder (in #2558 when it was updated to v2.1.0), so the package-tarball.sh script needs to be updated.
I tried updating the package-tarball.sh script to reflect the new file structure (changing src/ -> hwloc/), but then trying to build Charm++ from the generated tarball seems to do some kind recursive make when building hwloc that errors out. Trying this while packaging only include/Makefile.in and packaging all of the root Makefile.in, hwloc/Makefile.in, and include/Makefile.in (along with the original attempt, which was hwloc/Makefile.in and include/Makefile.in) results in the same behavior.

Does this already affect the 6.11.0-beta1 tarball?

If I change the git add -f line to instead git checkout -- contrib/hwloc/, it fixes the CMake build but breaks buildold.

If I change the git add -f line to instead git checkout -- contrib/hwloc/, it fixes the CMake build but breaks buildold.
Maybe buildold should not subsume hwloc's configure into Charm's and should instead call it from Make like we do for ROMIO.

Yeah, that seems like a good fix. Keeping them decoupled should make things simpler here.

Does this already affect the 6.11.0-beta1 tarball? ie, the tarball isn't buildable?

Yes, although the tarball on GitHub isn't the same tarball as what the script would generate, it's an automatically generated snapshot of the tag.

Fixed


feat: conformance tests opt-out option

What type of PR is this?

/kind feature
What this PR does / why we need it:
A new "SkipTests" field has been added to the conformance test options to opt out of specific tests.
Which issue(s) this PR fixes:

Fixes #1525
Does this PR introduce a user-facing change?:

A new SkipTests field has been added to the conformance test options to opt-out of specific tests.

@howardjohn, @robscott, @shaneutt I created this PR to opt-out of specific tests or test cases. Since it requires a lot of refactoring along all the test suites, I'd like to ask for your feedback to validate the approach. I refactored three different test suites to give an idea of how the tests will look after this PR.

@howardjohn @robscott can you please take a look at this one? It is waiting for early feedback before getting finished 🙏

After discussing with @robscott, we agreed upon scoping down the PR to allow users to skip only tests (and not test cases), as it would have required a vast (and scary) refactoring along all the conformance tests.

Thanks @mlavacca!
/lgtm
/approve


Fix upgrade from non-HA to HA

This PR addresses a few bugs on the transition of a cluster from non-HA to HA.

If one starts an HA transition and never finishes it (calls microk8s.enable ha-cluster on the master node but does not transition the nodes to HA) any refreshes on the nodes will fail if they are following a 1.19+ track.
The upgrade process was not triggered on all nodes.
If the node we call microk8s enable ha-cluster was already on a non-HA cluster that gets upgraded to HA it may have etcd disabled because it may have already transitioned to dqlite. In this case we should not try to take a backup of etcd.

The workaround for all the above is after we remove the node from the cluster via microk8s.leave we snap remove microk8s and reinstall so we join a clean node.

I am merging this @joedborg so we give it a good test. Please review when you have time.


chore: remove New PR workflows as it doesn't work on forks

Backing out of this one. I found a better way to do this in a central place: https://github.com/aspect-build/gh-actions/actions/workflows/projects_cron.yaml

@f0rmiga no need to run CI on this one since its just removing a GH workflow. merge away


Alpha into beta

Description
Merge alpha into beta
Breaking Changes
N/A
JIRA Link
Checklist

[ ] Updated the Readme.md (if required) ?

We need beta changes into alpha. Will make a new branch for this


[SPARK-32723] Upgrade to jQuery 3.5.1

What changes were proposed in this pull request?
Upgrade to the latest available version of jQuery (3.5.1).
Why are the changes needed?
There are some CVE-s reported (CVE-2020-11022, CVE-2020-11023) affecting older versions of jQuery. Although Spark UI is read-only and those CVEs doesn't seem to affect Spark, using the latest version of this library can help to handle vulnerability reports of security scans.
Does this PR introduce any user-facing change?
'No'.
How was this patch tested?
Manual tests and checked the jQuery 3.5 upgrade guide.

Test build #129237 has started for PR 29902 at commit 9281d96.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33854/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33854/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33854/
Test FAILed.

Test build #129237 has finished for PR 29902 at commit 9281d96.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129237/
Test PASSed.

BTW, the K8s IT failures are the followings.
KubernetesSuite:
- Run SparkPi with no resources *** FAILED ***
  The code passed to eventually never returned normally. Attempted 190 times over 3.0032161861833333 minutes. Last failure message: false was not true. (KubernetesSuite.scala:383)
- Run in client mode. *** FAILED ***
  io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at:

BTW, are you saying that there is no change according to the following guideline?

https://jquery.com/upgrade-guide/3.5/

Yes, I checked that guide and looked for self-closing HTML tags that should have content (e.g. <p/>, <span/>, <div/>) and I didn't found any in our UI code. They occur a few times in dataTables library code, but I checked our UI (Spark UI, History Server UI) and didn't find any issue.
I found quite a few <p/>-s in the our docs and I'm checking now if those can be an issue...

Got it. Thanks, @peter-toth .

Retest this please

Test build #129296 has started for PR 29902 at commit 9281d96.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33912/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/33912/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33912/
Test PASSed.

Test build #129296 has finished for PR 29902 at commit 9281d96.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129296/
Test PASSed.

Thanks @dongjoon-hyun for the review. I've checked that the generated docs looks fine too.


Reprojecting requires dev version of reproject

The addition of independent_celestial_slices in reproject was after the last (v0.2) release.

Could you add a warning or exception in the reprojection function stating this?

Fixed in #306


units for workspace_reconcile_scheduling

Summary
Related issue(s)
Fixes #

I think I will add one more case for testing assignment of WorkspaceAPIBindingsInitializer


[WEB] Add Stable-Diffusion in the SHARK web

This commit adds stable-diffusion as a part of shark web.
The V-diffusion model has been disabled for now as it's not working(will raise a different patch with fix).
Add standard output in the web ui.

Signed-Off-by: Gaurav Shukla<EMAIL_ADDRESS>

@powderluv Can you please review and approve?


interface with barometer (MPL3115A2)

When connecting with the Arduino Zero, zero version >=1.6.3 is required (separate number from arduino version).


Update odh-manifest to include openshift-ci images of kserve

odh-manifest under RHODS org needs to be updated to include openshift-ci images of kserve.
Image references needs to be updated at in below file:
https://github.com/red-hat-data-services/odh-manifests/blob/master/kserve/base/params.env

https://github.com/red-hat-data-services/odh-manifests/pull/456


tvOS

Oops maybe Apple TV projects should not be in this repo

https://github.com/azzoor/WWDCTV

Uh same with watchOS

Will allow em for now..


[SPARK-49818] Update E2E tests to use Spark 3.5.3

What changes were proposed in this pull request?
This PR aims to update E2E tests to use Apache Spark 3.5.3 instead of 3.5.2.
Why are the changes needed?
To test the latest Apache Spark 3.5.x.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Thank you, @jiangzho .
Merged to main.

Thank you, @viirya .


Write OSI board report for February, 2018

We owe the OSI board a monthly report for their February meeting on the 8th.

Delivered to board for 2/8 meeting.


Not working on RubyMine 2016.2.3

I'm using RubyMine 2016.2.3 / Build #RM-162.1812.23, built on September 5, 2016.
Railways does not show up at all in the tool windows.
All other plugins I have are JetBrains ("Native") Plugins, is it working on this new build for someone else?

Hi! Thanks for letting me know.
Unfortunately, I will be able to check this only next week. Sorry for the
inconvenience.
On Wed, Sep 14, 2016, 18:40 Shibabu<EMAIL_ADDRESS>wrote:

I'm using RubyMine 2016.2.3 / Build #RM-162.1812.23, built on September 5,
2016.
Railways does not show up at all in the tool windows.
All other plugins I have are JetBrains ("Native") Plugins, is it working
on this new build for someone else?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/basgren/railways/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6vY0RsOLY3m-GkqdboziL66meBYQOTks5qqBVlgaJpZM4J867x
.

Same with the new 2016.2.4 build!
Maybe I should stop updating Rubymine?

Hi, @shibabu . I just downloaded the most recent RubyMine 2016.2.4 (build #RM-162.2032.10, built on September 22, 2016) and Railways plugin 0.8.6 works just fine.

Does your IDE display any errors in Event Log tool window?
Do you have default Rails directory structure in your project? Routes tool window will be displayed only when IDE detects that Rails project is opened.

Hi @basgren, No error on the events log. I did not expect it but when I open an old Rails project, Railways works. But not with the current project, which has the default directory structure and is a Rails Project!

Issue with RubyMine instead, not recognising my project as a Rails one.
Probably it has to do with the use of rbenv for local RubySDK, but didn't investigate further and just deleted .idea/ and restarted the IDE.
Working and as addictive as useful a plugin. Thanks Basil @basgren !

Thank you! Glad to hear that!
Please don't hesitate to contact me if you have any issues or ideas.


Congrats!

Hey! Congrats on the 1.0.0 release! :tada:

Haha, yes. Thanks for the warm welcome! 🎉
BTW semantic releases are not a small thing to grasp for beginners. I got stuck first on a couple of issues with their cli.
Then I got stuck figuring out why my initial commit did not trigger a release. If you ask me, the first push should always trigger a release regardless of the commits involved. But not according to build output. Guess there must be a reason for that behavior.
Now I do not have a README in the npm package page so if you can help with why is that happening, it'll be great.

Yeah, I'm pretty used to semantic-release now so issues don't normally come up for me anymore.
I'm not sure what's up with the README. But try pushing a manual release (see other/manual-releases.md) and see what happens.


Added logic to handle an admin.shopify.com/store host

I've tested this locally in another branch and it solves the issue which was caused by Shopify changing their token content URL structure.


Error

Hi,
I am trying to use your email-sender and I found some errors.
Traceback (most recent call last):
File "email-sender.py", line 165, in
main(sys.argv[1:])
File "email-sender.py", line 154, in main
mailer = MyMailer(config_file, emails_file)
File "email-sender.py", line 36, in init
self.build_emails()
File "email-sender.py", line 40, in build_emails
for entry in self.emails["emails"]:
AttributeError: MyMailer instance has no attribute 'emails'
Could you give me some assistence?
[ ],
Leonardo Carvalho

Hello @CarvalhoLO
probably you are using the tool in a wrong way.
Be sure to use it in this way
python email-sender.py -c config.yml -e emails.yml

If you wanna use it interactively just add -i at the end
python email-sender.py -c config.yml -e emails.yml -i

where config.yml is the config file and emails.yml is the file containing all the email specifications.
With the -i param the software will ask you on a per email basis whether or not to send the message. It will show recipient and subject.

Let me know if I helped you out or not 👍

root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file:  [Errno 2] No such file or directory: 'config.yml'
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
I am trying to use this new codes and terminal gives me that errors.

You need to create a file config.yml and emails.yml based on the examples provided in config.sample.yml and emails.sample.yml.

This email looks weird??? That's because it's sent from my mobile... 😉 ;-)
On Sep 2, 2017, at 10:17 AM, CarvalhoLO<EMAIL_ADDRESS>wrote:
root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file: [Errno 2] No such file or directory: 'config.yml'
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
I am trying to use this new codes and terminal gives me that errors.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Files created and the errors multiply:
root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file:  while parsing a block mapping
in "emails.yml", line 1, column 1
expected , but found ''
in "emails.yml", line 23, column 2
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file:  while parsing a block mapping
in "emails.yml", line 1, column 1
expected , but found ''
in "emails.yml", line 23, column 2
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
root@Lion:/home/leonardo/Desktop/email-sender#

Files created and erros multiply
root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file:  while parsing a block mapping
in "emails.yml", line 1, column 1
expected , but found ''
in "emails.yml", line 23, column 2
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
root@Lion:/home/leonardo/Desktop/email-sender# python email-sender.py -c config.yml -e emails.yml -i
Error loading file:  while parsing a block mapping
in "emails.yml", line 1, column 1
expected , but found ''
in "emails.yml", line 23, column 2
Traceback (most recent call last):
File "email-sender.py", line 230, in
main(sys.argv[1:])
File "email-sender.py", line 219, in main
mailer = MyMailer(config_file, emails_file, log_file)
File "email-sender.py", line 47, in init
self.build_emails()
File "email-sender.py", line 52, in build_emails
tot = len(self.emails["emails"])
AttributeError: MyMailer instance has no attribute 'emails'
root@Lion:/home/leonardo/Desktop/email-sender#

This clearly states there are some errors in the files you created.
in "emails.yml", line 1, column 1```

I suggest http://www.yamllint.com/ to validate the files you create.

Did it work? Let me know if you need further assistance.


I64.min_value() / -1 returns unexpected results

When running:
actor Main
    new create(env: Env) =>
    let x = I64.min_value() / -1
    env.out.print(x.string())

I would expect the value to wrap back around to I64.min_value because
min value = -9223372036854775808
max value =<PHONE_NUMBER>854775807
and -9223372036854775808 / -1 should be<PHONE_NUMBER>854775808
which given the I would expect to be be -9223372036854775808 as it is when I do when I run:
actor Main
    new create(env: Env) =>
    let x = I64.max_value() + 1
    env.out.print(x.string())

Looking at the implementation: https://github.com/ponylang/ponyc/blob/a22e9106969547a300e9ed350337a491387e2cde/src/libponyc/codegen/genoperator.c#L194 we intentionally avoid UB and set the result to 0, same as the x/0 case.
GCC returns INT64_MIN, whereas Clang treats this as UB and optimizes everything out, even if-fwrapv is set. https://godbolt.org/g/tpTrZZ
Rust panics, even if overflows checks are disabled. Using the explicit "wrapping division" returns INT64_MIN. https://godbolt.org/g/Gr2mNC
The best choice I think would be to just change that line in genoperator.c to return INTXX_MIN.

It seems like @mfelsche found that this behaviour is not giving the expected zero on arm and armhf?

... and on windows it seems.

So the inconsistency is only valid for I128 on platforms arm, armhf and on whatever platform appveyor is running on. There is already a comment on this in genoperator.c.
The reason seems to be that the code in make_divmod for detecting overflows is not working on platforms without native 128 bit support. I hope we can get the behaviour to be consistent across platforms somehow.

This looks like something that needs to have the same behavior across all platforms. We should figure out what behavior is needed here.


How to view netopeer2 log on a .log file, command line

How do I view the log in a .log file, and not on the terminal? Is there a way to pipe all these messages into a log file? I tried netopeer2-server -d -v3 | tee -a /var/log/netopeer2.log, but it doesn't work. The message keeps showing up in the terminal and the log file remains empty. How do I make it the server has its own log like syslog

Everything should be printed to stderr, not stdout, which is why your command is not working.

But I don't want it to be printed out to stderr, I want it to print out onto a log file.

Then learn how to do that, these issues are meant for problems with netopeer2, not basic shell commands. Try
netopeer2-server -d -v3 2>&1 | tee -a /var/log/netopeer2.log

Hello. Thank you for answering but I guess I'm not being clear with my question. I am trying to make a netopeer2-server log that automatically appears at bootup. The netopeer2-server will also automatically start at boot up and does not require any further commands on the terminal line.  Kind of like the auth.log. The command netopeer2-server -d does not daemonize and will only prints the current messages and does not update automatically. Right now it seems all of my netopeer2-server messages are automatically directed to /var/log/message via syslogd, and the messages log does update in real time. So I don't know if there is a way to redirect messages from the message log onto my own log, but the problem with that is will it update automatically. Or is there a way to create a netopeer2-server log on boot.

The command netopeer2-server -d does not daemonize and will only prints the current messages and does not update automatically.

I do not understand, what do you mean it does not "update"? Even if it does not daemonize, it works and runs normally. Also, you are right that there is no native way of redirecting all the output to a log but using shell for that should not be a problem.


^equipinfo command

syntax: ^equipinfo vajray+oversoul
Shows:

Awakenings of both cards (or just the base if the inh isn't an equip)
Both AS, including cooldowns
Total stats
Regular ^id stuff like LS and killers and types

Leaves out:

Alt evos
Probably the picture

maybe pdchu syntax of () is better, however if only needing to split on 1 thing, + is much friendlier

maybe pdchu syntax of () is better, however if only needing to split on 1 thing, + is much friendlier


[hotfix][examples] Add zookeeper.connect to usage line

Follow-up to this thread on the Flink user mailing list.

Merging ...

Can you close the issue manually? I forgot to include the close message into the commit

Just noticed that we added the zookeeper.connect to the wrong file. This belongs to the consumer not the producer.
Will fix it.

You're right, sorry. I can fix this right now.

Its fine, I fixed it already and will push a hotfix.

Ok, thanks!


"No database selected" error while creating schema with alternate schema option

Hi @a8m,
When i execute the below API, it is throwing "No database selected" error
client.Schema.Create(context.Background(), migrate.WithDropIndex(true),
		migrate.WithDropColumn(true))

I have my tables spread across multiple schemas and initialize ent client with Alternate schema option.
client := ent.NewClient(ent.Driver(drv), ent.AlternateSchema(ent.SchemaConfig{
		//schema1
                 Table1:   Schema1,
                 Table2:   Schema1,

                //schema2
		Table1: Schema2,
	}))

I am using 0.8.0
Let me know if you need me to file a defect?

Hey @arunjohn99, please see the workaround for this in https://github.com/ent/ent/issues/1564 and also my comment about the contribution and the planned support for this feature.
Closing as this is a duplicate of https://github.com/ent/ent/issues/1564 🙏


ChunkedEncodingError isn't explained properly

The docs  says about ChunkedEncodingError:
class ChunkedEncodingError(RequestException):
    """The server declared chunked encoding but sent an invalid chunk."""

While this true it's highly confusing. What actually happens is that the server did not respond in time so the connection was closed. The solution is to retry the code and attempt again:
    def get(tries=5):
        for n in range(tries):
            try:
                GET call
                return whatever
            except ChunkedEncodingError as e:
                if n == tries - 1:
                    raise e

This has been asked many time over the internet including even here: https://github.com/requests/requests/issues/4484
I recommend adding an optional  argument for the GET call which will specify the tries number and that will be handled by the get call itself. This will avoid this problem and allow the user more control.
meaning that the GET will return the exception only when the max retries has been reached.
If my suggestion is not accepted at least edit the docs and suggest the template of the solution to avoid the problem.

Hi @ron819, while the exception we're wrapping isn't the clearest, it does convey the connection has been broken with the server. The cause of that could be a multitude of things, but is likely the server forcing the connection closed.
requests.exceptions.ChunkedEncodingError: ("Connection broken: error(10054, '')", error(10054, ''))

I don't think it's clear that most users would want to retry in the case of a misbehaving server. Our API for Requests is currently frozen, so changes to the get method are unlikely unless there's significant oversight in functionality. Your example shows this should be easily implementable in 10-15 lines of code in your application, giving your complete control over how it will work. For those reasons, I don't think we'll be adding anything new to the Requests code base at this time.


branch protection impl is based on an api that's no longer supported

https://github.com/softprops/hubcaps/blob/08b7dfea17cccfa7ea0904cdbc2d3c3426cdb250/src/branches/mod.rs#L76-L93
See https://developer.github.com/changes/2017-09-06-protected-branches-preview-end/

I tested out the example with branch protection and it seemed to work just fine against my own repo.  If there is a more subtle issue here then I'd be up for looking at fixing it, but from the description above and linked blog post I'm not entirely clear what it is.


PNPM only?

Can't install, because I don't have a PNPM. What if all my projects and workflow based on YARN and I'm happy with it?
Dictatorship.
Delete and forget.

I've fixed it and now it uses npm by default, and you can easily switch to yarn by going through the documentation steps.

Checked with NPM: it works from the first spin
Great, thanks!


⚠ Processors has degraded performance

In 9d1cdfa, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 42 ms

Resolved: Processors performance has improved in 29fdd73.


Discord Notification: Notify Channel when Issues are Closed.

Enhancement Type
Improve an existing feature
Describe the enhancement
Github Workflows add Discord notification when issues are closed for better visibility.
Acceptance Criteria: Discord receives notifications when users or bot closes issue.

@itzg Thoughts on adding Closed, Reopened, and Deleted messages?

on:
  issues:
    types: [labeled, reopened, closed, deleted]

...
      - name: notify closed
        if: >
          github.event.action == 'closed'
          || github.event.action == 'reopened'
          || github.event.action == 'deleted'
        uses: Ilshidur/action-discord@master
        with:
          args: "[${{ github.event.issue.title }} (#${{ github.event.issue.number }})](<${{ github.event.issue.html_url }}>) has been `${{ github.event.action }}` by `${{ github.event.sender.login }}`"

Yep, I like the idea. Looking at your PR...

PR is merged. Let's see the notification in action as I close this...


Prefix snapml estimators with 'Snap'

Inside autoai_core, estimators are identified by their class name (rather than a full path include the module etc).
While there does not seem to be any limitation on the Lale side related to having multiple estimators with the same class name, it looks like significant changes would be required in AutoAI core in order to handle this, and these changes would propagate all the way up to the top-level interface.
In order to have smooth integration without changing the KaggleBot interface, I propose to simply prefix the snapml esimator class names with Snap. I've tested these changes with autoai_core development branch and everything seems to work nicely.

Then we should also rename the file names, for example, snap_decision_tree_classifier.py.

@hirzel Please review when you have a moment - thank you.

Then we should also rename the file names, for example, snap_decision_tree_classifier.py.

Done!

Looks good, thank you!


NIFI-13429 Correct EncryptContentPGP Packet Detection

Summary
NIFI-13429 Corrects OpenPGP Packet detection in the EncryptContentPGP Processor. Packet detection capabilities introduced in NiFi 1.15.0 relied on attempting to read an OpenPGP Packet from an input stream to determine whether the input FlowFile contained OpenPGP messages from the SignContentPGP Processor. The Bouncy Castle readPacket() method can evaluate some types of input files, such as JPEG images, as containing experimental packet headers, resulting in incorrect content detection and producing invalid OpenPGP messages.
Changes include using a small set of expected packet tags to improve the fidelity of the content detection process.
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[X] Build completed using mvn clean install -P contrib-check

[X] JDK 21

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

+1 LGTM, had to change Set.of() for backport but merging to support/nifi-1.x and main. Thanks for the fix!


New features scheduling

New scheduling features:

add "memory" dataNode type for pastValue
add new APIs with xDashApi handled with the scheduler : setVariable, setVariables, setVariableProperty, executeDataNode, executeDataNodes
With these features, user is able, for example, to describe non-algebraic cycles in the dataflow (i.e. counters) and reset their variables.

Great work Abir. Thanks !


Looking for good soul to help finish it off

Kindly asking for help/advise - struggle to complete coding, anyone would help please?
`from pmk import PMK
from pmk.platform.rgbkeypadbase import RGBKeypadBase as Hardware
import usb_midi
import adafruit_midi
from adafruit_midi.program_change import ProgramChange
from adafruit_midi.control_change import ControlChange
keybow = PMK(Hardware())
keys = keybow.keys
midi = adafruit_midi.MIDI(midi_out=usb_midi.ports[1], out_channel=0)
rgb = (204, 255, 255)
program_change = 0
control_change = 0
!Not sure what value shoud be here!
for key in keys:
@keybow.on_press(key)
def press_handler(key):
    program = program_change + key.number
    key.set_led(*rgb)
    midi.send(ProgramChange(program))

9 keys to be PC, one active at the time, All LED + active diffrent
KEYPAD LAYOUT:
CC  CC  CC  CC
PC  PC  PC  CC
PC  PC  PC  CC
PC  PC  PC  CC
while True:
keybow.update()
for key in keys:
@keybow.on_press(key)
def press_handler(key):
    control = control_change + key.number
    key.set_led(*rgb)
    midi.send(ControlChange(control))

7 keys to be CC, multiple active at the time, ALL LED + active diffrent
while True:
keybow.update()
`

I understand it might be to much to ask.. maybe any good soul will help budget musician with simpler version at least:
Loop through keys and attach decorators.
for key in keys:
# If pressed, send a MIDI note on command and light key.
@keybow.on_press(key)
def press_handler(key):
note = start_note + key.number
key.set_led(*rgb)
midi.send(NoteOn(note, velocity))
# If released, send a MIDI note off command and turn off LED.
@keybow.on_release(key)
def release_handler(key):
    note = start_note + key.number
    key.set_led(0, 0, 0)
    midi.send(NoteOff(note, 0))

while True:
# Always remember to call keybow.update()!
keybow.update()
Change that to push button send midi note, light on - press another button send midi note, light on + disable other LEDs
please help


⚠ Bofrost.de has degraded performance

In c85f885, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1026 ms

Resolved: Bofrost.de performance has improved in 784e75c.