Case Study Calculations (WIP)

@michaelweinold @arebe337
I have made some calculations for the case study based on literature found online. Have a look at them and let me know if you think some of my assumptions are ill-considered.
My basic thought process behind the case study is the following:

Identify a city pair with strong air transport demand and potential for HSR (done)
"Verify" route against exisiting/proposed projects (done)
Look at existing HSR projects for average construction and maintenance costs for a Life Cycle Cost estimation. (below)
Estimate current and future demand of air travel route between both cities. (below)
Estimate fuel and CO2 numbers based on aircraft types and calculate associated CO2 cost. (below)
Look at exisiting competing HSR & Air travel routes for numbers on market share between the two travel modes. (below)

3. Look at existing HSR projects for average construction and maintenance costs for a Life Cycle Cost estimation.
Here I found two very interesting papers. One is this this internal report from the Australian Government where they assess funding experiences from other countries and projects for their own. Here they found the following costs of counstruciton per km for different projects:

The UK project stands out since it involved a lot of tunneling, which makes the cost per km a lot higher. If we take an average cost of the other eleven construction projects we got to around 30Mio EUR/km, when we adjust for inflation from 2004 to now we get to around 47.7Mio EUR/km.
From the Life Cycle Assessment of the Chinese Beijing-Shanghai HSR we could take some data from this paper which outlines that over a 100 year life cycle just the construction cost make up around 80% of the total cost of the project, while around 19% are operation and maintenance cost, the other 1% are conception and disposal.
For our example of Lagos to Abuja we would then take the distance from Bastian's model of 546 km and multiply it by the cost per km to give us a total construction cost of:
26'044 Mio EUR = 26 Bn EUR
This estimation of 26 Bn EUR sits right around the costs of the Beijing-Shanghai project of 34.7 Bn (for 1300km) and the LA-San Francisco initial budget of 40Bn (now rising).
I did not multiply by Bastian's cost factor per km of 1.79 since the averaged out price of the other railway projects already include cost variables like terrain in the per km price, which is what Bastian's cost factor is supposed to do. I took this approach since I couldn't get a price for "HSR tracks on flat ground per km" which I could then multiply with Bastian's cost factor.
Taking the percentage estimate over a 100 year life cycle from above we get a total operations & maintenance cost of around 65M per year. ((26Bn / 4)/100)
4. Estimate current and future demand of air travel route between both cities.
Since our friends at ADSBExchange are taking their time answering my E-Mail I took a slightly different approach to estimating the PAX numbers on the flights between Abuja and Lagos.
From Sabre/OAG (this website only links to the OAG site, but they are gatekeeping the file with the actual data) we know that in 2023 the route between Lagos-Abuja had 1'265'267 PAX (PAX*504km=637'694'568 RPK).
From our AeroDataBox API we know that the route Lagos->Abuja has around 15-16 daily flights, and the route Abuja->Lagos also has around 15-16 daily flights. Meaning a total of around 30-32 flights per day on this route.
If we now divide the number of yearly PAX by the number of yearly flights we get:
1'265'267 PAX / 10950 flights = 115 PAX/flight
Now from FlightRadar24 I looked at all the types of aircraft that are flying this route regularly and looked at their capacities to make sure if these numbers could accurately represent the actual flights.
They have the following capacities:
A320 ~150 PAX
B733 ~135 PAX
B737 ~140 PAX
BCS3 ~130 PAX
CRJ9 ~ 90 PAX
E145 ~ 50 PAX
If we assume more or less the same distribution of flights across these aircraft we actually get an average seats available of 115.
So I would say this estimation is in the right ball park, no?
Forecast on PAX based on GDP
We take the data from the IMF which we have until 2028 (actually from an Excel Table but here visually) and if we assume constant growth after that of around 3% we would get the following numbers for PAX scaling. Simply multiplying the growth factor of 3% with every years PAX numbers.

The Nigerian government itself is targeting a growth rate of 7%.
5. Estimate fuel and CO2 numbers based on aircraft types and calculate associated CO2 cost.
Done on paper, transfer onto Github Thursday
6. Look at exisiting competing HSR & Air travel routes for numbers on market share between the two travel modes.
Done on paper, transfer onto Github Thursday

Looks really good to me!
Just one question concerning the data from our AeroDataBox API: Did you take the data from only one month or did you look at it for the whole year?
And what is your approach for the GDP scaling since I wanted to start with it now for the global map?

I averaged across the year for the flights to make it more representative. And for now I have just scaled with the yearly GDP growth rate forecast numbers we have of the map with all the countries until 2029, the next step is then to scale it with a more general number we have for Africa unti 2050, correct?

Exactly, that's the concept. However, what I was getting at is how we can effectively scale the GDP with the flights. We previously discussed the need to address this issue because we understand that GDP correlates with passenger numbers but not necessarily directly with the number of flights.

I averaged across the year for the flights to make it more representative. And for now I have just scaled with the yearly GDP growth rate forecast numbers we have of the map with all the countries until 2029, the next step is then to scale it with a more general number we have for Africa unti 2050, correct?

Exactly, that's the concept. However, what I was getting at is how we can effectively scale the GDP with the flights. We previously discussed the need to address this issue because we understand that GDP correlates with passenger numbers but not necessarily directly with the number of flights.

Ahh I see the confusion, but in this case right here I do have the PAX numbers though, so I just scaled those.

Estimate fuel and CO2 numbers based on aircraft types and calculate associated CO2 cost.
Done on paper, transfer onto Github Thursday https://github.com/sustainableaviation/demandmap/issues/30#issue-2298572973

How are you planning to compute fuel consumption ($\sim CO_2$) for different aircraft at scale? Perhaps it would be best to use the data I calculated with my last master's student. See the column EU (MJ/ASK): https://github.com/sustainableaviation/Aircraft-Performance/blob/main/Databank.xlsx

TBC: Forecast on PAX based on GDP
Done on paper, transfer onto Github Thursday https://github.com/sustainableaviation/demandmap/issues/30#issue-2298572973

Can you show me the equations?

Can you show me the equations?

Added to the initial comment!
Rest I am still working on.

Simply multiplying the growth factor of 3% with every years PAX numbers. https://github.com/sustainableaviation/demandmap/issues/30#issue-2298572973

So you're using a 1:1 correlation?

So you're using a 1:1 correlation?

So sorry, I was a bit too eager there hahaha!
Actually a 2:1 correlation would be the 20-year median as stated by IATA

This is for global traffic? Was the idea from your excellent literature review Excel table not that for developing countries, the correlation is higher?

I think the main takeaway from that literature review was the causality aspect of the GDP/RPK connection, not the actual correlation between the two. So I thought it might be wise to stick to a more broader global perspective.
If we want to zoom in on Nigeria though I can cite this paper from said literature review which states the following on causality again:

The calculations are in the paper itself.
Unfortunately no stipulation on correlation factor is made.

Following up on our catch-up call today:
Data Quality Check on Passenger Numbers

Estimate current and future demand of air travel route between both cities.
https://github.com/sustainableaviation/demandmap/issues/30#issue-2298572973

This seems like a reasonable approach. Although in the original comment above you had not yet used the new API calls to get aircraft types and seats. Ultimately, we want to compare our numbers on pax/year on a specific route to other data sources. That could be FlightRadar24, or Sabre/OAG, etc. data.
Estimate of Carbon Emissions
As discussed, you can use a metric like (average) Energy Usage (EU[MJ/ASK]), but this calculation can be made almost arbitrarily complicated. We could consider higher fuel burn during takeoff/landing cycles, etc. In this case, fuel burn per ASK would be higher on short routes... remember the figure from my lecture?

For our poster, it might indeed make sense to use a simple approximation like (average) EU.
Please try out the ICAO carbon emissions calculator and compare it against EU.

I think for our purposes as you said @michaelweinold a simple calculation will do. With the ICAO model being a bit more sophisticated (and perhaps more up to date) than the figure, that's what I chose going forward.
When calculating with a distance of around 510 km from Abuja to Lagos and an average available seats of 140 as per our matrix (we take seats as PAX since for the actual amount of CO2 it doesnt play a huge difference in their model), if we take the ICAO carbon emissions calculator we get an emission of around 85 kg CO2/Seat/leg or 11'900 kg = 11.9 tons of CO2 per leg.
With an average of 16 daily flights from DNMM-DNAA and another 16 flights we get around 32 daily flights on this route from this API call..
Over one year we then have 32 flights/day*'365 days = 11'680 flights.
Giving us a total carbon emission of 138'992 tons of CO2 for this city pair per year.
If we want to subsidize the running of the HSR network in Abuja which we would estimate at a running cost of 65M EUR per year (as seen in my inital comment in this issue) with solely this air transport route, this would put us at a price of 467 EUR/ton of CO2.
Now it would make a lot more sense to consider all flights from the major city airports in Nigeria for this calculation, so let's say Abuja and Lagos as the biggest airports. We could tax all flights leaving those airports to get an estimate of a lower, more realistic price per ton of CO2. This I can do tomorrow.


Replaced babel presets with preset-env

Replaced deprecated presets with the new preferred preset-env.
Added target browsers (browserlist format) to .babelrc
Updated some related babel packages.
Deleted unused babel packages.
.browserslistrc tweak: added not dead query (browsers from last 2 version query, but with less than 0.5% in global usage statistics and without official support or updates for 24 months.)

slack hook test

Why is the browserslist now duplicated in another location?

@colin-aarts Babel 6 doesn't support an external config (.browserslistrc or package.json) when it comes to browserslist. When we upgrade to Babel 7 in theory we could get rid of the config within the .babelrc` file. However there might be cases where you want the css and js support to be different. For instance javascript is supported from > IE11 but we still want to use the flexbox autoprefixer for IE10. For now we should leave this as is.

@peeke replaced package babel-preset-stage-3 with babel-plugin-transform-object-rest-spread


support fetch requests with globs

0.9.13 frontend code apparently uses this, hence we need to support this

This was implemented in https://github.com/grobian/carbonserver/commit/4efc981d4146d9868f32d5b25a7274309fb49fff


Sketch Plugin

Hey,
I think a Sketch (by Bohemian Coding) plugin would be awesome for this web tool.
I'd be willing to do this for you guys and in fact, will start doing so soon.
Let me know if you have any recommendations on how to go about doing it.
Cheers

I found an alternate solution so this idea seems redundant now:
https://github.com/soulchild/sketch-logo-fetcher


Revert "[NFC] Bump MLIR commit hash for ROCm 5.5 features"

Reverts ROCmSoftwarePlatform/MIOpen#1886

@atamazov This caused a regression from Pytorch side. Then I discovered the breakage is due to Pytorch environment prematurely manipulated their $PATH environment variable to conda dependencies. This caused MLIR to compile with the wrong dependency in their docker and break MIOpen build.

@atamazov Just in case you are interested, the full details are here: https://github.com/pytorch/builder/issues/1233


I cannot get Receiver Mode to work for raspberry Pi 4

Hi,
I managed to get a raspberry pi 4 to transmit messages, but when set to receiver mode, it cannot receive the messages sent from the Arduino. Everything is on the same frequency.
If you could help, that would be great! Thank you.
`
import time
from pyLoraRFM9x import LoRa, ModemConfig
import zlib
import sys
def on_recv(self, message):
print("From:", self.header_from)
print("Received:", self.message)
print("RSSI: {}; SNR: {}".format(self.rssi, self.snr))
print(message)
lora = LoRa(1, 5, 255, reset_pin=25, freq=868, acks=False, receive_all=True)
lora.on_recv = on_recv
lora.set_mode_rx()
while 1:
lora.on_recv
`

You don't invoke lora.on_recv directly -- it gets called via an interrupt call-back. The "while" at the bottom should be more like:
while True:
time.sleep(0.5)

I have exactly the same issue where the pi can transmit but not receive. Using @oldhaapi 's suggestion didn't work. Grateful if anyone offers help. My rpi is the rpi 3 model b with Raspberry Pi OS Bullseye.

Sam-Markey's code above does not have a modem_config parameter in the LoRa() init code, but mine does:
def radio_init(self):
self.rfm9x_detected = False
    already_found = devlocConfig['Intrinsics'].get('Sensor_gw', None)
    if already_found is not None and not already_found:
        return self.rfm9x_detected

    try:
        self.rfm9x = LoRa(
            self.lorapins['spi'],
            0,
            self.lorapins['intr'],
            0,
            reset_pin=self.lorapins['reset'],
            modem_config=ModemConfig.Bw125Cr45Sf128,
            tx_power=self.tx_power,
            acks=False)
        self.rfm9x.on_recv = self.on_recv
        self.rfm9x.set_mode_rx()
        self.rfm9x_detected = True
    except (AssertionError, RuntimeError) as error:
        syslog.syslog(syslog.LOG_ERR, "Init - No rfm9x detected or incompatible version: {}".format(error))
    except Exception as e:
        syslog.syslog(syslog.LOG_ERR, f"LORA init error: {e}")
    return self.rfm9x_detected

I've tried experimenting with all the modem configs without success.

What's your on_recv() method doing? It is an interrupt call-back, so you can't make a blocking call from it, including print(). Mine puts the packet payload on a Queue and notifies a Condition.

It did have the prints in it just like in the example code. I then removed the prints and made it set a global boolean variable which is then read in the main thread.
Here is my code if this helps:
from pyLoraRFM9x import LoRa, ModemConfig
from time import sleep

MODE='rx'
success=False
# This is our callback function that runs when a message is received
def on_recv(payload):
    #print("From:", payload.header_from)
    #print("Received:", payload.message)
    #print("RSSI: {}; SNR: {}".format(payload.rssi, payload.snr))
    #open("success.txt", 'w').close()
    global success
    success = True

# Use chip select 1. GPIO pin 5 will be used for interrupts and set reset pin to 25
# The address of this device will be set to 255
lora = LoRa(1, 5, 255, freq=868, reset_pin=25, receive_all=True, acks=False)
print("Init done")
lora.on_recv = on_recv
if MODE == 'rx':
    lora.set_mode_rx()
    try:
        while True:
            if success:
                print("Receive success")
            sleep(0.5)
    except KeyboardInterrupt:
        pass
else:
    lora.set_mode_tx()

    # Send a message to a recipient device with address 10
    # Retry sending the message twice if we don't get an  acknowledgment from the recipient
    try:
        while True:
            print("Sending")
            message = "This is a test message"
            status = lora.send_to_wait(message, 10, retries=2)
            sleep(2)
    except KeyboardInterrupt:
        pass

print("Closing...")
lora.close()

Something looks a little weird with your code. You set the fourth argument of the LoRa constructor (i.e. reset pin) to 0 but then set it again using the keyword argument reset_pin to 26.

I may have mis-transcribed. My point was that the pins differ between the
wiringpi model and bcm model.
On Wed, Nov 16, 2022, 10:04 AM p9malino26 @.***> wrote:

Something looks a little weird with your code. You set the fourth argument
of the LoRa constructor (i.e. reset pin) to 0 but then set it again using
the keyword argument reset_pin to 26.
—
Reply to this email directly, view it on GitHub
https://github.com/epeters13/pyLoraRFM9x/issues/4#issuecomment-1317257522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABLMGF65O6OJPRETLLVS4RTWIUAXZANCNFSM5JBJTATA
.
You are receiving this because you were mentioned.Message ID:
@.***>

So, it turns out that when I transmit with my other RPi w/ this library instead of transmitting w/ my ESP32, the other pi receives successfully! This means the ESP32 library transmitted in a format that this library didn't understand. I've rewritten the ESP32 library so that its steps for txing exactly match this library and now it all works perfectly. @Sam-Markey 's Arduino definitely has the same issue. I will open source my Arduino/ESP32 library once it's polished.


Translation no longer working - Slack UI Change

Slack updated their UI this week and the "view translation" link is no longer appearing - CSS selector most likely was removed.

Submitted a PR to fix: https://github.com/limhenry/slack-translate-extension/pull/2

Is there a due date for this fix?


[Validation.Callback.Vcs] Deployment warning in Octopus

The warning we get is: The script file "content\Deploy.ps1" contained within the package will not be executed because it is contained within a child folder. As of Octopus Deploy 2.4, scripts in sub folders will not be executed.
Although the service is deployed correctly.
The root cause is that deploy.ps1 is placed in to places during packaging:

root folder
content/deploy.ps1

I'm pretty sure that the fix for this is to pack the nuspec files directly instead of the csproj files.

The easiest fix would be not to reference the file from .csproj

Actually, adding Deploy.ps1 using None node instead of Content should keep it in the project (and thus available in VS), but should prevent nuget.exe from copying it to the content sub-directory inside .nupkg.


Multidomain support

UseCase:
I have 1 server with gitea, 2 isolated private domains (in different local nets) and one public domain. I'd like to expose gitea to all three domains correctly with correct links in web ui.
As a frontend server nginx is used.
With versions up to current master (Oct 26 2019) i cannot do it without nginx sub module but replacing strings in http response is dangerous thing as you know.
I'd like to see some simple setting in app.ini where i can put full list of domains to expose gitea to. Or if it is possible not to explicitly set domain name, to be able to expose gitea to any domain request comes to.

Ideally, we would get rid of domain name configuration entirely. All links exposed in the UI could be made relative paths and in case a full URL is needed, it can be obtained the Host header in the backend or location.hostname in JS.
Maybe have a config option for root directory in case someone wants to run gitea under a subdirectory (thought, such cases can and usually should be solved via URL rewrite in nginx).

So we definitely can't get rid of domain entirely as Git lfs requires a domain. It has to give back the full URLs over SSH and http.
URL rewriting can be a little bit temperamental I think there can be problems with JS Ajax requests but I guess those just have to be changed to use something that could be rewritten.

Well, i do not use git LFS, and in this case multi-domain should not be an issue.
At least there can be choice: either you live with git-lfs and without multidomain or whithout git-lfs and with multidomain.
I think this choice is fair - not every user/admin of gitea requre git-lfs.
So, can we implement this choice as feature?

Git lfs requires a domain. It has to give back the full URLs over SSH and http.

Would be no issue for HTTP, but SSH seems to have no concept of a Host header, a shame really.

Possible duplicate of this: https://github.com/go-gitea/gitea/issues/6397
I found both of these threads while googling this issue today. I'm actually the original poster of the one I linked above in which I described the progress that I had had when I played with it last and the answer I got.
I would love it if there was progress on this... I just noticed that the internal URL wasn't the one I was connecting from (via my nginx reverse proxy). My alternative would be to rather needlessly set up multiple Gitea VMs which is orders of magnitude heavier than the ROOT_URL syntax working and having a few extra text characters in config plus whatever lines of code make it work.

So I think there's a way of doing this using values that are put in the request context but it's not ideal.
The idea would be to give different root URLs to different originating listeners or IPs. We would probably have to sort out the clear context handler and we would have expose the context throughout the request - but it could work although fiddly.
It would be a lot of work to even check if this is feasible though.

I have no knowledge of coding Go, but I've got a VM server, multiple domains that I can play with, and experience with Nginx reverse proxy. I'd be happy to set up a dedicated Gitea instance for testing.

Related to

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

After https://github.com/go-gitea/gitea/issues/19345 , the "Multidomain support" is about 50%-70%.

A correct main domain (ROOT_URL) is still necessary, because Gitea sends mails/notifications with no knowledge of "current domain"
There are still incorrect usages of AppURL(ROOT_URL) in code, which should be cleaned one by one in the future.

Also

The messages that are output during SSH git push require a "main domain" as well because the SSH protocol does not communicate which Host was used to connect.

Also
* The messages that are output during SSH git push require a "main domain" as well because the SSH protocol does not communicate which `Host` was used to connect.

Yes, especially there are some TCP reverse proxies for SSH.


Interface for function summaries/data flow analysis

We should design an interface that can connect a possible data flow analysis with WP.
Some suggestions/notes:

a config file that maps a function to a summary
different summary descriptions: nop, chaos, memory information/pointers
use sexp_of_map to read the map from the config file into WP

Generally I'd expect this to be implemented in the same way as the VSA, that is using http://binaryanalysisplatform.github.io/bap/api/odoc/bap/Bap/Std/Value/index.html, to register a module, with a field in the Project.storage data structure, of type Dict.t.
Main differences:

The information transmitted will be a map from TIDs to elements of the abstract domain (did we ever figure out whether these are unique when comparing binaries?)
The abstract domain is a set of variables (registers/virtual registers). Being a member of that set means "definitely a pointer to the heap" and otherwise means "can be anything, including a pointer to the heap".

Though this is not really addressing this ticket, some implementation details:

I'll be using the fixpoint method from here: http://binaryanalysisplatform.github.io/bap/api/odoc/graphlib/Graphlib/Std/Graphlib/index.html Seems pretty straightforward.
I'll need to build a whole-program CFG first though, which for some reason isn't available. I'm also thinking of having a finer-grained graph with a node per instruction, since we both want abstract state at the beginning of a block and also at the end, if there's a call.
I suspect we'll eventually need an abstract state for memory accesses. This sadly means there will be aliasing issues, which might be already handled by some other pass, but otherwise needs some gnarly heuristics (or a good ol' VSA). An unsound but easy heuristic is: distinct expressions represent different regions of memory, within a function boundary. IDK I'll have to ask Ivan.

Thoughts and suggestions are welcome.


Please add project subfolder and rename project name when create a new project from a template

when we create a new project from a template, we holp can putting the project into a subfolder (Project blinky is added as project subfolder/blinky2), the  project subfolder can be brow by user and the project folder(blinky) can be rename blink2 also, thanks!

Try it with last version

Try it with last version

Try it the last version 1.0.22, This feature is not yet supported

In v1.0.23 the sample projects are properly renamed.
i.e blinky -> blinky5
If you want to save to a subdirectory you can just put that as a prefix.
i.e blinky -> test/blinky5
You can not browse to a subdirectory with the open dialog. I could not think of a way to browse to a subdirectory without making it inconvenient for users who did not need to use the open dialog.
If you have any suggestions let me know.


Add build and run instructions to README

I'm probably going to reference this repo in the Trusted Types related PRs for external projects. It'll be good to have at least short instructions for build and run here.

@koto for visibility


MS.AAD.5.4v1 setting discontinued by Microsoft

🐛 Summary
What's wrong? Please be specific.
MS.AAD.5.4v1 notes Group owners SHALL NOT be allowed to consent to applications. An FCEB agency during a technical exchange meeting has noted that this option is no longer supported in the admin center and thus the policy needs to be updated to reflect the change.
This includes removal of the current policy and checks and investigation into the new "Team owner consent settings"
To reproduce
Steps to reproduce the behavior:

Run Scubagear and receive a "FAIL" for MS.AAD.5.4v1
Return to the admin center and view the notice that "Group owener consent settings have been removed and replaced with team owner consent settings". Screenshot attached below

Expected behavior
What did you expect to happen that didn't?
PASS / FAIL test results based upon the previously set setting.

@rmoffitt-m has a new issue been opened to remove policy MS.AAD.5.4v1?


Int enhancement method /% does not work

I would expect /% to work on Int, but it doesn't. If this is not meant to work in the first place, feel free to close this issue.
There should be syntax tests for stuff like this, since it is quite easy to break things with ambiguous implicits.
scala> import spire.implicits._
scala> 3 /% 2
<console>:14: error: type mismatch;
 found   : Int(3)
 required: ?{def /%(x$1: ? >: Int(2)): ?}
Note that implicit conversions are not applicable because they are ambiguous:
 both method literalIntEuclideanRingOps in trait EuclideanRingSyntax of type (lhs: Int)spire.syntax.LiteralIntEuclideanRingOps
 and method literalIntOps in trait IntSyntax of type (n: Int)spire.syntax.std.LiteralIntOps
 are possible conversion functions from Int(3) to ?{def /%(x$1: ? >: Int(2)): ?}
       3 /% 2
       ^
<console>:14: error: value /% is not a member of Int
       3 /% 2
         ^

The literalInt convenience syntax gives ambiguous implicits in many cases --- I had problems when creating a MatrixRing[Mat[Int], Int] typeclass.
Why not create a branch with failing tests, where this case and others could be added, before discussing about possible solutions?


External downloads are not marked as external downloads

Observed/problematic behavior
With all this fancy jar scanning stuff I hear about - right now it has a fatal flaw, it doesn't indicate to end users that the download is NOT scanned with external downloads. I saw this with Geyser, where they're linking their CI because Hangar has jar size limit of 10MB, while I know good and well Geyser is a FATTTTT jar
Expected behavior
Maybe a warning like Spigot where it shows the download but you can easily tell at a simple glance it's external. No need to have a scary popup but just add some text or something, like our good friend Spigot
Steps to reproduce
Download Geyser Velocity which is 13MB. It links you to Geyser's CI artifacts - I thought this was a native download because I was directly linked to the geyser velocity jar - but it is not. It's from Jenkins. OLD MAN JENKINS!!
Other
Screenshot:

The exclamation mark next to the button is currently used for both unreviewed and external links (but showing only the "unreviewed" text if it is unreviewed), I think making those separate should solve this

Yeah I didn't even read the exclamation mark because it didn't look relevant/important

https://github.com/HangarMC/Hangar/issues/1118


Revert test changes

Details
Reverts the following dummy PRs:

https://github.com/Expensify/Expensify.cash/pull/3303
https://github.com/Expensify/Expensify.cash/pull/3304
https://github.com/Expensify/Expensify.cash/pull/3307
https://github.com/Expensify/Expensify.cash/pull/3315
https://github.com/Expensify/Expensify.cash/pull/3319
https://github.com/Expensify/Expensify.cash/pull/3324
https://github.com/Expensify/Expensify.cash/pull/3328
https://github.com/Expensify/Expensify.cash/pull/3331
https://github.com/Expensify/Expensify.cash/pull/3336

Fixed Issues
See https://github.com/Expensify/Expensify/issues/155229#issuecomment-853515530 for more context
Tests / QA Steps

Run the app
Make sure you don't see any incorrect or otherwise wonky colors
Go to Settings -> About and verify that you do not see the Dummy change! text.

Actually going to merge this before E2E finishes so that I can make sure staging isn't going to be broken. If I wait and another random PR is merged then all those crazy changes could get deployed, and that would be nbd but still disruptive for people.

: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 in version: 1.0.61-8🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production in version: 1.0.62-0🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Primary spellcasting is not set on characters when adding or changing a class

make character actor
set their wisdom to 20.
add a spell with a melee spell attack (see that it has an attack bonus of +1, which is expected)
add cleric class from SRD
look at spells tab (see that spell still has only attack bonus of +2 due to PB, wisdom is ignored).

Whether a bug or not, it would be nice if an actor has only a single spellcasting attribute (or a single class) that their primary one is set to that.

strangely enough it seems to work if the class has Intelligence as primary spellcasting...


⚠ Samsung has degraded performance

In 05f295d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2569 ms

Resolved: Samsung performance has improved in 1f85e9a.


How to make dependable sharepoint rest get call using $batch api

I am finding a way to make dependable batch rest call if possible, as I need to make multiple sync sharepoint rest get call based on outcome of first rest call and subsequent call.
It's like cascade rest call.
Is there any way or demo example which describes usage of this feature using sharepoint batch api it Will be very helpful.
Thanks in advance
Category

[x] Question

As I shared in another one of your issues, more details on the docs for batching here: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/make-batch-requests-with-the-rest-apis
If your question is about taking the results from one request in a batch and using them in another, that currently isn't supported.

@andrewconnell  Thanks for answering. Yes, My question is about taking the results from one request in a batch parse result and using them in another.


site support request for americastestkitchen.com

[x] I've verified and I assure that I'm running youtube-dl 2016.09.24

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably [FAQ]
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[] Other

If the purpose of this issue is a  site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v https://www.americastestkitchen.com/episode/115-beef-stew
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-v', 'https://www.americastestkitchen.com/episode/115-beef-stew']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.09.24
[debug] Python version 3.4.4 - Windows-10-10.0.10586
[debug] exe versions: none
[debug] Proxy map: {}
[generic] 115-beef-stew: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 115-beef-stew: Downloading webpage
[generic] 115-beef-stew: Extracting information
ERROR: Unsupported URL: https://www.americastestkitchen.com/episode/115-beef-stew
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\extractor\common.py", line 355, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpc7h_sle1\build\youtube_dl\extractor\generic.py", line 2424, in _real_extract
youtube_dl.utils.UnsupportedError: Unsupported URL: https://www.americastestkitchen.com/episode/115-beef-stew

<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included

Single video: https://www.americastestkitchen.com/episode/511-revolutionizing-classic-fruit-desserts
Single video: https://www.americastestkitchen.com/episode/110-tomato-sauces-for-pasta
Playlists :

All https://www.americastestkitchen.com/episodes/browse
Season wise
https://www.americastestkitchen.com/episodes/16
.
.
.
https://www.americastestkitchen.com/episodes/1
Description of your issue, suggested solution and other information
Video plays directly in the browser
no account needed
No Geo-restriction applied
Subtitles available..please check if they can be retrieved as well
please comment If you need any more clarification
your help is greatly appreciated
thank you very much

So I have been looking at this recently & noticed that the sister site cookscountry.com works just fine. In short it appears that as the general extractor tries to parse the site, there is some malformed xml in there. I printed out the xml that is failing to be parsed & tried to parse it with https://www.freeformatter.com/xml-formatter.html. I get
Element type "path" must be followed by either attribute specifications ">" or "/>".
Which to me doesn't give really any good information other than the xml is malformed.
I'll take a further look to see if I can figure out what is malformed on the episode pages when I have some free time.

Ok, so I have relinquished the possibility that this could be handled by the generic extractor like it's sister site.
After working to implement an extractor I have seem to run into a few issues, but the ATK website seems have the same setup as #9200.
For example  https://www.americastestkitchen.com/episode/548-summer-dinner-party  can be downloaded by doing youtube-dl -v "kaltura:1445801:1_5g5zua6e".
Sadly I tried to download a video from the page referenced in the other extractor & got an error. Sadly it is the same error I ran into when writing my extractor. However progress does seem to be being made.


fix(i18n): fixed typo of remission text

Fixes #2465 .
Changes proposed in this pull request:

fixed typo of "remission"

Attached screenshot

Hi @Mani-07, thank you for your submission! Please sign our CLA before we can accept your contribution.

@tehKapa  - I have signed in CLA. Could you approve m PR?

@tehKapa - I have signed in CLA. Can you Please approve my PR?

@Mani-07 Could you rebase your commit? This isn't a feature but a fix.


Remove trailing full stop from log lines

Describe desired feature
This is pretty opinionated, but I think log lines should not end in full stop
Use case for feature
Being able to copy info from the terminal without carrying over the full stop. Right now, if you try to copy data from the terminal by double-clicking on it to select it (such as node ids, hashes, ...) the full stop will be carried over. Here are some examples:
> 2023-10-10T15:50:09.139Z INFO [sim_cli] Connected to alice - Node ID: 02c7e2f01ea946252b29a2e24629d67df3740f3db448ec42a1bccb52e2b7482b2a.

02c7e2f01ea946252b29a2e24629d67df3740f3db448ec42a1bccb52e2b7482b2a.

> 2023-10-10T15:50:15.195Z DEBUG [sim_lib] Tracking payment outcome for: 6fd79189307a9db7e685c0ffcd909d46a5a25f2cb736753080e7092d856ab47a.

6fd79189307a9db7e685c0ffcd909d46a5a25f2cb736753080e7092d856ab47a.

Would you like to contribute code for this feature?
Sure, if we reach consensus about it

I will love to contribute to resolve this.

I will love to contribute to resolve this.

I'm fine with doing one full sweep to update this, it is an aesthetic change that's going to cause a ton of rebase conflicts. We've got some big PRs in flight at the moment, so:

Feel free to open, but expect to rebase a lot yourself because they'll take merge precedence
Hold off till a quieter time (I'll try remember to ping on the issue when I think the moment is right)

Alright! thank you @carlaKC for your feedback, I'll wait much later time for this.
Let me hunt for another issue to resolve, I just want to contribute.


reference preset-env instead of latest

Has the same behavior as latest without options so might as well if we are going to recommend later.

^ https://github.com/babel/babel.github.io/pull/1081#discussion_r92255971 I just changed the link to be the repo so we could

Sorry, I didn't see you changed it in 55d23c706de5cd4331e9425274d4327855df707c. LGTM if you want to merge.


sun.security.validator.ValidatorException: PKIX path building failed

java.lang.RuntimeException: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我也是这个问题

This problem is caused by the Java environment without HTTPS website certificate, but I don't know how to solve it. I have tried many online solutions but still can't solve it

java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

######最简单的办法#######
我分享个我的cacerts文件给大家吧
https://wwym.lanzoum.com/iM6ZU0pjc1eh
下载解压，然后替换
路劲为：
Windows
Your Path/jdk1.8.0_91\jre\lib\security
Linux
Your Path/jdk1.8.0_45/jre/lib/security

#######（中文）最简单的办法##### 我分享个我的cacerts文件给大家吧 https://wwym.lanzoum.com/iM6ZU0pjc1eh 下载解压，然后替换 路劲为：
Windows Your Path/jdk1.8.0_91\jre\lib\security Linux Your Path/jdk1.8.0_45/jre/lib/security
####（英语）小菜一碟##### 我在这里分享我的 cacerts 文件 https://wwym.lanzoum.com/iM6ZU0pjc1eh 请解压缩文件并替换为您的文件 对于窗口 您的路径/jdk1.8.0_91\jre\lib\security 对于 linux 您的路径/jdk1.8.0_45/jre/lib/security

为什么我替换了这个文件也不行，1.8和11都试了我想不明白

I ran into this today, machine used has not been used for a week and a half. Program worked prior, now today I am getting this.
Not sure if capacity related (It's at capacity as of writing). Happy to provide more info, just not sure what's changed in the past week or two. (On the side of ChatGPT/this library)

i sovle this problem by update jdk1.8.0_65 to jdk1.8.0_151 .
https://www.oracle.com/java/technologies/javase/javase8-archive-downloads.html#license-lightbox


Allow named match metrics

A request came in to support named matches as metrics in addition to metadata. Here it is. Test has example input, which will get turned into something like:
 "name": "kentik.snmp.Exhaust",
        "type": "gauge",
        "value": 31,

For the sake of documenting the syntax, this is using regex capture groups and the profile would be something like?
symbol:
name: abc
oid: 1.2.3.
conversion: "regexp::.Intake.?(?P\d+) .Exhaust.?(?P\d+)"

It would be like this:
symbol:
  name: abc
  oid: 1.2.3.
  conversion: "regexp:.*Intake.*?(?P<Intake>\\d+) .*Exhaust.*?(?P<Exhaust>\\d+)"

Just like yours but there's a double \\ for all of backslashes.


Update provision watcher cannot correctly identify duplicate IDs

🐞 Bug Report
Affected Services
the issue is located in: core-metadata
Is this a regression?
no
The provision watcher update code will never check for duplicate IDs. The code that checks for duplicate IDs is inside the error guard, which in most implementations of the interface would be expected to not return an ID.

Superseded by #2411.


SvelteKit docs......getting started

I followed the instructions  but got "Error: Cannot find module 'tailwindcss'"
Subsequently found this Github fix and it worked ok
Thank you for the fix
Can you advise the Project to change the docs?

I saw you said you were successful on the Discord server, nice!


Drop-downs/Multi-select polishing

1st Make drop-downs consistent using the v-select

[ ] Resolve all the drop-downs issues in dashboard repo (label area/drop-downs)
[ ] Size of the option is bound by the trigger we should make sure you can see all dropdown options
[ ] Add a tool tip prop to the component.
[ ] Create Ingress => Rules=> Target service doesn't show typed in search ⇒ drop-downs
[ ] Actions should use drop-downs so it will work with keyboard

Add the new v-select drop-down to the button dropdown after we are done making the v-select consistent
Additional changes:

[ ] Vince/Tani to go through the drop-downs / multi-selects to put together a consolidated issue for all changes

There's a notable zindex issues in the Ingress page reported here https://github.com/rancher/dashboard/issues/1755#issuecomment-720764528

Also while you are there can you fix: the drop-downs for Path as well, or work with Lauren to make sure component is correct? They are opaque and I can't select anything from the first drop-down if there is a second one.
Path (Prefix)

FIxed


Add config to deactivate DP bootstrap

In test cases you sometimes have the DP as dependency but d not want to bootstrap the platform to create faster tests. A config should be added for this.

see https://github.com/canoo/dolphin-platform/pull/391

merged


Custom styles added to application.css for db export tool

👍
https://github.com/govau/cga-docs/blob/master/requirements.txt#L1 will need to be updated to point to this git repository rather than the published pip package


feat: added evaluation interval to environment loop

What?
Update mava evaluation run and fixed intervals and for a given number of episodes at a time
Why?
This will allow for better evaluation in general and for comparing to results of other repos and paper more fairly.
How?
Include an evaluation_interval parameter to the executor which can trigger the evaluation loop to run after a set amount of executor steps or episodes have been completed.
Extra
closes #708

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


New unr flow

@sriyerg
so I made a mockup for the xcelium UNR flow,
this will break the VCS flow - I am not what the best way to get both in at the same time.
Maybe you can take what I have here and model it into something you would like?
the flow is basically

create a merged cover db with dvsim --cov.
2 run dvsim --cov-unr

which will trigger unr run on the dvbase

and then run IMC to merge the results into the original cov db

open a GUI for manual expectation of the UNR's and so the user can create a waiver

we probably also want to set the clock in the hjson and export it if to be imported in the unr.cfg
unless all clocks are named rst_ni
Let me know what you think

@sriyerg did you get a chance to test this?

@sriyerg it would be good to have your comments on this as more people will need this flow!

@sriyerg I am still missing your feed back on this!

@weicaiyang @rswarbrick
it seems that @sriyerg is blocked by other work.
any chance one of you guys could give me some feedback on how to get this into DV sim?

@rasmus-madsen do you have a chance to continue with this unr flow?

@rswarbrick I think your suggestions are good, would you be ok with me merging this.
and then adding your suggested updates a bit later.
I have some other things to get done before I get time to work on this.
but I would like to get this in so we at least have a working flow!


Update links from northstar.dosomething.org to profile.dosomething.org

In prod, users should see 'profile.dosomething.org' and not 'northstar.dosomething.org' Please

 As an admin, I want to update all links to point to profile.dosomething.org so users won't be confused and see northstar.dosomething.org


clean up branches

delete branches that are not used anymore

@petravanhoudt I have deleted a few branches.
There are some more that can probably be deleted but I think they are yours so have left them for now.
@sudarshanragu @JonathanArvidsson Is it safe to remove LeakageCorrection_test and SR_BNI_CodeContribution branches?

As in not safe to delete? :)

Sorry - as in they are not mine. I think so, but Sudarshan would know.
Jonathan
On Tue, 30 Aug 2022 at 11:15, mjt320 @.***> wrote:

As in not safe to delete? :)
—
Reply to this email directly, view it on GitHub
https://github.com/OSIPI/DCE-DSC-MRI_CodeCollection/issues/87#issuecomment-1231392608,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMI76TEMQ2LNEXIKU6BSRLV3XGKTANCNFSM5WY6VC2A
.
You are receiving this because you were mentioned.Message ID:
@.***>

I've also deleted two other branches. The demo branch is from @notZaki and might still contain useful data?
@sudarshanragu might have added some test files about leakage correction in the leakage correction branch?

I think demo branch should be ok to delete 👍

@petravanhoudt @mjt320 the LeakageCorrection_test branch does not contain anything at the moment and can be deleted - unfortunately I have not been able to add tests for leakage correction yet.  The SR_BNI_CodeContribution also can be deleted (if it already hasn't) as the changes have been pulled into develop.


passing video id/url as a parameter to the comment-viewer

To be able to open the comment-viewer with a given youtube video directly this would be useful.
For example if I want to have a script that takes a youtube URL as a parameter and it would open the URL in a video player for example mpv and then also open the  comments of that youtube video separately in comment-viewer.

Implemented. You can supply video IDs with the v= parameter. Thanks for the suggestion!
Note that the user still has to manually click "Load all comments" once the page is loaded. I'm hesitant to let the comments start fetching right from page load, since that would make it really easy for someone to write a script & flood the site with 10,000 video requests.

Thanks for the fast implementation!

Would it be possible to allow for direct links to youtube comments in the url as well (that do load since it's just one comment maybe)? I'm mostly interested for archival reasons, since the internet archive refuses to save comments on videos even when saving a direct link to the comment.

@RingtailRaider you can already input direct links to comments, since the v=  value gets parsed just like any text entered into the input box. The hard part is first encoding the comment link as a URL. For example, here's a link to a youtube comment:
https://www.youtube.com/watch?v=ZYATta5yGtQ&lc=UgyNAzDxQduawT2Bp2B4AaABAg

Once encoded (using a tool like https://meyerweb.com/eric/tools/dencoder/), this would be the resulting link to commentviewer:
https://commentviewer.com/?v=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZYATta5yGtQ%26lc%3DUgyNAzDxQduawT2Bp2B4AaABAg

To make it simpler, you can submit only the comment ID part -- the code looks for "lc=" to spot linked comments.
https://commentviewer.com/?v=lc%3DUgyNAzDxQduawT2Bp2B4AaABAg

That being said, I tried saving this link ^ in the wayback machine and it doesn't seem to wait long enough for the video/comment to load. 😞  Probably because of the structure of the app (the page first loads empty, and then sends the ID query).


Install ios-webkit-debug-proxy using scoop extras

Hi, when I try to install ios-webkit-debug-proxy I'm getting this error
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

PS C:\Users\Ricardo> scoop install ios-webkit-debug-proxy
Installing 'ios-webkit-debug-proxy' (1.8).
Linking ~\scoop\apps\ios-webkit-debug-proxy\current => ~\scoop\apps\ios-webkit-debug-proxy\1.8
Creating shim for 'ios_webkit_debug_proxy'.
Can't shim 'ios_webkit_debug_proxy.exe': File doesn't exist.
PS C:\Users\Ricardo>

I followed the instructions
scoop bucket add extras
scoop install ios-webkit-debug-proxy

The first command worked okay.
After running scoop install ios-webkit-debug-proxy I noticed that the folders 1.8 and current inside scoop\apps\ios-webkit-debug-proxy are empty.
Can anyone help me with this installation?
Thanks in advance.

Are you using 32bit Windows?
This error occurs if I try to install it like this scoop install -a 32bit ios-webkit-debug-proxy
It's declared as 64bit only ios-webkit-debug-proxy.json

Thank you so much for the hint @r15ch13
I was running an instance of Powershell based on x86

Running on a x64 instance it all went smoothly

Problem fixed.
Do you want me to leave it open to remind you to add the message?

Yes, leave it open. Will close it with a commit. 😁

Fixed with https://github.com/lukesampson/scoop/commit/a9c2d4c48625b1c24961cc232d6e1d1f653f467a


Implementation of decoder for compressed RISC-V instructions

Please set up your name to GitHub account and set up e-mail to your Git client (see https://github.com/MIPT-ILab/mipt-mips/wiki/Git-&-GitHub-cheat-sheet#git-config)

Please set up your name to GitHub account and set up e-mail to your Git client (see https://github.com/MIPT-ILab/mipt-mips/wiki/Git-&-GitHub-cheat-sheet#git-config)

Please do not merge other branches. They are not intended to be merged at the moment.


SendMessage import error

SendMessage lamda function is throwing exception if I send this message:
{"message":"sendMessage", "data":"hello world"}

I deployed it directly using serverless repo and haven't changed a single line of code.
Cloudwatch logs:

Complete logs:
START RequestId: 041b19b4-8d3f-4247-8d4c-16ba493b7b0f Version: $LATEST
Unable to import module 'app': Error
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/var/task/node_modules/aws-sdk/clients/apigatewaymanagementapi.js:1:63)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
END RequestId: 041b19b4-8d3f-4247-8d4c-16ba493b7b0f
REPORT RequestId: 041b19b4-8d3f-4247-8d4c-16ba493b7b0f	Duration: 1.85 ms	Billed Duration: 100 ms 	Memory Size: 256 MB	Max Memory Used: 84 MB

This error is related to require('aws-sdk/clients/apigatewaymanagementapi');
"aws-sdk": "^2.404.0" is already present in dependencies so I don't know why this is happening.

Here is what I did to fix this issue:

Go to Lambda console and export this serverlessrepo-simple-websocke-SendMessageFunction-xxxx function as a deployment package

Unzip the downloaded deployment package

Open a terminal and go the the folder of the deployment package

Install the aws-sdk

npm install aws-sdk

Zip the content of the folder and make sure app.js file is at the root level of the zipped file. This is your new deployment package

Upload your deployment package to your Lambda function.

@astro21 thanks. I didn't know that aws lambda doesn't automatically run npm install after deployment. Since other two lambdas were working fine and SendMessage lambda already had npm_modules directory I incorrectly assumed that dependencies were being installed.

That was an early dependency node_modules folder, not anymore. Now you should be able to do it.

The latest code still refers to:
require('aws-sdk/clients/apigatewaymanagementapi');
which will fail as that no longer exists, commenting out this part fixes it for me but this needs to be removed from the app.js in the release.

@tomellis
Simply commenting the require('aws-sdk/clients/apigatewaymanagementapi'); solves the issue for you?
Strange, if I just comment that part out the error is AWS.ApiGatewayManagementApi is not a constructor

What helped me is change NodeJS version to 10.x, with commented require('aws-sdk/clients/apigatewaymanagementapi');
I will try do to my first PR to see if I can do it properly and to see if this is proper programatic solution.


Migration to buffer with pts dts

Updates plugin to use :pts and :dts fields in Membrane.Buffer

also Ratio not needed in VAD and jitterbuffer/timestamp_calculation_test.exs


Added q to boomer Font

Describes your contribution
Added q to Boomer Font
Referenced Issues
closes #559
closes #593

@IshitaPathak everything works fine here. Thanks for the contribution and the bug hunt. 😁


Feature request - correctly detect what the user can edit/delete and communicate that

At the moment all issue/PR titles, bodies, comments etc. are shown as editable to the user. Also the user can go into insert mode to edit them. If he then saves the buffer the errors bubble up.
It should be possible to determine what the user can edit via viewerCanDelete and viewerCanUpdate. Such items should not been marked as editable (coloring) and the insert mode should be blocked as well as all other not editable parts of the buffer.

Im currently communicating that with a red dot:

I don't think there is a way to prevent editing of comments though.
I can intercept InsertEnter and exit back to Normal mode if the cursor is on non-editable regions. But I don't think there is a way to prevent normal mode commands (eg: dd)
I thought about using virtual text, but then that text won't be searchable :(

l actually thought that we could eventually get rid of the extmarks for non editable parts, but at least remove the editable highlight by the signcolumn from all these comments? So that the signs are only used for the editable stuff. Is that not possible?

That should be possible but I think it may get confusing and visually merge different comments and events. I will give it a try and see how it looks.
Another option is to use different colors in the sign column:

white: non-editable
red: modified editable area
green: unmodified editable area (meaning it can be edited)

What I like about your new idea is that it is configurable and I could for example "disable" it.


md-select doesnt work unless it has ng directive in it

Bug, feature request, or proposal:
<md-select  placeholder="Message Type"
[(ngModel)]="messageType" (ngModelChange)="getMessagesOfType(messageType)">
<md-option [value]="Text">
Text

<md-option [value]="Media">
Media

This is not working unless I put *ngIf="true" directive inside md-select
What is the expected behavior?
It should have worked without any dependency over *ngIf directive
What is the current behavior?
Working only after I put *ngIf directive
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
@angular/cli": "^1.5.0, @angular/material": "^2.0.0-beta.6,angular2-materialize": "^15.0.1, Ubuntu, typescript": "^2.6.1, Chrome

Can you post an example of the issue? You can use this Plunkr as a base.

can you please give me access to that plunk ?
Another thing I noticed it md-options expects values to be given in array using *ngFor  , else options wont get selected.
There is some connectivity with *ng directives for me to make md-select work properly.

You can press the "Fork" button to create a copy of the Plunk.

Actually I am using MdSelectModule not MatSelectModule. And was not able to import in the base plunk you sent

Closing this since it's referring to beta.6 which is now about 6 months old. Feel free to open a new issue if you're still able to reproduce with the latest version.


Add zoom.ts

I noticed this failed and got reverted. Do you need a hand with the implementation? The usage example in this PR doesn't match the on in the README

@michaelbull the implementation is a bit wonky because the js is contained in a private theme repository. For some reason I am having trouble importing the package and scss files into my project via our gulp build pipeline. I don't have time to revisit today but I should be able to revisit this week. I may reach out if I can't figure it out.

@westlywright looking at the code in this PR, you should use the following to import the style:
@import '~zoom.ts/style';

I can't comment on the JS without seeing it, but this should help. Again, happy to help :)


Collapsing Deployment View

Improvement to the deployment dashboard to hide/show deployments to multiple servers for an application

[x ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[x] Link to relevant issues in GitHub or Jira
[x] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Added functionality to deployment view that will show and hide multiple server deployments for a jenkins job


How can i move to top slide

Hi,
Thanks for this great plugin, i am trying to use it but not figure out the way scroll  back top position(first slide) by my footer   ##link,
for example in my layout i already bind menu with plugin i want a back to top button on my footer section. is their any method for this ?
Thank you.

See: https://github.com/guidobouman/jquery-panelsnap#activating-panels-manually


Tiny fix (what-is-b2b.md)

@a-zaf : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Verified the update; merging.
@a-zaf Thank you for making this fix.


AnyChart: Events handling not working

When I define an Event entity, Event data attribute and On click microflow, nothing happens. The on click microflow is never triggered. Instead I see the following error:
t is undefined, can't access property "eventEntity" of it r</l</t.prototype.onClick@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?636736545135115089:17:55679 t/t.onClick@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?636736545135115089:17:2373 n/<[194]</n.prototype.emit@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:398178 init/t.emit@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1864029 o@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1720692 n/<[510]</e.exports@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1720817 clickFn@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:2020773 A@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1691000
This error is also shown when Event entity, Event data attribute and On click microflow are empty.

Hi Jelle,
Thanks for reporting this issue, we've added it to the backlog. Once the solution is ready, you will be notified immediately
Regards
Derrick Kwagala

Found another issue with event handling, the tooltips are also not working

@JelleDekker
Could you please show me your modeler configuration. With correct configuration, I'm unable to reproduce this error.

When I define an Event entity, Event data attribute and On click microflow, nothing happens. The on click microflow is never triggered. Instead I see the following error:
t is undefined, can't access property "eventEntity" of it r</l</t.prototype.onClick@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?636736545135115089:17:55679 t/t.onClick@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/AnyChart.js?636736545135115089:17:2373 n/<[194]</n.prototype.emit@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:398178 init/t.emit@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1864029 o@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1720692 n/<[510]</e.exports@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1720817 clickFn@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:2020773 A@http://localhost:8080/widgets/com/mendix/widget/custom/AnyChart/chunke87d7e2b1e7e44ce8a15.js:1:1691000
This error is also shown when Event entity, Event data attribute and On click microflow are empty.

We are currently unable to reproduce this issue.

I've attached a zip with a project package, it shows both bugs I'm describing. It's a blank app in Mx 7.18.1 with the latest version of AnyCharts widget from the appstore.
AnyChartEvents.zip


Create inputs for private profile information

Feature Description:
In PASS, the user's profile utilizes the public profile to fill out the "Profile" page. There could be certain things that should remain private such as date of born, mailing address, etc. As such, we need to create a separate file that stores the user's profile information that's not under "/profile" on Solid and have them available to fill out by the user in their "Profile" page on PASS.
Allowing case workers to view this information via permissions could be done separately in a follow-up issue/PR.

Proposed Solution:
Create a privateProfileInfo.ttl somewhere in /PASS (perhaps in a new Profile container, i.e. /PASS/Profile).

Closing this in favor of https://github.com/codeforpdx/PASS/issues/440


Support for non-one realms

Russian player slam got locked out because his realm is 2
http://eu.battle.net/sc2/ru/profile/962100/2/slam/

Resolved with f1d954487


Feature/mn 256/update damage pop up

Implementing the small popup that pops up when the user wants to add or edit a damage on the car.
Technical description

Create a component called UpdateDamagePopUp
Add animation to show the component from bottom
Add gesture on small-bar to slide the popup from "minimal" to "full" and vice versa

Pending

Add translations for car parts
Integrating DamageManipulator component

UI

Don't forget to add translations everywhere in your component! I will add the french translations later

Don't forget to add translations everywhere in your component! I will add the french translations later

Yes, working on it...


Flutter: 2.10.1->3.0.0

Description of changes
upgrading to 3.0, which was released last week.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

I haven't quite got it to work yet, when invoking flutter run I get this error:

Oops; flutter has exited unexpectedly: "ProcessException: Failed to find "/home/nanashi/.cache/flutter/dart-sdk/bin/dart" in the search path.
  Command: /home/nanashi/.cache/flutter/dart-sdk/bin/dart ".
Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso
Standard out:
Standard error: fatal: unsafe repository ('/nix/store/laky6zjwmm1imzdhr0rfb4m39zxwp40p-flutter-3.0.0-unwrapped' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /nix/store/laky6zjwmm1imzdhr0rfb4m39zxwp40p-flutter-3.0.0-unwrapped

Returning 1970-01-01 01:00:00.000 instead.
Building Linux application...
A crash report has been written to /home/nanashi/Documents/projects/nixpkgs/test/flutter_01.log.

Maybe someone knows how this can be solved? 😅

Maybe these git commands need to be patched like we did in Nix to support the latest git version:
https://github.com/flutter/flutter/blob/36f9a186bfb162ff7689e73866b3de6a8a6fbcb9/packages/flutter_tools/lib/src/version.dart#L79

Agreed ☝,
Also, just FYI, we may keep an eye on probably next patch releases as I know Dart SDK issues present on that version related to the LSP built-in

hmm, even if I do git config --global --add safe.directory /nix/store/laky6zjwmm1imzdhr0rfb4m39zxwp40p-flutter-3.0.0-unwrapped like it says in the command I still get this error:
Oops; flutter has exited unexpectedly: "ProcessException: Failed to find "/home/nanashi/.cache/flutter/dart-sdk/bin/dart" in the search path.
  Command: /home/nanashi/.cache/flutter/dart-sdk/bin/dart ".

I don't understand what change could have caused this either

It seems we are missing patch dart-sdk somewhere to use our nix derivation, we already do that in some patch IIRC

Tested it with (just one copy/paste):
COMMIT_SHA=7cc36b8ca8292957ad1371c141c6870de20b856d
NIXPKGS_STRING=github:/NANASHI0X74/nixpkgs/"${COMMIT_SHA}"
# NIXPKGS_STRING=nixpkgs

nix \
shell \
--impure \
"${NIXPKGS_STRING}"#bashInteractive \
"${NIXPKGS_STRING}"#coreutils \
"${NIXPKGS_STRING}"#flutter \
"${NIXPKGS_STRING}"#google-chrome \
"${NIXPKGS_STRING}"#which \
--command \
bash \
-c \
'export CHROME_EXECUTABLE="$(which google-chrome-stable)" \
&& flutter devices \
&& flutter create my_app \
&& cd my_app \
&& timeout 120 flutter run || test $? -eq 124 || echo Error in flutter run'

Got this error:
Oops; flutter has exited unexpectedly: "FileSystemException: Cannot open file, path = '/home/pedro/.cache/flutter/dart-sdk/lib/dev_compiler/kernel/amd/require.js' (OS
Error: No such file or directory, errno = 2)".
Failed to find the latest git commit date: VersionCheckError: Command exited with code 128: git -c log.showSignature=false log -n 1 --pretty=format:%ad --date=iso
Standard out:
Standard error: fatal: unsafe repository ('/nix/store/laky6zjwmm1imzdhr0rfb4m39zxwp40p-flutter-3.0.0-unwrapped' is owned by someone else)
To add an exception for this directory, call:

        git config --global --add safe.directory /nix/store/laky6zjwmm1imzdhr0rfb4m39zxwp40p-flutter-3.0.0-unwrapped

Returning 1969-12-31 21:00:00.000 instead.
A crash report has been written to /home/pedro/sandbox/sandbox/my_app/flutter_02.log.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/shell-nix-attempt-to-do-inline-package-override-not-working/19250/5

the git fatal errors are solved by adding this patch to pkgs/development/compilers/flutter/patches/git-dir.patch (flutter/default.nix applies everything in the patches dir):
diff --git a/dev/bots/prepare_package.dart b/dev/bots/prepare_package.dart
index 468a91a954..5def6897ce 100644
--- a/dev/bots/prepare_package.dart
+++ b/dev/bots/prepare_package.dart
@@ -525,7 +525,7 @@ class ArchiveCreator {

   Future<String> _runGit(List<String> args, {Directory? workingDirectory}) {
     return _processRunner.runProcess(
-      <String>['git', ...args],
+      <String>['git', '--git-dir', '.git', ...args],
       workingDirectory: workingDirectory ?? flutterRoot,
     );
   }
diff --git a/packages/flutter_tools/lib/src/commands/downgrade.dart b/packages/flutter_tools/lib/src/commands/downgrade.dart
index bb0eb428a9..4a2a48bb5e 100644
--- a/packages/flutter_tools/lib/src/commands/downgrade.dart
+++ b/packages/flutter_tools/lib/src/commands/downgrade.dart
@@ -118,7 +118,7 @@ class DowngradeCommand extends FlutterCommand {
     // Detect unknown versions.
     final ProcessUtils processUtils = _processUtils!;
     final RunResult parseResult = await processUtils.run(<String>[
-      'git', 'describe', '--tags', lastFlutterVersion,
+      'git', '--git-dir', '.git', 'describe', '--tags', lastFlutterVersion,
     ], workingDirectory: workingDirectory);
     if (parseResult.exitCode != 0) {
       throwToolExit('Failed to parse version for downgrade:\n${parseResult.stderr}');
@@ -191,7 +191,7 @@ class DowngradeCommand extends FlutterCommand {
         continue;
       }
       final RunResult parseResult = await _processUtils!.run(<String>[
-        'git', 'describe', '--tags', sha,
+        'git', '--git-dir', '.git', 'describe', '--tags', sha,
       ], workingDirectory: workingDirectory);
       if (parseResult.exitCode == 0) {
         buffer.writeln('Channel "${getNameForChannel(channel)}" was previously on: ${parseResult.stdout}.');
diff --git a/packages/flutter_tools/lib/src/version.dart b/packages/flutter_tools/lib/src/version.dart
index f2068a6ca2..99b161689e 100644
--- a/packages/flutter_tools/lib/src/version.dart
+++ b/packages/flutter_tools/lib/src/version.dart
@@ -106,7 +106,7 @@ class FlutterVersion {
     String? channel = _channel;
     if (channel == null) {
       final String gitChannel = _runGit(
-        'git rev-parse --abbrev-ref --symbolic @{u}',
+        'git --git-dir .git rev-parse --abbrev-ref --symbolic @{u}',
         globals.processUtils,
         _workingDirectory,
       );
@@ -114,7 +114,7 @@ class FlutterVersion {
       if (slash != -1) {
         final String remote = gitChannel.substring(0, slash);
         _repositoryUrl = _runGit(
-          'git ls-remote --get-url $remote',
+          'git --git-dir .git ls-remote --get-url $remote',
           globals.processUtils,
           _workingDirectory,
         );
@@ -326,7 +326,7 @@ class FlutterVersion {
   /// the branch name will be returned as `'[user-branch]'`.
   String getBranchName({ bool redactUnknownBranches = false }) {
     _branch ??= () {
-      final String branch = _runGit('git rev-parse --abbrev-ref HEAD', globals.processUtils);
+      final String branch = _runGit('git --git-dir .git rev-parse --abbrev-ref HEAD', globals.processUtils);
       return branch == 'HEAD' ? channel : branch;
     }();
     if (redactUnknownBranches || _branch!.isEmpty) {
@@ -359,7 +359,7 @@ class FlutterVersion {
   /// wrapper that does that.
   @visibleForTesting
   static List<String> gitLog(List<String> args) {
-    return <String>['git', '-c', 'log.showSignature=false', 'log'] + args;
+    return <String>['git', '-c', 'log.showSignature=false', '--git-dir', '.git', 'log'] + args;
   }

   /// Gets the release date of the latest available Flutter version.
@@ -730,7 +730,7 @@ class GitTagVersion {

   static GitTagVersion determine(ProcessUtils processUtils, {String? workingDirectory, bool fetchTags = false, String gitRef = 'HEAD'}) {
     if (fetchTags) {
-      final String channel = _runGit('git rev-parse --abbrev-ref HEAD', processUtils, workingDirectory);
+      final String channel = _runGit('git --git-dir .git rev-parse --abbrev-ref HEAD', processUtils, workingDirectory);
       if (channel == 'dev' || channel == 'beta' || channel == 'stable') {
         globals.printTrace('Skipping request to fetchTags - on well known channel $channel.');
       } else {
@@ -739,7 +739,7 @@ class GitTagVersion {
     }
     // find all tags attached to the given [gitRef]
     final List<String> tags = _runGit(
-      'git tag --points-at $gitRef', processUtils, workingDirectory).trim().split('\n');
+      'git --git-dir .git tag --points-at $gitRef', processUtils, workingDirectory).trim().split('\n');

     // Check first for a stable tag
     final RegExp stableTagPattern = RegExp(r'^\d+\.\d+\.\d+$');
@@ -760,7 +760,7 @@ class GitTagVersion {
     // recent tag and number of commits past.
     return parse(
       _runGit(
-        'git describe --match *.*.* --long --tags $gitRef',
+        'git --git-dir .git describe --match *.*.* --long --tags $gitRef',
         processUtils,
         workingDirectory,
       )

i think only version.dart actually needs to be patched -- i was a bit liberal.
even without the git errors it fails with:
Target kernel_snapshot failed: Exception: Unable to find Dart binary at /build/tmp.cGgCz3Ih0C/.cache/flutter/dart-sdk/bin/dart

i think this comes down to a change in flutter's packages/flutter_tools/lib/src/artifacts.dart. CachedArtifacts.getHostArtifact used to read:
final String path = _fileSystem.path.join(_dartSdkPath(_fileSystem), 'bin', _hostArtifactToFileName(artifact, _platform.isWindows));
return _fileSystem.file(path);

now it reads:
final String path = _fileSystem.path.join(_dartSdkPath(_cache), 'bin', _hostArtifactToFileName(artifact, _platform.isWindows));
return _fileSystem.file(path);

notice it used to read directly from _fileSystem, now it goes through _cache.
we already have some patching around this cache stuff i.e. pkgs/development/compilers/flutter/patches/move-cache.patch. i might just swap out _cache with _fileSystem everywhere in this area to get a POC, but i'm not sure how deep that goes yet.

yeah, flutter 3.0.0 compiles if i add another patch to revert this flutter commit that changed filesystem -> cache:
diff --git a/packages/flutter_tools/lib/src/artifacts.dart b/packages/flutter_tools/lib/src/artifacts.dart
index 2aac9686e8..32c4b98b88 100644
--- a/packages/flutter_tools/lib/src/artifacts.dart
+++ b/packages/flutter_tools/lib/src/artifacts.dart
@@ -346,10 +346,10 @@ class CachedArtifacts implements Artifacts {
   ) {
     switch (artifact) {
       case HostArtifact.engineDartSdkPath:
-        final String path = _dartSdkPath(_cache);
+        final String path = _dartSdkPath(_fileSystem);
         return _fileSystem.directory(path);
       case HostArtifact.engineDartBinary:
-        final String path = _fileSystem.path.join(_dartSdkPath(_cache), 'bin', _hostArtifactToFileName(artifact, _platform.isWindows));
+        final String path = _fileSystem.path.join(_dartSdkPath(_fileSystem), 'bin', _hostArtifactToFileName(artifact, _platform.isWindows));
         return _fileSystem.file(path);
       case HostArtifact.flutterWebSdk:
         final String path = _getFlutterWebSdkPath();
@@ -398,7 +398,7 @@ class CachedArtifacts implements Artifacts {
       case HostArtifact.dart2jsSnapshot:
       case HostArtifact.dartdevcSnapshot:
       case HostArtifact.kernelWorkerSnapshot:
-        final String path = _fileSystem.path.join(_dartSdkPath(_cache), 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
+        final String path = _fileSystem.path.join(_dartSdkPath(_fileSystem), 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
         return _fileSystem.file(path);
       case HostArtifact.iosDeploy:
         final String artifactFileName = _hostArtifactToFileName(artifact, _platform.isWindows);
@@ -461,11 +461,13 @@ class CachedArtifacts implements Artifacts {
   String _getAndroidArtifactPath(Artifact artifact, TargetPlatform platform, BuildMode mode) {
     final String engineDir = _getEngineArtifactsPath(platform, mode)!;
     switch (artifact) {
+      case Artifact.frontendServerSnapshotForEngineDartSdk:
+        assert(mode != BuildMode.debug, 'Artifact $artifact only available in non-debug mode.');
+        return _fileSystem.path.join(engineDir, _artifactToFileName(artifact));
       case Artifact.genSnapshot:
         assert(mode != BuildMode.debug, 'Artifact $artifact only available in non-debug mode.');
         final String hostPlatform = getNameForHostPlatform(getCurrentHostPlatform());
         return _fileSystem.path.join(engineDir, hostPlatform, _artifactToFileName(artifact));
-      case Artifact.frontendServerSnapshotForEngineDartSdk:
       case Artifact.constFinder:
       case Artifact.flutterFramework:
       case Artifact.flutterMacOSFramework:
@@ -497,13 +499,13 @@ class CachedArtifacts implements Artifacts {
     switch (artifact) {
       case Artifact.genSnapshot:
       case Artifact.flutterXcframework:
+      case Artifact.frontendServerSnapshotForEngineDartSdk:
         final String artifactFileName = _artifactToFileName(artifact)!;
         final String engineDir = _getEngineArtifactsPath(platform, mode)!;
         return _fileSystem.path.join(engineDir, artifactFileName);
       case Artifact.flutterFramework:
         final String engineDir = _getEngineArtifactsPath(platform, mode)!;
         return _getIosEngineArtifactPath(engineDir, environmentType, _fileSystem);
-      case Artifact.frontendServerSnapshotForEngineDartSdk:
       case Artifact.constFinder:
       case Artifact.flutterMacOSFramework:
       case Artifact.flutterMacOSPodspec:
@@ -594,14 +596,10 @@ class CachedArtifacts implements Artifacts {
         // For script snapshots any gen_snapshot binary will do. Returning gen_snapshot for
         // android_arm in profile mode because it is available on all supported host platforms.
         return _getAndroidArtifactPath(artifact, TargetPlatform.android_arm, BuildMode.profile);
-      case Artifact.frontendServerSnapshotForEngineDartSdk:
-        return _fileSystem.path.join(
-          _dartSdkPath(_cache), 'bin', 'snapshots',
-          _artifactToFileName(artifact),
-        );
       case Artifact.flutterTester:
       case Artifact.vmSnapshotData:
       case Artifact.isolateSnapshotData:
+      case Artifact.frontendServerSnapshotForEngineDartSdk:
       case Artifact.icuData:
         final String engineArtifactsPath = _cache.getArtifactDirectory('engine').path;
         final String platformDirName = _enginePlatformDirectoryName(platform);
@@ -797,7 +795,7 @@ class CachedLocalEngineArtifacts implements LocalEngineArtifacts {
         final String path = _fileSystem.path.join(_hostEngineOutPath, 'dart-sdk', 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
         return _fileSystem.file(path);
       case HostArtifact.dartdevcSnapshot:
-        final String path = _fileSystem.path.join(_dartSdkPath(_cache), 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
+        final String path = _fileSystem.path.join(_dartSdkPath(_fileSystem), 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
         return _fileSystem.file(path);
       case HostArtifact.kernelWorkerSnapshot:
         final String path = _fileSystem.path.join(_hostEngineOutPath, 'dart-sdk', 'bin', 'snapshots', _hostArtifactToFileName(artifact, _platform.isWindows));
@@ -922,9 +920,7 @@ class CachedLocalEngineArtifacts implements LocalEngineArtifacts {
       case Artifact.windowsUwpCppClientWrapper:
         return _fileSystem.path.join(_hostEngineOutPath, artifactFileName);
       case Artifact.frontendServerSnapshotForEngineDartSdk:
-        return _fileSystem.path.join(
-          _hostEngineOutPath, 'dart-sdk', 'bin', 'snapshots', artifactFileName,
-        );
+        return _fileSystem.path.join(_hostEngineOutPath, 'gen', artifactFileName);
       case Artifact.uwptool:
         return _fileSystem.path.join(_hostEngineOutPath, artifactFileName);
     }
@@ -1034,8 +1030,8 @@ class OverrideArtifacts implements Artifacts {
 }

 /// Locate the Dart SDK.
-String _dartSdkPath(Cache cache) {
-  return cache.getRoot().childDirectory('dart-sdk').path;
+String _dartSdkPath(FileSystem fileSystem) {
+  return fileSystem.path.join(Cache.flutterRoot!, 'bin', 'cache', 'dart-sdk');
 }

 class _TestArtifacts implements Artifacts {
diff --git a/packages/flutter_tools/test/general.shard/artifacts_test.dart b/packages/flutter_tools/test/general.shard/artifacts_test.dart
index d906511a15..adfdd4bb42 100644
--- a/packages/flutter_tools/test/general.shard/artifacts_test.dart
+++ b/packages/flutter_tools/test/general.shard/artifacts_test.dart
@@ -153,10 +153,6 @@ void main() {
         artifacts.getArtifactPath(Artifact.windowsUwpDesktopPath, platform: TargetPlatform.windows_uwp_x64, mode: BuildMode.release),
         fileSystem.path.join('root', 'bin', 'cache', 'artifacts', 'engine', 'windows-uwp-x64-release'),
       );
-      expect(
-        artifacts.getArtifactPath(Artifact.frontendServerSnapshotForEngineDartSdk),
-        fileSystem.path.join('root', 'bin', 'cache', 'dart-sdk', 'bin', 'snapshots', 'frontend_server.dart.snapshot')
-      );
     });

     testWithoutContext('precompiled web artifact paths are correct', () {
@@ -322,11 +318,6 @@ void main() {
         artifacts.getHostArtifact(HostArtifact.engineDartSdkPath).path,
         fileSystem.path.join('/out', 'host_debug_unopt', 'dart-sdk'),
       );
-      expect(
-        artifacts.getArtifactPath(Artifact.frontendServerSnapshotForEngineDartSdk),
-        fileSystem.path.join('/out', 'host_debug_unopt', 'dart-sdk', 'bin',
-          'snapshots', 'frontend_server.dart.snapshot')
-      );
     });

     testWithoutContext('getEngineType', () {

with these two patches, i'm able to build a flutter app and run it. i don't know anything about flutter though: i'm just brute-forcing it, so it might not be the best approach.

thank you @uninsane btw for your contribution here- I've unfortunately not found any more time to finish this PR in the last while. Anyway, when I do I'd like to try and understand what the change of _filesystem->_cache was supposed to mean and whether it's fine to just use this patch or maybe there's a better idea. But kudos for finding the commit that causes this breakage 😄

you know what, I think the patch by @uninsane is fine.
flutter and dart had some more releases in the mean time, so I updated the expression again...
I now run into another issue though which seems to be the same as https://github.com/NixOS/nixpkgs/issues/167735
[nix-shell:~/Documents/projects/nixpkgs/test]$ flutter doctor -v
[  +37 ms] executing: uname -m
[  +20 ms] Exit code 0 from: uname -m
[        ] x86_64
[   +3 ms] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git -c log.showSignature=false --git-dir .git log -n 1 --pretty=format:%H
[   +4 ms] Exit code 0 from: git -c log.showSignature=false --git-dir .git log -n 1 --pretty=format:%H
[        ] 676cefaaff197f27424942307668886253e1ec35
[        ] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git tag --points-at 676cefaaff197f27424942307668886253e1ec35
[   +9 ms] Exit code 0 from: git --git-dir .git tag --points-at 676cefaaff197f27424942307668886253e1ec35
[        ] 3.0.3
[   +5 ms] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git rev-parse --abbrev-ref --symbolic @{u}
[   +4 ms] Exit code 0 from: git --git-dir .git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/stable
[        ] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git ls-remote --get-url origin
[   +3 ms] Exit code 0 from: git --git-dir .git ls-remote --get-url origin
[        ] git@github.com:flutter/flutter.git
[  +31 ms] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git rev-parse --abbrev-ref HEAD
[   +4 ms] Exit code 0 from: git --git-dir .git rev-parse --abbrev-ref HEAD
[        ] stable
[  +28 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +1 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +24 ms] Artifact Instance of 'MaterialFonts' is not required, skipping update.
[        ] Artifact Instance of 'GradleWrapper' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[        ] Artifact Instance of 'FlutterSdk' is not required, skipping update.
[        ] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'WindowsUwpEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IosUsbArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FontSubsetArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'PubDependencies' is not required, skipping update.
[  +35 ms] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git rev-parse --abbrev-ref HEAD
[   +5 ms] Exit code 0 from: git --git-dir .git rev-parse --abbrev-ref HEAD
[        ] stable
[        ] Skipping request to fetchTags - on well known channel stable.
[        ] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git --git-dir .git tag --points-at HEAD
[   +8 ms] Exit code 0 from: git --git-dir .git tag --points-at HEAD
[        ] 3.0.3
[   +5 ms] executing: /nix/store/7h2cj0pmlh4mmf260nsqrrfqgc6vbdvi-android-studio-stable-2<IP_ADDRESS>-unwrapped/jre/bin/java -version
[  +86 ms] Exit code 0 from: /nix/store/7h2cj0pmlh4mmf260nsqrrfqgc6vbdvi-android-studio-stable-2<IP_ADDRESS>-unwrapped/jre/bin/java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7590822, mixed mode)
[   +9 ms] executing: /nix/store/7h2cj0pmlh4mmf260nsqrrfqgc6vbdvi-android-studio-stable-2<IP_ADDRESS>-unwrapped/jre/bin/java -version
[  +78 ms] Exit code 0 from: /nix/store/7h2cj0pmlh4mmf260nsqrrfqgc6vbdvi-android-studio-stable-2<IP_ADDRESS>-unwrapped/jre/bin/java -version
[        ] openjdk version "11.0.11" 2021-04-20
           OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
           OpenJDK 64-Bit Server VM (build 11.0.11+0-b60-7590822, mixed mode)
[   +9 ms] executing: [/nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped/] git -c log.showSignature=false --git-dir .git log -n 1 --pretty=format:%ar
[   +5 ms] Exit code 0 from: git -c log.showSignature=false --git-dir .git log -n 1 --pretty=format:%ar
[        ] 2 days ago
[  +89 ms] executing: /nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk/platform-tools/adb devices -l
[  +19 ms] [✓] Flutter (Channel stable, 3.0.3, on NixOS 22.11 (Raccoon) 5.15.46, locale en_GB.utf8)
[        ]     • Flutter version 3.0.3 at /nix/store/madyzlqpcr1rkr98sbs1szjkm8dfp1x9-flutter-3.0.3-unwrapped
[        ]     • Upstream repository git@github.com:flutter/flutter.git
[        ]     • Framework revision 676cefaaff (2 days ago), 2022-06-22 11:34:49 -0700
[        ]     • Engine revision ffe7b86a1e
[        ]     • Dart version 2.17.5
[        ]     • DevTools version 2.12.2
[  +26 ms] /nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk/platform-tools/adb: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE
[  +63 ms] [!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[        ]     • Android SDK at /nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk
[        ]     ✗ cmdline-tools component is missing
[        ]       Run `path/to/sdkmanager --install "cmdline-tools;latest"`
[        ]       See https://developer.android.com/studio/command-line for more details.
[        ]     ✗ Android license status unknown.
[        ]       Run `flutter doctor --android-licenses` to accept the SDK licenses.
[        ]       See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.
[        ] [✗] Chrome - develop for the web (Cannot find Chrome executable at google-chrome)
[        ]     ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[        ] [☠] Linux toolchain - develop for Linux desktop (the doctor check crashed)
[        ]     ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
[        ]     ✗ ProcessException: Failed to find "pkg-config" in the search path.
[        ]         Command: pkg-config
[        ]     • #0      LocalProcessManager.run (package:process/src/interface/local_process_manager.dart:87:7)
[        ]       #1      ErrorHandlingProcessManager.run.<anonymous closure> (package:flutter_tools/src/base/error_handling_io.dart:669:24)
[        ]       #2      _run (package:flutter_tools/src/base/error_handling_io.dart:567:20)
[        ]       #3      ErrorHandlingProcessManager.run (package:flutter_tools/src/base/error_handling_io.dart:668:12)
[        ]       #4      LinuxDoctorValidator._libraryIsPresent (package:flutter_tools/src/linux/linux_doctor.dart:186:38)
[        ]       #5      LinuxDoctorValidator.validate (package:flutter_tools/src/linux/linux_doctor.dart:145:20)
[        ]       <asynchronous suspension>
[        ]       #6      Future.any.onValue (dart:async/future.dart:611:5)
[        ]       <asynchronous suspension>
[        ] [✓] Android Studio (version 2021.1)
[        ]     • Android Studio at /nix/store/7h2cj0pmlh4mmf260nsqrrfqgc6vbdvi-android-studio-stable-2<IP_ADDRESS>-unwrapped
[        ]     • Flutter plugin version 66.0.1
[        ]     • Dart plugin version 211.7817
[        ]     • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
[        ] [☠] Connected device (the doctor check crashed)
[        ]     ✗ Due to an error, the doctor check did not complete. If the error message below is not helpful, please let us know about this issue at https://github.com/flutter/flutter/issues.
[        ]     ✗ Exception: Unable to run "adb", check your Android SDK installation and ANDROID_SDK_ROOT environment variable: /nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk/platform-tools/adb
[        ]     • #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
[        ]       #1      AndroidDevices.pollingGetDevices (package:flutter_tools/src/android/android_device_discovery.dart:75:7)
[        ]       <asynchronous suspension>
[        ]       #2      PollingDeviceDiscovery._populateDevices (package:flutter_tools/src/device.dart:435:54)
[        ]       <asynchronous suspension>
[        ]       #3      Future.wait.<anonymous closure> (dart:async/future.dart:521:21)
[        ]       <asynchronous suspension>
[        ]       #4      DeviceManager.getAllConnectedDevices (package:flutter_tools/src/device.dart:191:40)
[        ]       <asynchronous suspension>
[        ]       #5      DeviceValidator.validate (package:flutter_tools/src/doctor.dart:561:34)
[        ]       <asynchronous suspension>
[        ]       #6      Future.any.onValue (dart:async/future.dart:611:5)
[        ]       <asynchronous suspension>
[+6510 ms] [✓] HTTP Host Availability
[        ]     • All required HTTP hosts are available
[        ] ! Doctor found issues in 4 categories.
[   +8 ms] "flutter doctor" took 7,005ms.
[  +45 ms] ensureAnalyticsSent: 42ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 0

when flutter runs adb, it fails with
[  +26 ms] /nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk/platform-tools/adb: symbol lookup error: /usr/lib/libc.so.6: undefined symbol: _dl_audit_symbind_alt, version GLIBC_PRIVATE

though running the same binary manually seems to work fine:
/nix/store/k12ncgasy9zglj2hg723sn18bcn9amzw-androidsdk/libexec/android-sdk/platform-tools/adb devices
List of devices attached
22044523020127  device

I guess this must have something to do with the fhs env... And I again don't know how to solve it 😞

ok, I've understood the issue- I installed the android sdk via a shell.nix and its nixpkgs input was outdated. Now flutter run works for me :D

Result of nixpkgs-review pr 173200 run on x86_64-linux 1

2 packages failed to build:

firmware-updater
fluffychat

2 packages built:

flutter (flutterPackages.stable)
hover

not sure why firmware-updater and fluffychat are not building @NANASHI0X74

I got round to looking into this again- the pacakge failures were due to hash mismatches, which I fixed and now firmware-updater works again, but fluffychat still fails to build for some other reason 😅

Result of nixpkgs-review pr 173200 run on x86_64-linux 1

2 packages failed to build:

firmware-updater
fluffychat

2 packages built:

flutter (flutterPackages.stable)
hover

@NANASHI0X74 it seems it's still happening sha mismatch on firmare-updater

I updated to 3.0.4. Now I still have the same problem with fluffychat. should I perhaps add a flutter_2 package or something and use that to build fluffychat? Or update fluffychat in this PR too? 😅

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/anyone-managed-to-install-flutter-3-0-0-on-nixos/20542/2

Any news on getting this merged?
Doesn't make sense to me that issues with fluffychat's build should prevent flutter being upgraded; if upstream doesn't support Flutter 3 then it shouldn't prevent Flutter itself from being updated to 3 in nixpkgs.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/anyone-managed-to-install-flutter-3-0-0-on-nixos/20542/12

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/anyone-managed-to-install-flutter-3-0-0-on-nixos/20542/13

Hey, is there anything I can help with to get this merged?


fix(deps): update key-protect-all-inclusive to kms-all-inclusive

Description
Update reference in secure example from key-protect-all-inclusive to kms-all-inclusive, change only affects example usage and not the root of the module.
Release required?

[x] No release
[ ] Patch release (x.x.X)
[ ] Minor release (x.X.x)
[ ] Major release (X.x.x)

Release notes content

Run the pipeline
If the CI pipeline doesn't run when you create the PR, the PR requires a user with GitHub collaborators access to run the pipeline.
Run the CI pipeline when the PR is ready for review and you expect tests to pass. Add a comment to the PR with the following text:
/run pipeline

Checklist for reviewers

[ ] If relevant, a test for the change is included or updated with this PR.
[ ] If relevant, documentation for the change is included or updated with this PR.

For mergers

Use a conventional commit message to set the release level. Follow the guidelines.
Include information that users need to know about the PR in the commit message. The commit message becomes part of the GitHub release notes.
Use the Squash and merge option.

/run pipeline

/run pipeline

:tada: This issue has been resolved in version 1.2.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: