Creating point feature using coordinates

It happens that user has to create point feature on the map but he has only latitude and longitude of the object. There is no option to do that.
When user enter coordinates in search, marker is displayed on the coordinate position but it is temporary. It vanishes as soon as user moves the mouse.
There should be option for user to set point by manually typing in latitude and longitude coordinates. It would also be good to have option to manually edit coordinates on existing point.

Lots of similar issues on this topic, see #6819, et al. All of them have been closed.

Today I wanted to put a weather station at a certain point.
E.g., using this list https://e-service.cwb.gov.tw/wdps/obs/state.htm
I now have the coordinates of my favorite point.
Alas, id's inability to show the user where a given longitude and latitude
are, instead just showing the general area, forces the user to have to
use Google Maps to locate which building next to the given point.
And indeed, there is the suspect weather station.
All I know is it is year 2021, and "exact locations are not for amateur mappers" or whatever is getting rather dated.

When user enter coordinates in search, marker is displayed on the coordinate position but it is temporary. It vanishes as soon as user moves the mouse.

I think you’re referring to the search feature on openstreetmap.org, not iD itself. (iD is embedded in openstreetmap.org but has its own search feature while editing.) There’s some discussion about persisting the marker for searched coordinates in openstreetmap/openstreetmap-website#2197 openstreetmap/openstreetmap-website#1607.

iD's inability to show the user where a given longitude and latitude are

As you may know, the Location Panel displays the latitude and longitude of the selected feature or mouse cursor, allowing you to place a point at the desired coordinate with enough patience. Whenever you don’t have the patience for that, there’s always level0. iD may be the default editor but it isn’t the only one you have to use.

All I know is it is year 2021, and "exact locations are not for amateur mappers" or whatever is getting rather dated.
Or e.g., we are in the field, and copy down the exact coordinates of a thing, expecting to be able to map it when back at home out of the rain, etc. where there is Internet, etc.

It isn’t about amateur or professional… you may be in the field but it’s unlikely that you’ve found a sign with the exact coordinates printed on it. Consider using a mobile editor such as Vespucci or Go Map!! (For example, in Go Map!!, it takes two taps to center the map on your location and place a point there, and then you can put your phone away and head back home. No need to copy the exact coordinates of anything.)

Fine, but let's say the other day I met some professional surveyors with that expensive equipment and they copied down  exact coordinates of a  monument and  gave me the sheet of paper_
Just like for telephone numbers. Sometimes somebody just hands you one on a piece of paper.

@jidanni, everyone following this repository knows how deeply you care about coordinate input, but your numerous requests for it haven’t persuaded anyone to go out of their way to implement it. Rather than playing what-if, let’s let others try to make a more compelling case for it. In the meantime, you have your workarounds. ✌

Another option for ID users is just to place the object right there somewhere in the apparent center of the screen that the latitude and longitude search gives them, and add a FixMe note saying I sure hope somebody move this to the correct coordinates, which are...
At least that would allow  users to finish their  mapping project before nightfall.

I got it! Have a default amateur beginner mode that helps the user find the exact spot where are the coordinates he enters are.
And add an  Advanced Professional Expert mode (that requires toggling it on in the settings), that would give the current somewhere in the center of the screen" results the experts need to keep their egos intact!

Fine, but let's say the other day I met some professional surveyors with that expensive equipment and they copied down exact coordinates of a monument and gave me the sheet of paper...
Just like for telephone numbers. Sometimes somebody just hands you one on a piece of paper.
Or maybe somebody reads you one over the telephone.
I think the problem is some people I have built up this very big ego problem that they can't give in now because they've invested so much time in the position that it's not good for users to get too close to those dangerous coordinates! Coordinates are things that are only good for missiles and that's too dangerous!

I am pretty sure they understand the issue but they do not care. Their position is that if you have coordinates in non digital form, then it must be you stole them.
For the same reason almost all OSM editing tools are crippled. They are willing to sacrifice speed and easy of use to prevent (supposed) abuse.
After all, they do not have to care about time and effort tagged to do some job, as they do not pay for them. So it does not matter if you can do that in few clicks or have to spend time to go through more complex routine.

Their position is that if you have coordinates in non digital form, then it must be you stole them.

Of course not. Personally, I add POIs from GNIS all the time, positioning them based on their coordinates. I use exactly the workarounds I’ve been recommending in these discussions: search for a coordinate and use the Location Panel to get the point to within a reasonable distance of the GNIS coordinate. That’s precise enough for most of the GNIS entries, but sometimes if I need to, I’ll open level0 to refine the coordinate further.
Melodrama won’t get the feature implemented faster.

In case you don't want to / can't use Level0, there's also an "Add Node" feature available in JOSM: (Tools -> Add Node...).

https://www.facebook.com/groups/TaiwanMapNuts/permalink/1003375510199259/ has pictures of my professional surveyor friends visiting my house. They gave me the exact coordinates of my house to the millimetre. But as their expensive equipment is rather closed / shuttered. So they had to copy the reading off the screen with a pen, onto a piece of paper to give to me.

Wait!

Now all I have to do is install a browser extension to override where the browser thinks I am (can't find a working one on chrome yet.)

Closing as dupe of https://github.com/openstreetmap/iD/issues/4197.

I use exactly the workarounds I’ve been recommending in these discussions: search for a coordinate and use the Location Panel to get the point to within a reasonable distance of the GNIS coordinate. That’s precise enough for most of the GNIS entries, but sometimes if I need to, I’ll open level0 to refine the coordinate further.

Oh, you are talking about:

which gives

OK, but what if you put the beryllium deposits at
18.79294245,156.88948023
instead of
18.79294245,156.89948023
"At such depths resurveying might be costly."
And how many such operations could one complete in one day before one's
eyes lose concentration?


User with a period (.) symbol in the username can't send messages

There seems to be a bug when username has period (".") symbol.
Steps to reproduce:

git clone -b beta https://github.com/gdpelican/babble.git

Create user with "firstname.lastname" username.
Try to send any message in the chat from this user

Result: JavaScript error, that prevents sending the next message without the page refresh:
`MESSAGE BUS FAIL: callback /babble/topics/136/posts caused exception Property set failed: object in path "currentTopic.presence.firstname" could not be found or was destroyed.
_ember_jquery-37ec894….js:31194 Error: Property set failed: object in path "currentTopic.presence.firstname" could not be found or was destroyed.
at r (_ember_jquery-37ec894….js:15856)
at f (_ember_jquery-37ec894….js:20253)
at Object.c [as set] (_ember_jquery-37ec894….js:20191)
at r.set (_ember_jquery-37ec894….js:34525)
at r.handleNewPost (_plugin-third-party-f5ce828….js:394)
at _plugin-third-party-f5ce828….js:3094
at b (_ember_jquery-37ec894….js:51473)
at y (_ember_jquery-37ec894….js:51488)
at v (_ember_jquery-37ec894….js:51456)
at _ember_jquery-37ec894….js:31153`

Good catch, I'm going to grab this now.

Okay, this is fixed in the latest beta


Build docker image

don't know, this was copied from jetfire-cli repo. Removed it
On Thu, Nov 18, 2021 at 10:55 AM Pavel Zubarev @.***>
wrote:

@.**** commented on this pull request.
In .github/workflows/release.yaml
https://github.com/cognitedata/function-action-oidc/pull/19#discussion_r752076696
:

+defaults:

run:
shell: pwsh

why do you need that?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cognitedata/function-action-oidc/pull/19#pullrequestreview-809697428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMMQPAAOY3ZJHFOXX7SPB7TUMTERXANCNFSM5IJCPDJQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Carrion Swarm Dreadlord issue

Quote from Discord

When making 2nd upgrade it says "up max damage to 900" inside the Fortress. On the ability, after 2 research it says "max damage 725" on unit.

Also malganis carrion swarm tooltip doesn't tell about max dmg


(feat): Add a table component

This patch adds a table component to MintTea.
One thing I am not happy about is that I'm introducing uuseg as a dependency here. We need a better way to count the length of a UTF8 string to create same-width table cells.
Relates to #5
TODO:

[x] make wiring up the actual keybindings the responsibility of the parent. Instead have actions Up, Down, PageUp, PageDown.

Thanks a million for the PR @sabine! 🤩 – LGTM!


Contract data sending to back

tested complete; package json updated due to rerun of npm install (tested and removed moxios-package)

Coverage increased (+9.9%) to 75.789% when pulling 7c5e28be6f44516e89cb24f3c5723cf0e3d9b0d8 on contractDataSendingToBack into 03219d9141aa64d3b5bfb84b7c73be9eecb1f445 on master.

Coverage increased (+9.9%) to 75.789% when pulling 10333e73ea0613f3fed2aebb743d9207ade38423 on contractDataSendingToBack into 62e1423babecb330426c1e8f92250880dd021ae4 on master.


Unable to install the library using pip

Describe the bug
Hi, I run "pip install django-clickhouse-backend" and I got the following error in both Python 3.8 and 3.11:
ERROR: Could not find a version that satisfies the requirement clickhouse-django-backend (from versions: none)
ERROR: No matching distribution found for clickhouse-django-backend

Please help

@jayvynl Sorry, I deleted the discussion and opened this issue bc I thought this was a more appropriate space to communicate my issue. Following your solution, I ran pip3 install django-clickhouse-backend with the very same error messages as a result.

its strange that in your error message the package name is clickhouse-django-backend instead of django-clickhouse-backend, seems that you have mistaken the package name.

Yep, indeed that was the error. Now the installation was successful. Sorry for the inconvenience.


No winner is being picked

There are no js errors.. Nothing happens

Are you sure you have put enough items to trigger the winner selection?
It is defaulted at 100 so you would need to deposit 100 items.
You can change that amount in /php/deposit.php on line 7.

Yeah it is.

Are there entries in the currentpot table in the database?

Yea

Did you manually deposit all the skins or did you deposit a few then duplicate them in the DB?

Duplicated

Could you add me on steam so we can talk easier? http://steamcommunity.com/id/910374/

Yea you have to actually deposit the last skin, because the winner is picked in deposit.php when the item is deposited.

Ahh, Alright


[28/01/2021, 06:10:30] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:10:35] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:10:40] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:10:45] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:10:50] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:10:55] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:00] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:05] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:10] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:15] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:20] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:25] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:31] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:31] [Homebridge UI] Terminal session ended.
[28/01/2021, 06:11:31] [Homebridge UI] Homebridge restart request received
[28/01/2021, 06:11:31] [Homebridge UI] UI / Bridge settings have not changed; only restarting Homebridge process
[28/01/2021, 06:11:31] [HB Supervisor] Sending SIGTERM to Homebridge
[28/01/2021, 06:11:31] Got SIGTERM, shutting down Homebridge...
[28/01/2021, 06:11:36] [Volumio Speakers] Volumio: Socket connection error
[28/01/2021, 06:11:36] [HB Supervisor] Homebridge Process Ended.  Right near the end, you have
[28/01/2021, 06:11:43] Loaded plugin<EMAIL_ADDRESS>
They your logs are cut off before the platform tries to connect. Could you please post only logs after that timestamp?

 Right near the end, you have
[28/01/2021, 06:11:43] Loaded plugin<EMAIL_ADDRESS>
They your logs are cut off before the platform tries to connect. Could you please post only logs after that timestamp?

Same issue here. Installed the beta and now get:
[28/09/2021, 18:54:17] [Volumio Speakers] Volumio: Socket connection error: http://<IP_ADDRESS>:3000 timeout
[28/09/2021, 18:54:18] [Volumio Speakers] Volumio: Socket reconnecting... Attempt: 1
I'm not sure where the IP comes from. Configured http://<IP_ADDRESS>

Thanks for the info @McDin. The plugin queries Volumio for it's self reported IP address. Specifically, it uses the getMultiroomDevices call on the websocket API. You can preview the response yourself by navigating a browser to here http://yourVolumioIP/api/v1/getzones.
A few questions...

Could you paste the output from that http://yourVolumioIP/api/v1/getzones url please?
Do you have more than one Volumio instance on your network?
Are you doing anything interesting with your network routing? e.g. vlans, firewall rules, different subnets, etc.

Last night I added this plug in and got the "Socket connection error" so I deleted it. Today when I added it, it works, no errors. All I can do with it in HomeKit is start and stop the music and Siri can't seem to control it. I don't think I'll keep it installed but it is a nice start. Here's hoping for an open AirPlay 2 implementation some day! Thanks for the work on this @mcclurec good job.

Thanks @ahnyerkeester. On my own network I recently had an issue where Volumio itself was reporting the wrong IP address of the machine. It was weird. The rPi it's on had an IP address of <IP_ADDRESS>, but the getZones API was reporting <IP_ADDRESS> which is a default range it would have self assigned before getting something designated from the DHCP server. I rebooted the Volumio instance and it went back to working. Seems like there's a bug in that API in general.
Yeah, no Siri control is a bummer. Right now, we're limited to start/stop from Homekit and you can set volumes via Homekit Scenes, but that's about it. Thanks for giving it a shot.

Closing an old ticket... As mentioned above, it seems like Volumio doesn't have rock solid host info in the API response, so this is largely out of the control of this plugin. If you experience a similar issue, I recommend rebooting the Volumio server


[Bug] Uninformative error message when upserting files where UTF-8 file decoding fails

Is this a new bug?

[X] I believe this is a new bug
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When importing a file with canopy-cli (upsert) the f.read() in canopy_cli\data_loader\data_loader.py can throw a UnicodeDecodeError exception.
This results in the CLI responding with a very uninformative error message like this:
Error: A unexpected error while loading the data from files in .\data\hello\test.txt. Please make sure the data is in valid `jsonl`, `parquet`, `csv` format or plaintext `.txt` files.

If I patch the code to print out the exception like this,
        try:
            text = f.read()
        except UnicodeDecodeError as e:
            print("Error reading file: ", e)

It prints the exception message:
'charmap' codec can't decode byte 0x9d in position 249: character maps to <undefined>

So, it decoding UTF-8 seems to be the root problem.
Expected Behavior
Either import the file, handling the error, or provide a better error message so the files can be fixed.
Steps To Reproduce
I am using Python 3.11 on Windows.
To reproduce create a text file test.txt as a UTF-8 encoded text file containing e.g. a 0x9d byte.
canopy upsert test.txt then fails:
Error: A unexpected error while loading the data from files in test.txt. Please make sure the data is in valid `jsonl`, `parquet`, `csv`    format or plaintext `.txt` files.

Relevant log output
No response
Environment
- **OS: Windows 11**:
- **Language version: Python 3.11.5**:
- **Canopy version: canopy-sdk==0.1.4**:

Additional Context
No response

If i change the file open in data_loader.py line 93 to specify the encoding, e.g.         with open(file_path, "r", encoding="utf-8") as f: I can make it read the UTF-8 encoded files, so it appears to somehow select another encoding than UTF-8 for the txt file it is reading.

Hi @mjul !
Thanks for flagging, we internally know our data loading error handling is lacking and I am actively working on a PR for this.
I think utf-8 is good enough for now.
as the PR handles more cases - our specific solution here would be something like:
for file_path in file_paths:
        try:
            with open(file_path, "r", encoding='utf-8') as f:
                text = f.read()
                rows.append(
                    {
                        "id": os.path.basename(file_path).replace(".txt", ""),
                        "text": text,
                        "source": file_path
                    }
                )
        except UnicodeDecodeError as e:
            raise DataLoaderException(
                file_name=file_path,
                row_id="*",
                err="File must be UTF-8 encoded"
            ) from e

This implementation is not final but generally it's formatting errors per file/row
What do you think?

@miararoy Looks great, I appreciate you working on helping the users find a way forward when things don't work as expected.

I can make it read the UTF-8 encoded files, so it appears to somehow select another encoding than UTF-8 for the txt file it is reading (this is an observation, not the suggested solution as it may cause problems for other encodings)

@mjul The standard Python behaviour with the open call is to use the value from locale.getpreferredencoding() if the encoding is not passed as an argument. It's not a bug per se that it "appears to somehow select another encoding than UTF-8" but rather it is using the default for your platform - which is UTF-8 on macOS and Linux, but not on Windows. On Windows the default encoding would more typically be something like cp850 or cp1252.
As you mentioned, by forcing the encoding to be UTF-8, it could cause errors for other people, when loading files using the default encoding on platforms where UTF-8 is not the default.
It's not a problem that I am having - I just wanted to point out that assuming files are UTF-8 is not the default Python behaviour on Windows.


[feat][broker][PIP-195] Implement BookkeeperBucketSnapshotStorage - part3

Master Issue: #16763
Motivation
#16763
Modifications
Implement BookkeeperBucketSnapshotStorage and add unit test.
Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[x] doc-not-needed
(Please explain why)

[ ] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Matching PR in forked repository
PR in forked repository: https://github.com/coderzc/pulsar/pull/5

@poorbarcode @zymap @mattisonchao Please look at it again.

Codecov Report

Merging #17677 (3c9288c) into master (a2c1534) will decrease coverage by 10.11%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             master   #17677       +/-   ##
=============================================
- Coverage     47.23%   37.11%   -10.12%
+ Complexity    10430     1969     -8461
=============================================
  Files           692      209      -483
  Lines         67766    14421    -53345
  Branches       7260     1573     -5687
=============================================
- Hits          32009     5353    -26656
+ Misses        32192     8480    -23712
+ Partials       3565      588     -2977

Flag
Coverage Δ

unittests
37.11% <ø> (-10.12%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...apache/pulsar/client/impl/AutoClusterFailover.java
70.00% <0.00%> (-6.12%)
:arrow_down:

.../pulsar/client/impl/ControlledClusterFailover.java
58.87% <0.00%> (-3.74%)
:arrow_down:

.../java/org/apache/pulsar/client/impl/ClientCnx.java
29.97% <0.00%> (-0.20%)
:arrow_down:

...ar/client/impl/conf/ProducerConfigurationData.java
84.70% <0.00%> (-0.18%)
:arrow_down:

...va/org/apache/pulsar/client/impl/ConsumerBase.java
21.93% <0.00%> (-0.02%)
:arrow_down:

...a/org/apache/pulsar/client/impl/TableViewImpl.java
0.00% <0.00%> (ø)

...pache/pulsar/client/impl/TableViewBuilderImpl.java
0.00% <0.00%> (ø)

...r/client/impl/UnAckedMessageRedeliveryTracker.java
0.00% <0.00%> (ø)

...e/bookkeeper/mledger/impl/LedgerMetadataUtils.java

...rg/apache/pulsar/broker/delayed/bucket/Bucket.java

... and 498 more


Update to 1.17/1.17.1

Make release for 1.17 and 1.17.1

yes

5zig mod wont get updates anymore (read readme)

Ah okay.


Curve of exactly 1.0 turns out to be 0.5

Godot version
df62d9f4f4910e94536c62c05f976b28703a9cc7
System information
OpenSUSE, RX5500XT (Mesa 21.1.4)
Issue description
curve works well 0 to 0.999 and 1.0 does not, below video

Steps to reproduce
https://user-images.githubusercontent.com/17591539/124645498-2ca1d580-de9c-11eb-9fd1-031f38a0ea98.mp4
https://user-images.githubusercontent.com/17591539/124645501-2d3a6c00-de9c-11eb-992c-6e5f02ffe5e7.mp4
Minimal reproduction project
CurveVFX.tar.gz

Just by eye-balling the problem might be that your last point in the CurveTexture doesn't actually touch 1 perfectly, so it falls back to the next point (0.5).

@SlitheringMule I not sure, Unity well place accurate in Curve 1.0 end no problem.
https://user-images.githubusercontent.com/17591539/124663877-587c8580-deb3-11eb-8f54-e4b3caba26ab.mp4

I tried a much more minimal project to see if it's a problem with Curve, but could not reproduce the issue, it returns 1.0 properly, with both interpolation methods (baked and not baked): CurveOne.zip
Maybe that's a problem with CurveTexture?

already tested CurveTexture in GDScript ok but problem shader
https://user-images.githubusercontent.com/17591539/124668028-f3c42980-deb8-11eb-9623-986d77a160db.mp4

already posted the file, you can check the first posts above
0 and 1.0 end will still return 0.5

@Mobs1024 if you make the last point of your CurveTexture 0, does the scale become 0.5 or 0?

So maybe that's a problem with CurveTexture instead? Or a regression introduced in Godot 4.

I think so too, shaders just expose this problem.

@SlitheringMule  scale only come back 0.5

@SlitheringMule scale only come back 0.5

Could you send a video of that happening?

the shader does not show the output scale above the first post the second video there shows the CurveTexture switch to Uniform Float.

Couldn't replicate in Godot 4.0 master (03e5de37ae) using MRP.
https://user-images.githubusercontent.com/1133892/198399510-c2bcf565-fce2-4377-a17c-72b454279a67.mp4
Interestingly, Godot 3.5.1 stable gives me an error upon loading: "Unexpected end of file 'Node3D.tscn'. This appears to be because there is no GPUParticles3D node.
I guess I recommend closing this issue?

Interestingly, Godot 3.5.1 stable gives me an error upon loading: "Unexpected end of file 'Node3D.tscn'. This appears to be because there is no GPUParticles3D node.

Godot 4 projects aren't compatible with Godot 3, so you need to create a new project from scratch.

My bad, have been looking at a few bugs and most were pre Godot 4! :)
AFAIK there aren't any GPUParticles nodes in 3.5.1 stable, so my assumption is this bug report only applies to Godot 4, where I can't replicate the bug :)

AFAIK there aren't any GPUParticles nodes in 3.5.1 stable

There is – GPUParticles is named Particles in Godot 3.x.

Ah, I see, I was searching for GPUParticles and finding nothing. I might not have enough knowledge to know how to replicate this but will keep trying a bit further.

Ok, did some more digging in 3.5.1. I used a CurveTexture inside a Texture node in VisualShaders. I used it to affect the vertex shader of both a regular MeshInstance as well as a (GPU) Particle3D system's meshes.
https://user-images.githubusercontent.com/1133892/198860243-864bacf7-0d64-48a4-89d0-426456c15a3f.mp4
As you can see, I was still unable to replicate it. I'm attaching the sample project I used.
CurveVFX35.zip

Had an idea that it could be something related to the width of the curve texture (was set at 256) and played around with awkward & small numbers but still couldn't replicate it.


Defined a proper HOME path as a first step for workflows in a container

Faced an issue when pull strategy doesn't work if we define it inside docker globally.

Failed job: https://github.com/opencv/opencv/runs/7076063907?check_suite_focus=true#step:7:37
Passed job: https://github.com/opencv/ci-gha-workflow/runs/7076634011?check_suite_focus=true#step:8:28

cc @alalek @fengyuentau


Helm-controller pod is using stale tokens

Hi,
the "Bound Service Account Token Volume" is graduated to stable and enabled by default in Kubernetes version 1.22.
I am using "helm-controller:v0.21.0" in AWS EKS 1.22 and I have checked, if it is using stale tokens (regarding https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html and https://docs.aws.amazon.com/eks/latest/userguide/troubleshooting.html#troubleshooting-boundservicetoken).
So when the API server receives requests with tokens that are older than one hour, then it annotates the pod with "annotations.authentication.k8s.io/stale-token". In my case I can see the following annotation. E.g.:
 "annotations":{"authentication.k8s.io/stale-token":"subject: system:serviceaccount:flux-system:helm-controller, seconds after warning threshold: 56187"
Version:
helm-controller:v0.21.0
Cluster Details
AWS EKS 1.22
Steps to reproduce issue

Enable EKS Audit Logs
Query CW Insights (select cluster log group):

fields @timestamp
| filter @message like /seconds after warning threshold/
| parse @message "subject: *, seconds after warning threshold:*\"" as subject, elapsedtime

@albertschwarzkopf can you please confirm this happens with kustomize-controller also?

@stefanprodan thanks for the fast reply!
No helm-controller only.
kustomize-controller is running in version 0.25.0
Also no issue with notification-controller:v0.23.5 and source-controller:v0.24.4

Does kustomize-controller runs on the the same node as helm-controller? Can you please post here kubectl -n flux-system get pods -owide

No there are running on different nodes at this moment (we have several nodes).

I see that kustomize-controller was restarted recently, wait one hour and report back please if kustomize-controller runs into the same issue. I'm trying to figure out if this is something specific to helm-controller or is a general problem with Kubernetes client-go on EKS.

I see that kustomize-controller was restarted recently, wait one hour and report back please if kustomize-controller runs into the same issue. I'm trying to figure out if this is something specific to helm-controller or is a general problem with Kubernetes client-go on EKS.

After 72 minutes no issue with kustomize-controller...

I've created an EKS cluster:
$ kubectl version
Server Version: v1.22.6-eks-14c7a48

I've waited one hour:
$ kubectl -n flux-system get po
NAME                                       READY   STATUS    RESTARTS   AGE
helm-controller-88f6889c6-pwf7f            1/1     Running   0          73m
kustomize-controller-784bd54978-bckm6      1/1     Running   0          73m
notification-controller-648bbb9db7-58c2d   1/1     Running   0          73m
source-controller-79f7866bc7-k25z5         1/1     Running   0          73m

And there is no stale-token annotation on the pod:
$ kubectl -n flux-system get po helm-controller-88f6889c6-pwf7f -oyaml
apiVersion: v1
kind: Pod
metadata:
  annotations:
    container.seccomp.security.alpha.kubernetes.io/manager: runtime/default
    kubernetes.io/psp: eks.privileged
    prometheus.io/port: "8080"
    prometheus.io/scrape: "true"
  creationTimestamp: "2022-05-10T10:08:59Z"
  generateName: helm-controller-88f6889c6-
  labels:
    app: helm-controller
    pod-template-hash: 88f6889c6
  name: helm-controller-88f6889c6-pwf7f
  namespace: flux-system

Yes I can confirm this. Maybe it is visible only in the Audit Logs:

@albertschwarzkopf can you give the first mentioned image in #480 a try, and if that does not yield results, the second?

Thanks for confirming. I'll finalize the PR in that case, and make sure it is included in next release.

Not we even got an automated email about this from aws!

Got same message from AWS. Only helm-controller SA was flagged. All controllers are running for the same period of time.
NAME                                           READY   STATUS    RESTARTS      AGE
helm-controller-5676d55dff-7lgvn               1/1     Running   0             16d
image-automation-controller-6444ccb58c-8xcls   1/1     Running   0             16d
image-reflector-controller-f64677dd5-974qs     1/1     Running   0             16d
kustomize-controller-76f9d4f99f-htp8d          1/1     Running   0             16d
notification-controller-846fff6d67-h677q       1/1     Running   0             16d
source-controller-55d799ff7d-w598g             1/1     Running   0             16d

We got the notification message from AWS as well, but just for the helm-controller, albeit all pods is up and running 85 days long

I can confirm same problem here on EKS v1.22.6-eks-7d68063 . Not sure if it's interesting or related, but, after moving to 1.22 authentication for client changed from client.authentication.k8s.io/v1alpha1 to client.authentication.k8s.io/v1beta1 .

As already mentioned in https://github.com/fluxcd/helm-controller/issues/479#issuecomment-1123880767. We have identified the issue, staged a patch, and this will be solved on next release.

Thanks for confirming. I'll finalize the PR in that case, and make sure it is included in next release.

Hi, Is the PR out ? what dependencies had to be updated to fix the issue ?


In order to protect our workflow as a programmer, I can create branch protection for our main branch

No accidental merges into main o7

It works


Consider moving Molecule Shapes FastMath to Dot

It includes heavily optimized 3x3 matrix computations, of which the most specific to the sim is the 3x3 Singular Value Decomposition.

Added developer-meeting label to discuss whether this code would be good to move to common code.

9/29/15 dev meeting notes:
• @jonathanolson says this is 10x faster than numeric.js.
• Q: @samreid where else used? A: @jonathanolson inside a loop.
• relies on Float64Array, so not as general as what's currently in dot (row-major order is also different than Matrix3)
• move to dot now or when another sim needs it? @jonathanolson would like to move it now. Other developers ok with that.
• @jonathanolson will move to dot, and choose a better name (RawMatrix3?)

Done with the name 'MatrixOps3', but still open for renaming if others have better ideas.


Add ability to hide uProxy use from some contacts

Right now if I sign into GTalk using uProxy, all of my GTalk contacts could potentially see that I am a uProxy user.  GTalk contacts include everyone I've chatted with (at least by default), however I may not want all of those people to know that I am using uProxy.
It seems like we might want a way to use uProxy through a social network, but not broadcast (through XMPP) to all my contacts that I'm on uProxy.
I'm not sure if this is feasible or something we want to pursue, but this came up at the coding party and should be discussed further.

Closing this - the new versions Facebook and GMail providers are "private mode", meaning existing friends on those networks won't be able to detect that you are on uProxy unless you also invite them to use uProxy with you.  Going forward this will be a property of each social network.


Replace self-baked Pinned with std::pin

https://github.com/hermitcore/libhermit-rs/blob/8802a3fc0a55c12d668618f4cd641421fa9d4228/src/drivers/virtio/virtqueue/mod.rs#L2374-L2389
std::pin

Hi @mkroening! @scotran and I are part of a Virtualization course at UT Austin, and as part of a project we have to contribute to open source repositories. Can we take up this issue?

Sure, have a go at it! :)

Done in https://github.com/hermit-os/kernel/pull/983.


feat: add new db powered by UT_Grade_Parser

This change is

something is wrong with the db, reviewing UT_Grade_Parser

PR blocked until UT_Grade_Parser bug is resolved.


Add an alert box with a cancel / confirm button to when user wants to logout.

Description
As a user, I need an alert box when I click on logout to confirm/cancel logout activity. The current state is that when I click logout it directly takes me to login page without any confirmation.
Screenshots of the issue

Acceptance Criteria

[ ] Create an alert box containing confirm and cancel button when clicked on logout button.

Enhancement to Update

[ ] Make the confirm button to take me to login page and cancel button to abort logout activity.

Definition of Done

[ ] All of the required items are completed.
[x] Approval by 1 mentor.

@HaripriyaB your issue description is amazing with that GIF 👏👏👏

Can I pick up this issue as a coding team member? Can anyone assign me for this issue?

@HaripriyaB okay, go on!


runtime dependencies are insufficient for exampels

so if you just follow the guide and install the tiscamera and then run the tiscamera examples or tools,
most do not work on ubuntu 2004.
for example tcam-capture requires pyqt5 etc.
the gst_launch examples do not work due to requiring bayer2rgb which is probably in one of gstreamer1.0-nice gstreamer1.0-plugins-good gstreamer1.0-qt5  gstreamer1.0-plugins-bad
so figure out which one it is for certain and add to runtime dependencies.
Also the error you get if trying to use the gst examples is a bunch of
(ncamera_viewer:1627393): GStreamer-WARNING **: 20:34:06.825: Name 'tcambin-src_caps' is not unique in bin 'tcambin-source', not adding
followed by a stall, so its not trivial to se that missing gst plugins are the problem...

Hi,
I am assuming you are referring to this guide: https://www.theimagingsource.com/documentation/tiscamera/tutorial.html correct?
install-dependencies.sh --runtime should install all potentially needed packages.
(ncamera_viewer:1627393): GStreamer-WARNING **: 20:34:06.825: Name 'tcambin-src_caps' is not unique in bin 'tcambin-source', not adding
That is a warning I have not been able to observe on multiple systems.
Would it be possible to see the entire output?

Yes I ran that script for runtime, it does not install the bayer2rgb fat
module which is in gstreamer-bad or one of the others not installed by the
script. I found the tip in your issues list, so you have litteraly helped
someone else solve this issue by instructing them to install an extra
dependency, but then not added it to the dependency script before.
The full output is that message repeated 20 or so times. I compiled Aravis
and installed it, then it stopped, but I don't know why. Especially since
it's still in Libusb mode, I think. Both show up in tcam-ctrl -l now, but
not before
On Wed, 9 Sep 2020, 09:00 Edgar<EMAIL_ADDRESS>wrote:

Hi,
I am assuming you are referring to this guide:
https://www.theimagingsource.com/documentation/tiscamera/tutorial.html
correct?
install-dependencies.sh --runtime should install all potentially needed
packages.
(ncamera_viewer:1627393): GStreamer-WARNING **: 20:34:06.825: Name
'tcambin-src_caps' is not unique in bin 'tcambin-source', not adding
That is a warning I have not been able to observe on multiple systems.
Would it be possible to see the entire output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheImagingSource/tiscamera/issues/365#issuecomment-689351070,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQYJJTH4VI62J6K376OQLSE4RZPANCNFSM4Q6X7D6Q
.

Hello
I use Ubuntu 20.04 for some time too and I can compile and run all samples.
According to the GStreamer documentation (https://gstreamer.freedesktop.org/documentation/bayer/bayer2rgb.html) the bayer2rgb should be in GStreamer Bad Plugins. I suggest to install this package manually and check with
gst-inspect-1.0 bayer2rg
whether it was installed. You should see following:
Factory Details:
  Rank                     none (0)
  Long-name                Bayer to RGB decoder for cameras
  Klass                    Filter/Converter/Video
  Description              Converts video/x-bayer to video/x-raw
  Author                   William Brack<EMAIL_ADDRESS>
Plugin Details:
  Name                     bayer
  Description              Elements to convert Bayer images
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstbayer.so
  Version                  1.16.2
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2019-12-03
  Binary package           GStreamer Bad Plugins (Ubuntu)
  Origin URL               https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0

GObject
 +----GInitiallyUnowned
       +----GstObject
             +----GstElement
                   +----GstBaseTransform
                         +----GstBayer2RGB

I have to admit, the " GStreamer-WARNING **: 20:34:06.825: Name 'tcambin-src_caps' is not unique in bin 'tcambin-source', not adding" is new to me.
Stefan

Yes, thats right, any particular reason why the script said to install the
runtime dependencies does not install the runtime dependencies?
On Mon, 14 Sep 2020, 15:30 TIS-Stefan<EMAIL_ADDRESS>wrote:

Hello
I use Ubuntu 20.04 for some time too and I can compile and run all samples.
According to the GStreamer documentation (
https://gstreamer.freedesktop.org/documentation/bayer/bayer2rgb.html) the
bayer2rgb should be in GStreamer Bad Plugins. I suggest to install this
package manually and check with
gst-inspect-1.0 bayer2rg
whether it was installed. You should see following:
Factory Details:
Rank                     none (0)
Long-name                Bayer to RGB decoder for cameras
Klass                    Filter/Converter/Video
Description              Converts video/x-bayer to video/x-raw
Author                   William Brack<EMAIL_ADDRESS>Plugin Details:
Name                     bayer
Description              Elements to convert Bayer images
Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstbayer.so
Version                  1.16.2
License                  LGPL
Source module            gst-plugins-bad
Source release date      2019-12-03
Binary package           GStreamer Bad Plugins (Ubuntu)
Origin URL               https://launchpad.net/distros/ubuntu/+source/gst-plugins-bad1.0
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstBayer2RGB
I have to admit, the " GStreamer-WARNING **: 20:34:06.825: Name
'tcambin-src_caps' is not unique in bin 'tcambin-source', not adding" is
new to me.
Stefan
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheImagingSource/tiscamera/issues/365#issuecomment-692053352,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQYJLMR6LVUIZSETAJUOTSFYLG7ANCNFSM4Q6X7D6Q
.

Well, it seemed, the bayer2rgb has been moved from one plugin to another, when there was a change from 16.04 to 18.04.
Therefore, at least I am not really where the bayer2rgb is in.
Sorry for that.

No problem, it was a bugreport after all.
On Mon, 14 Sep 2020, 17:30 TIS-Stefan<EMAIL_ADDRESS>wrote:

Well, it seemed, the bayer2rgb has been moved from one plugin to another,
when there was a change from 16.04 to 18.04.
Therefore, at least I am not really where the bayer2rgb is in.
Sorry for that.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TheImagingSource/tiscamera/issues/365#issuecomment-692134721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJQYJP2IH7VUYMCTFQLFKLSFYZKJANCNFSM4Q6X7D6Q
.


Updated the version to 7.0.1.

Added Packet Identifier Management document.
Added logging document to comparison.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 96.88%. Comparing base (8f63c48) to head (75ac250).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #308      +/-   ##
==========================================
+ Coverage   96.80%   96.88%   +0.08%
==========================================
  Files         152      152
  Lines        9158     9158
==========================================
+ Hits         8865     8873       +8
+ Misses        293      285       -8

see 1 file with indirect coverage changes


add docker-compose for a easy startup with ngrok

Thank you for this great app. I found it just before I started building one myself. But this works perfectly and fits exactly my needs.
I also made a Helm chart to deploy it on a Kubernetes cluster.
https://github.com/mms-gianni/github-action-dashboard-helm

Sorry, for opening this PR from my main. I will open a new, clean one.


Hello world not working

The following app
import Vapor
let app = Application()
app.get("welcome") { request in
  return "Hello from Vapor"
}
app.start()

returns a 404 when requesting localhost/welcome.
Server output:
[2016-03-06 19:25:10 +0000] [INFO] Server has started on port 80
[2016-03-06 19:25:12 +0000] [VERBOSE] Received Get request for /welcome
[2016-03-06 19:25:12 +0000] [WARNING] Response had no 'Content-Type' header.

I'm running on Ubuntu 15.10 using the March 1 snapshot of Swift and Vapor 0.2.8.

Using the Response class does work:
app.get("welcome") { request in
  let response = Response(status: .OK, text: "Hello from Vapor")
  return response
}

A possible fix is to change extension String: ResponseConvertible to extension Swift.String: ResponseConvertible in ResponseConvertible.swift. Maybe type String is referring to NSString from Foundation?

Is this happening on OS X or Ubuntu?
If you can confirm Swift.String fixes it, could you create that as a PR?

As the original comment said: "I'm running on Ubuntu 15.10 using the March 1 snapshot of Swift and Vapor 0.2.8."
The change fixed it for me. I'll create it a pull request so others can try it out as well.

Oh sorry, missed the last line. A PR would be great.

Linking: #117


Formalize unique cluster ID on env creation

From @jessicayuen on September 18, 2017 18:59

We should get formal about how the env commands produce a unique ID for a cluster. I'm thinking a hash of URI + server cert? This is a temporary solution of course, we'll need to fix it up stream.

Copied from original issue: ksonnet/kubecfg#135

From @seh on September 23, 2017 20:17
In my organization, we've had clusters where we reach the API server via a Service of type "NodePort," such that there are any number of node IP addresses and one specific port that all point to the "same" cluster. It's a mess, because different people can have different server addresses in their KUBECONFIG file, and it's hard to tell whether they're referring to the same cluster. We usually first compare the port, and if those match, advise to converge on a single IP address (picking one node, which is fragile, of course) to make it easier to identify equivalence in the future.
I'm not saying that finding the API server via node port is a good way to operate a cluster. I just want to point out that cluster identity doesn't come from the server address, which is a surjective reference. In short: Yes, this is a hard problem. Relying on the user to give different clusters different names, and not duplicating any clusters (just with different addresses, or with a different CA certificate bundle) is a sane way to deflect the problem.

This functionality was implemented via overrides.


issues when displaying unicode

so for version 4 and above when I print pretrty much any error that contains something like this 🏳⚧
anywhere in the source it would just cut it. version 3 has weird formating things on the colors but otherwise works
specifcly I ran this
// Function to create a report for UnclosedString
fn handle_unclosed_string<'a>(span: LocatedSpan<&'a str>, ch: char, source: &'a str) -> Report<'a, Range> {
let (line, line_range, _) = get_line_info(source, span.location_offset());
let byte_offset = span.location_offset();
let span_len = span.fragment().len();
Report::build(ReportKind::Error, (), byte_offset)
    .with_config(ariadne::Config::default().with_char_set(CharSet::Unicode))
    .with_message("Unclosed string error")
    .with_label(
        Label::new(byte_offset..byte_offset + span_len)
            .with_message(format!("Expected closing '\\{}'", ch))
            .with_color(Color::Red),
    )
    .with_label(
        Label::new(line_range)
            .with_message(line)
            .with_color(Color::White),
    )
    .finish()

}
and it would work fine on most texts but fail on something like ", 丐, 丑 \n\nmore::stuff\n\n" unclosed string"
by printing just Error: Unclosed string error

By default, Ariadne uses character offsets for spans. This can be configured though, the docs for Config will have more information.


Compiling with GCC > 5

I am using Ubuntu 20.04 and I do not really want to downgrade my compiler to gcc 5.
So, I went to the Makefile and replaced line 2 with CC = g++ instead of g++-5
But this gives me a lot of errors, starting with:
Compiling MNRL Library...
make ./libs/MNRL/C++/libmnrl.a
make[1]: Entering directory '/home/agnishom/code/hardware-automata/VASim'
make CC=g++ -C ./libs/MNRL/C++
make[2]: Entering directory '/home/agnishom/code/hardware-automata/VASim/libs/MNRL/C++'
/home/agnishom/code/hardware-automata/VASim/libs/MNRL/C++
g++ -I./include -I./lib/valijson/include -I./lib/valijson/thirdparty/nlohmann-json-1.1.0 -I./lib/json11 --std=c++11 -fPIC -c -o src/obj/mnrl.o src/mnrl.cpp
In file included from ./lib/valijson/include/valijson/adapters/json11_adapter.hpp:34,
                 from src/mnrl.cpp:11:
./lib/valijson/include/valijson/adapters/basic_adapter.hpp: In member function ‘virtual bool valijson::adapters::BasicAdapter<AdapterType, ArrayType, ObjectMemberType, ObjectType, ValueType>::applyToArray(valijson::adapters::Adapter::ArrayValueCallback) const’:
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:251:24: error: ‘optional’ in namespace ‘opt’ does not name a template type
  251 |             const opt::optional<Array> array = value.getArrayOptional();
      |                        ^~~~~~~~
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:251:19: note: ‘std::optional’ is only available from C++17 onwards
  251 |             const opt::optional<Array> array = value.getArrayOptional();
      |                   ^~~
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:252:47: error: ‘array’ was not declared in this scope; did you mean ‘std::array’?
  252 |             for (const AdapterType element : *array) {
      |                                               ^~~~~
      |                                               std::array
In file included from /usr/include/c++/9/tuple:39,
                 from /usr/include/c++/9/bits/stl_map.h:63,
                 from /usr/include/c++/9/map:61,
                 from ./lib/json11/json11.hpp:55,
                 from src/mnrl.cpp:9:
/usr/include/c++/9/array:94:12: note: ‘std::array’ declared here
   94 |     struct array
      |            ^~~~~
In file included from ./lib/valijson/include/valijson/adapters/json11_adapter.hpp:34,
                 from src/mnrl.cpp:11:
./lib/valijson/include/valijson/adapters/basic_adapter.hpp: In member function ‘virtual bool valijson::adapters::BasicAdapter<AdapterType, ArrayType, ObjectMemberType, ObjectType, ValueType>::applyToObject(valijson::adapters::Adapter::ObjectMemberCallback) const’:
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:269:24: error: ‘optional’ in namespace ‘opt’ does not name a template type
  269 |             const opt::optional<Object> object = value.getObjectOptional();
      |                        ^~~~~~~~
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:269:19: note: ‘std::optional’ is only available from C++17 onwards
  269 |             const opt::optional<Object> object = value.getObjectOptional();
      |                   ^~~
./lib/valijson/include/valijson/adapters/basic_adapter.hpp:270:51: error: ‘object’ was not declared in this scope; did you mean ‘Object’?
  270 |             for (const ObjectMemberType member : *object) {
      |                                                   ^~~~~~
      |                                                   Object

Later EDIT: it looks like the source was written with g++-5 in mind. Any suggestions on how to install g++-5 on Ubuntu 20.04?

This issue has been resolved with the latest pull request, #43


Implement customer feedback

We just ran through the quickstart guide with a customer and got a few suggestions on what we could improve, I'll just gather them in this ticket instead of opening a new one.

[ ] Section on distributing the kubeconfig to all nodes should be more prominent
[ ] Highlight that it is necessary to change localhost in the kubeconfig before distributing
[ ] Add a note about the kubelet that k3s starts on the orchestrator and that no agent is needed on this node
[ ] Deploying the CRDs for operators after installation is not mentioned in the quickstart, this should reference kubectl apply -f /etc/stackable/xxx-operator/crd

I assume most of these is irrelevant now, I'll close it for now.


Whether the metis_tests.f90 has bug?

at line 55 in metis_tests.f90 code:   call write_graph("test1.graph",fxadj,fadjncy,1)
fxadj and fadjncy are C style numbering.
The program generates the following error message:
forrtl: severe (408): fort: (11): Subscript #1 of the array ADJNCY has value 0 which is less than the lower bound of 1
Image              PC                Routine            Line        Source
libifcoremdd.dll   00007FFF8E4E5597  Unknown               Unknown  Unknown
fmetis_test.exe    00007FF73BB920AE  METIS_IO_mp_WRITE          45  metis_io.f90
fmetis_test.exe    00007FF73BBA225F  METIS_TESTS_mp_TE          75  metis_tests.f90
fmetis_test.exe    00007FF73BBA433C  MAIN__                    235  metis_tests.f90
fmetis_test.exe    00007FF73BBB8992  Unknown               Unknown  Unknown
fmetis_test.exe    00007FF73BBE7994  Unknown               Unknown  Unknown
fmetis_test.exe    00007FF73BBE78BE  Unknown               Unknown  Unknown
fmetis_test.exe    00007FF73BBE777E  Unknown               Unknown  Unknown
fmetis_test.exe    00007FF73BBE7A09  Unknown               Unknown  Unknown
KERNEL32.DLL       00007FF80EB53DC4  Unknown               Unknown  Unknown
ntdll.dll          00007FF80ECA3691  Unknown               Unknown  Unknown

Hello trimtrim,
you are correct, the arrays fxadj and fadjncy assume C-style numbering in this example. The numflag dummy variable should be set to 0. Surprisingly, I got no error with gfortran. I'm assuming this is because the arrays are actually pointer to C memory, but would need to check first.
Please note that an advanced version of the write_graph subroutine can be found in the file metis_oo_interface.f90, that matches the entire METIS input file format and can export vertex weights, vertex sizes and edge weights. Most likely I will delete the file metis_io.f90 completely in the near future. Moreover IO functionality for graphs and meshes is already present in the METIS library (in the file io.c), and it might make more sense to just gain access to those functions (although they are not part of the "public" API) than rewrite everything on the Fortran side.

Hi Ivan,
I am glad it helped.
I have another question. For the METIS_MeshToNodal interface, the arguments  "xadj", "adjncy" are declared as type(C_PTR) and it needs to use c_f_pointer to convert it to Fortran pointer. This might difficult for Fortran programmer.
The "xadj", "adjncy"  are 1 dimensional (1D) array in C. I am wondering whether the Fortran interface can declare the two arguments as Fortran  1D array? such as:
INTEGER(C_INT),DIMENSION(*) ***** ::xadj,adjncy
Declare as 1D array can avoid use function c_f_pointer to convert the c pointer to Fortran pointer and simplify the coding?

I agree that the need to explictly call the subroutine c_f_pointer to gain access to the values of the array is not very user friendly. Also the fact that the correct size of adjncy must be inferred from the last element of xadj is not that elegant and took me half an hour to figure it out.
What you suggest is using an assumed-size array and would most likely not work (give it a try?). To cite from this discussion: "An assumed-size array can only be used in whole array expressions when it's an actual argument in a procedure reference that does not require the array's shape."
The "quickest fix" at the moment is to write a wrapper which copies the array into Fortran allocated arrays. Something along the lines of:
subroutine ForMETIS_MeshToNodal(ne,nn,eptr,eind,numflag,xadj,adjncy,stat)
        use iso_c_binding, only : c_int, c_ptr, c_f_pointer
        integer, intent(in) :: ne
        integer, intent(in) :: nn
        integer, intent(in) :: eptr(ne+1)
        integer, intent(in) :: eind(:)
        integer, intent(in) :: numflag
        integer, intent(out), allocatable :: xadj(:)
        integer, intent(out), allocatable :: adjncy(:)
        integer, intent(out) :: stat

        type(c_ptr) :: c_xadj, c_adjncy

        integer(c_int), pointer :: f_xadj(:) => null(), f_adjncy(:) => null()

        stat = METIS_MeshToNodal(ne,nn,eptr,eind,numflag,c_xadj,c_adjncy)
        if (stat < 0) return

        call c_f_pointer(c_xadj,f_xadj,shape=[nn+1])

        select case(numflag)
        case(0) ! C-style numbering
            call c_f_pointer(c_adjncy,f_adjncy,shape=[f_xadj(nn+1)])
        case(1) ! Fortran-style numbering
            call c_f_pointer(c_adjncy,f_adjncy,shape=[f_xadj(nn+1)-1])
        case default
            write(*,*) "Wrong flag!"
            error stop 1
        end select

        allocate(xadj,source=f_xadj)
        allocate(adjncy,source=f_adjncy)

        stat = METIS_Free(c_xadj); f_xadj => null()
        ! if (stat < 0) return
        stat = METIS_Free(c_adjncy); f_adjncy => null()
        ! if (stat < 0) return
end subroutine

By only working with the "public" METIS API, the price to pay then is the memory and time overhead needed to copy the values from C-allocated to Fortran-allocated entities.
The second (and better) way to fix this issue would be to modify the METIS source files and use the features defined in Technical Specification TS29113 "Further Interoperability C" which makes it possible to pass allocatable and pointer arrays to and from C, through a so-called "C descriptor". Specifically, this would mean going to the file "$METIS_FOLDER/libmetis/mesh.c" and modifying the function METIS_MeshToNodal and make it return a Fortran allocatable array. It would probably be an interesting project to learn how to use these new interoperability features, but at the moment is not on my priority list. (You can find a small example using C descriptors to allocate a Fortran array from C in this blog post by Steve Lionel from Intel.)
Note that on the main METIS home page a survey is open regarding the next release METIS 5.x. One of the questions in the survey is whether a Fortran interface should be included. Perhaps the original METIS developers are already planning to do something like this.

Using the concept of C descriptors it is possible to copy the adjacency graph directly into Fortran allocatable arrays.
First I created a new file mesh_fortran.c in the metis-5.1.0/libmetis folder containing the following code:
#include "metislib.h"
#include "ISO_Fortran_binding.h"

inline void check_CFI_result(int res,int *stat) {
    if (res) { /* (de)allocation failed */
        if (stat) {
            *stat = res;
            return;
        } else {
            exit(2);
        }
    }
}

int FMETIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind,
                  idx_t *numflag, CFI_cdesc_t *fxadj, CFI_cdesc_t *fadjncy,
                  int *stat /* NULL if not needed */)
{

    idx_t *xadj;
    idx_t *adjncy;

    /* Call METIS Core routine */
    int status = METIS_MeshToNodal(ne,nn,eptr,eind,numflag,&xadj,&adjncy);

    if(fxadj->base_addr) {
        int res = CFI_deallocate(fxadj);
        check_CFI_result(res,stat);
    }

    CFI_index_t lower[fxadj->rank], upper[fxadj->rank];
    lower[0] = 1;
    size_t dummy;

     /* Allocate memory for xadj, since you know its size. */
    upper[0] = ((CFI_index_t) *nn) + 1;
    int res = CFI_allocate(fxadj, lower, upper, dummy);
    check_CFI_result(res,stat);

    char *elt = (char *) (fxadj->base_addr); // first element
    for (idx_t i = 0; i <= *nn; i++) {
        * (int *) elt = xadj[i]; // copy value
        elt += fxadj->dim[0].sm; // increment by one memory stride
    }

    if(fadjncy->base_addr) {
        int res = CFI_deallocate(fadjncy);
        check_CFI_result(res,stat);
    }

    /* Allocate memory for adjncy, since you also know its size. */
    upper[0] = ((CFI_index_t) xadj[*nn]);
    res = CFI_allocate(fadjncy, lower, upper, dummy);
    check_CFI_result(res,stat);

    elt = (char *) (fadjncy->base_addr); // first element
    for (idx_t i = 0; i < xadj[*nn]; i++) {
        * (int *) elt = adjncy[i]; // copy value
        elt += fadjncy->dim[0].sm; // increment by one memory stride
    }

    free(xadj);
    free(adjncy);

    return status;
}

The following line are then added to the include header file metis-5.1.0/include/metis.h:
#include "ISO_Fortran_binding.h"

 /* ... Original code ... */

METIS_API(int) FMETIS_MeshToNodal(idx_t *ne, idx_t *nn, idx_t *eptr, idx_t *eind,
                  idx_t *numflag, CFI_cdesc_t *fxadj, CFI_cdesc_t *fadjncy,
                  int *stat /* NULL if not needed */);

The METIS library should then be rebuilt. While gfortran 9 (install instructions are here added support for the "ISO_Fortran_binding.h" file, I get this internal compiler error. Building METIS with the Intel compiler however is succesful.
Next we write the Fortran wrapper for the new MeshToNodal routine:
module fmetis

    use iso_c_binding
    implicit none

    integer(c_int), parameter :: METIS_OK = 1_c_int
    integer(c_int), parameter :: METIS_NOPTIONS = 40_c_int

    interface
    function FMETIS_MeshToNodal(ne,nn,eptr,eind,numflag,fxadj,fadjncy,stat) result(ierr) bind(C,name="FMETIS_MeshToNodal")
        import c_int, c_ptr

        ! Parameters
        integer(c_int), intent(in) :: ne
        integer(c_int), intent(in) :: nn
        integer(c_int), intent(in), dimension(*) :: eptr, eind
        integer(c_int), intent(in) :: numflag
        integer(c_int), intent(out), allocatable :: fxadj(:), fadjncy(:)
        integer(c_int), intent(out), optional :: stat ! Allocation status

        ! Returns
        integer(c_int) :: ierr
    end function
    end interface

end module

Finally, a usage example:
program test_fmetis_mesh2nodal

    use, intrinsic :: iso_c_binding
    use fmetis

    implicit none

    integer(c_int), parameter :: ne = 3 ! number of elements
    integer(c_int), parameter :: nn = 8 ! number of nodes
    integer(c_int), parameter :: npel = 4 ! nodes per element

    integer(c_int) :: eptr(ne+1)
    integer(c_int) :: eind(ne*npel)
    integer(c_int) :: epart(ne), npart(nn)
    integer(c_int) :: options(0:METIS_NOPTIONS-1)
    integer(c_int) :: ierr, objval, istat

    type(c_ptr) :: c_xadj, c_adjncy
    integer(c_int), pointer :: xadj(:) => null(), adjncy(:) => null()

    integer(c_int), allocatable :: fxadj(:), fadjncy(:)

    ! 0---1---4---6
    ! | 0 | 1 | 2 |
    ! 3---2---5---7

    eptr = [0,4,8,12]
    eind = [0,1,2,3,1,4,5,2,4,6,7,5]

    ierr = FMETIS_MeshToNodal(ne,nn,eptr,eind,numflag=0,fxadj=fxadj,fadjncy=fadjncy,stat=istat)
    if (ios /= METIS_OK) then
        write(*,*) "METIS_MeshToNodal failed with error: ", ios
        error stop 1
    end if
    if (istat /= 0_c_int) then
        write(*,*) "Fortran (de)allocation error: ", istat
        error stop 1
    end if

    write(*,'(A,*(I0,:,1X))') "fxadj = ", fxadj
    write(*,'(A,*(I1,:,1X))') "fadjncy = ", fadjncy

end program

The output of the program is:
fxadj = 0 3 8 13 16 21 26 29 32
fadjncy = 1 2 3 0 2 3 4 5 0 1 3 4 5 0 1 2 1 5 2 6 7 1 4 2 6 7 4 7 5 4 6 5

and can be checked against the drawing of the mesh for correctness. While the interface is now "clean" on the Fortran side, we have in fact achieved the same thing that could be done from the Fortran side. Bigger changes to METIS would be needed in order to directly return the adjacency graph as a Fortran array, without copying.


wp-killer does not identify sites with wp installed

Description:
I have encountered an issue where the tool does not recognize websites that have WordPress installed. I have personally installed WordPress on these websites, but by default, the tool reports that the site does not have WordPress installed.
Steps to reproduce:
Install WordPress on a website.
Run the tool to check if the site is running WordPress.
Expected behavior:
The tool should correctly identify that the site is running WordPress.
Actual behavior:
The tool reports that the site does not have WordPress installed, even though it has been installed manually.
Additional information:
I have tested this issue on multiple websites where I have personally installed WordPress.
The issue occurs consistently across all tested websites.
Please investigate this issue and provide a fix or workaround. Thank you!

Have you provide the installation path ?
Maybe the wordpress not installed at the root directory

what do you mean by "provide installation path"? Isn't just the url enough?

try : localhost/wordpress


Add The Nobel Prize extension

Description
This extension uses an official API to show information about the Nobel Prizes and the Nobel Prize Laureates. No API Key is needed 🚀.
Screencast
https://github.com/raycast/extensions/assets/30526133/11edc035-5bab-4812-9641-4e18a14505ae
Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @xmok 👋
Thanks for your contribution 🔥
I changed a broken category image, could you give it a spin to make sure I didn't broke something 🙂

Hi.
Awesome attention to detail! Thanks for fixing the category issue it all looks fine. I updated the screenshot in metadata. LGTM? 🚀


Buckets integration

Integrate Buckets with Powergate.

Closed by https://github.com/textileio/textile/pull/151


problem: Yandex store [Acer IconiaTab 8]

01-16 21:52:19.120: E/[YandexAccountManager].f: Error while querying version
01-16 21:52:19.120: E/[YandexAccountManager].f: java.lang.SecurityException: Permission Denial: reading com.yandex.auth.store.AccountProvider uri content://com.yandex.auth.store/lib from pid=8670, uid=10199 requires com.yandex.permission.READ_CREDENTIALS, or grantUriPermission()
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.content.ContentProvider.enforceReadPermissionInner(ContentProvider.java:467)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.content.ContentProvider$Transport.enforceReadPermission(ContentProvider.java:394)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.content.ContentProvider$Transport.query(ContentProvider.java:194)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.content.ContentResolver.query(ContentResolver.java:461)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.content.ContentResolver.query(ContentResolver.java:404)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.auth.sync.database.f.b(SourceFile:57)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.auth.sync.h.a(SourceFile:51)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.auth.sync.h.a(SourceFile:72)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.auth.m.a(SourceFile:18)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.auth.YandexAccountManager.from(SourceFile:12)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at me.f(SourceFile:114)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at me.e(SourceFile:109)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at me.j(SourceFile:244)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at us.a(SourceFile:136)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at us.a(SourceFile:55)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at com.yandex.store.service.YandexStoreService$4.isBillingAvailable(SourceFile:274)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at org.onepf.oms.IOpenAppstore$Stub.onTransact(SourceFile:74)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at android.os.Binder.execTransact(Binder.java:404)
01-16 21:52:19.120: E/[YandexAccountManager].f: 	at dalvik.system.NativeStart.run(Native Method)

Hi @Sergey-Shpital,
it is a YS bug. We don't have any workaround...
This issue was reported to the YS guys.
Please don't close it, let's save it as a known issue.

ok, I see


feat: import and export management commands (#1973)

Problem
Feature proposal - import and export management command
Solution
As described. Additional encoding argument is added to both commands.
Acceptance Criteria

Have you written tests? Have you included screenshots of your changes if applicable?

yes

Did you document your changes?

yes

coverage: 99.464% (-0.5%) from 100.0%
when pulling 477a7c9597cbd0d99a914ddf03307b02011481d4 on bmihelac:feat/management-commands
into 5e3cdd8c0f2772385533480baaeba0d915cd4767 on django-import-export:main.

Good work @bmihelac ! Lets see how the community uses this! 😄

It would be a good idea to add a confirmation prompt for the import command that would be skipped if the --noinput option is passed.

Merged -  @matthewhegarty and @andrewgy8 thanks for review!


style(frontend): removes opacity definition of balance component

Motivation
Even if the token balance is 0 it should be displayed with the same opacity as a balance of 100 or something else.
Changes

removes opacity calculation

Tests
before:

after:

@AntonioVentilii unused brackets are removed


Previous versions - December missing

Please update this page with December version.
The latest version is February
December is listed as current - https://learn.microsoft.com/en-us/power-bi/fundamentals/desktop-latest-update?tabs=powerbi-desktop
Tx. Martina

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

ID: 93f23670-d83a-dffc-c17a-8cef53d0de7b
Version Independent ID: 1b63f449-9fbd-3544-bee5-17c70fe55229
Content: Previous monthly updates to Power BI Desktop and the Power BI service - Power BI
Content Source: powerbi-docs/fundamentals/desktop-latest-update-archive.md
Service: powerbi
Sub-service: pbi-fundamentals
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @MartinaPoddana. This issue has been assigned to the doc author for review.

Updated


save to localStorage

Use sample to exhibit saving to localStorage.

Great! glad we are making progress!


new Eclipse license version 2.0 needs adding

The Eclipse Foundation announced version 2.0 on 24 August 2017.

https://en.wikipedia.org/wiki/Eclipse_Public_License
https://en.wikipedia.org/wiki/Eclipse_Public_License#Version_2.0

This license is a bit complicated because the initial committer can opt in to GPLv2+ (version 2 or any later version) as part of this license. The wikipedia page mentioned above contains more details and links to primary references.
cheers, Robbie

Done. ^GPLv2+ compatiblity makes this still a strongly protective license


Magic number 3.1.18 breaks pipeline parser?

A commit containing only a version number change to a .csproj file resulted in a pipleine parsing failure.
Change
-    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.6" />
+    <PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.1.18" />

Error
--
  | [2021-09-01T00:53:03Z] 2021-09-01 00:53:03 FATAL  Pipeline parsing of "(stdin)" failed (Failed to parse pipeline: line 8: found unexpected document indicator)
  | [2021-09-01T00:53:03Z] 🚨 Error: The command exited with status 1
  | [2021-09-01T00:53:03Z] user command error: The plugin monorepo-diff command hook exited with status 1

No changes to the pipeline.yml which works for other commits. Haven't seen a pipeline parsing error anywhere else.
As an experiment I tried changing the version number to 3.1.17 and that works fine. So it seems to be something special about 3.1.18. What is going on?

This is particularly odd @jonathon-schofield-rokt! My instinct says this is something to do with YAML parsing that as a float, but it would be odd that it works with "3.1.6" and not with "3.1.18".
Are you able to share the pipeline YAML that is being generated with this commit change? If you cannot share it here could you contact Buildkite Support and include a copy there?

Thanks @keithduncan, do I have to send the pipeline YAML or can you work from a link to the failed build?

Both would be ideal thanks!
As this is a pipeline being piped to stdin of buildkite-agent pipeline upload would you be able to use an intermediary file and cat or tee the pipe to capture the exact pipeline as generated on the agent that subsequently fails to parse it?

Eventually 3.1.19 came around which solved my immediate problem


[Manual Backport 2.8] fix build branch name (#208)

fix build branch name

Signed-off-by: Mingshi Liu<EMAIL_ADDRESS>
test workflow with new pushes

Signed-off-by: Mingshi Liu<EMAIL_ADDRESS>
Signed-off-by: Mingshi Liu<EMAIL_ADDRESS>(cherry picked from commit 3b58246eae39af426fcd9aa03182409be05bcd15)
Description
Describe what this change achieves.
Issues Resolved
List any issues this PR will resolve, e.g. Closes [...].
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

  /usr/bin/git -c protocol.version=2 fetch --no-tags --prune --progress --no-recurse-submodules --depth=1 origin +refs/heads/2.8*:refs/remotes/origin/2.8* +refs/tags/2.8*:refs/tags/2.8*

Need to upgrade search-processor plugin in this case.


Uncaught ReferenceError: require is not defined

somehow require() is not defined
resources/js/app.js
require('./bootstrap.js');

window.Vue = require('vue');

Vue.component( 'ExampleComponent', require('./components/ExampleComponent.vue') );

const app = new Vue({
    el: '#app',
});

webpack.mix.js
const mix = require('laravel-mix');

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css');

node version: 12.18.4
npm version: 6.14.6
laravel-mix: 4.1.4
Any help would be highly appreciated

I'd need more information.
You're on a really old version of Mix, so maybe start by upgrading to at least v5.

I did upgrade laravel-mix to version 5 but same error persists.
Uncaught ReferenceError: require is not defined
at app:7
This is the error from the console.
Could you tell me what information would you need to know?

When are you seeing that require() error? During compilation or when you load the site in the browser?

During loading in the browser, compilation happens without errors

There must be something else going on, because I can't reproduce what you're see. I've never seen that error.
It sounds like, somehow, the file being given to the browser hasn't been compiled.

Yes, I also think that this file is not compiled
https://drive.google.com/file/d/1QWf0HYLWe2HPnhSQJclkRsjlG8F1DDyd/view?usp=sharing
here's a screenshot from the browser sources, could you please take a look

did you solve the probleme ? I have the same issue

I have the same problem. Any solution?

How did you solve this?

I have the same issue but with vite.

I have the same issue but with vite.

how you fix it?


mouse over on tiebreaker explaining the calculation

I think a tooltip/mouseover over on the tie breaker columns in standinds would be useful
TBrk[M]	TBrk[S]	TBrk[C]	TBrk[O]
^ this is not very clear in my opinion.

Mouseover text for tiebreak calculations was added . This issue should close .


Deprecate async() function in favour of ensure_future()

This is something that PEP 492 requires us to do -- rename the 'async()' function. Guido suggested to use 'ensure_future()' name instead.

LGTM, please merge by hand and comment out the warning for now. (Or make it a silent deprecation with a comment to make it heavier in the next release.)

Would DeprecationWarning work?  It's silent.

Perfect. (But after 1-2 releases I'd like to make the warning non-silent.)
On Mon, May 11, 2015 at 10:10 AM, Yury Selivanov<EMAIL_ADDRESS>wrote:

Would DeprecationWarning work? It's silent.
—
Reply to this email directly or view it on GitHub
https://github.com/python/asyncio/pull/242#issuecomment-100981176.

--
--Guido van Rossum (python.org/~guido)

This PR has been merged.  Thanks for the review, Guido!


Text of the heading is not proper.

As I have checked the heading of "Tic Tac Toe" is not proper. The text is coming out from the colored background.

@iamparas0 kindly assign this to me!!!


rename target from stm32f100 to thumbv7m-none-eabi

@homunkulus r+

:pushpin: Commit 44094c4 has been approved by japaric

@homunkulus r+

:pushpin: Commit 4dfd9f9 has been approved by japaric

:hourglass: Testing commit 4dfd9f9 with merge 3682168...

:sunny: Test successful - travis


added resources button in navbar

added resources button in navbar which leads to hog resources library.

added desired changes.

LGTM thanks a lot @shivang1919 😸


InvalidCastException Int64 -> Int32 with SQLite

Summary of the issue
I am using SQLite with Entity Framework Core and getting an error if i want to cache data. The error only occous if i want to cache it globally or manually one by one.
Environment
.NET Core SDK version: 3.1.2
Microsoft.EntityFrameworkCore version: 3.1.2
EFCoreSecondLevelCacheInterceptor version: 1.12

Example code/Steps to reproduce:
as in your example.

Output:
Exception message:
An unhandled exception occurred while processing the request.
InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.Int32'.
EFCoreSecondLevelCacheInterceptor.EFTableRowsDataReader.GetInt32(int ordinal)

Full Stack trace:
InvalidCastException: Unable to cast object of type 'System.Int64' to type 'System.Int32'.
EFCoreSecondLevelCacheInterceptor.EFTableRowsDataReader.GetInt32(int ordinal)
lambda_method(Closure , QueryContext , DbDataReader , ResultContext , int[] , ResultCoordinator )
Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable<T>+Enumerator.MoveNext()
System.Linq.Enumerable+SelectEnumerableIterator<TSource, TResult>.ToList()
System.Linq.Enumerable.ToList<TSource>(IEnumerable<TSource> source)
spots.Services.SpotsService.UpdateSpotViewModel(SpotsViewModel spotsViewModel, bool mySpots, int groupTab) in SpotsService.cs
+
            spotsViewModel.Spots = spots

Fixed it via #https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor/commit/c24fb32eaf7b7e00768746144e41f4de38650a78

Thanks, that problem is gone. But it has problems with double and decimal. I think it goes the same road?
InvalidCastException: Unable to cast object of type 'System.Double' to type 'System.Decimal'.
EFCoreSecondLevelCacheInterceptor.EFTableRowsDataReader.GetDecimal(int ordinal)
lambda_method(Closure , QueryContext , DbDataReader , ResultContext , int[] , ResultCoordinator )
Microsoft.EntityFrameworkCore.Query.Internal.QueryingEnumerable<T>+Enumerator.MoveNext()
System.Linq.Enumerable+SelectEnumerableIterator<TSource, TResult>.ToList()

I changed GetDecimal method to support string types of SQLite.

Here is a test for it
Here EF Core translates it to an string and not a double.
Where does this 'System.Double' come from? A  Text will become an string in EF Core internally.

Hi VahidN
I have this code:
[Column(TypeName = "numeric")]
public decimal? Latitude { get; set; }

Can that be supported somehow?

Added it via #https://github.com/VahidN/EFCoreSecondLevelCacheInterceptor/commit/d6dea6624b3838dcbaf101078285d98507f7b442

Hi VahidN
Great, it works! Thanks, looks very good :-)


  Or only downloads the audio, or the worst possible quality.
THANK YOU FOR CREATING SUCH USEFUL APPLICATION!!!
Just a single suggestion: Maybe the command should check for ffmpeg before starting the downoad if it knows it will needed?
Just to avoid cases like this:
vsd save https://myfile.m3u8 -o video.mp4
• Select streams to download · 1080p 8.81 MiB/s (codecs: avc1.640028,mp4a.40.2, frame_rate: 25) | language: spa | language: spa
 Processing subtitles stream language: spa
Downloading stream to myfile_m3u8.vtt
 Downloaded stream successfully
79.16 KiB ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% • 9/9 • 00:01 > 00:00 • 7.61 SEG/s
 Processing video stream 1080p 8.81 MiB/s (codecs: avc1.640028,mp4a.40.2, frame_rate: 25)
Downloading stream to myfile_m3u8.ts
 Downloaded stream successfully
 Processing audio stream language: spa
Downloading stream to myfile_m3u8.aac
 Downloaded stream successfully
2.20 / 2.20 GiB ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.00% • 520/520 • 02:41 > 00:00 • 3.21 SEG/s • 7.92 MiB/s
  Executing ffmpeg -i myfile_m3u8.ts -i myfile_m3u8.aac -i myfile_m3u8.vtt -c copy -c:s mov_text -map 0 -map 1 -map 2 -metadata:s:a:0 language=spa -metadata:s:s:0 language=spa video.mp4
error: program not found

It downloaded the whole file just for it to end up failing.

@psociety  Thanks for your suggestion. I will definitely add feature to detect ffmpeg.
After downloading streams ffmpeg is used to merge streams only, nothing else is done after that. So you can execute this command manually in order to obtain final stream and delete downloaded ts files.
ffmpeg -i myfile_m3u8.ts -i myfile_m3u8.aac -i myfile_m3u8.vtt -c copy -c:s mov_text -map 0 -map 1 -map 2 -metadata:s:a:0 language=spa -metadata:s:s:0 language=spa video.mp4


PodDistrubtionBudgets for elasticsearch chart

The current elasticsearch chart doesn't deploy PodDistruptionBudgets. This needs to be contributed upstream. See #147

https://github.com/helm/charts/pull/6718 landed, going to update our deployed version.


fix issue #311 presentation ack missing

connection-id must be in post-filter for search to pick up presentation exchange record
Signed-off-by: sklump<EMAIL_ADDRESS>

Codecov Report

Merging #314 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #314   +/-   ##
=======================================
  Coverage   87.36%   87.36%
=======================================
  Files         236      236
  Lines       11075    11075
=======================================
  Hits         9676     9676
  Misses       1399     1399


Refactored markup and styling(#245fw5p)

https://user-images.githubusercontent.com/82817616/159913931-a18c89c6-0bdb-46c6-8899-1bbc8d6884d8.mp4
https://user-images.githubusercontent.com/82817616/159913952-6dfa4124-3407-482c-8044-fd1a9cb0e48b.mp4
https://user-images.githubusercontent.com/82817616/159914011-53cd00a9-79ba-4b78-9c9d-ee71dc779462.mp4

Note:
https://app.clickup.com/t/245fw5p
Clickup ticket is not getting updated due to caching on clickup.


Unification rules error with Morphir.SDK.Rule

When trying to run morphir-elm make with the following model
https://github.com/blake-charles/morphir-elm/blob/14538a61df1bddcbf2993df39e017980be732aa3/tests-integration/reference-model/src/Morphir/Reference/Model/Issues/PatternModel/BasicEnum.elm
https://github.com/blake-charles/morphir-elm/blob/14538a61df1bddcbf2993df39e017980be732aa3/tests-integration/reference-model/src/Morphir/Reference/Model/Issues/PatternModel/OtherBasicEnum.elm
https://github.com/blake-charles/morphir-elm/blob/14538a61df1bddcbf2993df39e017980be732aa3/tests-integration/reference-model/src/Morphir/Reference/Model/Issues/PatternModel/BasicRule.elm
the following error occurs:
PS C:\Users\Administrator\Documents\morphir-elm\morphir-elm\tests-integration\reference-model> morphir-elm make Error: [   [     "errors_in_source_file",     "Issues.PatternModel.BasicRule",     [       {         "errorMessage": "Type error in value 'basicRuleSet': Could not unify 'Morphir.SDK:Rule:rule var_1_1 var_1_2' with '{ basicEnum : Morphir.Reference.Model:Issues.PatternModel.BasicEnum:basicEnum, id : Morphir.SDK:String:string, otherBasicEnum : Morphir.Reference.Model:Issues.PatternModel.OtherBasicEnum:otherBasicEnum } as Morphir.Reference.Model:Issues.PatternModel.BasicRule:basicRule -> Morphir.SDK:Maybe:maybe Morphir.SDK:String:string' because there are no unification rules to apply",         "sourceLocations": []       }     ]   ] ]

Here are the specific declarations that are causing the error for reference:
type alias BasicRule =
    { basic_enum : BasicEnum
    , other_basic_enum : OtherBasicEnum
    , id : String
    }

basicRuleSet : Rule BasicRule String
basicRuleSet =
    Rule.chain
        [ rule (is One) (is A) any "foo"
        , rule (is One) (anyOf [ B, C, D ]) any "bar"
        , rule (is One) any any "foobar"
        , rule (anyOf [ Two, Three, Four ]) any any "baz"
        , rule any any any "foobarbaz"
        ]

rule : (BasicEnum -> Bool) -> (OtherBasicEnum -> Bool) -> (String -> Bool) -> String -> BasicRule -> Maybe String
rule matchBasicEnum matchOtherBasicEnum matchId result data =
    if
        matchBasicEnum data.basic_enum
            && matchOtherBasicEnum data.other_basic_enum
            && matchId data.id
    then
        Just result

    else
        Nothing

And here's the error in a formatted version:
[
   [
      "errors_in_source_file",
      "Issues.PatternModel.BasicRule",
      [
         {
            "errorMessage":"Type error in value 'basicRuleSet': Could not unify 'Morphir.SDK:Rule:rule var_1_1 var_1_2' with '{ basicEnum : Morphir.Reference.Model:Issues.PatternModel.BasicEnum:basicEnum, id : Morphir.SDK:String:string, otherBasicEnum : Morphir.Reference.Model:Issues.PatternModel.OtherBasicEnum:otherBasicEnum } as Morphir.Reference.Model:Issues.PatternModel.BasicRule:basicRule -> Morphir.SDK:Maybe:maybe Morphir.SDK:String:string' because there are no unification rules to apply",
            "sourceLocations":[

            ]
         }
      ]
   ]
]

As a first step I'll try to reproduce and shrink the problem.


src/createNavigationContainer.js: Unexpected token (46:6) ?

Current Behavior

I am getting an "error: bundling failed: SyntaxError" on a fresh installation using "react-native init":
/node_modules/react-navigation/src/createNavigationContainer.js: Unexpected token (46:6)

-The error comes as soon as I try to import the lib.

(46:6) is the "=" in the following segment code:
export default function createNavigationContainer<A: *, O: *>(
Component: NavigationNavigator<NavigationState, A | NavigationInitAction, O>
) {
class NavigationContainer extends React.Component<Props, State> {
subs: ?{
remove: () => void,
} = null;
static router = Component.router;
constructor(props: Props) {
super(props);

Expected Behavior
Your Environment

software
version

react-navigation
1.0.0-beta.19

react-native
5.5.1

node
v8.8.1

npm or yarn
npm

Thanks for reporting.
This seems quite weird.

what do you mean by "fresh installation"? A react-native init command?
npm 5 is known for having issues, can you please try with yarn?

thanks kelset.
Yea, pretty weird right?
Yup, created using "react-native init". there's no expo in it.
Im going to try to reinstall with yarn.
I'll report back.

Yea... working good with yarn.
I had to reinstall react, react-native and react-navigation.
Not sure what went wrong w/ NPM.
thank you.

I'm not sure why, but basically NPM since version 5 is unreliable. :/


[JOSS] Add automated unit tests

As part of the JOSS review, I was checking if the software has automated tests included which currently is not the case.
The JOSS guidelines state:

Authors are strongly encouraged to include an automated test suite covering the core functionality of their software.

Good: An automated test suite hooked up to an external service such as Travis-CI or similar

OK: Documented manual steps that can be followed to objectively check the expected functionality of the software (e.g., a sample input file to assert behavior)
Bad (not acceptable): No way for you, the reviewer, to objectively assess whether the software works

https://github.com/openjournals/joss-reviews/issues/3347

hi @faroit, we have a small example included in the software. If you (or users) install our software, and run it for the first time, you could see that there is an existing corpus called "sample_data" in the dropdown of the corpus, and a saved analysis "SSM test" in the analysis dropdown. Users could use it to explore the core functions of software.
We have mentioned this example in the README "How to use" section, after "Run the app".
If you have any further question, please let me know. Happy to solve.
Thank you.

Hi @faroit,
Have done with Travis-CI, and have attached the build-pass badge to the README.
Please check.
Thank you!

@alicia-ziying-yang thanks for adding this. For now, this only tests of the installation routine will pass and the software can be started. I suggest you also add some tests that test the functionality of the software and the data processing:
I guess https://dash.plotly.com/testing this would be a good start to read about testing with dash

Hi @faroit,
Thanks for pointing out. Now I have added some test cases in "test_cases.py", and change the .yml file.
And please check the newest build: https://travis-ci.com/github/alicia-ziying-yang/conTEXT-explorer
Thank you.


Update docker-push and rewrite tagging behavior

A major release of the docker-push action has been released and is incompatible with our current setup. Most specifically the tagging options have changed and we can no longer get the exact tagging behavior we want out of the box. We can either redefine one of the steps for the action to add the correct logic or switch our tagging behavior.

duplicate of #215

duplicate of #215


[Android, ExoPlayer] Video can't re-load when hosting on AWS's S3 + CloudFare

Current behavior
Videos can't re-start (infinite "buffering") when using videos hosted on AWS's S3 + cached by CloudFlare. The same video hosted on another simple web server loads just fine each time, no matter how many times I try removing/adding the video component, or restarting the app.
Other android player in a native app works just fine for the same videos, iOS loads fine as well.
Reproduction steps
Reproducible each time, but only in particular circumstances, or state of the cloud/cache (e.g I can reproduce it consistently in Poland, in the morning, but I cannot reproduce it in the afternoon). Steps:

upload the same file to AWS S3 + CloudFare and to a simple webserver.
Start an app with 2 video components in the main view (example project attached)
Videos start playing
Get out of the app using "back" button, open the app again (or just remove the view and add it back again without closing the app)
Repeat 3 & 4 few times

Result: the video hosted on AWS S3 + CloudFare stops starting after 1st or few times, other video starts fine each and every time.
Video recording reproducing the issue: https://drive.google.com/file/d/1Wfxr6GkZFfP2-WM4hHSfiiwYBritt4mN/view
Example project used to reproduce issue: bug_infinite_buffering_src.zip
Log file: bug_infinite_buffering_log.log
Expected behavior
Videos should start each and every time.
Platform
Which player are you experiencing the problem on:

Android ExoPlayer

react-native: 0.56.0
react-native-video: ^3.2.1
Video sample
Loads fine:
'https://sample-videos.com/video123/mp4/480/big_buck_bunny_480p_20mb.mp4',
'http://handcraftedmobile.com/sample_dev_videos/bunny.mp4',
'https://handcraftedmobile.com/sample_dev_videos/bunny.mp4',
'https://handcraftedmobile.com/sample_dev_videos/bunny-big.mp4',
Has trouble reloading:
'https://vid.twinbody.com/1811/bunny-big.mp4'
'https://vid.twinbody.com/1811/bunny.mp4'
... and other private videos hosted the same way as the one above
Please help me find the issue, any suggestions how to debug it appreciated.

Hm, the difference between these host is that AWS host uses HTTP/2, while my host uses HTTP/1.1, which lead me to this issue: https://github.com/square/okhttp/issues/3915
I enforced HTTP/1.1 as follows makes the issue not reproducible: https://github.com/ddudek/react-native-video/commit/d7876341ca0d80ca782c3d53d2464c7a157ab940

Please test again with 4.0.0 which includes OkHTTP 3.12.0. The 3.11.0 release of OkHTTP has a bunch of fixes for issues related to this.


Error when validating an existing email with hyphen (-) symbols when having a subdomain

Hi,
I'm getting a strange error when parsing an email that contains a hyphen (-) when having a subdomain:
Example of a valid email:
<EMAIL_ADDRESS># works
<EMAIL_ADDRESS># works
<EMAIL_ADDRESS># error

Error:
Invalid data: ZodError: [
  {
    "validation": "email",
    "code": "invalid_string",
    "message": "Invalid email",
    "path": [
      "email"
    ]
  }
]

This started happening when upgrading from 3.20.x to 3.21.x
The only I could think about was to use a Regex instead:
<EMAIL_ADDRESS>
Any ideas or workaround on it?

seeing this as well

@fvckDesa perhaps PR #1979 could be where hyphens got negated. Regex's not my strong suit, perhaps you could confirm.

@AllanSimoyi the regex that I had wrote in PR #1982  was changed with another

@phil-loops the current regex you send doesn't validate the presence of hyphens (-) on all scenarios after the first dot (.)
Is there anything we can do to fix it?

@rafaell-lycan to get the zod regex modified, you'd have to submit a PR and wait for the next package to come out.
Otherwise, if you want to roll your own email validation, you could do something like z.string().regex(/..../) with whatever rules you want

@phil-loops for now I'm using a custom Regex which is the previous one used at v3.20.6 after avoiding updating to v3.21.x which we saw some performance gains.
For anyone else looking for a fix with previous email regex:
const EMAIL_REGEX = /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|([^-]([a-zA-Z0-9-]*\.)+[a-zA-Z]{2,}))$/;

z.string().regex(EMAIL_REGEX)

I'm also seeing this- any progress on a fix?

This is fixed in https://github.com/colinhacks/zod/releases/tag/v3.22.0


vsce: 3.1.0 -> 3.2.1

https://github.com/microsoft/vscode-vsce/releases/tag/v3.2.0
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4757

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/4805


Window title bar "stuttering" on uncollapse

That's strange. What do you have your dynamic uncollapse distance set to in the plugin settings?

Now i think its 35px but 20px also gave me this stuttering thing. Other collapsible panels are working correctly though. Also that bug started appearing a little before the whole auto uncollapse feature broke when discord changed some things. After update of your plugin it started working for a while and now it's the same bug again.

Huh, yeah, I am able to reproduce it on my installation. I'll look into it :)

Turns out this is an issue that goes all the way up to the web wrapper Discord uses (Electron): https://github.com/electron/electron/issues/8730
I'm trying to find a workaround but it's going to be a lot more complicated than I originally thought

Fixed (as well as it can be) in v4.0.5


Contribution guide

Add a short introduction on how to contribute and where in the Pan Docs document
Add a proper CONTRIBUTING.md document to the repository, mentioning/linking:

style guidelines
needed work
technical explanation on how to deploy the project

Done in https://github.com/gbdev/pandocs/pull/372


What is the GPU RAM requirement of Catversion?

Running on an RTX 3090 requires about 10g VRAM, and training needs 21g. We acknowledge that this might be a bit hefty. We'll be dropping a Diffusers version real soon, hoping to incorporate more ways to reduce VRAM usage :)


Fix typos

Thank you for contributing to Prism!

Thank you for contributing to Prism!
But you only need to modify prism-core.js and plugins/file-higlight/prism-file-highlight.js.
Then you can use the npx gulp command to rebuild Prism and copy your changes to to prism.js.

Captured by #1755.


Add more customizability (discussion)

The behavior of the sidemenu can currently be changed by Code only very rudimentary.
A improvement would be to allow the user to add custom components to the menu.
Currently changing the look and the behavior requires knowledge of the responsive features of Vaadin, and many CSS modifications.
Maybe a few CSS Examples could be added to the Component to make it easier for the programmer.
A few ideas/examples:

Add a sticky Header and a sticky Footer to the sidemenu (Most of the behavior of the added Components needs to should handled by the programmer)
Show a way how to hide the Logo Wrapper when Menu is folded out for the desktop (and replace it by a custom header)
Show how the User Menu can be hidden when the Menu is folded out for the desktop and use other components to replace them
Show how more actions can be added to the User Menu
Show how custom Components to be added to the Header and Footer in a way which allows that the Components won't be shown in the "mobile" version
Show how the Menu behavior to be changed that there is no full expanded version for the desktop (f.E. https://dribbble.com/shots/3536328-Click-To-Check-Friend-s-Profile)

The original use-case I had in mind when I did this, was to reduce the amount of understanding needed from a programmer to be able to build this. It took me a whole day to figure out which style names I need to use for which part of the menu to make it work and behave as it's supposed to. I've tried to provide a Java API for doing the things you'd normally do with it.
Such examples would be awesome, even better if those could be made as custom styles and applied into the built in css, and usable through predefined class names. I'll try to talk to some more CSS oriented people to see if I can get some help achieving at least some of the ideas presented here, but I don't know how soon that is.