Minor: Cleanup BuiltinScalarFunction's phys-expr creation

Which issue does this PR close?
Cleanup for #8045
Rationale for this change
In current implementation, some function tries to generate input type specific physical expressions in
https://github.com/apache/arrow-datafusion/blob/308c35404939ed39e4e398054d6fc78c89817109/datafusion/physical-expr/src/functions.rs#L75-L204
However, this can be done inside function implementation like most other functions did, this PR would like to unify the implementation approach
What changes are included in this PR?
Move input-type-specific BuiltinScalarFunction physical expression creation to inside function implementation

Are these changes tested?
Covered by existing tests

Are there any user-facing changes?
No

I wonder if this modification will lead to performance degradation.
Each time we evaluate the function expression, we have to pick an implementation based on the input type.
Previously, the picking was executed only once during compilation/planning.

I wonder if this modification will lead to performance degradation.
Each time we evaluate the function expression, we have to pick an implementation based on the input type. Previously, the picking was executed only once during compilation/planning.

That's a good point, but I think for this case, the extra overhead is one or two function calls per batch(typically 8k rows)
I tried those functions on TPCH data, and there is no noticeable difference
select to_timestamp(l_shipdate), to_timestamp_seconds(l_commitdate), to_timestamp_millis(l_receiptdate), to_timestamp_micros(l_shipdate), to_timestamp_nanos(l_shipdate), from_unixtime(l_orderkey), abs(l_orderkey) from lineitem;


Is the CSV getting updated every time changes are made to this page?

Hey,
It doesn't look like the CSV is getting updated every time there is a change to this page.
Is there any chance this could be automated or exposed via an API etc... for each resource?
Let me know
Cheers
Jack

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

ID: 41f4e1d2-5b58-3d7c-6a97-d0e7bcacd402
Version Independent ID: b627e946-e267-2f94-1e5b-9877a343d611
Content: Move operation support by Azure resource type
Content Source: articles/azure-resource-manager/move-support-resources.md
Service: azure-resource-manager
GitHub Login: @tfitzmac
Microsoft Alias: tomfitz

@jtracey93 Thanks for your comment. The feedback has been shared with the content owner for further review.

@jtracey93 - sorry about that. I have updated both files. The csv is available now, and the article will get published on Monday.

#please-close


Add project links

Interesting idea. Should probably consistently link to one of project home or project repo or LICENSE file rather than varying by project.
I like linking to LICENSE file; as these are well-known projects a generic project link doesn't inform anyone much, but actually seeing how they've deployed the license they use is informative and topical.
I'd bet every project does have a LICENSE (or similarly named with the license) file that can be linked to, eg one that has a project repo link in this PR that could be replaced with https://github.com/dotnet/corefx/blob/master/LICENSE

Cool, will change it to point to the actual LICENSE file. Couldn't find links for some projects, that's why I added a project link, but I'll give it another try.

Added direct links to all projects, only Rails doesn't have a file.

Rails has LICENSE files in subprojects (toplevel has been suggested and rejected multiple times). I'd suggest https://github.com/rails/rails/blob/master/activerecord/MIT-LICENSE since I think that's the most well known component.

Makes perfect sense. Added that too.

Thanks @thewarpaint. I'll leave this open for feedback for a day, merge over weekend assuming none.

Cool, thanks @mlinksva.


Take into account replication when creating pseudo gtid event

By default, create_pseudo_gtid_event is replicated to the binlog, which sets the ORIGINATOR field to server_id. The event is then executed only on the server with that server_id. This PR disables the event creation replication and changes the behaviour  for create_pseudo_gtid_event in the following sense:

in case of co-masters: the event must be loaded on both servers and the event is created and runs on co-master with the read_only flag disabled
in case of single master/intermediate master: the event creation is not replicated in any way and only runs if the server has read_only disabled, thus giving much control on where the event is triggered

I also re-indented the code since it used a mix of 2 spaces, 4 spaces and tabs.

You are right. I got carried away by the fact that presudo gtid entries are generated only on servers with read_only disabled, but in fact they should run on exactly one server throughout entire topology. I'll close this one make another PR with indentation fixes.


Update Request - GSD-2021-1000000

Automated Edit Request
For: "GSD-2021-1000000"
{
  "GSD": {
    "vendor_name": "GPAC",
    "product_name": "GPAC",
    "product_version": "0.8.0",
    "vulnerability_type": "Denial of service(DoS)",
    "affected_component": "GPAC 0.8.0-e10d39d-master branch",
    "attack_vector": "a malicious image file",
    "impact": "DoS. An attacker can exploit this vulnerability by submitting a malicious media file that exploits this issue. This will result in a Denial of Service (DoS) when the application attempts to process the file.",
    "credit": "Rui Yang, Riddle Ben",
    "references": [
      "https://github.com/gpac/gpac/issues/1485"
    ],
    "reporter": "DuckRui",
    "notes": "Here are crash files.https://github.com/DuckRui/vul-/blob/master/isom_store163. https://github.com/DuckRui/vul-/blob/master/isom_store165. https://github.com/DuckRui/vul-/blob/master/isom_store173.",
    "description": "In GPAC GPAC version 0.8.0 a Denial of service(DoS) exists in the GPAC 0.8.0-e10d39d-master branch that can be attacked via a malicious image file resulting in DoS. An attacker can exploit this vulnerability by submitting a malicious media file that exploits this issue. This will result in a Denial of Service (DoS) when the application attempts to process the file."
  },
  "OSV": {
    "id": "GSD-2021-1000000",
    "summary": "Denial of service(DoS) in GPAC version 0.8.0",
    "details": "In GPAC GPAC version 0.8.0 a Denial of service(DoS) exists in the GPAC 0.8.0-e10d39d-master branch that can be attacked via a malicious image file resulting in DoS. An attacker can exploit this vulnerability by submitting a malicious media file that exploits this issue. This will result in a Denial of Service (DoS) when the application attempts to process the file..",
    "modified": "2021-06-24T22:55:38.996515Z",
    "published": "2021-05-31T15:39:45.031586Z",
    "references": [
      {
        "type": "WEB",
        "url": "https://github.com/gpac/gpac/issues/1485"
      }
    ],
    "affected": [
      {
        "package": {
          "name": "GPAC",
          "ecosystem": "DWF"
        },
        "versions": [
          "0.8.0"
        ]
      }
    ]
  }
}

Works, neat.
Also, need to implement a sandbox mode sooner rather than later.


New configs to support OCP-40557 polarion test case to replace loaded workers

Description
Fixes
Changes to generate google sheets to support automated testing of:
https://issues.redhat.com/browse/OCPQE-11961 - OCP-40557 - Replace loaded worker nodes with larger instances
https://issues.redhat.com/browse/OCPQE-12152 - Extend automation for "OCP-40557 - Replace loaded worker nodes with larger instances" to other providers.
Passing Jenkins Runs:
https://mastern-jenkins-csb-openshift-qe.apps.ocp-c1.prod.psi.redhat.com/job/scale-ci/job/svetsa-e2e-benchmarking-multibranch-pipeline/job/regression-test/8/console
File generated:
https://docs.google.com/spreadsheets/d/1jrnS05dd2p3WM63TIOXNYqW0KDWXoboSewYa3_hffXk/edit#gid=1321307691

Can one of the admins verify this patch?

/lgtm


Failed to Execute pip3 install pip setuptools

Pip3 command fails with Failed to Execute pip3 install pip setuptools --quiet --upgrade --no-cache-dir --disable-pip-version-check
full errors are
 Traceback (most recent call last):
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 629, in _build_master
    ws.require(__requires__)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 966, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 827, in resolve
    dist = self._resolve_dist(
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 873, in _resolve_dist
    raise VersionConflict(dist, req).with_context(dependent_req)
pip._vendor.pkg_resources.VersionConflict: (pip 23.1.2 (/home/ian/.local/lib/python3.10/site-packages), Requirement.parse('pip==20.0.2'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/cli/base_command.py", line 169, in exc_logging_wrapper
    status = run_func(*args)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 248, in wrapper
    return func(self, options, args)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/commands/install.py", line 324, in run
    session = self.get_default_session(options)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 98, in get_default_session
    self._session = self.enter_context(self._build_session(options))
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/cli/req_command.py", line 125, in _build_session
    session = PipSession(
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 342, in __init__
    self.headers["User-Agent"] = user_agent()
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/network/session.py", line 175, in user_agent
    setuptools_dist = get_default_environment().get_distribution("setuptools")
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py", line 75, in get_default_environment
    return select_backend().Environment.default()
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/metadata/__init__.py", line 63, in select_backend
    from . import pkg_resources
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_internal/metadata/pkg_resources.py", line 8, in <module>
    from pip._vendor import pkg_resources
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3327, in <module>
    def _initialize_master_working_set():
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3301, in _call_aside
    f(*args, **kwargs)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 3339, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 631, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 644, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 827, in resolve
    dist = self._resolve_dist(
  File "/home/ian/.local/lib/python3.10/site-packages/pip/_vendor/pkg_resources/__init__.py", line 868, in _resolve_dist
    raise DistributionNotFound(req, requirers)
pip._vendor.pkg_resources.DistributionNotFound: The 'pip==20.0.2' distribution was not found and is required by the application

If I manually run pip3 install pip setuptools then I get Requirement already satisfied  ergo it is already installed

apt-get install python3-pip

if you see my post you'll see I am running pip3 commands, ergo it is already installed


markdown checkboxes not working

runme says it supports standard .md out of the box. but it doesnt render checkboxes. - [ ]  --- what is the def. of standard markdown? theres no link in the documentation - ref: https://docs.runme.dev/usage/runme-extensions#supported-file-extensions

Repeating what was said on Discord here:

I believe, checkboxes are part of GitHub-flavor markdown which isn't actually the standard. That being said, I/we understand how widespread it is.
To answer your original question, foundational, we rely on VS Code's choices for markdown rendering:
https://code.visualstudio.com/docs/languages/markdown#_does-vs-code-support-github-flavored-markdown
it's targeting CommonMark via the markdown-it library: https://github.com/markdown-it/markdown-it

We will add this to the docs. We are keeping this ticket open to look into making checkboxes available.

Right on! sounds good to me... What thought i had was that as your docs say the .md and .mdx are supported, if there's flexibility on the .mdx side to render alot more things as it was created for making components in markdown i believe - mdx


Cop idea: avoid destructive method call for Rails.application.secrets

Is your feature request related to a problem? Please describe.
The following code may cause unexpected behavior and lead to a hard-to-find bug.
For example, if you are dynamically registering a CORS origin by using the secret and the operation is performed elsewhere, the request will no longer be accepted after that.
Rails.application.secrets.foo << 'bar'

So, it would be nice to have a cop that can detect and avoid this.
Describe the solution you'd like
Add cop to detect dangerous operation for Rails.application.foo.

I imagine it would be difficult to account for all possible destructive/mutable methods.
It might be safer to recursively .freeze all Rails.application.secrets in an initializer somewhere.

I will close this proposal because I generally agree with @vlad-pisanov's opinion overall. Thank you.

Thank you both!


Source file for the case

Terrific project, thanks
Hey @LeJokester any chance we can get a step file || onshape link || fusion360 to do remixes of the case?
I would like to hook it somehow under the display and use it 'upside down'.
I could not find the model on printables or thingiverse.
Best

Glad you like it! I added the case model as step and fbx files, I hope that helps :)

Great, thanks!


bug(node): unable to build locally via yarn

LanceDB version
main
What happened?
If you try to install the dependencies via yarn, it asks to specify a version of @lancedb/<triple>.
This appears to be due to the fact that the binaries are specified in the main package.json.
the optionalDependencies section is traditionally added as part of the release process.
some examples:

nodejs-polars
snappy
blake-hash

Are there known steps to reproduce?
git clone https://github.com/lancedb/lancedb.git
cd lancedb/nodejs
yarn

If i use npm install instead, it updates the package-lock.json to include the latest published binary instead of using the local binary.


Buffer overflow in nethuns_flush_netmap

Hello, I believe I've discovered a possible buffer overflow bug in the nethuns_flush_netmap function.
I hope this helps and I'm open to discuss the details.
Problem
In file src/nethuns/sockets/netmap.c, at line 381 a new array of uint32_t items is allocated with a capacity of s->p->last_tx_ring - s->p->first_tx_ring + 1.
prev_tails = alloca((s->p->last_tx_ring - s->p->first_tx_ring + 1) * sizeof(*prev_tails));

In the following for cycles (line 384 and line 413)  the prev_tails array is accessed using the counter variable i, which is initialized at s->p->first_tx_ring.
// try to push packets marked for transmission
for (i = s->p->first_tx_ring; i <= s->p->last_tx_ring; i++)
{
    ring = NETMAP_TXRING(s->p->nifp, i);
    prev_tails[i] = ring->tail; // <= BUG
    // ...
}

// cleanup completed transmissions: for each completed
// netmap slot, mark the corresponding nethuns slot as
// available (inuse <- 0)
for (i = s->p->first_tx_ring; i <= s->p->last_tx_ring; i++)
{
    uint32_t scan, stop;
    ring = NETMAP_TXRING(s->p->nifp, i);

    stop = nm_ring_next(ring, ring->tail);
    for (scan = nm_ring_next(ring, prev_tails[i]); scan != stop; // <= BUG
            scan = nm_ring_next(ring, scan))
    {
         // ...
    }
}

The array prev_tails should be accessed starting from the position 0, but instead it's accessed starting from the position s->p->first_tx_ring.
If s->p->first_tx_ring is larger than 0, this would eventually lead to a buffer overflow when the counter becomes bigger than the allocated size of the array (s->p->last_tx_ring - s->p->first_tx_ring + 1).
Proposed solution
Shift down the index used to access prev_tails, so that the first accessed position in the cycles is the position 0 instead of position s->p->first_tx_ring.
Line 387
prev_tails[i - s->p->first_tx_ring] = ring->tail;

Line 419
for (scan = nm_ring_next(ring, prev_tails[i - s->p->first_tx_ring]); scan != stop;

@giuseppelettieri perfect, I've opened a new pull request with the proposed fix (#9)

Fix merged, I'll close the issue


Experience browsing new tweets is diminished with tile view

It's not as easy to browse the new tweets anymore -- most of the new ones have a "preview" gif, and clicking between them is slow.

That's a fair comment. It's worth noting that there are two placeholder images, one for generation in progress and another for generation failed. Robert's were triggering the second one due to their intense looping.
I'll see what I can add in terms of easing naviagtion between the tweets.


Report font color

@dutu
Could you please change report font color to something else? it's kinda unreadable if the background is black (see screenshot attached)
https://www.dropbox.com/s/hroeu1vihg55nhs/Screenshot 2017-06-19 22.42.55.png?dl=0
Thank you.

@stranger29, would it be possible for you to change the background color of your console? Various people are using various background colors and it'll be a bit difficult to find colors to fit.

@dutu
Sure, I could definitely change it, but black  is used widely as a background color, I would say that  by default all mac users and windows putty/securecrt users have black background

changed in version 0.10.0. Let me know if acceptable

Thanks, much better now !


GeoEvent, local geofencing and tracking simulator

Hi, please make some sample with GeoEvent, local geofencing and  tracking simulator. For example if point comes to polygon, user gets notification about it, if he left the polygon, he gets notification again.
It would be very helpful.

Thanks @urbutisj We have a Local Geofence demo in this repo.

Thanks for reply @doneill . How about other samples ? GeoEvent and track simulator. I explained these here: https://geonet.esri.com/thread/195974-maybe-someone-knows-how-to-solve-these-three-tasks
I really need the samples for that...

@urbutisj I commented in the GeoNet post.  We can continue the conversation over there.  Please feel free to submit a samples request issue here if you like, be specific about your expectations if you choose to do so.

@doneill I replied on Geonet, but didn't get any answer. Could you make the Geofencing sample for Quartz version ? Thanks!

@urbutisj Yes, I can't provide a timeline but we will be updating geofencing demo to v100.x.x.

Thanks ! :)


The extra comma removal is spot on :). The semi-colons, however, are actually unnecessary, and to keep in line with StandardJS coding style, we prefer to not  have them.  Apply those changes, and we're good to merge!

Please reopen if you'd like to make the suggested changes :)


requirements.txt is missing from PyPI source tarball

requirements.txt is required by setup.py, but it's missing from the PyPI source tarball, which leads to the following when trying to install arboreto 0.1.6 from source:
    Running command python setup.py egg_info
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/eb-hq4sf4y2/pip-req-build-q_upe322/setup.py", line 17, in <module>
        install_requires=read_requirements('requirements.txt'),
      File "/tmp/eb-hq4sf4y2/pip-req-build-q_upe322/setup.py", line 4, in read_requirements
        with open(fname, 'r', encoding='utf-8') as file:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'

Same issue here!

I am also running into that issue when trying to install from github


Backup and restore - any expected issues?

Just a quick question. If I store the encoded strings in a database, can you foresee any problems with a typical Db backup and restore process, vis-a-vis the hidden characters you are using? For example, dumping a csv or sql file and reloading it?
Indeed & more basically, can you foresee any problems storing the encoded strings in a db text field?

I did some testing. Exporting data with encoded strings from a MS SQL db to a csv and an Excel, the encoding is preserved on export, and on re-import after clearing the relevant fields in the db.
Looking at the exported csv in a text editor, one can't see the hidden chars, but they are there if you copy the string, then use the steganographer API to decode. Same test works with Excel, except, there's a visual artifact in Excel that, when you double click on the cell containing the encoded data, Excel visually splits the string, so that it looks like something's somehow off with the string in that particular cell. See the screenshot below.
So I assume the answer to the question is "it depends" on whether the db has its code page set up correctly, and any script you're using to export or import can support "all unicode" or not.

Yeah, you pretty much hit the nail on the head here. "It depends" is going to be the answer to a ton of stuff when it comes to these more rarely used Unicode characters. What you've noticed in Excel can be seen elsewhere, including right here in GitHub where you can have a string like "There's a message hidden here." and nobody could tell there's anything hiding in there at a glance (though the red-lined squiggly spell check indicator just activated on the word "message", which contains the hidden chars), but if you wrap the same string in code Markdown syntax the hidden stuff is exposed, like this: "There's a message hidden here." Then you can run into the opposite problem, where in some contexts the invisible characters are stripped out of things entirely (within systems that don't know how to handle them, or that have databases that aren't set up to properly store those characters). This is exactly the kind of stuff that should be documented in the wiki that I'm going to set up soon (at your suggestion).
But back to the original question about databases: as you found, everything will be fine as long as the database is configured to tolerate the kind of encoding that's used within the hidden characters. I don't have much experience with MS SQL, but I know in MySQL it's just a matter of defining a collation that supports multibyte encoding. Since you work with Japanese content, I'm guessing your database is already good to go on multibyte stuff. I think most databases handle multibyte stuff just fine by default (though I've found that trying to store emoji in MySQL can be kind of tricky since some emoji characters are, like, multi-multi-byte and need a more specific collation... but that's another story entirely.)

Thanks for the detailed answer, confirming my suspicions (there's always something lol). For my use case, everything seems to be working as expected including backup and restore, and in Japanese to boot. There's a lot of moving parts, but it's really useful tech. :-)

FYI, an update. Besides my self-tests, I asked support at the provider whose platform we use for building business apps if they had any comment on using the characters:

WORD JOINER (U+2060)
ZERO WIDTH SPACE (U+200B)
ZERO WIDTH NON-JOINER (U+200C)
ZERO WIDTH NON-BREAKING SPACE (U+FEFF)

... with regard to general UI ops, or backup and restore.
They said:

We indeed do certain "normalization". All forms of line feed, such as U+000D, U+000A, U+2028, U+2029 are all translated to U+000D U+000A pairs.
Spaces, such as U+00A0, U+1680, U+2000 to U+200A, U+202F, U+205F, U+3000 are translated to ASCII white space U+0020.
Control characters in range U+0000 to U+001F, U+007F, and U+0080 to U+009F except for line breaks and tab (U+0009) are removed.
The rest is stored in the database intact.
Neither U+2060, nor U+200B and U+200C are the subject of normalization.

I followed up about U+FEFF, and they said:

We do not normalize it, but in fact U+FEFF has a limited use: It should appear in the beginning of text files to indicate the file contains UTF-16 characters, and just that.

I know you added the U+FEFF bullet in a recent commit. Given the above comment, do you think it will be a problem?

It shouldn't be a problem. The character is often referred to as the "byte order mark" and there's a convention of using it in the way that your provider stated, but it's still a perfectly valid character and can be used anywhere (it just isn't really useful anywhere, since it's invisible). But in Steganographr's context, it's very useful. 😄
The tricky thing here is that there’s a very limited number of "invisible" whitespace characters that Steganographr could use. There are only five standard unicode characters that do not produce any visible output (and that aren't control characters or other characters that can't really be included in text), and until adding U+FEFF I was using three of them. After U+FEFF, there's only one left, but fortunately I don't think there are any other scenarios in which the encoding process would need to rely on any additional invisible characters. (Though in all fairness, I was equally confident prior to your discovery of what I'm calling the "accidental binary conflict".)

I will try to stay away from any more edges, lol 😆

No, by all means keep them coming! This is exactly the way that projects like these become stronger and more resilient.

No problem; I just can’t resist a good edge. :-)


Bug: Invalid library section ID %d passed to Plex

Describe the Bug
When adding the collection to Plex, Plex Meta Manager fails with the following in the log:
plexapi.exceptions.BadRequest: (500) internal_server_error; http://<IP_ADDRESS>:32400/library/sections/None/all?collection%5B0%5D.tag.tag=The+Bourne&collection.locked=1&id=799&type=1 <title>Internal Server Error</title>
500 Internal Server Error

In Plex logs I can see the following:
Nov 23, 2021 18:10:08.169 [0x1481c0bb6b38] DEBUG - Request: [<IP_ADDRESS>:35910 (Allowed Network (Subnet))] PUT /library/sections/None/all?collection%5B0%5D.tag.tag=The+Bourne&collection.locked=1&id=799&type=1 (6 live) GZIP Signed-in Token ()
Nov 23, 2021 18:10:08.170 [0x1481c0bb6b38] ERROR - FATAL ERROR: Log: Error handling format string 'Invalid library section ID %d passed.': invalid type specifier
Nov 23, 2021 18:10:08.170 [0x1481c0bb6b38] ERROR - Exception handled: Log: Error handling format string 'Invalid library section ID %d passed.': invalid type specifier
Nov 23, 2021 18:10:08.170 [0x1481c2f40b38] DEBUG - Completed: [<IP_ADDRESS>:35910] 500 PUT /library/sections/None/all?collection%5B0%5D.tag.tag=The+Bourne&collection.locked=1&id=799&type=1 (6 live) GZIP 0ms 405 bytes (pipelined: 437)

Relevant Collection Config
templates:
  Collection:
    optional:
      - collection
      - movie
    tmdb_collection_details: <<collection>>
    tmdb_movie: <<movie>>
    sync_mode: sync
    collection_order: release
  Chart:
    sort_title: +1_<<num>><<collection_name>>
    sync_mode: sync
    smart_label: random
  Best of:
    trakt_list: https://trakt.tv/users/lish408/lists/rotten-tomatoes-best-of-<<year>>
    sort_title: +1_Best of <<year>>
    sync_mode: sync
    summary: Rotten Tomatoes Best Movies of <<year>>
    smart_label: audience_rating.desc
collections:
(...)
  The Bourne:
    template: {name: Collection, collection: 31562}

Plex Meta Manager Info

Version: 1.12.2-develop1115

Link to logs (required)

https://gist.github.com/MartinCa/4a42df6e60bda336a90c36900023196d

can you update your requirements im seeing a lot of weird errors in your log coming from the plexapi module so i think it needs updating

I am using the docker, and I just tried the develop tag with no changes.
My requirements file contains the following:
 cat requirements.txt
PlexAPI==4.8.0
tmdbv3api==1.7.6
arrapi==1.2.3
lxml==4.6.4
requests==2.26.0
ruamel.yaml==0.17.17
schedule==1.1.0
retrying==1.3.3
pathvalidate==2.5.0
pillow==8.4.0

what version of PMS are you using? docker should auto install requirements

My PMS is version <IP_ADDRESS>46.

try getting a new plex token also try refreshing the media that its failing on

Thanks so much.
It seems I must have entered a bad token or something since it works with a new token. Weird that it was able to do some stuff.

sometimes plex does weird things with tokens lol idk but I'm glad it fixed the issue


Feature/signadyne driver

Adds drivers for the Keysight AWG and Digitizer PXIe cards (series M32/M33xxA).
Changes proposed in this pull request:

Add general Keysight SD_Module, SD_AWG and SD_DIG drivers
Add specific M3201A and M3300A card drivers
Add test suites for the above drivers

@giulioungaretti @WilliamHPNielsen @maij

@jenshnielsen aka master of sphinx. How do we solve the build issue here?
In other drivers we raise a warning, instead of re raising the exception. Maybe we should to the same here ?

The tests in test_suite.py need to be skipped if the keysight module is not installed.
I would suggest
import unittest
try:
    from .M3201A import Keysight_M3201A
    from .M3300A import M3300A_AWG
    from .SD_common.SD_Module import SD_Module
except ImportError:
    pass
    SD_Module = None
    Keysight_M3201A = None
    M3300A_AWG = None

changing the import to catch any import errors and then decorating the test classes with
@unittest.skipIf(not SD_Module, "SD_Module tests requires the keysightSD1 module")

Alternatively you can catch the ImportError and raise a unittest.SkipTest in the exception handling but then the tests are not counted correctly by pytest.
To make sure the documentation builds without the keysight module you should add it to autodoc.mock_import here https://github.com/QCoDeS/Qcodes/blob/master/docs/conf.py#L387

@lgnjanssen  see  suggestion from @jenshnielsen (with which I totally agree)
and @lgnjanssen  super contribution! Thanks


settings(): Return value must be of type string, array returned

Hello,
I updated today the to the version 1.1.0 and nothing works anymore 😉
The nova backend show only empty values and on the frontend I get the error message:
settings(): Return value must be of type string, array returned
I guess that happens because the settings function want a string return value
https://github.com/stepanenko3/nova-settings/commit/b0d0ba0fca3c3e4f8bbc7c94df4913e74769f077#diff-7827dcf8c28ba9d97397f03b4ca75c132540f5c377e253fbc47ef064a373ce73R11
The thing is, that I created now a new class with only text fields and can't get these value as well 😞
dd(settings('test'));
<?php

namespace App\Nova\Settings;

use Laravel\Nova\Fields\Text;
use Stepanenko3\NovaSettings\Types\AbstractType;

class Test extends AbstractType
{
    public function fields(): array
    {
        return [
            Text::make('This is a test', 'test_value'),
        ];
    }
}

Currently, I'm downgraded to version 1.0.7 and everything work as aspected.
Best
didiatworkz

Hi, @didiatworkz
Fixed in https://github.com/stepanenko3/nova-settings/releases/tag/v1.1.1

For the frontend, yes - But for the backend (nova admin) not.
All values are null:

Nothing has been changed, really :/


Bugfix in AssetMinter

Description
Questions:
The catalystsQuantities[ ] param in mintMultiple(...

Is it meant to hold 4 values representing the 4 (currently) valid catalystIds, ie: [amountOfId1, amountOfId2, amountOfId3, amountOfId4]?
or, is there meant to be padding in this array at the 0-index, such that the catalyst id can be found at the index of the same value. ie: [0, amountOfId1, amountOfId2, amountOfId3, amountOfId4]
I'm now thinking that it's the latter case.

Edit: Just found this doc, which I'm reviewing now: https://docs.google.com/document/d/1FMjAn1AFpVxQn3CyK2TGpYnXjZfVUgkcYOvyt2kIZuI/edit#heading=h.si0qum2y9ya0

Checklist:

[ ] Pull Request references Jira issue
[x] Pull Request applies to a single purpose
[ ] I've added comments to my code where needed
[ ] I've updated any relevant docs
[ ] I've added tests to show that my changes achieve the desired results
[x] I've reviewed my code
[ ] I've followed established naming conventions and formatting
[x] All tests are passing locally

One other place which I need to understand better is this line from _checkGemsQuantities:
require(gemsQuantities[gemIds[i]] != 0, "INVALID_GEMS_NOT_ENOUGH");
if gemsQuantities is [2, 0, 1, 0, 5], and gemIdsfor the current asset is [1, 1],
then when i == 0, gemsQuantities will a;so evaluate to 0, causing the execution to revert.
https://github.com/thesandboxgame/sandbox-smart-contracts/blob/4e100c4597b19a02bf3d59b4e23536030ecf129c/src/solc_0.7/catalyst/AssetMinter.sol#L131

One other place which I need to understand better is this line from _checkGemsQuantities:
require(gemsQuantities[gemIds[i]] != 0, "INVALID_GEMS_NOT_ENOUGH");
if gemsQuantities is [2, 0, 1, 0, 5], and gemIdsfor the current asset is [1, 1],
then when i == 0, gemsQuantities will a;so evaluate to 0, causing the execution to revert.
https://github.com/thesandboxgame/sandbox-smart-contracts/blob/4e100c4597b19a02bf3d59b4e23536030ecf129c/src/solc_0.7/catalyst/AssetMinter.sol#L131

hey chiming in, just quick, did not look deeply at it so there might be issues but in case there is misunderstanding the gemsQuantities is an array where the index is the gemIds and not an array of gemIds (that would need to be accompanied with a array of values)
This is used for optimization purpose

hey chiming in, just quick, did not look deeply at it so there might be issues but in case there is misunderstanding the gemsQuantities is an array where the index is the gemIds and not an array of gemIds (that would need to be accompanied with a array of values)
This is used for optimization purpose

Closing as this is not a bug, but rather a misunderstanding of the data input format.


SRAM size configurations aren't always consistent

So... I'm trying to productize a new heap test, and would like to size appropriately it to available memory.  We have a legacy CONFIG_SRAM_SIZE value, and a newer DT_SRAM_SIZE one.  There doesn't seem to have been any attempt to keep these synchronized.  Some platforms use one, some the other, some neither.  At least nothing seems to be exposing inconsistent numbers.
Check this with a hack to hello_world:
--- a/samples/hello_world/src/main.c
+++ b/samples/hello_world/src/main.c
@@ -9,5 +9,19 @@

 void main(void)
 {
-       printk("Hello World! %s\n", CONFIG_BOARD);
+       printk("Hello World! %s:", CONFIG_BOARD);
+
+#ifdef CONFIG_SRAM_SIZE
+       printk(" CONFIG_SRAM_SIZE %d", CONFIG_SRAM_SIZE);
+#else
+       printk(" CONFIG_SRAM_SIZE ??");
+#endif
+
+#ifdef DT_SRAM_SIZE
+       printk(" DT_SRAM_SIZE %d", DT_SRAM_SIZE);
+#else
+       printk(" DT_SRAM_SIZE ??");
+#endif
+
+       printk("\n");
 }

And run it:
$ scripts/sanitycheck -T samples/hello_world
$ find sanity-out -name handler.log | xargs cat | grep SRAM_SIZE
Hello World! native_posix_64: CONFIG_SRAM_SIZE ?? DT_SRAM_SIZE ??
Hello World! native_posix: CONFIG_SRAM_SIZE ?? DT_SRAM_SIZE ??
Hello World! qemu_x86: CONFIG_SRAM_SIZE 4096 DT_SRAM_SIZE 4096
Hello World! qemu_x86: CONFIG_SRAM_SIZE 4096 DT_SRAM_SIZE 4096
Hello World! qemu_nios2: CONFIG_SRAM_SIZE 128 DT_SRAM_SIZE 128
Hello World! qemu_riscv32: CONFIG_SRAM_SIZE ?? DT_SRAM_SIZE 16
Hello World! qemu_x86_64: CONFIG_SRAM_SIZE 8192 DT_SRAM_SIZE ??
Hello World! qemu_x86: CONFIG_SRAM_SIZE 4096 DT_SRAM_SIZE 4096
Hello World! mps2_an385: CONFIG_SRAM_SIZE 4096 DT_SRAM_SIZE 4096
Hello World! qemu_xtensa: CONFIG_SRAM_SIZE ?? DT_SRAM_SIZE 65536

We need to decide on one mechanism, implement it, and have the legacy one either deprecated or driven from the value of the other.  As is, this is sort of a mess.

For native_posix what would you like reported? :)

Something reasonable; personally I'd go with something relatively constricted to match existing hardware, maybe 4M or something.  But the point is that if the values are going to work they need to be universally exposed so that anyone can guess at an answer to the question "will my thing fit?".  The work involved to do this right now is sort of a mess.

So I think this are kinda in sync, its more that some platforms don't use CONFIG_SRAM_SIZE at all.
Right now we define it for ARC || ARM || NIOS2 || X86 || X86_64 and get it from DTS.  So its the fact that NATIVE_POSIX, XTENSA, and RISCV do they're own thing for memory is the issue.
https://github.com/zephyrproject-rtos/zephyr/blob/master/arch/Kconfig#L95

Is this still an issue?

@andyross any updates if this is still an issue.  I think this is more an enhancement to have a unified scheme for conveying what memory is (and what flash / code storage is).

@andyross ping

Closing this for now, @andyross feel free to re-open if you feel like this is still an issue.


test branch

asdf

/meow

/meow

/meow

/bark

/meow

/bark

/meow

/bark

/bark

/meow

/meow

@PetarTodorovv:

In response to this:

/meow

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/bark

@PetarTodorovv:

In response to this:

/bark

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/meow

@PetarTodorovv:

In response to this:

/meow

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/retest

/retest

/bark

/joke

@PetarTodorovv: I was going to learn how to juggle, but I didn't have the balls.

In response to this:

/joke

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/meow

@PetarTodorovv:

In response to this:

/meow

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/test

/bark

@PetarTodorovv:

In response to this:

/bark

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


May I know where is the checkpoint getting saved?

I dont see anywhere that the checkpoint is getting saved and while resuming the training, I am getting an error that "size mismatch for model.temporal_model.model.1.aggregation.0.conv.weight"

Hi,
The weights are saved in fiery/tensorboard_logs by default. You can change this folder by modifying the LOG_DIR field in https://github.com/wayveai/fiery/blob/master/fiery/config.py
Have you changed the size of the temporal model while resuming traning?

I am able to see only events.out file and yaml file in logs. I don't see any ckpt or meta file getting saved.

got it thank  you so much. somehow my default folder is not being created.


Rewrite everything with async_await

Since async_await feature is merged now to Rust nightly and going to be published as part of 1.39 version, it is time to RIIAA (Rewrite It In Async-Await)!
It would be nice to publish the finished version right after the 1.39 release.

Closed by 607c461d13e5404cc3c7793ca3499839e9d855e1..421e5997659877320bc911177bccffc43cba92c4 commits


error: 'AsyncImageView' is ambiguous for type lookup in this context

When using AsyncImageView 1.5.1 and Spring, both as pods in a Swift project, the following compile-time error occurs:

error: 'AsyncImageView' is ambiguous for type lookup in this context
    @IBOutlet weak var myvariable:AsyncImageView!
                                  ^~~~~~~~~~~~~~
AsyncImageView.AsyncImageView:1:29: note: found this candidate
@objc(AsyncImageView) class AsyncImageView : UIImageView
                            ^
Spring.AsyncImageView:1:13: note: found this candidate
@objc class AsyncImageView : UIImageView

The traditional tool to fix such problems is separate namespaces, but there are no namespaces.
Based on similar problem https://github.com/Haneke/HanekeSwift/issues/147 and instructions in https://github.com/raywenderlich/swift-style-guide#class-prefixes or http://stackoverflow.com/questions/24214863/swift-class-prefix-needed, I tried to prefix the type specification like this:
@IBOutlet weak var myvariable:AsyncImageView.AsyncImageView!

but it produced the exact same error message.
How to use both pods in a project ?

I tried to reproduce this error with the following configuration without any issues:

Xcode 6.4 / SDK 8.4
Swift Project
CocoaPods 0.37.2
Podfile:

use_frameworks!
pod 'Spring', '~> 1.0'
pod 'AsyncImageView', '1.5.1'

Were you able to fix the error in the meantime?

Thank you for your test and reply. Our investigations were misguided by some prior problems with pods in multi-target environment. We noticed that some other dependency brought another incompatible class named AsyncImageView in the same scope. That seems to be the actual cause. Problem solved. Thanks.

My pleasure. Glad it's working now! :+1:


Support for Aliases

https://graphql.org/learn/queries/#aliases

Aliases does not seem to be supported, e.g.:
empireHero: hero(episode: EMPIRE) {
    name
}

should respond empireHero but hero is returned.
Thanks 🙏

@MathieuDebit alias are supported: https://codesandbox.io/s/z66j079qn3
Can you please elaborate on what made us think that alias is not supported?

Closing this due to inactivity, feel free to reopen :)


Feature request: Run original command after updating

Small request: When I run a platform command and it finds a new version, it will ask if I want to update. Fine.
But it would be nice if after updating, it ran the original command I asked for instead of just updating and exiting.

Tricky, because of how it updates. If the Phar is replaced after PHP has opened it, and then you try to do something like load a class or internal file (as many commands do), PHP will instead load some completely different section of the Phar. Leads to very weird errors.
The other solution would be to replace the Phar at the end of execution, say, on a __destruct() call. That could be doable.
Meanwhile you could adjust the interval between automatic update checks (default is 24h) using ~/.PLATFORMSH/config.yaml, or you could just say no to the prompt occasionally - it will remind you again the next day anyway.

I think it's funny this was rejected, and then happened anyway with PR #529 :)
Anyway, thanks for making it happen! I appreciate it.

Sometimes arguing with me works :) thanks for noticing and closing the issue!


Set-SPOMultiGeoExperience - No synopsis, description and example given

This CmdLet lacks

a correct synopsis
description
parameter descriptions
an example

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

ID: df68eb5b-d8b9-f8fa-7434-dfec6b5c456c
Version Independent ID: 39bfe65b-ae44-2d4b-18ed-c30a404d6d4f
Content: Set-SPOMultiGeoExperience (sharepoint-online)
Content Source: sharepoint/sharepoint-ps/sharepoint-online/Set-SPOMultiGeoExperience.md
Service: sharepoint-powershell
GitHub Login: @trent-green
Microsoft Alias: trgreen

@officedocsbot assign @yogkumgit


targeted metadata broken with uperf - maybe more?

Describe the bug
targeted metadata collection is not working... It doesn't even attempt to execute.
workaround
Disable targeted to get metadata.

I confirmed this with uperf only. When i tested it with fio it worked as expected.


Feat/text column formatting

Closes #278
Adds the property StringFormat to TextColumnOptions. This new option allows us to specify a custom string format for each cell, without needing to use TemplateColumns.

Opened as draft to invite devs to post any comments/changes. I still need to add to the current tests.

@dotnet-policy-service agree

Ready for review!

Fixed by #283


set functionality is not working in IE browser version 11 for text_field

I am trying to login to a page having the below html code
`
<form action="/cs/oss_login.html" name="loginForm" method="post">
    <input type="hidden" value="http://testpage.com/" name="test_redirect">

Login to OSS

    <input type="text" placeholder="Username" maxlength="32" value="" name="test_UserName" class="login-input">
    <input type="password" placeholder="Password" maxlength="20" value="" name="test_Password" class="login-input">
    <input type="submit" class="btn" value="Login" name="oss_Login">
</form>

Access to this page is restricted to authorized employees and contractors of Tested
. If you need access (or additional access), please contact your manager.
`
My ruby watir code to login is as below
`if (browser.name.to_s == 'internet_explorer' and browser.a(:id=>'overridelink').exists?)
browser.a(:id=>'overridelink').when_present.click
end
        browser.wait_until(60){
            browser.div(:class, 'login-container').present?
        } rescue nil

        browser.text_field(:name, 'test_UserName').when_present.set('abc')
        browser.text_field(:name, 'test_Password').when_present.set('abc123')

        browser.button(:value, 'Login').when_present.click`

This code sets the text field with values in chrome and firefox, but it fails to insert text incase of IE11.
I am using the below setup
IE version 11
Selenium webdriver 2.53.1
watir (5.0.0)
watir-webdriver(0.9.3)
Also note this issue is seen only when I am running the selenium hub and node in the background.

Can you please provide a test script that we could run to debug the problem? I'm pretty sure that might be Selenium bug, but let's take a look first.

@ambikashri if this is still an issue please provide reproducible test case or at least logs (Selenium::WebDriver.logger.level = :info), and we can reopen.


Neovim highlights and injections

Hey,
Thanks for doing this once again. After messing around with this parser I finally got it to work a bit. For one, I struggled with the filetype at first, turns out I had to add it to neovim. After that I couldn't get highlighting to work, but I figured that out too.
Here's what I put in my init.lua, which is the starting point for most nvim configurations.

-- add filetype
vim.filetype.add({
  pattern = {
    ['.*blade.php'] = 'blade'
  }
})

-- tell neovim about blade parser.

local parser_config = require "nvim-treesitter.parsers".get_parser_configs()
parser_config.blade = {
  install_info = {
    url = "~/Code/tree-sitter-blade", -- local path or git repo
    files = {"src/parser.c"}, -- note that some parsers also require src/scanner.c or src/scanner.cc
    -- optional entries:
    branch = "main", -- default branch in case of git repo if different from master
    generate_requires_npm = false, -- if stand-alone parser without npm dependencies
    requires_generate_from_grammar = false, -- if folder contains pre-generated src/parser.c
  }
}

This resulted in having two things working, Neovim understanding that .blade.php files are of the blade filetype, and the :InspectTree command from seeing the things that are in the parser you wrote.
After that, highlighting. Couldn't get it to work at all, but when I copied the contents of highlights.scm and injections.scm to ~/.config/nvim/queries/blade/{highlights,injections.scm} I finally reached a point where things started working.
The contents of ~/.config/nvim/queries/blade/highlights.scm are
(directive) @function
(directive_start) @function
(directive_end) @function
(comment) @comment

And the contents of ~/.config/nvim/querie/blade/injections.scm are
((html) @injection.content
    (#set! injection.combined)
    (#set! injection.language html))

; ((php) @injection.content
    ; (#set! injection.combined)
    ; (#set! injection.language php))

; directive parameters
; ((parameter) @injection.content
    ; (#set! injection.language php))

Which results in the screenshot below. If I enable php, things break a bit, same goes for the directive parameters bit.

Now, let it be clear. I don't know what I'm doing, so other Neovim users should definitely tell me what I'm doing wrong. For now, it kind of works, which beats all the blade experiences in Neovim before this one.

Hi @unansweredocd I am not a neovim user. However based on the fact that you face problems by enabling php injections, it might be very well due to #5.
Can you wrap your php injection points inside <?php x ?> like the following and feedback here?

@extend(<?php 'test' ?> )
{{<?php $user->name}} and so forth.

If so, I will merge this to #5 .
Unfortunately until the split parser is merged into the main branch of tree-sitter-php I would suggest withholding the php injection for time being.
Feel free to subscribe to both issues, so that you stay up to date with any new developments.

Ah perfect!
In the future for the parameters you need to add the following to the injections.scm as well. I realised in Nova it actually adds a nice syntax highlighting when you do that! Especially for loops and if_statements.
((parameter) @injection.content
    (#set! injection.language php))

The reason I kept this one separate is because in the php nodes, you could possibly do(#set! injection.combined), as technically all {{}} are in the same scope, unlike the parameters.
Although I am yet to test this, when the tree-sitter-php split parser is out, because in blade the semicolon is optional, so it might actually cause more syntax highlighting problems down the line when doing injection.combined
If that happens to be the case, I will just change all injection nodes to php for ease of use. 😜
I will close this for now so that we can follow the thread on #5


Overflow issue

So I figured out the issues I was having yesterday. I checked my sha1 against yours, and it matches perfectly with yours. Investigating further, I figured out that there was an integer overflow occurring in the addi instruction. I don't know why your rust didn't catch it, while mine did, but the code, pif, and rom are exactly the same.
In any case, I was forced to implement some small amount of overflow handling in #51. It might help anyone else out there who has the same issue. I'm not sure why rust was overflowing - I think it was because it was trying to add two u64's that represented negative numbers. Not sure if that means i64 would have been more appropriate, or i32, or whatever. I just implemented it bit-wise, checking for overflow manually.
Now that I think about it, I think my implementation breaks the 64bit-mode. I don't know. Thoughts?

I've left a comment with my thoughts on the PR.


Update WDL

All this time, I have been pulling Lily's script from this repo, but my WDL task from my own fork.

There's a newer version I'll PR instead.

Wait, this IS the newer version!


release libpdfium.a files

hi, I have tried 6 times to run build-pdfium,
but it's always going wrong
Can you release these libs to Github so that I can download, thx
the detail is below:
Downloading 1 files took 0.325647 second(s)
Error: Command 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-gn -s pdfium/buildtools/mac/gn.sha1' returned non-zero exit status 1 in /Users/changzhongwei/Github/peek/pdf/mobile-pdfium

I solved it

https://www.dropbox.com/s/5bds0rb8i0xklbs/pdfium-debug.zip?dl=0


Improve data tests.

@jmervine: this works apart from the timestamp.
Feel free to push any fix or propose any solutions.
Fixes #939.

@jmervine: I used mockdate and it seems to do the job.
Also note that I needed to add toString().

OK I changed to toISOString() so it should be the same as before.


[super_clipboard] Having issues implementing any type file copying

I've been trying to use super_clipboard to copy unspecific files, but I couldn't get it working
final item = DataWriterItem();
item.add(Formats.fileUri(File(filePath).uri));
await SystemClipboard.instance?.write([item]);

On Linux, and presumably on desktop, it just gives a weird file, although uploading on GitHub actually outputs  a valid file

On Android, it crashes and outputs this:
android.os.FileUriExposedException: file:///storage/emulated/0/Syncthing/LocalBooru/files/1000000065.jpg exposed beyond app through ClipData.Item.getUri()

I'm not sure what you trying to accomplish. Copying file URls to clipboard will work differently on each operating system. Also depends on whether the application that you paste into even supports file URLs in the clipboard. On Android this will likely not work at all because of sandboxing.
What exactly is a "weird file"?

Sorry for the late response! basically i am trying to copy a file to the clipboard that I don't know its extension.
Either way, do you recommend any way to copy to clipboard a local file? I was trying a few solutions but they don't seem to work well, or fail on the weird Discord bug that I showed

Also forgot to inform what did I meant with weird file. When I tried to copy with whatever implementation I had and pasted it on an application like Discord, it would give the result that I've shown on image. I also tried to paste on the a GitHub issue writer (where you write the issue, idk if it even has a name) and the file was able to load. I was confused in some way

Also forgot to inform what did I meant with weird file. When I tried to copy with whatever implementation I had and pasted it on an application like Discord, it would give the result that I've shown on image. I also tried to paste on the a GitHub issue writer (where you write the issue, idk if it even has a name) and the file was able to load. I was confused in some way

On a second thought, this may have been caused due to sandboxing on Flatpak applications, since on Linux systems it copies as a file path. I may gonna test it out better using Formats.jpeg or something. Unless you have  a different solution

After doing some testing, apparently it only copies .png files on Linux. Is that intentional or a Linux fluke?

You can write anything in the clipboard - important thing is what the target application supports. If application that you're pasting into only supports PNG then only PNG will work.

forgot to reply but it seems to copy images now. imma test videos whenver i implement on my application. as of now i'll close this

i've found out that copying videos does not work, at least on linux. doing item.add(Formats.mp4(await File(image.path).readAsBytes())) does not result in a video copied.
for GIFs, it just yeets a static image

the same behavior can be observed for dragging and dropping


feat: LEAP-452: FE Repo Modernization / Monorepo

PR fulfills these requirements

[x] Commit message(s) and PR title follows the format [fix|feat|ci|chore|doc]: TICKET-ID: Short description of change made ex. fix: DEV-XXXX: Removed inconsistent code usage causing intermittent errors
[ ] Tests for the changes have been added/updated (for bug fixes/features)
[ ] Docs have been added/updated (for bug fixes/features)
[x] Best efforts were made to ensure docs/code are concise and coherent (checked for spelling/grammatical errors, commented out code, debug logs etc.)
[x] Self-reviewed and ran all changes on a local instance (for bug fixes/features)

Change has impacts in these area(s)
(check all that apply)

[ ] Product design
[ ] Backend (Database)
[ ] Backend (API)
[x] Frontend

Describe the reason for change
The proposed change involves transitioning LabelStudio's frontend code from a multi-repository structure to a single mono-repository. This shift aims to simplify the existing setup by consolidating various repositories into one focused mono-repo. The orchestration and tooling of this new structure will be efficiently managed by NX.dev, a platform well-suited for mono-repo architectures. This move is expected to streamline development processes, reduce the need for repetitive tasks and complex configurations, and significantly lower the maintenance burden. Overall, this transition is designed to enhance the efficiency and manageability of LabelStudio's frontend codebase.
What libraries were added/updated?
NX.dev
What alternative approaches were there?
One viable alternative approach for managing the frontend codebase was to utilize Turborepo, a modern build system optimized for JavaScript and TypeScript environments, especially in mono-repository contexts. However, following extensive discussions and collaborative deliberations with the entire frontend team, the decision was ultimately made to adopt NX.dev. This choice was based on a thorough evaluation of both platforms, considering various factors such as functionality, team familiarity, integration capabilities, and overall alignment with LabelStudio's project goals and long-term development strategy.
Does this PR introduce a breaking change?
(check only one)

[ ] Yes, and covered entirely by feature flag(s)
[ ] Yes, and covered partially by feature flag(s)
[ ] No
[ ] Not sure (briefly explain the situation below)
[x] Yes, and covered by env variable. To make the monorepo works you must set ENABLE_MONOREPO_ENV=1

/git merge develop

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/docker build

/git merge develop


Title of repo changes when switching branches

Coverage increased (+0.04%) to 79.924% when pulling ac66eb8dc9ad9bd414fa26bc143c0d8f58bad24d on change-title-branch-switch into 9f3eaf61fd8a8d5e9ea004778e7a9f44047fdd3a on master.


PWA tools for lighthouse

INSTALLABLE

Web app manifest or service worker do not meet the installability requirements

https://developer.chrome.com/docs/lighthouse/pwa/installable-manifest/?utm_source=lighthouse&utm_medium=devtools

PWA OPTIMIZED

Is not configured for a custom splash screenFailures: No manifest was fetched.
https://developer.chrome.com/docs/lighthouse/pwa/splash-screen/?utm_source=lighthouse&utm_medium=devtools

Does not set a theme color for the address bar.Failures: No manifest was fetched.

https://developer.chrome.com/docs/lighthouse/pwa/themed-omnibox/?utm_source=lighthouse&utm_medium=devtools

Content is sized correctly for the viewport

https://developer.chrome.com/docs/lighthouse/pwa/content-width/?utm_source=lighthouse&utm_medium=devtools

Does not have a  tag with width or initial-scaleNo <meta name="viewport"> tag found

https://developer.chrome.com/docs/lighthouse/pwa/viewport/?utm_source=lighthouse&utm_medium=devtools

Manifest doesn't have a maskable iconNo manifest was fetched

https://developer.chrome.com/docs/lighthouse/pwa/maskable-icon-audit/?utm_source=lighthouse&utm_medium=devtools

Image generetor


Some default profiles have a different effective default for useAcrylic than the JSON schema

Environment
Windows build number: Microsoft Windows NT 10.0.18362.0
Windows Terminal version (if applicable): 0.5.2681.0

Any other software? Applicable to this issue, no.

Steps to reproduce

Install Terminal (Preview) from Microsoft Store.
Start each of the default shells.

Expected behavior
All shells default to effectively ```"useAcrylic": false`.
Actual behavior
It varies. Windows PowerShell and PowerShell Core default to no acrylic. Cmd, Ubuntu, and Azure Cloud Shell default to use acrylic. If you edit settings and type "useAcrylic" for a profile, VSCode (or, I imagine, any software that supports JSON schema) adds "useAcrylic": false. If the default setting is false, then why do some profiles use it by default?

The default in the schema isn’t exactly a default, I learned: its more of a “what will a complying text editor automatically insert for you” (when talking about autogeneration of values). The default profiles are configured to provide a little bit of flair so users know what to expect from their options.

(just had a chat with the team: They agree with this assertion. I'm going to close this out.)


Passing index name to HEC from annotations & processing logs NOT sent to STDOUT

Attached set of configurations setup and executed in production @ Cisco include the following customizations:

integrating the kubernetes_metadata plugin to pull an annotation from Kubernetes API and populate as the index name for events going to HEC
processing logs NOT written to STDOUT.

CiscoModifiedSCK.zip

I have had asks from other customers to collab on rewriting a better meta plugin.
Let us know if you see any issues with the existing one!

@ahmed-kira can you give access to your config zip. How have you integrated the kubernetes_metadata plugin.

it has been implemented since 1.4.0. closing. thank you.


[VIRALs**] Anu Kanu Videos Original Video Anu Kanu Viral (++Video++) Anu Kanu Viral Full Video Clip Link

44 sec ago Anu Kanu Viral ʟᴇᴀᴋᴇᴅ ᴠɪᴅᴇᴏ Viral On Social Media. [𝕎𝚊𝚝𝚌𝚑✓VIDEO𝕊.!!] Anu Kanu Viral ᴠɪᴅᴇᴏ ʟᴇᴀᴋᴇᴅ Update On Social Media X Telegram
𝑾𝒂𝒕𝒄𝒉 🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅 𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄) 𝖶𝖺𝗍𝖼𝗁
🟢 ➤ ➤ ➤ 🌐 𝖢𝗅𝗂𝖼𝗄 𝖧𝖾𝗋𝖾 𝖳𝗈 𝗅𝗂𝗇𝗄 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺 𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇𝗄)
🔴 ➤► 𝖣𝖮𝖶𝖭𝖫𝖮𝖠𝖣👉👉 (𝖥𝗎𝗅𝗅 𝖵𝗂𝗋𝖺𝗅 𝖵𝗂𝖽𝖾𝗈 𝖫𝗂𝗇 𝗄)
Anu Kanu Viral's latest video has taken the internet by storm, sparking lively discussions across various social media platforms. The rising digital influencer, known for her captivating content—especially her recent Spiderman-themed video—has experienced a massive surge in popularity. Fans are eagerly awaiting the full version, while audiences flock to Instagram, X (formerly Twitter), and Discord to engage with her latest creation.
As excitement continues to grow, fans are actively sharing their thoughts online, highlighting the crucial role social media plays in propelling creators like Anu Kanu Viral into the spotlight. With her unique style and creative approach, she has made a significant impact on the digital scene, leaving fans excited for what’s to come next.


config.content_skip_filters

If you need to skip any before, after, around filters inherited from your main app on your content pages.

Thanks for the commit. But I wonder what is the use case for this?

In our case, we wanted all non-CMS content of our app to require login, and all CMS content to be open--with the exception of the admin section, of course. We needed a way to add a "skip_before_filter :require_user" to Sofa. This method seemed to work the best.  Does that help?

Wouldn't it be easier to just add a condition to that filter? like return if params[:controller] = 'cms_content'
I'd prefer doing that instead of messing with configs.


Uncaught ReferenceError: DeviceMotionEvent is not defined

To produce this problem:

use create-vite and choose vanilla-ts
install shake-detector
add this to main.ts

import ShakeDetector from 'shake-detector'

const shakeDetector = new ShakeDetector({}).confirmPermissionGranted();
shakeDetector.subscribe(() => {
  console.log('Shake detected!')
}).start();

npx vite --host and open a link from network (note: the local link works fine)

Then it will show the error in the console:
Uncaught ReferenceError: DeviceMotionEvent is not defined
    at new h (utils.ts:28:19)
    at new m (index.ts:41:30)
    at main.ts:13:23

When I try to click into the utils.ts:28, it shows another error message:
Could not load content for http://<IP_ADDRESS>:3001/node_modules/shake-detector/src/utils.ts (HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE)

Versions:
"typescript": "^4.5.4",
"vite": "^2.8.0"
"shake-detector": "^0.3.7",
OS: Manjaro Linux x86_64
Browser: Chrome

Hi Lomirus

Please try

npx vite --host --https
The DeviceMotionEvent event is available only in secure environments.

Thank you for reporting. Access to potentially undefined properties should be guarded. Published v0.3.8

Thanks, but how about giving more detailed information by checking the url protocol to inform user whether this problem is caused by tls issue or equipment environment?


Host on Edge extension as well as Chrome extension

Host on Edge Store
I can't access the Chrome extension store, but I can get access to the Edge extensions. Is it possible to make it available in the Edge one as well?
It would be lovely. Thanks

@samspade
Well, I didn't host it on Edge since I thought that Edge users can install them from Chrome store.
I will definitively add it on Edge store as well. That might take a day or two, but it will be up for sure. I'll write here when I do that.
Thanks for the report

https://microsoftedge.microsoft.com/addons/detail/ad-skipper/acibmijbokdhjlmcnjpdopnkifmchaom


Add README

what

Add a README.yaml

https://github.com/cloudposse/terraform-aws-ses-lambda-forwarder/pull/5


Make it possible to allow or disallow future stamps per instance

As far as I can tell from the instructions I'm limited to setting this globally by updating the value in the service. It would be really nice if I could set this on a per-stamp-basis.
Currently I have a case where at one location I want to allow stamps in the future, and at another I want to disallow, this can be on one page. If this is somehow possible, please do tell, but if not, it would be great if you could add an additional scope parameter that can be set to overrule this per instance.

@cmkramer There is no way of doing it as of now. I welcome you or other people to create a pull request for this feature. I'll be happy to merge. Thanks.


Fix entry type inference by inheriting from object

Less code to maintain, simpler doctests.

Current coverage is 100% (diff: 100%)

No coverage report found for master at 0f50a53.

Powered by Codecov. Last update 0f50a53...d3e36e1


Finish BLAS library for Native, OpenCL and Cuda

At the moment only the Native Framework has the Level1 Blas implementation.
Implementing it for the others as well would be a great step forward and should be completed with the completion of the other Frameworks for version 0.1.0.

Since the issue was created plugins have been introduced and the BLAS functionality has been extracted into this repository.
Progress on the implementation should be visible there once https://github.com/autumnai/collenchyma-blas/issues/5 has been resolved.


GitHub actions: add hold/unhold commands and do not run E2E on merge

Description
This PR introduces a pipeline to add/remove the hold label, which is copied over from the one initially written by @GabriFila for CrownLabs. Additionally, it modifies the integration pipeline to avoid executing the E2E tests upon merge into master, as already mandatory to merge the PR.

/rebase test=true

/merge


Update vcpkg-configuration

Description

Update vcpkg-configuration
Add vcpkg in release-checklist
Add fail-fast in workflow

Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ flake8
[ ] All tests pass: $ python run-tests.py --unit
[ ] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

Can you make this a PR to main?

Yeah you need to undo the last merge and only merge the test_on_push.yml changes (or just manually change those files yourself)

@tinosulzer All these commits from this PR will be merged to the main branch but not the develop branch, will we create a new PR from main to develop to merge these commits to develop?

Yeah let's do that after. Can you remove the changes to plotting too, since they aren't in the 21.08 release on github?


neon/qrshrun_n: native and portable implementations

I think the portable implementation is problematic, it uses simde_vrshrq_n_s16, which requires that the argument n is constant, but since I'm calling it as a function, i hit a warning there. I think I need to change that into a macro.

Hm, a simple clang simde/arm/neon/qrshrun_n.h gives me a ton of error messages.

For the native version, it's possible that the native implementation doesn't actually require an immediate-mode constant in spite of Arm's documentation claiming it does.
For the SIMDe implementation, right now we disable the REQUIRE_CONSTANT macros in the tests.  There were some places where we could increase coverage if we did that.  I've been trying to undo that decision recently, though, since it creates problems like this, but it's going to take some time before I get all the tests ported over.  Sorry, it was a bad decision on my part a long time ago.

Ah, nope, it's failing on drone: https://cloud.drone.io/simd-everywhere/simde/2047
I'll switch it over to a macro.

For the SIMDe implementation, right now we disable the REQUIRE_CONSTANT macros in the tests. There were some places where we could increase coverage if we did that. I've been trying to undo that decision recently, though, since it creates problems like this, but it's going to take some time before I get all the tests ported over. Sorry, it was a bad decision on my part a long time ago.

No problem, yea I think it will help to revert that decision, otherwise things work on the CI here, and when we try to use it in another project things will break. Thanks a ton for your help here!

Turns out we were closer than I thought. This is actually what triggered me to re-do _mm{,256}_cmp_{ps,pd,ss,sd} and _mm512_cmp_{ps,pd}_mask a few days ago, and now that that's done there were only two files in NEON that needed to be changed.  I'm already done, just testing now.  Thanks for reminding me about this issue :)


Add Scala 2.12 build

Currently the only known issues for getting a 2.12 build is out some dependencies (Uri from spray and scala inflector). From spray there isn't (and won't be) an official 2.12 version and thus would probably be worth it to just rewrite the Uri by ourselves as we don't really use it for anything too complicated. Scala-inflector has a fork under qvantel org that supports 2.12 but needs to be published.

Scala 2.12 support (where possible) was added in #13


Cannot delete files from wwwroot with Dockerfile

Output of docker version:
Client:
 Version:      1.11.0
 API version:  1.23
 Go version:   go1.5.4
 Git commit:   4dc5990
 Built:        Wed Apr 13 19:36:04 2016
 OS/Arch:      windows/amd64

Server:
 Version:      1.12.0-dev
 API version:  1.24
 Go version:   go1.5.3
 Git commit:   2b97201
 Built:        Tue Apr 26 23:51:36 2016
 OS/Arch:      windows/amd64

Output of docker info:
Containers: 17
 Running: 0
 Paused: 0
 Stopped: 17
Images: 29
Server Version: 1.12.0-dev
Storage Driver: windowsfilter
 Windows:
Logging Driver: json-file
Plugins:
 Volume: local
 Network: nat null
Kernel Version: 10.0 14300 (14300.1016.amd64fre.rs1_release_svc.160428-1819)
Operating System: Windows Server 2016 Datacenter Technical Preview 5
OSType: windows
Architecture: x86_64
CPUs: 1
Total Memory: 1.423 GiB
Name: WIN-CCH6NOM9R5L
ID: REUT:4Z3Z:JFDG:ENK6:2LSA:MBU2:TUSB:KCJO:UN27:3HDO:HF5G:YVDL
Docker Root Dir: C:\ProgramData\docker
Debug mode (client): false
Debug mode (server): false
Registry: https://index.docker.io/v1/

Additional environment details (AWS, VirtualBox, physical, etc.):

Windows Server Core 2016 TP5 in local Hyper-V VM

Steps to reproduce the issue:

Build this dockerfile

FROM microsoft/iis
RUN powershell remove-item c:\inetpub\wwwroot\iisstart.*

Describe the results you received:
If I run a container with this image, the iisstart.* files are still inside c:\inetpub\wwwroot
Describe the results you expected:
iisstart.* files should be removed from c:\inetpub\wwwroot
Additional information you deem important (e.g. issue happens only occasionally):
StackOverflow question: http://stackoverflow.com/q/37336884/3199781
cc: @jhowardmsft

Would it be possible that the wildcard is already picked up by CMD.exe (which is the shell in which RUN commands are executed.
Can you try using JSON notation, to make powershell the actual shell that's used? Something like
RUN ["powershell", "remove-item", "c:\inetpub\wwwroot\iisstart.*"]

(untested)

I can reproduce with straight-up cmd:
FROM microsoft/iis
RUN del /Q /F c:\inetpub\wwwroot\*
RUN dir c:\inetpub\wwwroot

docker build --no-cache -t iis-delete .
Sending build context to Docker daemon 2.048 kB
Step 1 : FROM microsoft/iis
 ---> c26f4ceb81db
Step 2 : RUN del /Q /F c:\inetpub\wwwroot\*
 ---> Running in 70cb0fe8f76f
 ---> 78f0ff3ba824
Removing intermediate container 70cb0fe8f76f
Step 3 : RUN dir c:\inetpub\wwwroot
 ---> Running in aa5df71d8300
 Volume in drive C has no label.
 Volume Serial Number is C24E-29EB

 Directory of c:\inetpub\wwwroot

05/20/2016  09:20 AM    <DIR>          .
05/20/2016  09:20 AM    <DIR>          ..
05/05/2016  03:27 PM               703 iisstart.htm
05/05/2016  03:27 PM            99,710 iisstart.png
               2 File(s)        100,413 bytes
               2 Dir(s)  21,271,203,840 bytes free
 ---> 488d14766db2
Removing intermediate container aa5df71d8300
Successfully built 488d14766db2

+1
I've also tried things like..
RUN "rmdir C:\inetpub\wwwroot\ /S /Q"
Is IIS blocking this somehow?

This was caused by a bug in hcsshim legacyLayerReader. It is fixed in https://github.com/Microsoft/hcsshim/pull/43. I'll revendor an updated hcsshim with the fix today.


Start libgda formula with mysql connector

https://github.com/Homebrew/homebrew-core/issues/40515 is an upstream issue about adding these. So, I copied the existing formula, and added a mysql-client dependency.
I was able to confirm this installs mysql stuff:
❯ ls /opt/homebrew/Cellar/libgda/6.0.0_2/lib/libgda-6.0/providers/
libgda-mysql-6.0.dylib  libgda-sqlite-6.0.dylib

I think there's some additional step for the gda gem to see them https://github.com/tenderlove/gda

upstreamed https://github.com/Homebrew/homebrew-core/pull/183323


--new-comment improvements

As mentioned on #641:

Made --new-comment work with a single danger_id, so now we only get one, pretty Danger checkmark on your PR instead of multiple ones.
Danger now always retrieves it's last comment (used to be the first one since it never had more than one showing up at the same time), so removing the argument on a subsequent build will now make it edit the right comment.

          1 Message

  :book:
  @bruno-rocha-movile is not a contributor yet, would you like to join the Danger org?

  Generated by :no_entry_sign: danger

Rebase on master and we are good to go 👍

Merged!

Yep - cool, looks good to me 👍


Make a Person: Add tests for .set*Name methods

Add tests for bob.setFirstName(), bob.setLastName() and bob.setFullName().
Fix #3497

It might be worth changing your last test to use bob.getFirstName() or bob.getLastName() after you setFullName() (or add an extra case) because I have occasionally seen solutions where the setFirstName() and setLastName() functions correctly change the full name, but setFullName() does not correctly change the individual names.

Added two more tests that check getFirstName and getLastName after setFullName.


Convert get_with_dump to use named params hash everywhere

This PR brings the use of the controller extensions method get_with_dump, post_with_dump etc. in line with the format used in functional test case's get et al.
The method now expects a hash named params and splats the hash. The original change (to functional test case's get et al) was to conform with Rails 6/Ruby 3 named params, and this new change extends the same expectation/behavior to our descendant methods.
There may be other test methods that will need this change, like requires_login maybe, but get_with_dump was throwing a lot of errors on the NamesController branch, thus this separate PR.

Coverage remained the same at 92.632% when pulling c885dc38fea69990fe78aa1bfb46ed072dddde81 on nimmo-controller-extensions into 9d23c67828e5742108bbe08bd9d0125946da40c9 on master.

@JoeCohen — 🎖 that's some amazing recall!
Okay - should I

Delete all these assertions that get_with_dump post_with_dump etc?
Or just switch them to use get, post, etc?

I'm not sure what you mean by "Delete all these assertions that get_with_dump post_with_dump etc?"
I would:

change all calls to <action>_with_dump to call plain old <action>;
Then delete the various defs of <action>_with_dump;
Then delete w3c_tests all the calls to it .

Thanks Joe. I didn't really read through the methods again before I responded, and i thought I had remembered some duplication. But it wasn't true duplication; it was get after login, for example.
Converted all #{method}_with_dump to #{method}, and removed the w3c_tests stuff. The bulk of the PR work seems to have been worthwhile, since mostly it was adding the params:  name to all those params hashes. A residual benefit to keeping method syntax parallel.


No update

Type: Bug
Meu VSCODE não está atualizando, não tem botão de solicitar o update. Sem o update não posso usar o copilot.
 There is no button to update or alert to update.

I guess you are using "Run as Administrator" to start VS Code. Please start it normally instead.

just download the latest version of vscode  dont make things complex for your self

just download the latest version of vscode from vebsite dont make things complex for your self

Why do you need to be rude? I'm just reporting a issue. I should be able to just update it. Don't know about you, but I already have many configs in my vscode and I don't want to risk it. Anyway, thanks for the obvious solution.

I guess you are using "Run as Administrator" to start VS Code. Please start it normally instead.

That's what happened! Thanks for the comment!

sorry bro if i sound like rude  i am also here to provide the solution if u have configs you just need to export then like keypappings and user generated snippets and settings .json and if u need all of your extensions also just copy the .extension folder from user/.vscode folder


imlib2: 1.7.3 -> 1.7.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/imlib2/versions.
meta.description for imlib2 is: "Image manipulation library"
meta.homepage for imlib2 is: "https://docs.enlightenment.org/api/imlib2/html"
meta.changelog for imlib2 is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_grab had a zero exit code or showed the expected version
/nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_load passed the binary check.
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_show had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_poly had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_conv had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_test had a zero exit code or showed the expected version
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_colorspace had a zero exit code or showed the expected version
/nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_view passed the binary check.
Warning: no invocation of /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin/imlib2_bumpmap had a zero exit code or showed the expected version
1 of 9 passed binary check by having a zero exit code.
2 of 9 passed binary check by having the new version present in output.
found 1.7.4 with grep in /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin
found 1.7.4 in filename of file in /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin

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

668 total rebuild path(s)

539 package rebuild(s)

539 x86_64-linux rebuild(s)
129 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
MIDIVisualizer
Sylk
adapta-gtk-theme
adom
aerc
ahoviewer
alarm-clock-applet
alock
altair
anki
anki-bin
ankisyncd
anytype
appimage-run
appimage-run-tests
apple-music-electron
apt
aravis
arcan.all-wrapped
arcan.arcan
arcan.arcan-wrapped
arcan.durden-wrapped
arcan.ffmpeg
arcan.pipeworld-wrapped
arcan.prio-wrapped
arcan.xarcan
audio-recorder
authenticator
baresip
beekeeper-studio
beets
beetsExternalPlugins.alternatives
beetsExternalPlugins.copyartifacts
beetsExternalPlugins.extrafiles
betterdiscord-installer
bgs
blanket
brasero
brasero-original
brutespray
bubblemail
buttercup-desktop
byzanz
cawbird
celluloid
chatty
chrome-gnome-shell
chrysalis
citra
clapper

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin \
  --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 imlib2 https://github.com/r-ryantm/nixpkgs/archive/e30a4179a02595d53157d4f64351eafd41697ddc.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/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin
ls -la /nix/store/22b58p5yfbjdkfy3imhri58q2xj65pyf-imlib2-1.7.4-bin/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @spwhitt for testing.

Superseded by #156187


Fix dlopen error after put socketmaster.cc in messaging

fix this issue https://github.com/commaai/cereal/pull/50#issuecomment-640194617 .offroad failed to start due to dlopen error:

logcat -s "messaging"
06-10 18:55:30.119 16609 16635 E messaging: Error opening /data/openpilot/cereal/libmessaging_shared.so ( dlopen failed: library "libcapnp-0.6.1.so" not found )

messaging.hpp: make sure the class interface same as cereal.

Thanks for the PR, cleaned it up in #60.


Importing existing passwords with overrideSpecial

What happened?
Now that https://github.com/pulumi/pulumi-random/issues/160 is fixed, I tried to import secrets and I ran into an issue.
My code looks like this:
new random.RandomPassword("token", {
  length: 50,
  special: true,
  overrideSpecial: "!&#$^<>-",
})

This code is part of a library, so it is not only used to import, but also to create new things.
If I now import the password and run pulumi apply afterwards, pulumi wants to recreate the password due to the overrideSpecial values.
Expected Behavior
After the import there is no drift.
Steps to reproduce
new random.RandomPassword("token", {
  length: 50,
  special: true,
  overrideSpecial: "!&#$^<>-",
})

Import a 50 char long password.
Run pulumi apply.
Output of pulumi about
pulumi about
CLI
Version      3.58.0
Go Version   go1.20.2
Go Compiler  gc

Plugins
NAME        VERSION
aws         5.28.0
kubernetes  3.23.1
nodejs      unknown
random      4.13.0

Host
OS       debian
Version  11.7
Arch     x86_64

This project is written in nodejs: executable='/home/ruwen/.nvm/versions/node/v18.15.0/bin/node' version='v18.15.0'

Current Stack: ruwen

TYPE                                        URN
pulumi:pulumi:Stack                         urn:pulumi:ruwen::pulumi-ruwen::pulumi:pulumi:Stack::pulumi-ruwen-ruwen
pulumi:providers:random                     urn:pulumi:ruwen::pulumi-ruwen::pulumi:providers:random::default_4_13_0
random:index/randomPassword:RandomPassword  urn:pulumi:ruwen::pulumi-ruwen::random:index/randomPassword:RandomPassword::redis-auth-token

Found no pending operations associated with ruwen

Backend
Name           ruwenwork
URL            file://~
User           ruwen
Organizations

Dependencies:
NAME                      VERSION
@pulumi/aws               5.28.0
@pulumi/kubernetes        3.23.1
@pulumi/pulumi            3.52.1
@pulumi/random            4.13.0
@sinch/typescript-config  2.0.0
@types/node               16.18.23
typescript                4.9.5

Pulumi locates its logs in /tmp by default

Additional context
I figured out that by editing the state files I can work around it. But I would rather not do that.
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @elruwen - thank you for filing this issue! We'll take a look as soon as we can.

Closing due to inactivity


README: Inform how to build for CLion

The README was missing some info on how to build the plugin for CLion.
Secondly, keeping ij_product as clion-latest would result in the
plugin not loading on the latest CLion (2018.1.5). So, this PR also
informs the developer how to debug that.

@chaoren thanks for your feedback.
I addressed the two items, and am now mentioning IntelliJ, CLion, and Android Studio. I also rephrased the wording to suggest clion-latest by default, but still inform the reader about alternative product version options.
I used git commit --amend to fix the issues, I wasn't sure what your policy is on that topic. Please let me know if you had preferred a new commit. Unfortunately, this seems to have deleted your previous comments.

Ping. May I get some feedback please?

Thanks for the README improvements, this looks good.


virtual_access_multi.cpp failed in clang on Windows

I was using clang-cl on Windows(VS2019) to run the contract tests, and I found virtual_access_multi.cpp failed in running.
The compiling and linking commands looks like this.
clang-cl "..\..\..\libs\system\src\error_code.cpp" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /EHs /std:c++17 -D_CRT_USE_BUILTIN_OFFSETOF -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -I"..\..\.."
clang-cl "..\..\..\libs\contract\src\contract.cpp" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /EHs /std:c++17 -D_CRT_USE_BUILTIN_OFFSETOF -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -I"..\..\.."
clang-cl "public_function\virtual_access_multi.cpp" -TP /Z7 /Od /Ob0 /W3 /GR /MDd /EHs /std:c++17 -D_CRT_USE_BUILTIN_OFFSETOF -c -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTEM_DYN_LINK=1 -I"..\..\.."
link /nologo /DEBUG /subsystem:console /out:"public_function.exe" error_code.obj contract.obj virtual_access_multi.obj

After that, "public_function.exe" was executed and it can be seen that the part related with g function is different with expected result.
--- running result
+++ expected result
@@ -11,31 +11,20 @@
 a::inv
 b::f::old
 b::f::post
 c::f::old
 c::f::post
 a::f::post
-(((b)))::g::pre
-b::g::old
-b::g::body
-b::g::post
-b::g::body
-c::inv
+(((c)))::inv
 a::inv
-b::g::body
-b::g::pre
-b::g::old
-b::g::body
-b::g::post
+c::g::pre
 c::g::old
 a::g::old
 a::g::body
-b::g::body
 c::inv
 a::inv
-b::g::body
 c::g::old
 c::g::post
 a::g::post
 c::inv
 a::inv
 c::h::pre

I am not clear with the reason. Could someone explain? Thanks a lot!

Can you please do the followings?

Re-run this test using BJam and send me the entire output of this:

cd your-boost-dir\libs\contract\test
your-boost-dir\bjam public_function-virtual_access_multi

Run all tests using Bjam and send me the entire output of this:

cd your-boost-dir\libs\contract\test
your-boost-dir\bjam

Send me the full version of Clang that you are using (output of clang-cl --version, or something like that, I am not familiar with clang-cl).

Looking at the library's expected failures (libs/contract/meta/explicit-failures-markputs.xml), the public_function-virtual_access_multi test is know to fail on GCC 4.6 and 4.7 for the following reason, but I do not know if this failure on clang-cl is related to this:
"This test fails because this compiler seems to incorrectly check
access level of members in base classes in a context when only
derived class members are used.
This seems to be fixed in GCC 4.8 (possibly related to
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57973)."
To check that, try to compile this sample program and send me the full out put of that: https://gcc.gnu.org/bugzilla/attachment.cgi?id=30547

For the rest, I see this test (and all other tests) pass on all Boost's regression test compilers and platforms: https://www.boost.org/development/tests/master/developer/contract.html

1 & 2. Cause the output is quite large, I will send the output to your email.
3. clang-cl version
clang version 10.0.0

the output when using clang-cl to run the sample

ksh-3.2$ clang-cl test_reproducer.cpp -o test_reproducer.exe
test_reproducer.cpp(25,18): warning: address of 'this->D<int>::bptr' will always evaluate to 'true' [-Wpointer-bool-conversion]
      return &D::bptr;
      ~~~~~~  ~~~^~~~
test_reproducer.cpp(37,6): note: in instantiation of member function 'D<int>::testB' requested here
   d.testB(); // without this line g++ reports no error
     ^
1 warning generated.
ksh-3.2$ ./test_reproducer.exe ; echo $?
0

Thanks a lot!

Unfortunately, I am not able to reproduce this issue. I do not have the specific compiler/platform that is giving this problem, but this test passes on all my compilers/platforms combinations, plus all those of Boost regressions tests https://www.boost.org/development/tests/develop/developer/contract.html and https://www.boost.org/development/tests/master/developer/contract.html. Therefore I am not able to investigate this issue more... it might be compiler/platform specific and I am closing this issue for now unless it is found also on other compilers/platforms.


Maintain aspect ratio when modifying output dimensions

Hey,
I ran into an issue when setting output sizes. The resizing seems to derive an aspect ratio from getRatioX() and getRatioY(), which, in the typical use case, results in an image of size 1:1. What would be much more expected would be to resize the cropped selection and maintain that aspect ratio rather than overwrite/ignore it.
This change would be very simple. You would just need to change some code in CropImageView.java in the method scaleBitmapIfNeeded(Bitmap). The only line that needs changing would be this:
float imageRatio = getRatioX() / getRatioY();
to
float imageRatio = (float) width / (float) height;
(Maybe change the var name to croppedRatio?)
I've currently copied the class locally and replaced this line and have it functioning correctly. However, I would love to get this in the library. I don't mind making a PR. Let me know ^_^
Russell

This see this was already fixed. Going to close it.


Non-Browser based Bot issue

Just wonder if you have considered there are a lot of non-browser based bot existing. Usually in NodeJS/Python/Java etc. Session cookies are obtained using selenium drivers and are used to create websocket directly to your server. All the effort I have seen from your commit is useless against such kind of bot. The best way I could think of is to frequently change {type:"place"} key word or server address http://host/ws to some random hard coded string in the backend, with some js encription in the frontend and delay of updating your code on Github so bot makers do not know. Also, increase captcha threshold will help but will not change anything, since botter just have to keep entering catpcha every other second (with 100+ accounts).

We have thought about this indeed and it seems like making the user tools more usable was a great step towards that - because now real people are actually able to ban the bots they detected.
Also, all this other protection you are talking about were actually ideas discussed by us but deemed not worthy of implementing as they can be avoided rather easily. Still thank you for your input!


Feature Request: /help commands output to collapsible pane

When using command line tools, I often have to continuously repeat typing command /help to remind myself what I can do with the app.
If there was a way to output the text displayed when typing /help to a collapse box on the screen, I could then expand it to find a command, without having to keep either scrolling, or re-running the command

Maybe it could be a cool differentiating feature to be able to select a region and pin it (or pull it out)?

Maybe introduce the concept of Terminal specific commands.  Maybe
Command.exe /help #region
Which will place any output from that command into a side pane

Named pipes would be ideal here I think, but if I recall correctly there are restrictions around UWP apps and pipes.  Something like:
program.exe /help >\\.\pipe\terminal_region_name
The unc syntax is unfortunate, but it would be more generic and helpful and reuse the existing cmd mechanisms.
If I recall correctly, the restriction on named pipes with uwp apps is that you can do that between two uwp apps or two non-uwp apps, so maybe this will work?

Not sure if it is possible to choose some kind of syntax that would be ignored by the existing command line, but recognised by the Windows Terminal.  Just in case a batch script leaves it in when shared online

Not sure if it is possible to choose some kind of syntax that would be ignored by the existing command line, but recognised by the Windows Terminal.  Just in case a batch script leaves it in when shared online

Maybe it could be a cool differentiating feature to be able to select a region and pin it (or pull it out)?

I think this is probably the only reasonable suggestion here. Using Windows named pipes ties shell scripts to a specific terminal, and specifically a Windows-only terminal. It's often tough enough to get scripts to work on the same family of shells :)

If doing it as part of the typed command is a no go, then perhaps the ability to pin or drag output into a side pane.  Perhaps with a pin icon beside the outputted text or via a context menu?

It all depends on what the goal is.  If the goal is to redirect output in a dynamic fashion, then pipes, etc. are the only portable way that I can think of offhand to do that through a shell, and people coming from a *NIX background are used to that model.
If the goal is to simply create a collection of content for easy reference, then the "snip" and "pin" model might work quite nicely.

Using Windows named pipes ties shell scripts to a specific terminal, and specifically a Windows-only terminal. It's often tough enough to get scripts to work on the same family of shells :)

Using named pipes shouldn't tie scripts to a specific terminal or a Windows-only terminal -- *NIX systems have those too, but I'm sure I'm just misunderstanding what the concern being expressed here is.  The pipes concept is fairly universal in the developer world so it would be helpful to better understand the concern.  The *NIX philosophy very much gravitates towards files.
"snip" & "pin" vs redirection both have tradeoffs in opposite directions so it would be helpful to better understand the concern expressed here.

For the record, Windows Terminal is a normal win32 application that's using UWP UI elements via XAML Islands. So named pipes aren't going to have the same problems for us that other UWP apps might have.
I really do like this idea of pinning a region of output. Maybe we could store all the pinned blobs you have, and open a new pane on the side to display your pins?
As far as doing it on the commandline, maybe we add support for man ping > wt.exe --pin or something. That way it can be shell-agnostic

So if there is merit in the idea of pinning outputs or snippits to a collapsible side pane, it is about how this is done, and what might you be able to do with the snippits once they are copied to this side pane.

Maybe you can click/tap on these snippits to insert them?
Maybe you can copy and paste a series of commands to this side pane, and then insert them with a tap?
Maybe you can export the side pane contents?
Do they appear like the sticky notes list?


DS-3189

jira ticket: https://jira.duraspace.org/browse/DS-3189

+1 as this is a fairly obvious fix.

+1 obvious fix. Method needs a UUID, not a String.


How to register the plugin? the function registerWebPlugin() is deprecated

Description
I try to register the plugin but the function registerWebPlugin() is deprecated
Capacitor version:
Latest Dependencies:
@capacitor/cli: 3.0.2
@capacitor/core: 3.0.2
@capacitor/android: 3.0.2
@capacitor/ios: 3.0.2
Installed Dependencies:
@capacitor/ios: not installed
@capacitor/core: 3.0.2
@capacitor/cli: 3.0.2
@capacitor/android: 3.0.2
Library version:

2.1.0

OAuth Provider:

Azure AD
Azure App Registration

Your Plugin Configuration
Still dont have it
{
   Still dont have it
}

Currently this plugin does not support Capacitor 3.x. See #149.
Good news is that I started working on it yesterday but I will take me a couple of days to release a new version.

I'm closing this so my backlog gets a little bit smaller. #149 is still ongoing but everything new will be said there.


Forums select arrow background show in Mozila but hide in Chrom

http://softoniktech.co.uk/dev/tca_wp/?page_id=8
plz chek this link

You're using an old version of Bootstrap:
http://softoniktech.co.uk/dev/tca_wp/wp-content/themes/tca/js/bootstrap/css/bootstrap.min.css

please update to latest version (3.3.4).

This isn't a place to report problems with your own website. If you want to report a specific issue with the Bootstrap framework then please open a http://jsfiddle.net with a clear example.

Yes, this issue tracker isn't for personal support requests. See https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker and https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#bug-reports

ok thanks i remove my question