.NET 5 Support

Is your feature request related to a problem? Please describe.
Not specifically.
Describe the solution you'd like
.NET 5 support, and the ability to reference Nuget packages from script files.  I also think this is one way to handle themes (just package it up as a Nuget package).
Describe alternatives you've considered
Additional context
I'm mostly just creating this issue to track.  I'll try and find some time to take a crack at some point.

Brief punch list to update to .net 5 and reference nuget packages would be:

Update to FCS 38
Add a required reference to Microsoft.Build.Utilities.Core (IIRC, might need to check FSAC for this but it's a nuget dep that's not in the FCS nuspec right now)
Add a package reference to FSharp.DependencyManager.Nuget to get the nuget #r support implicitly, since the dll for that will be co-located with the FCS dll when you run fornax.

done in #78


Thread-safe signalling inside Mutex class.

Recently i noticed an issue that doesn't allow you to await on a signal due to it being unsafe. This pull request's objective is to allow you to at least somehow make safe signals, even if we can't have them inside the normal classes, we can still guarantee thread-safety on some signals, right?
Overrides all signal behavior on Mutex, making sure it holds the mutex lock before doing anything.

I think it won't come as a surprise to you that this looks quite awkward. While there is some merit in the idea of having some kind of opt-in for thread-safe signals, how to add such a thing to the engine would require deep discussion (normally, in a proposal) to be sure it aligns with the overall design of the engine and it actually covers the intended use patterns.

the Object destructor doesn't call the exposed disconnect method for this, see:

Now i made a _mt_disconnect that is called specifically when multithreading is involved, this could be changed on Node as well to be protected in debug builds.

Getting closer, now i have to protect function states as well.


Jupyter notebook crashing

Whenever the Pipeline function is activated in two different kernels, one of them crashes.
Reproducible exemple:
import keras_ocr

pipeline = keras_ocr.pipeline.Pipeline()

Try adding this cell to 2 different kernels and run them.

Did you check if you have enough memory? For example if you using GPU TF by default, allocate all the GPU memory.

I have been unable to reproduce this issue on MacOS with a local notebook server or in a Docker container. Please provide more details on reproducing the issue and a stack trace or log.

Closed due to lack of reproducibility. We can re-open if more details become available.


Change repo URL to GitHub & default branch to rolling

And update other relevant links.
For the move from GitLab to GitHub, see: https://gitlab.com/ros-tracing/ros2_tracing/-/issues/144#move-checklist
Signed-off-by: Christophe Bedard<EMAIL_ADDRESS>

This is a CI- and documentation-only PR, so I'll go ahead and merge it.


[BUG]When using Harvester 1.4.0 with data-engine v2, virtual machines automatically enter a paused state whenever disk formatting operations are performed within the VM

Describe the bug
When using Harvester 1.4.0 with data-engine v2, virtual machines automatically enter a paused state during disk formatting operations within the VM. After this occurs, the VM becomes permanently unbootable and cannot be successfully started again.
To Reproduce
Steps to reproduce the behavior:

Deploy Harvester 1.4.0 with data-engine v2 enabled
Create a virtual machine
Add a new disk to the VM
Inside the VM, attempt to format the disk (e.g., using mkfs.ext4)
The VM immediately pauses during the formatting operation
Any subsequent attempts to start the VM fail, leaving it in an unrecoverable state

Expected behavior

The virtual machine should remain running normally during disk formatting operations
If the VM does pause, it should be able to resume and restart normally
VM stability and bootability should not be affected by disk formatting operations

Support bundle
Will provide support bundle upon request.
Environment

Harvester ISO version: v1.4.0
Data Engine: v2
Underlying Infrastructure: Baremetal with Intel NVMe storage

Additional context

The issue consistently occurs with different disk sizes and filesystem types
Once affected, the VM cannot be recovered and needs to be recreated
The problem appears to be specific to data-engine v2, as it doesn't occur with v1
This is a critical issue affecting production environments where disk operations are necessary
The issue affects both Windows and Linux VMs
VM becomes completely unusable, requiring new VM deployment to recover

root@test:/home/ubuntu# mkdir -p /ssd/{1,2,3}
2. 格式化并挂载磁盘
处理 vdb
mkfs.ext4 -F /dev/vdb
mke2fs 1.46.5 (30-Dec-2021)
Discarding device blocks:       0/2621440
Socket error Event: 32 Error: 10053.

cc @tserong

I have test in mgmt network and other storage network. There are also failed .

SSDs and other non-NVMe disks are managed using the SPDK AIO bdev driver, which does not support the unmap operation. If you are using non-NVMe disks, avoid trimming the filesystem because this results in I/O errors and paused virtual machines. For example, when creating an ext4 filesystem on a Linux virtual machine, use mkfs.ext4 -E nodiscard /dev/vdb (assuming /dev/vdb is your device path). On Windows virtual machines, you can disable trimming for NTFS by running the command fsutil behavior set disabledeletenotify NTFS 1.       BUT my all disks are nvme. And I use " mkfs.ext4 /dev/vdb"

Did you disable the discard? Which means did we execute any fstrim for this filesystem?
IIUC, the longhorn v2 engine on LH v1.7.2 did not support fstrim.
See here: https://docs.harvesterhci.io/v1.4/advanced/longhorn-v2#limitations

I have no time to test it. But my all disk is nvme, it's also can work.  . Suggest use mayestore       .


[Site] Added Mailing List

Signed-off-by: Nikhil Sharma<EMAIL_ADDRESS>Description

Added Mailing List to the SMP site
Maintained the responsiveness for small screens

This PR fixes #205
Notes for Reviewers

Please check if the links are correct
Let me know if there are any other changes we can make

Signed commits

[x] Yes, I signed my commits.

Hey @NikhilSharma03 , So this looks great, good job. But, I feel like this is a little too big, might just be because of the picture.
@leecalcote what do you think ?

@warunicorn19  Big as in for smaller screens?

Overall, like maybe make it the same size as the newsletter signup?

After Changes

@warunicorn19 Need help here. Let me know if there are other changes we can make.

Other changes look good to me, thanks @NikhilSharma03. Let's see what @leecalcote says.

Thank you, @NikhilSharma03. Will you update the hyperlinks for these buttons to be that of the hyperlinks provided in the issue description?
If we do away with the black background and try to make the mailing lists feel more like they are peers of the newsletter sign up form, I wonder if that might be an improvement.

Yeah Sure, I will make the necessary changes and then we can decide which one to go with. is that okay?

Description

After removing the black background and giving it the same color as the newsletter form.

Screenshot

@leecalcote What do you think?

@JubayerJoy @Neilblaze one of you might want to review...

** Changes Made **

Add p class
Increased NL button width
Removed Extra spacing

** After Changes **

@JubayerJoy Can you please review?

** Changes Made **

Added p class
Increased NL button width
Removed Extra spacing

** After Changes **

@JubayerJoy Can you please review?

@NikhilSharma03
Definitely an improvement on aesthetic 🎈
Please commit the change for review.
Thank you.

@JubayerJoy I have commited the recent changes. Can you please review?

Thank you, gents. Are we ✅ approved for merge here?

@NikhilSharma03 The links are not correct. Please fix them

These links were given in the issue desc :sweat_smile: . Can you please drop the correct links. Thank you.

Hey @NikhilSharma03 I saw that in this line after the onclick = a '(' is missing can you check that once

@Jashpatel1 can you verify if the links are okay now and if anyother changes are required here ?  // @warunicorn19

Hey @NikhilSharma03 I saw that in this line after the onclick = a '(' is missing can you check that once

Sharp Eyes :laughing: . I think it was done in any other PR since I haven't made any changes in the form. I will fix it right away.

That's what was causing the test to fail😅.


bug: modal bug - the bottom page moves one scroll unit to the left

What version of daisyUI are you using?
4.12.10
Which browsers are you seeing the problem on?
Edge
Reproduction URL
https://play.tailwindcss.com/22h1oVDng7
Describe your issue
The css of global background set to "overflow-hidden". When use the "modal-open", the bottom page moves one scroll unit to the left. The version of "4.9" is normal, and version than "4.9" has the problem.
it can be seen in the URL example, when open the modal, the button move left.

related issue: #3040


Is it possible to make this fake gpu in Vulkan?

Is it possible to make this fake gpu in Vulkan? I managed to get the optiscaler to work but unfortunately the dlss option doesn't appear in the game

What is the game?
NMS only work on non-AMD, Baldur's Gate 3 works, Path of Exile 2 works, Indiana Jones only works on Nvidia, Doom Ethernal requires goghor's winmm.dll to make the game load DLSS.

in the Indian game with amd.
Is it possible to use an option that tricks the system about vram usage?
in rtx


Chat view username not showing up correctly

This should be fixed. It should be reopened if it re-appears again.


[FEATURE] Added a Cart Page

Fixes #95

Added a cart page in which added-to-cart products are shown in a list
The total amount is shown
Users can add or remove items from the list
Users can directly proceed to pay

looking not good

Does this look good?


When would qwen2.5 math be available

https://huggingface.co/Qwen/Qwen2-Math-72B
🤗

Sorry for the delay on this one. Will merge with https://github.com/ollama/ollama/issues/6889


Use as library

Are there experiences or tips how to go about using this as a library?
Currently struggling with lots of java.lang.NoClassDefFoundError exception, but this might be a problem on my end.
The plan would be to directly use Problems constructed with the types from the parser library and then let Leo prove that and output if it succeeded.

Unfortunately, back then when implementation work on Leo-III started, this has not been a topic at all. I see today that this is actually quite a relevant use case. Sadly, I cannot give any experience with this.
However, NoClsasDefFoundError exceptions sound (to my ear at least)  as if there are classpath issues in your project. Did you include the scala library (which Leo-III depends on)?


[Service Bus] API review changes to the Batch object and its related methods

Findings for the Batch object and its related methods from internal API review for version 7.0.0-b7 of the Azure Service Bus package:

Rename BatchMessage to MessageBatch. Consider adding ServiceBus prefix after discussing with the Python team
- If we are adding the ServiceBus prefix, also consider doing so for Message
max_size_in_bytes on the batch object should be readonly. Log an issue to add this in Event Hubs as well
message on the batch object need not be public.
Consider renaming create_batch() method to create_message_batch(). We use the "message"/"messages" term in all other methods on the sender and receiver, so this should sit right well.
Similarly, consider renaming add() method on the batch to addMessage() to resolve the confusion we saw in certain user studies where it was not clear what the next step was after creating a batch

@annatisch Can you provide some help to the points above that we are "considering"?

Thanks @ramya-rao-a - I'm good with these changes :)


how can i send ptree value type of response with correct content length?

At the server, while I really trying to implement the using value_type = boost::property_tree::ptree; as like as the official example, I try to write the use case code
auto const defalut_post =
		[&req]()
	{
		http::response<http::ptree_body> res{ http::status::ok, req.version() };
		res.set(http::field::server, BOOST_BEAST_VERSION_STRING);
		res.set(http::field::content_type, "application/json; charset=UTF-8");
		res.keep_alive(req.keep_alive());
		res.body().put("ab", "ccdd");
		res.body().put("cd", 1234);
		res.prepare_payload();
		return res;
	};

in class http::ptree_body implemented a class writer, its member function get stringify object ptree to std::string feed to serializer as that:
ptree_body::writer::get(...)  // stringify ptree object to string and return string to caller
serializer::next(...)
...
detail::async_write_some_impl(...)
...
http::async_write(...)
...

But http::ptree_body::size was invoked before all members of ptree_body's member functions by res.prepare_payload();.
struct ptree_body
{
	using value_type = boost::property_tree::ptree;

	static
		std::uint64_t
		size(value_type const& body) {
		return body.size();	// NOTE: body is type of ptree
		/*
			should i first stringify body to string, then return the length of string?
			maybe okay, but if i can caching this string for writer's get,? this is a static function.
		*/
	}
...
}

So I wanna get a solution for that, it should make us more clearly to use or understand this library, I suggest that if there are more detail usage examples may be more helpful for using this library, and let this library's api to be more powerful and stable, thank you all the same:)

The Body concept is not designed to render the entire body in memory at the moment of serialization. For your use-case, the chunked transfer-encoding is more appropriate since it allows the ptree to be serialized incrementally (if the ptree supports it). If you really want to have the size of the serialized ptree known ahead of time, you have to serialize it yourself into a string, and use http::string_body instead, so that the content length is correct. I don't recommend this, since it negates one of the benefits of using a ptree body in the first place, which is that you don't have to serialize the entire ptree into memory in order to send it as the body of an HTTP message.

Okay, thank you so much!


Add Users support

Adding Users support, currently missing the Publish to users support.

Pending public feature release


Implement Morris surface tension model

Depends on #539
Depends on #604
Depends on #605
Depends on #606
Depends on #607
Depends on #608
Depends on #609
Depends on #599
super seeds #523

@efaulhaber Still was not able to find the allocations that occur in "sphere_surface_tension_2d.jl"


Insert is skipped after ALTER TABLE DELTE

Actually is's pretty same issue as 827.
Steps to reproduce:

create database data
create table data.test(date Date, id UInt64, metric UInt64) ENGINE ReplicatedMergeTree('/clickhouse/tables/{shard}/data/test', '{replica}', date, (date, id), 8192)
insert into data.test values ('2018-01-01', 1, 1)
select count() from data.test => 1
alter table data.test delete where id=1
insert into data.test values ('2018-01-01', 1, 1)
select count() from data.test => 0 expected 1

It's pretty tricky issue due to absence of any errors except for logs like:
<table_name> (Replicated OutputStream): Block with like: <block_id> already exists; ignoring it.

Exact duplicate #3526  (there are more comments there).


helmfile: file not able to identify & parse values for each environment

Helmfile:
repositories:

name: helm-prereleases
url: https://artifactory.company.com/helm-prereleases

environments:
dev:
preprod:
prod:
helmDefaults:
createNamespace: false
releases:

name: pingconsole
chart: helm-prereleases/pingconsole
values:

pingconsole/values-{{ .Environment.Name }}.yaml

name: pingengine
chart: helm-prereleases/pingengine
values:

pingengine/values-{{ .Environment.Name }}.yaml

Logs:
/ # helmfile -e dev --log-level=debug apply
processing file "helmfile.yaml" in directory "."
first-pass rendering starting for "helmfile.yaml.part.0": inherited=&{dev map[] map[]}, overrode=
first-pass uses: &{dev map[] map[]}
first-pass rendering output of "helmfile.yaml.part.0":
0: repositories:
1:
2: - name: helm-prereleases
3:   url: https://artifactory.company.com/helm-prereleases
4:
5: environments:
6:   dev:
7:   preprod:
8:   prod:
9:
10: helmDefaults:
11:   createNamespace: false
12:
13: releases:
14: - name: pingconsole
15:   chart: helm-prereleases/pingconsole
16:   values:
17:   - pingconsole/values-dev.yaml
18: - name: pingengine
19:   chart: helm-prereleases/pingengine
20:   values:
21:   - pingengine/values-dev.yaml
22:
first-pass produced: &{dev map[] map[]}
first-pass rendering result of "helmfile.yaml.part.0": {dev map[] map[]}
vals:
map[]
defaultVals:[]
second-pass rendering result of "helmfile.yaml.part.0":
0: repositories:
1:
2: - name: helm-prereleases
3:   url: https://artifactory.company.com/helm-prereleases
4:
5: environments:
6:   dev:
7:   preprod:
8:   prod:
9:
10: helmDefaults:
11:   createNamespace: false
12:
13: releases:
14: - name: pingconsole
15:   chart: helm-prereleases/pingconsole
16:   values:
17:   - pingconsole/values-dev.yaml
18: - name: pingengine
19:   chart: helm-prereleases/pingengine
20:   values:
21:   - pingengine/values-dev.yaml
22:
merged environment: &{dev map[] map[]}
helm:XVlBz> WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/KUBECONFIG
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/KUBECONFIG
helm:XVlBz> v3.3.4+ga61ce56
Adding repo helm-prereleases https://artifactory.company.com/helm-prereleases
exec: helm repo add helm-prereleases https://artifactory.company.com/helm-prereleases --force-update
helm:gbaiC> WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/KUBECONFIG
helm:gbaiC> WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /root/KUBECONFIG
helm:gbaiC> "helm-prereleases" has been added to your repositories
"helm-prereleases" has been added to your repositories
2 release(s) found in helmfile.yaml
err: release "pingconsole" in "helmfile.yaml" failed: failed processing release pingconsole: values file matching "pingconsole/values-dev.yaml" does not exist in "."
err: release "pingengine" in "helmfile.yaml" failed: failed processing release pingengine: values file matching "pingengine/values-dev.yaml" does not exist in "."
in ./helmfile.yaml: 2 errors:
err 0: failed processing release pingconsole: values file matching "pingconsole/values-dev.yaml" does not exist in "."
err 1: failed processing release pingengine: values file matching "pingengine/values-dev.yaml" does not exist in "."
I attached helm chart of pingconsole and pingengine screenshot

I suppose that you file tree is like this
helmfile.yaml
helm-prereleases
-- pingconsole/
---- values-<env>.yaml
-- pingengine/
---- values-<env>.yaml

If it is so, in helmfile, the path for values-<env>.yaml lacks helm-prereleases/


loss of images by exporting project dataset in coco 1.0

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

I labeled 655 images in my project, in different tasks.
I want to export the project dataset to coco 1.0.
Current Behaviour

But in my exported zip-file (in coco 1.0), are less images i labeled.
By exporting in another format like "cvat for image 1.1", i get the right number of images.
Possible Solution

Names of images or tasks could double.

@zhiltsov-max , there are multiple complains about the problem.

@johannsimonr, hi. Could you check which images are lost exactly?


Replace regex replaceAll with hand crafted version

Update ValidCharacters.toValidCharset to use a hand crafted version.
The new version is around 5x faster than the previous regex based version:
c.n.s.p.a.ValidCharactersBench.testNewByHand     thrpt       50  4258892.253 ± 57887.069  ops/s
c.n.s.p.a.ValidCharactersBench.testUsingRegex    thrpt       50   923106.236 ±  8753.248  ops/s

NetflixOSS » servo » servo-pull-requests #34 FAILURE
Looks like there's a problem with this pull request

NetflixOSS » servo » servo-pull-requests #35 SUCCESS
This pull request looks good


nixos: allow overriding lib

Motivation for this change
Allows overriding the lib argument used in configurations, which in turn allows using library functions while working with imports, like e.g.:
{ lib, ... }: {
  imports = lib.my-imports-generator;
}

The same wouldn't be possible with pkgs.lib, as it would cause an infinite recursion.
I'm not sure this is the best way to implement this feature.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

I was planning on writing a PR to extend lib myself when @Infinisil mentioned this PR. I experimented with making overlays for lib as we have for nixpkgs, which works, but like you mentioned they would have to be defined outside of your configuration, because most modules tend to include lib inside the scope at the top of the file (i.e. with lib;), causing recursion, just like pkgs.lib would.
I was using <nixpkgs-lib-overlays> and ~/.config/nixpkgs/lib/overlays{,.nix}, but I was not particular happy with that approach. Seeing your approach made me realize that it indeed could just be simplified to just pointing to a custom lib. This would still leave open the option to implement that custom lib via overlays, but leave that option completely open to the implementer. I however do not like the coupling between NixOS and lib. For example, I also sometimes use just with import <nixpkgs/lib>;, which would then not have the custom lib. I like the suggestion made by @Infinisil instead, to use <nixpkgs/lib> itself to point to the custom lib if you so want to, but for it to work with any existing direct import of nixpkgs/lib/default.nix, I would suggest we change that file to check for <nixpkgs/lib> and use that if it does not refer to itself.
I have some other suggestions, but I better place them at the source code directly.

would suggest we change that file to check for <nixpkgs/lib> and use that if it does not refer to itself.

@ottidmes, I haven't tested the redirection, but I think https://github.com/NixOS/nixpkgs/pull/51109/commits/d1451739cad00c89641992ab4514892dfa091a14 implements what you're suggesting.

One downside I'm seeing with overriding nixpkgs/lib is that it's not possible to extend <nixpkgs/lib> easily anymore. The earlier approach, i.e. using <nixos-lib>, allowed to extend <nixpkgs/lib> like this:
import <nixpkgs/lib> // {
  mystuff = "...";
}

Now this causes an infinite recursion, and the only solution I'm seeing is to reimplement <nixpkgs/lib/default.nix> it the custom lib.

The idea behind the redirection was that there are still many places in nixpkgs that references nixpkgs/lib directly via path imports (search nixpkgs with this regex: \./lib[^0-9a-zA-Z/\.\-|"]), and outside nixpkgs there might be people having such references too, but its also fair to say that in those cases you probably do not want to use the custom lib anyway. Its just if you want the custom lib be the default everywhere, redirection is the only sure way I could think of.

Now, after trying to actually use an overridden nixpkgs/lib in my setup, I have to say that I'm not happy with it anymore for following reasons:

the above mentioned import <nixpkgs/nixos/../lib> doesn't look particularly good to me, and I wouldn't like to promote such hacks as the conventional way to do things
and more importantly, it's not possible to use just NIX_PATH=/somepath anymore, because nixpkgs/lib has to be overridden explicitly.

Therefore I'm reverting this PR to the original state again. I'm not sure the implementation is the best possible, but having a separate path like <nixos-lib> feels cleaner to me.

Not really in favor of adding another ad-hoc override mechanism. Also, in the future, the Nix search path is likely to be deprecated in favor of flakes, where the Nixpkgs library may well be factored out into a separate flake, which would allow it to be overriden easily.

I will eagerly await more news about these flakes! In the meantime I made a different proposal (#51797) on how to extend lib, which while still ad hoc, tries to address the problems I had with this proposal.


Optimization Algorithms (Ch. 12)

I would cover the sections 12.3, 12.6 and 12.10 in the upcoming PR if nobody is working on it.

Sure! Please go ahead :)

Fixed by #75


Github might've changed their site

The following proof, for example, should be fine:
https://resolver.onename.com/v2/users/johnkacz

There's no tag with blob-wrapper on the page.
repository-meta-content is set to the user entered description instead of the contents of the post.
user-select-contain gist-blob-name css-truncate-target is set the user entered file name .
It looks like their new gist interface is now more aggressive at getting users to enter these additional pieces of info where before the had default values that we could check.


iota(BigInt) too

bearophile_hugs reported this on 2011-08-06T19:56:56Z
Transfered from https://issues.dlang.org/show_bug.cgi?id=6447
CC List

dmitry.olsh (@DmitryOlshansky)
hsteoh
issues.dlang (@jmdavis)
russel

Description
Sometimes I'd like to generate a range of bigints too:

Enhancement:

import std.bigint: BigInt;
import std.range: iota;
void main() {
    auto x = iota(BigInt(10));
}

Currently DMD gives:

...\std\range.d(4028): Error: template std.range.iota(B,E,S) if ((isIntegral!(CommonType!(B,E)) || isPointer!(CommonType!(B,E))) && isIntegral!(S)) does not match any function template declaration
...\std\range.d(4028): Error: template std.range.iota(B,E,S) if ((isIntegral!(CommonType!(B,E)) || isPointer!(CommonType!(B,E))) && isIntegral!(S)) cannot deduce template function from argument types !()(BigInt,BigInt)
test.d(4): Error: template instance std.range.iota!(BigInt) error instantiating

bearophile_hugs commented on 2013-05-28T04:15:16Z
(In reply to comment #2)

> Is this a symptom of the fact that Phobos is really predicated on use of
> hardware types more generally?

I think it's mostly a symptom of D/Phobos not having many contributors :-)

bearophile_hugs commented on 2014-12-04T23:53:02Z
A workaround:

10.iota.map!BigInt

hsteoh commented on 2013-08-18T22:39:52Z
Related: issue #10762.

issues.dlang (@jmdavis) commented on 2011-08-06T20:05:50Z
BigInt isn't considered an integral by isIntegral, hence why it doesn't work. We should probably look at having a template in std.traits which covers both the built-in integral types and BigInt so that those functions which can work with both have an easy way to test for it. It's either that or every function that could use BigInt is going to have to test for it explicitly on top of testing for isIntegral.

Regardless, I don't see any reason why using iota with BigInt shouldn't be made to work.

russel commented on 2013-05-28T03:37:57Z
I don't have the time, and likely not the knowledge, to fix this and provide a pull request. Is there anyone who does? This is a two year old problem that means D is not useful for applications using data types other than the hardware types, which is a lot of applications.

Is this a symptom of the fact that Phobos is really predicated on use of hardware types more generally?

(This comment is really to get me on the cc list as there seems to be a requirement to make a comment in order to add oneself to the cc list :-((

bearophile_hugs commented on 2014-12-05T01:03:23Z
(In reply to hsteoh from comment #8)
> Yes, but if BigInt(10) should work, then BigInt(2)^^65536 should work too. I
> don't think you'd like it if the library imposed some arbitrary subrange on
> your numeric types that may be used with iota (what if iota(10) worked but
> iota(11) didn't?).

Yes, of course. I'd like iota to work with bigints in general :-)

bearophile_hugs commented on 2014-12-05T00:23:49Z
(In reply to hsteoh from comment #6)
> That doesn't help when you actually *need* a BigInt, e.g.,
> iota(BigInt(2)^^65536). Of course, you'd run into other problems with that
> (e.g., you'll be waiting a looong time for your program to finish), but the
> idea is that you want to iterate over numbers that only BigInt can
> represent, right?

The idea is that I'd like iota(BigInt(10)) to work. In the meantime I use some workarounds.

bearophile_hugs commented on 2015-01-26T12:23:10Z
I keep this issue open because this still doesn't work:

void main() {
    import std.bigint: BigInt;
    import std.range: iota;
    iota(BigInt(1), BigInt(100), BigInt(5));
    iota(BigInt(1), BigInt(100), 5);
}

test.d(4,9): Error: template std.range.iota cannot deduce function from argument types !()(BigInt, BigInt, BigInt), candidates are:
...\dmd2\src\phobos\std\range\package.d(4008,6):        std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)
...\dmd2\src\phobos\std\range\package.d(4098,6):        std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))
...\dmd2\src\phobos\std\range\package.d(4105,6):        std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
...\dmd2\src\phobos\std\range\package.d(4168,6):        std.range.iota(E)(E end)
...\dmd2\src\phobos\std\range\package.d(4176,6):        std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))
test.d(4,9):        ... (1 more, -v to show) ...
test.d(5,9): Error: template std.range.iota cannot deduce function from argument types !()(BigInt, BigInt, int), candidates are:
...\dmd2\src\phobos\std\range\package.d(4008,6):        std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)
...\dmd2\src\phobos\std\range\package.d(4098,6):        std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))
...\dmd2\src\phobos\std\range\package.d(4105,6):        std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
...\dmd2\src\phobos\std\range\package.d(4168,6):        std.range.iota(E)(E end)
...\dmd2\src\phobos\std\range\package.d(4176,6):        std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))
test.d(5,9):        ... (1 more, -v to show) ...

hsteoh commented on 2015-01-22T18:22:31Z
This seems to be a subset of https://issues.dlang.org/show_bug.cgi?id=10762

hsteoh commented on 2015-01-22T18:22:45Z
https://github.com/D-Programming-Language/phobos/pull/2895

hsteoh commented on 2014-12-05T00:54:51Z
Yes, but if BigInt(10) should work, then BigInt(2)^^65536 should work too. I don't think you'd like it if the library imposed some arbitrary subrange on your numeric types that may be used with iota (what if iota(10) worked but iota(11) didn't?).

github-bugzilla commented on 2015-01-26T09:27:04Z
Commit pushed to master at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/b159a5bdc980abb90833b32fa04044a002dfc794
Merge pull request #2895 from quickfur/iota_bigint

Issue 6447 & 10762: support user-defined types in iota()

hsteoh commented on 2014-12-05T00:12:34Z
That doesn't help when you actually *need* a BigInt, e.g., iota(BigInt(2)^^65536). Of course, you'd run into other problems with that (e.g., you'll be waiting a looong time for your program to finish), but the idea is that you want to iterate over numbers that only BigInt can represent, right?

russel commented on 2018-06-05T10:22:47Z
Using LDC on Debian Sid, the code:

import std.bigint: BigInt;
import std.range: iota;
void main() {
    auto x = iota(BigInt(10));
}

compiles and executes fine, but the code:

void main() {
    import std.bigint: BigInt;
    import std.range: iota;
    iota(BigInt(1), BigInt(100), BigInt(5));
    iota(BigInt(1), BigInt(100), 5);
}

results in:

test_b.d(4): Error: template std.range.iota cannot deduce function from argument types !()(BigInt, BigInt, BigInt), candidates are:
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5371):        std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5481):        std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5488):        std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5558):        std.range.iota(E)(E end) if (is(typeof(iota(E(0), end))))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5567):        std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))
test_b.d(4):        ... (1 more, -v to show) ...
test_b.d(5): Error: template std.range.iota cannot deduce function from argument types !()(BigInt, BigInt, int), candidates are:
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5371):        std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5481):        std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5488):        std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5558):        std.range.iota(E)(E end) if (is(typeof(iota(E(0), end))))
/usr/lib/ldc/x86_64-linux-gnu/include/d/std/range/package.d(5567):        std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))
test_b.d(5):        ... (1 more, -v to show) ...

Using dmd from d-apt the first code works fine and the second code results in:

test_b.d(4): Error: template `std.range.iota` cannot deduce function from argument types `!()(BigInt, BigInt, BigInt)`, candidates are:
/usr/include/dmd/phobos/std/range/package.d(5890):        `std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)`
/usr/include/dmd/phobos/std/range/package.d(6000):        `std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))`
/usr/include/dmd/phobos/std/range/package.d(6007):        `std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))`
/usr/include/dmd/phobos/std/range/package.d(6077):        `std.range.iota(E)(E end) if (is(typeof(iota(E(0), end))))`
/usr/include/dmd/phobos/std/range/package.d(6086):        `std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))`
test_b.d(4):        ... (1 more, -v to show) ...
test_b.d(5): Error: template `std.range.iota` cannot deduce function from argument types `!()(BigInt, BigInt, int)`, candidates are:
/usr/include/dmd/phobos/std/range/package.d(5890):        `std.range.iota(B, E, S)(B begin, E end, S step) if ((isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E))) && isIntegral!S)`
/usr/include/dmd/phobos/std/range/package.d(6000):        `std.range.iota(B, E)(B begin, E end) if (isFloatingPoint!(CommonType!(B, E)))`
/usr/include/dmd/phobos/std/range/package.d(6007):        `std.range.iota(B, E)(B begin, E end) if (isIntegral!(CommonType!(B, E)) || isPointer!(CommonType!(B, E)))`
/usr/include/dmd/phobos/std/range/package.d(6077):        `std.range.iota(E)(E end) if (is(typeof(iota(E(0), end))))`
/usr/include/dmd/phobos/std/range/package.d(6086):        `std.range.iota(B, E, S)(B begin, E end, S step) if (isFloatingPoint!(CommonType!(B, E, S)))`
test_b.d(5):        ... (1 more, -v to show) ...

So I think this problem is not fixed.

github-bugzilla commented on 2015-02-18T03:41:30Z
Commit pushed to 2.067 at https://github.com/D-Programming-Language/phobos

https://github.com/D-Programming-Language/phobos/commit/b159a5bdc980abb90833b32fa04044a002dfc794
Merge pull request #2895 from quickfur/iota_bigint

dmitry.olsh (@DmitryOlshansky) commented on 2018-05-29T14:03:57Z
Works now.

hsteoh commented on 2015-01-26T16:16:50Z
One thing at a time! The last PR implemented the iota(start,end) case. The next step is to extend it to handle the iota(start,end,step) case when += is supported.


Define dialog widths using columns

The <Dialog /> component's overlay should have a <PageWrapper /> (or whatever it will be called) and <Grid />, so that a dialog can take up a width determined in columns rather than in pixels/percentage.

Completed via https://github.com/penumbra-zone/web/pull/1607


World crashloop, already existing connection

This bug happened a few versions ago but seemed to be fixed, updated to the latest version and getting this again. CM was placed against an ME controller, there is not an other me connections to the CM. Server crashloops with this error until we mcedited out the controller
Full crash log:http://pastebin.com/4YdK7eju
Forge 1448 dedicated server running the Nuts and Bolts Pack (technic)
Happy to provide any additional information.

Currently working on a 1.10.2 version, the 1.7.10 version is not being maintained anymore, sorry.
Closing all issues not relevant for the new version.


Empty css/tachyons-skins.css in 4.1.0

The contents of css/tachyons-skins.css were wiped out in tachyons-skins 4.1.0. The source is fine.

Tachyons v5 will become a monorepo so this issue is being closed, if the issue is still relevant please open an issue with the main repo https://github.com/tachyons-css/tachyons/issues/new & link to this one


fix slow file type detection in all data import

By default we were using in input stream two times to determine the correct mzML import: IMS or no IMS
Now we are handling IMS and mzML files the same way with the advanced MSDK import.
This actually took a long time sometimes for ~500 files.
Also, I am checking if the file name ends with .mzml case insensitive.

ready from my side


Kirkstone support

I've noticed that the repository has no kirkstone branch, and at least meta-rauc-raspberrypi/conf/layer.conf does not list kirkstone as a compatible layer series.
For the record, honister is listed in compatible series, which is after the syntax changes. I'll add that to kirkstone there and maybe open a PR if the image builds successfully.

@leon-anavi Do have any plan for the krikstone branch ?

I wanted to add, that the yocto release is called kirkstone and the branch is called krikstone. I guess this is a typo.

Would it be possible to rename the branch krikstone to kirkstone, because this is really confusing.
Apart from that, what is missing for full kirkstone support?

I have renamed the branches now.

Apart from that, what is missing for full kirkstone support?

Adding kirkstone to LAYERSERIES_COMPAT_<meta-layer> for the individual layers and testing if this is not just an empty promise would be great imho :smirk:
So if you would like to build one of these layers against kirkstone, just add the release name to the variable list (or replace the original one) and see if it works. If it works, submit a PR for the adaption.
Since this is a layer mainly maintained by 'community' any help is appreciated.

I start building it. I will test, too. I let you know and can create a PR.

The build was successful but the RAUC does not work properly. The problem is in environments. These are the output of the fw_printenv. Do you have any suggestion where to start?
fw_printenv_dunfell.md
fw_printenv_kirkstone.md

The only difference I see is that the RAUC-specific variables are not set in the kirkstone case.
What does 'not properly work' mean? Do you get an error message when running RAUC?

As far as I test, did not see any problem with RAUC itself. The RAUC-specific variables related problems are the main issue. As an example, rauc could not get primary slot.
`root@raspberrypi3:~# rauc status
(rauc:360): rauc-WARNING **: 08:06:14.632: Failed getting primary slot: Failed getting primary slot: Unable to find primary boot slot
=== System Info ===
Compatible:  mrbeam3
Variant:
Booted from: rootfs.0 (/dev/mmcblk0p2)
=== Bootloader ===
Activated: (null) ((null))
=== Slot States ===
o [rootfs.1] (/dev/mmcblk0p3, ext4, inactive)
bootname: B
boot status: bad
o [rootfs.0] (/dev/mmcblk0p2, ext4, booted)
bootname: A
mounted: /
boot status: bad
`

Have a look if https://github.com/rauc/meta-rauc-community/blob/master/meta-rauc-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in is missing in your u-boot

It is actually in place. Maybe, I need fully clean build. I also notice that another boot.com.in file is in place at meta-raspberrypi/recipes-bsp/rpi-u-boot-scr/files/boot.cmd.in

Looks good here:
root@raspberrypi4:~# rauc status
=== System Info ===
Compatible:  RaspberryPi4
Variant:
Booted from: rootfs.0 (A)

=== Bootloader ===
Activated: rootfs.0 (A)

=== Slot States ===
o [rootfs.1] (/dev/mmcblk0p3, ext4, inactive)
        bootname: B
        boot status: good

x [rootfs.0] (/dev/mmcblk0p2, ext4, booted)
        bootname: A
        mounted: /
        boot status: good

Is there anything else that should be checked?

Yes, you are right. I build and run on core-image-minimal now and it works.

Should be fixed by #36 now.


Review [Obsolete] properties with JS and TS documentation

Hi @joadan,
I thought it would be best to open an issue to track this. I have created a branch with some changes, but there are some additional items I noticed while working on it.
I have been comparing to TS Definition and JS Docs.
Let me know your thoughts.
Drop Shadows

DropShadow only has multi-type Color for Chart
DropShadow only has EnabledOnSeries for Chart

My suggestion would be to remove CrosshairsDropShadow, just use regular there; and to add ChartDropShadow that inherits the base.
Data Types

TS shows PlotOptionsBar.DumbbellColors as a two-dimensional array dumbbellColors?: string[][];
TS shows Tooltip.Y as a ValueOrList<TooltipY> with definition y?: ApexTooltipY | ApexTooltipY[]
Markers.Shape and MarkersDiscrete.Shape have an interesting item at the end suggesting it could be multi-type type ApexMarkerShape = "circle" | "square" | "rect" | string[]

Not sure I have any suggestions here, just thought it is worth noting.
Axis Sub-Classes

AxisBorder properties differ between X and Y in TS

My suggestion would be to create a base class and derive for each axis.
Other

There is a single class definition in TS for both Title and Subtitle; whereas there are separate classes within this library
There are a few classes in TS that have events; such as AnnotationsPoint, ToolCustomIcon, LegendMarkers, and Markers

Again, not sure I would suggest changing anything here. I would suggest that removing the [Obsolete] attribute is done for anything still in the TS. The branch I have opened has done so; but I have not yet added any XML documentation to properties that only exist in TS.
Anyhow, if you think its worth going forwards here I should be able to submit a PR tomorrow.

Hello,

Again, not sure I would suggest changing anything here. I would suggest that removing the [Obsolete] attribute is done for anything still in the TS. The branch I have opened has done so; but I have not yet added any XML documentation to properties that only exist in TS.

My proposal is that we just remove the obsolete attribute for the ones in TS. I think we can wait with the ones only in TS and add them if needed after the release of 1.0. My reasoning is that we want to get 1.0 out as soon as possible.
Thank you for all your work.
Regards Joakim

Ok, the branch already has the obsolete removed and I have added properties that only existed in TS.
Any thoughts on the drop shadows? I will submit a PR later today, and then it will be a couple weeks before I have more time.

Any thoughts on the drop shadows? I will submit a PR later today, and then it will be a couple weeks before I have more time

I would leave as is for now.
Sorry for my short answer but I don't have much time right now.
If you create a PR I can take it from there and hopfully I have more time next week to prepare a release.

@thirstyape I just released v1.0.0 to production. Thank you so much for all your work!


fix: alpine build with less permission to copy file by user "builder"

use doas to set root permission

/merge

/approve

run in the test job (no upload enabled): https://ci.adoptopenjdk.net/job/Sophia-adoptium-packages-linux-pipeline/195/console

/approve


FlashFFTConv can be definitely be implemented on Mamba, right?

Mamba does not have a convolutional form, so there isn't an exact mapping. For Mamba you'll have to use the scan formulation as documented in the paper.

For Mamba you'll have to use the scan formulation as documented in the paper.
I get what you mean (algorithm 2 in figure 2). I was confused a bit because figure 3 showing mamba architecture also has Conv layer???


Request - Add CMG inventory data

Include Cloud Management Gateway information in audit collection.

Already listed as Cloud Proxy Gateway.  More work need to augment related things like OMS, M365 and Azure configruations.  These will be added in a future update.


Wrong key?

I tried two projects but not worked with umodel.
One is my project and the real key is pUJc39WdcbUfAcaE5tEgtPWdaXDVXl7XGtrhmpzet4M=
I got 9H9f6HFpm6jUTrJkrk6pBoupAZ6aBFRdR5BHlHswhxY=
Using both python complied bulid and release
{
"$type": "1",
"$types": {
"UnrealBuildTool.EncryptionAndSigning+CryptoSettings, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "1",
"UnrealBuildTool.EncryptionAndSigning+EncryptionKey, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "2",
"UnrealBuildTool.EncryptionAndSigning+SigningKey, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "4",
"UnrealBuildTool.EncryptionAndSigning+SigningKeyPair, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "3"
},
"EncryptionKey": {
"$type": "2",
"Guid": "null",
"Key": "9H9f6HFpm6jUTrJkrk6pBoupAZ6aBFRdR5BHlHswhxY=",
"Name": "null"
},
"PakEncryptionRequired": "true",
"PakSigningRequired": "true",
"SecondaryEncryptionKeys": "[ ]",
"SigningKey": "null",
"bDataCryptoRequired": "true",
"bEnablePakFullAssetEncryption": "false",
"bEnablePakIndexEncryption": "true",
"bEnablePakIniEncryption": "true",
"bEnablePakSigning": "true",
"bEnablePakUAssetEncryption": "true"
}

updated. ## added ctrl+v functionality for ueviewer and other 3rd party apps (hex representation of a key copied to your clipboard)
mb messed up with keys, it clearly searches key block with defined pattern, that pattern doesn't changing, so the problem is on your side. I get same results (keys are identical on dumpakkey output and in project file(crypto section) )
Get Outlook for Androidhttps://aka.ms/ghei36

From: DTEX123<EMAIL_ADDRESS>Sent: Tuesday, August 18, 2020 7:17:26 PM
To: somethingcoolmustbehere/dumpPakKey<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [somethingcoolmustbehere/dumpPakKey] Wrong key? (#2)
I tried two projects but not worked with umodel.
One is my project and the real key is pUJc39WdcbUfAcaE5tEgtPWdaXDVXl7XGtrhmpzet4M=
I got 9H9f6HFpm6jUTrJkrk6pBoupAZ6aBFRdR5BHlHswhxY=
Using both python complied bulid and release
{
"$type": "1",
"$types": {
"UnrealBuildTool.EncryptionAndSigning+CryptoSettings, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "1",
"UnrealBuildTool.EncryptionAndSigning+EncryptionKey, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "2",
"UnrealBuildTool.EncryptionAndSigning+SigningKey, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "4",
"UnrealBuildTool.EncryptionAndSigning+SigningKeyPair, UnrealBuildTool, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null": "3"
},
"EncryptionKey": {
"$type": "2",
"Guid": "null",
"Key": "9H9f6HFpm6jUTrJkrk6pBoupAZ6aBFRdR5BHlHswhxY=",
"Name": "null"
},
"PakEncryptionRequired": "true",
"PakSigningRequired": "true",
"SecondaryEncryptionKeys": "[ ]",
"SigningKey": "null",
"bDataCryptoRequired": "true",
"bEnablePakFullAssetEncryption": "false",
"bEnablePakIndexEncryption": "true",
"bEnablePakIniEncryption": "true",
"bEnablePakSigning": "true",
"bEnablePakUAssetEncryption": "true"
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/somethingcoolmustbehere/dumpPakKey/issues/2, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQMZG7BC4SGIFZPQJUJ2KMTSBKSRNANCNFSM4QDXBQTQ.


Client objects are not pickle-able for multiprocess programs

Confirm this is an issue with the Python library and not an underlying OpenAI API

[X] This is an issue with the Python library

Describe the bug
I am developing a program that employs multiprocessing to enhance efficiency through parallel execution. Python relies on the pickle module for object serialization and inter-process communication. It would be nice if we let all classes in the openai package be pickle-able。
To Reproduce

Create an OpenAI or AsyncOpenAI client.
Serialize the client using the pickle module.

Code snippets
import pickle

from openai import OpenAI, AsyncOpenAI

client = OpenAI(api_key='sk-...')
async_client = AsyncOpenAI(api_key='sk-...')

pickle.dumps(client)  # TypeError: cannot pickle '_thread.RLock' object
pickle.dumps(async_client)  # TypeError: cannot pickle '_thread.RLock' object

OS
macOS
Python version
Python 3.11.6
Library version
openai v1.3.0

usually pickling does not make sense for client objects, as they hold a connection that a single process only can use.
but i think you can pass the data objects between processes, because they are Pydantic classes which support serialization in json at least out of the box.

Like @antont mentioned, it doesn't make sense for client objects to be pickled. You should be able to share the data the API returns between processes but you'll have to instantiate a new client for every process.


labels and selectors

as indicated in https://docs.google.com/document/d/1MdKWEIG16Z5V2bGipxsr7V5alH_MV2wq1tQ5qDr53dA/edit# it would be super nice if dotmesh volumes could be labelled and searched for based on selectors.
like the prometheus model, we could have a special label __name__ which gives us a migration path from the current name-based scheme. __bucket__ could also be used for grouping things within a namespace.
@alice-sowerby @petercolesdc this would have some fun implications on the GUI for exploring your dots :-)

roadmap item: https://github.com/dotmesh-io/roadmap/issues/1


Viewport overflow issues

Hi,
The content of the tooltip breaks and wraps correctly in order to stay within the viewport. However the actual box overflows the viewport  if zoomed in or on mobile.  You can see on the screenshot that the x-scrollbar appears once the tooltip is shown and that the box does not stay within the viewport on the right side.
How can I modify this? How can I add css to make to render correctly?
best regards
Martin

@marttheis The plugin uses Tippy so you can just write your own CSS. If you inspect the element in the DOM, you'll be able to see the classes, otherwise consult the Tippy documentation directly.

Thank you for the instant support Ryan. Great plugin and now it works like a charm.

Thanks @marttheis, appreciate it!


Is it possible to change the name of the migrations table?

Problem
by default generate the table _prisma_migrations, but i have rules to follow in the database and one of them is that the name of the tables must be PascalCase. In typeorm this option already exists, is there any way to do it with the Prisma?

No, that name is currently hardcoded.

No, that name is currently hardcoded.

Ok, no problem, thanks for answering!

Let's keep this as a feature request - I think this makes total sense in situations like yours and we should consider this (sooner or later)👍

Could this be a configuration in the schema.prisma file?

Yes, that would be the obvious way to configure things via a property of the datasource.
Slight problem: We have been avoiding adding any configuration if not absolutely necessary. We would need to change that and figure out what this exactly means.

Just to bring one more argument about this feature request.  Multiple micro-services use Prisma and describe their own schema over the same database instance. Obviously, each micro-service tend to create it's own _prisma_migrations table and has conflicts there. Now we workaround this by having a separate schema per micro-service and having ?schema=microserviceA in DATABASE_URL line.
Having ability to define the name for the migrations table would simplify our life

@Kukunin Being able to change the migration table name would not actually be enough, as Prisma Migrate would try to delete the tables each microservice does not own. It is currently only fit to handle all tables in a schema it is connecting to. You will also want to 👍 https://github.com/prisma/prisma/issues/8864.

Actually, it's not a problem because for development/testing each micro-service lives in its own database. They are getting connected only on staging/production environments, and prisma migrate deploy is non-destructive, so it should be work, AFAIK

Interesting nuance, you are correct in that specific case.

I also need this functionality to change the name of the _prisma_migrations table, how do I know when this change will be in the next versions of prisma?

Same need here

Just to bring one more argument about this feature request.  Multiple micro-services use Prisma and describe their own schema over the same database instance. Obviously, each micro-service tend to create it's own _prisma_migrations table and has conflicts there. Now we workaround this by having a separate schema per micro-service and having ?schema=microserviceA in DATABASE_URL line.
Having ability to define the name for the migrations table would simplify our life

Were you able to tell prisma to put the migrations table inside the database shema? i see that it puts that table inside the default db schema, i wanted it to put it inside the specific schema specified in the db url


rare: 1.9.3 -> 1.9.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for rare is: "GUI for Legendary, an Epic Games Launcher open source alternative"
meta.homepage for rare is: "https://github.com/Dummerle/Rare"
meta.changelog for rare is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.9.4 with grep in /nix/store/qhb279lpxil9rffdjblywqjkka3izvbd-rare-1.9.4
found 1.9.4 in filename of file in /nix/store/qhb279lpxil9rffdjblywqjkka3izvbd-rare-1.9.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
rare

Instructions to test this update (click to expand)

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

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

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

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

1 package built:

rare

Maintainer pings
cc @WolfangAukang for testing.

Result of nixpkgs-review pr 208211 run on x86_64-linux 1

1 package built:

rare

Result of nixpkgs-review pr 208211 run on x86_64-linux 1

1 package built:

rare


Remove usage of obsolete Roslyn API.

@NTaylorMullen

Maybe close this PR as it is totally outdated now?..

Maybe close this PR as it is totally outdated now?..

Agree!


Surprised by Bun default on new Rails project

Hi,
I recently created a new project by running rails my_app --css=bootstrap
I was then surprised that it choose bun as the javscript bundler. After some investigation I found out the reason it does is because of a recent PR #130 which checks for two things:

bun is in the path
There is no yarn.lock file

By a coincidence I had bun in the path, and there is no yarn.lock file since it is a new project. Btw, I also have yarn in my path, so it selected bun over yarn even though both are available. This caused some issues down the road because bun was not supported by my hosting solution, probably because bun is fairly new.
Was bun selected as a default on purpose in #130 or was it an unintended consequence? I also see that #138 suggests adding npm as well, what will be the ordering then?
If bun is the preferred default, I would suggest adding a paragraph to the readme about it to avoid surprises. Happy to create a documentation PR for this if this is the case.
It might also make sense to allow the user to select bundler in other ways than "touch yarn.lock" or fiddling with the PATH, especially when cssbundling is used through rails new

This is intentional. Here's the ordering:
    def tool
      case
      when File.exist?('bun.lockb') then :bun
      when File.exist?('yarn.lock') then :yarn
      when File.exist?('pnpm-lock.yaml') then :pnpm
      when File.exist?('package-lock.json') then :npm
      when tool_exists?('bun') then :bun
      when tool_exists?('yarn') then :yarn
      when tool_exists?('pnpm') then :pnpm
      when tool_exists?('npm') then :npm
      end
    end

Feel free to open a PR to document 👍


We had to add Administrator to the policy? Bug or feature ?

We needed to add "Administrator" user to this policy in order Administrator can shutdown system remotely via shutdown.exe /r /m \xxx command. But this policy has "Administrators" group as allowed. Administrator is in Administrators group.
Do you know what is happening here ?
If Administrator is not in the list of the policy "Access Denied (5)" is show and not action is taken.
Thank you very much

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

ID: c1f6bded-a1b2-1ef0-90a8-f313afa73557
Version Independent ID: 4a55f951-788c-cac1-5bd6-496ef533cfd6
Content: Force shutdown from a remote system (Windows 10)
Content Source: windows/security/threat-protection/security-policy-settings/force-shutdown-from-a-remote-system.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

Hello @i5513 ,
from my experience, there is no need to add Administrator account to the policy separately.
are you sure you are running command by account that has admin permission for the remote machine?
Thank you

I'm sure, When I add the user "administrador" to the policy it works.
Administrador user si in administrators group (Administradores) .
(Windows Spanish localization)
Thanks
El vie., 25 oct. 2019 8:42, MaratMussabekov<EMAIL_ADDRESS>escribió:

Hello @i5513 https://github.com/i5513 ,
from my experience, there is no need to add Administrator account to the
policy separately.
are you sure you are running command by account that has admin permission
for the remote machine?
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/5152?email_source=notifications&email_token=AAATJXTAYT6OEZPZJBHFXY3QQKIMFA5CNFSM4I7NQZS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHLOOY#issuecomment-546223931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAATJXQKFS47QY2JLTY25ATQQKIMFANCNFSM4I7NQZSQ
.

Hello @i5513 ,
I have made several checks and was unable to reproduce your issue (it worked fine without adding Administrator to the policy separately).
I would recommend you to check other applied GPOs (may be there are some conflicts?) and create a request in Microsoft Support
Thank you

Thanks Marat, I will escalate the issue, so maybe somebody at my organization open the request, or review the applied GPOs.

@i5513
The issue is being marked as resolved as the problematic behavior couldn't be reproduced.
Feel free to re-open this issue if there is still something you'd like to suggest to improve the document.
Thank you for taking the time to provide feedback and follow-up.


[bug] logout functionality is not working properly in each page.

Issue Template
Description
This issue is related to log out button , when i click on logout in home page , it does not functioning. But in some pages like pricing and profile page , it does not functioning like log out functionality.
Steps to Reproduce
Please provide step-by-step instructions on how to reproduce the issue:

Go to 'each page'
Click on 'profile avatar'
click on log out button .
See error

Expected Behavior
when i click on log out button , it should display a model of confirmation. it should work according to your confirmation.
Actual Behavior
It is working in some pages but in some page it is not working or has other functionality except log out.
Screenshots
Screencast from 2024-10-26 18-31-18.webm

@yashmandi @theashikagupta , could you please assign this to me ?

@yashmandi Can i work on this issue??

@yashmandi Can i work on this issue??

@harshbhar0629 , This issue is assigned to me, I am working on this issue.

Ok Brother:)


Fix lower listing scripts for py2

Fixes:

lack of __qualname__ in function objects
StringIO import and its lack of __enter__, __exit__

[Current coverage][cc-pull] is 87.31%

Merging [#1942][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.01%

@@             master      #1942   diff @@
==========================================
  Files           299        299
  Lines         53233      53240     +7
  Methods           0          0
  Messages          0          0
  Branches       5497       5497
==========================================
  Hits          46484      46484
- Misses         5835       5842     +7
  Partials        914        914

Powered by Codecov. Last updated by [c4b0d61...505addb][cc-compare]
[cc-base-branch]: https://codecov.io/gh/numba/numba/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/numba/numba/compare/c4b0d617c6e0fa8844e028d4705206111cfeaca3...505addbe0b69be070d83bcbf19d5fd42e4c5579e
[cc-pull]: https://codecov.io/gh/numba/numba/pull/1942?src=pr


Allow opting-out of username links in release notes

This PR adds a config to @changesets/changelog-github to remove links from GitHub usernames, allowing contributors to appear prominently in releases in the "Contributors" section.
To make use of this feature, set linkUsernames to false in your .changeset/config.json file:
{
    "$schema": "https://unpkg.com/<EMAIL_ADDRESS>    "changelog": [
        "@changesets/changelog-github",
        {
            "repo": "your-org/your-repo",
+           "linkUsernames": false
        }
    ]
}

See GitHub documentation for more details.

I just wonder if we shouldn't transform the release notes and unlinkify those there. The downside of the proposed approach here is that the generated markdown won't have those links in it. GitHub doesn't automatically linkify those mentions in markdown files

I was under the impression that the getReleaseLine function would only be ised for releases not changelog. I agree CHANGELOG.md does not need to change. I will look into your suggestion.

Those are called to generate the CHANGELOG entries and the latest update is extracted by this function. So to do what I suggested you'd have to transform the extracted content there


chore: bump go version and add unit tests

Added some unit tests and bumped go version to 1.22

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Fix several typos in user-facing strings

Quick grep+aspell-gotags to fix a number of typos.

LGTM

CLA verfied.


Hitting ESC when on the pack download page should bring you to the previous menu instead of unselecting the search box

This makes it so you have to hit escape twice to get back. Since there isn't any visual feedback that the search box is selected it just feels like the game is eating the keystroke.

this has tangentially been fixed by 17ae528b5a43da20c13cdddebf021091ff2793c1 which auto focuses the pack search, however if you don't know this and actually click on the search bar to focus it, it still requires two inputs to cancel screen, so i guess ill fix that

24492955bc87adee045be1e19477b86db926056c


devise automated tests scheme

to be able to test serialization, deserialization, widgets.

proof of concept added. @tytusse please review


Add cache to travis to speed up build

Pull Request Test Coverage Report for Build 28

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.226%

Totals

Change from base Build 18:
0.0%

Covered Lines:
153

Relevant Lines:
159

💛  - Coveralls


Tournament details view for spectator

This task requires us to create a details view for a spectator of a tournament. This shouldn't be too different from the details view of a player in a tournament, but we must ensure that a spectator can only join matches in a tournament to spectate a live game instead of playing in one. We could also add some high level information exclusive to spectators, but I'm not sure what those details would entail.

For the detail view, staff, non-admin users, and guests (not logged in) are all able to see the information related to the tournament. The fields displayed are ("name", "game", "start_date", "end_date", "max_players", "description", "rules", "draw_rules", "matches", "players", and "winners"). Note that we have merged issues #107 and #105  because currently, we recognize no need to create separate detail views for spectators and players, so only one detail view is created.

This issue is closed by PR #205 , we have implemented a basic create and detail view for the tournament model. During the process,

Mike, Sam, and Joshua worked on the code. In particular, Mike and Sam mainly worked on the implementation of the views and HTML templates, while Joshua contributed a lot to the discussion of implementation details and mainly worked on giving feedback and suggestions from the List view that he was working on.
Rafael did the review. It was a pull request that took a long time, and he surely spent a lot of time reviewing the code. The effort is greatly appreciated!

Issue Score: Excellent
Comments:
This issue provided much needed functionality for the tournaments feature. Updates and closing comment were very detailed as well.


circulating supply query changes

Checked Syntax, moved query from Testing to Final

@Stephen-Hilton @chilaraisxt @geosxt     Please review the changes and merge


Removed default builder image name from acr pack build

@tjprescott We're holding to get this into 2.0.70 (code complete on 7/24); any concerns about getting this reviewed by then?

@northtyphoon, please review. I will merge once you approve it


Unable to get notify to work

I'm currently using a silabs BLE device emulating the SPP mode.  SPP data is transmitted as notified packet with UUID FEC26EC46D7144429F8155BC21D658D6.  I can see the data on Android BLE terminal app, RaspberryPi Gatttool and RaspberryPi bluez/btgatt-client example code.  However, I cannot get the notify to work via Btferret and the btferret/le_client example code.  I think the problem has to do with my understanding of the device.txt configuration of the device.
Below is the capture of the BLE services using CySmart.

Any help would be greatly appreciated.

If the LE device's handles are always the same, then this is the simplest implementation. Use the handle of the value (001D) then it is not necessary to run find_ctics() to find the handle. Just set the ADDRESS= of the LE device in the devices.txt info.
/**** devices.txt file - set ADDRESS *****/

DEVICE=My Pi  ..... local device info

DEVICE=BLE device TYPE=LE NODE=2  ADDRESS=11:22:33:44:55:66
  LECHAR=Data HANDLE=001D PERMIT=14 SIZE=3 UUID=FEC26EC46D7144429F8155BC21D658D6  ; index 0

/***** C code file ******/

int notify_callback(int lenode,int cticn,unsigned char *buf,int nread);

int main()
  {
  if(init_blue("devices.txt") == 0)
    return(0);

    // connect to node 2
  connect_node(2,CHANNEL_LE,0);

    // enable notifications for characteristic index 0
  notify_ctic(2,0,NOTIFY_ENABLE,notify_callback);

    // read notifications for 1 minute
  read_notify(60000);

  disconnect_node(2);
  close_all();
  return(0);
  }

int notify_callback(int lenode,int cticn,unsigned char *buf,int nread)
  {
  // LE device lenode has sent notification of characteristic index cticn
  // data in buf[0] to buf[nread-1]

  printf("Notify %02X %02X %02X\n",buf[0],buf[1],buf[2]);

  return(0);
  }

Didn't work.  The callback was never called.  The Notificaton was never triggered.  This is the same with btferret as well.

If notify_ctic is not returning an error, then notifications are being enabled, but the device must decide to send one - the client cannot request it. You can check if the BLE device is sending notifications as follows. The Bluetooth traffic will be saved to a file "monitor.txt". If notifications are being sent, there will be packets listed as:
> CHANNEL 0004 Opcode = 1B

1B is the opcode for a notification.
int main()
  {
  if(init_blue("devices.txt") == 0)
    return(0);

  set_print_flag(PRINT_VERBOSE);

    // connect to node 2
  connect_node(2,CHANNEL_LE,0);

    // enable notifications for characteristic index 0
  notify_ctic(2,0,NOTIFY_ENABLE,notify_callback);

    // read notifications for 1 minute
  read_notify(60000);

  output_file("monitor.txt");

  disconnect_node(2);
  close_all();
  return(0);
  }

Based on your recommendation, I added a CCC section to the devices.txt
DEVICE=BLE device TYPE=LE NODE=2  ADDRESS=B4:3A:31:EB:4C:01
LECHAR=Data HANDLE=001D PERMIT=14 SIZE=3 UUID=FEC26EC46D7144429F8155BC21D658D6  ; index 0
LECHAR=CCC HANDLE=001E  PERMIT=14 SIZE=2 UUID=2902  ; index 1
Also, for gattool this is what I have to do.
sudo gatttool -i hci0 -b B4:3A:31:EB:4C:01 --char-write-req -a 0x001e -n 0100 --listen
However, a W into ctic 1 (0x001e) with 01 or 01 00 did not start the notification from the BLE device.  BTW, I'm using btferret as a quick test.
Any other recommendations?

That is exactly what notify_ctic does - it writes 01 00 to handle 001E. If this appears in monitor.txt without an error return, then notifications are being enabled. There are maybe two things to look at:

The services list shows another enabled notification characteristic with handle 0021. Does this need to be enabled as well?
Some BLE devices such as HID keyboards only work if paired with security as follows.

connect_node(2,CHANNEL_LE,0);
set_le_wait(5000);
le_pair(2,JUST_WORKS,0);

Otherwise, the solution should be apparent by using btmon to get a listing of the Bluetooth traffic when running the procedures that do generate notifications.

This is the closest that I can get btferret btmon logs to match the working gatttool comman.  Note there is a difference in the Attn:Write Request.  Note, right after the Notiffy Enable was sent to the BLE device, BTFerret just sits there waiting from the BLE device to send data.

btferret_hcidump.log
gatttool_hcidump.log

Yup, that did the trick.
Here is the working solution.
;DEVICE=BLE device TYPE=LE NODE=2  ADDRESS=B4:3A:31:EB:4C:01
;  LECHAR=Data HANDLE=001D PERMIT=14 SIZE=3 UUID=FEC26EC46D7144429F8155BC21D658D6  ; index 0
;  LECHAR=CCC1 HANDLE=001E  PERMIT=08 SIZE=2 UUID=2902  ; index 1
#include "btlib.h"
int notify_callback(int lenode,int cticn,unsigned char *buf,int nread);
int main()
{
unsigned char data[8];
data[0] = 0x01;
data[1] = 0x00;
if(init_blue("devices.txt") == 0)
return(0);
// connect to node 2

connect_node(2,CHANNEL_LE,0);
write_ctic(2,1,data,0);
// enable notifications for characteristic index 0

notify_ctic(2,0,NOTIFY_ENABLE,notify_callback);
// read notifications for 1 minute

read_notify(60000);
output_file("monitor.txt");
disconnect_node(2);
close_all();
return(0);
}
int notify_callback(int lenode,int cticn,unsigned char *buf,int nread)
{
// LE device lenode has sent notification of characteristic index cticn
// data in buf[0] to buf[nread-1]
printf("Notify %02X %02X %02X\n",buf[0],buf[1],buf[2]);
return(0);
}

OK, good. Thanks for flagging this up. It's the first time I've seen notification enable work this way. I'll have to consider updates to the code.

I can confirm that btlib.c v16.1 works with Silabs SPP demo without the write_ctic hack.  Thank you.


Pasting within code blocks

This doesn't work well at all, behaviour is inherited from rich text example
Within a code block we should strip formatting and just paste raw text

Wait for https://github.com/facebook/draft-js/pull/209 to land


Adding data source and resource changes for dns forward zone

Added data source and resource changes for dns forward zone

Issue/Feature description

How it was fixed/implemented

Tests

Reviewers

Please don't use internal references on PRs to this public repo. You can leave the title as adding DNS Forward zone support

Do you plan to add documentation under docs/resources and docs/data-sources in a subsequent PR?

Do you plan to add documentation under docs/resources and docs/data-sources in a subsequent PR?

@akleinib Yes, It will be taken care in a separate PR.


kotlin-test related issue with TestWithMocks: @BeforeTest priority

Due to this issue https://youtrack.jetbrains.com/issue/KT-54932, TestWithMocks can be unreliable on ios/macos.
It could be great to have either a better approach that don't rely on this @BeforeTest (maybe via class construction?), or at least a documentation stating the issue and the best workaround.

Fix released in v1.14.0.


Add testify pkg for using assertions

fix #230

@flavio  and @monstermunchkin  what is the workflow for adding a new pkg via glide?
i did glide install with this commit, and i had a bounch of pkgs installed locally.
thx in advance :sunflower:

Coverage remained the same at 49.397% when pulling acabe06e989dcc30c2b028a9f973c13ec6b7c969 on MalloZup:assertions into 6284d746e12ed81215adbc5f97ba8d0fed835ba4 on dmacvicar:master.

You can add a new dependency with glide get github.com/stretchr/testify. Please make sure to use a release, and track minor releases (glide will ask you).
glide get github.com/stretchr/testify
git add glide.yaml glide.lock vendor/
git commit


Can you provide the load test done on opensearch-dashboard with default reources/storage. Opensearch-dashboards helm chart

Is your feature request related to a problem ?
Can you provide the maximum load supported with default resources/storage for opensearch-dashboards.
Describe the solution you'd like.
Document the output
Describe alternatives you've considered.
Or point me to the link where its already documented

Hi, @rishabh6788 , @gkamat , @IanHoang , could you have a look and add comments on it, thanks !! please note this is similar issue as https://github.com/opensearch-project/opensearch-benchmark/issues/391

@rajasree1993, this issue belongs in the OpenSearch Dashboards repository.  Please move it to that project.  Thanks.


where is the weigths file?

Excuse me, when I run test.py, it reported "./checkpoints/kaggle/latest_net_G.pth not exists yet!".

您好，请问您解决了吗

Not included in the repo, please check previous PRs. If you want to add weights, feel free to submit a request and I will approve it.

can you share the pretrained model


Fix date format in Front Matter.

I fixed invalid date format.
I changed the date of content/en/blog/_posts/2018-05-04-announcing-kubeflow-0.1.md , because I thought that changing the date on the front matters is more natural, because the URL of the page will change and the file name will be different.
(I am sorry for my poor English. :persevere:)
Related: #8823, #8830

/assign @bobsky

/assign @zacharysarah

/lgtm
/approve


Timezone info is lost when applying diff from sqlite to postgres

I have a table with DATETIME column type containing a value with timezone info. When doing a copy to postgres, the timezone info is lost - and mergin-db-sync reports that there is an issue in geodiff.
2022/11/04 02:50:27.305+02   -- original value in sqlite
2022-11-04 02:50:27.305      -- what gets stored in postgres (we're using "timestamp without time zone" type)
2022-11-04T02:50:27.305Z     -- when we do copy back from postgres to sqlite

A workaround for now is not to use date/time values with timezone info.

this is different to https://github.com/MerginMaps/geodiff/pull/188 right?

Yes that one was about not loosing fractional seconds in time/date values


Completions for kubectl-deprecations?

I would like to have the same nice completion (bash in my case) that can be generated for the kubepug binary usable with the kubectl-deprecations binary.
But no matter what I tried, I always end up with a generic kubectl one (as far as I can see). And those simply do not work:
kubectl deprecations <TAB><TAB>
kubectl-deprecations <TAB><TAB>

Both only show the contents of the local directory, not the completion...
Any ideas what I missed or messed up?

Hum, I think you need to generate the completions first not? IIRC we have a flag that does that for you, but I will try to check it again this week :)

Hum, I think you need to generate the completions first not? IIRC we have a flag that does that for you, but I will try to check it again this week :)

Creating them like for kubepug does not work, I should have elaborated on that in the description above.
$ kubectl-deprecations completion bash | tee kubectl-deprecations.completion
$ grep depre kubectl-deprecations.completion
$

This seems to generate the kubectl completion, not the one for the deprecations plugin...


Vue Initial Options

Can now create Vue projects.
Still doesn't have FE scripts for generating components/modules/views.
Doesn't yet have options for linting/testing/css lib

@JuanCarlosC @CodingItWrong you can test it out with npm i -g blix@next


can export types from index.d.ts

i want to use you RuleType types, but index.d.ts isn't export

LGTM, can you submit a PR?


Consider move value part outside of ScalarXXXLift.

Currently value bindings are coupling with the AST.
Make it impossible to cache the AST normalization and translation.
And the normalization and translation can affect runtime performance for dynamic queries.

I’m decoupling bindings and AST in Quill-Dotty already. I don’t think it is worth doing in Scala 2.

I’m decoupling bindings and AST in Quill-Dotty already. I don’t think it is worth doing in Scala 2.

@deusaquilus Great to hear that!

@deusaquilus Great to hear that!


Is it possible to have the output written to a file?

Maybe it's because I'm a beginner...
I'm using
saida = explacy.print_parse_info(nlp, frase)

and this prints the output in the terminal.
However, as it is a NoneType, I can't write it to a file.
So, is it possible to have the output written to a file?
BTW, great work and thanks for the project!

Solved. I ran the program in the terminal and from there redirected to a file.

Hi @ricardojosehlima !
I think it's a good idea to support getting the output as a string directly, rather than only supporting printed output.
I'm going to reopen this with a plan to update the code accordingly. Thanks for the feature request! 😄


Update Azure Resource Management Api Version to 2018-07-01 to add support for new Azure Storage account kinds.

Update Azure Resource Management Api Version to 2018-07-01 to add support for new Azure Storage Account 'kinds'.

Merged into 1.4.2 Branch.


[Bug]: Command Exec scrolls without scrollIntoView

What happened?
Im using the following code snippet for enabling an bullet list in my editor
this.editor.commands.toggleBulletList().exec();
Besides not using the scrollIntoView Function the window is still scrolled to the editor after execution.
If this is not a bug, how do I prevent such behaviour?
Version
v12.2.2
What browsers are you seeing the problem on?
Chrome
Link to reproduce
No response
Relevant log output
No response
Willing to submit a PR?
No response

any news on this?

Sorry, had some personal emergencies. Back now. will look into it this weekend.

Sorry for the delay.

If this is not a bug, how do I prevent such behaviour?

This is not a bug. All commands automatically scrolls into view by default. scrollIntoView is to explicitly scroll based on the need. The editor uses prosemirror-commands under to work with commands. so unless natively rewriting all commands, its not possible to fix straightaway.
But, looking into other options to mitigate this issue.

That might not look neat. there will be a jump.
Alternatively, there is handleScrollToSelection which could help.
handleScrollToSelection() {
 return true
}

but this will block all the scrolls including scrollIntoView method. looking into a way to differentiate them.

handleScrollToSelection looks useful, is there any way to override it? Maybe through the editor config?

Not possible, I can add but it will block all scrolls. unless able to differentiate the transaction. that is okay?

Yes that would be okay for my purpose

Will add that by today or tomorrow.

@jode-reflact handleScrollToSelection  is added in v12.4.0

Thanks, works like a charm!


Add button to create Numbered List in Playground (Issue #7)

Summary:
Add button to create Numbered List in Playground as part of Issue #7
Numbered List Button

Numbered List

Do numbered lists work ok if you indent one of the list items to form a child list? (Use the indent buttons on the toolbar of the playground)

Do numbered lists work ok if you indent one of the list items to form a child list? (Use the indent buttons on the toolbar of the playground)

This is what I am seeing when I use the indent buttons

Do numbered lists work ok if you indent one of the list items to form a child list? (Use the indent buttons on the toolbar of the playground)

Lists do however seem to increment the count for sublists like below


What is the advantage of cooking-cli over vue-cli?

I was looking at element-starter and element-cooking-starter.
They use different cli s?
What is the advantage of cooking-cli over vue-cli?

cooking is build tool based on webpack. The scaffold is one of that feature. You can see documentation if you want to know more. 😄


Create .env on Mac Ventura 13.0

Hello, I am looking for a little help when creating the .env file. I did all the correct installs with npm yet I did not get a .env-example file in the install. And MacOS is not allowing me to create a .env file using TextEdit and the markdown(?) information provided in here: https://github.com/gragland/chatgpt-chrome-extension/blob/main/.env.example
I am not really great at coding-related things and would like some help in the right direction. Thanks!

Having the same issue here;
Apparently folders beginning with a '.' on Mac are illegal as they are reserved for system files.

Perhaps I can edit the path declared in 'server.js'? I'll let you know if it works.

I would also appreciate a help on that

In Finder, show hidden files; in this case, simply the .env file with the requested/updated info.

Maybe try renaming ".env.example" as something other than a dotfile (e.g. "env.example"), edit it, and then rename it back

I would recommend using a code editor, such as VS code, that shows all the files in a directory including those that are hidden.


[Bloc] Shadows are incorrectly rendered

Some rounded rectangle shadows have strange geometry:

Works now! The problem was in the incorrect bindings method


Fake KMS successfully verifies signatures of other keys

This test passes against real KMS, and fails against fake.  I believe it's because verify only checks if the key exists, but then shares the same set of key pairs for all kms keys.
@Test
    fun `key cannot verify signature of another key`() {
        val key1 = kms.createKey(RSA_2048, SIGN_VERIFY).successValue().KeyMetadata.KeyId
        val key2 = kms.createKey(RSA_2048, SIGN_VERIFY).successValue().KeyMetadata.KeyId

        try {
            val message1 = Base64Blob.encode("General Kenobi!")

            val signed = kms.sign(key1, message1, RSASSA_PKCS1_V1_5_SHA_256).successValue()

            val verificationFailure = kms.verify(key2, message1, signed.Signature, RSASSA_PKCS1_V1_5_SHA_256).failureOrNull()
            assertThat(verificationFailure!!.status, equalTo(BAD_REQUEST))
        } finally {
            val key1Deletion = kms.scheduleKeyDeletion(key1, 7).successValue()
            assertThat(key1Deletion.KeyId.toARN().value, endsWith(key1.value))

            val key2Deletion = kms.scheduleKeyDeletion(key2, 7).successValue()
            assertThat(key2Deletion.KeyId.toARN().value, endsWith(key2.value))
        }
    }

Is there any particular reason the fake kms opted for real cryptographical algorithms?  Would fake encryption (without the need to pre-generate key pairs) not have done the trick?
If we're to solve this issue, we may have to vend certificates at runtime.

the original use case for adding real keys was to be able to sign and verify JWTs. We felt that adding a verification which only checked it existed was enough at the time for the happy path cases. we're not building a real KMS after all. 😉
If there's a good (and easy way) to add what you need then feel free to PR it :)

Yes, I'm making progress with certificate generation.  Is there any particular reason bcprov-jdk15on is used as opposed to 18on?  I don't think it's causing my ECDSA parsing issues; I'm just curious.

no reason really - we probably just copied the dependencies from somewhere else using the older version. If the tests pass then ship it! 🙃


Use .bracket-matcher .region to select highlighted brackets.

In index.less: Use .bracket-matcher .region to select highlighted brackets.

This has been fixed in 0.1.1


Notification "microG Services Framework Proxy" has stopped."

Hello!
I get regularely a notification window with this message:
"microG Services Framework Proxy" has stopped."
Question:
How can I start troubleshooting this notification by means of identifying the trigger of it?
THX

Please use the catlog App - filter errors - open App after crash immediately and post the last 5 pages.

Hello!
I have started Catlog w/o any filters but collected the attached file.
In this file I have identified this info:
06-15 01:51:30.099 W/ActivityManager(  929): Scheduling restart of crashed service com.google.android.gsf/org.microg.gms.gcm.PushRegisterProxy in 1000ms
However, I cannot identify what is causing this.
Could you please assist?
THX
2016-06-15-00-06-28.txt

Update:
I think I've identified the relevant lines in the log documenting the error:
06-15 01:51:28.236 W/ActivityManager(  929): Permission Denial: Accessing service ComponentInfo{com.google.android.gms/org.microg.gms.gcm.PushRegisterService} from pid=9789, uid=10062 requires com.google.android.c2dm.permission.RECEIVE 06-15 01:51:28.237 E/AndroidRuntime( 9789): FATAL EXCEPTION: IntentService[GsfGcmRegisterProxy] 06-15 01:51:28.237 E/AndroidRuntime( 9789): Process: com.google.android.gsf, PID: 9789 06-15 01:51:28.237 E/AndroidRuntime( 9789): java.lang.SecurityException: Not allowed to start service Intent { act=com.google.android.c2dm.intent.REGISTER pkg=com.google.android.gms (has extras) } without permission com.google.android.c2dm.permission.RECEIVE 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.app.ContextImpl.startServiceCommon(ContextImpl.java:1747) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.app.ContextImpl.startService(ContextImpl.java:1724) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.content.ContextWrapper.startService(ContextWrapper.java:522) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at org.microg.gms.gcm.PushRegisterProxy.onHandleIntent(PushRegisterProxy.java:32) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:65) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.os.Handler.dispatchMessage(Handler.java:102) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.os.Looper.loop(Looper.java:135) 06-15 01:51:28.237 E/AndroidRuntime( 9789): 	at android.os.HandlerThread.run(HandlerThread.java:61)

Try if reinstalling microg Services Framework Proxy fixes it.

I have executed the following steps:

Remove package "microG Services Framework Proxy" v0.1.0
Reboot
Installation of "microG Services Framework Proxy" from F-Droid
Validating that all restrictions for "microG Services Framework Proxy" in XPrivacy are off
Validating "migcroG Settings" - Self-Check -> no errors reported

As for now the error message is not displayed anymore.
I'll keep this issue updated when observing the device for next 48h or close the issue accordingly.

Hat this some time before. The order of installing components should be:
Microg gms (provides c2dm service and adds permission to system)
Microg gsf proxy (Docks to the provided c2dm Perm)
Play store (Docks to microg gms and provides licensing services and Permission)
Apps requiring Google lvl must be installed after play store. Or Perm BIND will not exist ... Crash!
If you uninstall one part hosting permission , i did habe to reinstall dependent parts in order few weeks ago. Also appplies to Googles apps.

It looks like uninstalling/reinstalling 'framework proxy' did the trick for me. Thanks.


SVG renderer

I started a basic SVG renderer (demo here : http://code.exyks.org/physicsjs/index.html) / code here https://github.com/131/PhysicsJS
Q : How does the renderer access to the body "style" (as in https://github.com/wellcaffeinated/PhysicsJS/blob/master/examples/sims/fruitcake-on-wheels.js), should i always write a "custom rendering rule" in the app (                 circle.view = data.renderer.createView( geo, style ); ), or am i missing something ?

just curious if any further development has been made on this topic? I know box2D has a skin property where you can attach a body to an image.
I've been playing around with @131 example and added some @wellcaffeinated fish to it ;-D Instead of using PhysicsJS paint the object, I decided to let it control the physics and snapsvg to render the skins.

Refactored @131's renderer to adhere to PhysicsJS 0.7's API:
http://codepen.io/larrybotha/pen/LRbJzY
Investigating building a renderer for Two.js:
https://github.com/jonobr1/two.js/issues/190

The beginnings of a renderer for Two.js: https://gist.github.com/larrybotha/6af6847199719c41e90452ff78982d85
Compound bodies create a Two.Group, useful for adding additional paths.


update code example in readme

see PR #163 for details -- backfilling for release notes

fixed in pr #163