Bug: Can't chain filters. AND operation doesn't work for ManyToMany field.

Describe the bug
We're trying to make logical AND operation using filter query on a ManyToMany field.
We're facing issue when we try to filter based on two same field parameters.
We want to make a logical AND operation. Relevent ormar docs that I have been refering https://collerek.github.io/ormar/queries/filter-and-sort/#python-style-filters
To Reproduce
Steps to reproduce the behavior:
I am pasting the code of a script. Run this using python main.py considering you have the requirements.
from typing import List, Optional
import asyncio
import databases
import pydantic
import ormar
import sqlalchemy

DATABASE_URL = "sqlite:///db.sqlite"

database = databases.Database(DATABASE_URL)
metadata = sqlalchemy.MetaData()

class BaseMeta(ormar.ModelMeta):
    metadata = metadata
    database = database

class Language(ormar.Model):

    class Meta(BaseMeta):
        tablename = "languages"
    code: str = ormar.String(primary_key=True, max_length=3)

class Title(ormar.Model):

    class Meta(BaseMeta):
        tablename = "titles"

    ident: str = ormar.String(primary_key=True, max_length=255)
    languages: Optional[List[Language]] = ormar.ManyToMany(
        Language, related_name="titles"
    )

async def create():
    lang_eng = await Language.objects.create(code="eng")
    lang_fra = await Language.objects.create(code="fra")
    title_eng = await Title.objects.create(ident="wikipedia_en_all")
    title_fra = await Title.objects.create(ident="wikipedia_fr_all")
    title_en_fr = await Title.objects.create(ident="wikipedia_en-fr_all")
    await title_eng.languages.add(lang_eng)
    await title_fra.languages.add(lang_fra)
    await title_en_fr.languages.add(lang_fra)
    await title_en_fr.languages.add(lang_eng)

async def filter_and():
    # select all titles with English language
    english_titles = await Title.objects.filter(languages__code="eng").all()
    print(f"eng titles: {len(english_titles)=}\n")

    french_titles = await Title.objects.filter(languages__code="fra").all()
    print(f"fra titles {len(french_titles)=}\n")

    english_or_french_titles = await Title.objects.filter(
        languages__code__in=["eng", "fra"]
    ).all()
    print(f"fra OR eng titles {len(english_or_french_titles)}\n")

    # titles that has both english AND french as a language
    # this is what's not giving expected results
    english_and_french_titles = (
        await Title.objects.select_related("languages")
        .filter(
            (Title.languages.code == "eng") &
            (Title.languages.code == "fra")
        )
        .all()
    )
    print(f"fra AND eng titles {(english_and_french_titles)}\n")
    assert len(english_and_french_titles) == 1

async def main():
    engine = sqlalchemy.create_engine(DATABASE_URL)
    metadata.drop_all(engine)
    metadata.create_all(engine)
    await create()
    await filter_and()
    metadata.drop_all(engine)

asyncio.run(main())

Expected behavior
I added an assert statement that should pass if the code works as desired.
I am trying to fetch Titles that have both English AND French languages in them.
Which is only one such title in the sample code, that is title_en_fr
Some other variation of querying that I have tried include
    english_and_french_titles = (
        await Title.objects.select_related("languages")
        .filter(Title.languages.code == "eng")
        .filter(Title.languages.code == "fra")
        .all()
    )

Screenshots
Here's a link to the replit https://replit.com/join/qmyinxvcwo-anshulchauhan3
Versions (please complete the following information):

Database backend used:  sqlite
Python 3.8.12
ormar==0.10.22
pydantic==1.8.2
fastapi==0.70.1

That's not a bug but incorrect SQL.
If you want to filter for multiple values of the same column you have to either use in_ filter or use OR (|) filter.
Now you create a query that wants titles that are AT THE SAME time eng and fra. (Like give me items where id = 1 and id = 3 while each item have single value.)
So there are no items that satisfy the filter of being both eng and french at the same time.


Start button on top of editor window

Would be nice, if one could start the extension by hitting a button on top of editor window, right of tabs

Hi @gerritgriebel , do you have an example of an extension that already does this? My IDE may be configured differently from yours and I'm not sure of where you're referencing. Thanks!

This has been resolved in release 0.7.0. Please raise a new issue if you have any further issues.


fix: display ownerKey in the logs correctly

Logs from RemoveDuplicates plugin do not display ownerKey correctly. Here's an example:
"Average occurrence per node" node="<redacted>" ownerKey={} avg=5"

The PR adds an implementation of Stringer interface for podOwner struct. Example of logs after the change:
"Average occurrence per node" node="<redacted>" ownerKey="loki/StatefulSet/loki-write/docker.io/grafana/loki:2.8.2" avg=6

/ok-to-test

/approve
Thank you for your contributin @dimunech


Parse status of project / unit (finished or not)

I found an easier solution for #39 Won't implement this yet (KISS :smile: )


configuration_descriptor::get_strings_desc_string_by_reference returns pointer to free'd memory

The strings_descriptor_response class returns an uint8_t * to the corresponding string in the response class.  But, the response class is free’d before returning from the method to avoid a memory leak.  However, this frees the memory pointed to by the method returned uint8_t pointer.

This has been fixed in staging, correct?

Yes

On Jun 4, 2015, at 9:43 AM, andrew-elder<EMAIL_ADDRESS>wrote:
This has been fixed in staging, correct?
—
Reply to this email directly or view it on GitHub.


Method create_order typo?

In create_order:
'ocoorder': false,
should be:
'ocoorder': False,

Yeah, it's a typo, will upload the fixed version very soon! Thanks a lot!

Should be fixed now, thanks for reporting this!


As a user, I can select a contact and search for his information online

... in case i forget who that person is.

Online in the sense that we search matching contact on social media platforms?
I think its pretty good to have (Probably falls in Nice to Have?)

Oh no this is actually the function that is already in addressbook.
Its the select function.

But hey i think what you suggested is pretty nice to have

Oh, yea the default one provided is probably not so useful but the social media one might be nice to have. I moved this issue it the project board


MappingConversionType should support ExistingEnumerable and ExistingDictionary

Related to #429.
Describe the solution you'd like
Similarly to Enumerable and Dictionary mapperly should support disabling ExistingEnumerable and ExistingDictionary mapping.
I've created a branch with these changes. I've tried to outright disable mapping for a member if it is an enumerable or dictionary, otherwise Mapperly will attempt to map the objects pproperties like, capacity which probably isn't desrired. I don't think Mapperly has a way for a MappingBuilder to emit no mapping, so I added BlankExistingMapping with a check in ExistingTargetMappingBuilder to skip the member. There is probably a better way of doing this hence why it isn't a PR.

I don't think it makes sense to separate the ConversionType for existing targets and new targets as the mapping itself is still from enumerable to enumerable. But there is a Bug that EnumerableMappingBuilder.TryBuildExistingTargetMapping and DictionaryMappingBuilder.TryBuildExistingTargetMapping should check ctx.IsConversionEnabled(MappingConversionType.Enumerable) / ctx.IsConversionEnabled(MappingConversionType.Dictionary).

FYI: if a MappingBuilder cannot create a mapping, it can just return null

Mapperly will try to copy the collections properties if it returns null.
[Mapper(EnabledConversions = MappingConversionType.All & ~MappingConversionType.ReadOnlyEnumerable)]
public static partial class Mapper
{
    public static partial void Map(A s, A t);
}
public record A
{
    public List<int> Values { get; }
}
// Generated code
public static partial void Map(global::Riok.Mapperly.Sample.A s, global::Riok.Mapperly.Sample.A t)
{
    t.Values.Capacity = s.Values.Capacity;
}


Not able to start the server

Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (<IP_ADDRESS>) and accepting TCP/IP connections on port 5432?

I met this issuse either

@andressasantiago what you're using PostgreSQL DB? @anhuihu  Change Database Settings
DATABASES = {     'default': {         'ENGINE': 'django.db.backends.sqlite3',         'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),     } }
then run python manage.py makemigrations and `python manage.py migrate'
Hope you got it :)

Or Activate Environment and runserver.

yeah，i got it，thks


Add 2D ring trajectory

This PR adds a 2D ring-based trajectory, initially proposed by Wu, Hochong H., Jin Hyung Lee, and Dwight G. Nishimura. “MRI Using a Concentric Rings Trajectory.” Magnetic Resonance in Medicine (2008). This trajectory might be used in a later PR as a basis for other 3D trajectories from the literature.
A fully-sampled 2D ring trajectory consists of enough rings to respect a uniform distance of 1 / FOV between each consecutive ring. In the case where each ring is composed of exactly one shot, it reaches an acceleration factor of 2 compared to fully-sampled Cartesian. In the current implementation, any additional shot is used to further partition the ring with the longest shots, in order to reduce the maximum gradient & slew rate constraints on the trajectory.
A detailed example will be added in the near future to the other 2D trajectory examples.

Nice work !
I think you should also add examples of the trajectory in the doc.
PS: don't forget to use black/ruff :P

Very nice Guillaume. Thanks for the hint!


Catching JSON Data

Hi,
what is the best way to catch the json data which of type JSON in user defaults or coredata

Do you mean cache?

There hasn't been much activity on this issue for a while so I'm gonna go ahead and consider it fixed. Please let us know it you'd like to reopen it.


Support Prettier or a post-generate script

Would it be possible to have an option to run Prettier on the generated file, or at least run an arbitrary script, so that I can run Prettier on it?
Right now the file keeps changing format back and forth and it's not a great experience.

I think this is something you should do after you prisma generate if you really need it.
In my project, the file is git ignored, so I don't see the point of doing any formatting. As with most generated files, I don't care how it looks, as long as it has all that I need inside of it.


E2 Protection (runstring)

So something like runstring would be pretty cool like loading another e2 and running the code from it.
This could be abused so add it like concmd where you have to enable it also add it so the server could disable it.
This would make me feel a lot better that not some admin could just go up and copy my e2 that I used a long time coding.
Http request with this would be awesome :3

You can already do something like that with remoteupload (entity():remoteSetCode("@name ...")).
And i don't think your idea (which includes uploading the code open for anyone on the internet) makes it harder to copy code at all, if not easier. (After all, what prevents someone downloading the code)
If you want to not get your E2 "stolen", play singleplayer only (or play on serves with trustworthy admins).

Like adosikas said, this is already possible with remoteUpload or remoteSetCode.
And the only way to prevent admins from stealing your code is to play single player or on servers with good admins.


git-extras: 6.5.0 -> 7.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/tj/git-extras/releases.
meta.description for git-extras is: GIT utilities -- repo summary, repl, changelog population, author commit percentages and more
meta.homepage for git-extras is: https://github.com/tj/git-extras
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 7.0.0 with grep in /nix/store/7l6mp4mbzfz29kwgz7mj7gpfl4m0fpfk-git-extras-7.0.0
found 7.0.0 in filename of file in /nix/store/7l6mp4mbzfz29kwgz7mj7gpfl4m0fpfk-git-extras-7.0.0

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
git-extras

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7l6mp4mbzfz29kwgz7mj7gpfl4m0fpfk-git-extras-7.0.0 \
  --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 git-extras https://github.com/r-ryantm/nixpkgs/archive/4dc6a6e5fd0e71847b7c4d5ad9e9292f6794c7b4.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/7l6mp4mbzfz29kwgz7mj7gpfl4m0fpfk-git-extras-7.0.0
ls -la /nix/store/7l6mp4mbzfz29kwgz7mj7gpfl4m0fpfk-git-extras-7.0.0/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:

git-extras

Maintainer pings
cc @spwhitt @cko @SuperSandro2000 for testing.

Result of nixpkgs-review pr 229040 run on x86_64-darwin 1

1 package built:

git-extras


Ping New Voice Chat Users in #voice-verification

Currently as we have the voice-gate features, people are deeply confused as to why they're muted and can't talk in the chat.  I propose we fix that by tracking if a user has joined voice-chat before, and if they haven't, ping them in #voice-verification.
The ping message will go away after one of three criteria have been met:

If 5 minutes have passed then the message will automatically delete
If the user attempts to verify (successfully or otherwise)
The user clicks a provided trash can reaction to remove it immediately

An additional issue and PR would be required in the site repo in order to add another column in order to track if they have visited the voice chat before or not.
Hopefully this would better inform users about what's going on when they try to talk.

After talking with lemon, the implementation will be using ReDis instead, and will not adding the trash icon.  I'll strike out the things I'm changing in the original post.


Request to add the Location feature based on Latitude / Longitude or Zipcode

Hi,
Is it possible to replicate the location function (from Twint)? Or is that not possible because of the upgrades made by Twitter?
Thank you!

@the-data-mogul  I'll see about that.

@the-data-mogul  I'll see about that.

@the-data-mogul can you specify the exact file where the location function exists in twint project ?

@the-data-mogul can you specify the exact file where the location function exists in twint project ?

Thankyou very much for this repository. I've been searching how to scrape tweet in certain date then I found this, it really helps a lot!
Btw, is there any ways to filter tweet based on location using Scweet? Sorry, I'm kinda new. Thankyou.


[community] Releasing Kogito Operator 0.12.0

Signed-off-by: Ricardo Zanini<EMAIL_ADDRESS>This is an update to release Kogito Operator 0.12.0
Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

Hi! Since you guys already merged https://github.com/operator-framework/community-operators/pull/1970, could you also please consider this one to keep them in sync? Many thanks!


Add specification for Synthetic Module Records

Hey folks!
I thought I'd get things started with a spec for module records that seem like they'd be useful for built-in modules, JSON modules, CSS modules, etc. As we work through these ideas on the web platform side, we've found some confusions that would be prevented with a more concrete spec text, so I wanted to write something up we could point to.
I've deployed a preview of the built product at https://proposal-javascript-standard-library-domenic.now.sh/. Thoughts welcome!

This looks great to me. I don't see any particular technical issues, just some one editorial comment (which would not be any sort of normative change):
All use cases I can think of for synthetic modules would have fixed exports once the module is "parsed". What if CreateSyntheticModule instead took two arguments, the realm and a mapping from strings to JavaScript values (or, since we don't have infra, a List of Records { [[Name]]: String, [[Value]]: JS value }), and set these up as immutable bindings during the Initialize() phase? We can consider generalizing the mechanism if there's a particular use case for it.
cc @ms2ger

Yeah, that's a possible approach. However, my thinking went toward the current approach like so:

We need custom evaluation steps anyway for side effects. (E.g., KV storage throws in non-secure contexts, or built-in module might define a custom element, or apply a stylesheet to the page, or something.) So that hook needs to stay anyway.

It's weird to create objects before the module is evaluated. For example, KV storage isn't supposed to be usable in non-secure contexts. We could create all its exports ahead of time, export them as immutable bindings, but then have the module just throw when it's evaluated, despite exporting things. But that seems strange; I'd prefer to emulate how JS code works, in that it establishes the bindings' values at evaluation time, after any checks it might want to perform. I think they are observably equivalent though, i.e. I think you can't observe a throwing-when-evaluated module's bindings.
(Note: there are other ways to achieve the secure context restriction, e.g.: not putting the module in the module map at all, or exporting things that throw when you try to use them, or exporting undefined for all exports, or exporting zero bindings in that case. I don't claim the current design is the best one for KV storage to choose, and welcome discussion over on that issue tracker. But, I think taking it as a given for this discussion is a helpful way of illustrating the things a built-in module might want to do, and that any generic system like this PR should probably accomodate.)

It seems at least possible that you might want to export, either mutable bindings, or bindings whose values can't be determined until evaluation time. (For example, given a JSON module, is it OK to execute the JSON parsing algorithm at instantiation time? It seems like it runs JS script to me.) Thus something like SetSyntheticModuleExport() seems useful to include. But if we're going to have that anyway, then why create a dual system where you also have an [[ExportValues]] List, or a { [[Name]], [[Value]] } List, for the initial values, and use SetSyntheticModuleExport() for the runtime ones?

I'm open to changing this, but I think the current approach is more flexible, so I'm inclined toward that one.

To be more concrete, with the JSON module example, with the OP design I think it would have straightforward evaluation steps:

Let result be ? Call(%JSONParse%, undefined, « jsonText »).
Perform SetSyntheticModuleExport(module, "default", result).

But with a static-exports approach, it would instead need to be something like:

Parse the JSON during instantiation time. (Assume this is legal; we can probably make it work.)
If that throws an exception, store the result in module.[[HostDefined]] as { [[Exception]]: e }
Otherwise, set [[ExportNames]] to « "default" » and [[ExportValues]] to  « result ».
Have evaluation steps that check if module.[[HostDefined]] contains an [[Exception]] field, and if so, rethrows it.

Thanks for walking through these error cases; that makes the motivation for this design a lot clearer. The strategy you describe for JSON parse errors is sort of what I expected (that's what we do for JS early errors phase-wise, right?), but I can see how it's a lot more complicated to write down.
Actually, now, we came to an observable difference, didn't we? The find the first parse error algorithm would stop any module from executing if it hit a JSON parse error if these are treated as parse errors. But, if they are treated as errors during the execution phase, it might throw the exception after executing some other earlier sibling modules. (Maybe we should move this discussion back to https://github.com/whatwg/html/issues/4315#issuecomment-456548059 .)
All I could find on import-maps for why it throws an exception on evaluation rather than being absent from the import-map (which is what I would've expected, but don't feel strongly about) was https://github.com/WICG/kv-storage/issues/16 . Was there more context somewhere, or should I file a different issue?

Thinking about this more: Even if I am not sure about those semantic details, I think it's good to give module evaluation steps, to do the equivalent of executing class declarations, etc. This would make it very practical to have a real implementation which executes synthetic modules based on JavaScript modules. So, +1 to all of this PR from me.
From that frame, I'm wondering: Should we leave the step of initializing bindings to the module, rather than initializing them to undefined?

Hey folks, I'm planning to look into adding this text to WebIDL for the time being, so we can move forward with https://github.com/whatwg/html/pull/4407. I'd be happy to help with moving this into Ecma262 or any other place in the future, if that's what we decide on. I'd certainly want to make sure it remains useful for the work you're doing here.

Please see https://github.com/heycam/webidl/pull/722


Remix Docs wong teks

Bug report
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Expected behavior
A clear and concise description of what expected to happen.
Screenshots
If applicable, add screenshots to help explain the problem.
System information

OS: [e.g. mac, linux, windows]
Browser (if applies) [e.g. arc, chrome, firefox, safari, edge, brave]
Version of Node.js: [e.g. 20.12.3]

Additional context
Add any other context about the problem here.

the issue end


Add Lonely - Yoe Mase (Geometry dash) by Yoe Mase

Song Name
Lonely - Yoe Mase (Geometry dash)
Artist Name
Yoe Mase
Source
Youtube
Youtube Link
https://youtu.be/VFErR0FdB0Q?si=cF8Qgx_bcARbu05W
Direct File Link
No response
Song ID
1254555
Start Offset [ms]
0
Extra
Created from Auto Nong.
Created for level: 102033033

Accept

Accept

accept


CSV Example for custom csv seems incorrect

I copied the following code:
          csv do
            column "Surname", fn c -> c.last_name end
            column "Given", fn c -> c.first_name end
            column "Category", fn c -> c.category.name end

            column "Groups", fn c ->
              Enum.map(c.groups, &(&1.name))
              |> Enum.join("; ")
            end

            for label <- PhoneNumber.all_labels do
              column label, fn c ->
                c.phone_numbers
                |> PhoneNumber.find_by_label(label)
                |> Map.get(:number, "")
              end
            end

But, none of the example blocks for custom CSV seems to work. Is the documentation out of date? I also referred to the tests for the csv module, but they are only testing the inner method - not the macro itself.
Please help resolve this issue - I'm stuck with my project.

This is the error stack that I get:
== Compilation error on file web/admin/contact.ex ==
** (CompileError) lib/ex_admin/show.ex:89: expected var "columns" (context ExAdmin.CSV) to expand to an existing variable or be part of a match
    (elixir) expanding macro: Kernel.var!/2
    lib/ex_admin/show.ex:89: HimachalErp.ExAdmin.Contact.show_view/2
    expanding macro: ExAdmin.CSV.column/1
    lib/ex_admin/show.ex:89: HimachalErp.ExAdmin.Contact.show_view/2
    expanding macro: ExAdmin.Show.table_for/3
    lib/ex_admin/show.ex:88: HimachalErp.ExAdmin.Contact.show_view/2
    expanding macro: ExAdmin.Show.table_for/2
    lib/ex_admin/show.ex:88: HimachalErp.ExAdmin.Contact.show_view/2
    expanding macro: ExAdmin.Show.panel/2
    lib/ex_admin/show.ex:87: HimachalErp.ExAdmin.Contact.show_view/2
    expanding macro: Xain.markup/2
    lib/ex_admin/show.ex:54: HimachalErp.ExAdmin.Contact.show_view/2
    (elixir) lib/kernel/parallel_compiler.ex:117: anonymous fn/4 in Kernel.ParallelCompiler.spawn_compilers/1

what version of ex_admin are you using?

The documentation is out of date. The column format still works, but calling column inside does not work. No error, but does not generate the columns. I've updated the contacts admin resource to use the list api.

@smpallen99 - I incorporated your changes in contact.ex - but am still getting the error. Could you please reverify? I have verified that the mix.lock is the same as the one that you merged into contact_demo. If not, I can attach it to this ticket.

Let me see your complete contact.ex file please.

@smpallen99 - Here is the code: https://github.com/vraravam/contact_demo/blob/master/web/admin/contact.ex

It appears that the issue is with defining the csv block ahead of the show block. Moving the csv block below the show block fixes the issue. I'll reopen the issue and change the title appropriately.


Request: Auto discover

The Denon-Marantz plugin can auto discover.
Any chance you can add that capability? Just less configuration :-)

const heos = require('heos-api')
heos.discoverDevices({ timeout: 5000 }, console.log, () => { })


Introducing new design using Jekyll & Bootstrap

Before

After

Merged the two PRs because it was easier to test that way.

Merged the two PRs because it was easier to test that way.

Yep perfect, it was to ease the review! 👍


Docker + osx not working

We are looking into using incus, it looks really nice, but I couldn't get it to work with Docker. I am not experienced with it but the incus image could not connect to the redis image. I followed all the commands in the readme and both downloaded and 'work' apart from the connecting part.
See https://gist.github.com/AdriVanHoudt/b71c181a00289fbd9fbf

Can you paste the output of this shell command?
$ docker run --link incusredis:redis jwgur/incus env

$ docker run --link incusredis:redis jwgur/incus env
PATH=/go/bin:/usr/src/go/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=eb381f10fb02
REDIS_PORT=tcp://<IP_ADDRESS>:6379
REDIS_PORT_6379_TCP=tcp://<IP_ADDRESS>:6379
REDIS_PORT_6379_TCP_ADDR=<IP_ADDRESS>
REDIS_PORT_6379_TCP_PORT=6379
REDIS_PORT_6379_TCP_PROTO=tcp
REDIS_NAME=/clever_jones/redis
REDIS_ENV_REDIS_VERSION=3.0.3
REDIS_ENV_REDIS_DOWNLOAD_URL=http://download.redis.io/releases/redis-3.0.3.tar.gz
REDIS_ENV_REDIS_DOWNLOAD_SHA1=0e2d7707327986ae652df717059354b358b83358
GOLANG_VERSION=1.4.2
GOPATH=/go
HOME=/root

It's hard to tell what commands you ran in the gist you sent me. The command to start Incus (under Docker) should be:
$ docker run --env-file=incus.conf -e REDIS_ENABLED=true --link incusredis:redis -p 4000:4000 jwgur/incus
The message you saw (2015/08/25 16:23:51 Redis connect failed: dial tcp <IP_ADDRESS>:6379: connection refused) can only occur when the environment variable REDIS_PORT_6379_TCP_ADDR is not set, as <IP_ADDRESS> is its default value. --link tells docker to set that environment variable, so try running that exact command as pasted above?

I ran the exact commands that are in the readme https://github.com/Imgur/incus#method-1-docker
and hmm some stuff got cut off it seems
Let me do it again from scratch and produce a new gist
hmm but according to the last paste the redis should be @ tcp://<IP_ADDRESS>:6379 and not 127.0.01:6379?

ok updated the gist https://gist.github.com/AdriVanHoudt/b71c181a00289fbd9fbf

@AdriVanHoudt Perhaps --env-file is overwriting the link environment variables. Try removing these lines from your incus.conf?

that seems to work thanks! any tips on how to start using it? the incusjs module does not work for node

What's wrong with the incusjs module on node?

just doing
var IncusClient = require('incusjs');

var incus = new IncusClient('http://localhost:4000', 'UID', '/page/path');

results in
/Users/adri/Projects/.../incus/node_modules/incusjs/src/incus.js:29
    this.poll = new XMLHttpRequest();
                    ^
ReferenceError: XMLHttpRequest is not defined
    at Incus.longpoll (/Users/adri/Projects/.../incus/node_modules/incusjs/src/incus.js:29:21)
    at Incus.connect (/Users/adri/Projects/.../incus/node_modules/incusjs/src/incus.js:78:10)
    at new Incus (/Users/adri/Projects/.../incus/node_modules/incusjs/src/incus.js:19:10)
    at Object.<anonymous> (/Users/adri/Projects/.../incus/index.js:3:13)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)
    at startup (node.js:119:16)

Oh, right. We are gonna be transitioning to use request or something, but for now incusjs is just for the browser.

I can probably shim it with https://www.npmjs.com/package/xmlhttprequest
Can I recommend https://www.npmjs.com/package/wreck ? ;)

window is not defined...
Can you give a quick guide/tips on how to communicate with the docker/incus then I can make it myself for node (will oss it ofc)
Also I will close the issue now since the original question was answered

@AdriVanHoudt Incus listens on port 4000. You can, for example, curl /lp to long-poll over HTTP:
$ curl -i http://rt.imgur.com/lp?page=/gallery/ADxBC1S\&user=foo
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Cache-Control: private, no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Connection: keep-alive
Content-Type: application/json
Date: Thu, 27 Aug 2015 09:40:18 GMT
Content-Length: 89

{"event":"imagePoints","data":{"downs":32,"hash":"ADxBC1S","ups":1215},"time":1440668418}

Or you can use the incusjs library in the browser to use websockets.

ok cool, looking at the incusjs to see how to talk to injus rest wise
seems a bit weird to do GET that results in sending out a notification but ok ^^
Once I am done I might do a pr with some docs or just make a node module with all the info

ok having some troubles setting it up further. I need to publish to the redis, which does not have an open port? So I tried a local redis but Incus won't connect to it
Also tried docker run --env-file incus.conf -d -e REDIS_PORT_6379_TCP_ADDR=dockerhost -e REDIS_PORT_6379_TCP_PORT=6379 --add-host=dockerhost:<IP_ADDRESS>  --name incus -e REDIS_ENABLED=true -p 4000:4000 jwgur/incus with no result

ok so I exposed the redis port like the Incus port and I have found out how docker on mac works and that it needs special care with ip addresses (since docker is ran inside a virtual box), all good now


[AutoPR policyinsights/resource-manager] Add swagger spec for new resource type in Microsoft.PolicyInsights

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/3815

This PR has been merged into https://github.com/Azure/azure-sdk-for-java/pull/2380


localstack supports unique port 4566 now.

https://github.com/localstack/localstack#announcements

2020-09-15: A major (breaking) change has been merged in PR #2905 - starting with releases after v0.11.5, all services are now exposed via the edge service (port 4566) only! Please update your client configurations to use this new endpoint.

So all below ports can be changed to 4566
https://github.com/localstack/localstack-python-client/blob/master/localstack_client/config.py#L12-L79
Or maybe you can simplify the code directly

Thanks for bringing this to our attention. We have already disabled the service specific ports here:
https://github.com/localstack/localstack-python-client/blob/master/localstack_client/config.py#L89-L93
An environment variable USE_LEGACY_PORTS has been added to utilize the old/legacy ports. As part of our ongoing refactoring, this code may get removed in a future release of the LocalStack Python client. Thanks

Thanks for bringing this to our attention. We have already disabled the service specific ports here:
https://github.com/localstack/localstack-python-client/blob/master/localstack_client/config.py#L89-L93
An environment variable USE_LEGACY_PORTS has been added to utilize the old/legacy ports. As part of our ongoing refactoring, this code may get removed in a future release of the LocalStack Python client. Thanks


Memory Usage on Mac

Tenpy reports 1024 times peak memory usage on Mac than correct because in:
https://github.com/tenpy/tenpy/blob/main/tenpy/tools/process.py#L42
the line
resource.getrusage(resource.RUSAGE_SELF).ru_maxrss
returns in bytes rather than kilobytes on Mac, e.g. see https://stackoverflow.com/questions/938733/total-memory-used-by-python-process/7669482#7669482

Also for both Linux and Mac I believe this is peak memory usage, whereas the function claims current memory usage.

Thanks for the report!
Regarding the units; it looks like you are correct....
Wow, what a wild function...
Would you like to make a PR and propose a fix?
If not, I can do it sometime soon.
@jhauschild
Regarding current vs peak memory usage;
What do you think we should return here?
I.e. do we change the code to match the doc or vice versa?
I would think peak memory usage more useful than current usage, but I have never used tenpy.tools.processes this feature myself...

It's true, it's the peak memory used so far by the python process.
From a practical point, there's also no way to change this with standard os process tools, since (the standard implementation of C-)Python doesn't return the memory to the system after usage, but keeps it for later usage.
Really, this is also what we want to regport, e.g. when DMRG logs info between sweeps (where this function is used at the moment), it makes sense to report the peak memory used (during Lanczos), not the current RAM usage.
I also wasn't aware that the unit isn't fixed, thanks for pointing it out!
@Jack-Kemp can you please that the issue is fixed now? Thanks!

@jhauschild The code looks correct to me. Unfortunately I was reporting the bug on behalf of a colleague who is now on holiday so I don't have access to a Mac to test...
Completely makes sense to me about peak vs current memory usage!

i will test it tomorrow.


The checkbox should show an indication if it is not checked on the registration form

Estimated time: 3.5h

PR #185


Hovering on Tooltip is hard in some situations

Feature request
Overview
Currently, it's hard to hover on some tooltips because of the graceArea building algorithm.
Example:
When I move the mouse out of the text-box, a grace area is built using the mouse leaving point (ypos - 5)
And it works fine in the following example.

but when I try to move the mouse from the corners of text-box this doesn't work, impossible to hold the mouse inside  graceArea

Probably would be better to add a small rect around leaving point here, instead of the start point calculation
https://github.com/radix-ui/primitives/blob/main/packages/react/tooltip/src/Tooltip.tsx#L423
getHull([
    {x: event.clientX+5, y: event.clientY+5},
    {x: event.clientX+5, y: event.clientY-5},
    {x: event.clientX-5, y: event.clientY+5},
    {x: event.clientX-5, y: event.clientY-5},
    ...hoverTargetPoints
]);

That gives the following graceArea and solves the issue above

Hey @istarkov,
Thanks for reporting this, can you post a reproduction in a codesandbox?
You can use this demo as a stater: https://www.radix-ui.com/docs/primitives/components/tooltip
🙏

I think this sandbox reproduces the issue: https://codesandbox.io/s/radix-tooltip-grace-2l89x5.
https://user-images.githubusercontent.com/1939257/213818949-8c32e305-b809-47f3-bf95-f10379f2fc22.mp4


[oap-native-sql][Scala] adding cast support

Signed-off-by: Yuan Zhou<EMAIL_ADDRESS>What changes were proposed in this pull request?
adding cast support
How was this patch tested?
manually tested

@rui-mo thanks for the help!


Add regions to database

Regions are optional distillery-specific regions, such as the locations defined in Scotland. They will not exist on every country and need populated via a data source or via the admin.
Migrate to OpenStreetMap API to support future polygon extraction.
Also updates @headlessui/react to 2.x and removes deprecated behavior.

There's still some improvements I'd like to make. Specifically:

Add polygon shapes for regions (not sure how exactly I'll pull this off for things like Scotch whisky regions).
Disable the RegionField completely when you select a country with no regions
Interactive/streaming map for distilleries. I removed the current one as its not that compelling.


use the new helmrelease api

also make Overrides.PackageOverrides not required because there is now the PackageAlias
Signed-off-by: Mike Ng<EMAIL_ADDRESS>

/test test multicloud-operators-subscription

/lgtm


Could you upload the networks directory?

It is a very nice work, so I want to use your scheme for my research. But there is no networks directory in this repository. So, could you upload that please?

Sorry for the omission. I've uploaded!


Add IBM Z and LinuxONE Container Image Registry as data source

The IBM Z and LinuxONE Container Image Registry (https://ibm.github.io/ibm-z-oss-hub/containers/index.html) would make another good data source. Sync up with @jabostian and team in 2022 to figure out the best way to regularly pull the information into a JSON data file.

This is great!! So do i need to make it a separate datafile or could we replace the Z/OS data file with this?

While this runs on z/OS, the containers in zCX are still Linux, so we'll want this to be a separate data file specifically for s390x container images in this registry 👍

Another question, what should be done with pkgs with multiple versions? Will take this to our next meeting 👍

That's a very good question. My inclination is to add each version as a different entry in the JSON file, but discussion at the next meeting would be good since we can also loop @jabostian in to get his thoughts.

Solved by the linked PR from @korpx-z :tada:


testing

@lamont-granquist fixer of evil Ruby things

https://zverok.github.io/blog/2016-01-18-implicit-vs-expicit.html
Is the direct link to a good blog post explaining how we use #to_hash is wrong all over the place.


1ES PT Binskim does not unpack packages (but we do)

Basically the 1ES PT binskim doesn't unpack anything before scanning, but our version did.  Let's reach out to 1ES and discuss closing this gap.

Code to do this currently exists here: https://github.com/dotnet/arcade/blob/main/eng/common/sdl/extract-artifact-packages.ps1

We've engaged with the 1ES and Guardian/BinSkim teams about this. Moving to tracking.

See email thread entitled: "Functionality Request: BinSkim to scan contents of nupkgs"
1ES Team says they aim to get this in Q1 next semester (end of summer)

Please revert https://github.com/dotnet/efcore/pull/33786 once this issue is fixed.
cc @missymessa

We've engaged with the 1ES and Guardian/BinSkim teams about this. Moving to tracking.

Is there an issue one can subscribe to?

See email thread entitled: "Functionality Request: BinSkim to scan contents of nupkgs"
1ES Team says they aim to get this in Q1 next semester (end of summer)

@missymessa would you mind reaching out to the 1ES team and find out if the plan is on track?

Following up, I'll let you know what I find out.

@RussKie 1ES PT team says they'll have an ETA at the end of the month. I'll update when I get more info.

Thank you @missymessa.
@mmitche shared that 1ES folks are currently working on expanding the Binskim functionality to nupkg scanning. More information is here.


Reduce number of hardcoded values in create-genesis

Updated values are here: GolosChain/golos.contracts#675

It's better to move limits table to custom tables
add option to enable/disable staking
add parameters to control deferred transactions, which close posts

PR #749


No privacy policy on web?

The website doesn't have a publicly-visible privacy policy, and I can see you are using Google Analytics. This is illigal to collect user data without a proper privacy policy.
Evidence of Google Analytics:

Edit: Embedded image instead of URL

Alright, I added you, BadBoyHaloCat#1826

Fixed this by adding Plausible Analytics and removing Google Analytics since I really didn't want an annoying pop-up for a simple / fun site! :)


Show left side bar on the left of the structureview

Version: 0.5.10
Probably the left sidebar should show on the left of the structureview, not on its right


Two broken links

Hi,
first, many thanks for this amazing library, which makes reactive finally usable in c++.
Please fix two broken links:

Under Documentation the manual documentation just links back to the github page itself.
Under Useful links the User Guide results in a 404.

Thx.

Hi!
Yeah, thank you for catching this issues. Looks like i've forget about it during migration to v2 =)
Fixed


Antenna Tuner Control

Hi @hkro @ZillKhan @steve.brown
As discussed on the CD / uBlox call from last Wed Sep 9/25
Opening this ticket as a placeholder to provide a method to configure the "Antenna Tuning" feature via ubxlib
Either a new API using the device handle obtained from uDeviceOpen() API
or an alternative way to directly setup the required AT command
Thank you

Hi @jamal-mouline, while we could provide a generic ubxlib API for this, any factory/production oriented operation, which is likely time-sensitive and product/module specific, you would be better off with an AT command crafted specifically to your needs using the ubxlib AT Client directly. Since you are using ubxlib, just obtain the AT handle with uCellAtClientHandleGet() and write only the code you need for your specific production case.

Hi @hkro
Thank you for the feedback.
We can certainly make direct use of the AT Client to configure the antenna tuner
To that end, I wanted to double check the correct sequence of commands to accomplish that
Below is a copy paste from the AT Manual for the SARA-R5 / LEXI-R5 series
On page 285, section 15.5.5, I found this example
Could you please confirm these are the proper steps?
Enabling antenna tuner control
AT+CFUN=0 OK Disable the protocol stack.
AT+UTEST=1 OK Enter the test mode.
AT+UTEST=4,1 OK The module enables the antenna dynamic tuner feature.
AT+UTEST=0 OK Enter the normal mode.
AT+CFUN=1 OK Restore full module functionality.
Also, according to the documentation for +UTEST=4, section 15.5
"
The antenna dynamic tuner control setting is stored in the NVM, and its configuration is effective after exiting the test mode.
"
I wanted to confirm that this has to be done only one time --likely at the very first modem power up, since the setting is stored in non volatile memory.
Thank you

Hello @ZillKhan
Assuming the "antenna tuner control" enabling is performed through the 5 steps documented in my earlier note --pending your confirmation, I have couple additional questions:
1-Please confirm that AT+CFUN=0 and AT+CFUN=1 have already support APIs in place
I was able to find:
void uCellPrivateCFunMode(uCellPrivateInstance_t *pInstance, int32_t mode);
int32_t uCellPrivateCFunOne(uCellPrivateInstance_t *pInstance);
to support them respectively
However they both use an "instance pointer" instead of an AT handler
2-Would it make sense to make use of
uCellPrivateInstance_t *pUCellPrivateGetInstance(uDeviceHandle_t cellHandle);
to retrieve the "instance pointer" from the cell handler obtained from uDeviceOpen()
Thank you

Hi @hkro Thank you for the feedback. We can certainly make direct use of the AT Client to configure the antenna tuner
To that end, I wanted to double check the correct sequence of commands to accomplish that Below is a copy paste from the AT Manual for the SARA-R5 / LEXI-R5 series On page 285, section 15.5.5, I found this example Could you please confirm these are the proper steps?
Enabling antenna tuner control AT+CFUN=0 OK Disable the protocol stack. AT+UTEST=1 OK Enter the test mode. AT+UTEST=4,1 OK The module enables the antenna dynamic tuner feature. AT+UTEST=0 OK Enter the normal mode. AT+CFUN=1 OK Restore full module functionality.
Also, according to the documentation for +UTEST=4, section 15.5 " The antenna dynamic tuner control setting is stored in the NVM, and its configuration is effective after exiting the test mode. " I wanted to confirm that this has to be done only one time --likely at the very first modem power up, since the setting is stored in non volatile memory.
Thank you

Hello @jamal-mouline
Yes, these are the correct steps for enabling Antenna Tuner control as mentioned in the AT manual.
The Antenna Tunning setting is stored in NVM, You only need to set the Antenna Tuning once, likely at the first power up of the modem.

Hello @ZillKhan
Assuming the "antenna tuner control" enabling is performed through the 5 steps documented in my earlier note --pending your confirmation, I have couple additional questions:
1-Please confirm that AT+CFUN=0 and AT+CFUN=1 have already support APIs in place I was able to find: void uCellPrivateCFunMode(uCellPrivateInstance_t *pInstance, int32_t mode); int32_t uCellPrivateCFunOne(uCellPrivateInstance_t *pInstance); to support them respectively
However they both use an "instance pointer" instead of an AT handler
2-Would it make sense to make use of uCellPrivateInstance_t *pUCellPrivateGetInstance(uDeviceHandle_t cellHandle); to retrieve the "instance pointer" from the cell handler obtained from uDeviceOpen()
Thank you

@jamal-mouline

Yes, ubxlib already support +CFUN=0,1 API and the mentioned APIs are correct.
It make sense to use pUCellPrivateGetInstance to get instance pointer. You will also require AT client handler for this purpose for that you can use this API uCellAtClientHandleGet.

For reference we have a AT handler use case in fota_https application here: https://github.com/u-blox/cell_ucpu_app/blob/main/apps/fota_https/fota_https.c#L197

@ZillKhan
OK, thank you for the confirmations and additional data points
Will give it a try and let you know if any questions...

@ZillKhan
I put together a tentative API to support this feature --see attached
Would appreciate any review comments
Thank you
AntennaTuner.c.txt

@ZillKhan I put together a tentative API to support this feature --see attached Would appreciate any review comments Thank you
AntennaTuner.c.txt

Hello @jamal-mouline,
I had discussion with ubxlib team and uCPU team, we cannot use pUCellPrivateGetInstance() directly as this API is private to ubxlib scope only. That means we can't use uCellPrivateCFunMode() uCellPrivateCFunOne as both of these APIs uses uCellPrivateInstance_t  which has scope within ubxlib only.
Considering this in mind, I have updated CellModemAntennaTunner() that includes +CFUN=0 and +CFUN=1 AT commands directly using AT handler.
I have tested this chunk in uCPU framework and its working as expected. Attaching the updated code.
AntennaTunerUpdated.c.txt
Let me know if you require any further support is this regards.
Thanks.

@ZillKhan
Your comments make sense to me as well --not making use of the "private" APIs.
I will work with the updated framework, and test it against the hardware target when it becomes available
No further questions at this time
Thank you

Hi @ZillKhan
Additional question please:
The SARA-R5 / LEXI-R5 series - AT commands manual
section 15.5.2
page 283
Antenna dynamic tuner write configuration table
The example takes 12 mask arguments (beyond the =4,2)
AT+UTEST=4,2,0,64,0,134232064,1048576,0,34472080,0,0,16777231,2,0
OK
Whereas the syntax description lists 13 masks
AT+UTEST=4,2,<atun_0_lte_bitmask0>,<atun_0_lte_bitmask1>,<atun_0_gsm_umts_bitmask0>,<atun_1_lte_bitmask0>,<atun_1_lte_bitmask1>,<atun_1_gsm_umts_bitmask0>,<atun_2_lte_bitmask0>,<atun_2_lte_bitmask1>,<atun_2_gsm_umts_bitmask0>,<atun_1_gsm_umts_bitmask0>,<atun_2_lte_bitmask0>,<atun_2_lte_bitmask1>,<atun_2_gsm_umts_bitmask0>
Could you please help us clarify which format is correct?
Playing with a SARA-R520M10 devkit, it seems that the syntax description is INCORRECT, listing one extra mask
the question is which one?
at+utest=4,3
+UTEST: 1,0,64,0,134232064,1048576,0,34472080,0,0,16777231,2,0
OK
at+utest=4,2,0,64,0,134232064,1048576,0,34472080,0,0,16777231,2,0
OK

@ZillKhan
I run programmatically the procedure for enabling antenna tuner control that we discussed earlier
Somehow AT+UTEST=4,1 returns an ERROR
Any idea for the underlying reason?
Hints on getting more details for the ERROR root cause?
uart:~$ modem_ctrl antenna_tuner
AT+CFUN=0
 CellModem: Antenna Tuner
OK
AT+UTEST=1
OK
AT+UTEST=4,1
ERROR
 CellModem: The module does NOT enable the antenna dynamic tuner feature
AT+UTEST=0
OK
AT+CFUN=1
OK
PS
Here is the associated piece of code supporting AT+UTEST=4,1
  uAtClientLock(atHandle);
  uAtClientCommandStart(atHandle, "AT+UTEST=");
  uAtClientWriteInt(atHandle, 4);
  uAtClientWriteInt(atHandle, 1);
  uAtClientCommandStop(atHandle);

  // Grab the response.
  uAtClientCommandStopReadResponse(atHandle);
  errorCode = uAtClientUnlock(atHandle);

  if (errorCode != (int32_t)U_ERROR_COMMON_SUCCESS)
  {
     LOG_ERR("The module does NOT enable the antenna dynamic tuner feature");
  }

Hi @ZillKhan
Quick follow on the last comment above:
Setting AT+UTEST=4,1 programmatically through ubxlib is returning an ERROR systematically
This is a blocking issue for us!
Please provide a partial API just for doing that specific portion
Please attach a log showing success
PS
The other 4 steps are working fine (1. AT+CFUN=0 / 2. AT+UTEST=1 / 4. AT+UTEST=0 / 5. AT+CFUN=1)

Hi @ZillKhan
Quick follow on the last comment above: Setting AT+UTEST=4,1 programmatically through ubxlib is returning an ERROR systematically This is a blocking issue for us!
Please provide a partial API just for doing that specific portion Please attach a log showing success
PS The other 4 steps are working fine (1. AT+CFUN=0 / 2. AT+UTEST=1 / 4. AT+UTEST=0 / 5. AT+CFUN=1)

@jamal-mouline now @rebatoma will further resolve/support you for your queries.

@rebatoma Hi Mattia,
Looking forward to your input/support on this one
Best regards,
Jamal


Assignment 01 link to reference for txhousing dataset isn't public

In Assignment 01, Question 04 is both confusing and the link doesn't work.  Just tell them to run the cell below and be done.

Fixed.


[BUG]

Important Information
Minecraft Version: 1.19.2
Mod Loader System: Fabric 0.15.2
DramaticDoors Version: 3.1.5
Describe the bug
When uninstalling the mod from server, all blocks (with the exception of a few) are replaced with other blocks. Attached you will see what its supposed to look like vs what is actually looks like.
To Reproduce

Install DD on Fabric (server and client).
Uninstall DD on server
Restart server
Open server through client

Expected behavior
All blocks should be rendered as intended, not replaced randomly.
Screenshots
If applicable, add screenshots to help explain your problem.
With DD Installed
With DD Uninstalled

This is the result of mismatched waterlogging setting.
Try turning off waterlogging from Dramatic Doors config and the blocks should be correct.

Waterlogging was on before for both doors and gates. Keep in mind that the server looks fine WITH DD installed. So, with DD installed, I tried disabling the waterlogging and restarted the server. It now looks like the second image I sent with waterlogging disabled...

TL;DR: I broke the server again when disabling waterlogging. I'd like to completely uninstall DD without breaking the server...

The settings need to match both on client and the server.


[FEATURE] AWS Personalize Plugin integration query

I wanted to use aws personalize plugin to re-rank search results. In AWS documentation we see that we can achieve this through  ext  section in the request, But I couldn't find such an option in .net client.
 "ext": {
        "personalize_request_parameters": {
            "user_id": "USER ID"
            "context": { "DEVICE" : "mobile phone" }
        }
    }

Is there any way to use that plugin with .net client?

I think this is a feature request. You can always use the lower level HTTP API, https://github.com/opensearch-project/opensearch-net/blob/main/guides/json.md as a last resort, but if you have time maybe contribute these options to the higher level DSL?

This should be relatively simple to implement if we treat ext as an arbitrary dictionary field, it'd be the same as the _meta field on templates:
https://github.com/opensearch-project/opensearch-net/blob/main/src/OpenSearch.Client/Cluster/ComponentTemplate/ComponentTemplate.cs#L23-L25
https://github.com/opensearch-project/opensearch-net/blob/main/src/OpenSearch.Client/Cluster/ComponentTemplate/PutComponentTemplateRequest.cs#L20
https://github.com/opensearch-project/opensearch-net/blob/main/src/OpenSearch.Client/Cluster/ComponentTemplate/PutComponentTemplateRequest.cs#L27
https://github.com/opensearch-project/opensearch-net/blob/main/src/OpenSearch.Client/Cluster/ComponentTemplate/PutComponentTemplateRequest.cs#L31-L34
So then it'd be something like:
await client.SearchAsync(s => s
    .Ext(e => e
        .Add(
            "personalize_request_parameters",
            new
            {
                user_id = "USER_ID",
                context = new { DEVICE = "mobile phone" }
            }
        )
    )
);

We are in need of a feature like this. We can use the low level client as a workaround but we prefer to use the high level client to take advantage of the extra features in there and for the type checks.


Unable to build with swift-sytax below v600

Description
It appears that some files are implicitly rely on SwiftSyntax600, and attempting to build with a lower version results in multiple errors, including:

Cannot find 'MacroExpansionErrorMessage' in scope

Cannot find 'MacroExpansionFixItMessage' in scope

Incorrect argument label in call (have 'specifiers:attributes:baseType:', expected 'specifier:attributes:baseType:')

Cannot convert value of type '[Any]' to expected argument type 'TokenSyntax?'

Checklist

[X] I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
[X] If possible, I've reproduced the issue using the main branch of this package.
[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior
Successfully built with a lower swift-syntax version (like the 510.0.3)
Actual behavior
19 Errors in the DependencyClientMacro.swift and the Support.swift files
Steps to reproduce

Build a brand new project
Add the tca as a dependency
Add the swift-syntax with a version lower than 600 as a dependency
build

    dependencies: [
        .package(url: "https://github.com/pointfreeco/swift-composable-architecture", from: "1.13.1"),
        .package(url: "https://github.com/swiftlang/swift-syntax.git", "509.1.0"..<"511.0.0"),
    ]

The Composable Architecture version information
1.13.1
Destination operating system
No response
Xcode version information
15.4
Swift Compiler version information
swift-driver version: <IP_ADDRESS> Apple Swift version 5.10 (swiftlang-<IP_ADDRESS> clang-15<IP_ADDRESS>)
Target: arm64-apple-macosx14.0

Hi @MojtabaHs, I am not able to reproduce this. I pinned swift-syntax to 510.0.3 and everything compiles just fine. Can you provide a project that demonstrates the behavior?
I have come across strange swift-syntax compilation errors in the past, especially when switching between versions of Xcode. Usually a clean fixes them.
Since I don't think this is an issue with the library I am going to convert this to a  discussion. Let's continue the conversation over there and if it turns out to be an issue with the library we will get a fix in.


Update dependencies

ipfs-api 25.0.0 → ipfs-http-client 28.0.1
multiaddr 5.0.0 → 6.0.0
redux-bundler 22.0.0 → 23.0.1

Thanks for this @terorie. There was an API change in ipfs-http-client that @fsdiogo has been fixing up for Web UI, so I'm going to close this out in favour of #23


InvalidArgumentError: buffer_size must be greater than zero.

Hi, thank you for the repo. Whenever I come to the train.py step, it came the buffer_size error. tensorflow.python.framework.errors_impl.InvalidArgumentError: buffer_size must be greater than zero. [Op:ShuffleAndRepeatDataset]
What does that mean, I followed the instructions step by step. I donot know what to to, can you give some suggestions or is there any other clear repo about train gan based on one's own images? Thank you!

Path to dataset should be set properly


OSPRay isosurface performance can be unusably slow

The OSPRay isosurface renderer can often be too slow to use. Unlike the OSPRay volume renderer there does not appear to be any way to control the sampling rate along the rays (there is no Volume Sample Rate Scalar), that would reduce the computational load. Is this an oversight, or is it simply not supported by OSPRay?
To reproduce:

Load Data/MPAS/MPAS_V4.0/x1.40962.output.2012-05-25_00.00.00.nc
Enable the volume renderer and note the performance.
Now enable an isosurface renderer and note it's performance.  The sampling rate scalar used for volumes has no effect on isosurfaces and there is no substitute.


close test #1

Explain the use case of this feature.
Expected Behavior
A clear and concise description of what you expected to happen.
Additional Context
Add any other context or screenshots about the feature request here.

done


[EXP] example needed to use the same styles / stylesheet used for content but in popup

What is the example you wish to see?
Currently the documentation doesn't show, how we can style the popup content with the same css file.
Addind the getStyle code from content.tsx to popup.tsx doesn't seem to work.
Is there any context that might help us understand?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

Code that I have tried in popup.tsx:
import type { PlasmoContentScript, PlasmoGetStyle } from 'plasmo';
import styleText from 'data-text:~src/styles.css';

export const getStyle: PlasmoGetStyle = () => {
    const style = document.createElement('style');
    style.textContent = styleText;
    return style;
};

@DanielRuf in popup, you can just do:
import "~src/styles.css"

And it should work, no need for the style injection code at all. Popup runs on its own container so there's no need to hoist the style into a dedicated shadowDOM container like in CSUI.

@louisgv ah ok, so the difference is that we can use CSS modules but not the geStyle API, correct?

@DanielRuf in popup, you can just do:
import "~src/styles.css"

And it should work, no need for the style injection code at all. Popup runs on its own container so there's no need to hoist the style into a dedicated shadowDOM container like in CSUI.

I'll try this next week. The docs were not that clear for me regarding this use case.
The only issue that I have: I can not remove the margin and background on the html / body element of popup. Or can this also be styled?
If so, do we need some selector like :root? The __plasmo class is a few levels deeper and not where I have to remove the background and margin.

The only issue that I have: I can not remove the margin and background on the html / body element of popup. Or can this also be styled?

Yeah for popups, you can directly style the body and trace it down from there - there's no shadowDOM wrapper. You may do that via a separate css file as well, i.e have 2 imports, one to reuse the CSUI style, and one to fix the popup body style

Seems to work, closing.


error, Service not available

I'm also getting this error very often. Restarting VS Code does fix this but I have to restart my system. Please resolve this issue.

ok, thanks


Hiding calendar

When I click by month label the months list is opening. After that I wanna choose a month and click any. Calendar is hiding instead of turn back to days list. Same thing with years list.
To Reproduce
Steps to reproduce the behavior:

Go to months list or years list

Click on any month or year

Calendar is totally hiding

Browser Chrome
Library version (the latest)

it happen when datepicker wrapped  tag


[lexical-list] Revert PR 6912

Receiving reports about unexpected empty bullet lines appearing in the preview of the workplace editor

the sync diff containing this PR got reverted to mitigate the issue. Reverting this PR because:

more discussion is needed about list item node inheriting from paragraph node (it is odd)
not worth trading highly visible breaking changes for a rather edge case styling fix

Were you testing this with #6917 also applied? There's a fix in there that I believe is related to this issue
https://github.com/facebook/lexical/pull/6917/files#diff-ebf55b0878052c62d91299c29e05b3f3ef9026a05bc7881a7f0d7bb37ed2d0c9L514-R520

As far as rationale goes, the ListItemNode is basically supposed to support everything that a ParagraphNode does. Unlike a TableCellNode, it is not a shadow root that is expected to have children that are ParagraphNode, so to support all of the things that ParagraphNode supports then it should either be a ParagraphNode or separately implement all of the things that ParagraphNode implements, but the problem is that you can't just copy and paste that because the extensibility is not present in selections and the reconciler to make that work, there are $isParagraphNode special cases that can't be extended outside of the lexical package.
If we really don't want nodes like this to subclass ParagraphNode then we should move the features that ParagraphNode has into some new common base class, e.g. LexicalNode -> ElementNode -> BlockNode -> (ParagraphNode | ListItemNode) so that this sort of behavior can be inherited and baked into the lower levels without introducing dependencies from lexical to @lexical/list or elsewhere.

Were you testing this with #6917 also applied? There's a fix in there that I believe is related to this issue
https://github.com/facebook/lexical/pull/6917/files#diff-ebf55b0878052c62d91299c29e05b3f3ef9026a05bc7881a7f0d7bb37ed2d0c9L514-R520

thanks for pointing out #6917. the sync diff didnt contain that fix. in that case ill put this revert on hold and test with that patch

i tested with PR 6917 applied but it did not fix the issue sadly

ill proceed with this revert first

If we really don't want nodes like this to subclass ParagraphNode then we should move the features that ParagraphNode has into some new common base class, e.g. LexicalNode -> ElementNode -> BlockNode -> (ParagraphNode | ListItemNode) so that this sort of behavior can be inherited and baked into the lower levels without introducing dependencies from lexical to @lexical/list or elsewhere.

this might work better to prevent breaking changes from $isParagraphNode(...)


how to extract 1024 faces

can i use mlp to simplify mesh data?

@JsBlueCat Sorry for the late reply. I did not try to simplify the mesh data with MLP. Could you describe your idea in detail?

Thank you very much for your open source code. Can your obj source files (1024 faces obj) be open for download?

Thank you very much for your open source code. Can your open the obj source files (1024 faces obj)  for download?

We have presented new results based on Manifold40 (500 faces obj). See the README.md for processed dataset.

您的来信已收到！


Package.json contains internal SAP reference

The file package.json contains a reference to an internal SAP server:
"url": "git@github.wdf.sap.corp:rapid-release/pptxtemplater.git"

Specifically, the server:
github.wdf.sap.corp

This artifact won't work outside the SAP firewall.
SAP Open Source runs regular scans looking for artifacts in the code which might indicate our internal code has accidentally released in to the Open Source stream. This file continues to show up in our scans. Can you please fix it, or remove it, so that it no longer shows up as an error?
Thank you.

Thanks for pointing this out!


Add set_wasm_version! to create custom Wasm section

Early PoC. Should not be maintained here long term.

This should become a crate in cw-minus

Done in https://github.com/CosmWasm/cosmwasm/pull/2124


feat/fix: add new examples and small improvements on existing ones

Description of the changes
Adds the SKS and EKS examples and does a few edits on the KinD example for consistency.

@ckaenzig I've yet to add my version of the EKS example with the accompanying .adoc file. I'll check out your PR and work something together from there.
I would like the feedback from the rest of @camptocamp/is-devops-stack team so I can improve the documentation as we go, if anyone as the time and/or inclination :wink:

Did you add the secrets.yaml and .terraform-version files on purpose or by accident ? The latter isn't too problematic I think, but the former is specific to how everyone setup their gopass.

I added them both intentionally. The .terraform-version was to reference the Terrafom version in which the example was tested, although I'm yet to be sure if it is more troublesome than beneficial.
As for the secrets.yml, I left it with placeholder variables and referenced in the tutorial guides on how to configure it. I think it will help future users understand better how to use the examples (I referenced one of our blog posts on dev.to so people get to know how to use it). The only thing I now think I did not do was write something in the docs to say that there are alternatives on how to set these values instead of using gopass and summon...

Ok, taht makes sense. If the goal is to show how we're usually working with terraform at Camptocamp, I guess it's not really useful to document hot to use alternatives to gopass and summon.


update week 3 progress

Yep, that was intentional. I wanted to update the servlet to see it in action before adding the library.


docs - broken link to joyent

Hi
The link to http://www.joyent.com/developers/node/design/errors in the readme is broken. I've tried to find the new location but can't seem to find it. Any ideas on where it might have moved to?

I guess it's this?
https://www.tritondatacenter.com/node-js/production/design/errors

Yeah, sorry about the broken link. Joyent has put in a lot of redirects for us, but we don't have 100% coverage, and as you can guess there are a lot of links in our repos that need updating. I'll see if I can get Joyent to add a redirect for that.


Population Decay

It seems that the population can sometimes dwindle from one generation to the next. In the tests I get:
INFO:tuningdeap.main:The population has a size of 8 after rejecting the invalid: should be 10

What is causing this? It does not seem like desired (default) behavior.

That info message should probably be renamed.  It was there when I was creating the enforce_limits function but can be disregarded because if the population is less than population_size it'll regenerate more to replace the invalid individuals.
However, the population dwindling does seem to be a thing (outside of this info message) and should probably be looked into.

TODO: add a test to verify population size.


Continue Object Repo

Depends on #28 to be merged first

Pull Request Test Coverage Report for Build 863178805

0 of 102 (0.0%)  changed or added relevant lines in 19 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage remained the same at 0.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/Liquid-Core.package/LiquidParticipantMenu.class/instance/importPollDraftWithId..st
0
1
0.0%

packages/Liquid-Core.package/LiquidPollDraft.class/instance/startSurveyWithId..st
0
1
0.0%

packages/Liquid-Core.package/RemoteObjectDummy.class/instance/doesNotUnderstand..st
0
1
0.0%

packages/Liquid-Core.package/LiquidHostMenu.class/instance/savePoll.st
0
2
0.0%

packages/Liquid-Core.package/DelayMessageDecorator.class/instance/on..st
0
3
0.0%

packages/Liquid-Core.package/DevelopmentObjectRepo.class/instance/at..st
0
3
0.0%

packages/Liquid-Core.package/DevelopmentObjectRepo.class/instance/at.ifAbsent..st
0
3
0.0%

packages/Liquid-Core.package/LocalObjectDummy.class/instance/on..st
0
3
0.0%

packages/Liquid-Core.package/LocalObjectRepo.class/instance/at.ifAbsent..st
0
3
0.0%

packages/Liquid-Core.package/LocalObjectRepo.class/instance/at.ifPresent.ifAbsentPut..st
0
3
0.0%

Files with Coverage Reduction
New Missed Lines
%

packages/Liquid-Core.package/ObjectRepo.class/instance/at..st
3
0%

Totals

Change from base Build 856936560:
0.0%

Covered Lines:
0

Relevant Lines:
834

💛  - Coveralls


Add a parameter Func<HttpRequest, bool?> to the cloud trace set up.

This will allow users to make decisions about what is traced when a trace header is not set.
I also opened PR #840 for the non core lib

Not sure whether you'll have seen the comment I put about the refactoring of the DI part, as it was on an outdated commit, but if you look at the first commit you should be able to see it.


Modify web app code to pull Gale OCR locally instead of API

Testing notes

[x] should raise a configuration error if you try to index Gale content without setting the new local ocr path
[x] should warn when local ocr text is not found
[x] page content indexed in Solr should use locally generated OCR instead of Gale OCR
[x] should fall back to Gale OCR if local ocr is not available (not sure how we test this or if we need to; possible covered by the second test above)
[x] page tag should indicate when local ocr is used (maybe test this by generating a page corpus?)

Implementation notes

~Restructure OCR output (e.g. jsonl)~
[x] Pull in API OCR if local not found
[x] Add tag to know it's local OCR

The first time we deployed to staging we forgot to add the new configuration for the Gale OCR path, so we went ahead and confirmed that the index pages command raises a configuration error when it is not present.

An idea that came out of discussion about how to test this: there's no user-facing way to know when you're searching local OCR vs Gale OCR. It might be nice to add some kind of indicator on the site to let people know we're provided enhanced text content for these volumes, maybe on the volume detail page.

Some useful jq sequences:
Filter to Gale pages
zcat ppa_pages.jsonl.gz | jq -c 'select ( (.id|startswith("CW")) or (.id|startswith("CB")) )
Filter to Gale pages with "local" OCR content
zcat ppa_pages.jsonl.gz | jq -c 'select ( .tags | index("local_ocr") )'

I tested an array of Gale works (full works, excerpts, articles, CB & CW prefixes) by comparing the OCR for specific searches on the test site to the OCR in TigerData and to production site/the OCR viewer on Gale's site, and this appears to be working. For reference, these are the IDs I checked (all match the new OCR in TigerData):

CW0111956033 (excerpt)
CB0130649164 (full work)
CB0128774422 (full work)
CB0129112818 (article)
CB0131343042 (excerpt)
CW0116236696 (article)
CW0116296895 (full work)

CW0114873189 uses the old Gale OCR as expected:

page 14 on test site: £ 14 ^be English'■,•’‘�'Grammar, with Notes. r Whin (e) ends Wards, it has no Sound at all, Except in Words which we do proper call
on Gale: £,14 ^be English'■,•’‘�'Grammar, with Notes. r,Whin (e) ends Wards, it has no Sound at all, Except in Words which we do proper call
in TigerData: The English Grammar, with Notes.
When (e) ends Words, it has no Scund at all,
Except in Words which we do proper call;

However the images for this volume appear broken. Browsing through other volumes, it looks like this issue might be isolated to this work. Is this related to whatever you had to do to it to force it to use the old OCR? @laurejt once you confirm I'll close the issue.
I don't know how to test the page tag - maybe someone can generate corpus and I can look at the output?

@mnaydan thanks for the detailed testing notes. I expect you would have commented if they didn't, but did your testing confirm the text content is matched up correctly with the pages?
@laurejt the fact that the images are broken and the local OCR is missing for the same volume makes me suspect that it didn't get reindexed - maybe whatever cut off your tmux session stopped before this one was indexed.  Would you index just this volume on the test server and report back if you get any warnings about missing local ocr files?

(Re)Indexing CW0114873189 ran without incident (321 pages were indexed without no warnings of any sort)

@laurejt thank you! I can confirm that reindexing fixed the broken thumbnail issue, and also made it pull from local (rather than old Gale) OCR. @rlskoeser yes, my testing confirmed that text content is matched up correctly with pages. I also checked and made sure that search within excerpts/articles were limited to the selected page ranges. Closing!

Exporting the text corpus after reindexing CW0114873189, all Gale pages have the local_ocr tag.

Estimating time difference in indexing Gale volumes with current fix:
Test case: index 10 Gale volumes

Volumes: CB0127060085 CB0126086107 CB0127060264 CB0128005380 CB0128002412 CW0115524470 CW0111606033 CW0114828122 CW0125924161 CW0110904426
Pages: 1,762 pages

Timing:

Production (original): 11 seconds
Test (new): 1 minutes 14 seconds

The new indexing is substantially slower and should be optimized in the future.


Use Moveable to drag shapes from the element library

Feature Description
Use Moveable to drag shapes onto the canvas from the element library instead of using the default drag. This way the dragged shape can be displayed as it will look like after inserting on Page.

Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

When dragging-and-dropping to lower portion of canvas, the image "jumps" up a bit. User has to reselect and drop again to the lower position.
https://share.getcloudapp.com/nOuD97Gk

@csossi Thanks for flagging this.
That's actually unrelated to this PR and was added in purposefully for Text Sets for ensuring none of the elements would be left out of Page. This "feature" will be removed separately.
Moving to QA Passed in case that was the only issue found.

Note: Waiting for #5721 to get merged to run all the tests again before merging this.

Closing. @samitron7 @ivayloklissarov @aaecheverria


Update missing node assertion error message

When updating TypeScript definitions for DefinitelyTyped, I encounter the following error:
ERROR: 19:1  expect<EMAIL_ADDRESS>Can not match a node to this assertion.

I found an open issue in this repo which mentions the issue, but the specifics of the situation seems unrelated: https://github.com/microsoft/dtslint/issues/157, and it wasn't until I found this comment that I understood what the problem was: https://github.com/DefinitelyTyped/DefinitelyTyped/pull/51161#issuecomment-777039728:

Ok in dtslint readme there's two ways of using it: before and at the end of the line. So I guess the multiline structure is thee cause of the problem.

In this instance Prettier had formatted my code to be multiline, instead of single line function calls. I thought it could be helpful to add some extra information to this error in case others encounter it in the future.

Closing this since microsoft/DefinitelyTyped-tools is the right place now.


More stub tests

In https://github.com/AlexsLemonade/scpca-nf/pull/332, I added a stub workflow that can automatically test that workflow logic is sound without requiring a full workflow run.
Currently, the test only tests the paths used for an RNA-seq run and a CITE-seq run. We should add more test cases by adding new entries to tests/stub-metadata.tsv along with the input files to support those runs (these can generally just be blank files created with touch)
Some of the data types we should add:

bulk RNA-seq
spatial (this may require setting a docker image for Space Ranger in config/profile_stub.config, but that image does not need to contain Space Ranger)
cellhashed with genetic demultiplexing
cellhashed without genetic demultiplexing

We also may want to consider whether we need to test any other particular parameter flags that we set. At the moment, the only one I can think of would be --skip-genetic-demux, but we would really only be testing that it ran successfully unless we added some extra logic.
We could also add some logic to test that the expected output files/directories are generated after each run, but that gets more complicated as we add more inputs, so I'm not sold on it.

I think this was closed by #376


Bevy canvas resize fights with Quasar

The Bevy fit_canvas_to_parent feature is known to cause problems if the surrounding HTML element reacts to its children's resize events: https://docs.rs/bevy/latest/bevy/window/prelude/struct.Window.html#structfield.fit_canvas_to_parent
This is now the case with the Quasar GUI, and I do not know a way yet to disable the size management.

This was solved through a Bevy update which removed support for fit_canvas_to_parent altogether.


"Поссия" instead of "Россия" in the docs

The latter is the proper way to spell it. The mistake is in: http://flax-lang.github.io/content/strings.html
Or was it intentional?

Also, the link to the functions section is broken.

Docs need a complete rewrite, so I'll close this for now. I copied that from somewhere so idk what was up with that.


[Ubuntu] Pin mongodb version to 5.0

Description
Starting with MongoDB 5.0, MongoDB is released as two different release series:

Major Releases
Rapid Releases

Major Releases are made available approximately once a year, and generally mark the introduction of new features and improvements. Major Releases are appropriate for all MongoDB deployments.
Rapid Releases are designed for use with MongoDB Atlas, and are not generally supported for use in an on-premise capacity.
We have to pin the version to the latest Major 5.0 release.
Related issue:
https://github.com/actions/virtual-environments/discussions/4481
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu1804, ubuntu2004


[agent] Add support for histograms with control plane metrics

Description:
Add support for histograms with control plane metrics behind a feature gate.

We also probably have to tackle updating the the not-openshift rules for the receivers to values like these.


Possibility to link to subsections in d2 ?

Hi,
It would be really nice to be able to use the link property to link to specific mdbook sections, e.g. :
foobar: {
    shape: cylinder
    link: /foo/bar.md
}

Would it be possible with mdbook-d2 ?
Thanks !

Nevermind, it seems I have to specify the path with a ./ and it works, e.g. link: ./foo/bar.md !


GH-39849: [Python] Remove the use of pytest-lazy-fixture

Rationale for this change
Removing the use of pytest-lazy-fixture in our test suite as it is unmaintained.
Changes in this PR include:

Remove the use of pytest-lazy-fixture
Remove marks from fixtures to avoid future error, seePytestRemovedIn9Warning: Marks applied to fixtures have no effect
  See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function

Catch two different warnings in def test_legacy_int_type()

Are these changes tested?
The changes affect the tests so they must pass.
Are there any user-facing changes?
No.

Closes: #39849

The failures shouldn't be related, but I do not see them on any other build 🤷♀

@github-actions crossbow submit python

@github-actions crossbow submit -g python


Implement examples based on 'Let Arguments Go First'

I want to eventually use the modified bidirectional approach used in the paper 'Let Arguments Go First' in Pikelet (see pikelet-lang/pikelet#76). As a stepping stone, it might help to make some simpler examples that closely follow what was shown in the paper in this repository.

We can probably adapt moniker/examples/stlc.rs as a start when implementing these!


⚠ ClamAV has degraded performance

In 92c980d, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 64 ms

Resolved: ClamAV performance has improved in 6c9bc7e.


Rename sd_UTTypeFromSDImageFormat to sd_UTTypeFromImageFormat

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / reffers to the following issues: ...
Pull Request Description
Renaming Rename sd_UTTypeFromSDImageFormat to sd_UTTypeFromImageFormat. Since that SDImageFormat 's SD does not needed in the selector naming. It's just a prefix.
This renaming does not affect our Swift user, since both of these generated Swift API is open class func sd_UTType(from format: SDImageFormat) -> CFString.

Current break change (Need change code)
NSData+ImageContentType.h

sd_UTTypeFromSDImageFormat: RENAMED to sd_UTTypeFromImageFormat:

Codecov Report

Merging #2395 into 5.x will increase coverage by 0.03%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##              5.x    #2395      +/-   ##
==========================================
+ Coverage   68.88%   68.91%   +0.03%
==========================================
  Files          47       47
  Lines        6634     6634
==========================================
+ Hits         4570     4572       +2
+ Misses       2064     2062       -2

Flag
Coverage Δ

#iOS
70% <71.42%> (+0.04%)
:arrow_up:

#macOS
68.55% <75%> (-0.07%)
:arrow_down:

Impacted Files
Coverage Δ

SDWebImage/SDImageCoderHelper.m
74.94% <100%> (ø)
:arrow_up:

SDWebImage/SDImageGIFCoder.m
80% <100%> (ø)
:arrow_up:

SDWebImage/NSData+ImageContentType.m
56.79% <100%> (ø)
:arrow_up:

SDWebImage/SDImageIOCoder.m
65.38% <50%> (ø)
:arrow_up:

SDWebImage/SDImageAPNGCoder.m
42.79% <50%> (ø)
:arrow_up:

SDWebImage/SDWebImageManager.m
82.11% <0%> (+0.81%)
:arrow_up:

Continue to review full report at Codecov.

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


Why doesn't Guide.xticks(ticks=[1:10]) work ?

This works:
Guide.xticks(ticks=[1,2,3,4,5,6,7,8,9,10])
But this (the most obvious thing to do) doesn't. My data is in Float64 type.
Guide.xticks(ticks=[1:10])
LoadError: MethodError: no method matching *(::FloatRange{Float64}, ::Measures.Length{:mm,Float64})
Closest candidates are:
  *(::Any, ::Any, !Matched::Any, !Matched::Any...) at operators.jl:138
  *(::AbstractArray{T,N}, !Matched::Number) at abstractarraymath.jl:97
  *(::AbstractArray{T,1}, !Matched::Base.LinAlg.AbstractTriangular{T,S<:AbstractArray{T,2}}) at linalg\triangular.jl:1529
  ...

I have to use collect() function to get it work:
Guide.xticks(ticks=collect(1:10))
I don't know if I am doing something extremely stupid or there no way to use a range object? Guide me please! (pun intended :-) )
As a feedback, I presume the most common thing people want to do is use xticks to increase or decrease the number of ticks or resolution of the axis. That should be the example case instead of the trivial ticks=[0.1, 0.3, 0.5] as documented here: http://gadflyjl.org/stable/lib/guides/guide_xticks.html#Guide.xticks-1

Guide.xticks(ticks=[1:10;]) works. Note the semi-colon.

Julia no longer automatically expands ranges, see https://github.com/JuliaLang/julia/issues/3737. Try to compare the output of [1:10] and collect(1:10) on v0.5.


FillerPlugin on vertical charts

Expected Behavior
Version 2.9.1 worked as expected demo here
There are two datasets that move vertically with a fill between them.  (Essentially a sideways area graph)
Current Behavior
When I upgraded to version 3.1.0, after migrating things to match the new apis, this functionality no longer works.  demo here
In the 3.x.x example, the fill either does not happen or goes down vertically in ways that are not what is intended demo of second behavior
Possible Solution

Allow the FillerPlugin to read indexAxis to rotate it's fill direction as needed?  Or have a slower (second) filler implementation that can handle more alignments?
Steps to Reproduce
Not working version using 3.1.0
Not working version using 3.1.0 - alternate
Working version using 2.9.1
The steps to reproduce are more or less:  Upgrade from 2.9.1 to 3.x.x
Context

The type of graph needed is a verticle line chart of values, with two lines representing the minimum and maximum recommended values behind this main line, and a flood fill between these two recommended values to illustrate the range (and if the main line is inside or outside of it).  The chart must be aligned like that because it matches real world values on the y axis that are aligned vertically.
This issue is preventing an upgrade from 2 to 3 because this type of graph is a functional requirement for the app it is being used in.
Environment

Chart.js version: 3.1.0
Browser name and version: Chrome 89.0.774.76

I was wondering if anyone would want to fill a vertical chart. Did not know it worked in 2.9.

When I first saw a spec calling for it, I assumed 2.9 would behave like the alt demo so I was pleasantly surprised when it worked.   Thankfully we can hang out on 2.9 since it everything is doing what we need in that version.


[BUG] Bob Avila makes a special cameo in Yellowstone

Bob Avila makes a special cameo in Yellowstone
Legendary horseman Bob Avila, who passed away in November 2024, showed viewers his incredible talent during a cameo appearance on Yellowstone. Stream every episode now, only on Stan.

Looks like spam


Minimum system requirements do not correspond to reality when updating a node to 0.22.0

My node:
4 CPU cores
4GB RAM
3GB swap
OS Debian 11
When updating to 0.22.0, the following happened - when I launched Pocketcoin-qt, it crashed after a couple of minutes. I decided to look through htop what was happening and saw that Pocketcoin-qt was eating up all the RAM, then the entire swap, and after that the OOM killer was killing it. I added another 4GB of RAM and the same thing happened again, i.e. it wasn't enough. I added another 8GB swap because I couldn’t add more RAM and only then the update went fine.
I believe that node holders should be warned about this, since not all of them have them in the form of virtual machines to which people can easily add memory.

Thank you for your feedback. We have received several confirmations that the upgrade from version 0.21 to version 0.22 requires more resources than usual. This is due to the fact that with the transition to version 22, the database is updated - the entire data array is overloaded into a new database, which may indeed require additional resources. I will describe this moment on the release page.

I have similar issue with Linux core console version!
0.21.3 worked fine on 8GB RAM without swap.
0.22 eating RAM and swap!
I have added 8GB RAM yesterday (16GB RAM total); however, swap became used after 10 hours of operation!


Optimize kubevirt migration

Pull Request

[ ] Make sure you have followed Kube-OVN Code Style.

What type of this PR
Examples of user facing changes:

Features
Bug fixes
Docs
Tests

Which issue(s) this PR fixes
Fixes #(issue-number)

这个迁移控制器感觉没啥问题


Add Parquet RowSelection benchmark

Which issue does this PR close?

Part of  #5523
Rationale for this change
As the first step of measure-then-build, we add some benchmarks.
The benchmark has 300_000 rows, and the selector will select 1/3 of the rows, this roughly matches with the SearchPhase <> '' predicate in many ClickBench queries.
I added intersection, union, from_filters and and_then because they are the most pronounced ones in the flamegraph.

What changes are included in this PR?

Are there any user-facing changes?

Thank you for this, I'm sure you're aware and what you're trying to empirically demonstrate, but RowSelection is not designed for highly non-contiguous, e.g. random selections. It might be worth adding some benchmarks of long contiguous selections, as might arise when filtering sorted data

🫶

but RowSelection is not designed for highly non-contiguous, e.g. random selections.

yes, I think this is what @XiangpengHao  is considering improving

It might be worth adding some benchmarks of long contiguous selections, as might arise when filtering sorted data

I agree adding benchmarks for the case where RowSelection already does well would be valuable (to ensure we don't introduce regressions)


[Reveal] Scroll reveal on chrome Android

Hello,
I found a bug on chrome android for reveal component. The problem is that you can't scroll up or down the page till a reveal is open, so if the reveal is higher than the screen size, you can't scroll to see the whole content.

Can we recreate this in the documentation?

@include breakpoint(small only) {
  .reveal {
    height: 100vh !important;
    overflow-y: scroll !important;

    -webkit-overflow-scrolling: touch;
  }
}

Add this code to your stylesheet

Recreate where ? I don't understand sorry.
That's not so bad but it's not what i'm searching for. If the reveal has only 100px height, now it takes the page height and for example we have a reveal of 800px with 700px of white... and we still can't scroll the page like reveal should let us do !
We have to fix it properly. I'm working on it btw...
Thanks !

You can change the class name to something like
modal-tall-mobile
Now every time you know that the content of the modal will be bigger than the viewport you can apply this class.
Make this detection dynamically based on the content will be very hard without JavaScript

Reveal got a lot of bug fixes in 6.2, I'll be testing this issue again soon.

I can not reproduce it anymore with the latest release https://codepen.io/DanielRuf/pen/mXpMVb

I have closed this issue as we could not reproduce this and there is no further feedback.


Suggestion: File node context menu "Open containing folder in file explorer"

Right click on a file node, select this new menu item and it will open the folder in the o/s file explorer app with the specific file highlighted.

Do other OSes allow this? I know we can easily do this in windows by merely running explorer <dir> or even dir but I don't know if other OSes have this sort of thing. And I might need to check if the whole highlight this file in explorer works since that's also focusing on the file in question is pretty helpful there too.
Chatgpt suggested.
def open_file_in_explorer(file_path):
    system_platform = platform.system()

    if system_platform == "Windows":
        # Use the "start" command to open the file explorer in Windows
        subprocess.run(["start", "explorer", "/select,", os.path.normpath(file_path)], shell=True)

    elif system_platform == "Darwin":
        # Use the "open" command to open Finder on macOS
        subprocess.run(["open", "-R", os.path.normpath(file_path)])

    elif system_platform == "Linux":
        # Use the "xdg-open" command to open the file explorer on Linux
        subprocess.run(["xdg-open", os.path.normpath(file_path)])

    else:
        print("Unsupported operating system")

Tested it in windows and it worked. Not sure about OSX or Linux.

You can definitely select the file in Windows - I think you do "explorer.exe /select C:\Meerk40t\myfile.svg".
But you might want to look at this package https://pypi.org/project/show-in-file-manager/ which claims to do this cross-platform.

Did it cross platform. Mac worked fine. Linux needed to launch the directory and thus not focus the file.


since botocore version 1.20.0 there are errors in eb cli and python six module

Describe the bug
We have some CI scripts to setup elastic beanstalk. There we run apk add --no-cache bash git gettext py3-pip build-base python3-dev python3 libffi-dev libressl-dev musl-dev && pip3 install awsebcli awscli
Since today this does not work anymore and it leads to error: ERROR: MissingServiceIdError - The model being used for the service elasticbeanstalk is missing the serviceId metadata property, which is required.
However there were problems with python six also.
Expected behavior
eb deploy and all other eb options will work without errors
Debug logs
eb deploy $APP-NAME-$AWS_TAG -r $AWS_DEFAULT_REGION
ERROR: MissingServiceIdError - The model being used for the service elasticbeanstalk is missing the serviceId metadata property, which is required.

Log Output from python six errors
Collecting six>=1.5
  Downloading six-1.11.0-py2.py3-none-any.whl (10 kB)
Installing collected packages: six, websocket-client, requests, python-dateutil, jmespath, docker-pycreds, wcwidth, texttable, PyYAML, pyasn1, jsonschema, docopt, dockerpty, docker, cached-property, botocore, termcolor, tabulate, semantic-version, s3transfer, rsa, pathspec, docutils, docker-compose, colorama, cement, blessed, awsebcli, awscli
  Attempting uninstall: six
    Found existing installation: six 1.15.0
ERROR: Cannot uninstall 'six'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

Current fix
pin botocore to version 1.19.63
 apk add --no-cache bash git gettext py3-pip build-base python3-dev python3 libffi-dev libressl-dev musl-dev && pip3 install awsebcli awscli botocore==1.19.63 `
this solves the six and the eb <option> error

Looking into this. Looks like the EB CLI requires botocore<1.20.0:
https://github.com/aws/aws-elastic-beanstalk-cli/blob/c79d899ec83e178f699e2bd8d844eab36a3c7a55/setup.py#L22

Looks like this was reported at the EB CLI too:
https://github.com/aws/aws-elastic-beanstalk-cli/issues/63


Github action text on github mobile app

Description
Text is not formatted correctly on GitHub mobile app.
Working Environment
Operating System: Android
Device: Huawei P10
Screenshots

[Optional] Additional Context
May we can change the text to ... Issue and welcome to...
You can also join the discord community here
Feel free to check out other cool repositories of Eddie Jaoude Community here

Oh good spot, thank you 👍

so should we change the text to ... Issue and welcome to...? it seems fine I guess. What do you think @eddiejaoude ? or can there be any other workaround?

I think we should just remove the exclamation mark. Makes sense?

What ever is easier to make it correct, will be an improvement 👍 , then we ca tweak further in the future if needed


SDK-1562 R8 minification bug fix

Since the upgrade to AGP 8, R8 fullMode is enabled, which was stripping out some class definitions when minification is enabled.
Linear Ticket: SDK-1562
Changes:

Bump retrofit and moshi versions to incorporate new proguard rules
Annotate our requests/responses with @Keep to prevent them from being stripped (there's probably a less-verbose/manual way to do this in our proguard files, but I spent 2 hours trying to figure it out with no success :( )
Force minify in workbench apps for testing purposes
Bump version

Notes:

I also published this version to my local maven repo and tested in an "external" app and verified that its working there

Checklist:

[x] I have verified that this change works in the relevant demo app, or N/A
[x] I have added or updated any tests relevant to this change, or N/A
[x] I have updated any relevant README files for this change, or N/A

Do you know why the UI tests are failing?

They appear to be a little flaky in the AVD. I'm seeing random low-level errors like E0403 18:34:28.985345 f47a000 FrameBuffer.cpp:3790] Failed to find ColorBuffer:333, which may be contributing? Each time they fail, it's a different test, so I know it's not a code issue/actually failing test

Tests passed after clearing out the old caches.


Integration of tensorboard for visualization?

I wish to visualize my results using tensorboard.

Tensorboard really only works with keras when you use fit(), which is not used in this repo. There's no easy way to do this unfortunately. Woud be interested if someone submits a PR but I have no plans for this currently.