unl0kr service update

Description of changes
This PR centers around the service aspect of unl0kr in NixOS (despite the branch name suggesting otherwise). While it would've also been great to also bump the version I feel like this is a much easier and important contribution, since the most notable changes in between v2.0.0 and v3.2.0 are slight changes in configuration attributes, a new theme and a (presumably hacky but operational) bugfix
Credit to https://github.com/Electrostasy for most of the heavy lifting.
This PR also removes tomfitzhenry as the maintainer of unl0kr at his request.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

rename your title to: nixos/unl0kr: what you do

Squash your commit to one.

successfully squashed

#333616
#319126
Notifying since this PR seems to try and handle these other two as well. Can we get discussion from the respective PR openers, including potential closure of the older PRs if this one suffices?

https://github.com/NixOS/nixpkgs/pull/333616 has been accepted and I'll need to rebase and fix the conflicts

@hustlerone Do not include merge commit in PR. Rebase instead.

#333616 #319126
Notifying since this PR seems to try and handle these other two as well. Can we get discussion from the respective PR openers, including potential closure of the older PRs if this one suffices?

This PR only handles the service side of things and version bumps can be done separately

Don't merge this yet, I have to make sure certain modules are loaded for the correct operation of unl0kr

any drawbacks of boot.initrd.availableKernelModules compared to boot.initrd.kernelModules?

Don't merge this yet, I have to make sure certain modules are loaded for the correct operation of unl0kr

I noticed I had to add evdev for unl0kr in initrd (iirc it is listed as a dependency in the project's readme), but also hid_multitouch, i2c_hid_acpi and intel_lpss_pci for touchscreen support.
On my device, touchscreen is apparently connected over i2c, and that was the bare minimum I needed to get touch working (both drivers and actually powering up the i2c devices). I believe these are rather dependent on how touchscreen is wired up on a particular device, and it may be different for other hardware. I found https://www.kernelconfig.io/index.html very useful for figuring out what is loaded and why when I set my unl0kr up, though.

any drawbacks of boot.initrd.availableKernelModules compared to boot.initrd.kernelModules?

As far as I understand, boot.initrd.availableKernelModules should just add the modules to the initrd image, but boot.initrd.kernelModules will add them and load them on startup. In practice, they are functionally the same, as modules will be loaded if they are available and required in my experience.

Don't merge this yet, I have to make sure certain modules are loaded for the correct operation of unl0kr

I noticed I had to add evdev for unl0kr in initrd (iirc it is listed as a dependency in the project's readme), but also hid_multitouch, i2c_hid_acpi and intel_lpss_pci for touchscreen support.
On my device, touchscreen is apparently connected over i2c, and that was the bare minimum I needed to get touch working (both drivers and actually powering up the i2c devices). I believe these are rather dependent on how touchscreen is wired up on a particular device, and it may be different for other hardware. I found https://www.kernelconfig.io/index.html very useful for figuring out what is loaded and why when I set my unl0kr up, though.

any drawbacks of boot.initrd.availableKernelModules compared to boot.initrd.kernelModules?

As far as I understand, boot.initrd.availableKernelModules should just add the modules to the initrd image, but boot.initrd.kernelModules will add them and load them on startup. In practice, they are functionally the same, as modules will be loaded if they are available and required in my experience.

My concern is that there could be a complaint about bloat because maybe only one of them is needed

I'm going to test on my machine right now

Tested, seems to work on the Steam Deck

My concern is that there could be a complaint about bloat because maybe only one of them is needed

Yes, due to potentially different hardware configurations and considering that the initrd image size will increase, it would be reasonable to only require evdev to be added by the NixOS module IMO. Maybe also the generic touch modules?
I haven't seen the i2c-designware modules before, so I will likely test this myself with them tomorrow.

My concern is that there could be a complaint about bloat because maybe only one of them is needed

Yes, due to potentially different hardware configurations and considering that the initrd image size will increase, it would be reasonable to only require evdev to be added by the NixOS module IMO. Maybe also the generic touch modules?
I haven't seen the i2c-designware modules before, so I will likely test this myself with them tomorrow.

I was more concerned about the RAM usage. If anyone wants to strip down the list they're free to use lib.lists.remove when they define boot.initrd.kernelModules

Oh yeah, and the Steam Deck requires 5 out of the 8 modules I've defined

This PR is ready to be merged now

If anyone wants to strip down the list they're free to use lib.lists.remove when they define boot.initrd.kernelModules

not really. The module system doesn't have a way to remove definitions from another module, other than using mkForce to override the value completely (which means copying any other definitions that you would have needed to keep).

I haven't seen the i2c-designware modules before, so I will likely test this myself with them tomorrow.

unl0kr does load with this PR on my 2 in 1 laptop, however, I do not have any touchscreen support unless I additionally include intel_lpss_pci in boot.initrd.availableKernelModules.
I can add it to my specific configuration (since it is specific to my hardware), but I still have some doubts about including kernel modules in the initrd only for certain hardware here. I suppose it would be better to add them to get as much compatibility as we feasibly can, though.

I haven't seen the i2c-designware modules before, so I will likely test this myself with them tomorrow.

unl0kr does load with this PR on my 2 in 1 laptop, however, I do not have any touchscreen support unless I additionally include intel_lpss_pci in boot.initrd.availableKernelModules.
I can add it to my specific configuration (since it is specific to my hardware), but I still have some doubts about including kernel modules in the initrd only for certain hardware here. I suppose it would be better to add them to get as much compatibility as we feasibly can, though.

That is my intention. After all, this module is supposed to have unl0kr painlessly work on as much hardware as possible.

@Aleksanaa I really have to use nixfmt so editorconfig does not complain.

more drivers added

Tested and confirmed working on wacom

Ok, the intel* is sort of a bridge too far for me, since it's explicitly vendor-specific. I don't mind it being enabled by default but there needs to be a way to disable it.
Here's my solution. We should have an option called something like enableOptionalModules which defaults to true. Now, this shouldn't interfere with the inclusion of evdev. It seems to me that evdev is a hard requirement and the lack of it is a current bug. So we probably have to do some mkMerge magic to accomplish this. But I think having an option enabled by default that is easy to disable would be important here

Ok, the intel* is sort of a bridge too far for me, since it's explicitly vendor-specific. I don't mind it being enabled by default but there needs to be a way to disable it.
Here's my solution. We should have an option called something like enableOptionalModules which defaults to true. Now, this shouldn't interfere with the inclusion of evdev. It seems to me that evdev is a hard requirement and the lack of it is a current bug. So we probably have to do some mkMerge magic to accomplish this. But I think having an option enabled by default that is easy to disable would be important here

Where do we draw the line?

(I'm saying this because wacom is also vendor-specific)

(I'm saying this because wacom is also vendor-specific)

@hustlerone Yea, i would say that anything specific to a particular brand or vendor would be behind such a enableOptionalModules option.

I'm going to do the requested changes, stand by

@ofborg test systemd-initrd-luks-unl0kr


Could not listen on [::]:30005 error

The default parameter "--listen 30005:R" gives the following error;
Could not listen on [::]:30005: open: Address family not supported by protocol
Probably related to IPv6 configuration?
Solved by specifying localhost:
"--listen localhost:30005:R"

It is a warning only; you'll get this if you have a broken ipv6 configuration (resolution of the wildcard host address returns a v6 address, but your system does not support v6 sockets)


Do not fetch dataviews until view bounds are available if sync_on_bbox_change is true

Required for https://github.com/CartoDB/cartodb/issues/11783
Hopefully fixes https://github.com/CartoDB/cartodb.js/issues/1610
@xavijam mind taking a look at this 🙏 ? 💋
cc: @donflopez

Fine by me if we make the test pass 💃


Enable Autocomplete in Frontend

WIP pull request for implementation comments. Modifies existing finder such that we can create searches that only return autocomplete results, and presents those results to the user on the front end.
Info in this trello card: https://trello.com/c/eRITjGeX/1253-implement-autocomplete

@Tetrino are we OK to close this?

@benthorner Sorry I was on A/L. Closed.


Update mobile no field on signup page

Hello team,
can we update mobile no field on signup page on ev-dashboard and ev-mobile
Thanks

I created the task internally and it has not yet been assigned.
I'll let you know.


Update issue templates

This adds the following issue and PR templates for the repository:
Issue templates

Bug report
feature request - Mostly for external contributors.
New contract -  Where external contributors can request a new contract to be added.
New project feature - This is mainly for internal contributors. Normally this issues come from pre-planned milestones.
research  - Investigation issues in which we log our findings, in order to maximize context sharing.
security - Redirects contributors who discover any security bug to a safe email address for notification purposes.

PR template
A minimum PR template that promotes instructions for reviewer and also linking to related issues.

Adding draft PR  for review, hope this is not too overwhelming. I tried to kept templates complexity at a minimum. Let me know your thoughts.

What's the difference between feature request and new project feature? Is the first one related to contracts only? I would change it's name to distinguish it more from new project features. In the presented form people could get confused which type they should choose.

What's the difference between feature request and new project feature? Is the first one related to contracts only? I would change it's name to distinguish it more from new project features. In the presented form people could get confused which type they should choose.

Yeah, similar thoughts here. My intention was to provide:
feature request - This is something the project doesnt have on its roadmap, but that due to a non covered use case would be great. So external contributors can say "It would be nice to have ..."
new project feature -  This is a bit more free, thought for when we need to add pre-planned issues from milestones. Its not a feature request, its something the project maintainers wants to head towards.
New contract - This is specifically for adding new contracts , as it has high probabilities of being one of our main incoming contributions, so just trying to preapre the terrain for it, and condense all the knowledge in that template. I considered a dedicated template for this would play well.
Said that, maybe its good to remove the new project feature issue template, as it looks like confusing and its breaking orthogonality with the rest of templates. Internal contributors can adapt the feature request  one to be more ad-hoc for milestones, as we were doing till now.
Another aspect to consider is that this are templates. THey should not be taken as a silver bullet, but as a guidance. Personally i would not matter one format or the another while the needed information to process the issue is present.
The idea is to help with the templates to the distracted mind :D  . Let me know your thoughts. Would it be better removing new project feature ?

Yeah, I would remove it :)

Ok thanks guys, removed the new project feature template. Merging ...


Handle Error: Invalid Client Token Id

This PR adds an explicit error handler for InvalidClientTokenId error code.
AWS RDS Service might eventually return this error code if the credential token is stale. There is no better way to handle this rather than re-try in a bit: the error seems to be transient.
This PR treats InvalidClientTokenId as an internal service error.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Signed-off-by: Oleg Sidorov<EMAIL_ADDRESS>

Closing as the existing handler code is able to retry on an auth error


[improvement]: Delete Files

What happened?
Is there a feasible method to erase a file utilizing an API? If so, could you please provide guidance or instructions on how this might be accomplished?
What did you expect to happen?
The function "generateReactHelpers" may potentially return both "deleteFiles" and "uploadFiles" as its output.
Version
4.0.0
Reproduction Steps
No response
Reproduction Repository
No response
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Yes. There are helper functions exported in uploadthing/server -- https://github.com/pingdotgg/uploadthing/blob/49c06869d6dbc050e4b739c5e4bcb659faa07d12/packages/uploadthing/src/helper-functions.ts

You can use it like this
import { utapi } from 'uploadthing/server';

await utapi.deleteFiles(images.map(img => img.key));

How does one implement auto-delete with uploadthing, For example - A user uploads a file, which gets deleted after like 7 days kinda like wetransfer?

Replied on Discord, but for anyone who comes across this:
That’s a feature we plan to implement (file lifecycles), but currently you would need to use some external service like inngest, or manage your own scheduling/queuing to accomplish automatic deletions after some period of time.

It worked for me:
export const { GET, POST } = createNextRouteHandler({
  router: ourFileRouter,
});

export async function DELETE(request: Request) {
  const data = await request.json();
  const newUrl = data.url.substring(data.url.lastIndexOf("/") + 1);
  const utapi = new UTApi(); --- i used this inside route file in uploadthing folder
  await utapi.deleteFiles(newUrl);

  return Response.json({ message: "ok" });
}

this is my delete function in client component:
const deleteValue = async () => {
    await axios.delete("api/uploadthing", {
      data: {
        url: value,
      },
    });
  };

Next.js
route.ts
import { NextResponse } from "next/server";
import { Post, User, Vote } from "@prisma/client";
import { UTApi } from "uploadthing/server";

import { db } from "@/lib/db";
import { getAuthSession } from "@/auth";

const utapi = new UTApi();

type UserPost = Post & {
    author: User;
    votes: Vote[];
};

export async function POST(req: Request) {
    try {
        const session = await getAuthSession();

        if (!session?.user) {
            return new Response('Unauthorized', { status: 401 });
        }

        const body = await req.json();

        const post: UserPost = body.post;

        if (!post) {
            return new Response('Post ID is required', { status: 400 });
        }

        if (session?.user.id !== post.authorId) {
            return new Response('Unauthorized', { status: 401 });
        }

        (post.content as { blocks: any[] })?.blocks?.map(async (block) => {
            if (block.type === 'image') {
                //block.data.file.url = https://utfs.io/f/X9ytV3B4p8mwlD4xULdjbzDVL5KsW3mIMc48uwy0rHkaShio
                const url = block.data.file.url.split('/').pop() //Example Output: X9ytV3B4p8mwlD4xULdjbzDVL5KsW3mIMc48uwy0rHkaShio
                await utapi.deleteFiles(url);
            }
        });

        await db.post.delete({
            where: { id: post.id },
        });

        return NextResponse.json({ message: 'Success' }, { status: 200 });
    } catch (err) {
        console.error(err);

        return new NextResponse(
            'Failed to post the subforum. Please try again later...',
            { status: 500 }
        );
    }
}


Bug: startDate/endDate filter doesn't reset when pressing 'Clear Filters' button

When clearing out filters, Start/EndDate does not reset like the rest of the filters. The list of items is rendered as if all filters are reset, but Start/EndDate stays the same in the UI
https://user-images.githubusercontent.com/40467112/196969836-0ca7aaaf-755d-4e99-844d-2cc460dbef95.mov

This was specifically tested as part of https://github.com/PrefectHQ/prefect-ui-library/pull/1174 and was working. So I'm closing this issue.


Polish "Direct token transfer" page

Already done in https://github.com/casper-network/docs-new/pull/9.


fix: prevent duplicate reason(#186206)

Fix #186206
I spent times to find a way removing duplicate lineDecorations, but later I realize they are not so "duplicate", it's useful when two unicode characters come together, for example:

So I choose preventing duplicate reasons as a solution.

Done. 😄


multiple dedup runs handling

As NSZU
I want to be able to launch deduplication process multiple times from scratch with different dedup models
So that I can improve the data quality incrementally
it should be clear for each merge_candidate pair:

launch date or number
dedup model version

it should be possible to schedule run of the dedup application using config.


Create "Bestseller" logic for Badges

Related to #124
We have designs to introduce a Bestseller badge for products, yet we have no logic to determine what constitutes a bestseller.
This is a placeholder ticket, and should be expanded upon with more details when they become clear.

Closing b/c it is covered here https://github.com/reactioncommerce/reaction-next-starterkit/issues/374


Redesigned semantic testing utilities

Stack:

#6843
#6842
#6841 ⬅
#6840
#6839
#6838

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.


Exercise 2

Added eslint with prettier, jest and Github Actions. Also restructured the directory layout of our project by moving the webapp under the root directory and added one test and two storybooks.
Still a bunch to be done but a first feedback would be great :)

Hi @medizinmensch
thanks for the review, I changed what you asked and pushed everything. We also already requested a review and reviewed the PR from the @Systems-Development-and-Frameworks/pls-no-js guys.
Let me know if there is still something missing.

@RespectableRuessel @TheKilljoy :point_down:

Either "Request Changes" or "Approve" do not just "Comment".

This is something I learned from last winter semester: Students feel uncomfortable to choose anything else than "Comment". There is a reason why I insist on either "Approve" or "Request changes": How to proceed with the PR? Either it's ready to be merged or it must be worked on. In real life, "Comment" could leave a PR somehow in limbo.
Furthermore, with "Approve" you take a part of the responsibility when you ship this code.
@felixriehm you're the person who "Approved" but you didn't fulfill this sub-task:

Suggest changes to the code in "Files Changed" (you should learn how to do that).

I know that many students seem to have their first experience with code reviews in this course. And that's why I make everyone discover the "Suggest changes" button :wink:

Okay, so last time, a few things were missing. You addressed all of them, nice!

(done :star: ) setting up your component properties in real time with the addon-controls from storybook
(done :star: ) you created stories for all [components]
(done :star: ) From the a11y addon, I get the error Form elements must have labels.
(done :star: ) When all items are deleted from the list, it shows sth. like "The list is empty :("
(done :star: ) A button on the news list toggles between descending and ascending order

That makes 10/10 :star:


[todo-mvvm-databinding_newarch] New branch which uses new android arch components

New branch: todo-mvvm-databinding_newarch
I have made an attempt to integrate the new arch components into the todo-mvvm-databinding. So, all the ViewModels now extend android.arch.lifecycle.ViewModel.
The original plan was to remove the Observables all together and use LiveData only but it came out that Livedata doesnt support databinding as of now.

So all the observables which were interacting with data-binding are still as is.
The snackbarText is implemented using LiveData
All the @Bindable methods are now removed and are instead implemented as Observables (only for now). Once the android lifecycle hits 1.0 stable api we can remove all the observables and use LiveData only.
Next, I would want to integrate the android.arch.persistence.room for Tasks storage.

The two main problems I see here are:

Injecting a navigator into the VM, which is an Activity
Snackbar will show everytime there's a config change (like rotation)

Also, TaskItemViewModel in TasksAdapter is not an arch components ViewModel (which is tricky).

What could be a good pattern for the snackbarText then?

I can either skip the LiveData and go to the old way of the snackbarText but that will again bring in the onPropertyChangeCallback removal stuff in onDestroy of View components.
If I stick to the LiveData, I can remember the last snackbarText unique on may be the taskID so that it doesn't get shown again.
Since the LifeCycle API is still in beta. We can post an issue there so that they bring in the flexibility to opt in/out of the instant onChange callback on the Observer which LiveData calls. I think it might be useful.
@JoseAlcerreca Whats your take on this?

@JoseAlcerreca I tried solving injection of Navigator (an activity) into the VM problem. For now I have made changes in the TaskDetail part of the app. Let me know what you think on this commit.
Just to give you an overview:

Theres a base NavigatingActivity which is a LifeCycleRegistryOwner and also keeps the navigator as a generic type but defers the instantiation to the subclasses.
TaskDetailActivity provides the instance of type TaskDetailNavigatorImpl which handles all the navigation callbacks and also listens for the activity's lifecycle
In case the activity is destroyed TaskDetailNavigatorImpl will remove the navigator from the underlying NavigatingActivity in our case TaskDetailActivity which also removes the navigator from the TaskDetailViewModel

@JoseAlcerreca any updates?

Yes, see the new dev-todo-mvvm-live branch.

@JoseAlcerreca Thanks for the update. The implementation looks good and as expected. I will close this pull request.
Its interesting to see how you have made custom MutableLiveData with only new updates support. This solves both of the problems.


Date query params

This app can get slowed down when trying to view lots and lots of files. Instead let's implement a basic filter operation.

Codecov Report

Merging #44 (b3f0806) into master (c4972bc) will decrease coverage by 17.28%.
The diff coverage is 35.29%.

@@             Coverage Diff             @@
##           master      #44       +/-   ##
===========================================
- Coverage   42.59%   25.31%   -17.29%
===========================================
  Files           5       11        +6
  Lines         162      320      +158
===========================================
+ Hits           69       81       +12
- Misses         74      220      +146
  Partials       19       19

Impacted Files
Coverage Δ

pkg/filelist/bucket.go
0.00% <0.00%> (ø)

pkg/filelist/filesystem.go
0.00% <0.00%> (ø)

pkg/filelist/list.go
0.00% <0.00%> (ø)

pkg/filelist/options.go
50.00% <50.00%> (ø)

pkg/filelist/common.go
0.00% <0.00%> (ø)

pkg/filelist/decrypt.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


feat(tcgc): bump to 0.41.5

Description

bump tcgc to 0.41.5
restore a unit test previously disabled due to tcgc bug
add api-version option property
add test case for version projection

resolve #4618
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

Preview gen: https://github.com/Azure/azure-sdk-for-net/pull/43668


winrs: Client connection to http://.../wsman failed with 3 HTTP 404

Connecting to a Windows7 machine using winrs fails with HTTP 404 error:
Dec  6 19:58:58 [23520] Endpoint: http://<IP_ADDRESS>:5985wsman
<?xml version="1.0"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsman="http://schemas.dmtf.org/wbem/wsman/1/wsman.xsd" xmlns:n1="http://schemas.microsoft.com/wbem/wsman/1/windows/shell">
  <s:Header>
    <wsa:Action s:mustUnderstand="true">http://schemas.xmlsoap.org/ws/2004/09/transfer/Create</wsa:Action>
    <wsa:To s:mustUnderstand="true">http://<IP_ADDRESS>:5985wsman</wsa:To>
    <wsman:ResourceURI s:mustUnderstand="true">http://schemas.microsoft.com/wbem/wsman/1/windows/shell/cmd</wsman:ResourceURI>
    <wsa:MessageID s:mustUnderstand="true">uuid:8fa0fe1d-263b-163b-8002-bb970c917a7c</wsa:MessageID>
    <wsman:OperationTimeout>PT60.0S</wsman:OperationTimeout>
    <wsa:ReplyTo>
      <wsa:Address>http://schemas.xmlsoap.org/ws/2004/08/addressing/role/anonymous</wsa:Address>
    </wsa:ReplyTo>
    <wsman:SelectorSet>
      <wsman:Selector Name="Name">Themes</wsman:Selector>
    </wsman:SelectorSet>
    <wsman:OptionSet>
      <wsman:Option Name="WINRS_CODEPAGE">437</wsman:Option>
      <wsman:Option Name="WINRS_NOPROFILE">FALSE</wsman:Option>
    </wsman:OptionSet>
  </s:Header>
  <s:Body>
    <n1:Shell>
      <n1:InputStreams>stdin</n1:InputStreams>
      <n1:OutputStreams>stdout stderr</n1:OutputStreams>
    </n1:Shell>
  </s:Body>
</s:Envelope>
Dec  6 19:58:58 [23520] cl->authentication.verify_peer: 1
Dec  6 19:58:58 [23520] *****set post buf len = 1253******
* Rebuilt URL to: http://<IP_ADDRESS>:5985wsman/
*   Trying <IP_ADDRESS>...
* Connected to <IP_ADDRESS> (<IP_ADDRESS>) port 5985 (#0)
> POST / HTTP/1.1
Host: <IP_ADDRESS>:5985
Accept: */*
Content-Type: application/soap+xml;charset=UTF-8
User-Agent: openwsman 2.2.0
Content-Length: 1253
Expect: 100-continue

< HTTP/1.1 404 Not Found
< Content-Type: text/html; charset=us-ascii
< Server: Microsoft-HTTPAPI/2.0
< Date: Sun, 06 Dec 2015 14:28:57 GMT
< Connection: close
< Content-Length: 315
<
Dec  6 19:58:58 [23520] write_handler: recieved 315 bytes, all = 315

* Closing connection 0
Dec  6 19:58:58 [23520] curl error code: 1.
Dec  6 19:58:58 [23520] cl->response_code: 404.
Dec  6 19:58:58 [23520] cl->last_error code: 3.
Client connection to http://user:novell@<IP_ADDRESS>:5985/wsman failed with 3 HTTP 404, Fault:

Note the URL that is created:
* Rebuilt URL to: http://<IP_ADDRESS>:5985wsman/

A slash (/) between port and wsman is missing.

What is the exact winrs command you're using ?

Oops! Sorry, I seem to have snipped that part. Here's the command:
$ winrs --debug -h <IP_ADDRESS> -P 5985 -u user -p XXX

I've tried running the above command with -P 5985, but the "Rebuilt URL" is still the same.

Replace "wsman" with "/wsman" in https://github.com/Openwsman/openwsman/blob/master/examples/winrs.rb#L105
or update to latest master.


[Feature] Implement the conformer backbone.

Motivation
Implement the backbone, conformer, published in ICCV21.
And its official implementation in https://github.com/pengzhiliang/Conformer
Modification
Add a new backbone conformer.py in mmcls/backbone , a new head conformer_head.py in  mmcls/head, and some config files in configs
BC-breaking (Optional)
Does the modification introduce changes that break the backward compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
No
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Add a new backbone
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

Hello, we have a Contributing guide, and please fix the lint issues according to this guide. Thanks~


post setting (multiple)

I added function set_arguments. With its help can send setting (multiple).
For example: "... setting=CONCURRENT_REQUESTS=400, setting=DOWNLOAD_DELAY=0.5 ..."

see #48


Pastisa

This issue doesn't provide enough information to investigate.
If you are still seeing this please create a new issue with
•  the output of flutter doctor -v
•  a minimal runnable reproduction
•  as a single file so that we can just copy your code into lib/main.dart of a new project and run to reproduce
•  the complete and exact error output.


Avoid printing stacktrace when testing panic logs

Motivation
Zap v1.27.0 adds a panic hook. We can use it to intercept panic in the test which checks the logging of panic messages, and to avoid confusing test output.
Description
as above
Test Plan
existing tests
TODO

[x] Explain motivation or link existing issue(s)
[x] Test changes and document test plan
[ ] Update documentation as needed
[ ] Update changelog as needed

bors merge

bors merge


Chrisda to Main

Docs Build status updates of commit 14e58b3:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/exchange.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/exchange-ps/exchange/Set-DistributionGroup.md
:white_check_mark:Succeeded
View (exchange-ps)

exchange/mapping/serviceMapping.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Quotations guidance

What do you need?
https://github.com/AusDTO/gov-au-content-guide/issues/165

Now being tracked in Trello


Write text to image inside the borders of the image with a padding

I am currently using Laravel 5.5 and I am trying to write to an image while staying inside the boundaries of the image and also applying a certain padding.

Just like this I would like to write the text into a specified "box" (the red rectangle) inside of the image (the orange rectangle) and make sure it doesn't run outside of this "box".
Is that possible with this library?

See https://github.com/Intervention/image/issues/143


Escape sequences in Markdown not showing up properly

Here:
https://everything.curl.dev/cmdline/configfile#when-to-use-quotes
For the second bullet point, a few of the escape sequences aren't showing up correctly. The markdown looks ok to me, so I'm unsure what the problem is.
The live page looks like this:

while the MD looks like this:

Clearly a case where gitbook and GitHub disagree on how to render! The PDF also looks correct...

This URL is now https://everything.curl.dev/cmdline/configfile.html#when-to-use-quotes and it shows the backslashes correctly.


 'simple' style is not consist with Ant Desigin

Reproduction link
https://codesandbox.io/s/jolly-monad-0ojpd?file=/src/app/app.component.html
Steps to reproduce
<nz-list [nzDataSource]="[]"></nz-list>
<nz-empty nzNotFoundImage="simple"></nz-empty>

These codes get different visual results.

What is expected?
Expect the same result with <nz-embed-empty> and conform the standard of Ant Design.
What is actually happening?
Inconsistent visual effect.

Environment
Info

ng-zorro-antd
12.0.1

Browser
Chrome 92

You are absolutely right. PR welcome!


Provide a JSFiddle to play around with recompose

Oops this was accidentally closed when I merged #154, which adds a UMD bundle to the release step.

Ugh I am just failing at GitHub today :D

Added to readme!

Hello World jsbin example, meet recompose 0.18!!!!
https://jsbin.com/qiwiradohu/edit?js,output


Compatibility issues with Chinese and slow response speed.

There seem to be some compatibility issues with ChatBot, as an error occurs when inputting Chinese characters.
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 276, in __call__
    await super().__call__(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 122, in __call__
    await self.middleware_stack(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in __call__
    raise exc
  File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in __call__
    await self.app(scope, receive, _send)
  File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 69, in app
    await response(scope, receive, send)
  File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 227, in __call__
    async with anyio.create_task_group() as task_group:
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in __aexit__
    raise exceptions[0]
  File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 230, in wrap
    await func()
  File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 219, in stream_response
    async for data in self.body_iterator:
  File "/www/transcribe/ai-language-model/llama-cpp-python/examples/high_level_api/fastapi_server.py", line 215, in server_sent_events
    for chat_chunk in chat_chunks:
  File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 720, in _convert_text_completion_chunks_to_chat
    for i, chunk in enumerate(chunks):
  File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 482, in _create_completion
    "text": text[start:].decode("utf-8"),
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 0: unexpected end of data

In addition to that, I'm also experiencing some slow speed using the ggml-vicuna-13b-1.1-q4_1.bin model. Although I noticed that the GPU memory usage is not very high, so I'm not sure what could be causing this.
Nonetheless, I would like to express my gratitude to the author for developing such a great interface that mimics OpenAI. If only the response speed could be faster.

To use GPU you would need to set LLAMA_CUBLAS=1 before pip installingFor the Chinese characters there is a pull request openAm 21.04.2023 um 17:57 schrieb B1gM8c @.***>:
There seem to be some compatibility issues with ChatBot, as an error occurs when inputting Chinese characters.
result = await app(  # type: ignore[func-returns-value]
File "/usr/local/lib/python3.10/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in call
return await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/fastapi/applications.py", line 276, in call
await super().call(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/applications.py", line 122, in call
await self.middleware_stack(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 184, in call
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/errors.py", line 162, in call
await self.app(scope, receive, _send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in call
raise exc
File "/usr/local/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in call
await self.app(scope, receive, sender)
File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in call
raise e
File "/usr/local/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in call
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 718, in call
await route.handle(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
await self.app(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/starlette/routing.py", line 69, in app
await response(scope, receive, send)
File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 227, in call
async with anyio.create_task_group() as task_group:
File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 662, in aexit
raise exceptions[0]
File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 230, in wrap
await func()
File "/usr/local/lib/python3.10/site-packages/sse_starlette/sse.py", line 219, in stream_response
async for data in self.body_iterator:
File "/www/transcribe/ai-language-model/llama-cpp-python/examples/high_level_api/fastapi_server.py", line 215, in server_sent_events
for chat_chunk in chat_chunks:
File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 720, in _convert_text_completion_chunks_to_chat
for i, chunk in enumerate(chunks):
File "/usr/local/lib/python3.10/site-packages/llama_cpp/llama.py", line 482, in _create_completion
"text": text[start:].decode("utf-8"),
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe4 in position 0: unexpected end of data
In addition to that, I'm also experiencing some slow speed using the ggml-vicuna-13b-1.1-q4_1.bin model. Although I noticed that the GPU memory usage is not very high, so I'm not sure what could be causing this.
Nonetheless, I would like to express my gratitude to the author for developing such a great interface that mimics OpenAI. If only the response speed could be faster.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

I tried the following command:
export LLAMA_CUBLAS=1
pip3.10 install llama-cpp-python

Then I launched the project with the environment variable LLAMA_CUBLAS=1, but it seems to still be running on CPU. The current speed is as follows:
llama_print_timings:        load time =  1281.94 ms
llama_print_timings:      sample time =     5.45 ms /     8 runs   (    0.68 ms per run)
llama_print_timings: prompt eval time =  4111.80 ms /    27 tokens (  152.29 ms per token)
llama_print_timings:        eval time =  1556.38 ms /     7 runs   (  222.34 ms per run)
llama_print_timings:       total time =  5675.18 ms

I think I still haven't successfully used the GPU.

I think I understand what you mean. I generated a library in a C++ project by running this command:
LLAMA_CUBLAS=1 make libllama.so

Then I packaged libllama.so and put it in the llama_cpp path. I also put fastapi_server.py in the root directory and ran it. However, I still don't feel like there is a significant improvement in speed.

Can you pip install with verbose to see if it builds correctly? Or replace the lib this package built with your manually built one? Speed increase should be substantial.

Can you pip install with verbose to see if it builds correctly? Or replace the lib this package built with your manually built one? Speed increase should be substantial.

You seem to be right.
LLAMA_OPENBLAS=1 pip3.10 install llama-cpp-python

Here, an error occurred during the installation, apparently due to the lack of the openblas library.
      FAILED: /tmp/pip-install-_1721mma/llama-cpp-python_832569dd8b6b4df08f2392ea79b93b0f/vendor/llama.cpp/libllama.so
      cd /tmp/pip-install-_1721mma/llama-cpp-python_832569dd8b6b4df08f2392ea79b93b0f/vendor/llama.cpp && make libllama.so
      I llama.cpp build info:
      I UNAME_S:  Linux
      I UNAME_P:  x86_64
      I UNAME_M:  x86_64
      I CFLAGS:   -I.              -O3 -DNDEBUG -std=c11   -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -pthread -march=native -mtune=native -DGGML_USE_OPENBLAS -I/usr/local/include/openblas
      I CXXFLAGS: -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -pthread -march=native -mtune=native
      I LDFLAGS:  -lopenblas
      I CC:       cc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
      I CXX:      g++ (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0

      g++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -pthread -march=native -mtune=native -c llama.cpp -o llama.o
      cc  -I.              -O3 -DNDEBUG -std=c11   -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith -pthread -march=native -mtune=native -DGGML_USE_OPENBLAS -I/usr/local/include/openblas   -c ggml.c -o ggml.o
      ggml.c:1082:13: warning: ‘quantize_row_q4_2_reference’ defined but not used [-Wunused-function]
       1082 | static void quantize_row_q4_2_reference(const float * restrict x, block_q4_2 * restrict y, int k) {
            |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      g++ -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar -pthread -march=native -mtune=native -shared -fPIC -o libllama.so llama.o ggml.o -lopenblas
      /usr/bin/ld: cannot find -lopenblas: No such file or directory
      collect2: error: ld returned 1 exit status
      make: *** [Makefile:186: libllama.so] Error 1
      ninja: build stopped: subcommand failed.
      Traceback (most recent call last):
        File "/tmp/pip-build-env-pfrcg0br/overlay/lib/python3.10/site-packages/skbuild/setuptools_wrap.py", line 674, in setup
          cmkr.make(make_args, install_target=cmake_install_target, env=env)
        File "/tmp/pip-build-env-pfrcg0br/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 691, in make
          self.make_impl(clargs=clargs, config=config, source_dir=source_dir, install_target=install_target, env=env)
        File "/tmp/pip-build-env-pfrcg0br/overlay/lib/python3.10/site-packages/skbuild/cmaker.py", line 736, in make_impl
          raise SKBuildError(msg)

      An error occurred while building with CMake.
        Command:
          /tmp/pip-build-env-pfrcg0br/overlay/lib/python3.10/site-packages/cmake/data/bin/cmake --build . --target install --config Release --
        Install target:
          install
        Source directory:
          /tmp/pip-install-_1721mma/llama-cpp-python_832569dd8b6b4df08f2392ea79b93b0f
        Working directory:
          /tmp/pip-install-_1721mma/llama-cpp-python_832569dd8b6b4df08f2392ea79b93b0f/_skbuild/linux-x86_64-3.10/cmake-build
      Please check the install target is valid and see CMake's output for more information.

      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for llama-cpp-python
Failed to build llama-cpp-python
ERROR: Could not build wheels for llama-cpp-python, which is required to install pyproject.toml-based projects

I tried to install the related library by executing the following command in the terminal:
sudo apt-get install libopenblas-dev

Then it looks like there were no errors, and the following command LLAMA_OPENBLAS=1 pip3.10 install llama-cpp-python was executed successfully:
Looking in indexes: https://pypi.tuna.tsinghua.edu.cn/simple
Collecting llama-cpp-python
  Using cached https://pypi.tuna.tsinghua.edu.cn/packages/1b/ea/3f2aff10fd7195c6bc8c52375d9ff027a551151569c50e0d47581b14b7c1/llama_cpp_python-0.1.36.tar.gz (1.1 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: typing-extensions>=4.5.0 in /usr/local/lib/python3.10/site-packages (from llama-cpp-python) (4.5.0)
Building wheels for collected packages: llama-cpp-python
  Building wheel for llama-cpp-python (pyproject.toml) ... done
  Created wheel for llama-cpp-python: filename=llama_cpp_python-0.1.36-cp310-cp310-linux_x86_64.whl size=159345 sha256=87365f722e83f66dc40bc9d2391f4f3c0b2e23796ba0fb8f03adc1cc8defc759
  Stored in directory: /root/.cache/pip/wheels/d0/72/98/5a896af92a0ecb8c5c943ed4d5f8ed1c6d3a2e38c32d0eae46
Successfully built llama-cpp-python
Installing collected packages: llama-cpp-python
Successfully installed llama-cpp-python-0.1.36


[Feature request] Configurable video stretching in both axis for better percieved aspect ratios.

The limited current options of crop, stretch can be good enough to go by but it could be better imo. If there was a gui integration of add video-scale-x and add video-scale-y users can decide exactly how much they want to zoom in which axis and have the best viewing experience. On bigger phones with narrow aspect ratios, crop option crops too much things I want to see and uses the notch or curvy border areas of phones which lose even more content, stretch just looks weird and original leaves too much space on both sides.

Or just give us more aspect ratio options


improve jinja support and fix AAP-5176

Fixes https://issues.redhat.com/browse/AAP-5176
There is no need to use dpath since jinja render can get the data from dicts with dot notation. In this way we add real support to jinja templates in the right side on the condition including jinja filters and arithmetic operations.

@benthomasson please review


Cookiecutter Explorer is missing

Describe the bug

Steps to Reproduce
Launch VS, select View > Cookiecutter Explorer

Seems this works when debugging but not during the installation.


Label colors for labels above 2**23 can be aliased together

🐛 Bug
#3308 closed many existing issues with our labels layers, but opened at least one: because now labels are converted to float32, any adjacent labels above 2**22 will land on the same color (and this problem becomes worse as the label values increase).
To Reproduce
import numpy as np
import napari

labels = 2**np.arange(21, 25).reshape((4, 1)) + np.arange(8)
viewer = napari.Viewer()
viewer.add_labels(labels)

napari.run()

This problem is fundamental to the way the numbers are represented in float32 so it persists no matter how many times a user might click on the "shuffle colors" button. (Good resources about this: https://0.30000000000000004.com/ and Julia Evans's how integers and floats work.)
Expected behavior
Distinct labels should be able to display as distinct colors.
Environment
napari: 0.5.0a2.dev232+g9bea15e7b.d20230713
Platform: macOS-13.4-arm64-arm-64bit
System: MacOS 13.4
Python: 3.10.8 | packaged by conda-forge | (main, Nov 22 2022, 08:25:13) [Clang 14.0.6 ]
Qt: 5.15.4
PyQt5: 5.15.7
NumPy: 1.23.4
SciPy: 1.11.1
Dask: 2023.3.1+13.g4b1e3600.dirty
VisPy: 0.12.1
magicgui: 0.7.2
superqt: unknown
in-n-out: 0.1.5
app-model: 0.1.4
npe2: 0.6.1

OpenGL:
  - GL version:  2.1 Metal - 83.1
  - MAX_TEXTURE_SIZE: 16384

Additional context
The issue stems from the fact that VisPy does not support texture dtypes above uint16 or float32. (It's unclear to me whether this is a broader OpenGL limitation — @perlman and @brisvag might have a better idea here.) However, we can get around this by using (for example) up to two 8-bit RGBA textures to hold the keys, and then hashing the RGBA values together to get an unambiguous position in the colormap texture. (See #6083 for a bit more detail on the hashing.)

It's unclear to me whether this is a broader OpenGL limitation

Unless we enforce opengl 4.0 (and get macos to cooperate...) we cannot use doubles. Vispy actively disables them for all openGL versions, so I suspect it might also take a lot of work to get vispy to accept them.

Thanks @brisvag! That's fine — I think two RGBAs work fine.

@jni what did you mean about two textures? If it still goes through float 32 then one needs 3 textures to support the full 64 bits range?
Double will also provide 52 of 64 bits.
Or do you have an idea to use a wider range and not use only 22 but the whole 32 bits?

@Czaki the idea is to view a 32bit (u)int as an 8-bit RGBA texture (8 x 4 channels = 32 bits), and then process the values with some hash function to index into the color texture, and 64bit (u)int as two 8-bit RGBA textures (8 x 4 channels x 2 textures = 64 bits) similarly. This is nice because we don't even need the current .astype call, so it should be much faster. In integrated architectures like M1 or integrated graphics, there won't even need to be a memory copy!

Another nice benefit of getting 64bit uint hashing in place is that we can directly cast any datatype <= 64bit into it, e.g. doubles, and still have labels working.


[ci] Added workflow for publishing PyPI packages

Checklist

[ ] I have read the OpenWISP Contributing Guidelines.
[ ] I have manually tested the changes proposed in this pull request.
[ ] I have written new test cases for new code and/or updated existing tests for changes to existing code.
[ ] I have updated the documentation.

Reference to Existing Issue
Closes #.
Please open a new issue if there isn't an existing issue yet.
Description of Changes
Please describe these changes.
Screenshot
Please include any relevant screenshots.

coverage: 96.18%. remained the same
when pulling c91298797db06a6578c715e48a6aba36dc1b9e67 on pypi-release
into a7738497b62b2f6819429779a5429c6c1cdf2609 on master.


Wrap required arguments up together

For now we only have input, but this allows us to change the API in future and matches the API more directly.
Builds on #18 to avoid conflicts.

(I changed the base branch on the PR to keep the redundant commits out and make this easier to review.)


How to keep the tree expanded status?

here is the html code:
                    <tree [tree]="filterTreeViewOptions"                           [settings]="{rootIsVisible: true}"                           (nodeSelected)="handleFilterSelected($event)"></tree>
here is the filterTreeViewOptions  object:
let filterTreeViewOptions = {   "id": "1",   "value": "All",   "settings": {     "static": true,     "isCollapsedOnInit": true   },   "children": [     {       "id": "1-1",       "value": "L1-1",       "children": [         {           "id": "1-1-1",           "value": "L2-1"         }       ]     },     {       "id": "1-2",       "value": "L1-2"     }   ] }
when I update filterTreeViewOptions and change the value "L2-1" to "L2-1-red", the tree will redraw and all tree node will become collapsed.
but how can I keep the previous tree expanded status when I update the filterTreeViewOptions?
like this:

I found the "rename" method is ok.
let nodeController = this.editTreeView.getControllerByNodeId("1-1-1");
nodeController.rename("L2-1-red");


Minor typo on Line 426 of 02-errorcontrol.Rmd

Hi Dr Lakens,
Found another minor typo in Chapter 2.
https://github.com/Lakens/statistical_inferences/blob/cad0a3dac36f1f68b0d2e0b540fc4343853aed69/02-errorcontrol.Rmd#L426
Second sentence of this line:

"... Even ~thought~ though the topic of Type 2 error control is only briefly discussed here ..."

thanks! Incorporated


Remove 'postgresql.conf' from root directory

Not sure why we need to have the file postgresql.conf in the root directory of the repository. We should probably have an etc directory and move it in there.

Moved it to scripts/oltpbenchmark.


block: above and below render spacing useless

Description
This is the documentation for three parameters of block():

spacing: The spacing around this block. This is shorthand to set above and below to the same value. Default: 1.2em

above: The spacing between this block and its predecessor. Takes precedence over spacing. Default: 1.2em

below: The spacing between this block and its successor. Takes precedence over spacing.  Default: 1.2em

But:
---
#block(spacing: 0pt, [block])
---

---
#block(above: 0pt, [block])
---

---
#block(below: 0pt, [block])
---

will render as:
---

block

---

---
block

---

---

block
---

I understand that if both above(/below) and spacing are given, then above(/below) wins as stated in the second(/third) item.
But when only spacing is given, shouldn't it set both above and below as stated in the first item?
Otherwise I fail to see how can spacing ever be useful, specially given that above and below already start initialized by default.
Reproduction URL
No response
Operating system
Web app
Typst version

[X] I am using the latest version of Typst

Notice also that the example given in the reference for spacing is actually an example of above/below:
#set align(center)
#show math.equation: set block(above: 8pt, below: 16pt)

The weirdness with spacing/above/below should be fixed since https://github.com/typst/typst/pull/4390. Now, block.spacing is really 100% equivalent to setting block.above and block.below to the same value.


Add Minimap to Main Screen

As per Joe's suggestion, make the minimap a permanent part of the game screen, rather than needing to call it up with the 'm' key. Update it in real time. Possibly signify entryway on map.

d804f931d22eb34255f4838ca5edb4b6d8970abf


More unit tests

PR for #93
Increase test coverage

Coverage increased (+6.7%) to 81.345% when pulling cce327db8dfed968edb2db7f062921e033325660 on 93 into 264cb84be3a29640b85e3f22944a3ed787573f3b on master.

Coverage increased (+6.7%) to 81.345% when pulling cce327db8dfed968edb2db7f062921e033325660 on 93 into 264cb84be3a29640b85e3f22944a3ed787573f3b on master.


Sorting clusters by partitions doesn't work

Actually the backend can't sort by partition count or consumer groups count (yet). I disabled the sorting for those two columns.


node-sass 4.9.0 (bumping libsass) caused a regression

I have included a failing test, and bisect suggests the following commit:
https://github.com/sass/node-sass/commit/7ec14dff2087266357146598cd267f4133f3fdf6
7ec14dff2087266357146598cd267f4133f3fdf6 is the first bad commit
commit 7ec14dff2087266357146598cd267f4133f3fdf6
Author: xzyfer<EMAIL_ADDRESS>Date:   Wed Apr 25 01:56:30 2018 +1000

    Bump<EMAIL_ADDRESS>
:100644 100644 466e3ab638ea801dbb880d5b9b9de1263d0cf3bc 5c5972278855bc49f19c807f4f4343d9a6ca9b94 M      package.json
:040000 040000 f171af209130ad6c3528fb25fd65ea5cc952dc30 359c2cc77e49902cefae961592aba1270a1a144a M      src

Bisect log:
git bisect start
# good: [31abf973bd20d45c253d45f421fd8b3bcce0f92f] failure
git bisect good 31abf973bd20d45c253d45f421fd8b3bcce0f92f
# bad: [ac67c7ad14afc6545b193802d8d9271c3335fc84] failure
git bisect bad ac67c7ad14afc6545b193802d8d9271c3335fc84
# bad: [ac67c7ad14afc6545b193802d8d9271c3335fc84] failure
git bisect bad ac67c7ad14afc6545b193802d8d9271c3335fc84
# good: [b2df434a02c10b2263d3879fe75dfbed4460b75f] 4.8.3
git bisect good b2df434a02c10b2263d3879fe75dfbed4460b75f
# good: [5e10a9b9df87db448374bd7e78ffb3ba2699aff6] 4.9.0
git bisect good 5e10a9b9df87db448374bd7e78ffb3ba2699aff6
# bad: [a124e9d42e1f5bdb0a96fca78435c889e6e2b41f] Add Node 10 to CI
git bisect bad a124e9d42e1f5bdb0a96fca78435c889e6e2b41f
# bad: [7ec14dff2087266357146598cd267f4133f3fdf6] Bump<EMAIL_ADDRESS>git bisect bad 7ec14dff2087266357146598cd267f4133f3fdf6
# good: [eb5ad0a7b8b98a35d752c3dea3573c5fb491be8e] Revert "Bump<EMAIL_ADDRESS>(#2342)"
git bisect good eb5ad0a7b8b98a35d752c3dea3573c5fb491be8e
# first bad commit: [7ec14dff2087266357146598cd267f4133f3fdf6] Bump<EMAIL_ADDRESS>

Some Areas of interest in the offending commit:

https://github.com/sass/node-sass/commit/7ec14dff2087266357146598cd267f4133f3fdf6#diff-48705ae5ffc823a6dd0b8d857283bb5cL1266
https://github.com/sass/node-sass/commit/7ec14dff2087266357146598cd267f4133f3fdf6#diff-46ac35a7e695d6f61048e56e79b0a675R1631
https://github.com/sass/node-sass/commit/7ec14dff2087266357146598cd267f4133f3fdf6#diff-46ac35a7e695d6f61048e56e79b0a675L1673
https://github.com/sass/node-sass/commit/7ec14dff2087266357146598cd267f4133f3fdf6#diff-46ac35a7e695d6f61048e56e79b0a675R2706

Speaking with @chriseppstein he suggests this may not be a bug, rather a longstanding bugfix in the libsass implementation.

I wonder if in the spirit of "least pain" this bump of libsass should be a major bump in node-sass.

You're correct this was an intentional bugfix with unintentional consequences. Closing this in favour of discussion in #2364


Dataset link broken

The link to the training data :https://mega.co.nz/#F!YohlwD7R!wec0yNO86SeaNGIYQBOR0A is broken.

Really? It works for me.
Agreed that hosting stuff there is not a good idea, though. If you have a better suggestion...

@fchollet Can we move it to a more standard hosting service? I am still getting a "DNS_PROBE_FINISHED_NXDOMAIN"

That's either a DNS lookup failure at the level of your ISP, or a DNS caching issue (which could be either your browser or your OS). You can try flushing the DNS cache of your browser to start with...
I assure you the link itself does work.

Hi, I googled it and it seems mega.co.nz is blocked in India, it could still be accessed using VPNs and stuff.. but i still recommend switching the hosting service.

mega.co.nz is blocked in India

Why would it be?

i still recommend switching the hosting service

Then again, do you have any realistic suggestion? I don't feel like paying for terabytes of S3 bandwidth.

Well, its simple, the court bans a website, ISPs block the website, court lifts the ban, ISPs don't care, they continue blocking. Why the court bans mega you might ask. For distributing pirated movies.
For example, mega was blocked in Itally in july 2014 (https://torrentfreak.com/dotcoms-mega-blocked-italy-piracy-concerns-140719/). I am curious about the actual size of the file. I would like to set up a mirror for those in countries like India.


feat(Topology/Bases): add lemma Embedding.separableSpace from Embedding.secondCountableTopology

We prove that if a space embeds in a second-countable space, then it is separable, by weakening the same result for second-countability. Light generalization of the statement that if a metric space embeds into a separable metric space then it is itself separable.

bors r+


The "Group verification sample" link is not valid.

The link for the "Group verification sample" in the following paragraph can be found in the Prepare test certificates section. The link for the sample is not valid.
In addition to the tooling in the C SDK, the Group certificate verification sample in the Microsoft Azure IoT SDK for .NET shows how to perform proof-of-possession in C# with an existing X.509 intermediate or root CA certificate.

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

ID: 5f24fc8e-ffad-b23c-794f-f85c2fe6b835
Version Independent ID: 03adcbd0-f165-0bc5-1490-2591c6af6665
Content: This quickstart shows you how to enroll X.509 device to the Azure Device Provisioning Service using C#
Content Source: articles/iot-dps/quick-enroll-device-x509-csharp.md
Service: iot-dps
GitHub Login: @wesmc7777
Microsoft Alias: wesmc

Issue fixed with the merge.

@jgardner04 Thanks four your contribution!


[DOCFIX] Fix cn docs ported from master branch

I update the chinese version docs to the latest. Add the extra instructions about setting "worker heartbeat timeout value" to a larger value to avoid exceptions when master failover.
The problem is mentioned in Alluxio User Group

Can one of the admins verify this patch?

ok to test

Jenkins, add to whitelist

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/11417/
Test PASSed.


tailwind.config.ts deleted after init

Current Behavior
Hello,
I'm using sveltekit with tailwindcss with a tailwind.config.ts config file and want to init shadcn-svelte via bunx shadcn-svelte@latest init. With that done my tailwind.config.ts gets deleted and not modified. But it works fine with a tailwind.config.js.
Expected Behavior
tailwind.config.ts should be modified and not deleted.
Steps To Reproduce

Using existing sveltekit with tailwindcss project
run bunx shadcn-svelte@latest init
go through the questions, doesn't matter what you chose but please use the correct path and file names
watch your tailwind.config.ts disappearing magically
don't hand clap...do facepalm
:)

Link to Reproduction / Stackblitz
No response
More Information
No response

Right now we only have a .js template defined, so we replace whatever you have at the start with that template. We need another template for TS and to detect if the path ends with .ts or .js/.cjs and respond accordingly. Not going to add a .cjs template, that will always be replaced by .js

Yeah this isn't something that I think is worth the squeeze tbh, considering it overwrites the file anyways. If you want to use .ts you're more than welcome to modify it after initializing.
Reference: https://github.com/shadcn-ui/ui/pull/1743


Register zen.is-cool.dev

Added zen.is-cool.dev using the CLI.

CLA Assistant Lite bot: 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 can sign the CLA by just posting a Pull Request Comment same as the below format.

I have read the CLA Document and I hereby sign the CLA

You can retrigger this bot by commenting recheck in this Pull Request

Can i get email too?

recheck


Refactoring: Rename SqlStatementBuilder to SqlServerStatementBuilder.

This is now checked-in to the master branch and will be available on the releases > v1.9.11.

This is now available at RepoDb releases >= v1.10.0.