Root-level logger config in livekit.agents.ipc.proc_lazy_main.proc_main

This code is called dynamically (at runtime, not during import) and prevents me from configuring root-level logger in my application if I use livekit.agents.cli for handling workers.
root_logger = logging.getLogger()
root_logger.setLevel(logging.NOTSET)

https://github.com/dsgolman/agents/blob/ca3e47aed53a8a54a5a8bcff47c7f101cab3e4d9/livekit-agents/livekit/agents/ipc/proc_lazy_main.py#L32

Hey, this is the root_logger of a subprocess, every log is forwarded to the worker process


[NEW]: Safemoon founders being charged with international fraud scheme

Date
2023-11-01
Description
The DOJ is charging the founders of Safemoon with international fraud scheme in the district of New York.
From the the DOJ website: "Defendants Allegedly Misappropriated Millions of Dollars of Investors’ Funds for Their Own Use, Including the Purchase of Luxury Vehicles, Real Estate, and Personal Investments"
Links
https://www.justice.gov/usao-edny/pr/founders-and-executives-digital-asset-company-charged-multi-million-dollar
Agreement

[X] I irrevocably agree to release my contribution under the CC-BY 3.0 License

Attribution name
Sander van Kasteel
Personal link
https://mastodon.online/@SuitedUpDev

https://web3isgoinggreat.com/?id=safemoon-executives-charged-and-arrested


Comment about Styling FAQ

from https://github.com/reactjs/reactjs.org/blob/master/content/docs/faq-styling.md#are-inline-styles-bad

"CSS classes are generally more efficient than inline styles"

Do u mean it is more efficient for coding, or for the browser to handle? I find the sentence a bit unclear.

That's correct, inline styles are bad for performance compared to CSS classNames.

Changed to "better for performance"

In another place of documentation there is written

Note
Some examples in the documentation use style for convenience, but using the style attribute as the primary means of styling elements is generally not recommended. In most cases, className should be used to reference classes defined in an external CSS stylesheet. style is most often used in React applications to add dynamically-computed styles at render time. See also FAQ: Styling and CSS.

Please add some Note to FAQ page

"CSS classes are generally more efficient than inline styles"

Some link for example: read more in this article Because for me it's to general are generally.


Geo index on array field

My Environment

ArangoDB Version:        3.7.10
Storage Engine:             RocksDB

Component, Query & Data
Affected feature:
Geo indexes
Dataset:
{
  "stuff": "foobar",
  "points": [
    {
      "date":<PHONE_NUMBER>510,
      "geo": [
        3.1655483333,
        45.707555
      ]
    },
    …
  ]
}

This is a feature request
Hi, could it be possible to add a geo index on an array field ? With the dataset described above that would be on points[*].geo
Currently trying to create such an index results in an error message : "cannot use [*] expansion for this type of index".
Is there a specific reason for this limitation ?
Thank you,
Greetings,
Mathias

As the error message indicates, it is not supported by the regular geo index. In the upcoming version 3.8, there will be support for geospatial queries in ArangoSearch. It will be possible to index arrays of coordinate pairs with a combination of a geopoint Analyzer and a View. You can try this out already with the beta version:
https://www.arangodb.com/download-technical-preview/
Create custom geopoint Analyzer in arangosh:
var analyzers = require("@arangodb/analyzers");
analyzers.save({ "geo_latlng", "geopoint", {});

https://www.arangodb.com/docs/3.8/arangosearch-analyzers.html#geopoint
Note that the coordinates are expected in latitude, longitude order! GEO_POINT() and other functions expect longitude, latitude order, however. Assuming that you mean 45°42'27.2"N 3°09'56.0"E, then the coordinate array should be stored as [  45.707555, 3.1655483333 ], but in a query, you would have to use  GEO_POINT(3.1655483333, 45.707555). My recommendation would be to store coordinates as GeoJSON Points so that you don't have to think about the coordinate order later down the line.
Create a View with a link to a collection called coll and index points[*].geo in arangosh:
db._createView("yourview", "arangosearch", { links: { coll: { fields: { points: { fields: { geo: { analyzers: ["geo_latlng"] } } } } } } } );

Note how points[*].geo is treated here like points.geo. Each array element will be indexed individually ("trackListPosition": false is the default).
Run a query that matches documents that have at least one point within a radius of 1000 meters and return the documents, augmented with the calculated distance to the reference coordinate:
db._query(`
  LET coord = GEO_POINT(3.165, 45.70)
  FOR doc IN geoview
    SEARCH ANALYZER(GEO_DISTANCE(doc.points.geo, coord) < 1000, "point")
    LET points = (
      FOR p IN doc.points
        RETURN MERGE(p, { distance: GEO_DISTANCE([p.geo[1], p.geo[0]], coord) })
    )
    RETURN MERGE(doc, { points })
`);

Thank you very much for your answer.
Looking forward to try this; it's great that ArangoDB is continuously adding new cool features like that !

Hi. Can be indirectly resolved by Computed Values feature introduced in v3.10.


Remove Use of Unsupported --synthcpu Flag

Judging from these issues and commits, --synthcpu flag was removed from Virtualbox a couple of major version ago.
It looks like it was also removed from this library once already, but re-introduced in this commit. Not sure if this was intentional, but it breaks VM creation at least for me (running Virtualbox 6.1).
This PR completely removes it again, as unsure if we need to keep compatibility for Virtualbox versions < 5 ? If we do, will need to rework to conditionally use this flag.

I don't think there is a point in keeping compatibility with pre-6.0 versions, let alone 5.0.


feat: text visibility for dark color gradient fix

added background blur to the container to ensure the container contents are always visible even when the gradient set are dark
Issue it solved
Fixes #3

Texts in the generator container are now visible even with dark color gradients
Which files you changed?

backgroundgen.css

Screenshots

Extreme case:

before
after

desktop

mobile

I think this change can wait, because there are some recent css changes that are actually good and can also helps in visibility of the text.
But your changes are good actually.


Preview PDF Files & bug fixes

New Feature: PDF Previews

Now users can preview the PDF files before downloading them.

Bug Fixes

File download will go to the browser's download list, instead of opening the file in a new tab.
(Development) Fixes cannot destructure pageConfig object issue

References
#61

📝Changed routes:

/api/download
/api/firebaseAdmin

Commit b5c21a3aa996da51d94cc3c1f6a7968d18df83cf (https://kanji-sh-2u92mdy7q-aruke.vercel.app).


Cannot create nomad volume with ceph csi

Describe the bug
Creating a nomad volume with ceph csi results in state inconsistent, omap names mismatch error:
https://github.com/ceph/ceph-csi/blob/devel/internal/journal/voljournal.go#L369-L375
Error creating volume: Unexpected response code: 500 (1 error occurred:
        * controller create volume: rpc error: controller create volume: CSI.ControllerCreateVolume: controller plugin returned an internal error, check the plugin allocation logs for more information: rpc error: code = Internal desc = internal state inconsistent, omap names mismatch, request name (prometheus-us-ind-test) volume UUID (c11c65d7-a58f-11ed-b2a6-1e383fc3db06) volume omap name ())

I0213 17:13:58.665398       7 utils.go:206] ID: 43834 Req-ID: prometheus-us-ind-test GRPC request: {"accessibility_requirements":{},"capacity_range":{"limit_bytes":20000000000,"required_bytes":10000000000},"name":"prometheus-us-ind-test","parameters":{"clusterID":"******************","imageFeatures":"layering","pool":"ind-nonprod2"},"secrets":"***stripped***","volume_capabilities":[{"AccessType":{"Mount":{"fs_type":"ext4","mount_flags":["noatime"]}},"access_mode":{"mode":1}}]}
I0213 17:13:58.665928       7 rbd_util.go:1279] ID: 43834 Req-ID: prometheus-us-ind-test setting disableInUseChecks: false image features: [layering] mounter: rbd
I0213 17:13:58.669757       7 omap.go:88] ID: 43834 Req-ID: prometheus-us-ind-test got omap values: (pool="ind-nonprod2", namespace="", name="csi.volumes.ind-test-nomad-worker11-controller"): map[csi.volume.prometheus-us-ind-test:c11c65d7-a58f-11ed-b2a6-1e383fc3db06]
E0213 17:13:58.672481       7 omap.go:79] ID: 43834 Req-ID: prometheus-us-ind-test omap not found (pool="ind-nonprod2", namespace="", name="csi.volume.c11c65d7-a58f-11ed-b2a6-1e383fc3db06"): rados: ret=-2, No such file or directory
W0213 17:13:58.672920       7 voljournal.go:708] ID: 43834 Req-ID: prometheus-us-ind-test unable to read omap keys: pool or key missing: key not found: rados: ret=-2, No such file or directory
E0213 17:13:58.673324       7 utils.go:210] ID: 43834 Req-ID: prometheus-us-ind-test GRPC error: rpc error: code = Internal desc = internal state inconsistent, omap names mismatch, request name (prometheus-us-ind-test) volume UUID (c11c65d7-a58f-11ed-b2a6-1e383fc3db06) volume omap name ()

Environment details

Image/version of Ceph CSI driver : v3.7.2
Helm chart version : N/A (Nomad)
Kernel version : 5.15.0-30-generic
Mounter used for mounting PVC (for cephFS its fuse or kernel. for rbd its
krbd or rbd-nbd) : krbd
Kubernetes cluster version : N/A
Ceph cluster version : ceph version 15.2.16 (d46a73d6d0a67a79558054a3a5a72cb561724974) octopus (stable)

Steps to reproduce
Steps to reproduce the behavior:

Setup details: Nomad cluster and ceph cluster.
Deployment to trigger the issue: a nomad volume create
See error

At this point I'm trying to figure out where in the stack this is a problem; if it's a user permission problem, or if ceph is corrupted, or if Nomad is having issues.
FWIW, I see this at the beginning of the node's logs:
E0208 15:34:58.994796       7 cephcsi.go:208] Failed to get the PID limit, can not reconfigure: open /sys/fs/cgroup//pids.max: no such file or directory
I0208 15:34:58.995028       7 cephcsi.go:241] Starting driver type: rbd with name: rbd.csi.ceph.com
I0208 15:34:58.995598       7 server.go:114] listening for CSI-Addons requests on address: &net.UnixAddr{Name:"/tmp/csi-addons.sock", Net:"unix"}
I0208 15:34:58.998531       7 mount_linux.go:283] Detected umount with safe 'not mounted' behavior
W0208 15:34:59.001081       7 rbd_attach.go:226] nbd modprobe failed (an error (exit status 1) occurred while running modprobe args: [nbd]): "modprobe: FATAL: Module nbd not found in directory /lib/modules/5.15.0-30-generic\n"

I'm not sure if that's related or not, especially because I see the volume get created on the Ceph cluster. However, I can't seem to get the omap values from that volume:
root@ind-ceph-mon1:~# rbd ls ind-nonprod2
csi.volume.c11c65d7-a58f-11ed-b2a6-1e383fc3db06
prometheus-us-ind-test
test_image
root@ind-ceph-mon1:~# rados -p ind-nonprod2 listomapkeys csi.volume.c11c65d7-a58f-11ed-b2a6-1e383fc3db06
error getting omap key set ind-nonprod2/csi.volume.c11c65d7-a58f-11ed-b2a6-1e383fc3db06: (2) No such file or directory

The comment by the error that I'm seeing is not promising:
// NOTE: This should never be possible

@acziryak not sure how you ended in this case. Do you have any clear reproducer and complete logs to understand what went wrong?

I can rebuild the Nomad cluster, but cannot rebuild the Ceph cluster. However, I can create a new pool/client for the ceph cluster.
Is there a way that I can manually test retrieving the omap values?

See if https://www.mrajanna.com/tracking-pv-rados-omap-in-cephcsi/ helps to track the omap values. some commands are kubernetes specific I think you can replace it with nomad

So I tried to create a new volume which succeeded:
I0217 17:24:19.174991       7 omap.go:88] ID: 78467 Req-ID: agnostic2-us-ind-test got omap values: (pool="ind-nonprod2", namespace="", name="csi.volume.9f0760b0-aee6-11ed-96f6-ae765b511692"): map[csi.imageid:208269a29eef81 csi.imagename:csi-vol-9f0760b0-aee6-11ed-96f6-ae765b511692 csi.volname:agnostic2-us-ind-test]
I0217 17:24:19.216688       7 rbd_journal.go:337] ID: 78467 Req-ID: agnostic2-us-ind-test found existing volume (0001-0024-1e35f6bc-1257-45b6-aa9d-16f9ecd30652-0000000000000024-9f0760b0-aee6-11ed-96f6-ae765b511692) with image name (csi-vol-9f0760b0-aee6-11ed-96f6-ae765b511692) for request (agnostic2-us-ind-test)
I0217 17:24:19.217186       7 utils.go:212] ID: 78467 Req-ID: agnostic2-us-ind-test GRPC response: {"volume":{"capacity_bytes":10737418240,"volume_context":{"clusterID":"1e35f6bc-1257-45b6-aa9d-16f9ecd30652","imageFeatures":"layering","imageName":"csi-vol-9f0760b0-aee6-11ed-96f6-ae765b511692","journalPool":"ind-nonprod2","pool":"ind-nonprod2"},"volume_id":"0001-0024-1e35f6bc-1257-45b6-aa9d-16f9ecd30652-0000000000000024-9f0760b0-aee6-11ed-96f6-ae765b511692"}}

However, I cannot find the omap keys for that volume on my monitor node:
rados listomapkeys csi.volume.9f0760b0-aee6-11ed-96f6-ae765b511692
usage: rados [options] [commands]

This is per the troubleshooting page linked.

yes it require pool name and also you can list values as well listomapvals if no problem exists can we close this one?

Yes.
I will note down here that after I did a nomad system gc and nomad system reconcile summaries and a full stop and start of the CSI nodes and controllers, I was able to have the volume created. So whatever that inconsistent state error was must have been something that Nomad was caching somewhere that a garbage collection and restart of the jobs solved. Hope that might help whoever might find their way here later. And thank you for your willingness to help @Madhu-1 .

This is happening again, and the above commands aren't fixing it.
I wonder if there's some cache somewhere that's not being cleared.


ValueError: image has wrong mode

I am getting this error
ValueError: image has wrong mode

@mdbloice Could you please help on this? I am facing the same issue.

Actually I also had the same error. At first, I called so many methods to the pipeline p.  like this
import Augmentor  p = Augmentor.Pipeline('/kaggle/working/final1_resized_0','/kaggle/working/final1_augment') p.rotate(probability=0.7, max_left_rotation=10, max_right_rotation=10) p.zoom(probability=0.5, min_factor=1.1, max_factor=1.5) p.flip_left_right(probabilty=0.2) p.rotate_random_90(probability=0.6) p.flip_top_bottom(probability=0.5) p.sample(2500)
after that  i'll just check it by using some basic augmentation methods (code given below) like zoom and rotate.
import Augmentor  p = Augmentor.Pipeline('/kaggle/working/final1_resized_0','/kaggle/working/final1_augment') p.rotate(probability=0.7, max_left_rotation=10, max_right_rotation=10) p.zoom(probability=0.5, min_factor=1.1, max_factor=1.5) p.sample(2500)
It works for me. Till I don't know how it works for me. I hope this will helpful for u in some way.

I hope you found the issue. For posterity, for me it was because I was trying to import .tif files. I converted them to .png and worked!

I hope you found the issue. For posterity, for me it was because I was trying to import .tif files. I converted them to .png and worked!

Hi,I found that when I used methods like:
p.random_color
or
p.random_brightness
the error will occured
but other methods worked very well,I don't know how to solve this issue


use table headers consistently in config documentation

What does this pull request do?

Related issues
closes #ISSUE

jenkins run the tests

Failure is due to code in the pipeline. Merging, as the docs CI passed


Feature: Allow team user to create repository directly in organization

Feature request to allow team user (other than owner) of the organization to directly add a repository inside organization.
Currently a user has to create and repository and then transfer it to organization

The team who has write permission could create repositories.

HI Lunny,
Iam using v1.6.0 and i create a new repo and it was created under my name. Iam a member of team who has admin rights, i even switched the context to organization.
is there anything iam missing here?

I'd like to request this feature, too.

Currently, only owner team could create repositories on organization, I think we can add an option on team to allow the team to create repositories or not.

Currently, only owner team could create repositories on organization, I think we can add an option on team to allow the team to create repositories or not.

That would be exactly what I am looking for.

When will this feature be made available?

Nobody are working on this.

https://github.com/go-gitea/gitea/issues/5114

@igor9292 is right. This is duplicated. Please move to #5114 to discuss further.


Fix #78 Add redis connection checks to each process

Tested running locally, manually disabling redis server before startup, each process waits correct


Override color theme preferences. #323

This allows users to override theme preferences to whatever color scheme they like. #323

For reference, the menu for themes looks like this


[Bug/Glitch] Cursor snapping breaks at certain frame rates

Legacy4J Version
1.21-1.7.2
Mod Loader Version
Fabric Loader 0.15.11
Bug/Glitch Occurrence Context
For some reason, using Sodium with Legacy4J causes the cursor snapping to stop working properly
Video with Sodium
Video without Sodium
Crash Report
No response
What happened wrong?
Cursor snapping is clearly trying to work, but Sodium somehow causes the cursor to unsnap from an inventory slot

For me it only appears on my Steam Deck. The cursor also seems to have trouble with moving right/down with xaero's world map open

Could be a Linux specific issue then? I don't currently have a Windows machine to test on at the moment so I can't really confirm

If it's the Sodium that is somehow causing this, test to see if limiting the FPS stops this from occurring.

So it does seem like that's what fixes it. The issue happens when the frame rate is limited to anything above 60 fps (enabling VSync on 60 hz display doesn't fix it)

On a bare L4J instance, the issue does technically still occur, but it's a lot less frequent. With Sodium, its pretty much impossible to snap the cursor without using the d-pad

So it does seem like that's what fixes it. The issue happens when the frame rate is limited to anything above 60 fps (enabling VSync on 60 hz display doesn't fix it)

While that fixes the weird behaviour in xaero's world map, the cursor still struggles in inventory on my Steam deck. I'll test if it also appears on my pc with linux installed. On that same pc with windows it doesn't appear, so maybe it IS linux-specific?

can confirm cursor acts as normal on my windows pc with sodium and l4j at 120hz. Might be linux specific.

Okay, I tested it on my pc, on a live installation of Manjaro. When at 60 fps, the cursor works as intented. But when over or under 60 fps, the cursor suddenly "gives up". So it seems to be 1. a linux specific issue, and 2. a framerate issue. When not at EXACTLY 60 fps, the cursor's snapping breaks. And it only occurs with sodium installed, as said earlier

idk if this was mentioned already but the cursor's movement is generally broken at higher frame rates. Also a Linux specific issue
https://github.com/user-attachments/assets/02b1c2b7-7387-4bf3-9470-2570a84b3184

here are some more examples using a more recent version of l4j
Here the FPS is uncapped:
https://github.com/user-attachments/assets/e47af408-6bd8-4bd7-8447-d9b78a7c67d0
Here the FPS is capped using VSync only, then 60 fps Max Framerate is added:
https://github.com/user-attachments/assets/06770bfb-1577-4242-973a-9edaf84a9bb4

still happening?

I'll close this issue, as no one updated about the state of this.


I hve updated the CSS and some javascript for a better look

Now the clock lso writes the time and it looks more decent then usual

Hey Nagesh! I am newbie to web development . This is my first time doing open Source so see my code once i have made a audio of ticking sound enabled in that and also added some styles hope you accepts my pull request. Or even if you reject just can you help me by telling where i lagged


Removed duplicates from X.txt

X.txt file contained duplicates

Thanks for the PR @mclmza but those are there on purpose.
From the readme:
Some items are mentions more than once, like Uber. This increases the likelihood that it is chosen.

Feel free to add some list items and make another PR 😄


Animator yellow outline in gif output

To reproduce:

Load Mrhead
Render with a white background.
Set a rotation in Animator, choose output as gif.
Save the output and observe that there is a yellow outline in the saved image (doesn't exist during rendering).

Try the same rotation in Screen Capture with animated gif output, and observe that it does NOT happen. Refered in https://discourse.slicer.org/t/slicermorph-animator-yellow-highlight-on-gif-images/17653

See comment on discourse.  This is probably a limitation of the gif format.

I saw it, but as I said it doesn't happen with screen capture module. So I am assuming it is a combination of encoding parameters specified in animator.

No, I think it's the image size.  Let's keep the discussion over on discourse and come back to this when we reach an action plan.


sama5d3x-ek/ov2640: Enable CONFIG_ALLOW_GPL_COMPONENT

Summary
Fix the build break by: https://github.com/apache/incubator-nuttx/pull/4352
Impact
Testing
Pass CI

BTW, I see in the ov2640.c file the following comment:

 * WARNING:  Some of the information in the data tables below came from other
 * projects with conflicting licenses:  Linux and ArduCAM.  Those both have
 * GPL licenses.  I am not sure if it is proper or not to lift the content
 * of those tables and still retain this BSD license.  I am guessing so, but
 * I am not copyright attorney so you should use this driver in products at
 * your own risk.

Can we seek some information about this? It looks huge to call it "GPL code" while it only gets few values in a lookup table.

BTW, I see in the ov2640.c file the following comment:

 * WARNING:  Some of the information in the data tables below came from other
 * projects with conflicting licenses:  Linux and ArduCAM.  Those both have
 * GPL licenses.  I am not sure if it is proper or not to lift the content
 * of those tables and still retain this BSD license.  I am guessing so, but
 * I am not copyright attorney so you should use this driver in products at
 * your own risk.

Can we seek some information about this? It looks huge to call it "GPL code" while it only gets few values in a lookup table.

We can refine the code later.

CI fail to download uClibc++-0.2.5.tar.gz, since the change is small and fix the mainline build break, @Ouss4 could you merge this patch directly?


Roman Ilto

You need to change only 2 files. There was no request to change html or add additional colours.


Update docs server to use new subproject names and directories

Dependent on #71

@scottfrederick we're ready for this

Snapshots: https://docs.spring.io/spring-cloud-open-service-broker/docs/2.0.0.BUILD-SNAPSHOT/apidocs/
M1: https://docs.spring.io/spring-cloud-open-service-broker/docs/2.0.0.M1/apidocs/


Add hasIcon static method API

Use Case
When using mixed icon sets in one project (e.g MaterialIcons and MaterialCommunityIcons) sometime you want to create an uniformed interface for easier use. (e.g MaterialCommunityIcons as fallback set).
Currently we don't have an API to check if some name is valid for one icon set. So I build the static util method hasIcon for this.

Hi, thanks for your PR! Would you mind avoiding creating a new array with Object.keys and moving the function itself down to the other "static" methods? Also maybe update the README?

@oblador Thanks for reviewing. Just updated to address the comment.


Added getFontInfo() function

This function will find and return any font info (family and size) from where the cursor is. Will return empty object if there is a selection.

This will only find either the font family OR the size unless these are both defined on the same inline tag (which is not normally the case with Squire). I don't think that's what is intended?
Please also be careful with the code formatting. The spacing is wrong in:
if (element.nodeType === TEXT_NODE) {

and in the var declaration, fontInfo should come first since it is being defined as well as declared, and there should be a newline before the other variable name.
Finally, it might be nice if it still worked if there's a selection within a single text node (quite a common case), which is trivial to handle.

As written, it will find both family and size, if both exist, even if one is on the cursor element and the other on its great-grandparent. It keeps going up through parentage until it has both, or hits BODY.
The code style and other comments are fair. I'll amend the PR come Monday.

Hmm, no:
while ( !fontInfo.family && !fontInfo.size ...

As soon as you get either a family or a size, the loop will break.

Ah! You're right. !( fontInfo.family && fontInfo.size ) && ... will work better there.

Shouldnt that be !( fontInfo.family || fontInfo.size )

No actually. If I want both the fields, I need to keep going until both are truthy.

Oh right, your original code was wrong, so that wasn't a demorgans law mess up,  you actually fixed it

There we go. I did as requested, detecting font info completeness correctly, and handling single-element selections. Also, fixed up the code style as requested.

Merged, with a small change to fix the case where the common ancestor container is something like body (in which case our selection is too large for this algorithm to work); now simply checks if the common ancestor node is a text node, in which case the selection is definitely all within the same path.


Fixes #40: Add toleration to armexporter-daemonset so it deploys to all nodes.

Closes #40.

Please, can you regenerate the manifests with ‘make’ and commit the resulting yaml files too?
Thanks!

@carlosedp I did that; the only ones that were changed were the arm manifests; but those are not generated by default.

Oh yes, that’s true. Thanks.


Failed to resolve import "@unhead/schema-org/vue"

Describe the bug
after installing the package into the project, an error occurs
Error:
ℹ Re-optimizing dependencies because lockfile has changed                                                          12:41:40
ℹ Vite server warmed up in 37152ms                                                                                12:42:18
ℹ Vite client warmed up in 39967ms                                                                                12:42:20
✔ Nitro built in 3399 ms                                                                                nitro 12:42:22

[12:42:41]  ERROR  Internal server error: Failed to resolve import "@unhead/schema-org/vue" from "pages/catalog/product/[slug].vue". Does the file exist?
  Plugin: vite:import-analysis
  File: /home/user/projects/frontend/pages/catalog/product/[slug].vue:17:32
  15 |  import { useSeoMeta } from '@unhead/vue';
  16 |  import { useSchemaOrg } from '/home/user/projects/frontend/node_modules/nuxt-schema-org/dist/runtime/nuxt/imports/useSchemaOrg';
  17 |  import { defineProduct } from '@unhead/schema-org/vue';
     |                                 ^
  18 |  import { imageOrDefault } from '/home/user/projects/frontend/utils/index.ts';
  19 |  import { defineOgImageComponent } from '/home/user/projects/frontend/node_modules/nuxt-og-image/dist/runtime/nuxt/composables/defineOgImageComponent';
      at formatError (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:50510:46)
      at TransformContext.error (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:50504:19)
      at normalizeUrl (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:65561:33)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:65716:47
      at async Promise.all (index 16)
      at async TransformContext.transform (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:65637:13)
      at async Object.transform (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:50819:30)
      at async loadAndTransform (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:53592:29)
      at async viteTransformMiddleware (file:///home/user/projects/frontend/node_modules/@nuxt/vite-builder/node_modules/vite/dist/node/chunks/dep-94_H5fT6.js:63376:32)

Used:
useSchemaOrg([
  defineProduct({
    name: 'Product  Test',
    description: "Product test description",
    image: 'http://localhost/images/no-logo.png',
    offers: [
      {price: 5000},
    ],
  })
]);

Nuxt project info:
- Operating System: Linux
- Node Version:     v20.9.0
- Nuxt Version:     3.10.2
- CLI Version:      3.10.1
- Nitro Version:    2.8.1
- Package Manager<EMAIL_ADDRESS>- Builder:          -
- User Config:      devtools, modules, css, tailwindcss, lodash, i18n, swiper, runtimeConfig, site
- Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>- Build Modules:    -
------------------------------

package.json:
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "@babel/runtime": "^7.23.9",
    "@nuxt/image": "^1.3.0",
    "@nuxt/ui": "^2.13.0",
    "@pinia/nuxt": "^0.5.1",
    "centrifuge": "^5.1.1",
    "maska": "^2.1.11",
    "mitt": "^3.0.1",
    "nuxt": "^3.10.2",
    "nuxt-swiper": "^1.2.2",
    "pinia": "^2.1.7",
    "typesense": "^1.7.2",
    "vue": "^3.4.19",
    "vue-router": "^4.2.5",
    "zod": "^3.22.4"
  },
  "devDependencies": {
    "@nuxtjs/i18n": "^8.1.1",
    "execa": "^8.0.1",
    "nuxt-lodash": "^2.5.3",
    "nuxt-og-image": "^3.0.0-rc.38",
    "nuxt-schema-org": "^3.3.6",
    "nuxt3-leaflet": "^1.0.12",
    "sharp": "^0.33.2"
  }
}

Reproduction
No response
System / Nuxt Info
No response

installing npm install -D @unhead/schema-org solves the problem

For me only explicitly importing from root of package works:
import { defineComment } from '@unhead/schema-org';

auto import will use @unhead/schema-org/vue which doesn't exists.


Setup autotest trigger

As a developer
I need setup "pull" and "push" trigger in Travis CI
So that autotest runs when a developer runs "pull" or "push" requests
Assumptions:

Set up Travis CI to monitor your GitHub repository for push and pull
requests.

Acceptance Criteria:
Given Travis accounts and repo
When the developer access Travis
Then the trigger is set pull and push

@Pmahindra93 This story may already finish. In case... please check the settings.


ENH: Revision of spaces module for consistency

Hello @oesteban, thank you for submitting the Pull Request!

In the file niworkflows/utils/spaces.py:

Line 550:17: W503 line break before binary operator
Line 551:17: W503 line break before binary operator
Line 573:100: E501 line too long (100 > 99 characters)

To test for issues locally, pip install flake8 and then run flake8 niworkflows.


build: Bump compilation toolchain

Previously, we were using Clang 15.0.6 which had a bug
that would trigger when compiling Clang HEAD in C++20 mode.
external/llvm-project/clang/lib/Analysis/FlowSensitive/HTMLLogger.cpp:503:12: error: ISO C++20 does not permit initialization of char array with UTF-8 string literal
      char ConvergenceMarker[] = u8"\\n\u2192\u007c";
           ^

This prevented us from bumping the LLVM version we
build/link against. So bump Clang so that we can bump Clang.

Another CI failure now:
(01:34:03) ERROR: /buildkite/builds/buildkite-agent-bazel-667dfd7c7b-ts77f-1/sourcegraph/scip-clang/indexer/BUILD:3:11: Compiling indexer/Preprocessing.cc failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //indexer:scip-clang-lib) external/llvm_toolchain/bin/cc_wrapper.sh -U_FORTIFY_SOURCE '--target=x86_64-unknown-linux-gnu' -U_FORTIFY_SOURCE -fstack-protector -fno-omit-frame-pointer -fcolor-diagnostics -Wall -Wthread-safety ... (remaining 527 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
In file included from indexer/Preprocessing.cc:15:
./indexer/Indexer.h:83:3: error: defaulting this equality comparison operator is not allowed because it was already declared outside the class
  DERIVE_EQ_ALL(FileLocalSourceRange)
  ^
./indexer/Derive.h:16:15: note: expanded from macro 'DERIVE_EQ_ALL'
  friend bool operator==(const _Type &, const _Type &) = default;
              ^
./indexer/Indexer.h:82:3: note: previous declaration is here
  DERIVE_CMP_ALL(FileLocalSourceRange)
  ^
./indexer/Derive.h:27:3: note: expanded from macro 'DERIVE_CMP_ALL'
  DERIVE_EQ_ALL(_Type)                                                    \
  ^
./indexer/Derive.h:16:15: note: expanded from macro 'DERIVE_EQ_ALL'
  friend bool operator==(const _Type &, const _Type &) = default;
              ^
1 error generated.


Add host ssh_port option

Fixes #1062
Adds ssh_port option for hosts and bastion hosts:
hosts:
  - address: <IP_ADDRESS>
     ssh_port: 1234
     bastion:
       address: <IP_ADDRESS>
       ssh_port: 2345

Also adds bastion.ssh_proxy_command for using a proxy command to start the bastion host's session.

(Doc PR incoming)

Not merging before we have docs pr.

@kke waiting for the docs ...

Noticed it's not in terraform parser, adding that still.


Made collectAsArrow allocator param Option

Might be better to use an Option for the root allocator in the  collectAsArrow API instead of constructing an instance there.  Also added more tests and minor cleanup of suite.

cc @icexelloss


Rebuildable AETN stopped working with latest update (QOL) [issue]

The existing ones in my colony still function, the care packages still provide new neutronim cores, but selecting it to build another one just defaults to a gas pipe instead and the object no longer shows up in the build catalog.  They were behaving normally until yesterday's QOL update.
I have the DLC installed but it's disabled and I've not used it, this is a base game play through. I got the mod via Steam, I have not tried updating it since I am using the latest version.

I uploaded the new version to steam a little more than half a day ago.
you just need to update.
use Mod Updater if the game itself does not want to update the mod.


Issue with new version

Hi,
I am using Dracula for scientific project, and I can see there is new version. I tried to use it in my old code which was using previous version of Dracula, but there are some problems. I don't see any error, but the graph is not looking as it should.
Could you please tell me what changes did you make to code, so I could set it. Also, it is very confusing having examples here on github which are not working with new version.

Hi, I'm just working on making the examples work with the new version. Mostly it needs work on the renderer part. I'll keep you updated on this ticket!


[shared_preferences] cast exception with get/setStringList: type 'List<Object?>' is not a subtype of type 'List?'

Steps to reproduce
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: type 'List<Object?>' is not a subtype of type 'List?' in type cast
Expected results
setStringList is not working properly
Actual results
Should be a List<String>, not List<Object>
Code sample
Code sample
final SharedPreferencesWithCache prefsWithCache =
    await SharedPreferencesWithCache.create(
  cacheOptions: const SharedPreferencesWithCacheOptions(
    // When an allowlist is included, any keys that aren't included cannot be used.
    allowList: <String>{'action'},
  ),
);

await prefsWithCache!.setStringList('action', <String>['Earth', 'Moon', 'Sun']);

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

works for me
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

final class SharedPreferencesKeys {
  static const action = 'action';
}

void main() async {
  final prefsWithCache = await SharedPreferencesWithCache.create(
    cacheOptions: const SharedPreferencesWithCacheOptions(
      allowList: {SharedPreferencesKeys.action},
    ),
  );

  await prefsWithCache.setStringList(
    SharedPreferencesKeys.action,
    const ['Earth', 'Moon', 'Sun'],
  );

  final actions =
      prefsWithCache.getStringList(SharedPreferencesKeys.action) ?? [];

  runApp(
    MaterialApp(
      home: Material(
        child: Column(
          children: [
            for (final action in actions) Text(action),
          ],
        ),
      ),
    ),
  );
}

[!] Flutter (Channel stable, 3.22.3, on macOS 14.5 23F79 darwin-arm64, locale en-US)
    ! Warning: `dart` on your path resolves to /opt/homebrew/Cellar/dart/3.4.4/libexec/bin/dart, which is not inside your current Flutter SDK checkout at
      /Users/francesco/fvm/versions/stable. Consider adding /Users/francesco/fvm/versions/stable/bin to the front of your path.
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.3)
[✓] VS Code (version 1.91.1)
[✓] Connected device (3 available)
[✓] Network resources

name: issue_152607
description: "A new Flutter project."
publish_to: 'none'
version: 1.0.0+1

environment:
  sdk: '>=3.4.4 <4.0.0'

dependencies:
  flutter:
    sdk: flutter
  shared_preferences: ^2.3.0

dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^3.0.0

flutter:
  uses-material-design: true

is this required?
final class SharedPreferencesKeys {
static const action = 'action';
}
The docs says just using the string as the key is fine

is this required? final class SharedPreferencesKeys { static const action = 'action'; }
The docs says just using the string as the key is fine

no, this is just me avoiding hard-coding the string 'action' all over the place

prefsWithCache = await SharedPreferencesWithCache.create(
cacheOptions: const SharedPreferencesWithCacheOptions(),
);
// await prefsWithCache!.clear();
List? savedIngredients = prefsWithCache!.getStringList('ingredients');
await prefsWithCache!.setStringList('ingredients', ingredientsState.ingredients);

I think it has somethign to do when prefsWithCache is used outside of main? I cant seem to setStringList when its outside of main, it keeps complaining of List<Object?>, no issue when doing setString  outside of main

eg something like this:
import 'package:easybites/globals/constants.dart';
import 'package:easybites/pages/ingredients/ingredients_state.dart';
import 'package:easybites/router/router.dart';
import 'package:easybites/router/router_observer.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:shared_preferences/shared_preferences.dart';
void main() async {
await WidgetsFlutterBinding.ensureInitialized();
prefsWithCache = await SharedPreferencesWithCache.create(
cacheOptions: const SharedPreferencesWithCacheOptions(),
);
// await prefsWithCache!.clear();
List? savedIngredients = prefsWithCache!.getStringList('ingredients');
print("ingredients");
// await prefsWithCache!.setStringList('ingredients', ['cherry', 'diamond']);
print(savedIngredients);
runApp(ChangeNotifierProvider(
create: (context) => IngredientsState()..updateState(savedIngredients ?? []), child: const MainApp()));
}
class MainApp extends StatelessWidget {
const MainApp({super.key});
@override
Widget build(BuildContext context) {
prefsWithCache!.setStringList('ingredients', ['cherry', 'diamond']);
screenWidth = MediaQuery.of(context).size.width;
screenWidthRatio = screenWidth / prototypeWidth;
screenHeight = MediaQuery.of(context).size.height;
screenHeightRatio = screenHeight / prototypeHeight;
return MaterialApp(
  navigatorObservers: [routeObserver],
  debugShowCheckedModeBanner: false,
  onGenerateRoute: generateRoute,
);

}
}

I have a global variable of:

please don't do that,
if you really really want something similar to a global variable you can use a singleton

singleton example
import 'package:flutter/material.dart';
import 'package:shared_preferences/shared_preferences.dart';

final class SharedPreferencesKeys {
  static const action = 'action';
}

class SharedPreferencesSingleton {
  SharedPreferencesSingleton._internal();

  factory SharedPreferencesSingleton() => _instance;
  static final _instance = SharedPreferencesSingleton._internal();
  SharedPreferencesWithCache? _prefsWithCache;

  /// you have to remember to call `initialize()`
  Future<void> initialize({Set<String>? allowList}) async {
    _prefsWithCache ??= await SharedPreferencesWithCache.create(
      cacheOptions: SharedPreferencesWithCacheOptions(
        allowList: allowList,
      ),
    );
  }

  /// you have to remember to call `dispose()`
  void dispose() {
    _prefsWithCache = null;
  }

  SharedPreferencesWithCache get prefsWithCache =>
      _prefsWithCache ??
      () {
        throw Exception('you forgot to initialize');
      }();
}

void main() async {
  await SharedPreferencesSingleton().initialize(
    allowList: {SharedPreferencesKeys.action},
  );

  await SharedPreferencesSingleton().prefsWithCache.setStringList(
    SharedPreferencesKeys.action,
    const ['Earth', 'Moon', 'Sun'],
  );

  runApp(const MyApp());
}

class MyApp extends StatefulWidget {
  const MyApp({super.key});

  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  @override
  void dispose() {
    SharedPreferencesSingleton().dispose();
    super.dispose();
  }

  @override
  Widget build(context) => const MaterialApp(home: MyHomePage());
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(context) {
    final actions = SharedPreferencesSingleton()
            .prefsWithCache
            .getStringList(SharedPreferencesKeys.action) ??
        [];
    return Material(
      child: Column(
        children: [
          for (final action in actions) Text(action),
        ],
      ),
    );
  }
}

but what you might actually need is a state management
I can recommend riverpod.dev

id like for my variables to be stored locally, so when user starts app again the data is stored again. and throughout the app the user can write to shared preferences. im already using providers for state management

I think this is more a discussion on best practices rather than an issue with flutter,
maybe it's better to close the issue and discuss it on discord

@itismejy
Check the plugin example to see if it helps in your case or not.
Also check if this helps.

@itismejy Please provide a complete reproducible test case that someone can run to see the issue; so far you've only provided fragments that don't compile in isolation, and the description of the error are too vague to be able to investigate (e.g., this comment only shows one line of code and says it causes an exception, but the line of code is a set call and the exception described can only come from get, so there are clearly missing steps there.)

I think this is more a discussion on best practices rather than an issue with flutter,
maybe it's better to close the issue and discuss it on discord

Please do not discourage people from reporting exceptions. Whether shared_preferences is the subjectively best tool for the use case, or whether globals are good or bad, is not material to the issue here. If a valid sequence of calls to the shared_preferences API can cause a cast exception, then there's a bug in shared_preferences.

Oh, I see how this happens.
@tarrinneal In the review I said we didn't need element-level casting for getStringList with the cached version because the entries would already be strongly typed from the setter, but that's not true when the cache is populated via getAll. So on macOS for instance, I get the exception if I simply store a string list, quit, and then try to read it on launch.
We either need to element-cast in getStringList after all, or we need to element-cast every List value type once in getAll.

I think it has somethign to do when prefsWithCache is used outside of main? I cant seem to setStringList when its outside of main, it keeps complaining of List<Object?>, no issue when doing setString outside of main

I think this is more a discussion on best practices rather than an issue with flutter,
maybe it's better to close the issue and discuss it on discord

@iapicca Please do not discourage people from reporting exceptions. Whether shared_preferences is the subjectively best tool for the use case, or whether globals are good or bad, is not material to the issue here. If a valid sequence of calls to the shared_preferences API can cause a cast exception, then there's a bug in shared_preferences.

I thought the reporter identified the issue in being caused by the use of the package rather than the package itself,
my bad

Thanks guys for your work!


Adding Pictionary to the list of games.

Added Pictionary to the games. I have added the rules as low difficulty, but the strategy as high.

Thanks!


Add pay-to address error checking / validation

Add pay-to address error checking, making it obvious that there's an issue with the address, cashaccount, etc if it's entered incorrectly.

This is supported in bitcoin-ts:
https://twitter.com/bitjson/status/1226944424338481155

Still an issue.

Add address validation that will disable (#23) the button, and hide/grey-out the widget if a valid address isn't being used.

Ideally this should use the same code path as #23 would.

Ideally this should use the same code path as #23 would.

In fact, it might even make sense to do #23 at the same time (your call, whatever makes sense).


Missing License

Hi @jessepisel !
Thank you for sharing this great resource.
I just wanted to point out that your repo is missing a license
and if you could possibly add one?
Thanks!

Thank you for reminding me to add a license. I added a MIT license to the repo and it should be good to go.
Cheers.


CI: fix matrix wiring

Matrix strategies can't use env vars so unwind the prior changes to dry the definitions out a little.
Fixes release CI error:
[Invalid workflow file: .github/workflows/release.yaml#L166](https://github.com/ollama/ollama/actions/runs/11670233094/workflow)
The workflow is not valid. .github/workflows/release.yaml (Line: 166, Col: 22): Unrecognized named-value: 'env'. Located at position 1 within expression: env.CUDA_11_WINDOWS_VER .github/workflows/release.yaml (Line: 167, Col: 18): Unrecognized named-value: 'env'. Located at position 1 within expression: env.CUDA_11_WINDOWS_URL

CI release fix.


Crash while expanding cell

Getting the crash while tap on the cell to expand. Getting the crash at line number 466 at "self.hiddenAfterAnimation = hidden" in FoldingCell.swift file.

Figured it out. When setting foregroundView to class RotatedView, you need to make sure you set the module to FoldingCell in interface builder. The exception is being raised because it doesn't know where to find the hiddenAfterAnimation property of the RotatedView class.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-source-version-target/pull/3 is merged into live branch.
Auto archive content to https://github.com/VSC-Service-Account/docs-archive-test-source-version-target.git

Docs Build status updates of commit 72d8b12:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

versioningArchiveSourceFolder/TOC.yml
:white_check_mark:Succeeded
View (sql-server-2014 || azuresqldb-current || azuresqldb-mi-current || azure-sqldw-latest || >= aps-pdw-2016 || >= sql-server-2016 || >= sql-server-linux-2017 || sql-server-previousversions || sqlallproducts-allversions)

versioningArchiveSourceFolder/docfx.json
:white_check_mark:Succeeded

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


ModuleNotFoundError: No module named 'falco_ui.favicons'

I was following the guide on https://falco.oluwatobi.dev/the_cli/usage.html and I get this error:
Environment `default` already exists
Environment `dev` already exists
Environment `docs` already exists
Python 3.12.7
pre-commit installed at .git/hooks/pre-commit
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/www/indovina/manage.py", line 23, in <module>
    main()
  File "/home/www/indovina/manage.py", line 19, in main
    execute_from_command_line(sys.argv)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/config.py", line 193, in create
    import_module(entry)
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'falco_ui.favicons'
error: Recipe `run` failed on line 48 with exit code 1
error: Recipe `dj` failed on line 89 with exit code 1
error: Recipe `migrate` failed on line 111 with exit code 1
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/www/indovina/manage.py", line 23, in <module>
    main()
  File "/home/www/indovina/manage.py", line 19, in main
    execute_from_command_line(sys.argv)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/core/management/__init__.py", line 416, in execute
    django.setup()
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/__init__.py", line 24, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/registry.py", line 91, in populate
    app_config = AppConfig.create(entry)
                 ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mte90/.local/share/hatch/env/pip-compile/indovina/1N0KV4b0/dev/lib/python3.12/site-packages/django/apps/config.py", line 193, in create
    import_module(entry)
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1324, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'falco_ui.favicons'
error: Recipe `run` failed on line 48 with exit code 1
error: Recipe `dj` failed on line 89 with exit code 1
error: Recipe `createsuperuser` failed with exit code 1

Looking in this repository the favicons stuff is missing

The mention is at https://github.com/falcopackages/falco/blob/dab225bbd8c2fa24c9b6b8b70144c6d9dd98a3cb/docs/_static/snippets/settings.py#L98

I see also on https://github.com/falcopackages/starter-template/blob/main/{{ cookiecutter.project_name }}/{{ cookiecutter.project_name }}/settings.py

It was enough to remove on settings.py and urls.py the mention


Fix wav2vec2 loss metrics

This PR fixes the loss metric calculation bug in wav2vec2 pretraining.

What bug is this?


Update names for test_results to ease consumption/representation by TRTL.

@richbrowne @jlongstaf @pjbreaux
These changes update the names of test results to make it easier to interpret them when they appear in trtl.
Project (See Buildbot)
Session 1: unit_$(version)
Session 2: disconnected_$(version)

Ship it.


Implement Z-ordering

Changelog category :

New Feature

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):

Implement z-ordering

Documentation entry for user-facing changes

[ ] Documentation is written (mandatory for new features)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: canhld94:x: pkitYou have signed the CLA already but the status is still pending? Let us recheck it.


feat(default-theme): display 400 errors right from the API

closes #555

fixes my-account update forms issues
displaying appropriate error messages that come from API in case of 400 (bad request)

Checklist

[x] I followed contributing guidelines

also closes; #416

On iOS during registration there is a problem with scrolling to the place where 'Don't have and account yet? Register today? ' is written.

Tested on browserstack.

thanks @akrajna :+1:, could you create a new issue regarding this?

@mkucmus the issue have been created #591 :-)

@mkucmus the issue have been created #591 :-)

@patzick as you can see - it's ready :+1:


Python If-Else

As the Solution is updated to the repo already : https://github.com/jarvismayur/Hackerrank-Problem-Solutions/blob/main/Python/Python If-Else/Python_If-Else.py

Completed


clang-tidy: Ignored function return values in tests

/data/ultifi/up-cpp/test/coverage/datamodel/UUriSerializerTest.cpp
/data/ultifi/up-cpp/test/coverage/datamodel/UuidSerializerTest.cpp
Several tests ignore function return values and that cause errors for clang-tidy.

std::ignore = calledFunction() seems to be the recommended way to deal with this.


[Question] Purpose of the parameter of AssetFactory

$factory = new AssetFactory('/path/to/asset/directory/');
Where is this path used? Because when, later on, I try to do this:
$af = new AssetFactory(\App::basePath());  // This is Laravel App's base-path
$am = $af->getAssetManager();
$am->set('jquery', new FileAsset("bower_components/jquery/dist/jquery.js"));

and at the end this:
$jsAssets = $af->createAsset(array('@jquery'));
$jsContent = $jsAssets->dump();

I get this:
The source file "bower_components/jquery/dist/jquery.js" does not exist.

Isn't project base-path used in this situation? I checked source code, and here:
https://github.com/kriswallsmith/assetic/blob/master/src/Assetic/Asset/FileAsset.php#L59
I see no mention of base path.
So, if that parameter isn't use for base-path purposes, what is it used for then?

This should be the root folder in which assets will be looked for (the parent folder of bower_component in your case)


When the homepage fails to load there's no way to see the error message

Cannot be debugged.

Got a simulator to work, shows this:
    1. Cannot read property 'artist' of undefined
       orm_0) {__id,...F0},_artwork_modules1FRCKl:artwork_modules(m
                           ^^^

We don’t show raw errors to end-users anywhere in the app, so this is always going to require connecting a debugger/console, e.g. through running on the sim from Xcode.


[Misc] Improve conftest

Just a few minor changes.

any usecase for this change?

It is to improve the type annotations. Some tests are already using enforce_eager.


Card is not registered into Mango pay dashboard

Hi everyone!
I am using prestashop version 1.4, and I am using mangopayprestashop module for payement orders on prestashop online website. when I make a payement
in the main page of the module in initcontent() function this $result does not register card into mango pay dashboard.
$result = $this->mangopayCardRegistration();
Iget this ::
object(MangoPay\CardRegistration)#394 (13) { ["UserId"]=> string(9) "230327793" ["AccessKey"]=> NULL ["PreregistrationData"]=> NULL ["CardRegistrationURL"]=> NULL ["CardId"]=> NULL ["RegistrationData"]=> NULL ["ResultCode"]=> NULL ["Currency"]=> string(3) "EUR" ["Status"]=> NULL ["Id"]=> NULL ["Tag"]=> NULL ["CreationDate"]=> NULL ["CardType"]=> string(18) "CB_VISA_MASTERCARD" }
AND this
\MangoPay\ResponseException: Code: 405
Message: Method not allowed. The requested resource does not support http method 'GET'.
Details: MangoPay\Error Object ( [Message] => The requested resource does not support http method 'GET'. [Errors] => )
UNEXPECTED PAYMENT ERROR
HOWEVER, the user and the wallet are created into mango pay dashboard.
So please I need a help to get this to work!
Any help....

PS: the function that does not work as mentioned in previous message is as follow
function mangopayCardRegistration() i{
try {
    $obj_cardregister = new MangoPay\CardRegistration();
    $obj_cardregister->UserId = $this->buyer_mangopay_userid;  //required
    $obj_cardregister->Currency = Configuration::get('MANGOPAY_CURRENCY'); //required
    $obj_cardregister->CardType = 'CB_VISA_MASTERCARD';
    echo 'begin';
    var_dump($this->obj_api->CardRegistrations->Create($obj_cardregister));
    echo 'end';
    exit;
} catch (Exception $e) {
    die($e->getMessage());
}

}`
any help

Please see my comment here: https://github.com/Mangopay/mangopay/issues/46
We do not provide any support for prestashop module, because we do not own it.
Thanks for you understanding !
Mickaël


Allow non-const default values

Is your feature request related to a problem? Please describe.
We can now set default values. I think that's great, especially for when we introduce new non-nullable fields, so they're always guaranteed to have a value. The problem is that the default value needs to be a const expression. This means it can't be an instance of a subclass of HiveObjectMixin (which all of our non-primitive types are), because that doesn't have a const constructor.
Here's a simple example, say you have a new non-primitive field:
class NewComplexField with HiveObjectMixin {}

I would want to do:
class MyObject with HiveObjectMixin {
  @HiveField(14, defaultValue: NewComplexField())
  final NewComplexField complexField;
}

except that's not possible.
Describe the solution you'd like
I think it be fixed by having a function generate default values. Something like
class MyObject with HiveObjectMixin {
  @HiveField(14, defaultValue: () => NewComplexField())
  final NewComplexField complexField;
}

Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: 2.0.6
Hive version: 2.0.4

Unfortunately codegeneration for default values is limited by constant values. What you can do is you can write your own adapter to supply non-constant value.

Unfortunately codegeneration for default values is limited by constant values. What you can do is you can write your own adapter to supply non-constant value.

Can you give an example of your suggestion?
I am trying to do something like this too
class PatientData extends HiveObject {
  @HiveField(0,defaultValue:AccessToken())
  AccessToken? accessToken;

any further information on how I can support the non-constant value?

any further information on how I can support the non-constant value?

Not tested but you might try:

Remove defaultValue use hive_generator to generate adapter for you.
Copy contents of .g.dart file into separate file
Modify read method to support custom substitute for null values


fix for #237

Prevents failure if xot_offline is not defined. Details in #237

Thank you, but I  fixed this in a different way (by setting xot_offline in xenith.js.


Features/new diabetes questions

Description
Adding new diabetes questions. Covering both new profile & existing profile flow (Backfill).
3 new components:

Diabetes Questions
Diabetes Treatments Questions
Diabetes Oral medications Questions

Diabetes Questions contains both Diabetes Treatments Questions & Diabetes Oral Medications Questions
Oral medication will show if Other diabetes medication taken by mouth is selected as the  answer of Diabetes Treatments.
All new diabetes questions can be added by just using DiabetesQuestions.
DiabetesQuestions.schema is concat conditionally in ProfileBackDateScreen.tsx & YourHealthScreen.tsx
On what platform have you tested the change?

[ ] Android - Emulator
[ ] Android - Physical device
[x] iOS - Emulator
[ ] iOS - Physical device

Screenshots
Please attach screenshots showing the change if relevant
Checklist

[ ] I have updated mockServer
[x] I have run npm test
[ ] I have run npm run test:i18n

Out of scope and potential follow-up
Is there any related changes that you plan to do in a follow-up PR or voluntarily excluded from the scope?

Could you also add a description about how the 3 new components relate to each other? As I see you've split out the questions

I spotted an issue with the component relations. I thought they all depend on each other, just re-read the ticket and they aren't.
I originally thought the Treatments Question is depending on the new Diabetes questions but it doesn't. So I will update it now then update the description.

There is a justification text in the Notion text that should included at the start of DiabetesQuestions


Issue75 wrong options shown

@tblanke is it possible to create some pytests for these changes as well so the total coverage does not decrease?
Best regards,
@wouterpeere


Table of Contents Generation

Added scripts to template to generate TOC at page load. Scripts from Jupyter Contrib Extensions
EDIT by @eteq: As a bookeeping measure... If merged, this closes #29

Currently fetches js/css files from cdn, perhaps it would be better adding them in the repo to allow changes/tweaks.

This PR looks good to me; I was able to locally build up the notebook HTML pages with functional tables of contents.
I agree that the JS/CSS files will probably need to be sourced locally to allow for customization, but I think we can leave that for later PRs?
Also, I see that the CI build for this PR is marked as failed, but I assume that is because it was submitted back in February. (Especially considering the failed build is in Travis rather than CircleCI.) Might still be worth re-running it with CircleCI now, though?

Example of the live TOC can be viewed here.

@eteq

This generally looks good to me except that it would be better if there was a way to supress the "gear"/settings icon... that's a distraction for most users I think. Any clear way to do that?

I believe just adding
<style>
i.fa.fa-fw.fa-cog {display: none}
</style>

to the the html template should do the trick.

Awesome, thanks @obviousrebel !
To move forward I think I'm just going to go ahead and merge this.  I have some misgivings about using a notebook-oriented extension like this for the actual built pages, but I think it's better to have this than not so I'll make a follow-on issue about my misgivings and how we might re-engineer it to be more maintainable down the road.


do not use therubyracer if other options are available

Hello, at present I see that therubyracer runtime is preferred over anything else present on the system. This is not a good idea because it is not thread safe and can deadlock the whole MRI when multiple threads are calling it.
Please see https://github.com/cowboyd/therubyracer/issues/432. It appears to me that gem is not well maintained so I'd suggest prefer other runtimes over it. I still can't understand how it can deadlock the whole MRI. I tried putting inside SEMAPHORE.synchronize {..} all calls to @v8_context to no avail.
For the info, I'm using awestruct which uses threads to generate static web sites. Tilt coffee script processing and AutoprefixerRails are processing files for me in the different threads. I'll try to come up with a simpler reproducer later.
-- therubyracer 0.12.3
-- execjs (2.7.0)

Here I've crafted a very simple reproducer which often hangs with therubyracer but consistently completed flawless with nodejs backend:
require 'open-uri'
require 'autoprefixer-rails'

t = "https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/css/bootstrap.css"
input = open(t).read

(1..10).each do
  Thread.new {
    AutoprefixerRails.process(
      input,
      from: "bootstrap.css",
      browsers: ['> 1%', 'ie 10']
    ).css
  }
end

Even simpler reproducer without any external gems:
require "execjs"

(1..10).each do
  Thread.new {
    f = ExecJS.compile %q{
    function pausecomp(millis) {
      var date = new Date();
      var curDate = null;
      do { curDate = new Date(); } while(curDate-date < millis);
    }
    }
    f.eval('pausecomp(200)')
  }
end

Honestly it looks like RubyRacer development has ceased. I painfully ran into this issue when I started using ExecJS w/RubyRacer in production with Sidekiq. Switching to MiniRacer has mostly solved my issue (I am experiencing memory leaks which may or may not be related to my ExecJS usage)


Is there a way to allow the floating action menu to move/be draggable?

Is there any way to make the floating action menu become a draggable button which the user can move around the screen?

check this link http://blog.mobile-j.de/2013/10/creating-system-overlay-always-on-top.html


Handle Pegdown being declared end-of-life

Gitblit uses Pegdown in version 1.5.0 for Markdown processing. Pegdown has been deprecated today. This begs the question how to react to this.

Ignore it, since it works.
Update to the latest available version of Pegdown, 1.6.0, to at least use the latest.
Switch to a different Markdown processor for improved speed and continued development, e.g. the recommended flexmark-java.

@gitblit, since you prefer to support the underdogs, do you have any other Markdown processor in mind that would be an alternative in point 3?

Hehe.  I suppose that's true.  Another engine to consider is Atlassian Commonmark.

Flexmark-java is actually a fork of Atlassian Commonmark. I am currently reading up on the differences to see if that fork would bring any benefit. Right now flexmark-java couldn't be used as it requires Java8, while Gitblit still works on Java7. But it will be downgraded to java7 in the next release (or so it is planned).

Atlassian Commonmark seems like the better bet to me.  As for J7 vs. J8, JGit is considering (or already did) drop J7 support.  I don't have a problem requiring J8.

Well, I wouldn't want to force Java8 on Gitblit just because of a Markdown parser.
I guess it boils down to which library supports all the Markdown extensions currently supported in Gitblit (and then some). But going with something Common Mark compatible sounds like a good idea. If it gets faster than Pegdown, then switching to something else eventually is probably the way to go.

FYI I just confirmed JGit 4.6, due to drop in a week or so, requires J8.

4.6? I thought it is at 4.4, what happend to 4.5.
Gitblit uses 4.1, so maybe 4.4 is a possibility to delay requiring J8 a little more. =) I have the feeling that moving to J8 will break a few Gitblit installations on NAS systems.

4.5 was released in September.


Expunge flex source code

Hi, Andrea.  Great work on the Flex integration into godot, including the youtube video series.  I'm interested in expanding on your work (DirectX + AMD support on Windows).  However, I noticed that your flex branch includes the flex source code, which I believe violates the NVidia license for flex (check the license headers).
I forked your repo and expunged thirdparty/flex directory from the repo history by adapting the instructions here https://stackoverflow.com/a/32886427/4133253:
   73  git clone https://github.com/fluffynukeit/godot.git godot-catania-fluffy
   74  cd godot-catania-fluffy
   75  git checkout flex
   76  gitk
   77  git checkout flex && git filter-branch --index-filter 'git rm -rf --quiet --cached --ignore-unmatch thirdparty/flex/' --prune-empty --tag-name-filter cat c8738d9712e0073c29^..HEAD
   78  git for-each-ref --format="%(refname)" refs/original/ | xargs -n 1 git update-ref -d
   79  rm -Rf .git/logs .git/refs/original
   80  git count-objects -vH
   81  git gc --prune=all --aggressive
   82  git count-objects -vH
   83  gitk
   84  git push origin flex --force

I then added thirdparty/flex as a submodule as a new commit, not replacing the original flex code addition in the history.  git submodule add https://github.com/NVIDIAGameWorks/FleX.git thirdparty/flex.  I used a submodule so that the flex library code is not included in the godot repo and only people with access to the NVIDIAGameWorks org can grab it from github.
I made this as a PR to enable the comparison tools, but I think if you want to do the same to your repo, you'll either need to do the same steps (recommended) or delete your repo and re-fork from mine (probably complications associated with this, so not recommended).
Unfortunately, I do not have a Linux machine to test this; I only have Linux guest VMs and non-nvidia GPUs, so I cannot install CUDA to verify this still builds.  If cleaning the code this way interests you, I suggest using this PR description as a guide to do the same steps, verify that it still compiles and works as you're used to after pulling the submodule, then force overwriting the branch in your github repo.  I'd then delete my fork, re-fork from you, and have a clean starting point for making my desired feature additions.
Thanks for you consideration.

Hello, you could be right so this PR is really welcome... However I would prefer to not touch the history in that way. I prefer using the squash tool.
Can you please submit this change as normal PR? I'll do the history change later.

Sure.  That would include just the submodulization part of it at the end, so it should be quick.  I'll still be unable to test it myself, though.

Supersede by #10


Level ?

i want Level up :3 :P need link :D  tks

It's only possible through the official servers.  It is not be legal to get experience points through any non-official servers.

this is my sever agarvn.com :P it is official?

"Official server" meaning the servers hosted by Miniclip.  Servers that use MultiOgar or any Ogar software will never be "official".
You can code in some leveling up system in your own server, but it will be separate from the official Agario's system.

http://choi.one  :)) here This web site Level


Updated Legion CLI and Model RestAPI documentations

This PR closes #50 and #51

@aliaksandr-d please build and provide link to view documentation

@kirillmakhonin I've just rebuilt Legion, and here are fresh docs: https://cc.epm.kharlamov.biz/docs/0.5.6%2B180508150828.278.70cf9fc/

@kirillmakhonin What do you mean, when say remove legion pyserve ? I'm not sure if it's a good idea, to remove pyserve from docs and leave it in code and tests and everywhere. Imho, if we don't need pyserve, we should create a new issue to remove it.

@aliaksandr-d pyserve isn't a CLI tool, it's internal tool from model serving part, that cannot be used manually. Also that tool would be moved from legion package to toolchain package in close future.

@kirillmakhonin i've removed legion pyserve docs.
Anyway, to avoid desync between code and docs in future, we should add/update/remove functionality simultaneously with docs update. Every issue should have a small subtask update docs if necessary. It's much easier to update docs during code (or other stuff) change, but not in a month.
Same approach to Pull-requests, they should not be approved if there are no docs update.

@akharlamov, can you approve this PR, please?


Auto deploy functionnality using grunt

I have integrated with https://github.com/Tim-B/grunt-aws-lambda
Please share your feedbacks.

Overall this looks good, just a couple minor formatting things I'd like to have cleaned up.

Tell me if there is anything missing

@piercus Thank you for making those changes. This looks great; I'll merge this in.

You're welcome, i'm glad to help !


kuksa.val server also accepts value as number

VISS V2 defined, that value to be set and read should be string. see https://raw.githack.com/w3c/automotive/gh-pages/spec/VISSv2_Transport.html#term-def

Attribute
Type
Description

value
string
The data value associated with the path.

The definition for setRequest is:

Attribute
Type
Required

action
Action
Yes

path
string
Yes

value
string
Yes

authorization
string
Optional

requestId
string
Yes

But currently, kuksa.val server also accepts value as number, which is quite wired:
Test Client> setValue Vehicle.Speed 200
{
    "action": "set",
    "requestId": "452ac2c3-210c-49f2-a43e-21f75c47128f",
    "timestamp":<PHONE_NUMBER>347
}

Test Client> getValue Vehicle.Speed
{
    "action": "get",
    "path": "Vehicle.Speed",
    "requestId": "60e470d2-78d9-4412-bc7c-414ad3afe158",
    "timestamp": "1624441378347",
    "value": "200"
}

Test Client> setValue Vehicle.Speed "201"
{
    "action": "set",
    "requestId": "82be8795-83ad-4157-b374-d6730d282aa9",
    "timestamp":<PHONE_NUMBER>049
}

Test Client> getValue Vehicle.Speed
{
    "action": "get",
    "path": "Vehicle.Speed",
    "requestId": "eb218e26-e97a-43b8-8f3e-6491057f432c",
    "timestamp": "1624441395049",
    "value": "201"
}

There is some strange behavior, if the value to set is not string, see https://github.com/eclipse/kuksa.val/issues/211#issuecomment-875610536.

wait for answer from w3c: https://github.com/w3c/automotive/issues/386

This is fixed in current master. We will always store the native datatype in database, but we make sure VISS always returns string, (we are generous in what what we accept).


Database timeouts can be too long

The database can take forever to timeout. What about a short database timeout?

makes sense. 30s should be long enough that even on a wet string, it's
never getting through.
On Sun., 29 Sep. 2019, 18:07 Christopher Usher<EMAIL_ADDRESS>wrote:

The database can take forever to timeout. What about a short database
timeout?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ekimekim/wubloader/issues/88?email_source=notifications&email_token=AAELFRHWHGUWV4UA55T2ADDQMFGOVA5CNFSM4I3U3MSKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HONNNAA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAELFRC6ATBDBMC6SCQC7BTQMFGOVANCNFSM4I3U3MSA
.

Solved by pull request #89


Binder uses auth tokens as websocket ID

This is an awkward coupling where in reality only a unique integer is needed for tracking connected websockets. This should be swapped out.

Even better might be a pointer to the BinderClient. Then b.clients can just be an array...
For removing a client we'll have to iterate it, but that's basically the only time..
Also we should probably add userId to BinderClient and not return the token, because the token is used for authentication... So we would effectively be sharing the authentication token with all the other clients in the same document.

This is fixed in https://github.com/Jeffail/leaps/pull/13 :)


Saving image does not preserve colors

I am trying to use this to screenshot the map with a GeoJSON feature Layer that has different colors, and the layer is saved as part of the screenshot, but not the colors. Thank you.

Hi @m0hamad , thank you for the report. Actually, I have never tested this plugin with GeoJSON layer. Could you tell me more detailed information about it? If you can provide any sample source code, I can try it what is happening.
Also, please share some screenshot images. so I can easily understand the problem.

Hi @JinIgarashi, so sorry for the late reply.
Mapbox has a map.addSource(), where you can supply it with GeoJSON data, and within the properties of the data, we have colour. When we call map.addLayer(), we can then set the initial colour or colours of each data point of the layer. As it turns out, the screenshot feature works great for that, but for our app, we can change the colours of different parts of the layer after initially loading it:

The problem is that when we change the colour of any of those buildings and try to screenshot, the screenshot only shows the original colours. Here is the function we use:
map.setFeatureState(                 {                     id: id,                     source: 'buildings-source'                 },                 {                     id: id,                     click: true,                     color: color                 }             );
If there is a way to show the colours in the screenshot from this function, or if there is another way to colour the layer that will work with screenshots that would be amazing. Thank you.

Hi @m0hamad
I understood the situation. My plugin will regenerate new map canvas for exporting from Mapbox style by map.getStyle(). I guess map.getStyle() will not contains style of FeatureState.
https://github.com/watergis/mapbox-gl-export/blob/0d7c7679501cd8999772194f5c5f14329037af61/lib/map-generator.ts#L88-L99
If there is a way to recover FeatureState's style after regenerate Map object, I think it can produce an image with color. I found there is a method of getFeatureState, but it might be difficult to use this method.
Do you have any idea?

Hi @JinIgarashi
I cannot seem to find a way to use getFeatureState as part of the snapshot feature. I was wondering if you got the style of the map on the initial load or if you get the current map style after I click on the button.
Thank you for trying to look into this.

Hi @m0hamad
Thanks. Let me continue to search the solution for this issue.


GCC8 Warning

Tried out recastnav with GCC8 and got the following warning as well:
/home/travis/build/OpenMW/openmw/extern/recastnavigation/Detour/Source/DetourNavMesh.cpp: In member function ‘dtStatus dtNavMesh::init(const dtNavMeshParams*)’:
/home/travis/build/OpenMW/openmw/extern/recastnavigation/Detour/Source/DetourNavMesh.cpp:243:50: warning: ‘void* memset(void*, int, size_t)’ clearing an object of type ‘struct dtMeshTile’ with no trivial copy-assignment [-Wclass-memaccess]
  memset(m_tiles, 0, sizeof(dtMeshTile)*m_maxTiles);
                                                  ^
In file included from /home/travis/build/OpenMW/openmw/extern/recastnavigation/Detour/Source/DetourNavMesh.cpp:22:
/home/travis/build/OpenMW/openmw/extern/recastnavigation/Detour/Include/DetourNavMesh.h:276:8: note: ‘struct dtMeshTile’ declared here
 struct dtMeshTile
        ^~~~~~~~~~

The structure being cleared is just a POD type with deleted copy-constructor and assignment operator.
It appear GCC8 does not recognize the old-style idiom used for deleting auto-generated members (where you just declare them privately without an implementation). We use this approach to support older compilers.
Unfortunately the only workarounds I can think of involves ugly if-defs or undeleting these (which I am not a fan of as this type should not be copied).

In general we stay away from C++11+ features in the library parts. At some point we should probably reevaluate this decision (after all, C++11 is 7 years old at this point), but R&D is a big collection of algorithms at its heart and it is limited how many new features are actually useful in this sense. So until now we have erred on the side of compatibility.

And now that C++11 is almost 9 years old? :)

The structure being cleared is just a POD type with deleted copy-constructor and assignment operator.

Just for reference - marking related methods as delete does not fix the warnings. I know that several projects tell compiler to treat the struct as a raw memory to silece the warning.
So the
memset(m_tiles, 0, sizeof(dtMeshTile)*m_maxTiles);

would become the
memset(static_cast<void*>(m_tiles), 0, sizeof(dtMeshTile)*m_maxTiles);

Not sure if such statement is valid for all compilers, supported by R&D, though.


Add Password

Checklist for submitting a pull request to Movies For Hackers:

[x] I have carefully read and comply with the Contributing Guidelines of this repo.
[x] I have searched the PRs of this repo and believe that this is not a duplicate.

Title: Password
Link: https://www.imdb.com/title/tt10912588/
Genre: Action/Thriller
Rating: 6.5/10

Description: A police officer hunts for a cybercriminal who is destroying people’s lives by hacking their passwords.

Hey @andrey-ushakov. Please make sure that your suggestion has been added in the right alphabetical spot on the list. Thanks!


Retry checking port_server on socket timeout errors

LGTM

undo LGTM
Traceback (most recent call last):
File "tools/run_tests/run_tests.py", line 838, in
xml_report=args.xml_report)
File "tools/run_tests/run_tests.py", line 764, in _build_and_run
_start_port_server(port_server_port)
File "tools/run_tests/run_tests.py", line 739, in _start_port_server
except socket.timeout:
NameError: global name 'socket' is not defined

Fixed

Restarted the build to see what's up with C# on windows.


Allow IPA to be passed to keyword generator

Without source, it's not entirely clear what you're using to generate pronunciations but it would be wildly helpful for both users and maintainers if you allowed not only the -w keyword but something like -i, --ipa to be able to supply an IPA pronunciation string in lieu of English words. This would allow the training of any keyword imaginable without the need to maintain a list.
That would also get rid of the slew of missing keyword issues problem.
e.g.
$ pv_porcupine_optimizer -w 'argonaut'
[ERROR] could not find the pronunciation for 'argonaut'
--> 1

$ pv_porcupine_optimizer --ipa 'ɑːrɡənɔːt'
--> 0

(yes I'm aware argonaut works by default, it was the first random Wikipedia page that had an IPA readily available 🙃)

Totally understand the point. We did think about this option at the beginning and we decided not to go down this path. The reason is that we rather users to be limited than be able to make mistakes and not get the results they expect. Especially that the commercial customers we have are also using the optimizer tool to create models for evaluation. We just rather them to come to us and ask for their specific keyword that is not available rather than creating a model with incorrect phonemes.

But how is that maintainable? Releasing something under a license as liberal as apache grants you a bit of leeway with "hey, if you supply a bizarre word you might not get the results you want" rather than completely limiting the word choices.
Further it hurts adoption with teams that would like to use a wake word that is a prototypical/code name. It makes very little sense to "open source" a bunch of binaries without source and still limit users on which words they use.
It's great technology but a bizarre set of restrictions you're placing in order to pass as OSS.


BUG

Real time GitHub URL of website not working showing privacy errors
So I want to fix this issue

Okay i will try to do that

just try and tell me the update  plz

I can contribute to the issue with a clean and efficient code. Kindly accept my issue under GSSOC'24.


Tiles not showing

Hi!
We are using your plugin in our application which works fine while testing on a local machine. When we package the application in a war and deploy it in a web server (Grails/Tomcat), we notice the tiles are not showing.
It is not a CORS or similar problem, since we tried loading tiles offline and in both cases we see they are getting fetched from the web server succesfully. They are just not showing on the globe which remains blue all the time.
I understand I probably didn't give you enough info, but I would like to check if you experienced something similar before.
Empty globe:

Tiles actually loaded from server:

It would be awesome If you could give me a tip on how to solve/debug this.
Thank you,
Gregor

Hi! I'm afraid we haven't experienced this before. Are there any errors/warnings in the console? Without it, it would be very hard to track this down..

Thanks for a quick reply!
No warnings in the console unfortunately. Is it possible to turn on debug logging or something?

No, there is no additional logging to be enabled..
Is http://www.webglearth.com/ and http://examples.webglearth.com/ running ok?

Yup, both are showing.

I guess this is CORS related.
Host the textures on the same server or ensure the server provides CORS.
WebGL security restrictions in a webbrowser does not display tiles if they are tainted.


Fix native file dialog showing on loading project in editor.

Fixes https://github.com/godotengine/godot/issues/96896
Fixes https://github.com/godotengine/godot/issues/95199

Thanks!


fix(semantic): transform checker catch more scope flags mismatches

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5054  👈
#5053
#5052
#5051
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


如何关闭eslint

[ ] I'm sure this does not appear in the issue list of the repository

Basic Info

Package Name And Version<EMAIL_ADDRESS>Browser: chrome99.0.4844.84
Reproduction Link: https://github.com/arco-design/arco-design-pro-vue

What is expected?
怎么关闭这个烦人的eslint


[Bug]  Unknown connector runtime exception  in pulsar connector when publishing cloudevents

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
Mac
EventMesh version
master
What happened
Publish CloudEvents to pulsar connector,   fails with exeception
org.apache.eventmesh.api.exception.ConnectorRuntimeException: Unknown connector runtime exception.
        at org.apache.eventmesh.connector.pulsar.producer.AbstractProducer.checkProducerException(AbstractProducer.java:48) ~[?:?]
        at org.apache.eventmesh.connector.pulsar.producer.ProducerImpl.publish(ProducerImpl.java:63) ~[?:?]
        at org.apache.eventmesh.connector.pulsar.producer.PulsarProducerImpl.publish(PulsarProducerImpl.java:44) ~[?:?]
        at org.apache.eventmesh.runtime.core.plugin.MQProducerWrapper.send(MQProducerWrapper.java:81) ~[eventmesh-runtime-1.6.0-release.jar:1.6.0-release]
        at org.apache.eventmesh.runtime.core.protocol.grpc.producer.EventMeshProducer.send(EventMeshProducer.java:46) ~[eventmesh-runtime-1.6.0-release.jar:1.6.0-release]
     ......

Causes:
EventMeshExentension only load the dependency jar from ${eventmesh_home}/lib. But Producer in pulsar connector use ProtobufFormat ,
    byte[] serializedCloudEvent = EventFormatProvider
                    .getInstance()
                    .resolveFormat(ProtobufFormat.PROTO_CONTENT_TYPE)
                    .serialize(cloudEvent);

this is no  cloudevents-protobuf-xx.jar in lib dir。
Resolution：
Add the cloudevents-protobuf dependency in the root build.gradle  or use the jsonFormat as same as other connectors
How to reproduce
1）Enable pulsar connector by setting connector.plugin.type=pulsar
2)  Send CloudEvent by JAVA SDK
3)  See the eventmesh runtime log, there will be ConnectionRuntimeException
4)  Put the cloudevents-protobuf-xx.jar in the lib dir, can resolve the exception
Debug logs
No response
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

please assign it to  me.


Feature Request: Set Title via API Post and return Post URL in API Response

Hello!
I would like to propose the ability to add a title to the post via the same api call that was used to generate it. ShareX allows you to use a variable to define this.
I'd also like the API response to provide the post URL - this is to also put a variable in the ShareX config which will allow it to be easier shared.
Before: API Response:
{
  "author": "on2imnwqggminrg",
  "collectionId": "tqco9f8weal93h6",
  "collectionName": "posts",
  "created": "2023-05-20 04:23:05.739Z",
  "files": [
    "z1qxne4clk31jlw"
  ],
  "id": "p5othop5v4z4k18",
  "nsfw": false,
  "public": false,
  "tags": null,
  "title": "",
  "updated": "2023-05-20 04:23:05.739Z"
}

After API:
API Response:
{
  "author": "on2imnwqggminrg",
  "collectionId": "tqco9f8weal93h6",
  "collectionName": "posts",
  "created": "2023-05-20 04:23:05.739Z",
  "files": [
    "z1qxne4clk31jlw"
  ],
  "id": "p5othop5v4z4k18",
  "nsfw": false,
  "public": false,
  "tags": null,
  **"title": "FileName",**
  "updated": "2023-05-20 04:23:05.739Z",
  **"PostURL": "https://Share-Me-Domain.com/posts/$id"**
}

This would allow your ShareX config file to be like the following:
{
  "Version": "15.0.0",
  "Name": "Share-Me",
  "DestinationType": "ImageUploader",
  "RequestMethod": "POST",
  "RequestURL": "https://Share-Me-Domain.com/api/posts",
  "Headers": {
    "Accept": "*/*",
    "Authorization": "TokenHere"
  },
  "Body": "MultipartFormData",
  "Arguments": {
    "Title": "{filename}"
  },
  "FileFormName": "files",
  "URL": "{json:PostURL}"
}

Example cURL command
curl --location 'https://share-me-domain.com/api/posts' \
--header 'Accept: */*' \
--header 'Authorization: TokenHere' \
--form 'files=@"/C:/Users/Name/Folder/FileName.png"' \
--form 'title="FileName"'

Hi there! I am working on setting all the post attributes with this endpoint, since I want to migrate the frontend to use it as well, so that should cover "setting title via API POST" but I won't be adding the post URL for simple reason that the backend isn't aware of the frontend's domain/path and it would be an additional environment variable that couples them too much in my opinion.


set target version of java files to 8

This PR sets target java version to 8.
Closes #26
This PR also removes IDEA configuration that is not required on gradle projects

@kobi32768 I want your review


Feature/CPF-56 Organization Creation by USDR admin role

Ticket #56
This is a draft PR for creating organization form for USDR admin users. There are couple open questions I have to make this feature complete.
Currently we have the Role and User models in schema.prisma below:
model Role {
  id        Int      @id @default(autoincrement())
  name      String
  createdAt DateTime @default(now())
  updatedAt DateTime
  users     User[]
}

model User {
  id             Int                 @id @default(autoincrement())
  email          String
  name           String?
  agencyId       Int?
  organizationId Int?
  roleId         Int?
  createdAt      DateTime            @default(now()) @db.Timestamptz(6)
  updatedAt      DateTime            @default(now()) @db.Timestamptz(6)
  agency         Agency?             @relation(fields: [agencyId], references: [id])
  organization   Organization?       @relation(fields: [organizationId], references: [id])
  role           Role?               @relation(fields: [roleId], references: [id])
  certified      ReportingPeriod[]
  uploaded       Upload[]
  validated      UploadValidation[] @relation("ValidatedUploads")
  invalidated    UploadValidation[] @relation("InvalidatedUploads")
  subrecipients  Subrecipient[]
}

which means that user can only have 1 role. However, the getCurrentUser() function that provides (currently hardcoded) user data, uses roles array.
Questions:

Can user have more than one role? Which format will be used?
If user can only have one role (like the database is currently set up), is there a need for Role to be a separate model and not an Enum?
The Lucid chart currently mentions 3 different user roles, written in snake case (like usdr_admin). Is that the convention we'll be using going forward? Currently I'm using usdr-admin.
When creating a new admin user for the organization, what is the type of the admin that the user should have? Lucid chart lists organization_admin role for example, is this the role that should be assigned?

Functionality overview
Organizations tab

Organizations tab renders only for users with usdr-admin role.
For users without usdr-admin role, navigating to /organizations will show a newly added Forbidden page. Forbidden page renders when the current user doesn't have permissions to view that page but is logged in.

New Organization form

Creates a new organization, assigns a new agency to that organization, and assigns a new admin user to both the organization and the agency.
All fields are required. Trying to submit a form with empty fields will render "This field is required" under the missing fields.
The backend logic assumes that the admin role exists and does not create a new role in the database.

New Organization form as a separate component
New Organization form has its own component, separate from Edit Organization form. By default, Redwood uses the same form for adding and editing but since those 2 forms are quite different, separating the two makes the code more clear.

Can user have more than one role? Which format will be used?

User can only have one role.

If user can only have one role (like the database is currently set up), is there a need for Role to be a separate model and not an Enum?

Good point. If the implementation is easier, then lets opt to keeping this as an enum on the users table.

The Lucid chart currently mentions 3 different user roles, written in snake case (like usdr_admin). Is that the convention we'll be using going forward? Currently I'm using usdr-admin.

No preference here. usdr-admin or usdr_admin are equally acceptable.

When creating a new admin user for the organization, what is the type of the admin that the user should have? Lucid chart lists organization_admin role for example, is this the role that should be assigned?

Yes, for all users the role should organization_admin however, for USDR users, we will manually write a script that creates them.

Made a few changes after talking to @as1729

Removed the Role model and replaced it with an enum. Enums are commonly written in uppercase letters (e.g. USDR_ADMIN), which is the convention I've followed.
Kept the hardcoded roles array in getCurrentUser() but changed the string that we're passing to match the enum formatting.
Updated the user adding/editing forms to use a select input for the Role field, replacing the previous text field for Role ID.
Used an existing formatEnum() function to change how we display user.role on the frontend (eg. ORGANIZATION_ADMIN to Organization admin )
Replaced instances of the term 'Team' with 'Organization' in labels for consistency.


Refactory tests and adding historic queries

1 - Improved the test structure, moving the one to the module being tested.
2 - Queries were created for the historic activity, historic instance and incidents.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: Marcelo Maico:x: mmaicoMarcelo Maico seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hi @mmaico! Thank you for this PR. These tests are very welcome for this project, and much appreciated! :) I would be happy to review this PR for you. I noticed that you have two GitHub usernames that the CLA bot is trying to suggest you sign with. Did you happen to use two GitHub IDs to make these commits? If you would be so kind as to make sure that you've signed the CLA with both IDs, that would be great.
Thank you so much!

Hi @celanthe i changed the authors in the commits and signed the CLA. After this code review don't release a new version yet, i'm working in other branch with more feactures. Thanks.


Heavy Armor Expert (not working in MP)

This feat will display that it applies damage reduction of 3, but the actual damage roll is not reduced at all.
This seems to happen in multiplayer

Can you share a screenshot of the combat log with also the tooltip on damage details?

I will try to get one later today when I play MP

A slightly different one with only -1 damage

What happens here is game consolidates the bonus damage. There is no way to show on tooltip bonus - 3.
It’s working correctly based on these monsters attack bonuses.

So there is a +X and -3 that is combined into a new number? I understand however, in single player, I would see a -3. I'll have to test it again to see.

Please. This has been reported a few times main reason why I added the additional heavy armor message to log. As I cannot test in MP wasn’t sure if an issue there. Good to confirm this same battle in SP.

hi, have you been able to confirm if same results in SP?

Please reopen if you ever face this in single player.