Formatting Issues With Exporting Mobile Concentration Files in Workshop task1

I am trying out FESTIM for the first time and am starting to work my way through the workshop notebooks. I am running version 1.0 in Google Colab, and after figuring out how to get FEniCS installed I was able to run cells 1-8 with no problem. However, upon trying to retrieve the data for plotting I get the following error:
import matplotlib.pyplot as plt
import numpy as np

data = np.genfromtxt(results_folder + "/mobile_concentration_100s.txt")

plt.plot(data[:,0], data[:,1])
plt.show()

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-14-c1e47a4b847f> in <cell line: 4>()
      2 import numpy as np
      3
----> 4 data = np.genfromtxt(results_folder + "/mobile_concentration_100s.txt")
      5
      6 plt.plot(data[:,0], data[:,1])

/usr/local/lib/python3.10/dist-packages/numpy/lib/_datasource.py in open(self, path, mode, encoding, newline)
    531                                       encoding=encoding, newline=newline)
    532         else:
--> 533             raise FileNotFoundError(f"{path} not found.")
    534
    535

FileNotFoundError: /content/drive/My Drive/FESTIM/task1/mobile_concentration_100s.txt not found.

I looked at the naming of the output file and there seems to be a formatting error for mobile_concentration_*.txt. In particular, there is a floating point precision error when appending the timestamp to the end of the filename it is mobile_concentration_99.9999999999986s.txt.
I have corresponded with Remi on this and he says that this is a quick fix that will be addressed in the next version of the code. In the meantime, one can get around the issue by either installing a different version, as provided by Remi:

Just fyi, you can install any released version of the code like:
pip install festim==1.0
but also a github branch:
pip install git+https://github.com/festim-dev/festim@main
pip install git+https://github.com/festim-dev/festim@fenicsx
but even the version of the code at a specific commit:
pip install git+https://github.com/festim-dev/festim@56089a5
Of course, this opens the possibility of other bugs, but might help get around this formatting issue for now until a stable version of FESTIM with this bug fix comes out.

Hope this helps anyone else for which this was causing confusion!

@ee-nn thanks for reporting this! This is indeed a formatting issue.
We just released version 1.1 yesterday.
The main change by @KulaginVladimir is that the TXTExport now produce a single file (instead of several files for each timestep).
This will get rid of the filename issue.
However, it is likely that a similar issue will occur for the column header as it isn't formatted either.
This can be very easily fixed by either adding a formatter or using the user-input time instead of the simulation time (here 100)
Would you like to open a PR? Else we can open a bug report on the FESTIM repo and ask someone to fix it


ActivityPub note content settings were reset

Quick summary
Hi, I noticed that the ActivityPub Note "content" settings were reset after some update. Based on the dates of the affected posts, it must have happened in the 4.1.0 or 4.1.1 update.
My personal settings were:
<strong>[ap_title]</strong>

[ap_excerpt]

[ap_permalink type="html"]

[ap_hashtags]

Which were reset around the time of those updates to:
[ap_title type="html"]

[ap_content]

[ap_hashtags]

Steps to reproduce

Host a site with ActivityPub and custom note settings
Update to ActivityPub 4.1.0 and/or 4.1.1 and see the changes reset (suspected versions)

This is at least the suspected way to reproduce.
What you expected to happen
The settings should not change on their own.
What actually happened
The settings were reset to some default (note that this happened on another site I run, too!)
Impact
Some (< 50%)
Available workarounds?
Yes, difficult to implement
Logs or notes
I wanted to share my workaround with you:
I changed the settings back to how I used to have them, then trashed all affected posts and republished them with the original date.
This worked at least partially: Misskey seems to have gotten the updated posts, but on Mastodon the posts have simply permanently vanished, even manually inputting the URL of the article into the search box yields "no results" which suggests something broke from trashing and republishing.
This makes me wonder if maybe there should be a "republish to Fediverse" button or something, to force a refresh for edge cases like this? It's really unfortunate to just "lose" posts like this.

I am very sorry about that @sindastra ! I made a mistake in the migration that caused the reset of your content-template. This is fixed now and should not happen again.

I changed the settings back to how I used to have them, then trashed all affected posts and republished them with the original date.

If you trash a post, the plugin will send a Delete Activity and (as far as I know), this is irrevocable on Mastodon. This is why a re-publish under the same ID/URL does not work.
If you want to update a post the next time, you simply have to change something small in the post (could be as simple as adding a white space), then the Plugin will send an update automatically.

@pfefferle Could you link to the PR that fixed this, for posterity?

@obenland https://github.com/Automattic/wordpress-activitypub/commit/82786d16298e2385a6181336da57cf9fcb81d0de

Closing as fixed in https://github.com/Automattic/wordpress-activitypub/commit/82786d16298e2385a6181336da57cf9fcb81d0de.

Hello @pfefferle ! Thank you for your quick response.

I am very sorry about that @sindastra ! I made a mistake in the migration that caused the reset of your content-template. This is fixed now and should not happen again.

Thank you. I understand mistakes can happen from time to time, and we're all just human after all. 😊 I'm glad to hear it's been fixed, so I don't have to worry about future posts breaking.
Now, as for the "aftermath", I do have a few questions to get a better picture, if I may:

When you mention the plugging sending an update after a small edit, do you mean the same sort of update which in Mastodon terms is known as the "edit" feature?
Will said update honor the updated note template setting? As in, I update the note template, add a whitespace to the article, and it will update it to look like the latest template setting (regardless of whether the template actually includes the post contents, i.e. just the excerpt)?
When you mention a re-publish under the same ID/URL not being possible, is this an && or || condition, or do you mean to say that the URL is the ID?

I hope you don't mind me asking these questions so I can get a better understanding of what's going on behind the scenes. This information would be very valuable for me to potentially find a workaround, as those affected posts are now simply "gone". Thank you for your time.

Thank you. I understand mistakes can happen from time to time, and we're all just human after all. 😊 I'm glad to hear it's been fixed, so I don't have to worry about future posts breaking.

☺

When you mention the plugging sending an update after a small edit, do you mean the same sort of update which in Mastodon terms is known as the "edit" feature?

Exactly! Every time you hit the save button on a post, the plugin sends an update of the post to your followers, and they will see the updated version then.

Will said update honor the updated note template setting? As in, I update the note template, add a whitespace to the article, and it will update it to look like the latest template setting (regardless of whether the template actually includes the post contents, i.e. just the excerpt)?

Exactly! Because the template defines the content of every blog post, it will used for every update. You can check how this looks like, by adding ?activitypub at the end of a posts URL or if you use the preview button in the block editor.

Will said update honor the updated note template setting? As in, I update the note template, add a whitespace to the article, and it will update it to look like the latest template setting (regardless of whether the template actually includes the post contents, i.e. just the excerpt)?

The URL was the ID, but we changed the ID to https://example.com/?p=<post-id>. So a "re-publish" will only work if you clone the post and publish it under a new ID. But this will break all conversations that already happend, so I would recommend to send an update instead!

I hope you don't mind me asking these questions so I can get a better understanding of what's going on behind the scenes.

Not at all, I am happy to help when I can!
Let me know if that makes sense to you or if you have ideas how to make it easier to understand!


Rewrite the whole thing!

I'll start rewriting this when I reach 100 GitHub sponsors.

Move to Monaco Editor
Use Rollup to bundle npm packages
Better support for languages like Go / Rust
Account system so you can view your edit history
Let me know your use case..

An account system would require a back-end, right?
If yes, then you could also integrate the OAuth stuff into the back-end


Correct blobs.path documentation

@dobe please review

Current coverage is 81.40% (diff: 100%)

Merging #4467 into 0.57 will decrease coverage by 0.07%

@@               0.57      #4467   diff @@
==========================================
  Files          1311       1311
  Lines         44714      44714
  Methods           0          0
  Messages          0          0
  Branches       7126       7126
==========================================
- Hits          36430      36398    -32
- Misses         5602       5631    +29
- Partials       2682       2685     +3

Powered by Codecov. Last update de24318...78c9c01


chore(main): release 2.150.0

:robot: I have created a release beep boop
2.150.0 (2024-10-30)
Features

add group admin to list groups (#4779) (391b377)
Log Hubspot cookie creation (#4778) (960def4)
versioning: limit returned number of versions by plan (#4433) (55de839)

Bug Fixes

associated segment override check (#4781) (85556a0)
audit and version limits for existing subscriptions (#4780) (5827e07)
GitHub integration tagging issues (#4586) (56a266d)
Prevent newlines in environment variables from causing frontend syntax errors (#4750) (6bbd6c7)
run eslint --fix removing all prettier error from web/ folder (#4739) (13494b6)
sales-dashboard: prevent 500 error when user doesn't exist on sales dashboard search (#4757) (282d82f)
versioning: handle versioned environments for associated-features endpoint (#4735) (7d40a07)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v2.150.0
:sunflower:


Please ship TypeScript definitions

Some definitions are available here.
Thanks

Looks like there's a process to deprecate the DefinitelyTyped types that we should follow when we do this - see https://github.com/DefinitelyTyped/DefinitelyTyped/pull/20258 for an example.

Any updates?


Add the option to choose number of buckets for points > sized by value

We need to have the option to select the number of classes (in addition to classification method) for points that are sized by value. We are doing classed proportional symbols wrong if we don't offer this option.  Once a user selects a classification method and number of classes, the min/max symbol sizes should ramp by those two variables. For example, if they choose 7 classes, we would get 7 different symbol sizes.
@javisantana noted this down, just want to create an issue too. Basically, in the dialogue below, we also need the drop-down for number of buckets.

cc/ @urbanphes

Moved in design, closing for the moment. Design team will open a new one when they finish, so closing 💋 .


No option to do email verification

Version info

Angular: 1.5.11
Firebase: 3.6.8
AngularFire: 2.3.0
Other (e.g. Node, browser, operating system) (if applicable):
Test case

No method to do email verification of user
Steps to reproduce

Expected behavior

Actual behavior

Duplicate of #764.


"Styles" is not handled.

There is a custom "style" for each element (hero, header, body, footer) as seen in this simulator.

And they have their own key.

It seems your code is not handling that yet, I tried to add them myself but still not finding any solution, but maybe you can. Thank you so much!

thank for your feedback. i will modify code for support this case.

i already fixed. please pull code again  :)


adds slider for standard stories

@carlmjohnson on the last slide all elements inside .article-content gets pushed to the left on lg viewport. removing overflow-hidden fixes the issue, but I'm not sure what display(s) that will break on other stories. Feel free to take a look if you have the time.

The content well has a hard limit around it so that it won't have weird horizontal scrolling stuff on mobile when some random thing is the wrong size. There are like 5 "okay overflow fixed for real this time!" commits somewhere in the Git history.
Maybe the solution here is just to put a border around the gallery like this but not as ugly:

The issue is that the body copy is getting cropped on the left-side when you scroll to the last slide. You can see an example of this here: https://slidertest--poor-richard-spotlightpa.netlify.app/news/2030/12/standard-example-xxx/
I'm getting consistent results on FF and Chrome

Hmm, I didn’t see it on Safari. Maybe it’s because they don’t support all the containment stuff.

I like the new style, but this broke the old carousels like https://slidertest--poor-richard-spotlightpa.netlify.app/news/2021/06/pa-medical-marijuana-insurance-drug-treatment-confusion/. If you look at the JS console, it's also complaining about not having access to the disableNextAndPreviousButtons JS, I guess because its parent component doesn't have the right Alpine x-data.

I like the new style, but this broke the old carousels like https://slidertest--poor-richard-spotlightpa.netlify.app/news/2021/06/pa-medical-marijuana-insurance-drug-treatment-confusion/. If you look at the JS console, it's also complaining about not having access to the disableNextAndPreviousButtons JS, I guess because its parent component doesn't have the right Alpine x-data.

@earthboundkid Here's an update with the new design on both sliders:

https://slidertest--poor-richard-spotlightpa.netlify.app/news/2021/06/pa-medical-marijuana-insurance-drug-treatment-confusion/
https://slidertest--poor-richard-spotlightpa.netlify.app/news/2030/12/standard-example-xxx/

LMK if this works or if you'd prefer I go back to the original design.


[Backport 1.20] - prevent snapshot save when snapshots are disabled

Backport for originalRKE2 issue: rancher/rke2#1157

Validated using rc: v1.20.8-rc1+k3s2 (c15434c2), Logs contain correct appropriate message and configmap for snapshot is not saved
Jul 13 00:03:54 ip-172-31-41-246 k3s[89590]: time="2021-07-13T00:03:54.168542529Z" level=info msg="ETCD snapshots are disabled"

$ kubectl get cm -n kube-system k3s-etcd-snapshots -o json
Error from server (NotFound): configmaps "k3s-etcd-snapshots" not found


Unnecessary/duplicate argc clear

    /* Must be more than `1` character since we have to include end of line */
    if (lw->buff_ptr > 0) {
        /* Set default values */
        lw->argc = 0;
        lw->argv[0] = lw->buff;

        /* Process complete input */
        str = lw->buff;

        /* Process complete string */
        lw->argc = 0;
        while (*str != '\0') {

Line 112 in lwshell.c
You clear argc, then clear it again before anything could have changed.

Got it. Thanks for merging in.


Chores mongo+key

Changes:

API Key attached to POST /events.
Added Indexes to mongo startup script to speed up log retrieval.
Changed RDS backup retention from 0 day(no backup) to 1 day.
Workers requires functions service to be up before it deploys. This prevents service connect issues.
API KEY is output at the end of a deploy.

Nice


Add QuantileRegressionLoss

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

Project coverage is 100.00%. Comparing base (504560f) to head (b3738c9).
Report is 4 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #367   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          101       102    +1
  Lines         3181      3198   +17
  Branches       267       267
=========================================
+ Hits          3181      3198   +17

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[BUG] Enable Postman steps in build.yml and deploy.yml after 26/06/2024 (API rate limit reset)

Description
Enable Postman steps in build.yml and deploy.yml after 26/06/2024 (API rate limit reset)
Screenshots

Additional information
No response

The quota will only reset on July 12th, not on June 26th...


Slower zoom in editor

Issue Type: Feature Request
The editor font zoom is great with a mouse wheel but far too fast on my laptop trackpad. The font changes from unreadably small to hilariously huge with the tiniest movement, and the only way I can get the size I want is to zoom in and out repeatedly until it happens to stop on the desired setting.
Would it be possible to slow it down please (or add a speed setting)?
VS Code version: Code 1.47.0 (d5e9aa0227e057a60c82568bf31c04730dc15dcd, 2020-07-09T08:02:06.629Z)
OS version: Windows_NT x64 10.0.18362

Steps to reproduce similar frustration
I also find that the "Editor: Mouse Wheel Zoom" setting is useful and also that it is way too sensitive, making use very frustrating.
It would be helpful if in Settings there were a sensitivity setting similar to that for mouse scrolling.
MacBook Pro 15"
macOS 11.6 Big Sur
Mouse Apple Magic Mouse 2
VSCode
Version: 1.61.2
Commit: 6cba118ac49a1b88332f312a8f67186f7f3c1643
Date: 2021-10-19T15:49:28.381Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Darwin x64 20.6.0

Let's track in #72050


why is the source udp port changed?

I have two nodes in same subnet,both nodes are deployed calico network. one node can be scheduled by kubernetes when deploy an server application, and the other one cannot be scheduled, it is just used to deploy load balance.
But sometimes the packet from lb is changed, i dont know why.
Expected Behavior

i think it should keep the same port.
Current Behavior

<IP_ADDRESS>---Load Balance server IP.
<IP_ADDRESS>--Host server IP and container IP <IP_ADDRESS> on this host.
container host bond0 Ethernet gets the packets like this：
10:52:50.866695 fa:16:3e:0f:56:27 > fa:16:3e:19:04:4a, ethertype IPv4 (0x0800), length 64: <IP_ADDRESS>.5683 > <IP_ADDRESS>.40087: UDP, length 22
10:52:53.401237 fa:16:3e:0f:56:27 > fa:16:3e:19:04:4a, ethertype IPv4 (0x0800), length 64: <IP_ADDRESS>.5683 > <IP_ADDRESS>.40087: UDP, length 22
10:52:53.546809 fa:16:3e:19:04:4a > fa:16:3e:0f:56:27, ethertype IPv4 (0x0800), length 60: <IP_ADDRESS>.40087 > <IP_ADDRESS>.5683: UDP, length 15
10:52:53.546839 fa:16:3e:19:04:4a > fa:16:3e:0f:56:27, ethertype IPv4 (0x0800), length 60: <IP_ADDRESS>.40087 > <IP_ADDRESS>.5683: UDP, length 15
10:52:54.603780 fa:16:3e:19:04:4a > fa:16:3e:0f:56:27, ethertype IPv4 (0x0800), length 60: <IP_ADDRESS>.40087 > <IP_ADDRESS>.5683: UDP, length 15
10:52:54.603799 fa:16:3e:19:04:4a > fa:16:3e:0f:56:27, ethertype IPv4 (0x0800), length 60: <IP_ADDRESS>.40087 > <IP_ADDRESS>.5683: UDP, length 15
but when transport to pod container, the source port 40087 is mapped to 1038. the following packets is from cali** Ethernet.
10:52:50.866675 2e:ba:11:f0:d4:47 > ee:ee:ee:ee:ee:ee, ethertype IPv4 (0x0800), length 64: <IP_ADDRESS>.5683 > <IP_ADDRESS>.40087: UDP, length 22
10:52:53.401226 2e:ba:11:f0:d4:47 > ee:ee:ee:ee:ee:ee, ethertype IPv4 (0x0800), length 64: <IP_ADDRESS>.5683 > <IP_ADDRESS>.40087: UDP, length 22
10:52:53.546835 ee:ee:ee:ee:ee:ee > 2e:ba:11:f0:d4:47, ethertype IPv4 (0x0800), length 57: <IP_ADDRESS>.1038 > <IP_ADDRESS>.5683: UDP, length 15
10:52:53.546844 ee:ee:ee:ee:ee:ee > 2e:ba:11:f0:d4:47, ethertype IPv4 (0x0800), length 57: <IP_ADDRESS>.1038 > <IP_ADDRESS>.5683: UDP, length 15
10:52:54.603795 ee:ee:ee:ee:ee:ee > 2e:ba:11:f0:d4:47, ethertype IPv4 (0x0800), length 57: <IP_ADDRESS>.1038 > <IP_ADDRESS>.5683: UDP, length 15
10:52:54.603803 ee:ee:ee:ee:ee:ee > 2e:ba:11:f0:d4:47, ethertype IPv4 (0x0800), length 57: <IP_ADDRESS>.1038 > <IP_ADDRESS>.5683: UDP, length 15
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Calico version
calico-node:v3.0.1
Orchestrator version (e.g. kubernetes, mesos, rkt):
kubenetes 1.8
Operating System and version:
centos 7.2
Link to your project (optional):

Calico does not set up any NAT, so it would not be changing any ports.
kube-proxy does do some NAT for load balancers and other services it sets up.
From the capture you pasted it almost looks like the server in the container is responding back with a different source port than what you are expecting.

the packet is from lb to container.  these packets are captured at the node where the container is scheduled.
<IP_ADDRESS>.40087 is captured through node physical bond0 network card，at the same time <IP_ADDRESS>.1038 is captured through node cali***  network card.
why the packer is changed through Linux kernel.
container ip is <IP_ADDRESS>, port is 5683.  <IP_ADDRESS> is lb ip.

Ok I think I understand a little better, though I don't understand what is happening but I would guess it is some iptables rule that kube-proxy sets up for the LB.

Is there any configuration about udp conntrack to keep udp alive. i set the node kernel parameters: nf_conntrack_udp_timeout=86400, but it doesnot work.  after through testing, i find that the port will be changed after about 3 minutes. my app is used for CoAP NB-IOT. the terminal device willnot always send heartbit.

@rainbowfhb can you attach output from sudo iptables-save -c; seems there must be a NAT rule that you're hitting but I don't think calico or kube-proxy should NAT a packet that is going to a local pod IP.

[root@kube-node-0003 ~]# iptables-save -c |grep 5683
[0:0] -A KUBE-SEP-JISZAHD2XOFEYMJD -s <IP_ADDRESS>/32 -m comment --comment "default/myapp:5683" -j KUBE-MARK-MASQ
[0:0] -A KUBE-SEP-JISZAHD2XOFEYMJD -p udp -m comment --comment "default/myapp:5683" -m udp -j DNAT --to-destination <IP_ADDRESS>:5683
[0:0] -A KUBE-SERVICES -d <IP_ADDRESS>/32 -p udp -m comment --comment "default/myapp:5683 cluster IP" -m udp --dport 5683 -j KUBE-SVC-76M55ND723NQX7MC
[0:0] -A KUBE-SVC-76M55ND723NQX7MC -m comment --comment "default/myapp:5683" -j KUBE-SEP-JISZAHD2XOFEYMJD

the following is node route information about cali*** with container.
<IP_ADDRESS>  <IP_ADDRESS>         <IP_ADDRESS> UH    0      0        0 cali738e34eabf2

Are you using the <IP_ADDRESS> IP from your load balancer or are you accessing <IP_ADDRESS> directly?

we keep the lb node in calico cluster, and access <IP_ADDRESS> directly through lb server ip.
dont use k8s service.


Discussion Inverse of hasSubordinateProcess?

https://github.com/materialdigital/core-ontology/blob/develop/pmdco_core.ttl#L230:L235
I suggest to add an inverse to hasSubordinateProcess like hasSuperordinateProcess

Thx for this suggestion! It's done.


Add communication signal level diagnostic for inverters and relays.

Not sure if we want to put it behind another config option, as it will request another api endpoint specifically for this diagnostic.
The icon also represents the state (as it goes from 0-5):

For me this was helpful, as i see that inverters which are far away from the envoy, do fluctuate in communication level.


Cannot build image from institutional Figshare DOIs

Bug description
While building images from DOIs from the public figshare.com repository, things work great (e.g., https://doi.org/10.6084/m9.figshare.12746861.v1). However, entering a DOI from an institutional Figshare instance (e.g., https://doi.org/10.25422/azu.data.12456536.v1) does not work. The error given is
Error during build: Failed to clone repository from 10.25422/azu.data.12456536.v1 (ref 12456536.v1)
Institutional Figshare instances may have different URLs but all Figshare API calls are to api.figshare.com/v2/ even for institutional instances, so I my assumption was that it would work.
Related: jupyterhub/binderhub#938 jupyterhub/binderhub#951
Expected behaviour
A Docker image is successfully created
Actual behaviour
The Docker image does not build.
How to reproduce
Enter the above test DOIs on MyBinder.org to see the behavior

@betatim I agree with your analysis of the problem, and the suggested solution :-)


Failure to read road attribute from routerDb within Lua file

Hello.
I want to modify the factor_and_speed result in a custom Lua file, but I am unable to get the necessary attribute from the routerDb.  In fact, I can't seem to get any values from the routerDb, and I don't know of any way to debug through the Lua file to see what's happening at run-time (is there a way?).
This is a Shapefile-based routerDb, and everything else works fine - routes and directions are properly generated based on this Lua file.  So my road names for the directions are properly retrieved from the meta_whitelist, but I cannot seem to get any values from fields based on the profile_whitelist.  I have mimicked almost exactly the whitelists and factor_and_speed from the Lua file from the Dutch national road sample.  Here is the top part of my file (excluding the 'directions' portion):
name = "shape.car"

-- whitelists for profile and meta
profile_whitelist = {
    "IS_CLOSED",
    "streetname"
}

meta_whitelist = {
    "road_name"
}

-- profile definitions linking a function to a profile
profiles = {
    {
        name = "",
        function_name = "factor_and_speed",
        metric = "time"
    },
    {
        name = "shortest",
        function_name = "factor_and_speed",
        metric = "distance"
    }
}
-- the main function turning attributes into a factor_and_speed and a tag whitelist
function factor_and_speed (attributes, result)

    result.speed = 50    -- Km/h
    result.direction = 0
    result.canstop = true
    result.attributes_to_keep = {}

    -- get data attributes
    local IS_CLOSED = attributes.IS_CLOSED
    local streetname = attributes.streetname
    -- is the road closed ?
    if IS_CLOSED then
        if IS_CLOSED == "T" then
            result.speed = 0
            result.direction = 0
            result.canstop = true
            result.attributes_to_keep.IS_CLOSED = true --.IS_CLOSED = IS_CLOSED
        end
    -- else
    --     result.speed = 0
    end
    -- if streetname == "PENDLETON" then
        -- result.speed = 0
        -- result.direction = 0
        -- result.canstop = true
        -- result.attributes_to_keep.streetname = true
    -- end
end

Some comments:

My original intent was to check the value of IS_CLOSED.  This was originally a boolean field, but every sample I see of Lua is reading values as strings, so just to make sure, I changed my field to a string value "T" or "F".  Does the result.attributes field hold other data types?
My best guess for behavior is that I only need to add the field to the profile_whitelist in order to be able to read its value within the 'attributes' parameter of factor_and_speed.  Is there something else I need to do load the values?
I can simply change the initial speed setting from 50 to 0 to verify that I can no longer set endpoints and generate routes.  So I'm confident that this specific Lua file is governing my run-time behavior.
Suspecting that I'm not fetching anything (getting back nil), I added the "if IS_CLOSED then" condition along with the else result.speed = 0, in order to verify that I'm never even getting into the "if IS_CLOSED == "T" block of code.
As a side-note, I see some samples that set "result.attributes_to_keep.<field_name> = true" and some samples that set "result.attributes_to_keep.<field_name> = <field_name>".  Is that field looking for a boolean or a field value?  (So far it hasn't mattered since I'm never getting to that code).

Thank you for any guidance.
Regards.
Jerry.

Thank you, @xivk , I am now able to act upon our IS_CLOSED attribute (The logging helped. There was nothing wrong with the script, but instead with some Itinero code I had modified for other reasons  :-(
I was reviewing Customizable Contraction Hierarchies (#92, #208, et. al.), even downloading the Paper published on the ACM site, since a client of mine would like to see this behavior. It will not be trivial to incorporate this feature.
I then saw #159, in which you mention a proposed feature to allow the editing of edge meta-data (at run-time).  My thought was to add the attribute (IS_CLOSED), defaulting to False initially, then editing that attribute at run-time to close specific roads.  I believe this would require using a non-Contracted network, but I think the trade-off would be acceptable (the largest network we might have is a US County).
If I am able to get approval to pursue this development, is there any direction you could give me, or prior notes/considerations/Issues related to this option?
Regards.
Jerry.

I just did a few commits today to make this exact scenario possible. You can do this now, update a specific edge's data after the routerdb has been loaded or preprocessed and do routing on it while doing this.
The only thing that's not possible is to use CH in this case, so routing will be slow. There are some performance improvements on the plain dykstra implementation that we haven't considered doing because the CH is there. What I'm saying is there is some room for improvement in the regular dykstra-based routing.
If you do this I would recommend adding edge profiles, even if they don't exist yet, for each edge for both types, closed and not closed. That way you only need to update 2bytes of data per edge when changing status from closed to not closed and vice versa. The routerdb can stay in the same state and updating can be very fast.
Also, you can calculate a CH for the scenario not closed and only use dykstra when it hits one of the closed edges. This give you speed in case there are no closures along the route with a marginal increase in calculation time.
It would be great if there is a way some of your work could benefit the project. If you can give feedback like this that's fine but some code that flows back into the project is also welcome... You can also buy a couple hours of consulting time where we review your work or support the project with a donation.

Ok. Quick follow-up.

I got past the build issue for now by just nixing the netstandard20 target.
I would still like to confirm the branch I should be working against.  I assume 'develop'.  But I'm not sure why the Itinero.Geo and Itinero.IO.Shape projects are not included.
Kind Regards.
Jerry.

Update:
I am able to close roads and regenerate routes without having to rebuild the network - albeit in a very rudimentary way.  But for now this is just a proof-of-concept, to know it can be done.  I've attached some notes, with a question at the end.
Regards.
Jerry.
Itinero Issue 212.docx

The Itinero.IO.Shape code was moved to this repo:
https://github.com/itinero/geo

@alecava58
Yes, early on, I tried using restrictions as well, and maybe you're having more success than I was.  But as you know, they are intended for turn restrictions, and my understanding is that they may inadvertently block routing through a vertex that is not intended to be closed (but I am by no means an expert on this).
My current philosophy involves re-assigning an edges' profile at run-time, but I still have a few things to work through to make sure it cooperates with existing functionality.  Also note that using this method, you cannot use a contracted network, so it will not be as fast as it otherwise could be.  But with smaller networks (city or county based), I believe it is an acceptable trade-off.
After I work some things out, I will submit my proposed changes.  I'm not sure that they will be acceptable for formal inclusion in Itinero, but I think it will be a working solution for some.
Regards.
Jerry.

@xivk
As an alternative to what I was working before, I have now developed a means of maintaining a simple list of Closed Roads (as Edge IDs).  Currently stored in the Router class, it is completely independent of the edge profiles and the Lua code.  The RouterDb does not have to be regenerated.  I check against this list within the Step method of the Dykstra implementations, bypassing those edges that are tagged as closed.
Although there may be more work to be done to fill in any blanks, I think it is a viable option for smaller non-Contracted networks.  I would like to Push my branch and submit a Pull request for review, but I don't have permission.  It is possible to get this permission?  I have already signed a contributor agreement.
Thank you.
Jerry.

Just FYI:
The Itinero.IO.Shape and Itinero.Geo code was moved back here after the stable release of NTS.


remove right-bottom and left bottom radius

First of all, thanks for widget.
How can I remove right-bottom and left-bottom corners radius?

@maliatli
Did you find a solution for this?

You can edit the library directly, by editing the lib/constants.dart file

@maliatli we implement this functionality in animated_notch_bottom_bar: ^1.0.1


Adversaries lack motivations fields

Rivals should have strength and flaw, and nemeses should have all four similarly to PCs. But would probably make sense to just have all four as options for all adversary types.

Do you have a source for this? I don't see anything where that's spelled out explicitly for any NPCs' stat blocks.
If this is just something that you like including for your own games, there's no reason you can't note them in the NPC's descriptive text.

It's built into how structured social encounters work, but these are also in the SotC blocks. They might be in the SotB cards, too? Not entirely sure. But it wasn't something that was part of the standard block in CRB (not in EPG either).

I'm looking through SotC right now and I don't see them in any of the blocks, same with SotB.
Since they don't have any automatable mechanics to worry about I think for now it's best to put them in the NPC's descriptive text box. I can revisit again in the future if needed.

Oh....right. It's from the SotC adversary cards. Wonder if they're going to continue the trend in EotI. Anyway, I still think it's worth including on the sheets to avoid clutter, but fair enough if it's not a priority for you!


Setting python.analysis.nodeExecutable in the user settings affects how pylance gets launched on VSCode remote

Opening as a question because I'm not sure if I'm doing something wrong or not. I sometimes use VSCode locally, and other times I use it remote (different use cases). The problem is that when I set python.analysis.nodeExecutable in the user settings, pylance tries to use that path on the remote server, despite the user settings graying out the setting, which implies that it shouldn't be used on remote?
For example, assuming I set python.analysis.nodeExecutable to /opt/homebrew/opt/node@20/bin/node on macOS, and then try to connect to a remote, Pylance fails to start with the error message:
2024-04-26 19:26:48.835 [info] (Client) Pylance async client (2024.4.1) started with python extension (2024.4.1)
2024-04-26 19:26:48.856 [info] [Error - 7:26:48 PM] Pylance client: couldn't create connection to server.
2024-04-26 19:26:48.856 [info] Launching server using command /opt/homebrew/opt/node@20/bin/node failed. Error: spawn /opt/homebrew/opt/node@20/bin/node ENOENT

If I open the user settings, python.analysis.nodeExecutable is grayed out with a message that reads "This setting cannot be applied in this window. It will be applied when you open a local window.", which is a bit confusing. Screenshot:

Is that the expected behavior or am I doing something wrong?

ah, sounds like a bug. we should ignore this when it is used in remote.

On the remote machine you should be using the machine wide settings.json. For me that's somewhere like so:

BTW I tried that and it still tries to use the nodeExecutable from my local user settings, not the one in Machine/settings.json. Do I need to restart vscode-server for it to reflect?

can you see content of setting.json for your local and remote ?

Ughh good call, I had the incorrect machine settings. Sorry about that.

The remote machine settings were at ~/.vscode-server/data/Machine/settings.json. (VSCode 1.94.2)
It is also possible to open with command mode:


Uncertainities around constraints

Issues

Only the forward mode appears to have ever been used throughout cowboy. The support for reverse and format_error seems to be lacking
Matching of repeating parameters seems to not be supported
Documentation contradicts implementation on several places

Discussion

Bundling of all the functionality of a parameter constraint into a single function using forward, reverse and format_error modes is a cool idea. But it seems it was never decided, how the reverse and format_error modes should be used

functions in cowboy_constraints module implementing the modes are not documented. My natural expectation would be the constraint lists used in validate/2 and reverse/2 should be identical so the user would not need to worry which of the two modes is used. But if the constrains do subsequent transformations (eg. first parses a datetime and second transforms the datetime to age) the reverse/2 has to be called with reverted list of constraints
to be able to use the format_error mode, you need to catch an exception from match function (cowboy_req:match_qs/2, cowboy_req:match_cookies/2 or cowboy_req:read_and_match_urlencoded_body/2) and extract the constraint and its arguments from an undocumented structure

The user guide mentions the match functions support multiple parameters of the same name. But it is never explicitly mentioned how would the constraints work in this situation. Only the last paragraph in the guide mentions key=1&key=2 query would result in #{key := [1, 2]} which would imply int constraint was used on single values. It also seems natural to me to use the constraints on every value separately and only combine them to the list after. Nevertheless the implementation passes a list of binaries of all the values to the constraints. So separate constraints have to be created for keys allowing for multiple values
In addition to contradictions mentioned in previous points

the user guide promises (or at least hints to it) some complex functionality around constraints. I think some features should be marked experimental or incomplete. The natural place for this would be cowboy_constraints module documentation. Unfortunately this page is obsolete (probably more than 5 years old, when the last big change happened). It documets int/2 and nonempty/2 as exports which are actually internals, while the actual exports validate/2, reverse/2 and format_error/1 are not mentioned

I'll need to review all this in details but it's possible that it's missing a few things for proper use within Cowboy.
That's probably just a documentation edit mistake as the key=1&key=2 line is mentioned twice in that section. It's only there to say that unlike PHP we don't care about [].
The exports are really just the list of built-in constraints, always been. Not sure more is needed in the context of Cowboy.

The reverse stuff is mostly there for HATEOAS stuff which I've not finished experimenting with (ran into other missing stuff and implemented them such as uri templates). It's a slow process.


run tutorial can't bindports

I installed vagrant per tutorial guide. However, after successful installation, the first step failed.
$ vagrant ssh nff-go-1
nff-go-1$ bindports
When I bindports, it reports:
$ bindports
insmod: ERROR: could not load module /home/vagrant/nff-go/dpdk/dpdk/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko: No such file or directory
Warning: no supported DPDK kernel modules are loaded
Error: Driver 'igb_uio' is not loaded.
The scripts for bindports is as below:
bindports ()
{
sudo modprobe uio
sudo insmod "$NFF_GO"/dpdk/dpdk/x86_64-native-linuxapp-gcc/kmod/igb_uio.ko
sudo insmod "$NFF_GO"/dpdk/dpdk/x86_64-native-linuxapp-gcc-install/lib/modules/5.0.0-31-generic/extra/dpdk/igb_uio.ko
sudo "$NFF_GO"/dpdk/dpdk/usertools/dpdk-devbind.py --bind=igb_uio $NFF_GO_CARDS

}
But there is no directory of x86_64-native-linuxapp-gcc/kmod/igb_uio.ko. I changed to the existed directory as x86_64-native-linuxapp-gcc-install/lib, it then reports:
$ bindports
Unknown device: 00:06.0. Please specify device in "bus:slot.func" format
Here is my lspci output:
$ lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH VirtualBox Graphics Adapter
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:04.0 System peripheral: InnoTek Systemberatung GmbH VirtualBox Guest Service
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)
00:08.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
00:09.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
any idea?
BTW, is here the right place to ask such support question? or any other community?
Thanks in advance!

You are right, bindports got outdated and the path is wrong. I fixed it in PR #660. If your NICs PCI IDs are different from those specified in the script you can edit it and change them.
Meanwhile you can try to use my scripts that I use for automated testing. They are much more powerful than those set up in VMs by default and allow switching from DPDK configuration to Linux and some Linux networking configuration https://github.com/gshimansky/network-setup-scripts

Path to module fixed in devel branch.

Greg,
My system is running successfully now with your scripts. Thanks a lot.
I'll try your new checkin later.
On Wed, Oct 16, 2019 at 12:41 AM Gregory Shimansky<EMAIL_ADDRESS>wrote:

You are right, bindports got outdated and the path is wrong. I fixed it
in PR #660 https://github.com/intel-go/nff-go/pull/660. If your NICs
PCI IDs are different from those specified in the script you can edit it
and change them.
Meanwhile you can try to use my scripts that I use for automated testing.
They are much more powerful than those set up in VMs by default and allow
switching from DPDK configuration to Linux and some Linux networking
configuration https://github.com/gshimansky/network-setup-scripts
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/intel-go/nff-go/issues/659?email_source=notifications&email_token=ABD5ROIB23FGINKEJMQJHHLQOXXD3A5CNFSM4JAPCELKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBJOCZI#issuecomment-542302565,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABD5ROIQS3PTRHVENQ4YF2TQOXXD3ANCNFSM4JAPCELA
.


fix: port typo

Description
Fix port typo. We want the default port for UI to be on port 5000.

Lol I preferred it on 15000

lol :) I agree with that - I was helping someone with weird HTTP denied errors which I thought might be because of port 5000 being in use on their machine.

should we change the VN as well?

probably, but it should be a different port to the indexer


Pin ibis-framework to less than 9

Thanks for putting this in, @mbwhite !  I updated the poetry.lock file and also edited the commit message so that it conforms to our commit rules.  I'll cut a release after this is merged.

thanks @gforsyth  no problem... sorry I didn't spot the commit rules..


Create facades for CheckoutModule

Follow instructions from #6 and see example/spike in #140.
If you have a question, post in team slack with @tobias and @wei.
Add back the unit test previously commented out:
https://github.com/SAP/cloud-commerce-spartacus-storefront/blob/016ffd4f8cf746ee5b5c0765cc666721ca1130b5/projects/storefrontlib/src/lib/checkout/components/multi-step-checkout/container/multi-step-checkout.component.spec.ts

All facades work will be tested with one ticket, #6.


[Feature Request]:  Storybook support

What problem does this feature solve?
Use rspack as storybook builder, this issue is for tracking some issues related to it
https://github.com/storybookjs/storybook/issues/21561
What does the proposed API of configuration look like?
@storybook/builder-rspack

supported https://www.rspack.dev/guide/migrate-storybook.html

Waiting for supporing version Storybook 8

The link @hardfist posted moved here: https://www.rspack.dev/guide/migration/storybook


DRAFT Select Fiat Currency, Toggle Input between fiat and Seeds

🗃 Github Issue Or Exmplanation for this PR. (What is it supposed to do and Why is needed)
#367
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Decision was made to (by me hehe) to keep the input field as it is, and only change the conversion
As I don't think it's useful for users to suddenly have their input replaced by whatever the converted value was.
Example: I enter 1 AUD
Seeds is 40.334
Then I toggle input mode to Seeds
Now the entry remains at "1" SEEDS, and AUD is 0.02 (something like that)
The other way to do it would be to replace the 1 with the 40.334 from the SEEDS value which would keep the same value entered, but change the input. I think that's not useful for users.
Users are more likely to enter 100, then realize they're in the wrong currency, then toggle currency to correct that.
🙈 Screenshots
toggle_input.mov.zip
👯♀ Paired with
@7flash

PR looks greet, thanks for the vid.
Ill take a close look at it tomorrow when i wake up.

conflicts

conflicts

These were weird - wasn't really a conflict, merging master into this branch said it was up to date - but didn't remove the conflict...


[v4] Clearer error messaging around bad fallback or template paths

Code section
https://github.com/fuse-box/fuse-box/blob/master/src/dev-server/devServer.ts#L59-L65
Current error:
TypeError: path must be absolute or specify root to res.sendFile
    at ServerResponse.sendFile (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/express/lib/response.js:425:11)
    at app.use (/Users/seph/Code/ChooseHealth/instride-storefront/node_modules/fuse-box/dev-server/devServer.js:44:13)

Suggestion:
Putting a try/catch around these lines, and outputting the error as well as the absolute path that was attempted.  Would make it a lot easier to tell what's wrong with the current supplied path.

Closed due to inactivity.


HEAD in setup.py

Thanks for your impressive work! I have found some diff marks in the setup.py, you can remove them if you have time:)

The same problems.


[esp32-p4] RTC_NOINIT_ATTR vs __NOINIT_ATTR (IDFGH-14118)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
master
Espressif SoC revision.
esp32-p4
Operating System used.
Linux
How did you build your project?
Command line with Make
If you are using Windows, please specify command line type.
None
Development Kit.
devkit
Power Supply used.
USB
What is the expected behavior?
Is it a bug, or its working differently than on S3 and other chips?
What is the actual behavior?
has always value 29966728 after soft reboot
Steps to reproduce.
#include <stdio.h>
#include <stdint.h>

#include "freertos/FreeRTOS.h"

#include "esp_system.h"
#include "esp_attr.h"

static RTC_NOINIT_ATTR uint32_t s_rtc_noinit_val;
static __NOINIT_ATTR uint32_t s_reconfigure_requested;
static const uint32_t RECONFIGURE_REQUEST = 0x1C55AA;

void app_main(void)
{

    if (esp_reset_reason() == ESP_RST_POWERON)
    {
        s_rtc_noinit_val = 1;
    }

    if (s_reconfigure_requested == RECONFIGURE_REQUEST)
    {
        printf("\t\t its working\n");
    } else {
        printf("\t\t its NOT working\n");
        printf("\t value: %lu => %ld\n", s_reconfigure_requested, RECONFIGURE_REQUEST);
    }
    s_reconfigure_requested = RECONFIGURE_REQUEST;
    printf("\t value: %ld\n", s_reconfigure_requested);
    vTaskDelay(100);

    esp_restart();
}

Debug Logs.
rst:0xc (SW_CPU_RESET),boot:0x30f (SPI_FAST_FLASH_BOOT)

...

         value: 29966728 => 1856938

### More Information.

Thanks

@chegewara What you are seeing here is probably due to DRAM being behind a cache on P4.
So if what the app does between setting  s_reconfigure_requested and restarting is not sufficient to cause a cache writeback then then at the point of the restart your new value might still just exist in the cache.
You can try to add a cache_ll_writeback_all(CACHE_LL_LEVEL_INT_MEM, CACHE_TYPE_DATA, CACHE_LL_ID_ALL); before the restart to see if it gives you the expected behavior


Upgrade kubernetes to 1.10

Is there something more needed than updating crio to 1.10? (see #299 ) Kube itself is already on 1.10.1


[No QA] Disable recheck against local web API when local web API is in use

Details
We are still having issues on dev related to https://github.com/Expensify/App/pull/7825
Tests

Setup ngrok
Run web app
Verify that we are not seeing infinite loops of going offline/online and ngrok tunnel does not crash

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @luacmartins in version: 1.1.43-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.43-2 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


log compile commands with absolute paths

Introduce environment variable to to convert the relative file paths to absolute during logging.
Source file, include paths ...
If the compile command database contains relative file paths the generated reports (clang, cppcheck) will contain relative file paths too.
After the analysis is done the CodeChecker store command will not know where the files (with relative path) are.
With this change the logged compilation database could be used with other tools to generate the reports with absolute file paths.
Cmake with the -DCMAKE_EXPORT_COMPILE_COMMANDS=ON  converts the include paths and source files to absolute (if set correctly in the cmake file)

This is closed by #2479.


Add Authorino resource - 2176

[Auto generated]
Number: [#2176]

openshift-python-wrapper[pull_request][9176-11ef-9167-f0c433ec6f00][PR 2176]: Closing issue for PR: Add Authorino resource.
PR was closed.


using the --remove-orphans flag

Describe the bug
the documentation states the following

however, given the directory structure when cloning the repository

the user will encounter a problem, namely:

when L3 containers starts, all L2 containers will be destroyed.
Example:

Running L2 containers

Running L3 containers

You can see that all L2 containers were killed by the flag --remove-orphans

Steps to reproduce
Solution
use 2 different directories for L2 and L3 , for examples :

in this case, when L3 starts with --remove-orphans flag  , the L2 containers remain untouched

Additional context
The --remove-orphans flag applies to all containers running within the Docker Compose project, regardless of the configuration file used to start them. Therefore, if there are other docker-compose.yml or docker-compose.*.yml files in the same directory, all containers not associated with any of these configuration files will be considered orphaned and will be removed when the --remove-orphans flag is used.

@d1onys1us  d1onys1us check please my issue .

@gitpoap-bot please give @AlexSHuk a gitpoap


Upgrade dependencies

Upgrade dependencies
Had to

touch up on some of the types
Rework the jest config to make it work again. It's also better scoped now

Merge https://github.com/mui/mui-toolpad/pull/483 first

All improvements have been extracted and merged in the code.


pprint and repr now sort map keys

This change is more invasive than I expected because the existing Elvish value comparison code was in pkg/eval.  This moves the value comparison logic into pkg/eval/vals so it can be used by packges other than eval. For example, the vals package repr implementation as well as other Elvish modules which may want to compare Elvish values.
I also decided to introduce a strutil.Dedent function to make it easier to write multiline string literals in unit tests to improve readability of the expected value.
This also sorts the keys of pseudo (struct) maps for consistency with mutable maps. This arguably makes the output of pretty-printing pseudo maps less friendly since a struct map definition typically orders its members in a deliberate fashion (unlike a regular map). However, it is more important that the output of printing the output of regular and pseudo maps (via repr or pprint) be consistent with regard to the order of their keys.
Related: #1495

This also modifies the compare and order commands by introducing a &types option so they can be used to compare (order) otherwise uncomparable types. This is for symmetry with the behavior of repr and pprint when outputting maps. I have had conflicting opinions about this. My original change had the compare and order commands always impose a total ordering on uncomparable types. I have decided it makes more sense for users of compare and order to have to explicitly ask for ordering based on the type of otherwise uncomparable values while having repr and pprint implicitly order based on value and type.

Regarding the introduction of a Dedent function see my comment regarding new literal string syntax. The Dedent functionality is useful outside of its use in the unit tests of this pull-request.

The CmpTypes function does not handle all the builtin types, which includes nil, exceptions, functions and more "esoteric" ones like styled strings.
Printing maps with ordered keys does not require a total ordering of all values. You can group values by types, and only sort the groups that are actually sortable.

This also sorts the keys of pseudo (struct) maps for consistency with mutable maps. This arguably makes the output of pretty-printing pseudo maps less friendly since a struct map definition typically orders its members in a deliberate fashion (unlike a regular map). However, it is more important that the output of printing the output of regular and pseudo maps (via repr or pprint) be consistent with regard to the order of their keys.

Pseudo maps and maps are already different. I would rather pseudo maps keep their original key order.

Regarding the introduction of a Dedent function see my comment regarding new literal string syntax. The Dedent functionality is useful outside of its use in the unit tests of this pull-request.

A testutil.Dedent function already exists.

If you'd like to continue contributing this change, please break the change that moves cmp to pkg/eval/vals into a separate PR. It's a bit hard to review the PR as it is today.
You can also leave this feature to me as I have a pretty good idea of how I'd like it to work at this point.

The CmpTypes function does not handle all the builtin types, which includes nil, exceptions, functions and more "esoteric" ones like styled strings.

Neither does the existing cmp implementation. The obvious solution is to use reflection when one of the types is unknown. If both types are the same just treat the values as equal. This has the value of not having to explicitly enumerate all types since there isn't a natural ordering for types such as exceptions and functions. Yet it allows ordering sequences that contain such types without having to deal with an exception from the compare or order command (assuming the types are homogenous). A similar solution is available to the CmpTypes implementation; only in that case compare the type names to derive an ordering between the types.
Closing this since I'll push an update to PR #1700 that implements the idea in the previous paragraph for the vals.Cmp function.


8.0.0

Resolves #34

Thanks for getting this started, @hacknug!

No problem! It's 99.99% your work so thank you! 🎉


Skeeltal Mesh Import broken as of Unreal 4.24

Due to the changes in unreal API, currently any attempt to import a scene with a skeletal mesh in it result in a crash with "Assertion failed: LODINfo ... SkeletalMeshRenderData.cpp, line 213"
This is being worked on. Meanwhile a clumsy workaround is to remove skeletal meshes from the scene prior to export.

Can not import into UE4.25.


Is Conda preinstalled on windows hosted agents?

Is Conda installed on all Windows Hosted agents?
Is the CONDA environment variable set on all of these hosted agents:

vs2017-win2016
vs2015-win2012r2

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

ID: 1b99fb08-2474-be71-62db-cbafec749cb3
Version Independent ID: af525f70-f636-4fb2-e4e6-03a2dd759c24
Content: Run pipelines with Anaconda environments - Azure Pipelines
Content Source: docs/pipelines/languages/anaconda.md
Product: devops
GitHub Login: @steved0x
Microsoft Alias: brcrista

I am asking because using VS 2015 is recommended here, but Conda seems to be installed only on the VS 2017 hosts.

@tvandera You might be aware of it already, but the image contents are document in this repository

@MattDavisRM Thanks


Endpoint for heatmap of the plate

Similar to #56 this endpoint will return data for heatmaps and other calculations. This is going to return the coordinates of the ball and the coordinates of the batter as the ball is hit. The goal is to A graph the plate coverage of the batter but also somewhat calculate the batters bat length
Format:
{
"Batter Character ID": 0-53,
"Ball upon hit X position": float,
"Ball upon hit Z position": float,
"Batter upon hit X position": float,
"Batter upon hit Z position": float,
"Batter hand": bool
"Type of contact": left-sour, left-nice, perfect...
}


Add Recovered

Add data on recovered patients (from JHU repo), and also add active cases for each country (confirmed - recovered - dead). Possibly adjust per capita also.

Added


Fix varios kafka-to-postgres crashes

Description
This pr fixes multiple incorrect DB lookup returns.
It also introduces new memory limits for the caches, to prevent crashing under some loads
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Ill add automatically adding assets to this branch, before merging


unable to use my shared folder from nas. is it capable ?

I have CIFS/SMB mount on my qnap nas for all the photos, I use them for PhotoPrism app and its able to find all my photos including sub-folders.  I used the same shared folder path when i created this docker-compose but still it can't find any, i get "Found 0 resources" in the log.
Please help.  Thanks.

You might show your docker-compose.yaml.

  this-week-in-past:
    image: rouhim/this-week-in-past
    volumes:
      - /share/PhotoPrism/:/resources:ro # mount read only
    ports:
      - "8090:8080"
    environment:
      SLIDESHOW_INTERVAL: 30

I do I very similar.
Except that I don't have the Slash at the end of the path
- /share/PhotoPrism:/resources:ro
and additionally use the RESOURCE_PATHS
RESOURCE_PATHS: /resources/2022

What does 2022 mean in the resources path?

Just an example. I organize my photos by year.
/share/PhotoPrism/2022
/share/PhotoPrism/2021
...

oh, i have tons of folder inside PhotoPrism folder, wouldn't it go into all the folders ?
do i have to add resource path for all folder (or atleast the folder i need), I am going to give it a try with the slash /

Also just tried without the / and with resource_path, no change, it still says no resource found.

I don't know... That's just the way I use it.
Maybe try with a single folder?!

Just to test, i created other folder in my nas share and added 3 photos, and put that as
/share/Photo/Test:/resources:ro
and it worked and showed just one pictures.  So the app works fine, its just the mapped folder on my NAS which is CIFS/SMB I can't make it to work.
Wonder how it works fine for PhotoPrims app, which i use the same path (see below)

"/share/PhotoPrism/:/photoprism/originals"

and PhotoPrism finds all folders and photos inside.

Maybe it's an permission issue? Never tried it myself I'll have a look.

Maybe it's an permission issue? Never tried it myself I'll have a look.
How did you mount the samba share?

from QNAP Nas web ui, went to mount folder options, and provided the ip address of my other Nas2 and share.  I did this many years ago for PhotoPrism and been using it since then.
May be I can setup directly access the second NAS for your app, not sure how i would mount that volume in the docker compose file!, use //ip_address/share ?

@balajeek
I have tested the whole thing on my server and a folder that is mounted with nfs or smb/cifs works absolutely fine. Without a QNAP Nas it is unfortunately impossible for me to test it, so I would simply recommend you to address the problem in the QNAP forum. If you are ok with it I would close the ticket here. Sorry that I could not help you.

Thank you for your support, i will check with QNAP forum as you suggested.
Thanks for all your help so far.

If you need further help, let me know.


Installing dependencies list based on cli choices

When installing dependencies, and the cli has opted out of building aom and/or jpeg-xl, those dependencies especially installed for them should be skipped.
I.e., the dependent list should be build up step by step, as per what delegates will need to be built-in.

While I understand the idea, it makes things pretty complicated.

ok, but the logic is already almost there:
https://github.com/SoftCreatR/imei/blob/7cd7071d5f7e6ab73e8270ce716c24d5c1c18478/imei.sh#L941-L961
just need to build up build dependencies for each case.

No, that won't work like this. Splitting the BUILD dependencies is way more complicated, and has little benefit, because most people will install IM including full delegate support.

Ok, sure.


trackEvent crashes when empty properties passed

Hey,
When calling AppsFlyer.trackEvent('login') or AppsFlyer.trackEvent('login', {}) it fails with NPE.
In order to make it work, the properties have to contain at least one value.
Alex

@alexxv hi Alex, yes SDK handles empty values for event. Its plugin bug, happens on both A/I. will be fixed

fix done in 1.0.8


Prime the Webapp

This should prepare the webapp to give a quick answer when it is finally initialized and primed.  Docker installation is changed to run the webapp in production mode.

There would also temporarily need to be a line in DockerfileProd
RUN git checkout kwalcock-webappPriming

to test this specific branch.

It seems to work in docker.  I'll wait a couple of days to hear otherwise from anyone else before merging.

does the "production" mode vs "dev" mode make it so that changes to the source code are not seen live, i.e. the webapp would have to be reloaded?

We can still use webapp/run during development.  The difference is in the preparation of the docker container which uses webapp/stage.  So, yes.  The priming code does run in both cases, so there isn't an extra wait for a response to the first query if you have waited long enough for the priming.  It delays the appearance of the blank form, so checking that is slower.

So there are now three docker files:

DockerfileRun - the old Dockerfile that uses "sbt run" as before.  The image builds faster but is slower to run.
DockerfileRunProd - one that uses "sbt runProd" which is however much slower to start and should be avoided.
DockerfileStage - one that doesn't use sbt at runtime and doesn't need compilation, etc., and is much faster once it is built

The last one is what should be used in production.

This addresses #639.


Feature/oct23-sprint

Critical Changes

Addressed when minimum value was set to 0 but was being treated as false and thus blank

Changes

Updated ReadMe
Removed Checkmarx report
Created sample data with Snowfakery
Created Training Indicators
Updated Indicator Bundle layout to fix #126
Converted CSS from sds to slds
Corrected icon size on the card
Updated key to better indicate the Fill Type to reflect that configuration
Updated key to show empty static text in all caps to be consistent with what users would see

Issues Closed

#147
#144
#138
#135
#132
#127
#126
#119
#115
#111
#44

I don't want to hold anything up, but the Leads Samples don't come with the flexipage and the Package.xml like the Account / Contact samples do. We can explain that via documentation, or remove the layouts from the Account / Contact and explain in the documentation to add the bundle to the layout.

I don't think it's a hold up.  Leads Samples are internal use only---they are not going to be used by Metadeploy.
Basically, I just cleaned them up to keep them around since we spent time on them.  And they can be another QA option for us.

OK great, then let's release.


Fake account emails getting sent to real people

Need to use example.com for all emails
Originally created by Tom Smyth at 2018-02-27 12:16, migrated from redmine-#8062

Project changed from NEMO to Gather

Version deleted ( ~~ 8.4~~ )

By Tom Smyth at 2018-02-27 17:16

Version set to 5.2

By Tom Smyth at 2018-02-27 17:17


Textures missing in RedwoodForest

Some trees are missing textures in the Linux build of the RedwoodForest.

If run with opengl3 it should work. Needs to be tested more, but if this consistently fixes the problem I don't think it requires any additional code.

Maybe in the long run the config should denote an opengl version for each map and then users wouldn't have to worry about it.

No longer an issue in ue4.21


fix: Get presto partitions from actual schema (not 'default') of table in sql lab

Fix for this issue:
"it seems to assume schema is 'default' instead of using actual schema
com.facebook.presto.sql.analyzer.SemanticException: line 1:15: Table hive.default.current_book_monthly$partitions does not exist
at com.facebook.presto.sql.analyzer.StatementAnalyzer$Visitor.visitTable(StatementAnalyzer.java:917)
SELECT * FROM "current_book_monthly$partitions"
ORDER BY datestr DESC, filename DESC, insert_time DESC
LIMIT 1
"

Codecov Report

Merging #9897 into master will decrease coverage by 0.29%.
The diff coverage is 85.71%.

@@            Coverage Diff             @@
##           master    #9897      +/-   ##
==========================================
- Coverage   71.25%   70.96%   -0.30%
==========================================
  Files         584      184     -400
  Lines       30809    17952   -12857
  Branches     3238        0    -3238
==========================================
- Hits        21953    12739    -9214
+ Misses       8746     5213    -3533
+ Partials      110        0     -110

Flag
Coverage Δ

#cypress
?

#javascript
?

#python
70.96% <85.71%> (-0.45%)
:arrow_down:

Impacted Files
Coverage Δ

superset/db_engine_specs/presto.py
70.45% <85.71%> (+0.10%)
:arrow_up:

superset/views/database/mixins.py
58.92% <0.00%> (-21.43%)
:arrow_down:

superset/utils/cache.py
48.00% <0.00%> (-20.00%)
:arrow_down:

superset/db_engine_specs/mysql.py
78.26% <0.00%> (-13.05%)
:arrow_down:

superset/views/database/validators.py
77.77% <0.00%> (-5.56%)
:arrow_down:

superset/views/tags.py
35.13% <0.00%> (-4.11%)
:arrow_down:

superset/views/database/api.py
83.90% <0.00%> (-3.45%)
:arrow_down:

superset/views/sql_lab.py
59.06% <0.00%> (-3.29%)
:arrow_down:

superset/cli.py
36.72% <0.00%> (-3.14%)
:arrow_down:

superset/db_engine_specs/postgres.py
97.29% <0.00%> (-2.71%)
:arrow_down:

... and 428 more

Continue to review full report at Codecov.

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


Replace network graph with nested list

The network graph has some drawbacks for displaying a hierarchy:

It initially looks like this which doesn't show structure

Clicking and dragging nodes requires users to manually sort out the structure
It doesn't scale well to hundreds or thousands of nodes

Replacing this with a nested list (think reddit comments) adds to readability and scalability.
For example something like: https://commonmark.org/help/tutorial/10-nestedLists.html
@WrathfulSpatula @vprusso please do add if there's more from our previous discussion that isn't captured here or if this is a duplicate.

Just a comment: Since this come up again in one demo, as the current graph being not helpful, and in case deploying the substitute graph may take some time, I propose to first remove the current visualization, and then add the graph with the nested list or the solution is agreed upon.

+1
On Mon, Dec 6, 2021, 9:18 AM Nathan Shammah @.***>
wrote:

Just a comment: Since this come up again in one demo, as the current graph
being not helpful, and in case deploying the substitute graph may take some
time, I propose to first remove the current visualization, and then add the
graph with the nested list or the solution is agreed upon.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/unitaryfund/metriq-app/issues/347#issuecomment-986983823,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHZDAUZS5P7PYTX2YLSPQLUPTV4TANCNFSM5JCCJ34Q
.
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.

Agreed. I'll remove the force simulation view right now, before the next demo.

This, of all current issues, is particularly important in function for presenting the taxonomy. Let me figure out an implementation.

After adding "seed data," I'm about to open a PR that restricts task and method index views to just top-level items. From the top level, users can click into child tasks and methods, to drill down to more specific topics.
I looked through freely licensed accordion views, for the purpose of displaying an arbitrary depth tree, and I wasn't impressed with the options, for our purpose. We might add a field that can filter all tasks/methods in the index views, but starting at top-level and clicking through to children works better than an accordion. This is being tracked in #411, and we can close a number of related issues at once, for that PR.

+1 to an eventual accordion view and doing top level in the meantime
On Tue, Feb 15, 2022, 2:48 PM Daniel Strano @.***>
wrote:

After adding "seed data," I'm about to open a PR that restricts task and
method index views to just top-level items. From the top level, users
can click into child tasks and methods, to drill down to more specific
topics.
I looked through freely licensed accordion views, for the purpose of
displaying an arbitrary depth tree, and I wasn't impressed with the
options, for our purpose. We might add a field that can filter all
tasks/methods in the index views, but starting at top-level and clicking
through to children works better than an accordion. This is being tracked
in #411 https://github.com/unitaryfund/metriq-app/issues/411, and we
can close a number of related issues at once, for that PR.
—
Reply to this email directly, view it on GitHub
https://github.com/unitaryfund/metriq-app/issues/347#issuecomment-1040724062,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABHZDAVT2TM6NFAGBYKPQX3U3KU2LANCNFSM5JCCJ34Q
.
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.
You are receiving this because you authored the thread.Message ID:
@.***>

There are 2 problems I notice with the accordion views that are freely licensed, based on the fact that most of them use indentation to show hierarchy. Firstly, I don't find the tree structure very clear at a glance based just on indentation of the items. Secondly, at arbitrary indentation depth, the views would become a mess, for overflow and line-wrap.
However, now, I'm about to take the UI we liked from top-level categories presented a couple of Fridays ago, apply that to the (newly hierarchical) task and method index views, and add flat hierarchy text filter "searches" to the top of both index views. I think this is faster and easier than multi-level accordion views. However, we'll review at the weekly meeting, and we'll be eager for your critique.

@willzeng Given the new top level tasks, which let us click through the child hierarchy successively, and considering the addition of the global text filter on the tasks page, do we really need this as well?
In particular, I didn't like how the tree view packages I found on the NPM registry handled multiple levels of nesting. I worried that our hierarchy would tab right too far, after several nesting levels, and it would hurt aesthetics and make the tree harder to understand. I'm also not sure where this proposed view naturally fits, now that the tasks index page has been updated.


Add-On still exit

Hi,
I have tried your Add-On.
But after configuration an start, the Add-On is stopped after a few seconds.

Do you have an Idea, what do I have to do, that the Add-On is not stopped.

Hi @Bjoern3003 !
I have added a debug option in the latest version of the addon (1.5.0). Could you try enabling it and see if the output can be more helpful.
It could be related to the hardware. I only tested the official optolink cable with a raspberry pi 4.

Hi @Alexandre-io
thank you for your fast response. Now the Add-On is running.
The Log is looking like this:

Do I have to send a request to the Addon, to get Informations from my viessmann or does the Add-On create own entities?

Yeah, now I get Informations in my mqtt Broker. Did not know, why its now working. But it is :-)
Does your Addon have an event to send commands to vclient?

Hi @Bjoern3003 , maybe I can help you - just set this add-on up like a week ago. The add-on is basically a docker container running vcontrold and vclient with a template to periodically poll data from your Viessmann device and push it to MQTT.  The interval is configured with the "refresh rate" value in seconds and to get the data into entities you need to set up MQTT Sensors (https://www.home-assistant.io/integrations/sensor.mqtt/).
Example snipped from my config:
mqtt:
  sensor:
    - name: "Vitodens Brennerstarts"
      state_topic: "openv/getBrennerStarts"

    - name: "Vitodens Brenner Betriebsstunden"
      state_topic: "openv/getBrennerStunden1"

    - name: "Vitodens Brenner Status"
      state_topic: "openv/getBrennerStatus"

    - name: "Vitodens Aussentemperatur"
      state_topic: "openv/getTempA"
      unit_of_measurement: "°C"

    - name: "Vitodens Kesseltemperatur Ist"
      state_topic: "openv/getTempKist"
      unit_of_measurement: "°C"

    - name: "Vitodens Kesseltemperatur Soll"
      state_topic: "openv/getTempKsoll"
      unit_of_measurement: "°C"

    - name: "Vitodens Warmwassertemperatur Ist"
      state_topic: "openv/getTempWWist"
      unit_of_measurement: "°C"

    - name: "Vitodens Warmwassertemperatur Soll"
      state_topic: "openv/getTempWWsoll"
      unit_of_measurement: "°C"

Check, reload your configuration and you will see the new entities for the Vitodens sensors.

Hi @Schm1tz1 thank you for your answer.
But mean a send command to set Setting in my Viessmann Heater eg. setNeigungM1

Okay, I have found a answer by myself :-)
I can easy use the mqtt publisher event.
Example to edit the NeigungM1:
service: mqtt.publish data:   topic: openv/setNeigungM1   payload: "1.1"

Hi @Schm1tz1 thank you for your answer.
But mean a send command to set Setting in my Viessmann Heater eg. setNeigungM1
Haven't used that part in detail but it is implemented in https://github.com/Alexandre-io/homeassistant-vcontrol/blob/main/vcontrold/rootfs/etc/services.d/vclient_sub/run
Basically you publish 42 to a topic openv/setFooBar and it will call setFooBar 42 in vclient, that means it work just the other way around as the getters. From what I remember vclient is somewhat sensitive to number formats so one needs to be a bit careful.

Funfact: You are living around 25km far away from me ;-)

Nice! North or south?

Update: Works as intended. Published "openv/setTempWWsoll 51" and the topic "openv/getTempWWsoll" returns the same value during next update.

Funfact: You are living around 25km far away from me ;-)

Nice! North or south?
@Schm1tz1 Next to Neuwied.

Update: Works as intended. Published "openv/setTempWWsoll 51" and the topic "openv/getTempWWsoll" returns the same value during next update. Values are also correctly shown in the Vitodens display.

I have added my solution here: https://github.com/Alexandre-io/homeassistant-vcontrol/issues/7
Maybe it's also interested for you.

Hey there,
i've the same problem :)
RPi Zero W , Debian Bullseye, vcontrold via hassio-addon via Network with vclient

Hi @raph2i, what does your Addon log say?

Hi @raph2i  ! As @Bjoern3003  said, we need the logs of the addon to help you :)
Sometimes vcontrold doesn't detect the USB cable, you have to unplug/plug it.

@Alexandre-io @raph2i another thing that comes to my mind - you are mentioning Debian Bullseye. Does that mean you are running on docker? In that case you might need to set the tty settings and please check with dmesg what device is added once you plug in.

Hey there, sorry for latency...
i've restarted my whole setup twice 2 days ago, and now it works.
Weird...
My setup looks like this:

There are some other issues, which have been fixed already (i'll have to use the new image...)


Crash ~1 in 3 times with libnvidia-glcore.so.455.45.01

Godot version:
Godot Engine v3.2.4.beta3.official
OS/device including version:
Ubuntu 20.10
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
driver:
$ nvidia-settings -q NvidiaDriverVersion
  Attribute 'NvidiaDriverVersion' (ringo:0[gpu:0]): 455.45.01

Issue description:
In Launcher, clicking "Edit" on an existing project sometimes crash (1/3) with following error:
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x41950) [0x7f4b03a09950] (??:0)
[2] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x1149d45) [0x7f4b01169d45] (??:0)
[3] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x114b00c) [0x7f4b0116b00c] (??:0)
[4] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd64fc2) [0x7f4b00d84fc2] (??:0)
[5] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd6523d) [0x7f4b00d8523d] (??:0)
[6] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd67c6c) [0x7f4b00d87c6c] (??:0)
[7] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x270c6ad] (<artificial>:?)
[8] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x270ecc1] (<artificial>:?)
[9] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x10eb064] (<artificial>:?)
[10] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x2ef62d7] (<artificial>:?)
[11] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x97c4ca] (??:?)
[12] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf2) [0x7f4b039f0cb2] (??:0)
[13] /opt/Programming/godot/godot/beta/Godot_v3.2.4-beta3_x11.64() [0x9875be] (??:?)
-- END OF BACKTRACE --

Re-run sometimes crash again. Restart over until the editor starts.
This problem did not happen with previous version of driver 450.66-0ubuntu<IP_ADDRESS>
Steps to reproduce:
Setup nvidia driver 455.45.01
Run Launcher
Click edit button on a project to run the editor.
Minimal reproduction project:
Any project

Could you give us a backtrace made with a debug build?
Most of the backtrace points to nvidia's libs, so there might be yet another driver bug

I can't reproduce this on Fedora 33 with the exact same driver version (NVIDIA 455.45.01) on a GTX 1080.

@Riteo
As requested:
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
OpenGL ES Batching: ON

Editing project: /home/julian/Programming/godot/escoria-reloaded (::home::julian::Programming::godot::escoria-reloaded)
Godot Engine v3.2.4.beta.custom_build.639fdefc1 - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
OpenGL ES Batching: ON
julian@ringo ~/Programming/godot/godot/3.2/bin (3.2) $ handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x41950) [0x7fa0c8a0d950] (??:0)
[2] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x1149d45) [0x7fa0c684bd45] (??:0)
[3] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x114b00c) [0x7fa0c684d00c] (??:0)
[4] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd64fc2) [0x7fa0c6466fc2] (??:0)
[5] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd6523d) [0x7fa0c646723d] (??:0)
[6] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd67c6c) [0x7fa0c6469c6c] (??:0)
[7] RasterizerSceneGLES3::initialize() (/opt/Programming/godot/godot/3.2/drivers/gles3/rasterizer_scene_gles3.cpp:5113)
[8] RasterizerGLES3::initialize() (/opt/Programming/godot/godot/3.2/drivers/gles3/rasterizer_gles3.cpp:193 (discriminator 4))
[9] VisualServerRaster::init() (/opt/Programming/godot/godot/3.2/servers/visual/visual_server_raster.cpp:139)
[10] VisualServerWrapMT::init() (/opt/Programming/godot/godot/3.2/servers/visual/visual_server_wrap_mt.cpp:124)
[11] OS_X11::initialize(OS::VideoMode const&, int, int) (/opt/Programming/godot/godot/3.2/platform/x11/os_x11.cpp:600)
[12] Main::setup2(unsigned long) (/opt/Programming/godot/godot/3.2/main/main.cpp:1270)
[13] Main::setup(char const*, int, char**, bool) (/opt/Programming/godot/godot/3.2/main/main.cpp:1214)
[14] /opt/Programming/godot/godot/3.2/bin/godot.x11.tools.64(main+0xe5) [0x138554b] (/opt/Programming/godot/godot/3.2/platform/x11/godot_x11.cpp:49)
[15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf2) [0x7fa0c89f4cb2] (??:0)
[16] /opt/Programming/godot/godot/3.2/bin/godot.x11.tools.64(_start+0x2e) [0x13853ae] (??:?)
-- END OF BACKTRACE --

Please note that I run Godot with a custom script because I set the PRIME profile of the discrete GPU to be on-demand:
#!/bin/sh

__NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia \
./godot.x11.tools.64

Can you replicate this issue without your script? If no, it'd be nice to update the title in order to be more precise.

Here is the line it is crashing on
https://github.com/godotengine/godot/blob/185520c5b016a34affa1ebe6147a583c9a186e40/drivers/gles3/rasterizer_scene_gles3.cpp#L5113
There is nothing really unique about this, but it is an openGL API call, which shows this is most likely a driver-level bug that we can't do anything about. :(

@clayjohn yeah, noticed the same thing. I don't want to treat it as an unfixable driver-level bug for now, as maybe there's some small thing which can be used as a workaround, but that's improbable.
The call seems to be made in some shadow cube mapping code, so it looks like something common. At a first glance to my inexpert eye there seems nothing wrong, and if other games do the same thing, they should crash too. @StraToN can you replicate a similar crash using this script on other GLES3 game?
The offending code seems to be called if the constant max_shadow_cubemap_sampler_size is more or equal to 32, so I wonder what if it were set to 16, as the condition might skip some more interesting and potentially breaking code.
Even if this bug might really not be fixable, having a precise idea of what happens is important to report the bug to Nvidia(even though they'll probably not listen to us, as they did with the Vulkan/X11 regression, see #41614)
This really reminds me of #41614, where perfectly compliant code randomly breaks in a new driver update, requiring to report the bug to Nvidia, with the potential of being completely ignored, and receiving duplicate issues reports from confused users at times.
Soon I'll probably switch to AMD, since lately Nvidia's drivers are breaking more every update. This is really getting ridicolous.

I tried to run Godot directly without the script and after having set nvidia-setting to "Performance mode" (so that it uses the discrete GPU directly, not the Intel one) and I observed the same behaviour:
julian@ringo /opt/Programming/godot/godot/3.2 (3.2) $ bin/godot.x11.tools.64
Godot Engine v3.2.4.beta.custom_build.639fdefc1 - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
OpenGL ES Batching: ON

Editing project: /home/julian/Programming/godot/escoria-reloaded (::home::julian::Programming::godot::escoria-reloaded)
Godot Engine v3.2.4.beta.custom_build.639fdefc1 - https://godotengine.org
OpenGL ES 3.0 Renderer: GeForce GTX 1050/PCIe/SSE2
OpenGL ES Batching: ON
handle_crash: Program crashed with signal 11
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
julian@ringo /opt/Programming/godot/godot/3.2 (3.2) $ [1] /lib/x86_64-linux-gnu/libc.so.6(+0x41950) [0x7fe1e91fb950] (??:0)
[2] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x1149d45) [0x7fe1e6188d45] (??:0)
[3] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0x114b00c) [0x7fe1e618a00c] (??:0)
[4] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd64fc2) [0x7fe1e5da3fc2] (??:0)
[5] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd6523d) [0x7fe1e5da423d] (??:0)
[6] /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.455.45.01(+0xd67c6c) [0x7fe1e5da6c6c] (??:0)
[7] RasterizerSceneGLES3::initialize() (/opt/Programming/godot/godot/3.2/drivers/gles3/rasterizer_scene_gles3.cpp:5113)
[8] RasterizerGLES3::initialize() (/opt/Programming/godot/godot/3.2/drivers/gles3/rasterizer_gles3.cpp:193 (discriminator 4))
[9] VisualServerRaster::init() (/opt/Programming/godot/godot/3.2/servers/visual/visual_server_raster.cpp:139)
[10] VisualServerWrapMT::init() (/opt/Programming/godot/godot/3.2/servers/visual/visual_server_wrap_mt.cpp:124)
[11] OS_X11::initialize(OS::VideoMode const&, int, int) (/opt/Programming/godot/godot/3.2/platform/x11/os_x11.cpp:600)
[12] Main::setup2(unsigned long) (/opt/Programming/godot/godot/3.2/main/main.cpp:1270)
[13] Main::setup(char const*, int, char**, bool) (/opt/Programming/godot/godot/3.2/main/main.cpp:1214)
[14] /opt/Programming/godot/godot/3.2/bin/godot.x11.tools.64(main+0xe5) [0x138554b] (/opt/Programming/godot/godot/3.2/platform/x11/godot_x11.cpp:49)
[15] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf2) [0x7fe1e91e2cb2] (??:0)
[16] /opt/Programming/godot/godot/3.2/bin/godot.x11.tools.64(_start+0x2e) [0x13853ae] (??:?)
-- END OF BACKTRACE --

This could also be a driver bug specific to this GPU in particular?

@StraToN Can you (or anyone else) still reproduce this bug in Godot 3.4 or any later release (with the latest NVIDIA drivers)?

@Calinou I switched to the binary *.run installer from nvidia, not Ubuntu's package and the problem is gone. Should we close then?

I guess we can close, but if it's still reproducible with the Ubuntu package it would be worth filing a bug report with Ubuntu.


[Runtime] Fix swift_retainCount for deiniting objects and BridgeObject tagged values. Make swift_bridgeObjectRetain/Release bail out early for tagged values.

The Allocations Instrument overrides swift_retain with a function that records the retain count by calling swift_retainCount. Its assert for bits.getIsDeiniting() is incorrect in that case, so remove it.
The recent change to ObjC tagged pointer bits on x86-64 also caused the various bridgeObjectRetain/Release functions to call through to swift_retain for BridgeObject tagged values on Mac. swift_retain ignored those values so there was no functional change, except when Instruments overrode it and passed them to swift_retainCount, which tried to dereference them and crashed. Modify bridgeObjectRetain/Release to bail out early again. Also modify swift_retainCount to ignore those values in case anything else expects retainCount to work on any pointer swift_retain accepts.
rdar://problem/45102538

@swift-ci please test

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 1afd079b78505e14ec100798fd8172e2df5e7603


Enable travis CI for Sushi project

Is this a BUG REPORT or FEATURE REQUEST?:
/kind feature
What happened:
In Hotpot project we enabled travis CI service to build, deploy and test this project. I think Sushi project should also enable this service to test the code automatically.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

NBP version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

Hi @stmcginnis , could you take a look? Thanks!

Doesn't sushi already have this?
https://github.com/opensds/nbp/blob/master/.travis.yml

Yes travis.yml was created, but I don't know why the ci checking doesn't work every time we push a PR : (

Hi @stmcginnis , it seems that the travis CI still not work : (

I think it works now, aha!

@leonwanghui Yes, I noticed that yesterday when my PR triggered the CI:).


[WFLY-15260] Add support for securing the management console with OIDC

https://issues.redhat.com/browse/WFLY-15260
Depends on https://github.com/wildfly/wildfly-core/pull/5509 and https://github.com/hal/console/pull/853
Includes https://github.com/wildfly/wildfly/pull/16768
Note that tests for accessing the management console when secured with OIDC cannot currently be added to the WildFly testsuite. The redirect from HAL to the Keycloak login page is handled by javascript so we can't just use HttpClient to simulate the log in like we do with the existing OIDC tests. We are looking into adding tests to the HAL testsuite instead.

I've rebased this.

/retest

Some of the jobs were hitting strange compilation failures due to the Core upgrade not being picked up for some reason.


TFTDriver = readID() called two too many times

This is what currently exists in TFTv2.cpp
for(i=0;i<3;i++)
{
TFTDriver = readID();
}
Is this intentional?  If so, what is the reason?  I get the correct value the first and third time (0x09341), but for some reason it's read as 0x08141 the second time through this loop.  Why would that be happening?

Refer to https://github.com/Seeed-Studio/TFT_Touch_Shield_V2/commit/8341ed7e50ca8b8cc92e1315e43176ce11b2d4ed


fix to dask.bag frequencies, empty partitions were causing failure

this is a fix to issue #1938

Hi @jspreston !  Thanks for the fix.  Can you also add a test with a tiny example that would have failed before?  See http://dask.pydata.org/en/latest/develop.html#test

Thanks for the test.  Looks like you just need to clean up a flake8 violation and we should be good to go here.

Looks good to me. Thanks @jspreston! Merging.


Extract Chart Object From Doc

I am trying to use python-docx to extract charts in a word doc. I tried to use doc.inline_shapes._inline.graphic.graphicData to identify the type of image and successfully identify charts from inline_shapes objects. However, I am wondering if there is a way to extract and save the charts into excel.
Thanks!

I am trying to use python-docx to extract charts in a word doc. I tried to use doc.inline_shapes._inline.graphic.graphicData to identify the type of image and successfully identify charts from inline_shapes objects. However, I am wondering if there is a way to extract and save the charts into excel. Thanks!

Is there any conclusion later?


Creating Internal Tag with # not generating "hash-" prefix at tag screen.

Issue Summary
When creating internal tag by clicking on "New Tag" button at tag screen, If I input tag name #abc It should generate the slug hash-abc by default. But it is generating the slug abc same as external tag.
But when we add an already non existing internal tag while editing post (from the post setting panel) It works as expected.  If I add non existing tag #xyz from the post setting panel, and check the newly added tag in tag screen. It's slug is perfectly prefixed with hash-. so it is hash-xyz.
To Reproduce

Go to "Tags" screen Click on "New tag" button.
Add any tag name prefixed with # for make it internal tag.
Click outside of the name input box.
Check the auto generated slug is without hash- prefix

Technical details:
Local Installation for development

Ghost Version: 2.31.0
Node Version: 10.16.0
Browser/OS: Chrome/Windows 10
Database: SQLite

👋 Hey @biswajit-saha, thanks for reporting this issue. Can confirm the bug, it got introduced in 2.30.0 with our tags screen refresh. We'll add in a fix for this asap and should be released with next version.


Use virtualenv from the current Python running nox

... rather than just getting virtualenv from PATH.
As @jonparrott mentioned

This would be pretty straightforward, we should just invoke python -m virtualenv

(#44 was originally titled this, but I accidentally repurposed that issue)

Does this actually solve the issue in #44 or should we just do this anyway?

Also - since we specify the interpreter to virtualenv does this even matter?

(FYI it seems tox does this).

since we specify the interpreter to virtualenv does this even matter?

Sort of. Hypothetical:

PATH=/opt/a/bin:/opt/b/bin
nox is installed in only one place /opt/b/bin/nox
virtualenv is installed in two places /opt/a/bin/virtualenv and /opt/b/bin/virtualenv
/opt/a/bin/virtualenv (the one that wins on PATH) is old and broken somehow
/opt/b/bin/virtualenv is new and updated (from the same shiny environment that nox is installed into)

In the current incantation, the broken virtualenv would get used with nox.