python3Packages.prodict: init at 0.8.6

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[NA] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[NA] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build python3Packages.prodict

Darwin build fails because macos filesystem is case insensitive
Do mv ... ... || true to ignore the error

Darwin build fails because macos filesystem is case insensitive
Do mv ... ... || true to ignore the error

@Artturin Good catch, thanks.  I've used if instead of || true for readability and to error when the issue is fixed upstream.

@ofborg build python3Packages.prodict


Add account ID of killer in DeathCameraMenu for Freeplay

Added a small label text showing the account id of the killer only for freeplay. Useful for recorded reports.
Example:
https://user-images.githubusercontent.com/30794365/161921465-2fff105f-3687-4bef-a75b-33e0f3631ba2.mp4
Inspired by a suggestion from the official BRAIN/OUT Discord

I'll release that over weekends.


certain lengthy youtube videos take a long time to initialise

Checklist

[ ] I'm reporting a broken site support
[X] I've verified that I'm running youtube-dl version 2021.12.17
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[ ] I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--simulate', '8SIiGo3TVKE']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Python 3.10.13 (PyPy version 7.3.14 AMD64 64bit) - Windows-8.1-6.3.9600-
SP0 - OpenSSL 1.1.1t  7 Feb 2023
[debug] exe versions: none
[debug] Proxy map: {}
[youtube] 8SIiGo3TVKE: Downloading webpage
[debug] [youtube] Decrypted nsig 45tbpgX-M8RD3WRrq => JiFeLd6kfppZFg
[debug] [youtube] Decrypted nsig t9SpsqJ7CqdW7NVV0 => hVl3_KSCH26XkA
[debug] Default format spec: bestvideo+bestaudio/best

Description

Most youtube videos take about 13 seconds of runtime for me, with --simulate. Some videos take 20 or 28 seconds. Other videos take 80 seconds. This depends on the video and is reproducible.
Sample video with such behaviour: 8SIiGo3TVKE
youtube-dl pauses for a looong time after:
[debug] [youtube] Decrypted nsig 45tbpgX-M8RD3WRrq => JiFeLd6kfppZFg
CPU is pegged during the pause and the total runtime is 80 seconds (!). Memory use is high as well: it rises slowly to ~218 MB (as opposed to ~50 MB normally)
The download works, of course, but this time it spends on initialisation is excessive. As far as I can tell, it is not caused by the n-sig decryption, but something that happens in between.
The only thing I've found in common with these videos is that they're long and have HD video (1080p or more).
Above verbose output was taken with PyPy 3.10, and it also happens with PyPy 2.7 as well as CPython 2.7.
So if somebody feels like profiling some code, there's something to profile here...

With this low-spec 2-CPU notebook, the extraction for 8SIiGo3TVKE takes ~210s with one CPU close to maxed and VSZ up to ~250MB. With no n-sig processing yt-dl (Py2.7) is faster than yt-dlp (Py 3.11) at < 11s.
A trivial trace of the n-sig processing seems to be showing an increasing delay between applying the cached n-sig to each format.
We should unthrottle the DASH formats before build_fragments(): then 210s becomes 30s. "Bad programmer, BAD!"

With PR #32695, incorporating the above commit:
yt-dl/Py2.7 ~5.5s
yt-dl/Py3.11 <4s
yt-dlp/Py3.11 ~7s

Thanks for the test. Yes indeed, it's much faster when it doesn't actually calculate the n-sig. Now I'm getting something like these figures:
yt-dlp --extractor-args 'youtube:player-client=web' -> ~8s
yt-dl/Py2.7 -> ~22s (still faster than above)
yt-dl/Py3.11 -> ~13s.
I guess there is some shim/shims making 2.7 so much slower.

You could test the fixed PR #32695. This version seems to extract from YT at least as fast as yt-dlp with Python 3.11 but a miniconda 2.7.15 is up to 3x slower.

Similarly with a distro that provides 2.7.18 (but a beefier laptop):
yt-dlp --extractor-args 'youtube:player-client=web'/Py3.9 -> ~5s
yt-dl/Py2.7 -> ~6s
yt-dl/Py3.9 -> ~4s
Now I would say that other factors than the extractor and jsinterp code (eg, Python build, Celeron vs Core 2 vs whatever) are dominating.

does YouTube-DL have an option to change the client? using the ANDROID client, I am getting this:
TotalMilliseconds : 227.3747
most of which is probably just spent on waiting for the JSON response from the server

You can choose the client with yt-dlp using --extractor-args 'youtube:player-client={client}' (as shown above). Choosing android vs web on this system gives ~2s vs ~4s in the same case as above. As well as interrogating the server, the result has to be interpreted, the info-json generated, and the format(s) selected; and then in the test, where I'm using -g to check that the n parameter was processed properly) the media URL(s) have to be displayed.

if you're using the ANDROID client, you dont need to check the n parameter, at least thats my understanding.

That's right, but I only want to vary one parameter at a time.
yt-dl will use a different client for age-gate bypass, but otherwise 'web' is hard-wired.

not using ANDROID client, comes with an extremely significant drawback, as you well know. so by adding this arbitrary restriction on the client used by the tool, you are drawing yourself into a corner. As long as you understand that fact, nothing more I can add I suppose.

The rationale for selecting the web client, as I understand it, is that a wider range of formats are available.
There's nothing to stop someone who cares from offering a PR/PR(s) to back-port (or reimplement) the --extractor-args ... feature from yt-dlp and then to support selection of the YT client in the YT extractor.

Appears to take 9-10 seconds regardless of video now, so that's a good improvement.

LOL


How to make an entry under the header or callout using “Advanced URI” plugin?

I add an entry to the end of a note using this link
'obsidian://advanced-uri?filepath='+filepath+'&data='+new_data+'&mode=append&openmode=silent'
Is it possible to add the record not at the end of the document, but under some specific header or callout ?

Yes you should be able to just add the heading parameter to append after a heading as stated in the documentation
Appending to a callout is not supported.

Appending to a callout is not planned, but you can append/prepend to a line by specifying the line parameter with the line number. https://vinzent03.github.io/obsidian-advanced-uri/actions/writing


add package.json

would you please consider adding the package.json so that we can add your lib on https://cdnjs.com/
thank you very much!
https://github.com/cdnjs/cdnjs/issues/5250

Done 94f48f954ed9c5a29b41e5f882e63a9cbc7e1f6a


Error

Hello.
The script writes an error
"/wget/ not found. (31)"
PHP Version 5.3.29
Help please.

Seem like you didn't enable URL Re-write module.  Could you provide more detail.
I use this program almost every day & never see this error message.

I know i am late for this reply, if you still using this app and not working under URL Rewrite module.
Could you show me your "manifest.json" file.

URL Re-write module is enable
my "manifest.json" file:
{
"minPhpVersion": "5.0",
"url": {
"domain": "5588.ru",
"root": "/wget/"
},
"session": {
"token": "RD_TOKEN",
"encrypt": "545454"
},
"application": {
"activity": {
"main": {
"launch": "MainApp",
"storage": "//",
"languageSource": "ini",
"language": [
"zt",
"en"
]
}
}
}
}

I checked you manifest.json is fine. Just url.root have an extra slash at the end but it won't produce the error you reached.
I see that the error come from the following code:
public function handler_default($url)
{
        $this->show_error(404, __LINE__);
}

When this function was called, it is because the browser request a url that cannot be found. If your .htaccess run well, it should not happen too. Can you capture and told me what Request URL the browser requesting.


[output] Increasing backoff time between retries

to: @ryandeivert @jacknagz
cc: @airbnb/streamalert-maintainers
size: small
Background
Backoff was added to handle retries for outputs when something goes wrong. The current code uses backoff.fibo (Fibonacci), as method to define how long to wait between attempts. Also the maximum number of attempts was 3. For PagerDuty it was not making much of a difference since the requests were still rate limited, as the wait was not that long.
By moving to backoff.expo (Exponential), we will increase more the wait from attempt to the next one and also the maximum number to attempts will be 5.
Here is a comparison between the two approaches, with a quick script:
$ python compare.py
Exponential
1
2
4
8
16

Fibonacci
1
1
2
3
5

Changes

Increased the timeout for default clusters.
Changed the backoff behavior from backoff.fibo to backoff.expo` to increase the wait between attempts.
Increased the maximum number of retries.

Testing
$ rm .coverage && ./tests/scripts/unit_tests.sh
...
TOTAL                                                    2803     99    96%
----------------------------------------------------------------------
Ran 494 tests in 9.749s

OK

$ ./tests/scripts/pylint.sh

--------------------------------------------------------------------
Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)

$ python manage.py lambda test --processor rule all
...
StreamAlertCLI [INFO]: (59/59) Successful Tests
StreamAlertCLI [INFO]: (93/93) Alert Tests Passed
StreamAlertCLI [INFO]: Completed

Coverage remained the same at 95.365% when pulling fb90ca0596c63d98a406242a3dff2a6911f2d449 on javier-streamalert-backoff-increase into 1f27c2e2edf97daee9af9ad678aa80236b4ba4bc on master.

Coverage decreased (-0.04%) to 95.33% when pulling e3acdd88d7daa41ef49bd6e50f13d753c707ec9f on javier-streamalert-backoff-increase into 1f27c2e2edf97daee9af9ad678aa80236b4ba4bc on master.

Coverage decreased (-0.04%) to 95.471% when pulling 446e44cdb2e330ec9dc6cf0b9062a2784dccea88 on javier-streamalert-backoff-increase into 9b5ea5a793b206780b5da1d27ccd15762839b401 on master.

Related to https://github.com/airbnb/streamalert/issues/363


Fix null pointer crashes

There is at least one or potentially a few different crashes that I believe are the result of null pointers. I have not been able to locate the source of them yet. Debugging is a hassle because you need to attach to an app like Notepad, but the IME DLL will then be loaded into whatever application you are using for debugging (e.g. Visual Studio) and subsequently cause another crash.
I've tried to use iterators as much as possible to limit the possibility of going beyond array bounds, but apparently I missed some that have still not been resolved. I believe the problem areas are around [`BufferMgr.cpp#L561](https://github.com/aiongg/khiin/blob/master/engine/input/BufferMgr.cpp#L561) or potentially in `BufferElement.cpp`.

After closer inspection and some discussion, it might be the case that the random crashes have to do with improper handling of DLL module loading/unloading on Windows.
cf: https://github.com/aiongg/khiin/blob/master/windows/tip/DllModule.cpp#L55-L63
See mozc for reference.


Experimental/capsule hands presets

Summary
Adds additional options to disable parts of capsule hands, and adds preset modes Default, Minimal and Ultraleap which set colours and toggles
Contributor Tasks
These tasks are for the merge request creator to tick off when creating a merge request.

[ ] Pair review with a member of the QA team.
[x] Add any release testing considerations to the MR for the next release.
[x] Check any relevant CHANGELOG files have been updated.
[x] Ensure documentation requirements are met e.g., public API is commented.
[x] Consider any licensing/other legal implications for this MR e.g. notices required by any new libraries.
[x] Add any relevant labels such as breaking to this MR.
[ ] If this MR closes a Jira issue, make sure the fix version on the JIRA issue is set to the correct one.

Reviewer Tasks
Add any instructions or tasks for the reviewer such as specific test considerations before this can be merged.
Use emojis in review threads to communicate intent and help contributors.

[x] Code reviewed.
[x] Non-code assets e.g. Unity assets/scenes reviewed.
[x] Documentation has been reviewed. Includes checking documentation requirements are met and not missing e.g., public API is commented.
[ ] Checked and agree with release testing considerations added to MR for the next release.

Closes JIRA Issue
Closes UNITY-1110

@BryceNewell-UL @MattGrayUL there's no test considerations on here at all.
Whether we're performing the QA pairing step or not I still need you to be adding some details here.
Feels like we've regressed here a bit in pushing our QA processes forwards. Maybe it's because we've left some ambiguity around test case writing and using Zephyr.


support redis3.0 ?

Closing because this is vague on the specifics of requested functionality
Many new redis commands were supported in #599 and will be part of a future 0.5.0 release
Redis sentinel client support is planned for 0.6.0 but is not supported yet.
Some redis commands (blocking commands, single-server commands such as INFO) are deliberately not supported - see notes/redis.md


Supporting touch events

Hi,
I'm using knockout-dragdrop for a project of mine which requires support for touch-devices. This is sadly not supported by knockout-dragdrop.
I looked in the source code, would it be as easy to just add the correct events to the already present mouse events? (or perhaps create a simple mapping to have them map to one event?)
I'll fork to investigate/add this feature myself. But any help/tips would be appreciated.
Kind Regards,
@DenEwout

Has anyone looked at this any further?
Currently in chrome on a windows touchscreen we can't click and drag as it just scrolls the container instead.
I guess I will have to have a closer look tomorrow..

No there has not been any attempts to support touch yet. At some point we
will need it at One.com and implement it, but we are of cause open to pull
request ;-)
Kind regards
Sune
On Jun 15, 2015 9:14 AM, "stretch4x4"<EMAIL_ADDRESS>wrote:

Has anyone looked at this any further?
Currently in chrome on a windows touchscreen we can't click and drag as it
just scrolls the container instead.
I guess I will have to have a closer look tomorrow..
—
Reply to this email directly or view it on GitHub
https://github.com/One-com/knockout-dragdrop/issues/19#issuecomment-111962395
.

#26 added initial touch support, there are still some limitations where you stop getting move events when the element you started the drag on is removed from the dom.


Change size of drop down

According to the screen size the size of refresh is changed. If change the screen in landscape mode the drop down and refresh progress size is increased. how can I fix the size?

this is my question too!
in tablet UI the size of refresh is too big! how can I change it?

Thanks.
I will support as soon as possible!!
Please wait a little more!
Thank you!

Any progress on that? That seems the last real problem with this very good library...

I need to customize the size of UI? how can I change it?

It is have 3 years over...
Are you support this function？


Updated the projects to use shared projects instead of file linking

Instead of using file linking, which is error prone, use a single shared project for each group.

@mattleibow,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


Login Instructions

@muh-hassani I guess it makes sense to add some instructions on how to login on:
https://pyiron-workshop.ml
In addition I got the following message during my first login which was a bit confusing:

@muh-hassani I guess it makes sense to add some instructions on how to login on:
https://pyiron-workshop.ml

Sure, I will add some instructions for the login. I will also remove this additional step for the consent of the users.
I have created a list of the passwords for all the participants. But I guess the email should be sent from the organizer's email address, and not mine.

@jan-janssen, Shall the created one-time passwords and usernames be included in the same google spreadsheet?

@jan-janssen, Shall the created one-time passwords and usernames be included in the same google spreadsheet?

yes, that should be fine - @yury-lysogorskiy is going to include them in the email send to the participants.


scenario_app tests report that we're missing a HardwareBuffer.close

e.g.

[stdout] 02-21 00:22:25.772   554   565 W System  : A resource failed to call HardwareBuffer.close.

I don't know if this is a test construction issue or this is also happening on real applications.
@johnmccutchan @matanlurey  fyi

Changing the priority for team engine because I think it is what they would do.

@matanlurey can we just delete scenario app?

I think let's hold off until we do the repo merge (i.e. soon)?


Successful build under windows but several improvement is needed

I have successfully build using MSVC 2015 with caffe 2. The installation instruction asks users to build with the .bat file in caffe2/scripts. However, I found this is not a good practice as sometimes we need use external dependencies. Configuring CMake with the GUI version would be much convenient under windows usage.
In Caffe windows version it will automatically download all dependency required in forms of pre-built library. It would be good if users want to quickly deploy Caffe.
For whom want to build from source, or using specific version of third party library, the submodule file format in Caffe 2 will much do the favor. But problem comes in when in CMake configuration.
Here is a temporary solution to build with customized CMake:

(Optional) Download prebuild libraries from previous version of Caffe

git clone https://github.com/BVLC/caffe
git checkout windows
CMake, only need to configure
All necessary binaries and libraries can found at C:\Users\<username>\.caffe

(Can be ignored if you choose step 0) Build protobuf, either from source (caffe2/scripts/build_host_protoc.bat would be a fast build from source option, highly recommended.), or directly use the protobuf binary downloaded in step 0. If you need to build Caffe2 with shared library, you also need to build shared library in this step.

CMake and specify Protobuf_DIR.

 This also happens in Linux)
BUILD_SHARED_LIBS OFF (this option is under test, will cause compilation error if set to ON)
BUILD_PYTHON OFF (Highly recommended to turn this ON unless you want to solely use C++ caffe2 interface)

Specify all required dependency paths, similar to step 2

Configure and Generate

(VERY IMPORTANT)Note that CMakeLists.txt in current release does not properly configure protoc.exe, open <caffe2-build>/CMakeCache.txt, add following line to the file near Protobuf_DIR:
PROTOBUF_PROTOC_EXECUTABLE:FILEPATH=<protobuf-build>/bin/protoc.exe

Open Caffe2.sln and build (Debug or Release)

Build error would appear when building lenghts_top_k_op.cc. At line 9 the type of y dimension need to change to int from auto.

Build again and enjoy Caffe2.

One thing I think the development group should notify is in operator_schema.h line 288, std::bind to std::function conversion. Though building is successful, but type conversion is not properly defined.

building with Gflags, Glog, LevelDB and Snappy is rather easy as well, under Windows VS2015 ...
But remember you have to build only with MT Code generation option for all the 3rd part dependencies.
Also, in order to make it work under python you will have to build ProtoBuf  python source and add it to your PYTHONPATH.
https://github.com/google/protobuf/releases/download/v3.2.0/protobuf-python-3.2.0.zip.
Also, it is recommended to use MKL for blas (for CPU purposes at least).
I am having a hard time achieving Good run times when using CUDA and CUDNN, has anybody managed to achieve good run time in that ?
See performance evaluation i did:
https://github.com/caffe2/caffe2/issues/921

@ugionet - how did you get gflags/glog/leveldb to build?  Any time I deviate from the default settings (USE_GLOG OFF, USE_GFLAGS=OFF, USE_LEVELDB=OFF), I get thousands of linker errors.  When you say "build only with MT Code generation" for all 3rd party dependencies, where do I specify that?

@ctraina I'm sure you've solved this problem by now, but you can configure options in VS.
In Solution Explorer, right click on project name and go to properties -> C/C++ -> Code Generation
Change the option under 'Runtime Library'.
https://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx


Rich text can be saved as empty string ("") causing errors in admin panel when parsing data.

Bug Report
Currently the admin panel is crashing for us when we try to edit most collections and it's due to the rich text editor getting saved with an empty string as it's value.
I'm not sure how this data got set this way, so I'm not really able to give reproduction steps. It was reported to me by a content editor so I have no first hand account.
I'm fairly sure it's something to switching between locales on localized fields within blocks.
The error itself should be quite an easy fix, the underlying cause I'm not so sure about.
Expected Behaviour
When a rich text area has it's value set as an empty string, it should render the text area as if had no content passed to it.
Current Behaviour
It tries to run JSON.parse on an empty string and crashes the entire page.
Detailed Description
Payload version: 0.6.5
VM141:1 Uncaught SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at RichText (RichText.js:89)
at renderWithHooks (react-dom.development.js:14985)
at updateFunctionComponent (react-dom.development.js:17356)
at beginWork (react-dom.development.js:19063)
at HTMLUnknownElement.callCallback (react-dom.development.js:3945)
at Object.invokeGuardedCallbackDev (react-dom.development.js:3994)
at invokeGuardedCallback (react-dom.development.js:4056)
at beginWork$1 (react-dom.development.js:23964)
at performUnitOfWork (react-dom.development.js:22779)

Thank you for the report @richardvanbergen. Are you able to provide the collection config or the subset that contains the localized field within a block?

Hi, it's basically a page collection that looks like this:
const PageCollection: CollectionConfig = {
  slug: 'page',
  admin: {
  },
  labels: {
    singular: 'Page',
    plural: 'Pages',
  },
  fields: [
    ...PageMetaFields,
    {
      name: 'content',
      label: 'Content Blocks',
      type: 'blocks',
      labels: {
        singular: 'Layout',
        plural: 'Layouts',
      },
      blocks: [
        HeroSchema,
        ClientListSchema,
        CarouselSchema,
        IllustratedCopySchema,
        ContentGridSchema, // <-- this guy right here caused the error
        HubspotFormSchema,
        CtaBannerSchema,
        ProcessStepsSchema,
      ],
    },
  ],
}

export default PageCollection

The block that caused the error looks like this:
const ContentGridSchema: Block = {
  slug: 'contentGrid',
  imageURL: 'https://brightvision.fra1.cdn.digitaloceanspaces.com/admin-preview-images/rows-and-columns.png',
  imageAltText: 'A component for organizing content into flexible rows and columns.',
  labels: {
    singular: 'Rows & Columns',
    plural: 'Rows & Columns',
  },
  fields: [
    {
      type: 'array',
      name: 'grids',
      fields: [
        {
          type: 'row',
          fields: [
            {
              type: 'number',
              label: 'Maximum Columns',
              name: 'numberOfColumns',
              admin: {
                width: '50%',
              },
            },
          ],
        },
        {
          type: 'array',
          name: 'columns', // <-- more specifically this guy
          fields: [
            {
              type: 'richText',
              name: 'content',
              localized: true,
            },
          ],
        },
      ],
    },
  ],
}

export default ContentGridSchema

And this is my payload config with the internationalization:
// ... bunch of imports

export default buildConfig({
  serverURL: process.env.PAYLOAD_PUBLIC_SERVER_URL,
  collections: [
    Page,
    Client,
    Testimonial,
    MediaVideo,
    MediaImage,
    APIUser,
    Link,
    HubspotFormEmbed,
  ],
  globals: [
    SiteConfig,
    MainMenu,
    Error404,
    Error500,
  ],
  localization: {
    locales: [
      'en',
      'dk',
      'sv',
      'no',
      'fi',
    ],
    defaultLocale: 'en',
    fallback: true,
  },
  admin: {
    components: {
      graphics: {
        Icon: Favicon,
        Logo: Logo,
      },
      views: {
        Dashboard,
      },
    },
  },
})

Let me know if you need any more information.


Unable to paste any of the history items past the first one

Not all the time but every once in a while I am unable to paste from my history. Basically I see all of the items but when I select the one I want to paste nothing gets pasted, the item does not move to the top of the list (i have it sorting by most recently used). I can always paste the last  1st item in the list, but that makes sense as that is stored in the system clipboard as well. Anyone have ideas?

same issue for me, it starts working again after I clear history.


Server Group styling looks distorted for Async Server Tree

Azure Data Studio Version: Insiders
OS Version: Windows 11

(only for Async Server Tree)

@cheenamalhotra . Thats's by design due to contrast issue when highlighting search results

Can we try to fix the contrast issue by selecting colors more carefully - for both dark/light themes?

Closing as it is by design and not a bug


streamline styles

Font change 1: Everyone agrees Courier New is far too thin. If you want a Courier, Prime is the ideal. On Windows, a request for Courier is silently replaced with Courier New anyway, so that's what you'll get. You don't need to specify it. This allows better Couriers to be used on systems (like Mac) that probably have one.
Font change 2: Everyone agrees Arial is a shoddy copy of Helvetica. On Windows (where Helv is not typically installed), a request for Helvetica is silently replaced with Arial anyway, so that's what you'll get (even if you do have Helv). You don't need to specify it. This allows platforms that have Helvetica (like Mac) to use it rather than the knock-off.
Width change: The main content was displayed in far too narrow a space, wasting lots of room on margins. Allow this to be wider, but use columns to enforce a readable line length.

Thanks for the font updates. The proposed layout doesn't work correctly on mobile, though.


fix: use object url for json editor schema

Description
Allows the json editor to consume json schemas to validate data.
Task Item
refs #8523

Coverage remained the same at 55.895% when pulling b5b306ef8381a7c991a14636be508a68f899948f on abrown/json-schema-fetching into 019cdc4642a5898d2ea4c440ac264aed6fcd3c44 on main.

We should update the required fields in schema.ts too.
Looks like the changes should be:
required: ['subscriptionId', 'name', 'settings', 'accessToken'],

Can we address the component governance issue?
[INFO] |Security Alerts                                                                                |
[INFO] ||
[INFO] |Alert title                             |Affected component                      |Severity                      |Due date                      |
[INFO] |||||
[INFO] |CVE-2021-32803                          |tar 6.0.5                               |High                          |                              |
[INFO] |||||
[INFO] |CVE-2021-32803                          |tar 6.1.0                               |High                          |                              |
[INFO] |||||
[INFO] |CVE-2021-32804                          |tar 6.0.5                               |High                          |                              |
[INFO] ||||_______________________|
[INFO] |CVE-2021-32804                          |tar 6.1.0                               |High


Set default values for optional field in input types

For given input
input X {
  field: str
  otherField: str
}

It changes:

field: Optional[str] to field: Optional[str] = None if there is no pydantic field
other_field: Optional[str] = Field(alias="otherField") to other_field: Optional[str] = Field(alias="otherField", default=None) otherwise

Resolves #74

Hey thanks a lot for that PR!
In general it looks good to me.
I just wonder if there is a potential issue, as unset values and nullable
values are not by default the same according to the spec:
https://spec.graphql.org/October2021/#sel-EAFdRDBBACDAl1T
Also there is a related issue on best practices in pydantic:
https://github.com/pydantic/pydantic/issues/990#issuecomment-645961530
However I also feel that this is maybe an edge case and this approach looks
like a good default for me. Would just maybe appreciate a bit more input on this:
@rnovacek @nocnokneo
https://github.com/jhnnsrs/turms/issues/74#issue-2144883755
Happy to merge this after a short deliberation though :)
Thanks a lot!

I have to admit I'm no expert in GraphQL nor Pydantic. I cannot tell if this is the correct solution. It just scratches my own itch - no need to specify all fields in an input when they are not mandatory.

The more i get my head around I feel like its a good compromise given the differences between pydantic and graphql and the "standard" dev experience and what people would try to achieve.
So for me it looks good. Will merge :) Thanks a lot!


websockets: add new addition for OMERO 5.5

This new repository shows how to make use of the experimental
Ice websockets support added in 5.5. The repository itself
also functions as the integration test and the documentation
for the feature.
see:

https://github.com/ome/prod-playbooks/pull/167
https://github.com/ome/ome-documentation/pull/1963
https://github.com/openmicroscopy/openmicroscopy/pull/5927
https://github.com/openmicroscopy/openmicroscopy/pull/5997
https://github.com/openmicroscopy/openmicroscopy/pull/5998

Ah, molecule 1 --> 2. However, there's also an issue of whether this repo shouldn't drop travis if each individual repo is handling it. cc: @sbesson @manics

There is certainly a duplication problem. From my side, the main advantage of top-level Travis is mostly to address scalability issue in two particular cases:
1- setting up cron jobs for all playbooks/roles
2- testing infrastructure changes e.g. new version of Ansible via a single PR rather than n

All agreed. And thinking about it, this repo won't trigger per PR so the overhead is minimal. We do however need to get everything on the same molecule version:  https://travis-ci.org/ome/omero-deployment-examples/jobs/539677564
Do you guys see that as being doable in time to get this PR merged for 5.5? Or shall I disable travis for the moment, and we'll re-enable when everything is updated?
cc: @manics

With #16 this needs an extra commit to resolve the conflict. Looking at Travis, I am a bit confused as I thought it was a molecule issue from https://github.com/ome/omero-deployment-examples/pull/15#issuecomment-497705948. Isn't the problem rather related to the fact that Travis tries to run molecule test while this is adding a Docker-only repo?
Immediately, I think only running the top-level Travis on Ansible repositories/directories is completely fine.

Conflict fixed & travis disabled. :+1: for getting this in for 5.5.0.


Fix contiguous affine check for metal backend

I believe the logic is reversed. When layout.is_contiguous we don't need to bail.
I also broke the check into two so that the error message is more specific.

Adding @Narsil and @ivarflakstad explicitely as they know far better than me on the metal bits.


[RFC] docs: styles for stories in separated file

Scope of work

[x] add to component directory file SfComponentName.stories.scss with styles for stories
[x] use .sb-component-name classes for stories
[x] move inline styles to scss file
[ ] add these rules to Contributing Guide

Thanks to that we can use the power of CSS. For example, you can use @mediaQueries.
Thanks to that you can copy stories without inline styles
This PR makes stories more user friendly.
Checklist

[ ] No commented blocks of code left
[ ] Run tests and docs
[ ] Self code-reviewed

If applicable:

[ ] I followed composition rules for my component
[ ] I tested the component in most common device sizes (can be tested in Storybook from viewport addon in top menu)
[ ] I accept Individual Contributor License Agreement

Great idea, we should implement it :)


[SPARK-10181] [SQL] UserGroupInformation class needs to be shared for login credentials

@yhuai

Can one of the admins verify this patch?


When calling NodePublishListAsync in PublisherServices, NodeId does not contain namespace

Describe the bug
When NodePublishListAsync in PublisherServices is called, the Node id of the returned nodes does not contain any namespace identifier. The node was published using a namespace identifier before.
To Reproduce
Steps to reproduce the behavior:

Deploy publisher without publishednodes.json
Use PublisherServices
Publish a Node with a nodeId like this: "ns=1;s=path/to/node"
Call NodePublishListAsync
returned NodeId is "s=path/to/node"

Expected behavior
The returned node id contains the namespace in any way.
Screenshots
Desktop (please complete the following information):
Ubuntu 18.04 x64
IoTEdge 1.0.9RC1
Publisher:  2.3.3 and latest

Hi @mma-mm - the reason this does not work today is that the publish command uses the node id string it is passed as-is when passing to publisher - in this case with node id index (ns=1).   Publisher finds the index in the NS table and without conversion stores the passed node id string in the publishednodes.json.   When the original string is returned to the publisherservices.cs during listing, the twin module tries to convert the returned id string to a node using its global namespace table which does not contain ns=1 (or the table has nothing meaningful).   And thus the ns=1 is stripped off.
What we could do is

Check whether the returned string has a ns= and if so, return the original node id string as is.   This is a band aid though, but I believe would make your scenario work.
In addition - convert a ns!=0 on the publisher side into a namespace uri and save the id in nsu=uri form.   This would be a more correct fix since the index could change between publisher sessions.

I am going to try the first approach as it is simple and given that we are doing larger changes in the publisher at the moment probably more expeditious.

Fixed in 2.5.2


Add drush modules

Hi.
Is there a way to add drush components?
I would like to add https://www.drupal.org/project/site_audit

Did you read installation instructions? You can install it via composer (8.x)

site_audit


Add Travis CI Capability

How do you feel about integrating with Travis CI?

Cool! That looks like great service


fix: add missing jq in non-ollama images

Pull Request Checklist

[x] Target branch: Pull requests should target the dev branch.
[ ] Description: Briefly describe the changes in this pull request.
[ ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ ] Testing: Have you written and run sufficient tests for the changes?
[ ] Code Review: Have you self-reviewed your code and addressed any coding standard issues?

Description
jq was only installed for health checks if USE_OLLAMA was true.

LGTM!


use NeatJSON with ruby and Opalrb (Hotfix/immutable strings)

I wanted to use neatJson in https://github.com/opal/opal. Of course I could have build a wrapper around the JS version, but I wanted it to use it with ruby objects.
So I had to replace the usage of mutable string by another map operation. I am not sure if it is a performance issue on large JSON objects ...
thereby I also changed neatjson.html to additionally expose the ruby version of the options.
also provide a fix for #12
Thanks for the great JSON formatter.

I do not accept the changes in adaea55 (or even understand why you added these). I do not understand 42bff09. And 34692a1 has nothing to do with the intent of this pull request, so it should not be part. I'm happy to consider merging 24400cf if you make a pull request just with that, so that I can do a perf test to ensure that it's not a serious issue.

I added 34692a1 to make it easier to play around in http://phrogz.net/JS/neatjson/neatjson.html and copy/paste the resulting options to my ruby source code.
I will split the PR to individual ones. In particular adaea55 is a bug which occurs only in the ruby version. 42bf09 is another fix which IMHO is more close to your original fix for empty containers.
I will demo the issue with a test case.


Improve Face Detection Accuracy and Preprocessing in main.py and index.js

Description:
The current face detection logic in main.py does not perform well under certain lighting conditions and with images at extreme angles. This reduces the model's overall accuracy and negatively impacts the user experience.
Changes Required
I propose modifying the detection pipeline to include additional image preprocessing steps, such as:

Brightness normalization to handle low-light conditions( I will use opencv python library for enhancement)
Rotation correction to detect faces captured at different angles.(I will call a function to rotate the images for better angle and better quality of images)

These enhancements will improve detection accuracy, particularly in challenging conditions.
Affected Files:

main.py: I want to update the face detection logic to incorporate new preprocessing steps before feeding images into the model.
index.js: I also want to modify the frontend logic to ensure that the uploaded images are preprocessed (e.g., rotated if needed) before being sent to the backend for detection for more user friendly.

sure - please go ahead and improvise on the accuracy!

If you require any help you may reach out to us

Yeah sure!...thanks

@Devasy23 @puwun please assign this issue to me.


Add Safari Technology Preview

I wonder why nobody has suggested this already. But I hope I'm not the only one that would like to see the Safari Technology Preview as the upcoming version of Safari.
https://developer.apple.com/safari/technology-preview/

Done.


Windows Support

Implements named pipes, which is Microsoft's counterpart to unix sockets. This means the SSH agent can now talk to the native openSSH service.

Bringing it all home in https://github.com/tillitis/tillitis-key1-apps/pull/73


Bump cookie and express in /src/gameboard

Bumps cookie and express. These dependencies needed to be updated together.
Updates cookie from 0.6.0 to 0.7.1

Release notes
Sourced from cookie's releases.

0.7.1
Fixed

Allow leading dot for domain (#174)

Although not permitted in the spec, some users expect this to work and user agents ignore the leading dot according to spec

Add fast path for serialize without options, use obj.hasOwnProperty when parsing (#172)

https://github.com/jshttp/cookie/compare/v0.7.0...v0.7.1
0.7.0

perf: parse cookies ~10% faster (#144 by @kurtextrem and #170)
fix: narrow the validation of cookies to match RFC6265 (#167 by @bewinsnw)
fix: add main to package.json for rspack (#166 by @proudparrot2)

https://github.com/jshttp/cookie/compare/v0.6.0...v0.7.0

Commits

cf4658f 0.7.1
6a8b8f5 Allow leading dot for domain (#174)
58015c0 Remove more code and perf wins (#172)
ab057d6 0.7.0
5f02ca8 Migrate history to GitHub releases
a5d591c Migrate history to GitHub releases
51968f9 Skip isNaN
9e7ca51 perf(parse): cache length, return early (#144)
d6f39b0 Fix tests for old node
6bb701f Remove failing scorecard
Additional commits viewable in compare view

Maintainer changes
This version was pushed to npm by blakeembrey, a new releaser for cookie since your current version.

Updates express from 4.20.0 to 4.21.1

Release notes
Sourced from express's releases.

4.21.1
What's Changed

Backport a fix for CVE-2024-47764 to the 4.x branch by @joshbuker in expressjs/express#6029
Release: 4.21.1 by @UlisesGascon in expressjs/express#6031

Full Changelog: https://github.com/expressjs/express/compare/4.21.0...4.21.1
4.21.0
What's Changed

Deprecate "back" magic string in redirects by @blakeembrey in expressjs/express#5935
<EMAIL_ADDRESS>by @wesleytodd in expressjs/express#5954
fix(deps<EMAIL_ADDRESS>by @wesleytodd in expressjs/express#5951
Upgraded dependency qs to 6.13.0 to match qs in body-parser by @agadzinski93 in expressjs/express#5946

New Contributors

@agadzinski93 made their first contribution in expressjs/express#5946

Full Changelog: https://github.com/expressjs/express/compare/4.20.0...4.21.0

Changelog
Sourced from express's changelog.

4.21.1 / 2024-10-08

Backported a fix for CVE-2024-47764

4.21.0 / 2024-09-11

Deprecate res.location("back") and res.redirect("back") magic string
deps<EMAIL_ADDRESS>
includes<EMAIL_ADDRESS>

deps<EMAIL_ADDRESS>deps<EMAIL_ADDRESS>

Commits

8e229f9 4.21.1
a024c8a fix(deps<EMAIL_ADDRESS>7e562c6 4.21.0
1bcde96 fix(deps<EMAIL_ADDRESS>(#5946)
7d36477 fix(deps<EMAIL_ADDRESS>(#5951)
40d2d8f fix(deps<EMAIL_ADDRESS>77ada90 Deprecate "back" magic string in redirects (#5935)
See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.

Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot merge will merge this PR after your CI passes on it
@dependabot squash and merge will squash and merge this PR after your CI passes on it
@dependabot cancel merge will cancel a previously requested merge and block automerging
@dependabot reopen will reopen this PR if it is closed
@dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.

Original Author: dependabot[bot]
Created At: 2024-10-19T11:38:37Z
**Original State: open
Previous Discussion:

Old Dependabot issue, closing


Unable to select nodes in way after adding to relation

Description
There seems to be a couple different scenarios where I get into a situation where I have a way that I can't select the nodes for that way. This makes it impossible to edit the shape of the way. I have attached one such reproducible situation that I hope will be enough to describe the issue.
Version
2.0.3
What browser are you seeing the problem on? What version are you running?
Chrome v114.0
The OS you're using
mac
Steps to reproduce
As stated in the video, first I find a relation with many members. Then I draw an area that is attached to one of the members (actually it might not need to be attached). Then I add that new way into the relation. After that point I loose the ability to select the nodes of that way.
https://github.com/facebook/Rapid/assets/5851115/f4f50db0-6a04-41d8-9f3e-e8f158fefedb
The browser URL at the time you encountered the bug
https://rapideditor.org/rapid#background=Bing&datasets=fbRoads,msBuildings&disable_features=boundaries&map=19.98/39.57012/-75.97363
The auto-detected useragent string for your browser (leave blank if you're manually filling this form out)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36

This one is in process, and it is a seemingly gnarly bit of code where we calculate a selected way's descendant nodes. For some reason, only the midpoints are showing up as descendants, so that's what we render.
I can reproduce this without physically attaching the polygon to the relation, too.

My my! That took a bit.
Each render pass, we render polygons.
Each time we render polygons, we see which ones have changed and then refresh their data and any of the data of children (nodes inside ways, ways inside relations, etc). This involves clearing some data and reconstructing it.
In one very specific case, when we were clearing ways from the relation, we were accidentally ALSO deleting the render pipeline's node data for the way.  The renderer lost those nodes UNTIL such time we forced the pipeline to recognize that the way's geometry was changed or updated (you could fix the problem by dragging a midpoint, then undoing).

Awesome! Sorry to have made you go down such a rabbit hole!


Update sites.yml

Added my personal blog

This PR is:

[ x] Adding a new domain
[ ] Updating existing domain size
[ ] Changing domain name
[ ] Removing existing domain from list
[ ] Website code changes (512kb.club site)
[ ] Other not listed

[ x] I used the uncompressed size of the site
[x ] I have included a link to the GTMetrix report
[ x] This site is not an ultra lightweight site
[ x] The following information is filled identical to the data file

I confirm that I have read the FAQ section, particularly the two red items around minimal pages and inappropriate content and I attest that this site is neither of these things.

[ x] Check to confirm

- domain: asindu.xyz
  url: https://asindu.xyz
  size: 264
  last_checked: 2023-11-23

GTMetrix Report: https://gtmetrix.com/reports/asindu.xyz/vnaYNLGc/

Thanks!


Allow Getting of Position of Stream

Retrieval of the position of either the current stream (eg, number of bytes already read) or the underlying compressed stream would be helpful when trying to determine read rates for display.
I am fine with just getting the current position of the underlying stream and not the number of inflated bytes, but I suspect both are equally easy to expose.

A lot of streams are forward-only and don't have a position (e.g. network stream).  If you want to have to display something, you could count it yourself.
A lot of this library was with decompressing on the fly from gigabyte files or network streams where random seeking isn't possible.  I could expose a position but then it would throw exceptions in a lot of cases.

@thegreatco While that would be useful it would break the stream contract which says that the position property is reserved for seekable streams. You aren't supposed to access the position for nonseekable streams.
I don't think it's a good idea for SharpCompress to deviate from the documented and established semantics here.
(PS: The standard thing you do if you need "on the fly" positions is wrapping either the input or output streams in a custom stream subclass and do the counting yourself. That gives you easy hooks for when the writes/reads happen, allowing you to update your progress and having minimum performance overhead.)


debian12.4  Verifying installation        [FAILURE]

coders/dng.c: In function 'SetLibRawParams':
coders/dng.c:337:13: error: 'libraw_data_t' has no member named 'rawparams'; did you mean 'params'?
337 |   raw_info->rawparams.max_raw_memory_mb=8192;
|             ^~~~~~~~~
|             params
coders/dng.c:340:15: error: 'libraw_data_t' has no member named 'rawparams'; did you mean 'params'?
340 |     raw_info->rawparams.max_raw_memory_mb=(unsigned int)
|               ^~~~~~~~~
|               params
make[1]: *** [Makefile:10714: coders/dng_la-dng.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.1-25'
make: *** [Makefile:6242: all] Error 2
make  install-am
make[1]: Entering directory '/usr/local/src/imei/ImageMagick-7.1.1-25'
CCLD     MagickCore/libMagickCore-7.Q16HDRI.la
CC       coders/farbfeld_la-farbfeld.lo
CC       coders/fax_la-fax.lo
CC       coders/fits_la-fits.lo
CC       coders/fl32_la-fl32.lo
CC       coders/dpx_la-dpx.lo
CC       coders/ftxt_la-ftxt.lo
CC       coders/gif_la-gif.lo
CC       coders/dot_la-dot.lo
CC       coders/gradient_la-gradient.lo
CC       coders/gray_la-gray.lo
CC       coders/hald_la-hald.lo
CC       coders/hdr_la-hdr.lo
CC       coders/dng_la-dng.lo
coders/dng.c: In function 'SetLibRawParams':
coders/dng.c:337:13: error: 'libraw_data_t' has no member named 'rawparams'; did you mean 'params'?
337 |   raw_info->rawparams.max_raw_memory_mb=8192;
|             ^~~~~~~~~
|             params
coders/dng.c:340:15: error: 'libraw_data_t' has no member named 'rawparams'; did you mean 'params'?
340 |     raw_info->rawparams.max_raw_memory_mb=(unsigned int)
|               ^~~~~~~~~
|               params
make[1]: *** [Makefile:10714: coders/dng_la-dng.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/usr/local/src/imei/ImageMagick-7.1.1-25'
make: *** [Makefile:12790: install] Error 2

I am having the same error on Debian 12

Same issue on my newly WSL Ubuntu 22.04 install

See https://github.com/ImageMagick/ImageMagick/issues/6969

Thanks, it seems version 7.1.1-23 currently works fine until they fix it, weird that the thread you linked do not show up when I paste the error onto google

I discovered it, when I was going to implement manual compilation of libraw.


chore: bump controller version to 2.4.2

What this PR does / why we need it:
Bumps KIC version to latest v2.4.2
Special notes for your reviewer:
Checklist

[x] PR is based off the current tip of the main branch.
[x] Changes are documented under the "2.11.0" header in CHANGELOG.md
[x] New or modified sections of values.yaml are documented in the README.md
[x] Commits follow the Kong commit message guidelines

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@rainest 👍 PTAL now

We'll actually want to use "2.4" and 2.10.3. We don't consider default version bumps a minor version change since they should only affect new installs--properly-configured releases should pin their image versions.

Thanks for the clarification, I was not aware of this.

@pmalek Please change the PR title too.


Cocoapods now recommends json file formats, so fastlane should support it

Great PR, thanks @maschall. However the build fails:

  1) Fastlane Fastlane::FastFile Pod Push action generates the correct pod push command with a json file
     Failure/Error: end").runner.execute(:test)
     FastlaneCore::Interface::FastlaneError:
       Couldn't find file at path './fastlane/spec/fixtures/podspecs/test.podspec.json'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:80:in `rescue in valid?'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:76:in `valid?'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:61:in `verify!'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:65:in `block in verify_value_exists'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:59:in `each'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:59:in `verify_value_exists'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:43:in `initialize'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:31:in `new'
     # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:31:in `create'
     # ./lib/fastlane/configuration_helper.rb:8:in `parse'
     # ./lib/fastlane/runner.rb:181:in `block (2 levels) in execute_action'
     # ./lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
     # ./lib/fastlane/runner.rb:175:in `block in execute_action'
     # ./lib/fastlane/runner.rb:174:in `chdir'
     # ./lib/fastlane/runner.rb:174:in `execute_action'
     # ./lib/fastlane/runner.rb:100:in `trigger_action_by_name'
     # ./lib/fastlane/fast_file.rb:140:in `method_missing'
     # (eval):2:in `block in parsing_binding'
     # ./lib/fastlane/lane.rb:33:in `call'
     # ./lib/fastlane/runner.rb:49:in `block in execute'
     # ./lib/fastlane/runner.rb:45:in `chdir'
     # ./lib/fastlane/runner.rb:45:in `execute'
     # ./spec/actions_specs/pod_push_spec.rb:39:in `block (4 levels) in <top (required)>'

  2) Fastlane Fastlane::FastFile Pod Push action errors if the path file does not end with .podspec or .podspec.json
     Failure/Error: expect do
       expected Exception with "File must be a `.podspec` or `.podspec.json`", got #<FastlaneCore::Interface::FastlaneError: Couldn't find file at path './fastlane/spec/fixtures/podspecs/test.notpodspec'> with backtrace:
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:80:in `rescue in valid?'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:76:in `valid?'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/config_item.rb:61:in `verify!'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:65:in `block in verify_value_exists'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:59:in `each'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:59:in `verify_value_exists'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:43:in `initialize'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:31:in `new'
         # /Users/distiller/.fastlane_bundle/ruby/2.3.0/gems/fastlane_core-0.50.3/lib/fastlane_core/configuration/configuration.rb:31:in `create'
         # ./lib/fastlane/configuration_helper.rb:8:in `parse'
         # ./lib/fastlane/runner.rb:181:in `block (2 levels) in execute_action'
         # ./lib/fastlane/actions/actions_helper.rb:35:in `execute_action'
         # ./lib/fastlane/runner.rb:175:in `block in execute_action'
         # ./lib/fastlane/runner.rb:174:in `chdir'
         # ./lib/fastlane/runner.rb:174:in `execute_action'
         # ./lib/fastlane/runner.rb:100:in `trigger_action_by_name'
         # ./lib/fastlane/fast_file.rb:140:in `method_missing'
         # (eval):2:in `block in parsing_binding'
         # ./lib/fastlane/lane.rb:33:in `call'
         # ./lib/fastlane/runner.rb:49:in `block in execute'
         # ./lib/fastlane/runner.rb:45:in `chdir'
         # ./lib/fastlane/runner.rb:45:in `execute'
         # ./spec/actions_specs/pod_push_spec.rb:50:in `block (5 levels) in <top (required)>'
         # ./spec/actions_specs/pod_push_spec.rb:49:in `block (4 levels) in <top (required)>'
     # ./spec/actions_specs/pod_push_spec.rb:49:in `block (4 levels) in <top (required)>'

Yep, I forgot to add the untracked files, before git commit -am

This is great, thanks for your contribution @maschall 👍


Issue with code completion for test module

Description:
The code completion suggests only one annotation when typed at the bottom of file. But if I type at the start, I get the complete list as suggestions.
Steps to reproduce:
Please see the attached gif.

Affected Versions:
Ballerina SL Beta2
OS, DB, other environment details and versions:
Using the VSCode plugin for Beta2 at https://marketplace.visualstudio.com/items?itemName=wso2.ballerina
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

@nadeeshaan @IMS94 FYA

@Dilhasha This was fixed with #31342 and will be available in SL Beta 3.

Thanks @IMS94


[#121] Support one vocabulary in multiple workspaces

@psiotwo
Not very sure about changing the implementation in WorkspaceService.ensureVocabularyExistsInWorkspace(). Might have some misunderstanding of how R/W and R/O vocabularies works/should be used within the workspace.
I assume that:

every vocabulary added to a workspace by /{workspaceFragment}/vocabularies-full endpoint should be R/W
createVocabularyContext(workspace, vocabularyContextDto) method call returns reference to what you call R/W vocabulary
loadVocabularyContextFromCache(workspace, vocabularyUri) method call returns reference to what you call R/O vocabulary

@psiotwo merguji

asi způsobuje fatální error ve VL, https://github.com/opendata-mvcr/sgov-assembly-line/issues/83, tak se pokusím o revert, když jste všichni pryč


HttpClient property use for ImageCache

How is the HttpClient property used within ImageCache? I couldn't find the property to set an instance of HttpClient.
Thanks!

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

ID: c1533af7-f5ac-2957-34f8-4f0c9b6251c8
Version Independent ID: 65191257-1cf9-9361-a9c9-76e964a6f142
Content: ImageCache - Windows Community Toolkit
Content Source: docs/helpers/ImageCache.md
Product: community-toolkit
GitHub Login: @nmetulev
Microsoft Alias: mhawker

@ShaneOss Here is the list of properties. I am not certain what you mean by how is it used.

@ShaneOss Here is the list of properties. I am not certain what you mean by how is it used.

ImageCache extends CacheBase which contains an internal HttpClient that is not exposed, modifiable, or extendable. If you have a good reason to want to change this, I suggest opening an issue requesting this on the main repo.

ImageCache extends CacheBase which contains an internal HttpClient that is not exposed, modifiable, or extendable. If you have a good reason to want to change this, I suggest opening an issue requesting this on the main repo.

Thanks Matt and Kyaa. The intent was to add an authorization header to the HttpClient used by the image cache, as the location of the images require authentication.
I did manage to work around the issue but would be great to see as an option in the main.
`                            var httpClient = ImageCache.Instance
.GetType()
.GetProperty("HttpClient", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.GetProperty | System.Reflection.BindingFlags.NonPublic)
.GetValue(ImageCache.Instance)
as System.Net.Http.HttpClient;
                        httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", myAccessToken);`

Thanks Matt and Kyaa. The intent was to add an authorization header to the HttpClient used by the image cache, as the location of the images require authentication.
I did manage to work around the issue but would be great to see as an option in the main.
`                            var httpClient = ImageCache.Instance
.GetType()
.GetProperty("HttpClient", System.Reflection.BindingFlags.Instance | System.Reflection.BindingFlags.GetProperty | System.Reflection.BindingFlags.NonPublic)
.GetValue(ImageCache.Instance)
as System.Net.Http.HttpClient;
                        httpClient.DefaultRequestHeaders.Authorization = new AuthenticationHeaderValue("Bearer", myAccessToken);`

Thanks, @ShaneOss! I am delighted to see that this workaround worked fine for you.
In terms of having this option in the main, you would have to propose the request in the main repo mentioned above and community members will further analyze if it's a valid request or not.

Thanks, @ShaneOss! I am delighted to see that this workaround worked fine for you.
In terms of having this option in the main, you would have to propose the request in the main repo mentioned above and community members will further analyze if it's a valid request or not.

Done. Thanks @Kyaa-dost

Done. Thanks @Kyaa-dost

Closing this issue here as the issue has been opened in WCT repo.

Closing this issue here as the issue has been opened in WCT repo.


Updated Vue.js with correct name and URL

@GeekTrainer : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#59259

Hi @GeekTrainer - This pull request was opened in the public repository. We’ll leave this PR for review in the public repo, but would you make future article updates in the private repo?
In the private repo, content benefits from automated validations, a content staging environment, and comprehensive PR reviews. Also, you can sign off directly in your PR (in the public repo, you can't sign off on your own PR), and many PRs qualify for auto-merge.
To edit an article in the private repo from within the documentation, after you select Edit on an article page,  add “-pr” to the repo name in the URL.
SpineEdit is a MicrosoftDocs-approved Chrome extension that opens the edit option in the private repo, if there is one and if you have access to it.
Thanks!

Related links in the internal Microsoft Docs contributor guide:
Public vs. private repos | Move a commit to a different repo (public -> private) | GitHub for content reviews
Quick reference for contributing to the docs | Make changes to a Docs article | PR review quality criteria

#sign-off


make it faster and avoid run time allocations

Inspired by avoid run time allocations, and [fasterer] (https://github.com/DamirSvrtan/fasterer)

@u2 interesting, should we add a CHANGELOG entry with ips results? :smile:
I mean is it worth it? (especially wonder about time allocations, is overhead huge?)

Very interesting. I am going to merge this, the code looks good. It's pretty obvious that those are "better", but I would love to hear how much better, @u2? Any benchmarks?

Here are some benchmarks from fast-ruby.
Hash#merge! vs Hash#[]= code
$ ruby -v code/hash/merge-bang-vs-\[\]=.rb
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]

Calculating -------------------------------------
         Hash#merge!     1.023k i/100ms
            Hash#[]=     2.844k i/100ms
-------------------------------------------------
         Hash#merge!     10.653k (± 4.9%) i/s -     53.196k
            Hash#[]=     28.287k (±12.4%) i/s -    142.200k

Comparison:
            Hash#[]=:    28287.1 i/s
         Hash#merge!:    10653.3 i/s - 2.66x slower

String#gsub vs String#tr code

rails/rails#17257

$ ruby -v code/string/gsub-vs-tr.rb
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]

Calculating -------------------------------------
         String#gsub    38.268k i/100ms
           String#tr    83.210k i/100ms
-------------------------------------------------
         String#gsub    516.604k (± 4.4%) i/s -      2.602M
           String#tr      1.862M (± 4.0%) i/s -      9.320M

Comparison:
           String#tr:  1861860.4 i/s
         String#gsub:   516604.2 i/s - 3.60x slower

Enumerable#reverse.each vs Enumerable#reverse_each code

Enumerable#reverse allocates an extra array.
Enumerable#reverse_each yields each value without allocating an extra array.
This is the reason why Enumerable#reverse_each exists.
-- @sferik rails/rails#17244

$ ruby -v code/enumerable/reverse-each-vs-reverse_each.rb
ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]

Calculating -------------------------------------
  Array#reverse.each    16.746k i/100ms
  Array#reverse_each    18.590k i/100ms
-------------------------------------------------
  Array#reverse.each    190.729k (± 4.8%) i/s -    954.522k
  Array#reverse_each    216.060k (± 4.3%) i/s -      1.078M

Comparison:
  Array#reverse_each:   216060.5 i/s
  Array#reverse.each:   190729.1 i/s - 1.13x slower

I have run these already, they more or less match the result of fast-ruby

The time allocations is slight difference.
require 'benchmark/ips'

def slow(env)
  status, headers, body = env
  headers.delete('Http-Access-Token')
  [status, headers, body]
end

def fast(env)
  env[1].delete('Http-Access-Token')
  env
end

env = [200, { 'Http-Access-Token' => '99d25f556b456d658ba0185540d9daa0' }, 'Hello ips']

Benchmark.ips do |x|
  x.report('slow Assignment') { slow(env) }
  x.report('fast Assignment') { fast(env) }
  x.compare!
end

def slow_ext(env)
  status, headers, body = env
  headers['X-Clacks-Overhead'] = 'GNU Terry Pratchett'
  [status, headers, body]
end

def fast_ext(env)
  env[1]['X-Clacks-Overhead'.freeze] = 'GNU Terry Pratchett'.freeze
  env
end

env = [200, { 'Http-Access-Token' => '99d25f556b456d658ba0185540d9daa0', 'X-Cascade' => 'Cascade' }, 'Hello ips']

Benchmark.ips do |x|
  x.report('slow Assignment') { slow_ext(env) }
  x.report('fast Assignment') { fast_ext(env) }
  x.compare!
end

ruby -v code/general/assignment_array.rb
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
Calculating -------------------------------------
     slow Assignment    82.656k i/100ms
     fast Assignment    85.914k i/100ms
-------------------------------------------------
     slow Assignment      2.444M (± 7.7%) i/s -     12.150M
     fast Assignment      2.997M (± 7.5%) i/s -     14.949M

Comparison:
     fast Assignment:  2997189.9 i/s
     slow Assignment:  2443517.4 i/s - 1.23x slower

Calculating -------------------------------------
     slow Assignment    80.723k i/100ms
     fast Assignment   101.598k i/100ms
-------------------------------------------------
     slow Assignment      2.457M (± 7.0%) i/s -     12.270M
     fast Assignment      3.957M (± 7.9%) i/s -     19.710M

Comparison:
     fast Assignment:  3957163.9 i/s
     slow Assignment:  2457315.4 i/s - 1.61x slower


Cannot read property 'clientWidth' of null

When navigation from the page. Need to check if ref exists.
index.js:57 Uncaught TypeError: Cannot read property 'clientWidth' of null
onScrollBarSensor @ index.js:57

Wrong issue


About FPFH Matching on KITTI

Thanks for your nice work!
On the KITTI benchmark, how do you preprocess point cloud and extract FPFH descriptor?
I implement it by myself but get a low success ratio. The code is here. Config file is here.

For FPFH features, you're missing the critical
src_features = src_features / (np.linalg.norm(src_features, axis=1, keepdims=True) + 1e-6)
tgt_features = tgt_features / (np.linalg.norm(tgt_features, axis=1, keepdims=True) + 1e-6)

at line 24 in your code file

Thanks. I will try.


Add a --me variable for creating commands with a .me response

Just type /me at the start of the command response, I think that's what the "Me" selector does on the website anyways

Yes, but it makes it look better on the commands page if you use the me response

Not sure what happened, but it appears the same on the commands page either way you do it. Can't remember where I saw this.


Cast key to string.

Resolve: Cast key to string. Resolves bug: https://github.com/anlutro/laravel-settings/issues/140

Thanks for your contribution :)


check that pinocchio is minimally used (no redundant calls)

In GitLab by @proyan on Feb 4, 2019, 13:29

In GitLab by @cmastalli on Feb 8, 2019, 10:43
assigned to @rbudhira

In GitLab by @nmansard on Feb 12, 2019, 11:24
mentioned in merge request !97

In GitLab by @nmansard on Feb 21, 2019, 14:27
Issue raised in #122: Minv is computed twice!

In GitLab by @nmansard on Feb 28, 2019, 11:19
unassigned @proyan

In GitLab by @proyan on Mar 4, 2019, 13:06
There hasn't been a thorough review of the full code to remove redundancies. One source of improvement is #102, which is a subtask. However it is dependent on changes in Pinocchio, and not possible to be resolved soon.
I'll remove the milestone here as well.

In GitLab by @proyan on Mar 4, 2019, 13:06
removed milestone

In GitLab by @cmastalli on Nov 5, 2019, 15:06
Fixed in the c++ implementation. Feel free to reopen it

In GitLab by @cmastalli on Nov 5, 2019, 15:06
closed


Login using facebook for user and worker

Is your feature request related to a problem? Please describe.
We can also add login using facebook feature as a huge amount of people use it.
Describe the solution you'd like
Workers and users will be able to login using facebook

@KaizenGirl1111 can u assign me this?


New features and test refactoring

Added /wow/boss, /wow/boss/:bossid, /wow/zone, /wow/zone/:zoneid endpoints
Refactored tests to make them more readable
Added new method asJson to allow for returning the raw json.
Look at the commit messages to get further information

Coverage decreased (-8.7%) to 82.729% when pulling fe8aaa63d611bb1ada1cd3df4cce9c44de2b32a8 on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

I do not understand why tests are failing they work on my machine.

Coverage decreased (-9.06%) to 82.378% when pulling 425b39b627669546c33c11006d82c76776342084 on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-9.06%) to 82.378% when pulling 3276049ebd69fd16167eba200f1782f04ffe02a2 on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-9.3%) to 82.128% when pulling 44f12d534135e1f3a82faad94267982611bf6b7b on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-9.5%) to 81.953% when pulling 788edd5afdc8c727fbffeedc33c688e8b7c634ac on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-9.5%) to 81.953% when pulling 01ce14780d43b13c9812c55f906463dad05cc37e on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-8.1%) to 83.298% when pulling 276978a280daee49bd4daf06b1aad8480085d755 on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

Coverage decreased (-8.1%) to 83.298% when pulling 8d74fe03946eafa0ff875c35bf6331facebd25cc on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

I don't get why it's failing.. Because it works locally..
And code coverage has increased locally aswell.
It must be something with travis and coveralls..

I get the same errors locally. I'll try to figure out what's wrong.

Coverage decreased (-30.9%) to 60.515% when pulling 75c7b7d418ffcd544f538a634fa1040edaf06cca on morloderex:master into bd14fbd1a1d47aac855ca7d4d4b8207635639ef4 on pwnraid:master.

I merged some of your changes. I'll think about if asJson() is something this library should have and what would be the best way to implement it. In the future it would be great if you could keep your PRs small and limited to one specific change, it makes reviewing and merging them much easier :)
Thanks!

Sure :)
I'll do that.. The reason I created that asJson method in the first place where to cache the requests that don't provide the if-modified header.


prisonpearlsUUID.txt should record username of the Pearled player as well as UUID

prisonpearlsUUID.txt should log the username of the player at time of pearling for ease of administration. It's a pain having to connect accounts to UUIDs manually each time when investigating alt associations.

you use the txt file to authenticate pearls or you want the name to be logged when they are pearled?

We use the txt file to check if people are currently pearled, as
/pplocateany in the console scrolls by too fast. Also easier for shell
scripts. So both
On Thu Jan 29 2015 at 22:18:28 rourke750<EMAIL_ADDRESS>wrote:

you use the txt file to authenticate pearls or you want the name to be
logged when they are pearled?
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/PrisonPearl/issues/28#issuecomment-72096432.

Is adding another file that maps current uuids to player names which only has pearled players okay?

That'd work though it might be less elegant.
On Sun Feb 01 2015 at 22:49:22 rourke750<EMAIL_ADDRESS>wrote:

Is adding another file that maps current uuids to player names which only
has pearled players okay?
—
Reply to this email directly or view it on GitHub
https://github.com/Civcraft/PrisonPearl/issues/28#issuecomment-72383482.


--root-ssh-authorized-keys not work on the firstboot

First boot:
# systemctl status systemd-tmpfiles-setup.service
● systemd-tmpfiles-setup.service - Create Volatile Files and Directories
     Loaded: loaded (/usr/lib/systemd/system/systemd-tmpfiles-setup.service; static)
     Active: active (exited) since Thu 2024-02-22 14:51:03 UTC; 2min 21s ago
       Docs: man:tmpfiles.d(5)
             man:systemd-tmpfiles(8)
    Process: 567 ExecStart=systemd-tmpfiles --create --remove --boot --exclude-prefix=/dev (code=exited, status=73)
   Main PID: 567 (code=exited, status=73)
        CPU: 162ms

Feb 22 14:51:03 localhost systemd[1]: Starting Create Volatile Files and Directories...
Feb 22 14:51:03 localhost systemd-tmpfiles[567]: "/root" already exists and is not a directory.
Feb 22 14:51:03 localhost systemd-tmpfiles[567]: Failed to open path '/root', ignoring: No such file or directory
Feb 22 14:51:03 localhost systemd-tmpfiles[567]: Failed to open path '/root/.ssh': No such file or directory
Feb 22 14:51:03 localhost systemd-tmpfiles[567]: "/home" already exists and is not a directory.
Feb 22 14:51:03 localhost systemd-tmpfiles[567]: "/srv" already exists and is not a directory.
Feb 22 14:51:03 localhost systemd[1]: Finished Create Volatile Files and Directories.

# ls -a /etc/tmpfiles.d/bootc-root-ssh.conf
/etc/tmpfiles.d/bootc-root-ssh.conf
# ls -a /root/
.  ..  .lesshst

Second boot:
# ls -a /root/
.  ..  .bash_history  .lesshst  .ssh

OK yeah I think the main failure may start from here

Feb 22 14:51:03 localhost systemd-tmpfiles[567]: "/root" already exists and is not a directory.

Possible fixes:

https://github.com/CentOS/centos-bootc/issues/354
sed -ie s,/root,/var/roothome, /usr/lib/tmpfiles.d/provision.conf in our base images
Changing systemd to support following symlinks for some tmpfiles

I can still see the error messages on first boot.
Mar 04 06:46:30 localhost systemd-tmpfiles[562]: /usr/lib/tmpfiles.d/rpm-ostree-0-integration.conf:3: Duplicate line for path "/var/roothome", ignoring.
Mar 04 06:46:30 localhost systemd-tmpfiles[562]: Failed to open path '/root/.ssh': No such file or directory
Mar 04 06:46:30 localhost systemd-tmpfiles[562]: "/home" already exists and is not a directory.
Mar 04 06:46:30 localhost systemd-tmpfiles[562]: "/srv" already exists and is not a directory.

Thanks hmm...I thought this was working for me, but yes, let's add an e2e CI test that is gating on this working (cc https://github.com/containers/bootc/pull/373 )

I opened https://github.com/CentOS/centos-bootc/pull/440 - I hope this fixes it (did not do an end-to-end test, sorry!). I want to use the --root-ssh-authorized-keys to test https://github.com/osbuild/images/pull/462 :)

This may need a final tweak https://github.com/containers/bootc/pull/407 - I still saw an issue when testing this but it seems the linked PR fixes it for me (but maybe there is a better way or I am missing something?)


About fused model training  method  and  lidar model training method

hi、thank you for your excellent work！
I am very interesting to know what is the fused model training steps and what is the lidar model training steps. this is my understanding:
(1）about training lidar model method
lidar model direct training 20 epoch according to the config file，is right？
(2）about training fused model method
first，load the lidar model from (1) when training，second，training six epcoh according to the config file，is right？
hope you reply   thanks!

Hi Paul,
Yes, your understanding is correct.
Best,
Haotian

Closed due to inactivity. Please feel free to reopen if you feel it necessary.


Poison import if Qiskit 1.0+ is detected

Summary
This uses importlib.metadata to search for installations of Qiskit 1.0 at runtime, and poison the import if one is detected.  The two packages are incompatible in a way that we cannot express to pip without having poisoned the qiskit-terra package as a whole, which is something we're less willing to do in order to keep it easier to install old versions of Qiskit-dependent software, and to keep the Qiskit 1.0 packaging story clean for the coming years.
It is not generally expected that a user specifically attempting to install Qiskit 0.45/0.46 will accidentally install Qiskit 1.0 as well. The intention of this poisoning in the "stable" branch is so that the case that a user installs Qiskit 1.0, but either also includes an old package with a dependency purely on qiskit-terra, or runs a subsequent pip install command whose version resolution causes qiskit-terra to become installed.  In both these cases, it could be the case that the import qiskit command finds the qiskit-terra __init__.py file, and so any error we also place in Qiskit 1.0 would have been skipped.

Details and comments
I will say that I don't love the idea of poisoning a package by any stretch, but given all the problems we've seen where people have inadvertently been installing broken environments while trying to test Qiskit 1.0, I think this is the pragmatic solution.
The only case of false-positive poisoning I've been able to find is very developer-centric:

a main-branch version of Qiskit 1.0 has been installed in editable mode
Qiskit 1.0 is uninstalled
qiskit-terra 0.45.x (this commit) is installed by any means, and the qiskit metapackage is either not installed, or installed but not editable in a way that overwrites the installations of step 1
the Python session can see the qiskit.egg-info directory that gets dropped by pip install -e . from step 1 before any dist-info or egg-info directory of the old qiskit metapackage in the meta path (such as if the session is launched from the repo root).

If all those criteria are met, it's possible for an incompatible qiskit.egg-info to be in the meta path without the actual Qiskit 1.0 code being in the import path, in which case the package will emit a false positive import error. edit: the only way I can think to get a false negative is if somebody manually deletes stuff out of site-packages without using pip uninstall, and that's not something we need to guard against.
That possibility was enough to scare me, so I threw in a QISKIT_SUPPRESS_1_0_IMPORT_ERROR environment variable, that can be set to 1 to override the error.
See #11618 for the companion PR on main.

How does this relate to: https://github.com/Qiskit/qiskit/pull/11230 the plan we were going with before was to warn on import

It's largely orthogonal to #11230 (which I'd forgotten about) - this PR fails the import if a qiskit distribution is installed with its major version non-zero, that PR raises a warning if the corresponding qiskit distribution isn't installed with 0.46.  Both are valid messages, and I think both should likely exist.

I've marked this as "on hold", because we're planning to move ahead with it, but to include a link to a migration guide with more detail in the error message first.

I've added a shortlink to the message which will work soon, but is blocked on Qiskit/documentation#710 being deployed.

Qiskit/documentation#710 should be merged and live now before any release would actually land.


clang/clang++ multi-lib selection

Hello,
When I run the following command:
clang -print-multi-directory --target=arm-none-eabi -march=armv7e-m -mfloat-abi=hard -mfpu=fpv5-d16
I expect the output:
arm-none-eabi/armv7em_hard_fpv5_d16
However, I get the output:
arm-none-eabi/armv7em_hard_fpv5_d16_exn_rtti
Adding the -fno-rtti -fno-exceptions flags gets me the output I expect, but wouldn't it be the correct behavior to select the non-exn_rtti libs when invoking clang and not clang++?

Hi Joshua,
Thank you for reaching out!
-fno-rtti -fno-exceptions should not have impact on C code generation and thus the C libraries, so effectively C libraries in both folders armv7em_hard_fpv5_d16 and armv7em_hard_fpv5_d16_exn_rtti must be the same. Which is not ideal, but this is how the multilib setup works now.
For a C project library folder selection should not make a difference, however I agree that it would be cleaner to select armv7em_hard_fpv5_d16 when clang is used as you suggested. I will keep this issue as an improvement in the multilib setup.


PSBT BIP32 keys using to Secp256k1 keys instead of bitcoin ECDSA

Fourth step in implementation of Schnorr key support after #588. This PR is a follow-up to non-API breaking #589 and API-breaking #590, which must be reviewed and merged first. (The current PR includes all commits from #589 and #590, which should be reviewed there. The only commit specific to this PR is b8105e95dc8651626b783403ca060f7d32d21144)
PR description:
While PSBT BIP174 does not specify whether uncompressed keys are supported in BIP32-related fields, from BIP32 it follows that it is impossible to use uncompressed keys within the extended keys.  This PR fixes this situation and is a companion to BIP174 PR clarifying key serialization: https://github.com/bitcoin/bips/pull/1100

Rebased. Should be reviewed after #590

Concept ACK for this. But the interesting part is how do we deal with partial_sigs part. Since, we would have sigs for schnorr::PublicKey and ecdsa::PublicKey

@sanket1729 the goal of this PR is not to add Taproot support to PSBT, but just make existing PSBT more logical. For Taproot support we clearly need a new PR adding new key types according to the latest changes. So, current signatures for already defined keys should remain to be ECDSA signatures

Sorry, I should read the description/code :facepalm: . Will review after the other related PRs

utACK b8105e9

Re-based after #590 merge, ready for review

@apoelstra did BIP PR last April, but it has stuck: https://github.com/bitcoin/bips/pull/1100

Can we pls merge this in front of other approved PRs?


Live Exercise Export bug

Describe the bug
When 2 or more exercises are selected on the Live Exercises page - image 1 - and the Export Data button clicked, the report features an extra column - see image 2 - columns K and L are duplicates, and the data ends in column AD rather than AC. Furthermore, if 3 exercises are selected, an additional duplicate column is created, with 4 exercises another one, and so on. This is causing lots of issues putting together data for our monthly Rolling Diversity Report, and other purposes.
To Reproduce
Steps to reproduce the behavior:

Go to Live Exercises
Select multiple exercises, e.g. 130 and 131, and Click 'Export data'
Open the download and note that columns K and L are duplicates
Repeat with 3 exercises if desired

Expected behavior
Irrespective of how exercises are selected, the exported spreadsheet should only contain a single column for 'Attended state or fee-paying school'. Please share with Sean for UT once fixed.
Screenshots
Image 1
Private Zenhub Image
Image 2
Private Zenhub Image

Note that if exercises are selected from before and after the social mobility questions changed on 01/04/2023 then the download will contain extra columns. We'll need columns for both sets of questions.
In this case I propose we prepend "[pre 01/04/2023] " (or similar [TBC]) to the three older questions as one or two of them had similar titles to the new questions.

@HalcyonJAC Hi Ryan, I know this is live now, but it should still be code reviewed - can you request approval from other Devs, pls?


Update recording interface

Rework recording interface to store both real-time and NSP timestamps for mapping between the two, and to use utils/ functions instead of the old mixin class.

@felixp8 So sorry 😅 more conflicts now

all good, needed to update the alignment logic anyway. let me generate an example file for this also

example file here: https://drive.google.com/file/d/1TkTCfhzVbLXwsmep2BMmJ3IQfzag5kYn/view?usp=drive_link


Add missing @types/express to package.json

reference to express has been included to n8n-workflow/dist/src/Interfaces.d.ts:2:26 so npm run build is failing.

Great, thanks a lot. Got merged.


Tests failing in clean virtualenv in Win10

Hi project folks,
I've just set up a new environment (thinking of working on #43), have pulled latest master and run the tests and I'm getting two fail.
Win 10 1703
Python 3.6.2 64-bit
Made one modification to requirements-test.txt before installing those packages: changed moto to moto<1.
Ran tests with: python -m unittest in the base folder.
I'm seeing two failures. One to do with the gzip test where it's trying to remove a file that it thinks is still in use. I go and find the file and I can manually delete it no worries.
The other error is to invalid S3 credentials, on a test that is decorated with @mock_s3. So it looks like the mocking isn't working.
Just thought I'd check in to double-check that these are not some strange known-about things perhaps on latest python? One of the errors looks like #124.
Two errors details:
ERROR: test_write_read_gz (smart_open.tests.test_smart_open.CompressionFormatTest)
Can write and read gzip?
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\tests\test_smart_open.py", line 979, in test_write_read_gz
    self.write_read_assertion(test_file)
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\tests\test_smart_open.py", line 966, in write_read_assertion
    os.unlink(test_file)
PermissionError: [WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Users\\schie\\AppData\\Local\\Temp\\tmp9d11oz5u.gz'

and
ERROR: test_s3_iter_bucket_moto (smart_open.tests.test_smart_open.S3IterBucketTest)
Does s3_iter_bucket work correctly?
----------------------------------------------------------------------
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Program Files\Python36\Lib\multiprocessing\pool.py", line 119, in worker
    result = (True, func(*args, **kwds))
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\smart_open_lib.py", line 953, in s3_iter_bucket_process_key_with_kwargs
    return s3_iter_bucket_process_key(**kwargs)
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\smart_open_lib.py", line 966, in s3_iter_bucket_process_key
    return key, key.get_contents_as_string()
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 1794, in get_contents_as_string
    response_headers=response_headers)
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 1662, in get_contents_to_file
    response_headers=response_headers)
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 1494, in get_file
    query_args=None)
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 1526, in _get_file_internal
    override_num_retries=override_num_retries)
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 355, in open
    override_num_retries=override_num_retries)
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\boto\s3\key.py", line 315, in open_read
    self.resp.reason, body)
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error>InvalidAccessKeyId<Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>test-key</AWSAccessKeyId><RequestId>AEACFBA54E7C97D7</RequestId><HostId>kcAWz8TIE3yocyKdhVeQ4112jX9e79VaVJikd9svFjdNw3QwdoawsVKKmw6rtMwMFoQ7QVAg9EA=</HostId></Error>
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "C:\Users\schie\PycharmProjects\smart_open_venv\lib\site-packages\moto\core\models.py", line 71, in wrapper
    result = func(*args, **kwargs)
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\tests\test_smart_open.py", line 887, in test_s3_iter_bucket_moto
    for k, c in smart_open.s3_iter_bucket(mybucket):
  File "C:\Users\schie\PycharmProjects\smart_open\smart_open\smart_open_lib.py", line 1014, in s3_iter_bucket
    for key_no, (key, content) in enumerate(iterator):
  File "C:\Program Files\Python36\Lib\multiprocessing\pool.py", line 735, in next
    raise value
boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden
<?xml version="1.0" encoding="UTF-8"?>
<Error>InvalidAccessKeyId<Message>The AWS Access Key Id you provided does not exist in our records.</Message><AWSAccessKeyId>test-key</AWSAccessKeyId><RequestId>AEACFBA54E7C97D7</RequestId><HostId>kcAWz8TIE3yocyKdhVeQ4112jX9e79VaVJikd9svFjdNw3QwdoawsVKKmw6rtMwMFoQ7QVAg9EA=</HostId></Error>

Thanks for report @tschier, I reproduced your problem.

All the tests currently pass on github actions, so closing.


[Feature request] Add support for custom language files

Currently only the supported languages are allowed in the configuration. However for clarity, we'd like to use our own file instead of using en-gb for the translations. If you try to change the locale to for example fi-fi you get this error on startup:
Error occurred while enabling HuskTowns v2.2 (Is it up to date?)
java.lang.NullPointerException: Input stream cannot be null!
        at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
        at net.william278.husktowns.libraries.boostedyaml.YamlDocument.reload(YamlDocument.java:246) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.boostedyaml.YamlDocument.reload(YamlDocument.java:222) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.boostedyaml.YamlDocument.<init>(YamlDocument.java:91) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.boostedyaml.YamlDocument.create(YamlDocument.java:773) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.boostedyaml.YamlDocument.create(YamlDocument.java:792) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.annotaml.YamlObjectMap.parse(YamlObjectMap.java:70) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.libraries.annotaml.Annotaml.create(Annotaml.java:146) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.HuskTowns.loadConfig(HuskTowns.java:305) ~[HuskTowns-2.2.jar:?]
        at net.william278.husktowns.BukkitHuskTowns.onEnable(BukkitHuskTowns.java:106) ~[HuskTowns-2.2.jar:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:192) ~[paper-1.19.4.jar:git-Paper-492]
        at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.19.4.jar:git-Paper-492]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:555) ~[paper-1.19.4.jar:git-Paper-492]
        at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:466) ~[paper-1.19.4.jar:git-Paper-492]
        at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:638) ~[paper-1.19.4.jar:git-Paper-492]
        at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.19.4.jar:git-Paper-492]
        at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.19.4.jar:git-Paper-492]
        at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1104) ~[paper-1.19.4.jar:git-Paper-492]
        at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-492]
        at java.lang.Thread.run(Thread.java:833) ~[?:?]

Many other plugins already support this type of behavior and would make the translation of the plugin more straightforward.

You can just modify en-gb.yml — it’s just the file name which has to match
a valid “default” file
On Wed, 5 Apr 2023 at 17:51, FabianAdrian @.***> wrote:

Currently only the supported languages are allowed in the configuration.
However for clarity, we'd like to use our own file instead of using en-gb
for the translations. If you try to change the locale to for example fi-fi
you get this error on startup:
Error occurred while enabling HuskTowns v2.2 (Is it up to date?)
java.lang.NullPointerException: Input stream cannot be null!
at java.util.Objects.requireNonNull(Objects.java:233) ~[?:?]
at net.william278.husktowns.libraries.boostedyaml.YamlDocument.reload(YamlDocument.java:246) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.boostedyaml.YamlDocument.reload(YamlDocument.java:222) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.boostedyaml.YamlDocument.(YamlDocument.java:91) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.boostedyaml.YamlDocument.create(YamlDocument.java:773) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.boostedyaml.YamlDocument.create(YamlDocument.java:792) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.annotaml.YamlObjectMap.parse(YamlObjectMap.java:70) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.libraries.annotaml.Annotaml.create(Annotaml.java:146) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.HuskTowns.loadConfig(HuskTowns.java:305) ~[HuskTowns-2.2.jar:?]
at net.william278.husktowns.BukkitHuskTowns.onEnable(BukkitHuskTowns.java:106) ~[HuskTowns-2.2.jar:?]
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:279) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at io.papermc.paper.plugin.manager.PaperPluginInstanceManager.enablePlugin(PaperPluginInstanceManager.java:192) ~[paper-1.19.4.jar:git-Paper-492]
at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.enablePlugin(PaperPluginManagerImpl.java:104) ~[paper-1.19.4.jar:git-Paper-492]
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:507) ~[paper-api-1.19.4-R0.1-SNAPSHOT.jar:?]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugin(CraftServer.java:555) ~[paper-1.19.4.jar:git-Paper-492]
at org.bukkit.craftbukkit.v1_19_R3.CraftServer.enablePlugins(CraftServer.java:466) ~[paper-1.19.4.jar:git-Paper-492]
at net.minecraft.server.MinecraftServer.loadWorld0(MinecraftServer.java:638) ~[paper-1.19.4.jar:git-Paper-492]
at net.minecraft.server.MinecraftServer.loadLevel(MinecraftServer.java:437) ~[paper-1.19.4.jar:git-Paper-492]
at net.minecraft.server.dedicated.DedicatedServer.initServer(DedicatedServer.java:308) ~[paper-1.19.4.jar:git-Paper-492]
at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1104) ~[paper-1.19.4.jar:git-Paper-492]
at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:320) ~[paper-1.19.4.jar:git-Paper-492]
at java.lang.Thread.run(Thread.java:833) ~[?:?]
Many other plugins already support this type of behavior and would make
the translation of the plugin more straightforward.
—
Reply to this email directly, view it on GitHub
https://github.com/WiIIiam278/HuskTowns/issues/215, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHN6D7OWSSLKWAKRAML5SLLW7WPH7ANCNFSM6AAAAAAWUKKWKI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Is there a reason this limit exists? Since you can create a Locale object for any language tag as long as it is a valid tag.
If however you plan on keeping this limitation, I think the startup error should at least be made more user friendly instead of the current NPE.

the way it works is it looks up the list of embedded resource files and finds it by the string locale tag. Ig the error could be made more clear on startup

Since this is how all my plugins work I think I'm gonna close this -- don't really want to introduce inconsistency. Simply put: Use the language setting to pick one of the default locales, and customize from there (including translating it to your own language if you wish). If you'd like to submit those locales to become a default, by all means feel free to PR :)


Add Social Preview and SEO Image of a Post?

Checklist

[x] I have read the newlest tutorials and know the correct effect of the functional design.
[x] There is no similar question on existing issues (including closed ones).
[x] I have tried to find the answer on Jekyll Forum and StackOverflow.
[x] My question is based on the latest code of the master branch.

Description

Is there any option to customise or add a featured image preview while link sharing or an image to show on search engines?

@NichtsHsu while link sharing the preview image is not showing.

have you found any solution for this
?


Improve installation to have a DESTDIR or something like that before PREFIX

Makes life of package maintainers easier, suggested by @schmonz

Proposed fix in #28.