Move all data sources to dustManagedCredentials

This moves all data sources to using our own credentials instead of the users' credentials enabling anybody to create and play with a data source without having to add OpenAI as a provider.
This should greatly improve the single-player experience of "playing with Dust" with my own docs without using managed data sources.
If a data source is used from a developer App then we will use the developer credentials and would error if they haven't set their OpenAI credentials.
Last step before being able to merge, introspect all data sources and check the ones that are not based on OpenAI, but this is otherwise ready for review

We have three data sources that are not OpenAI
202 |    5563 | data                             | {"provider_id":"azure_openai","model_id":"embeddings","extras":null,"splitter_id":"base_v0","max_chunk_size":256,"use_cache":false}

192 |    5406 | ArcanumArchives                  | {"provider_id":"azure_openai","model_id":"text-embedding-ada-002","extras":null,"splitter_id":"base_v0","max_chunk_size":512,"use_cache":false}

 329 |    6401 | sentiment                        | {"provider_id":"azure_openai","model_id":"embedding","extras":null,"splitter_id":"base_v0","max_chunk_size":256,"use_cache":false}

These are the front records for these data sources
 id  |      name       | description | visibility |                                                                     config                                                                      | dustAPIProjectId |         createdAt          |         updatedAt          | workspaceId | connectorId | connectorProvider | userUpsertable
-----+-----------------+-------------+------------+-------------------------------------------------------------------------------------------------------------------------------------------------+------------------+----------------------------+----------------------------+-------------+-------------+-------------------+----------------
 192 | ArcanumArchives |             | private    | {"provider_id":"azure_openai","model_id":"text-embedding-ada-002","extras":null,"splitter_id":"base_v0","max_chunk_size":512,"use_cache":false} | 5406             | 2023-05-25 13:36:31.949+00 | 2023-05-25 13:36:31.949+00 |        5423 |             |                   | f
 202 | data            | Data        | private    | {"provider_id":"azure_openai","model_id":"embeddings","extras":null,"splitter_id":"base_v0","max_chunk_size":256,"use_cache":false}             | 5563             | 2023-06-01 10:47:53.077+00 | 2023-06-01 10:47:53.077+00 |         269 |             |                   | f
 329 | sentiment       |             | private    | {"provider_id":"azure_openai","model_id":"embedding","extras":null,"splitter_id":"base_v0","max_chunk_size":256,"use_cache":false}              | 6401             | 2023-07-04 09:46:23.572+00 | 2023-07-04 09:46:23.573+00 |        7135 |             |                   | f

looking at the number of documents for each of them
Also not sure why we store config in front... but something for another day

They all have 0 or 1 document. I will go ahead and update the provider manually on each of these to openai and be done with it

I'll also send an email to each of these users

Updated the three config in core and front

Emails sent, data sources transitioned


Block hash in anvil and Header.Hash() in go-ethereum are not match

Component
Anvil
Have you ensured that all of these are up to date?

[x] Foundry
[x] Foundryup

What version of Foundry are you on?
No response
What command(s) is the bug in?
No response
Operating System
macOS (Intel)
Describe the bug
Environment
go-ethereum: v1.13.14
foundry: ghcr.io/foundry-rs/foundry:latest
Description
When I use the command eth_getBlockByNumber, I get the following response from the anvil node.
{"jsonrpc":"2.0","id":1,"result":{"hash":"0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0","parentHash":"0x369b01a19a6ffbe010a82adc6fc29d34a47888d9b476d409ef1867b1045e040a","sha3Uncles":"0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347","miner":"0x0000000000000000000000000000000000000000","stateRoot":"0x5fc6d508e43a945f17b535caa40fb1f4b836259bab5019b16034531e8203d598","transactionsRoot":"0x5c6dad443c11e9cc6fcfbd1dcdceb09ed7a4deef2e041de0ba1b12709778430e","receiptsRoot":"0xfa316c79ddf3bc556cd8efe26b4bab92f27e9b64dda0cca321354f83fc590a59","logsBloom":"0x00000000000000000002000000000000200400000000000000000000000000000000000800000000000000000080000000020000000000000000000000240000000000000000000000040008000001000000000240040010000000000800000000000800000000000000000000000020000000000000000000004010000000000000000000000000000000040000000000002000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000002000001080000000000040000000004100000001000000001000040000010000000000000000000000000000001008000000000000000008000000000","difficulty":"0x0","number":"0x16","gasLimit":"0x1c9c380","gasUsed":"0x4cf19","timestamp":"0x6615090d","totalDifficulty":"0x0","extraData":"0x","mixHash":"0x0000000000000000000000000000000000000000000000000000000000000000","nonce":"0x0000000000000000","baseFeePerGas":"0x701d305","uncles":[],"transactions":["0x16d5ef32a1d6a104128c05ee71645777f8ecfb8b72063b033cf4e115ab2d0ca1"],"size":"0x7c0"}}

The block hash from the anvil node is 0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0, but the header hash of HeaderByNumber in go-ethereum is 0x9ccef7404fb79b69399b98a9ae98ddf7e595d8180e21085d432074f62ca4920c.
They are not a match, so I did some tests.
//hash := common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
	header := TestHeader{
		ParentHash:      common.HexToHash("0x369b01a19a6ffbe010a82adc6fc29d34a47888d9b476d409ef1867b1045e040a"),
		UncleHash:       common.HexToHash("0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"),
		Coinbase:        common.HexToAddress("0x0000000000000000000000000000000000000000"),
		Root:            common.HexToHash("0x5fc6d508e43a945f17b535caa40fb1f4b836259bab5019b16034531e8203d598"),
		TxHash:          common.HexToHash("0x5c6dad443c11e9cc6fcfbd1dcdceb09ed7a4deef2e041de0ba1b12709778430e"),
		ReceiptHash:     common.HexToHash("0xfa316c79ddf3bc556cd8efe26b4bab92f27e9b64dda0cca321354f83fc590a59"),
		Bloom:           types.BytesToBloom(common.FromHex("0x00000000000000000002000000000000200400000000000000000000000000000000000800000000000000000080000000020000000000000000000000240000000000000000000000040008000001000000000240040010000000000800000000000800000000000000000000000020000000000000000000004010000000000000000000000000000000040000000000002000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000002000001080000000000040000000004100000001000000001000040000010000000000000000000000000000001008000000000000000008000000000")),
		Difficulty:      new(big.Int).SetUint64(0),
		Number:          new(big.Int).SetUint64(22),
		GasLimit:        30000000,
		GasUsed:         315161,
		Time:<PHONE_NUMBER>,
		Extra:           common.FromHex("0x"),
		MixDigest:       common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
		//WithdrawalsHash: &hash,
		Nonce:           types.EncodeNonce(0),
		BaseFee:         new(big.Int).SetUint64(117560069),
	}
	headerHash := rlpHash(header)

This time the result is 0x9ccef7404fb79b69399b98a9ae98ddf7e595d8180e21085d432074f62ca4920c, it is the same as the header hash of HeaderByNumber.
hash := common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000")
	header := TestHeader{
		ParentHash:  common.HexToHash("0x369b01a19a6ffbe010a82adc6fc29d34a47888d9b476d409ef1867b1045e040a"),
		UncleHash:   common.HexToHash("0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347"),
		Coinbase:    common.HexToAddress("0x0000000000000000000000000000000000000000"),
		Root:        common.HexToHash("0x5fc6d508e43a945f17b535caa40fb1f4b836259bab5019b16034531e8203d598"),
		TxHash:      common.HexToHash("0x5c6dad443c11e9cc6fcfbd1dcdceb09ed7a4deef2e041de0ba1b12709778430e"),
		ReceiptHash: common.HexToHash("0xfa316c79ddf3bc556cd8efe26b4bab92f27e9b64dda0cca321354f83fc590a59"),
		Bloom:       types.BytesToBloom(common.FromHex("0x00000000000000000002000000000000200400000000000000000000000000000000000800000000000000000080000000020000000000000000000000240000000000000000000000040008000001000000000240040010000000000800000000000800000000000000000000000020000000000000000000004010000000000000000000000000000000040000000000002000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000000002000001080000000000040000000004100000001000000001000040000010000000000000000000000000000001008000000000000000008000000000")),
		Difficulty:  new(big.Int).SetUint64(0),
		Number:      new(big.Int).SetUint64(22),
		GasLimit:    30000000,
		GasUsed:     315161,
		Time:<PHONE_NUMBER>,
		Extra:       common.FromHex("0x"),
		MixDigest:   common.HexToHash("0x0000000000000000000000000000000000000000000000000000000000000000"),
		WithdrawalsHash: &hash,
		Nonce:   types.EncodeNonce(0),
		BaseFee: new(big.Int).SetUint64(117560069),
	}
	headerHash := rlpHash(header)

And this time the result is 0xc38eb6be5423170ba3b9253737835e44c2fb2e58c9ff7107685169b1be2329a0, it is the same as the block hash from the anvil node.
So I guess there is something wrong with withdrawals_root: Some(partial_header.mix_hash) in crates/anvil/core/src/eth/block.rs.
By the way, There is no problem in this version ghcr.io/foundry-rs/foundry:nightly-4a643801d0b3855934cdec778e33e79c79971783.
I understand that your team may be busy, but I would greatly appreciate it if you could acknowledge receipt of this report and provide an estimated timeline for resolving this issue. Your prompt attention to this matter would be highly appreciated.
Thank you for your time and assistance in addressing this bug.

It works now in nightly version


updated intellij-idea (2016.2)

Changes to a cask
Editing an existing cask

[x] Commit message includes cask’s name (and new version, if applicable).
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.

Thank you.


Having an issue where as far as i know only ieds dont work

I have primarily only VE mods the only exceptions being; geo landforms, common sense, pick up and haul, and better pawn control. I am using the framework from may 20th, since the new updates cause issues in anomaly with things becoming invisible when they are in holding. I can copy the error if that is helpful but i think the bug is coming from the mod itself or conflicting with another VE mod since none of the other mods mess w security at all.

The error code popped up without it enabled so it could be coming from another mod, perhaps one of the weapon mods. It says it cant find a file named VFECore.CompProperties_Explosive_Shells from node>ii
I really have no clue whats causing the error but it seems like its a VE mod.


docs: use the latest CoC version

👨💻 Changes proposed

Use the latest code of conduct version.

✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

None.

Hey,
GitHub is still providing 2.0. Where did you find those chances? Any resources?

All the versions can be found here: https://www.contributor-covenant.org/

All the versions can be found here: https://www.contributor-covenant.org/

Yes, but I mean when I create a new COC, GitHub is still proving me with a 2.0 template.

Yes, GitHub still uses 2.0, but I think it's best to use 2.1, IMO.
It's up to you. Feel free to either merge or close this PR. 🙂

Hey,
I will stick with what the GitHub is sticking with right now. We will see in future. Thank you for your time.


Depricate seal_random in favor of instantiation_nonce

Switch to use the new instantiation_nonce for missing salts. seal_random will only be provided work for already existing contracts.

deprecate => remove?

How are you testing this new function?

deprecate => remove?

I wrote this with the perspective of pallet contracts deprecating it, but for solang it also makes sense to name it a removal

How are you testing this new function?

This is used in several integration tests. Basically, this code path is taken whenever no salt is in the contract instantiation args.


"CGBitmapContextCreate: unsupported parameter combination" when trying to print

The code that I am using is based on Ayiga's pull request, pull request #15 .
The error, however, comes from BRPtouchPrinter.print, and seems to be caused by bad parameters being passed to a call to CGBitmapContextCreate. Here's the exact error message that I get:

Has anyone else encountered this? The image that I'm sending is ultimately derived from a base64 encoded (image/jpeg) that I get from an HTML canvas.  I haven't changed any of the code that handles the base64 image data received from the Cordova side of the application.
I am printing via bluetooth., and I am testing this on an early-generation iPad Mini. The printer is a QL-820NWB. Aside from changing the default value for the label size, I have not adjusted any kind of configuration for the printer in the code.

the brother sdk requires a bitmap, not jpeg. if their native sdk can convert other formats, great, but i'm not sure...


AGX Orin: Disable network boot in uefi_jetson.bin

Connects-to: https://github.com/balena-os/balena-jetson-orin/pull/441
On particular devices that have been provisioned with the ethernet cable plugged, the UEFI firmware sets network boot with highest priority.
To avoid boot delays of up to 5 minutes, we disable network boot completely, since it's not used in balenaOS anyway.
Change-type: patch

@balena-ci I self-certify!


npm install --save-dev<EMAIL_ADDRESS>

Since a newer version of ember-cli-rails-addon has been released, the README.md documentation needs to be updated to:
npm install --save-dev<EMAIL_ADDRESS>

Thanks for bringing this to our attention. This change was made in https://github.com/thoughtbot/ember-cli-rails/commit/6df3a10be3d8328a89a92c3a01241be359a6861f, and has been merged into master.

Cool!


Typo in butterworthfilter docs

Line 21:
 Cuton frequency (Hz). If cutoff is not specified then this is the highpass corner, otherwise
 if it is lower than cutoff then this is the beginning of the bandpass
 or if it is greater than cuton then it is the end of the bandstop.

Last line should be greater than cutoff

Thank you! This is fixed in #34 .


ph script fails for liab env

panhandler ph script fails for liab env.

Updated script on the ph_fixes branch. Testing on liab with the following command:
curl -s -L | https://raw.githubusercontent.com/PaloAltoNetworks/panhandler/ph_fixes/ph | bash
and it updated the running panhandler instance to the latest and maintained the proper port mapping.
Needs a bit more testing though

fixes added to branch ph_fixes in commit: 14bf2abfe02df2bd6b638ec2104ed1f5b1ec02a4

tested successfully from rich, will pull into dev and merge


build check natively in bazel

The configuration has been copied from a CMake build that I ran in a container from a minimal Dockerfile:
FROM debian:buster-slim

RUN apt-get update\
    && apt-get install -y make cmake clang binutils gcc

WORKDIR /mnt/workspace

CMD ["/bin/bash"]

Testing
libsbp
libswiftnav
gnss-converters-private
JIRA
https://swift-nav.atlassian.net/jira/software/projects/BUILD/boards/227?selectedIssue=BUILD-645

Looks great.
Before we merge this we'll need to figure something out for aarch64-darwin and x86_64-darwin.
If we could figure out some way to fall back to continuing to use the cmake build on those platforms I think that would be fine for now.

@isaactorz I've updated my libsbp PR to fall back to cmake build on mac. I've yet to successfully build libswiftnav and gnss-converters-private this way, but I leave that for tomorrow.


Remote includeos cant be found.

Hello,
the remote includeos cant be found. i did everything like in the "Getting started" described...
maybe there is some fault in the config or the profiles??
OS: WSL2 (Debian Stretch)
flow@lightmachine:~/temp/hello_world$ sudo conan install . -pr ~/.conan/profiles/clang-6.0-linux-x86_64
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=clang
compiler.libcxx=libc++
compiler.version=6.0
cppstd=17
os=Linux
os_build=Linux
[options]
[build_requires]
*: binutils/2.31@includeos/toolchain
[env]
CC=clang-6.0
CFLAGS=-msse3 -mfpmath=sse -O2 -g
CXX=clang++-6.0
CXXFLAGS=-msse3 -mfpmath=sse -O2 -g
ERROR: Version range '>=0.14.0,include_prerelease=True' from requirement 'includeos/[>=0.14.0,include_prerelease=True]@includeos/latest' required by 'conanfile.txt' could not be resolved in local cache
flow@lightmachine:~/temp/hello_world$
flow@lightmachine:~/temp/hello_world$ sudo conan search -r includeos
ERROR: No remote 'includeos' defined in remotes

Ok i have now new infos. and i dont like that behavior of conan...
if i run
flow@lightmachine:~/temp/hello_world$ sudo conan config install https://github.com/includeos/conan_config.git
i cant later find the remotes via tghese commands:
flow@lightmachine:~/temp/hello_world$ sudo conan search -r includeos
so that does mean you have to be aware if you run it with sudo or without... cause it depends on the user where it finds the files... they are in home and not somewhere global..

This adds a remote that has either been disabled or removed. The dependencies (built by includeos team) are not available anymore.

Is this project still maintained then, or has it gone off the radar? I noticed that the links to prebuilt binaries was also broken.

It has gone off sadly.

That's a shame. I'm actually trying to get it to build but I'm no Conan expert and that too seems borken. Of course, reliance on a lot of external packages is always a risk and in the case of IncludeOS it appears to be a death sentence.

There has been work towards going back to the CMake build system, and that will probably happen on a fork anyway. InludeOS is dead, but the code is open and someone can continue the work if they want to. I think that if I were to restart work on IncludeOS, I would probably remove musl and put back newlib. Still have C++ exceptions, but no threads and no bloated binaries.

The reason the conan packages can't be found is that they appear to have been stored on bintray which JFrog shut down in 2021.  Unfortunately, I'm not aware of any alternatives other than the official Conan Center.
If you are still keen on building IncludeOS, I suspect you should still be able to use the conan dependencies by going through each of the dependencies here and running something like "conan export . GSL/2.0.0@includeos/stable" in the directory containing each conanfile.py (Make sure you change the package/version name as appropriate).
Then, add --build=missing to the end of your conan install .... command.
Note that I haven't tried this, but I think the theory is sound ;-)


speed up loading manga covers (maybe tachidesk specific)[FEATURE]

Is your feature request related to a problem? Please describe.
as it is right now i can't actually load my whole tachidesk library because of how it loads one at a time
i have ~400 manga on tachidesk when clicking explore on tachidesk i get maybe a dozen before it fails
and what does load takes ages as it is doing every manga one by one rather than asynchronously
Describe the solution you'd like
either lazy loading the images or just doing all the requests simultaneously (tachidesk can handle it)
Describe alternatives you've considered
none
Additional context

#455 partially solves it, but:
I think #330, #332 and #338 will be more inline with what you are expecting as it won't be straight up import but will offer the option to navigate/select entries more easily.
The "Explore" tab might be confusing and should probably renamed, the intent is to show mangas that are featured (or the latest releases) on the source. Like if you want to read something new but you aren't inspired you'd check this tab.
But out of laziness I decided that Komga and Tachidesk should display their whole collections until those PR are closed.
Once #330 is complete:

"Exploring" Tachidesk will probably only shows what's in api/v1/update/recentChapters
and Komga's /api/v1/books/latest

my latest pr #457 has solved this issue
it's now blazing fast at loading tachidesk manga


import tensorflow_addons as tfa fails with tensorflow-gpu==2.0.0-beta0

System information

TensorFlow installed from (source or binary): colab

TensorFlow version (use command below): !pip install tensorflow-gpu==2.0.0-beta0

TensorFlow Addons installed from (source, PyPi): colab

TensorFlow Addons version:!pip install tensorflow-addons

Is GPU used? (yes/no):yes

GPU model (if used): colab

Describe the bug
when i run the following code , it crashes
Code to reproduce the issue -- in colab
from future import absolute_import, division, print_function, unicode_literals
!pip install tensorflow-gpu==2.0.0-beta0
!pip install tensorflow-addons
import tensorflow_addons as tfa
`---------------------------------------------------------------------------
NotFoundError                             Traceback (most recent call last)
<ipython-input-4-8e92e93ce06e> in <module>()
----> 1 import tensorflow_addons as tfa

3 frames
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/load_library.py in load_op_library(library_filename)
     59     RuntimeError: when unable to load the library or get the python wrappers.
     60   """
---> 61   lib_handle = py_tf.TF_LoadLibrary(library_filename)
     62
     63   op_list_str = py_tf.TF_GetOpList(lib_handle)

NotFoundError: libtensorflow_framework.so: cannot open shared object file: No such file or directory`

Thanks for tracking this @flobotics! We're waiting for this issue and a few others to get patched:
https://github.com/tensorflow/tensorflow/issues/29540
We were told there should be a beta1 release in the next few days. Once that happens we'll quickly release a 0.4 which should be compatible with tf2-beta (and most likely the nightlies as well)

ok, thx

We can leave this open until it's fixed. Other's may have the same question :grin:

ok

i have the same issue

just info, tensorflow-gpu==2.0.0-beta1 is available

Verison 0.4 built against tf2-beta is now released!
https://github.com/tensorflow/addons/releases/tag/v0.4.0
https://pypi.org/project/tensorflow-addons/0.4.0/#files


Fix GetWindowsAccentColor() and ...

Fix GetWindowsAccentColor()
The previous modification seems not working well (Sorry~).
Fix DataGridView's column header's transparent background color
The DataGridView's column header uses the Windows accent color (which could be semi-tranparent) as its background color, and when re-rendering the colomn's, the column header becomes somehow "see-through":

Maybe Environment.OSVersion is a better way to get WindowsVersion() rather than reading Registry?

Maybe Environment.OSVersion is a better way to get WindowsVersion() rather than reading Registry?

IIRC, In .NET Framework, Environment.OSVersion is broken. You can't get correct OS version or build number within library. (source)
This behavior is fixed in .NET 5. Since this library should support .NET Framework, reading registry is the only reliable way to get correct OS information.


Incompatibility with CarryOn mod

Mod loader
Fabric
Minecraft version
1.20.1
Woodwalkers version
5.3.2
CraftedCore version
5.5
Modloader version
0.16.5 Fabric Loader, 0.92.2 Fabric API
The latest.log file
latest.log
Issue description
When using the CarryOn mod with Woodwalkers installed, When picking up another player, rather than placing the Grabbed player in front of the Grabbing player, they are instead placed sort on top of but still inside of the Grabbing player. This is visually annoying but also causes problems due to the fact the hitboxes intersect and the Grabbing player cannot place the Grabbed player down themselves.
Installed Mods:

Woodwalkers 5.3.2
Carry On <IP_ADDRESS>
Carpet Mod 1.4.112+v230608
CraftedCore 5.5
Fabric API 0.92.2+1.20.1
Mod Menu 7.2.2

Intended Result:

Actual Result:

Steps to reproduce

Start Game
Go to World (Whilst these steps use the Carpet Mod to spawn a fake player, this is present in a true multiplayer environment as well)
Spawn Player with Carpet Mod or have a player in a multiplayer world (ex: /player Alex spawn)
Attempt Pickup with CarryOn Mod
Player is picked up but is placed inside of the player model rather than in front like it is supposed to with CarryOn

Other
No response

fixed as of 2cc4696e9e75a319744f1672353a738f468021d2.


is there a way to format json middleware response

I'm using express app with express.json() middleware, and I wonder if there is a way to control the way this middleware respon, what is happening right now is: if there is a request with a body that can't be parse it just return an html response with the callstack on it, it would be nice if I can capture those errors and send a response with something like: { msg: 'Bad format'}

Hello! So whay you want to do in this case is to create your own error handlijg middleware that performs whatever type of error handling and/or response generation that fits your needs. You can find the docs on this here: http://expressjs.com/en/guide/error-handling.html
You can also find the docs on the errors created during body parsing and what type of information is on them here: http://expressjs.com/en/resources/middleware/body-parser.html#errors

Here is a simple example based on your original description:
app.use((err, req, res, next) => {
  if (err.type === 'entity.parse.failed') {
    res.status(400).json({ msg: 'Bad format' })
  } else {
    next(err)
  }
})


made it to work with single ipython notebook, probably older version.

had a problem converting workbook of cs231n assignment1. so I made it work for it

Thanks for the PR. Would you mind addressing my comments on it? Then I can merge it in.

what comments?

i converted the assignment1 of cs231n
https://www.stanfordterminalcloud.com/snapshot/49f5a1ea15dc424aec19155b3398784d57c55045435315ce4f8b96b62819ef65
http://cs231n.github.io
the command like 2to3 -w in that directory worked fine. just had to add latin1 in the loader. pickle.load(f, encoding='latin')

you can. see yourself the files are similar but different seems like of an older version.
maybe it is possible to detect older version if there are no worksheets then also to not require language=python if then

I'm not quite sure what you mean. But I agree, it can be pretty easy to just check "if 'worksheets' not in json" then to proceed without the worksheet extraction. But then this logic should be in the original file.

yes i'm kind of with you on the idea of single file
On Tue, Dec 27, 2016 at 6:57 AM, Vladimir Feinberg<EMAIL_ADDRESS>
wrote:

I'm not quite sure what you mean. But I agree, it can be pretty easy to
just check "if 'worksheets' not in json" then to proceed without the
worksheet extraction. But then this logic should be in the original file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vlad17/IPython-2to3/pull/1#issuecomment-269269989,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATMYBCmzlSXIlMPrdhuRZwohsf2E0LXks5rMJrUgaJpZM4LTsEv
.

made the changes

look now

look

Unless you plan on adding automated testing, there's no need to have the testing files directly; we can have manual testing for now, but without random test files. Please remove them, and then we can merge.

yes tested it works well

Yes, manual tests are good, but please REMOVE the *.ipynb files from the PR. They are confusing, large, and difficult to maintain - only keep the ipy2to3.py file.

if i remove them how would you test it later?

It is hard to run manual tests, especially with files they aren't familiar with. The new files, as I mentioned, are also large and add clutter, regardless of their use in testing. If you really want them there, I suggest adding them through an automated unit testing framework. But that really seems like overkill to me. This should just be a simple script.

how do you suggest to develop tests?

Nice, thank you!


Lupusec2Mqtt: No such file or directory

I installed the plug-in in Homeassistant Supervisor and adjusted the config.
after the addon was started, it ends after a few seconds,
Addon Log:
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/run.sh: line 6: ./Lupusec2Mqtt: No such file or directory
[cmd] /run.sh exited 127
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Hi,
What architecture you are using? Raspberry, NAS (arm based or intel) or other?
Best regards,
David

I'm using Raspberry Pi 4 with 32BIT Homeassistant OS

Ah looked into all my boxes and I found only a Raspberry Pi 2 which is apparently not compatible with Homeassistant OS.
Do you have the possibility to connect to you Raspberry with ssh and execute "docker images"? If yes can you say what version of the docker image you have, ex. my docker image is: cyberdns/lupusec2mqtt_hassaddon_amd64    1.0.2

My Docker Image is: cyberdns/lupusec2mqtt_hassaddon_armv7      1.0.2

I have put a new version 1.0.3 that adds some libraries for ARM architecture.
Can you update and give it a try?

CMD Docker Image says Version 1.03 now.
Log of the AddOn show an other error mow.
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] done.
[services.d] starting services
[services.d] done.
/run.sh: line 6:   193 Illegal instruction     (core dumped) ./Lupusec2Mqtt
[cmd] /run.sh exited 132
[cont-finish.d] executing container finish scripts...
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
[s6-finish] sending all processes the KILL signal and exiting.

Thanks. Ok I think I need a Raspberry Pi 3 or 4 do do further testing.
Will come back to you when I have news.

Found another way to use the microsoft base images and not the homeassistant ones.
Now the image is working on my old Rapsberry Pi 2.
I published a new version (1.0.4), you can give it a try.

Thx, but now i cannot download the Docker Image via Add On Store, Error Message:
Failed to install addon
404 Client Error for http+docker://localhost/v1.40/images/create?tag=1.0.4&fromImage=cyberdns%2Flupusec2mqtt_hassaddon: Not Found ("pull access denied for cyberdns/lupusec2mqtt_hassaddon, repository does not exist or may require 'docker login': denied: requested access to the resource is denied")

Yes, my fault. The arch variable was missing in the config.json file.
You can give it another try. Probably you have to uninstall (copy/paste your options) or at least reload the repository.

Thx, it works now ! Very good :-)
I tested following:

Alarm Control Panel is working

Door / Window Sensors are working

Motion Sensors are always off in Homeassistant, but i see on the XT2 that there is Motion detected.

Glad to hear that it is working now. For the motion sensors it is for the moment the "normal" behaviour because I didn't yet finish the status detection (only config).
Probably I will look into it in the next days, I have a lot of motion sensors, too, but I never took the time to integrate them.
I will open a new issue for that on the Lupsec2Mqtt repository.


CredentialPanel: optionally trigger browsers password save mask (#104722)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.001%) to 99.648%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
12498

Relevant Lines:
12500

💛  - Coveralls


Fix pinterest regex

Fixes Pinterest regex
Some Pinterest videos now have a new format:
https://pinterest.com/pin/dive-into-serenity-blue-lagoon-pedi-nails-for-a-tranquil-and-refreshing-spa-experience-video-in-2024--2885187256207927
closes #10850
Template

Before submitting a pull request make sure you have:

[x] At least skimmed through contributing guidelines including yt-dlp coding conventions
[x] Searched the bugtracker for similar pull requests

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

What is the purpose of your pull request?

[x] Fix or improvement to an extractor (Make sure to add/update tests)
[ ] New extractor (Piracy websites will not be accepted)
[ ] Core bug fix/improvement
[ ] New feature (It is strongly recommended to open an issue first)

LGTM. Thanks for adding the test.
In the future, please make sure this is accurate:

In order to be accepted and merged into yt-dlp each piece of code must be in public domain or released under Unlicense. Check all of the following options that apply:

[x] I am the original author of this code and I am willing to release it under Unlicense
[ ] I am not the original author of this code but it is in public domain or released under Unlicense (provide reliable evidence)

Not a big deal this time though since it was my patch.

Ah my bad, missed it.
Thanks for pointing out.
Will take care of this next time onwards

Any update when the pull request will be approved?


Add notifications via streams when sagas have completed

This is now straightforward through using the context within a final activity.


Add keyboard shortcut

Great work here!
This PR adds a keyboard shortcut ⌘+' to trigger the Form Filler, as well as an option to toggle that functionality with the default value being true.

The built-in keyboard shortcut functionality of Chrome already provides this feature. You can go to Settings > Extensions > Keyboard shortcuts (bottom right corner) and configure a keyboard shortcut for not only Form Filler, but any other extension you have installed.
Since this feature is already provided by Chrome, I don't think it is necessary to program one. Perhaps the Form Filler settings could educate users of this feature instead. What do you think?

I didn't realize Chrome had that functionality.
Good to know for Form Filler and other extensions as well.
I'll leave that up to you - if you think it needs spelled out and described, go ahead.

Closing this without merging. Chrome now allows setting default keyboard shortcuts and another pull request has been merged that adds that setting.


"No Mixfile found in project" when building script with Mix.install/2

Elixir 1.12 / OTP 24
When creating a new .exs project using Mix.install instead of a standard mix project, ElixirLS shows an error "No mixfile found in project"
With the new ability to load dependencies in the exs file itself, Elixir LS should be able to detect dependencies included in the script

Duplicate of https://github.com/elixir-lsp/elixir-ls/issues/307


Timeout settings not applied to sentinel connection

Expected behavior
The connectionTimeout and soTimeout arguments in JedisSentinelPool constructor are applicable to all connections (connection to Sentinels, and Master).
Actual behavior
The connection timeout of Sentinel connection is 2000 ms regardless of connectionTimeout and soTimeout value. Is this purposely designed or a bug?
Steps to reproduce:

Prepare non-routable address for timeout simulation, e.g. <IP_ADDRESS>:26379
Set the connection timeout to 10000 ms
new JedisSentinelPool(masterName, nonRoutable, config, connectionTimeout)
Observe the actual timeout, it will happen after 2000 ms instead of 10000 ms

Redis / Jedis Configuration
Jedis version: 2.7.2
Redis version: 3.2.4
Java version: 1.8.0

@HeartSaVioR ^?

+1

Resolved by #1943


high-level goal: login system

Login/logout works and is reliable - I can store a random value in the cloud and the data is sync'd

A reliable sync is not implemented yet, but login in itself is working.


Roll engine<PHONE_NUMBER>ff..113be249ddcf (1 commits)

git@github.com:flutter/engine.git/compare/2289072724ff...113be249ddcf
git log<PHONE_NUMBER>ff..113be249ddcf --no-merges --oneline
2019-09-18<EMAIL_ADDRESS>Update ExternalViewEmbedder class comment. (flutter/engine#11063)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md

Auto-roller completed checks. About to merge.


Use Github Pull Request Template

It would be really cool if the editor used the repo defined pull request template when submitting a PR/stack

This is already supported. It should pick up the GitHub's template if defined in one of the following paths:

./PULL_REQUEST_TEMPLATE.md
./.github/PULL_REQUEST_TEMPLATE.md
./docs/PULL_REQUEST_TEMPLATE.md

Both PULL_REQUEST_TEMPLATE.md and pull_request_template.md are supported. Can you check where your template file is located?

Ah okay, do you need the aviator token set up for it to work?

No, not this one.

Awesome, it works when I moved it to one of those spots. Thanks!


Evaluate Subject Area structure and recommend improvements

User Story
As a user of find moj data
I expect to have comprehensive coverage of subject areas, with all data mapping to a subject area
So that i can browse all available data via the subject area route
Value / Purpose
We currently have gaps in our subject areas becoming more apparent as we are bringing in data from more areas after the initial ingestion of create-a-derived-table datasets.
This is because we have, up until now, created domains to mirror the structure of cadet. This is becoming unfit for purpose as we ingest more metadata.
There are two main issues with the current structure:

We have no way to effectively assign broader reaching data to a subject area, e.g. data that covers both prisons and probation or courts and tribunals.
Where data for an area don't exist at all in cadet, in some cases we have no domain to assign data from other sources. e.g. Legal Aid Agency and re-offending data.

The structure should aim to cover the majority of gaps, addressing the issues above.
We should consider bringing back the initial domain/subdomain structure we had before the current one as it is not possible to assign data to more than one domain in datahub (and domain maps to subject area in find-moj-data)
Useful Contacts
No response
User Types
No response
Hypothesis
No response
Proposal
To generate an improved subject area structure to share with interested parties (initially DIP and DMET) and gain an agreement for implementation.
We should explore and document options to better assist the discoverability of data via subject areas:
potentially:

exploring a different set of domains and intrducintg a tiered approach where domains could be inclusive of sub-domains, e.g HMPPS >> [Prisons, Probation]
Have a flat list of domains which are more broad than the current set, and then use tags to  set a more specific subject area for each entity.

Once agreed we'll need to think about the plan for technical implementation (a separate issue)and likely moving away from cadet being the source of domains.
Additional Information
No response
Definition of Done

[ ] Generate options for new and improved subject area structure
[ ] Agree approach with the internal team
[ ] Setup meeting to present and agree with wider interested parties

Previous taxonomy with subdomains: https://github.com/ministryofjustice/find-moj-data/pull/99/files

These are the GOV.UK subject areas in use by statistical publications

Crime Justice and Law

Justice system transparency
Prisons and probation

Multi-agency public protection arrangements (MAPPA)

Legal aid
Reoffending and rehabilitation
Family justice system
Courts, sentencing, and tribunals
Criminal justice reform
Victims of crime
Legal aid reform
Policing

The full list of subject areas within Crime Justice and Law:

Administrative justice reform
Attorney General guidance to the legal profession
Byelaws
Civil justice reform
Counter-extremism
Counter-terrorism
Courts, sentencing and tribunals
Crime prevention
Criminal justice reform
Criminal record disclosure
Data protection
Domestic abuse
Family justice system
Forced marriage
Justice system transparency
Knife, gun and gang crime
Law and practice
Legal aid
Legal aid reform
Policing
Prisons and probation
Reoffending and rehabilitation
Reporting crimes and getting compensation
Sentencing reform
Statutory rights
Victims of crime
Violence against women and girls
Young people and the law
Your rights and the law

Justice data breaks up legal aid like this

Legal aid data

Crime lower
Crime higher
Legal help
Civil representation
Mediation
Exceptional case funding

Quick review of what's in general now

Lots of legal aid stuff
common_lookup tables
lookup tables specific to the criminal justice system (HO offense codes)
common dimension tables (bank holidays)
Contracts stuff
Property lookups
Population data
Various charts related to crime and the courts
Probation stuff
Data about solicitors
Greening Government Commitments
Youth custody service (distinct part of HMPPS)

There still seems like a need for some kind of general category containing lookup data, population statistics, common dimensions etc. but it should be better named and not cluttered with uncategorised data.
Adding a legal aid subject area back in is a no brainer.
Greening government commitments data feels like it belongs in a HQ/corporate subject area.

Slide deck with options/recommendations - https://justiceuk.sharepoint.com/:p:/r/sites/DataCatalogue/Shared Documents/Show %26 Tells/Find MoJ data subject area taxonomy update - Dec 2024.pptx?d=wac2ac8afa0954ee286d7ac87906808db&csf=1&web=1&e=PelSf6
I still need to work through how we would practically migrate to the new approach.

Agreed approach
We can split the problem into two:

The categorisation system is too inflexible
The subject areas themselves need improving

To address 1, we are proposing to ditch datahub domains and use tags instead. We will start by reimplementing the current design using tags (e.g. we will set tags for the subject area when ingesting, and we will filter by tag instead of domain when searching). We will need another spike for this to prove it is technically feasible.
Once we have switched to this system, we can introduce subtopics as additional tags, allowing users to click on a broad subject area, see results, then refine their search further. Mock this up for the slide deck.
Before closing this ticket, check if there is additional metadata we can associate with a tag besides its name. We are wondering if we need to store which tags are subject area tags in a YAML file, or if we can fetch this from Datahub.
I'll produce a smaller slide deck covering this part which we can show to stakeholders.
To address 2, I'll do one more pass over the proposed subject areas based on team feedback, then we will do some user research to validate these.

Documentation for the tag entity in Datahub: https://datahubproject.io/docs/generated/metamodel/entities/tag

You can give it an owner
You can give it a colour

We could use the colour to improve usability within Datahub but it doesn't look like we can bring back all tags with a certain colour or anything like that.
It looks like it would be easiest to query all the tags, and then filter the list in Find MoJ data as appropriate. We can define a list of top level / other subject areas in the settings.py.

Slides for presenting the domain -> tag change to stakeholders
https://justiceuk.sharepoint.com/:p:/r/sites/DataCatalogue/Shared Documents/Show %26 Tells/Find MoJ data more flexible subject area taxonomy - Dec 2024.pptx?d=w4c95ae42ce6c42008b6455d55526d305&csf=1&web=1&e=HnabWL


Cannot silence statuses on_complete_notify

HI I have a custom template that looks like:
return {
    name = 'run_python',
    builder = function()
        local file = vim.fn.expand('%:p')
        local cmd = { 'python' }
        return {
            cmd = cmd,
            args = { file },
            metadata = { run_cmd = string.format('%s %s', cmd[1], file) },
            components = {
                'default',
                { 'on_output_quickfix', tail = false, open = false },
                { 'on_complete_notify', statuses = { 'FAILURE' } },
            },
            default_component_params = {
                errorformat = PYTHON_EFM,
            },
        }
    end,
    condition = {
        filetype = { 'python' },
    },
}

I want to avoid having a SUCCESS notification. However, as it can be seen in the GIF, when I call the above template I still get such notification. Clearly I'm doing something wrong but cannot figure out what it is. Thanks in advance.

Yep, first let me explain how you can debug what's happening, or at least rule some things out. The first thing I would think of is "what are the actual values on the component?" We can use that to determine if it's a bug in the component or an issue with setting the values. There's two ways to do this.
First: open the task list with :OverseerOpen. Now you can either show the maximally detailed view of the tasks by pressing <C-l> twice (there are three detail levels. <C-h> decreases the detail level), or you can edit the task by selecting it (<CR>) and choosing the edit action. This will open a read/write view of the task and components.
You'll notice that the list of statuses shows both SUCCESS and FAILURE. So it's not a bug in the component, it's an issue with setting the correct parameters.
From here, I will admit there's not a great way to figure out what's happening without some trial-and-error. One thing you could try is inlining the default components. If you look at the docs on setup options you'll find the default values for the default component alias:
components = {
    { "display_duration", detail_level = 2 },
    "on_output_summarize",
    "on_exit_set_status",
    "on_complete_notify",
    "on_complete_dispose",
    { 'on_output_quickfix', tail = false, open = false },
    { 'on_complete_notify', statuses = { 'FAILURE' } },
}

Okay, so on_complete_notify appears twice. What happens if we get rid of the duplicate?
components = {
    { "display_duration", detail_level = 2 },
    "on_output_summarize",
    "on_exit_set_status",
    "on_complete_dispose",
    { 'on_output_quickfix', tail = false, open = false },
    { 'on_complete_notify', statuses = { 'FAILURE' } },
}

aaaaand it works now. What's going on?
Well, if you add a component to a task twice one of two things is going to happen: either the first component "wins" or the second component "wins" (or we throw an error, but I opted to not do that). For overseer, I decided that the adding a duplicate component should no-op, so the first component has priority.
So the final answer to your question is: if you want to set specific components on a task, specify them before you add the default component alias.
components = {
    { 'on_complete_notify', statuses = { 'FAILURE' } },
    "default"
}


docs(v2): fixed broken link in sidebar documentation

Issue
The Sidebar Object Section contains a statement:  greeting and doc1 are both sidebar item.
Here the sidebar item links to broken URL ie. https://v2.docusaurus.io/docs/sidebar#sidebar-item

Fix
Updated the link with https://v2.docusaurus.io/docs/sidebar#understanding-sidebar-items
Have you read the Contributing Guidelines on pull requests?
Yes.

LGTM, just need the CLA signature bot check

@slorber can you please review now, thanks in advance!

@covalentbond thanks!

hey @slorber @lex111 , I just had a question. We were migrating our Docs from Vuepress to Docusaurus and have over 200 markdown files in each 18 versions. So we do not want to modify every markdown files with Front matter like these:
---
id: greeting
title: Hello
---

Is there any way possible that we can change the title/sidebar_label of the files from sidebar.js only.
But adding label to a type: 'doc' like shown below, doesn't seem to work and give error Unknown sidebar item keys: label:
{
  type: 'doc',
  id: 'doc1', // string - document id
  label: 'This is Doc 1'

}

label only seem to work with type: 'category'. Is there any way we can achieve adding sidebar_label or title from sidebar.js


Inference on raw text or .txt file

Hi, thanks for your work first !
I have seen few issues which are technically asking for the same thing (i.e. inference on raw text)
Any updates on this issue would be appreciated
Thanks

first step is to preprocess data for Bert so you will need to split your incoming source text  into list of words. then you can pass this to the Bert and set mask_seg as None which is the attention mask which is calculated using greedy search but it needs target summary which we don't have at inference time so simply set it to None and use the prediction method for model loading and beam search part.

@aichunks
Thanks for reply !
Your answer would be hugely helpful when it come to BertSumAbs but at the moment I am looking for a direct way for BertSumExt
I have made myself as follows for the time being:

covert raw text into json format
run preprocess.py format_to_bert
run train.py test_ext without calculating and printing ROUGE score

I have combined all three steps in a single python file but I think this way too slow and messy
Further comments from anyone would be appreciated

Even I'm facing the same issue. Let me know if anyone know the solution to this issue or any other way to preprocess the data


NIFI-2767 Periodically reload properties from file-based variable registry properties files

There's one implementation decision I'm curious to hear comments on: If the schedule property is blank or 0s, should it disable the reloading? It doesn't do that at the moment.

@jfrazee if this is still something you'd like to pursue can you rebase. I can work with you on it.  Not sure about lifecycle implications of this sort of thing though.  So long as it is only the var reg values being reloaded then it is probably fair game.

@jfrazee any chance of rebasing this?
Keen to revisit this PR and get the review going, otherwise happy for you to close it as well.
Cheers

@trixpan Just rebased it again. Made some minor changes: using MD5SumMonitor with the watcher now because the last modified monitor wasn't reliably testable, setting the check schedule to 0 disables it, and cleaned up the tests.
In the JIRA the question of whether this was safe was brought up. From the standpoint of will reloading the map in the FileBasedVariableRegistry break anything core, I think the answer is no (it's only used in EL value lookups), so, assuming I didn't make anything too buggy, it's safe in that respect. From the standpoint of will it be possible to build flows that don't behave like the author was expecting if they expected stuff to be static, the answer is probably yes.

Hey @jfrazee - I think we can close this PR with the new feature to define variables at Process Group level through the UI.


examples/oauth2/membrane does not work

Browser reports
Could not parse query: code=h88315fe2p4iftjr0e1qqs50n7&state=security_token=jbcvji764c02t05nk2qcn99sg0&url=/oauth2callback?code=br0li8ffdtvhhimhiidf5v7d7g&state=security_token=mi3rf4heqetlum51akf3idm2d&url=/

@rrayst I could not reproduce any errors. At which point does this happen?

unpack 5.5.2 distribution
console 1
examples/oauth2/membrane/authorization_server -> service-proxy.bat
console 2
examples/oauth2/membrane/client -> service-proxy.bat
firefox private tab
open http://localhost:2000/oauth2callback?code=br0li8ffdtvhhimhiidf5v7d7g&state=security_token=mi3rf4heqetlum51akf3idm2d&url=/
john / password
accept
-> error


reserved words before compile

Do you want to request a feature or report a bug?
feature
What is the current behaviour?
I need to reserve some words and variables before compile the source.
Something like this;

How can i do it with preact-cli boilerplate?

I don't know what this is, but if it's a Webpack plugin (looks to be), then you can filter thru existing config.plugins to remove the UglifyjsPlugin we have attached, and then attach your own with these settings.

I'm sorry I didn't explain well. got a react based project and now I'm switching over preact.
So I need to do the same thing, how can I use reserved words with preact-cli boilerplate? I don't know under the hood well.

I'm not talking about javascript's reserved words brü, I mean I need these keywords un-uglified.
see;


ESLint Error when using ref

In your example popup you show:
ref={(tf => this.typeformEmbed = tf) }/>
My ESLint gives an error:
[eslint] Arrow function should not return assignment. (no-return-assign)

@skube thanks! I'll take a look ASAP.


ArgumentError: wrong number of arguments (given 2, expected 1) with Ruby 3.2.2 and Rails 6.1.4

I get following error in production environment:
ArgumentError: wrong number of arguments (given 2, expected 1)
/usr/local/bundle/gems/rack-timeout-0.6.3/lib/rack/timeout/core.rb:69:in `initialize'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:37:in `new'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:37:in `build'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:154:in `block in build'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:150:in `each'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:150:in `inject'
/usr/local/bundle/gems/actionpack-6.1.5/lib/action_dispatch/middleware/stack.rb:150:in `build'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/engine.rb:525:in `block in app'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/engine.rb:521:in `synchronize'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/engine.rb:521:in `app'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/application/finisher.rb:108:in `block in <module:Finisher>'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/initializable.rb:32:in `instance_exec'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/initializable.rb:32:in `run'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/initializable.rb:61:in `block in run_initializers'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/initializable.rb:60:in `run_initializers'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/application.rb:391:in `initialize!'
/app/config/environment.rb:5:in `<main>'
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
<internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:37:in `require'
/usr/local/bundle/gems/bootsnap-1.16.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require'
/usr/local/bundle/gems/zeitwerk-2.6.8/lib/zeitwerk/kernel.rb:38:in `require'
/usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `block in require'
/usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:299:in `load_dependency'
/usr/local/bundle/gems/activesupport-6.1.5/lib/active_support/dependencies.rb:332:in `require'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/application.rb:367:in `require_environment!'
/usr/local/bundle/gems/railties-6.1.5/lib/rails/application.rb:533:in `block in run_tasks_blocks'
/usr/local/bundle/gems/sentry-ruby-5.5.0/lib/sentry/rake.rb:24:in `execute'
/usr/local/bundle/bin/bundle:25:in `load'
/usr/local/bundle/bin/bundle:25:in `<main>'
Tasks: TOP => db:migrate => db:load_config => environment
(See full trace by running task with --trace)

Any ideas on how to fix this?

most likely problem is at a place where you insert this as a middleware. just make sure that you don't use old hash style of passing parameters

Not enough information to debug this.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add main from template
chore(package): add nyc from template
docs(package): remove keyword null
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template
chore(package): remove unknown value for main ({{main}})

Codecov Report

Merging #293 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #293   +/-   ##
=======================================
  Coverage   95.01%   95.01%
=======================================
  Files           5        5
  Lines         281      281
  Branches       45       45
=======================================
  Hits          267      267
  Misses         13       13
  Partials        1        1

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 68ed437...358d241. Read the comment docs.

Coverage remained the same at 46.907% when pulling 358d241b1ab086c4d391dac2ae176e6044aae850 on template-sync-1 into 68ed437622a0a612f81ec5bdb91e34d5cbc51a68 on master.

:tada: This PR is included in version 1.13.5 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Issue when running image_to_animation

Docker image is running fine

But when running image_to_animation I get

and the docker logs looks like

Please help, on how to resolve this issue.

Check and see if Torchserve still returns 'healthy' after you've queried it with Animated Drawings. My hunch is that it's dying during the query because it doesn't have enough resources. Please check some of the other closed issues pertaining to Torchserve on the github project to see how other users have handled this.


add case insensitivity to VS Code binary detection

Summary of the Pull Request
What is this about:
This patch will improve discovery of non-standard (e.g. portable) installations of VS Code.
What is included in the PR:
Minor change to how VS Code binaries are found (added case insensitive flag to string comparison)
How does someone test / validate:
I don't know ¯\(ツ)/¯
Quality Checklist

[x] Linked issue: #13362
[ ] Communication: That one does not contribute to quality of this PR
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@jaimecbernardo could you take a look? I need approval.


[aaudio/hello-audio] [Android Version 8.1.0] Wired Headset not working after running the hello-audio app

Strange thing is happening on my device "Google Pixel - Android 8.1.0". Once I run this app, any other application on my device is not able to play audio via the headphones(even after closing the hello-audio app). The only way to fix this is to restart my device. Could you please confirm this behaviour ?

tried on Pixel XL with my build of 8.1.0 ( it is pretty latest source code ), seems ok:  after hello-aaudio, I could go to "play music" to play some songs.
may you put more details on the procedure? Like to see it first, thx.

Following steps should help reproduce the issue :

Open the hello-audio app and keep the "Playback device" to "Auto select"
Touch the screen to play audio, the the audio will play fine via the device speaker.
Plugin the Headset, touch the screen again. this time audio will play via the connected headset.
Till this point we are all good, even the other app, "play music" works fine.
Now coming back to the hello-audio app, this time set the "playback device" as "Pixel built-in speaker". Touch the screen , Audio plays fine via the fine.
Now try switching the "playback device" to "Wired Headset". Touch the screen, audio will still play via the Speaker. Even the other apps, "play music" are in trouble now. Even if I close the 'hello-audio' . Restart is the only way out.

Please supply the exact Android build number you are testing on. This can be obtained through: Settings->About->Build number

Its 'sailfish-userdebug 8.1.0 OPM1.170823.0014293864 dev-keys'

Please could you email me<EMAIL_ADDRESS>to discuss further.

Tested on Pixel XL running OPR6.170623.012 (Android O public release Aug 2017). I wasn't able to reproduce this behaviour, but was able to find a similar bug. I will file a separate issue for that.

Thanks a lot.

Probably related to #78

Closing. @abhi-foss please follow up with me over email.


Add proper basic map making guide

I've never made a pr in this repo but this is probably right maybe
I still need to add some images that aren't here yet but I wanted to get this opened for reviews because i imagine this will take a decent while to get merged, so just note that more images will be added in spots where it says there'll be one but there isn't
Fun fact I also don't know this doc file format! I probably messed a lot up because of this but I only knew that a .rst file existed about 10 minutes before I started writing so uh good luck explaining my stupidity back to me
Also not entirely sure how to display images so hopefully someone can confirm or deny if the image docs I followed are horribly wrong or passable
To preview this PR use https://r2northstar--196.org.readthedocs.build/en/196/

hey, did you figure out how to run it locally?

hey, did you figure out how to run it locally?
the RST format was my idea, as its relatively extensible. its the reason we can have squirrel syntax highlighting, for example. but i never ended up adding proper language support, so its a bit... underused. i hope it was easy enough to figure out tho?

i didn't lol i just let it auto build with the checks
looks like i did mess up the image i added but will have to fix later

3 weeks later i come back and try something random and it works, sounds about right
ill go through and add proper images now then set to ready for review

images added properly, enjoy 400+ diff and me being an idiot with commits :D

@itscynxx is this done frfr?

it's pretty close at least, might just want someone to run through it another time with a fresh install to make sure the paths in the beginning are correct
i can check later too, but it'll be at least like 6 hours

I finally got around to doing this, I did in fact have the resources directory wrong (I had installed them like 3 times on my local folder and they were all combined and messed up)
I updated that bit

We might wanna recreate this PR against the new docs over at https://github.com/R2Northstar/NorthstarDocs/ ^^


Added html-to-markdown conversion

Thanks for the handy tool!
I've lost all the formatting on the newly imported entries because of stripped journey's html.
I propose to convert journey's html into supported by Day One markdown format.
This is tested on my own heavily formatted entries (~2k in total) – worked perfectly.

Clever idea, I like this much better! Very much appreciated 🙌


Reduce critical PHP false positives

Fixes #314 #287 #286 by making the matching conditions stricter.
Adds Composer sample (https://getcomposer.org/) from wolfi.

oof. thanks for catching the missing samples!


[Feature]: add Ansible playbooks

Feature
Description
The project should be also deployable without kubernetes. For this task, Ansible Playbooks should be used.
Acceptance Criteria

Ansible playbooks were create to roll out the docker-container on a node
The playbooks also install and configure a nginx-reverse-proxy with ssl-termination, with works as replacement for the kubernetes-ingress
The SDK-API-Tester works for the new installation
A new chapter was added to the installation manual of the documentation

Additional Information
How to test

Run the ansible-playbooks on a node withou kubernetes
Check if dashboard is accessible
Run SDK-API-Tester on this setup

Added basic ansible-playbook and vagrant-file for testing.


Neovim packer

how to install it in neovim with packer?

The plugin requires the +sound feature, which, as far as I know, is not present in Neovim. Otherwise, it's just a normal Vimscript plugin, so if they ever add the functionality (or someone submits a PR that implements a neovim-compatible method of sound output), it should work in whatever way the packer documentation suggests.


Patching of custom security attribute is failing with error TypeError: Encountered an unknown type during serialization <class 'dict'>

Environment

Python Version 3.10
kiota-serialization-json version: microsoft-kiota-serialization-json   1.1.0
OS: amazonlinux:2

Stack trace (if available)
[2024-03-10 14:25:30,457 microsoft/kiota-serialization-json-python#80] INFO: HTTP Request: GET https://graph.microsoft.com/v1.0/servicePrincipals?$top=1&$filter=startswith%28displayName%2C%20%27core-stg6-user-app%27%29&$count=true&$orderby=displayName "HTTP/2 200 OK"
[2024-03-10 14:25:31,855 microsoft/kiota-serialization-json-python#80] INFO: HTTP Request: GET https://graph.microsoft.com/v1.0/servicePrincipals/806a7c55-cbc0-4399-81f5-6df0a73c98a8?$select=customSecurityAttributes "HTTP/2 200 OK"
CustomSecurityAttributeValue(additional_data={'recoverbyok'<EMAIL_ADDRESS>'#microsoft.graph.customSecurityAttributeValue'<EMAIL_ADDRESS>'#Collection(String)', 'readonly': ['stg6-a-9000632-927f4b', 'stg6-a-9000617-3d2e13', 'stg6-a-9000618-9d0710', 'stg6-a-9000620-501d69', 'stg6-a-9000621-3a48cb', 'stg6-a-9000638-ae6e32']}}, odata_type=None)
Patch dict CustomSecurityAttributeValue(additional_data={'recoverbyok'<EMAIL_ADDRESS>'#microsoft.graph.customSecurityAttributeValue'<EMAIL_ADDRESS>'#Collection(String)', 'readonly': ['stg6-a-9000632-927f4b', 'stg6-a-9000617-3d2e13', 'stg6-a-9000618-9d0710', 'stg6-a-9000620-501d69', 'stg6-a-9000621-3a48cb', 'stg6-a-9000638-ae6e32', 'stg6-a-9000641-74553d']}}, odata_type=None)
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/cloud_accessors/common/exception/exception_handler.py", line 59, in azure_exception_handler
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/cloud_accessors/identity_access_manager/azure/identity_access_manager.py", line 111, in add_value_to_service_principal_custom_security_attribute
    self._patch_service_principal_custom_security_attributes(
  File "/usr/local/lib/python3.10/site-packages/cloud_accessors/identity_access_manager/azure/identity_access_manager.py", line 65, in _patch_service_principal_custom_security_attributes
    self._event_loop.run_until_complete(
  File "/usr/local/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.10/site-packages/msgraph/generated/service_principals/item/service_principal_item_request_builder.py", line 108, in patch
    request_info = self.to_patch_request_information(
  File "/usr/local/lib/python3.10/site-packages/msgraph/generated/service_principals/item/service_principal_item_request_builder.py", line 173, in to_patch_request_information
    request_info.set_content_from_parsable(self.request_adapter, "application/json", body)
  File "/usr/local/lib/python3.10/site-packages/kiota_abstractions/request_information.py", line 179, in set_content_from_parsable
    writer.write_object_value(None, values)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 285, in write_object_value
    self._serialize_value(temp_writer, value)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 462, in _serialize_value
    value.serialize(temp_writer)
  File "/usr/local/lib/python3.10/site-packages/msgraph/generated/models/service_principal.py", line 289, in serialize
    writer.write_object_value("customSecurityAttributes", self.custom_security_attributes)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 285, in write_object_value
    self._serialize_value(temp_writer, value)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 462, in _serialize_value
    value.serialize(temp_writer)
  File "/usr/local/lib/python3.10/site-packages/msgraph/generated/models/custom_security_attribute_value.py", line 47, in serialize
    writer.write_additional_data_value(self.additional_data)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 330, in write_additional_data_value
    self.write_any_value(key, val)
  File "/usr/local/lib/python3.10/site-packages/kiota_serialization_json/json_serialization_writer.py", line 451, in write_any_value
    raise TypeError(
TypeError: Encountered an unknown type during serialization <class 'dict'>                     with key recoverbyok

Describe the bug
Patching of custom security attribute is failing with above traceback
The input for pathing is
CustomSecurityAttributeValue(additional_data={'recoverbyok'<EMAIL_ADDRESS>'#microsoft.graph.customSecurityAttributeValue'<EMAIL_ADDRESS>'#Collection(String)', 'readonly': ['stg6-a-9000632-927f4b', 'stg6-a-9000617-3d2e13', 'stg6-a-9000618-9d0710', 'stg6-a-9000620-501d69', 'stg6-a-9000621-3a48cb', 'stg6-a-9000638-ae6e32', 'stg6-a-9000641-74553d']}}, odata_type=None)

To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should work as it worked under version 1.0.1
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@cynepco3hahue, @osolmaz  and @MaxNad Any chance you can confirm if this is still an issue?
I believe support for dictionaries was added in serialization in https://github.com/microsoft/kiota-serialization-json-python/pull/329 and https://github.com/microsoft/kiota-serialization-json-python/pull/335 so using a version of the json serialization library higher than 1.3.0 should have the implementation.


Provide an error message for each function that currently returns an Error enum

Following on from https://github.com/godotengine/godot/issues/31393, I noticed that I get the following error:
E 0:00:04:0301   Condition ' err ' is true. returned: ERR_CANT_OPEN
  <C Source>     scene/resources/resource_format_text.cpp:1488 @ save()
  <Stack Trace>  Game.gd:56 @ save()
                 SavePopup.gd:70 @ _on_new_save_confirmed()
                 NewSavePopup.gd:14 @ _on_confirm_pressed()

I would like to show an AcceptDialog that says something like:

Error saving game: can't open "blah/blah/save.tscn"

Currently I have to check the return type of the function and account for every possible type of failure for that function - something which is not currently documented, and hence would require me to look through Godot's source.
In the comments of another bug report, @bojidar-bg proposed a more elaborate return type:
https://github.com/godotengine/godot/issues/7643#issuecomment-280099751

One other way I was thinking about in the past is to have
CallResult Object::call_error(method_name, args...);
class CallResult {
   Variant result = NULL;
   Error error = OK;
   String error_text = "";
}

That way we can make a simple try catch already, with something like this:
func call_something_that_fails():
  var result = some_object.call_error("oh_no", argument1, argument2)
  if result.error != OK:
    raise "How totally expected"
    return result.error
  else:
    return result.result

This would be perfect: it saves me from having to account for each possible error that the function can return and I can just show the message directly to the user.
Is it possible to do this in a backwards-compatible way, or is not really possible?

Hm, note that call_error would probably have to return an array of errors, due to the way error handling is currently implemented (there is no stack unwinding).

Oh... then I probably didn't read that closely enough, because I was assuming it was something like this:
var result = scene.pack(node)
if result.error != NO_ERROR:
    $ErrorDialog.text = result.error_message
    $ErrorDialog.popup()
    return

I guess it would probably be something along those lines:
var result = scene.call_error("pack", node)
if result.errors.size() > 0:
    $ErrorDialog.text = result.errors[0]
    $ErrorDialog.popup()
    return


Updated to rounded-t-lg for the card style

In this updated code, I added rounded-lg and shadow-md to the base style, which defines the card style. Additionally, I updated the radius variant for base, header, footer, and image styles to use rounded-t-lg and rounded-b-lg to match the card's rounded corners. These changes should give you the desired card style without changing the output.

Summary by CodeRabbit

New Feature: Enhanced the visual appearance of the card component by adding rounded corners and medium shadows, improving user interface aesthetics.
Refactor: Updated the arrowSideDictionary object to include new properties for 'left-start' and 'left-end', enhancing the flexibility of arrow positioning in components.

Thank you for your PR, but I don't really see a point on it. Please submit a new PR only for something meaningful.


Fix zoom slider width for retina displays

This also simplifies the css by using a button for the slider, like for other controls.
Fixes #656.

Looks good, Andreas. Please merge.


Cannot find module './node_modules/std-env/dist/index.cjs'

Looks like you no longer build the commonjs file. Though you list it in package.json
You can see from the release of 3.1.0: https://registry.npmjs.org/std-env/-/std-env-3.1.0.tgz
The dist folder has no cjs.

Same error here.
[webpack-cli] Error: Cannot find module '~/Code/XXXX/node_modules/std-env/dist/index.cjs'

Sorry for the regression! Please update lock file in order to use<EMAIL_ADDRESS>or later.

Thanks it works!