Create sample.json with sample Antennas

What is the feature in question? Please describe
Create a json file that contains 3 antennas with the Schema discussed in #30
What the NPO liked:
N/A
What the NPO wanted to change:
N/A
Additional context
sample.json can be found on a pinged message on discord. This sample.json will ease the frontend development while the backend is completed.

sample.json is not necessary anymore since docker with database initialization has already been pushed. To have sample data, use docker image.


Item: Dark Matter Arrow

A Dark Matter Arrow is an arrow made of Dark Matter

Textures merged in https://github.com/pahimar/Equivalent-Exchange/pull/54


Update Docker Python Image to 3.10.14 (#35)

Resolves #35
For testing purposes it was already deployed on this branch:
https://github.com/SoftwareDefinedVehicle/vehicle-app-python-sdk/actions/runs/9644522408

Increasing the version to 3.10.14 still fixed the bug (https://github.com/SoftwareDefinedVehicle/vehicle-app-python-sdk/actions/runs/9675222776/job/26692324251) without breaking the tests I assume.


Terminal spawns in the wrong folder if the workspace folder name includes brackets

VS Code Version: Insiders 1.55.0
OS Version: Windows 10 / Windows server 2019

Steps to Reproduce:

Create a workspace in a folder named [myworkspace] it is important to have the brackets.
Open the workspace / click on the "Terminal > New Terminal"
Instead of starting in your workspace you start at Powershell Path

Expected result: the terminal spawns at the root path of your workspace. It is caused by the [] brackets.
I haven't look at the code as it is a relatively big project but with PowerShell to navigate into a folder with brackets you need to format the destination path like this:
# Does not work
cd E:\Projects\[Name]
# Works
cd 'E:\Projects\`[Name`]'

Good luck, thank you!

Does this issue occur when all extensions are disabled?: Yes

[...] in file names are extremely common, so I hit this constantly
SvelteKit uses [...] in file names such as src/routes/[category]/[item].svelte to denote parameters and Next.js does as well
We have considered changing SvelteKit's syntax, but there are no good options that aren't otherwise broken on iTerm or Windows and it would also be a high migration cost for existing users
There are also other paths that are currently broken such as https://github.com/microsoft/vscode/issues/97941
I would expect the regex for matching a path segment could be improved to fix both these issues (perhaps something like [^/\\]+). Since this runs in the terminal it should run a very limited number of times since you can only display so many file paths at once, so there shouldn't be any performance concerns here either

https://github.com/microsoft/vscode/blob/94c9ea46838a9a619aeafb7e8afd1170c967bb55/src/vs/workbench/contrib/terminal/browser/links/terminalValidatedLocalLinkProvider.ts#L23

Bug is here:

@benmccann that's the place for [] not working in links, but not spawning in the wrong folder which is what this issue covers. See https://github.com/microsoft/vscode/issues/127138 for your issue

This works fine for both the integrated and external terminals.


Reuse previously declared local variable to prevent -Wshadow warnings

Technically, I do not contribute to your project. I have removed something from the project. Do you really want signed CLA even for removals? ;-)
I have removed 11 characters...

No need to rebase, the problem is fixed by other changes in the code!


service down today. Will you continue?

Today, my docker can't pull images. I check everything, find
$ ping dockerhub.azk8s.cn
PING east2mirrorlb.chinaeast2.cloudapp.chinacloudapi.cn (<IP_ADDRESS>): 56 data bytes
Request timeout for icmp_seq 0

I delete  "https://dockerhub.azk8s.cn" from  /etc/docker/daemon.json  >>  "registry-mirrors": [] list, then everything is OK.
What happened?  Is it just down  in accidental, OR, Microsoft Azure will always close dockerhub.azk8s.cn ？
I hope dockerhub.azk8s.cn run forever.  😄

@Yensan btw, are you trying image pull on Azure VM? if your machine is not Azure VM, image pulling would be blocked.

oh，I just use my docker in linux, NOT an Azure VM ....
thank you for reply.


Apps Page Needs Expansion

Code snippet on https://lifecycle.keptn.sh/docs/concepts/apps/ needs to be expanded to:
apiVersion: lifecycle.keptn.sh/v1alpha2
kind: KeptnApp
metadata:
  name: podtato-head
  namespace: podtato-kubectl
spec:
  version: "1.3"
  workloads:
  - name: podtato-head-left-arm
    version: 0.1.0
  - name: podtato-head-left-leg
    version: 1.2.3
  # The following are optional
  preDeploymentTasks:
  - pre-deployment-hello
  preDeploymentEvaluations:
  - my-pre-deploy-evaluation
  postDeploymentTasks:
  - post-deployment-hello
  postDeploymentEvaluations:
  - my-post-deploy-evaluation

Hey @agardnerIT, can I work on this issue?

Assigned. Please remember to sign all commits: git commit -sm "a commit message". This is required for the PR to pass.


UART clarity for MAX78000

I saw in the MAX78000 User guide there are 4 UART instances:

On the MAX78000 Feather card, there appear to be only 2 (in yellow):

When I'm writing software to use the UART on the MAX78000 Feather chip, what UART designation should I use for UART2, for example (pins P1_1 and P1_0).
Right now I'm using this:
static mxc_uart_regs_t *Con_Uart = MXC_UART_GET_UART(1);  // 1 for UART2 instead of 0 for default/debug/USB UART.

but i'm currently unable to see printf and other UART writes through the P1_1 and P1_0 pins. I've tested the receiving MCU UART connection and it seems fine (TX/RX to itself, 115200 bps).

Ah. I got it working.
These were indeed the correct pins. I just had some other initialization steps to take for my specific MCU. Specifically the voltage select: gpioTXD.vssel= MXC_GPIO_VSSEL_VDDIOH;.


Add CUB support for argmax() and argmin()

This PR is made easy based on the refactoring in #2562. Part of #2519.
Notes:

Currently an explicit axis argument is not supported. In fact, I am a bit reluctant to add CUB support for it because of two reasons:

According to the NumPy behavior axis can only be an integer, not a tuple (see #2595), meaning that only the special case axis=-1 (searching over the last axis) can be benefited by device_segmented_reduce added in #2562, which doesn't seem worth the time...
On the technical side, the output of device_segmented_reduce would be an array of key-value pairs. I am not sure what's the best way to retrieve the keys (i.e. the wanted array indices). Seems like I need one extra kernel launch to loop data over and copy keys to another device array? Any comment or suggestion is welcome, as I think the core devs should have some experience for how to handle it.
(You already did this in _argmax and _argmin, although I don't fully understand how it works there.)

The implementation already has the NumPy compatibility in mind (#2595).

As always, below is a performance test on a K40.
Script:
import cupy as cp

n_runs = 10
shape = (512, 256, 256)
axis_cases = [(0, 1, 2),]   # dummy

for dtype in (cp.int64, cp.float32, cp.float64, cp.complex64, cp.complex128):
    if dtype in (cp.float32, cp.float64):
        x = cp.random.random(shape, dtype=dtype)
    elif dtype in (cp.int32, cp.int64):
        x = cp.random.randint(0, 10, size=shape, dtype=dtype)
    else:
        x = cp.random.random(shape).astype(dtype) + 1j * cp.random.random(shape).astype(dtype)
    x_np = cp.asnumpy(x) #move to cpu

    for axis in axis_cases:
        for func in ('argmax', 'argmin'):
                keepdims = False
                print("testing", axis, "+", str(dtype), "+", "keepdims={}".format(keepdims), "+", func, "...")
                start = cp.cuda.Event()
                end = cp.cuda.Event()

                cp.cuda.cub_enabled = False
                w = None
                start.record()
                for i in range(n_runs):
                    w = getattr(x, func)()
                end.record()
                end.synchronize()
                t_cp_disabled = cp.cuda.get_elapsed_time(start, end)

                cp.cuda.cub_enabled = True
                y = None
                start.record()
                for i in range(n_runs):
                    y = getattr(x, func)()
                end.record()
                end.synchronize()
                t_cp_enabled = cp.cuda.get_elapsed_time(start, end)

                z = None
                start.record()
                for i in range(n_runs):
                    z = getattr(x_np, func)()
                end.record()
                end.synchronize()
                t_np = cp.cuda.get_elapsed_time(start, end)

                print("CUB enabled: {}, CUB disabled: {}, numpy: {} (ms for {} runs)\n".format(t_cp_enabled, t_cp_disabled, t_np, n_runs))

                try:
                    assert cp.allclose(w, y)
                except AssertionError:
                    print("**************** RESULTS DO NOT MATCH: CUB & reduction ****************")
                    print(w, y)
                try:
                    assert cp.allclose(y, z)
                except AssertionError:
                    print("**************** RESULTS DO NOT MATCH: CUB & NumPy ****************")
                    print(y, z)
        print()

Result:
testing (0, 1, 2) + <class 'numpy.int64'> + keepdims=False + argmax ...
CUB enabled: 14.8439359664917, CUB disabled:<PHONE_NUMBER>757812, numpy:<PHONE_NUMBER>363281 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.int64'> + keepdims=False + argmin ...
CUB enabled: 14.812224388122559, CUB disabled:<PHONE_NUMBER>835938, numpy:<PHONE_NUMBER>1523438 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.float32'> + keepdims=False + argmax ...
CUB enabled: 7.563583850860596, CUB disabled:<PHONE_NUMBER>847656, numpy:<PHONE_NUMBER>8671875 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.float32'> + keepdims=False + argmin ...
CUB enabled: 7.555967807769775, CUB disabled:<PHONE_NUMBER>640625, numpy:<PHONE_NUMBER>2089844 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.float64'> + keepdims=False + argmax ...
CUB enabled: 14.66256046295166, CUB disabled:<PHONE_NUMBER>1875, numpy:<PHONE_NUMBER>5820312 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.float64'> + keepdims=False + argmin ...
CUB enabled: 14.680447578430176, CUB disabled:<PHONE_NUMBER>40625, numpy:<PHONE_NUMBER>8691406 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.complex64'> + keepdims=False + argmax ...
CUB enabled: 15.278176307678223, CUB disabled:<PHONE_NUMBER>585938, numpy:<PHONE_NUMBER>085938 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.complex64'> + keepdims=False + argmin ...
CUB enabled: 14.97152042388916, CUB disabled:<PHONE_NUMBER>539062, numpy:<PHONE_NUMBER>421875 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.complex128'> + keepdims=False + argmax ...
CUB enabled: 29.66339111328125, CUB disabled:<PHONE_NUMBER>804688, numpy:<PHONE_NUMBER>882812 (ms for 10 runs)

testing (0, 1, 2) + <class 'numpy.complex128'> + keepdims=False + argmin ...
CUB enabled: 29.575040817260742, CUB disabled:<PHONE_NUMBER>210938, numpy:<PHONE_NUMBER>304688 (ms for 10 runs)

Jenkins, test this please

Jenkins CI test (for commit 534a2ea8024dd313ca7b8d397dba4d91f6b50b7a, target branch master) succeeded!


Slow state changes on tvOS 11.3

State changes are not instantaneously reported on tvOS 11.3.

Fixed in 1.0.9


Admin pane at page edit page is being refreshed - probably, too often

In the admin interface while editing a page content the user can open an admin pane at the left side of the window.
In our scenario, the user opens the admin pane and open the pages structure view there. He/she click the site name at the top menu, and chooses "Pages".
The problem is that this pane is being refreshed from time to time. It looks like the admin frame is being reloaded.
In installations with many pages (we have ~1000 with ~50 at top level) it takes time. Users complain that it is really inconvinient and disrupts thier work. People tend to expand the admin pane to full screen, and like to work with the pages structure in this full screen mode. Reloading happens without any notification and all of sudden, for instance, while you are moving a page from one branch to another.
What are the reasons behind the reloading of the admin pane? Is it a bug of a feature? Is there a way to disable the reloading?
django-cms==3.0.14

@otg-sandrey there is no autoreload for the sidebar panel. does any message appear in the browser console?

@otg-sandrey can you provide us with additional Information such as browser and system version? As @yakky mentioned, this should not be the case. Eventually some timeout is behaving bad or there is a conflict with an addon installed within the browser.

I can't reproduce the problem in my system but end users keep complaining. Will get more information shortly.
Are there any updates notifications sent from the server to a web browser where the sidebar panel is open? Which might force the admin UI to refresh the sidebar because somebody else is changing the site pages structure?

He/she click the site name at the top menu, and chooses "Pages".

So I'm assuming we are talking about the sideframe. If the user moves the page that is a parent of the current page (or the current page) in the tree (so path of the page the user have currently opened has changed) then the page will reload with this new url, in turn reloading the page tree in the sideframe.
E.g. I have this tree:
/foo
    /bar
        /baz
/xyz

and i'm currently on /foo/bar/baz. if the bar/baz branch is moved onto /xyz we redirect on success (because the url we are currently on doesn't exist anymore).
This is the only case I remember where we reload the page tree. However in order to get this "redirect" signal you have to explicitly trigger a successful move.
the code that triggers the check https://github.com/divio/django-cms/blob/develop/cms/static/cms/js/modules/cms.changelist.js#L243
and then it goes here https://github.com/divio/django-cms/blob/develop/cms/static/cms/js/modules/cms.base.js#L79

Can the end user clear their localStorage eventually and try again @otg-sandrey. A good advise is also to disable browser addons as they might interfere.

This seems to be fixed in 3.2 as we also did improvements on the iframe reloading.


graphing not working?

Weights and Biases version: 0.4.24
Python version: 2.7.12
Operating System: linux

Description
I'm using  WandbKerasCallback() but I'm not getting a graph or I'm only getting a single point on the graph.  Weirdly, the point moves around inside a single epoch.
https://app.wandb.ai/l2k/simple-test/runs/q0ji253u

I think this went away with recent changes.


UI Feature Request - Trip Meter

As a driver who regularly makes 1000+ mile road trips using OpenPilot, I often find myself curious about how much of the trip OpenPilot was assisting me. It would be great if the system included a "trip-meter" which tells users the breakdown of miles driven using assistance vs manual driving.
The trip-meter would work similar to an odometer trip-meter; the user could create a new trip at any time and have two active trips (a and b) at one time. The trip-meter would be slightly more advanced though, as it would show both the overall miles driven as well as the percentage of distance driven with assistance for each of the two trips.

Trip
Total Miles
Miles with Assistance
Assistance %
Action

A
500
405
81%
(reset)

B
1200
864
72%
(reset)

Closing this as it's not an issue. Feature requests can be discussed in the #feature-requests channel in the community Discord.


Add LineUtil.clipSegment docstring

Hi and thanks for making the docs more complete!
For clipSegment, it looks like the return type shouldn't be void, it returns the clipped segment points, and the return value is important, see https://github.com/Leaflet/Leaflet/blob/master/src/layer/vector/Polyline.js#L239.

Opps, totally missed the one-line return values. What do you think about opening these up for readability as well?
if (!(codeA | codeB)) { return [a, b]; }

if (codeA & codeB) { return false; }

would become:
if (!(codeA | codeB)) {
    return [a, b];
}

if (codeA & codeB) {
    return false;
}

Additionally, consistent return types would be good. Returning an empty list [] instead of false would still be falsy in the if (!segment) check. Then the return type would be Point[] instead of Point[]|boolean

FYI empty arrays are truthy.
!![] // true

Ahh, of course, you're right. In that case, ignore that second thought.

Updated with correct return types and expanded return statements.


Adding inactive hds/ucn obs post-processing

Post-process obs in inactive/dry cells to prevent phi blowing up. - this is dodgy ground....
This commit just adds the post-process capability to the timeseires obs (kij_dict) and uses the value in the layer below as the observation value (for now).
Post-processed obs are prepended with 'pp', the original observations remain unchanged.
TODO. Add method to kperk obs.
TODO. Add alternative options to just grabbing the layer below (zeroing, closest active/non dry cell.)
TODO. Fix anything that might cause things to break

Coverage increased (+0.03%) to 80.684% when pulling e52bf0084f50af79792677edbcbec7fcab86422b on briochh:develop into 7ea4ff739c245cb5930e60b23a1ed9dfd91bb15d on jtwhite79:develop.


ROX-11274: Increase no output timeout for e2e test

Description
Circleci has 10m timout on output after it job is cancelled.
This PR increases this timeout to 15m to allow single test to fail and be retried.
Refs:

https://github.com/stackrox/stackrox/commit/4cd1f7d0a8b5142c6ae346f43a62858c720fe980

Testing Performed
CI

Current dependencies on/for this PR:

master

PR #2125   👈

This comment was auto-generated by Graphite.


Automating Empire with resource scripts

Hey!
Whats its all about?
Wrote a class which can automate empire with resource scripting.... initially we thought to make a elif condition in main empire file but later i wrote a whole new class and called it in empire main file cos i dont find conditioning logically correct in perspective of future development although it works as compared to what i did now.
The main problem we're facing is, empire executes only very first command in rc script and doesn't proceeds further to another one and that initial command should also be listeners/agents which are mentioned in cmdloop() func else it wont work..

(screenshot of idea of making a condition)
Tho my code is not so big and a bit buggy too cos i wasn't able to complete it due to shortage of time :)
but you can have some idea of whats cooking in this idiot's head lol :P
How to run this mess?

save autoempire.py in lib/common
replace main empire in zip with one which you use for a while .. it doesn't have much changes except for calling autoempire class :)
create a rc file with some native commands of empire (listeners/agents)
./empire --resource file.rc

Doubt
can 2 empire instance execute at a time? cos this class code pops up some db related error which im not able to solve... rest code speaks more than theory :)

(screenshot after making a separate class)
You can DM me on twitter anytime :) @bofheaded
Idea by Chaitanya Haritash [@bofheaded] and Chris Malls [@vvalien]
Code => autoempire.zip

Great Idea but, code needs to be working and stable before we commit anything.

im working on it, ill surely come up with something in couple of updates :) you can close it np


LHN- Message does not display correctly in LHN

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Issue found when executing PR https://github.com/Expensify/App/pull/16380
Action Performed:

Go to staging.new.expensify.com
Open any chat
Send & as a message
Verify the text sent shows & and not &
Check LHN

Expected Result:
Message displays correctly in LHN
Actual Result:
Message does not display correctly in LHN
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation

https://user-images.githubusercontent.com/93399543/227728281-e582f31d-63f8-4f04-8e17-e4adac9efb58.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Triggered auto assignment to @laurenreidexpensify (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@bernhardoj @yuwenmemon @s77rt it seems like this PR missed the LHN last text message. Could you please take a look?

This is actually a dupe of this issue here https://github.com/Expensify/App/issues/15920. It's indeed related to the PR, but this issue has other root cause that we agree to handle it separately https://github.com/Expensify/App/issues/15508#issuecomment-1478007471.

@luacmartins This is unrelated to that PR. LHN last message will be fixed here https://github.com/Expensify/App/pull/15340

Sounds good! Thank you both!


[Accordion] Expanding other grids of the row

Only Grid coloumn should expand i do see blank space in the other columns , is there any fixes for this issue?

It doesn't look like this bug report has enough info for one of us to reproduce it.
Please provide a CodeSandbox (https://material-ui.com/r/issue-template-latest), a link to a repository on GitHub, or provide a minimal code example that reproduces the problem.
Here are some tips for providing a minimal example: https://stackoverflow.com/help/mcve


not working on yosemite for me

I'm trying to use QuickRadar on Yosemite (DP 3), But can't get it to work.
I tried the latest build from the development branch. The status item works. When I click "preferences" in the menu, the frontmost window looses focus, but no settings window appears. When I click "new radar", the window for creating a new radar briefly shows, then disappears again.

Seems to be working fine for me on the release builds. @Ahti is this still an issue?

Seems to be working fine for me on the release builds. @Ahti is this still an issue?

I didn't try submitting anything, but the windows open as expectefd :+1:
(Sorry for taking so long to respond :sweat_smile:)


Fix typo of website in README.md

This is a simple typo fix that changes webstie to website in the README.md file.

Thank you!


[question] How to set weekStart without localization?

I am trying to find a way to set weekStart to Monday without using localization.

What's wrong with using localization?

Good question,
If I want to start week on  Saturday instead of having just weekStart={6} i have to:
import locale from "dayjs/locale/en";
locale.weekStart = 6
<MuiPickersUtilsProvider utils={dayjsUtils} locale={locale}>

But when I take a better look to be honest, you are completely right. There is nothing wrong with using locale as it covers most of the cases. For these exotic cases it's perfectly fine. I was too hasty.

 Material-UI default locale is en-US, so I would expect the first day of the week to be Sunday (en-US), not Monday (en-GB). http://chartsbin.com/view/41671.

I don't know enough to triangle the root issue. It could be an issue with dayjs that doesn't set weekStart correctly. It could be an issue with how we use dayjs or how you use it. Do you have a reproduction?
I think that @dmtrKovalenko will be able to 💡 us.

Miss-understanding, I wrote Saturday not Sunday so it is ok behavior. It was better that I have picked Wednesday as an example due to possible confusion issues. I think you can close this one.


Prepare for Uint8List SDK breaking change

A recent change to the Dart SDK updated HttpClientResponse
to implement Stream<Uint8List> rather than implementing
Stream<List<int>>.
This forwards-compatible change updates calls to
Stream.transform(StreamTransformer) to instead call the
functionally equivalent StreamTransformer.bind(Stream)
API, which puts the stream in a covariant position and
thus causes the SDK change to be non-breaking.
https://github.com/dart-lang/sdk/issues/36900

@tvolkert thanks for your commits but ci failed, would you pls take a look and fix them and update commits in this pr?

@hedzr the errors are all in code that I didn't touch.  It looks like the errors are happening at tip-of-tree as well.

en, en, yes, these codes are too old and waiting for fresh.
thank you.


Suggestion: Replace jwk with Base64-encoded certificate

Instead of placing the certificate in a JWK (where nothing else is represented), we might as well just represent the signer certificate as a Base64-encoded string. That's simpler and we don't have to create incomplete JWK-objects.

Done in https://github.com/eu-digital-green-certificates/dgc-testdata/pull/4/commits/67c4ada5309dc8d910a2ab9dc550de4b0b8343c9


Missing image files

I've installed it via bower. I'm using whitenoise in Django to compress the assets, however whitenoise complains that some image files are missing. I looked at the bower_components directory and indeed some file are missing:
Post-processing 'bower_components/startbootstrap-sb-admin-2/vendor/datatables-plugins/dataTables.bootstrap.css' failed!

Traceback (most recent call last):
...
whitenoise.storage.MissingFileError: The file 'bower_components/startbootstrap-sb-admin-2/vendor/images/sort_both.png' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0x7f40a6cd86d8>.

The CSS file 'bower_components/startbootstrap-sb-admin-2/vendor/datatables-plugins/dataTables.bootstrap.css' references a file which could not be found:
  bower_components/startbootstrap-sb-admin-2/vendor/images/sort_both.png

Please check the URL references in this CSS file, particularly any
relative paths which might be pointing to the wrong location.

Here is my bower.json:
{
  "name": "",
  "authors": [
    ""
  ],
  "description": "",
  "main": "",
  "license": "MIT",
  "homepage": "",
  "ignore": [
    "**/.*",
    "node_modules",
    "bower_components",
    "./transitnode/static/bower_components",
    "test",
    "tests"
  ],
  "resolutions": {
    "font-awesome": "~4.6.3",
    "startbootstrap-sb-admin-2": "^3.3.7"
  },
  "dependencies": {
    "startbootstrap-sb-admin-2": "blackrockdigital-startbootstrap-sb-admin-2#^3.3.7"
  }
}

Did I missed something?

same issue here

When will this be fixed. On each website call, my logfiles grow larger and larger due to those missing css files.


Build 8.1.1 release candidate

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)

@conda-forge-admin, please rerender

@jakirkham I merged this PR, but there's no sign of it building the packages.  I did an empty push to rc to try to force it, but still nothing.

Weird. Not sure why that happened. Manually started a new CI build

Thanks!  Unfortunately, all the builds are failing when trying to solve the environment.
The reported errors are:
- Encountered problems while solving:
-   - nothing provides requested cuda-nvcc_linux-64 11.8.*

Thanks for letting me know Peter! 🙏
There are certainly a lot of failures that look rather odd, but it also appears there are quite a few builds that pass
What is particularly unusual is the failures are mostly with Linux x86_64 on CUDA 11.8 where cuda_compiler appears to be set as nvcc, which should result in using nvcc_linux-64, but instead cuda-nvcc_linux-64. Am not sure where that setting is coming from if not the variant files. Have noted a failing and passing build for Linux x86_64 on CUDA 11.8 above. Both set cuda_compiler to nvcc so both shouldn't see the issue (yet they do)
Somewhere cuda_compiler is changing to cuda-nvcc. Not entirely sure where that would be if not the variant files

cc @jaimergp (in case you have any insights on what is happening here)

Possibly I made a mistake in manually resolving all the conflicts between the main and rc branches?  There were a lot of them, and it took quite a long time.  But the build passed before I merged the PR.  (Question for @jaimergp: is it really necessary to have separate main and rc branches?  It means a painful manual merge every time we switch between them.)
Since those are all generated files, can we just tell it to regenerate them without changing anything else?

Yes, it was an issue with your manual merge and push. This is why we require everything to be done in PRs instead of pushing to branches manually.

No, you pushed f132dc2cb82fc4806640f0365e058effbf0b2b35 without a PR

That got commit was the problematic one

That's because it failed to build when I merged the PR.  The instructions @jaimergp wrote up said that if it fails to build, the solution is to force it with a direct push to the branch.  If there's a better way of doing it, I'd love to know what it is.

Only use a empty commit and push if the builds don't start. Do not make any functional changes outside of a PR.

I didn't make any functional changes outside the PR.  My intent was to use an empty commit.  But like I said above, every time we switch branches we end up with a horrible manual merge that is very difficult to do correctly.  That's why I'm asking whether there's a way to avoid having to do that?


Check in updated swagger API contract for checks to influxdb

Swagger API contract needs to be in influxdb master in order to generate types for influxdb js client.

It seems like the alerts + notifications work will generate a steady stream of API changes, and it would be exhausting to have each change go through the whole cycle:

Checkout client
Regenerate swagger
Open client PR and get it reviewed
Merge client PR
Publish new version
Open PR in InfluxDB to integrate new client version + get it reviewed

This might be a good time to rethink this workflow. We talked at retro recently about moving the client back into the influxdb repo, since it's so painful / slow to keep it separate.
Also somewhat unrelated, but the types generated by openapi-generator are really poor—especially when it comes to OpenAPI enum types, of which there are many in the alerts + notifications API. Since we rely on types so much now for correctness and to catch breaking changes, I think it would be worthwhile to see if we can improve the type generation. I spiked on a OpenAPI spec to types generator a while back and it seemed pretty straightforward.
@ebb-tide @121watts Thoughts?
Connect https://github.com/influxdata/influxdb/issues/14285

@chnn I would love to move the client into influxdb.  The problems it solved are outweighed by the costs of its maintenance.  Are you suggesting rolling our own types generator based on the OpenAPI spec?

Are you suggesting rolling our own types generator based on the OpenAPI spec?

Yep. I think there's two pain points right now:

We generate the client from the API spec in a separate repo, which complicates our workflow
The API generation isn't very good, so we (shoddily) wrap the generated output with handwritten types and utilities

I think our own generator would solve #2 only, but it is by no means necessary for solving #1.


Added changeFullname Resolver

changeFullnameResolver added
Tests will be committed

@hazardemircan Hey, I didn't run your code yet, I just looked through it. I think I kind of understand what you are trying to do. But can you still explain a little bit why we you loginInfo to change the fullName so that there is no confusion?

@hazardemircan Hey, I didn't run your code yet, I just looked through it. I think I kind of understand what you are trying to do. But can you still explain a little bit why we you loginInfo to change the fullName so that there is no confusion?

I couldn't get the userId  from  the session , that is why.

@hazardemircan You should be able to definitely. Did you install Redis and make sure it's up and running?

@hazardemircan You should be able to definitely. Did you install Redis and make sure it's up and running?

I'll try again now, probably problem was Redis, thanks

@hazardemircan You should be able to definitely. Did you install Redis and make sure it's up and running?

@d-e-v-esh Hey i just checked the session and after login or register; session do not contain userId. Am i missing something, i would like to get your help. If i'm not missing something
Additionally logout mutation don't work If i'm not missing something, you may want to check.
Thanks...
1. Login Mutation

2. redis-cli

3. changeFullName Mutation

@hazardemircan Isn't this the userId?

@hazardemircan Isn't this the userId?

this was from login mutation, below section when i console.log(req.session.userId) in changeFullname mutation

@hazardemircan Isn't this the userId?

this was from login mutation, below section when i console.log(req.session.userId) in changeFullname mutation

@d-e-v-esh i can't get userId in changeFullname

Ohh, so userId is not available in changeFullName?

I see

Ohh, so userId is not available in changeFullName?

Also logout doesn't work maybe because of this

I know why the logout mutation isn't working. You need to set up Apollo Server cookies. For that you need to go to settings in Apollo Studio, turn on “Include Cookies” and add a new shared header with header key as x-forwarded-proto and header value as https.

@hazardemircan
You should be easily able to execute the login and logout Mutation.

@d-e-v-esh i can't get userId in changeFullname

@hazardemircan You didn't import req at line 149 in the userResolver file. That's why you can't access userId. You can see how it is imported in other Mutations.

@d-e-v-esh oh, i didn't knew that. I will commit today for sure.

Yaa, I also didn't think to put all this in the docs. I will make a list of all these things and put it in the README.md file so that other people won't have this problem 👍


Ingress Gateway Full Reload Causing High CPU Usage When Adding or Removing Activator from the Path

We have observed that every time the activator is added or removed from the path it causes Istiod to do a full config push to the ingress gateway. This full push is causing lots of churn and a large CPU utilisation on the ingress gateway and Istiod pods, especially in large clusters with lots of Knative apps which are constantly being added and removed from activators.
Expected
When Knative adds or removes an activator from the path Istiod should do an incremental update of the Ingress Gateway that only includes the changed routes.
Actual
Istiod does a full push because the service accounts have changed (https://github.com/istio/istio/blob/a4ef415822d31c0c79fa3a7267a0e83376f1717f/pilot/pkg/xds/eds.go#L166-L170):
info	ads	Full push, service accounts changed, test-app-new-00006.headless-customer.svc.cluster.local

Turning on debugging in Istiod we can see that the service account is constantly switching between the deployment SA (customer-workload) and the Knative controller SA (controller).
ads	Updating service accounts now, svc test-app-new-00006.customer.svc.cluster.local, before service account map[spiffe://cluster.local/ns/customer/sa/customer-workload:true], after map[spiffe://cluster.local/ns/knative-serving/sa/controller:true]

Steps to reproduce

Create a GKE cluster with pod security policy enabled (I'm not 100% sure if this is related but it is how our clusters with this issue are setup).
Install the Istio (I have reproduced this on Istio 1.5.6 and 1.9.1) and Knative (reproduced on 0.20.1 and 0.23.0).
Reduce the global target-burst-capacity in config-autoscaler to "1" to make it easier to get the activator to be added and removed from the path.
Deploy the following app:

apiVersion: serving.knative.dev/v1
kind: Service
metadata:
name: test-app-new
namespace: customer

spec:
template:
  metadata:
    annotations:
      autoscaling.knative.dev/target: "3"
      autoscaling.knative.dev/maxScale: "10"
  spec:
    serviceAccountName: customer-workload
    containers:
    - image: gcr.io/knative-samples/helloworld-go

Monitor the Istiod pod logs are the app transitions between serve and proxy mode to see it doing a full reload each time.

This sounds more like an Istio issue? cc @howardjohn
To add more context, Knative simply switches the k8s Endpoints of a k8s service from user's pod endpoints to activator pod endpoints when adding activator into the request path.

@diarmuidie which Istio version did you test with?

@diarmuidie which Istio version did you test with?

I have reproduced this on Istio 1.5.6 and 1.9.1

Its not really an Istio bug, more of a expected behavior of Istio (keeping the full list of all service accounts of the service in sync) that happens to be extremely slow in this case. Due to how Envoy is configured, updating service accounts list is very expensive. So with knative swapping it so often, we end up with a lot of full pushes which are expensive. In the long term we can make this somewhat cheaper with delta XDS (send only the cluster changed, instead of all of them), but its a few releases out. In the short term, I don't have any great suggestions


Show device info when you tap callout info button

This PR adds a new "(i)" button on the right-hand side of map pin callouts. When you tap this button it shows you the device info view.

This closes #14

Sorry for delay. I was attending Google I/O conference. Didn't have time to review the code.
Why does the diff show my changes?

...I don't know why the diff shows your changes. I tried to merge changes from your repo back to mine for a clean merge. That's where your changes came from. I'm not used to working with forks, and it looks like I've been doing the merging of upstream changes wrong. I'm not sure how to fix it, sorry.

Not sure why it happened. Possibly you haven't marked something as merged. Try to merge from upstream again (see GitHub docs).

You're correct. I was trying to use the GitHub desktop app to do the merge, it seems this doesn't work properly. I did a merge using the command line and it fixed it.

Merged. Thanks.
I don't have access to my Mac at the moment, so I couldn't check if the app actually works correctly. I hope it does. Code looks good.


Rename integration to not conflict with HA core apsystems integration

Since version 2024.6, HA has a APSystems integration (which is quering directly micro-inverters) and "complains" this extension is shadowing the "core" one.
It would be a good idea to rename this extension to prevent this conflict.

First off it should be theirs that renamed theirs as is new and this one has been there long.
Second of, you should only use one of them, there should newer be a need for both.
Now that said, i will look into if i can easy do this and what it will do or it will break everything for everyone....

i have renamed and tested, but i have not pushed yet.. this is cause it will break everything you have setup, as when it changes, it will change the device id and there for all places you have set it in, in graphs and others will have to be fixed... i will push it later though


Use Marathon's Events Endpoint

Marathon has a new server-sent events endpoint in 0.9. It would simplify configuration to just open a connection to Marathon instead of configuring Marathon to push events.

+1


Feat: Deno support

I'm an avid supporter of Deno, and I LOVE using upstash with Deno. It's very easy to do with the built in fetch function.
Support for deno runtime, either though a mod.ts file exporting the main methods or some interop script to remove the fetch import would both work.
I would be willing to work on this if needed.

Hi @c43721
100% agree: deno is great, unfortunately we had some issues with compatibility.
I had written the kafka client with deno at first (See this commit. However we were not able to get it running on special platforms such as cloudflare workers because the shims created by dnt did not work.
Did you try https://esm.sh/@upstash/redis? It's an automated tool to make it deno compatible.
If that works I would just update the readme for now.
Fetch dependency:
I'm not sure on the timelime when fetch will be no longer hidden behind an experimental flag in nodejs, but at that point we can also remove that dependency and it should be super easy, because we no longer have any prod dependencies.
Ideally we write it in deno and then convert and package to npm but we can also try a temporary workaround the other way.
I'm not exactly sure what is needed, I
Can you create a pr with your suggestions and we'll work out any issues in cloudflare or other platforms from there?

Thanks for the info! I'll have to look into this another time, but I will certainly try to attempt a PR at this when I get some free time.

Just tried to use esm.sh but I'm getting lots of errors and I am not sure why. Looks like it's not as easy as I thought.
 deno run --allow-all ./main.ts
Download https://cdn.esm.sh/v67/<EMAIL_ADDRESS>Check file:///Users/andreas/github/upstash/upstash-redis/examples/deno/main.ts
error: TS7030 [ERROR]: Not all code paths return a value.
function slowCases(enc: string): TextEncodings | undefined {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/_utils.ts:87:34

TS6133 [ERROR]: 'isDeepEqual' is declared but its value is never read.
function isDeepEqual(val1: unknown, val2: unknown): boolean {
         ~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/internal/util/comparisons.ts:48:10

TS7029 [ERROR]: Fallthrough case in switch.
    case "string":
    ~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/internal/util/comparisons.ts:501:5

TS6196 [ERROR]: 'GenericFunction' is declared but never used.
type GenericFunction = (...args: any[]) => any;
     ~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/internal/errors.ts:73:6

TS7030 [ERROR]: Not all code paths return a value.
function get<T>(obj: Record<string, T>, key: string): T | undefined {
                                                      ~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/flags/mod.ts:68:55

TS7030 [ERROR]: Not all code paths return a value.
  getOwnPropertyDescriptor: (_target, name) => {
                            ~~~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/_process/process.ts:43:29

TS7030 [ERROR]: Not all code paths return a value.
): string | undefined {
   ~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/string_decoder.ts:100:4

TS7030 [ERROR]: Not all code paths return a value.
): string | undefined {
   ~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/string_decoder.ts:125:4

TS7030 [ERROR]: Not all code paths return a value.
): string | undefined {
   ~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.125.0/node/string_decoder.ts:143:4

Much thanks for your support in this! I'll be looking forward to using this soon!!!


implement provider.api.rpc.engine.createBlock

not necessary for functionalities, but some bodhi tests use it, so it's a nice to have for bodhi compatibility

we have dev_newBlock already. I guess we can alias it to be bit more compatible with existing scripts using manual seal

I might need help with this - How can I issue the RPC call to fast-forward the chain? I do not see an option on Polkadot-JS UI.  https://github.com/AcalaNetwork/chopsticks/issues/71 ?

polkadot.js apps doesn't have good support of custom/known RPC so you will need use some other tool to make the RPC call.
I am currently using Postman but there are many good alternative tools available for making WS RPC calls.
For fast forward, you can do this
{
  "id": 2,
    "jsonrpc": "2.0",
    "method": "dev_newBlock",
	"params": [{"count": 10}]
}

Note that due to #83 it is still going to take few seconds to build each block

@DrW3RK you can use polkadotjs/app to trigger rpc call like this


Question: Live reloading of custom config

Hello,
I am building an admin dashboard for my app.
This involves manipulating the settings file. What I currently do is use this wrapper that merges the framework-specific config and secrets with what can be read by a standard edn reader since I don't want to bother processing the values from all the fns returned by a crude use-aero-config call, plus it's a little bit more secure to keep the part of config that can be manipulated over HTTP in a separate file.
(defn load-edn
  "Loads edn from an io/reader source (filename or io/resource)."
  [source-file]
  (try
    (with-open [r (io/reader source-file)]
      (edn/read (java.io.PushbackReader. r)))
    (catch java.io.IOException e
      (log/errorf "Couldn't open '%s': %s\n" source-file (.getMessage e)))
    (catch RuntimeException e
      (log/errorf "Error parsing edn file '%s': %s\n" source-file (.getMessage e)))))

(defn use-custom-config [system]
  (let [base-config (biff/use-aero-config system)
        custom-config (load-edn "resources/user-config.edn")
        merged-config (merge base-config custom-config)
        ]
    (merge system merged-config)
    )
  )

(def components
  [use-custom-config
   biff/use-xtdb
   biff/use-queues
   biff/use-xtdb-tx-listener
   biff/use-htmx-refresh
   biff/use-jetty
   biff/use-chime
   biff/use-beholder])

(defn start []
  (let [new-system (reduce (fn [system component]
                             (log/info "starting:" (str component))
                             (component system))
                           initial-system
                           components)]
    (reset! system new-system)
    (generate-assets! new-system)
    (log/info "System started.")
    (log/info "Go to " (:biff/base-url new-system))
    new-system))

Then the data is processed by the appropriate endpoint that backs up the old file and overwrites the old one.
(defn save [ctx]
  (let [params (transform-params (dissoc (:params ctx) :__anti-forgery-token))
        existing-settings (load-edn "resources/user-config.edn")
        updated (into (sorted-map-by compare-keys) (incremental-update existing-settings params))
        ]
    (spit "resources/user-config.edn.bak" (str/replace (str existing-settings) #", " " \n"))
    (spit "resources/user-config.edn" (str/replace (str updated) #", " " \n"))
  {:status 201
   :body "Settings saved!"
   })
  )

The settings changes are visible after the app is restarted, but I want to be able to reload the context map so that it 'has' the new values without restarting (so that my dashboard GUI isn't just a glorified text editor). Can I achieve that without resorting to a blue/green deployment?
PS. fwiw a reload triggered by a watched file modification does not affect the loaded configuration.

There are a couple ways you could go about this. First, just to double check: do you definitely want the settings to be stored in an edn file, or could you just put them in the database? You could also add an import/export feature into the admin dashboard that lets you upload/download edn files.
If you do want to store the dashboard settings in an edn file, one option would be to store them in an atom:
;; in your main namespace
(def initial-system
  {...
   :com.example/dashboard-settings (atom {})})

;; in your application namespaces
(defn save [{:keys [com.example/dashboard-settings] :as ctx}]
  (let [updated ...]
    (spit ...)
    (reset! dashboard-settings updated)
    {:status 201
     :body "Settings saved!"}))

(defn my-handler [{:keys [com.example/dashboard-settings] :as ctx}]
  (let [{:keys [some-setting]} @dashboard-settings]
    ...))

(and then also have use-custom-config populate the atom on startup)
Another option is to provide a custom value for :biff/merge-context-fn:
(defn read-custom-config []
  (edn/read-string (slurp "resources/user-config.edn")))

(defn merge-context [ctx]
  (-> ctx
      (biff/assoc-db)
      (merge (read-custom-config))))

(def initial-system
  {...
   :biff/merge-context-fn #'merge-context})

By default, that function just does a biff/assoc-db call which adds the :biff/db value to your context map so you don't have to do it yourself. Biff calls that function in various places, basically whenever it's about to pass ctx to your application code. e.g. the use-jetty component calls :biff/merge-context-fn before it passes the request to your ring handlers: https://github.com/jacobobryant/biff/blob/a1d53efdab2046134575b71ed35a51fbcd212600/src/com/biffweb/impl/misc.clj#L76.
so if you have merge-context add the custom config to your context map, then it'll run every time you get a new request. It would be basically the same as writing some middleware that merges the custom config into incoming requests. The downside of course is that you're then reading this file a lot more than you have to. So I'd probably modify read-custom-config so that it caches the result based on the file's modified time, something like:
(let [cache (atom {})]
  (defn read-custom-config []
    (let [last-modified (.lastModified (io/file "deps.edn"))
          {:keys [config cached-at]} @cache]
      (if (= cached-at last-modified)
        config
        (:config (reset! cache {:cached-at last-modified
                                :config (edn/read-string (slurp "resources/user-config.edn"))}))))))

The :com.example/dashboard-settings (atom {}) approach is simpler IMO, but a benefit of the merge-context approach is that you don't have to make sure you update the atom whenever you update the config. e.g. you could even update the config via a text editor and your app would immediately pick up the changes.

Thanks a lot! I will check this out.


Refactor pagination CSS to use mobile-first approach

The new Extracurricular UI takes a mobile-first approach to it's CSS architecture, meaning all default styles (CSS not in a media query) are the mobile styles, and anything inside a media query are the styles for larger devices. This is beneficial because mobile device browsers won't have to parse anything inside a media query.
The pagination component, however, does not take a mobile-first approach. To resolve this Issue, the pagination media query should be inverted, and styles adjusted accordingly.

Can i take this one?

Go for it @ppsmirnov!  Thank you for getting involved 👍

Perhaps this issue can be closed since the related PR was merged @doomspork ?

Good catch @treble37 — sorry about that 👍


[BP-1.12][FLINK-20382][runtime] Fail hard when JobMaster cannot start scheduling of a job

Backport of #14251 to release-1.12.

Manually merged via c5188a1b36953c3cfb889c5866c4835cc3b5dcb5


[#632] Allow to convert entities to entity views - draft

Description
Attempting to understand how entities can be converted to views
Related Issue
[#632]
Motivation and Context
Would like to be able to operate on a domain entity, persist it with hibernate, then return a DTO by converting the entity, without having to manually build the DTO.

@danelowe I think it would be better to make ViewMapper#sourceType nullable and adapt the constructor to use com.blazebit.persistence.view.impl.accessor.Accessors#forEntityMapping(com.blazebit.persistence.view.impl.EntityViewManagerImpl, com.blazebit.persistence.view.metamodel.MethodAttribute<?,?>) based on the target attribute if the source type is null. This way you don't have to introduce new interfaces and can reuse the existing accessor logic.

@beikov I usually use Kotlin in preference to Java, so I'm not really sure if the way I'm dealing with nulls is correct, and 90% of this PR seems to be dealing with nulls.
As an aside, interop with Kotlin could be improved with Nullability Annotations, which would let Kotlin know which parameters are meant to be nullable. In this case, the change doesn't make anything nullable in the public api though.
Is there any convention in Java to indicate that the sourceType parameter is intended to be nullable?

And before I forget it, could you please also add a line in the CHANGELOG.md about this new feature i.e. add something like * Support for converting entities to entity views

@beikov I usually use Kotlin in preference to Java, so I'm not really sure if the way I'm dealing with nulls is correct, and 90% of this PR seems to be dealing with nulls.

Looks ok to me.

As an aside, interop with Kotlin could be improved with Nullability Annotations, which would let Kotlin know which parameters are meant to be nullable. In this case, the change doesn't make anything nullable in the public api though.

I'm open for contributions in this area if this helps you work with the API. So far, the value of this didn't justify the amount of work that is necessary for me yet. I think I prefer the JetBrains annotations, so if you want to work on this, use this dependency:
<dependency>
  <groupId>org.jetbrains</groupId>
  <artifactId>annotations</artifactId>
  <version>20.1.0</version>
  <scope>provided</scope>
</dependency>

Personally, I'd like to use non-null by default and annotate @Nullable.

Is there any convention in Java to indicate that the sourceType parameter is intended to be nullable?

Only through the annotations, but that's "just" a hint/contract for frameworks/IDEs. There are not guarantees by the language.

Merged via 7384ad172189ca4ce2de6cdf51d473b2e1ea0f86

Thanks a lot @danelowe! Awesome work :)

Thanks for the help @beikov


Integrate RoadRunner with Pinpoint driver

@Shadowwalker47 go through the sample code and see if anything else needs to be added


fix: AU-1697: Changes to the "Search for application" search view

AU-1697
What was done
The "Search for application" search view contains a "Show only the grants that can be applied for" checkbox, which is supposed to filter out any applications that a user cannot apply for. This filter was previously broken, since it only checked the value of the field_application_open field, which indicates if the application is open or not.
Now, using the "Show only the grants that can be applied for" checkbox, the applications are filtered in the following way:

field_application_open must be set to TRUE
field_application_continuous must be set to TRUE OR the current time must fall within the time range specified in  the field_application_period field.

How to install
Make sure your instance is up and running on the correct branch.

git checkout feature/AU-1697-node-application-open-fix
make fresh
make drush-cr

How to test

Login with an admin user and re-index the site at: /admin/config/search/search-api/index/search_index.
Now go to /en/application-search and search for applications with the "Show only the grants that can be applied for" checkbox checked. You should only be able the see applications that meet the criteria listed above.
Review the code.

field_application_open  pois näkymän ehdoista (vain continuous ja ajankohta vaikutta)
piilotetaan application_open kenttä käyttäjiltä
mietitään jos sen ottais pois kokonaan, ei uskalla samantien poistaa koska ei oo ihan 100% varmuutta ettei vaikuta muualle.

@jiisuominen Toteutin toivomasi muutokset ja päivitin pullarin kuvauksen 👍


Question for the parametrization

Thank you for the clarification for question #3. However, I still feel confused. Why this is the right way? What's the difference between this paper and Matern Gaussian processes on Riemannian manifolds(just the continuous and discrete way)? In the file torus.py(in the package GeometricKernels), the parametrization is as follows:
x = B.linspace(0, 2*3.14159, 101)
xx = np.meshgrid(x,x)
X = B.stack(*xx, axis=-1).reshape((-1, 2))

Would you like to point out where do I misunderstand? Or, the codes in the LieStationaryKernels already have 2\pi in function chi(self, x) makes them different? Thank you very much!

Yes, you are right. The only difference is 2\pi multiplication at TorusCharacter.  There are two equivalent ways to parameterize torus as [0,1]^n and [0,2\pi]^n. In the latter case characters  e^i<v,x> are used. In case [0,1]^n we should use e^2\pi*i<v,x>.

Thank you for your clarification.


New time entry bug - selected issue not saved

There is a bug in v1.3.0 beta when creating new time entry.
The selected issue from the list is not saved in redmine. Strange but the time entry update works fine.

Fixed in ea79361391fa69516ff94ee43bfb1d356c439b33


EurekaClientConfigurationRefresher & DiscoveryClient#refreshInstanceInfo concurrent execution

Describe the bug
As we know, when RefreshScopeRefreshedEvent is published, service instances perform deregister and register actions.
refer: EurekaDiscoveryClientConfiguration
deregister and register will call ApplicationInfoManager#setInstanceStatus to modify InstanceStatus.
protected static class EurekaClientConfigurationRefresher
			implements ApplicationListener<RefreshScopeRefreshedEvent> {

                 // ...

		public void onApplicationEvent(RefreshScopeRefreshedEvent event) {
			if (eurekaClient != null) {
				eurekaClient.getApplications();
			}
			if (autoRegistration != null) {
                                // deregister instance
				this.autoRegistration.stop();
				// register instance
				this.autoRegistration.start();
			}
		}
	}

But, the DiscoveryClient will also be modified InstanceStatus by schedule task.
void refreshInstanceInfo() {
            applicationInfoManager.refreshDataCenterInfoIfRequired();
            applicationInfoManager.refreshLeaseInfoIfRequired();

            InstanceStatus status;
            try {
                // get instance status
                status = getHealthCheckHandler().getStatus(instanceInfo.getStatus());
            } catch (Exception e) {
                logger.warn("Exception from healthcheckHandler.getStatus, setting status to DOWN", e);
                status = InstanceStatus.DOWN;
            }

            if (null != status) {
                // modify instance status
                applicationInfoManager.setInstanceStatus(status);
            }

    }

So, EurekaClientConfigurationRefresher & DiscoveryClient#refreshInstanceInfo concurrent execution causes concurrency issues
Step1 deregister instance then modify InstanceStatus to DOWN by EurekaClientConfigurationRefresher
// deregister instance
this.autoRegistration.stop();

Step2 get InstanceStatus from instanceInfo is DOWN by DiscoveryClient#refreshInstanceInfo()
// get instance status
status = getHealthCheckHandler().getStatus(instanceInfo.getStatus());

Step3 deregister instance then modify InstanceStatus to UP by EurekaClientConfigurationRefresher
// register instance
this.autoRegistration.start();

Step4 modify InstanceStatus to DOWN  by DiscoveryClient#refreshInstanceInfo()
// modify instance status
applicationInfoManager.setInstanceStatus(status);

If the execution order is as above, the service InstanceStatus changes to DOWN.

It is recommended that the operation of querying the shared variable first and then updating it be locked here, and this problem has not been reproduced after the lock is currently added. @OlgaMaciaszek Can you give a little advice?
    void refreshInstanceInfo() {

        applicationInfoManager.refreshDataCenterInfoIfRequired();
        applicationInfoManager.refreshLeaseInfoIfRequired();
        // need lock here
        synchronized (applicationInfoManager) {
            InstanceStatus status;
            try {
                status = getHealthCheckHandler().getStatus(instanceInfo.getStatus());
            } catch (Exception e) {
                logger.warn("Exception from healthcheckHandler.getStatus, setting status to DOWN", e);
                status = InstanceStatus.DOWN;
            }

            if (null != status) {
                applicationInfoManager.setInstanceStatus(status);
            }
        }
    }

Hello, @yuhuangbin, thanks for reporting the issue. Will take a look next week.

Hello, @OlgaMaciaszek , Is there a conclusion to this issue?

Looks like a bug.

This needs to be addressed within Netflix/Eureka DiscoveryClient. Have submitted a PR with a fix: https://github.com/Netflix/eureka/pull/1566.


reportMissingImports : Even if the module is successfully installed, a warning will still be displayed in the Error List window.

Describe the bug

Steps to Reproduce

Create a Flask Web Project.
Click Create virtual environment ( Make sure Flask was successfully installed ).

Expected behavior
After Flask is successfully installed, no errors or warnings will be displayed.
Additional context and screenshots

Logs

Output for Pylance in the Output panel

Info: (22500) Pylance language server 2024.9.104 (pyright version 1.1.382, commit e46efc6b) starting
Info: (22500) Server root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist
Info: (22500) Starting service instance "<default>"
Info: (22500) Starting service instance "FlaskWebProject1"
Info: (22500) No include entries specified; assuming \<default workspace root>
Info: (20716) Server root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist
Info: (20716) Pylance language server 2024.9.104 (pyright version 1.1.382, commit e46efc6b) starting
Info: (20716) Starting service instance "<default>"
Info: (20716) No include entries specified; assuming \<default workspace root>
Info: (20716) Auto-excluding **/node_modules
Info: (20716) Auto-excluding **/__pycache__
Info: (20716) Auto-excluding **/.*
Error: (20716) File or directory "\<default workspace root>" does not exist.
Info: (20716) No source files found.
Info: (20716) Background analysis(1) root directory: file:///c%3A/program%20files/microsoft%20visual%20studio/2022/preview/common7/ide/extensions/microsoft/python/core/pylance/dist
Info: (20716) Background analysis(1) started
Info: (20716) No include entries specified; assuming \<default workspace root>
Info: (20716) Auto-excluding **/node_modules
Info: (20716) Auto-excluding **/__pycache__
Info: (20716) Auto-excluding **/.*
Error: (20716) File or directory "\<default workspace root>" does not exist.
Info: (20716) No source files found.
Info: Un-registering request handler for 56a901cb-4729-46b9-8642-f8ca6c8fe651 failed.

@bschnurr This user also mentioned it still repros for them in the latest version. https://github.com/microsoft/PTVS/issues/7068#issuecomment-2401292820

@ttSpace any custom pylance settings?

@bschnurr My Pylance settings are default.

@bschnurr is there any way to add settings to Pylance in the pyproj file?

@ttSpace, can you share the .pyproj file and the folder structure (in which folders are your .pyproj file, src file and env folder located?)

I can repro it in today's build.

FlaskWebProject1.zip


Getting weighted search

Hi,
I have been playing around with Fuse for a few days now and I can't get weighted search to work. I have a needle array that looks like this:
Array
(
[1] => Array
(
[company] => Array
(
[name] => STARTUPLIFERS IN SWEDEN
[registrationid] => 55XXXX-XXXX
[id] => 1
)
),
[company] => Array
(
[name] => Google
[registrationid] => 55XXXX-XXXX
[id] => 1
),
[tags] => Array
(
[name] => Startup
)
)
......
[7992] => Array
(
[stopwords] => Array
(
[name] => Startup
)
)
...
So essentially an array with companies and I have added "stop words" in the array.
I have created my key array as follows:
'keys' => [
[
'name' => 'stopword.name',
'weight' => 1
],
[
'name' => 'company.name',
'weight' => 0.5
],
[
'name' => 'tags.name',
'weight' => 1
]
]
But when I search for the term "Startup" it does not matter how I weight my keys, the company STARTUPLIFERS is always the one with the lowest score. followed by my stop word that is a 100% match. Im using the other options for my query:
"tokenize" => true,
"matchAllTokens" => true,
"caseSensitive" => false,
"includeScore" => true,
"shouldSort" => true
It looks like this is a limitation perhaps in Fuse.js (Will try to replicate it in JS) as there is no way to force a "word boundary" search that would have helped solving this specific problem.

I replicated it in Fuse.js, and it's the exact same behavior. You're correct in that it seems to have to do with exact substring matches not being given a good score.
However, this is a problem that needs to be solved on the Fuse.js side and I encourage you to open an issue there.
It also seems like you're new to GitHub (welcome!) so I'd encourage you to get a little bit familiar with Markdown to format your issues. Especially creating code blocks would be helpful, as your code examples were not easy to read. ❤


New manual version updating and releasing scripts

Note: These scripts are more modular variants of the existing
scripts which are run by Travis; in a later commit, the Travis
scripts should be updated to only release SNAPSHOT versions and
not non-snapshot versions.

Changes Unknown when pulling ce75004b751b92c653ddabb690adc39fd3676482 on garrettjonesgoogle:master into ** on GoogleCloudPlatform:master**.

Sorry I'm being somewhat resistant to feedback, but this is mostly a copy of existing scripts, and I'm really just aiming to decompose a little for usability for some short term benefit.

@garrettjonesgoogle Understood, I wasn't sure how much was copied over.


[BUG] The launcher is flickering and displaying graphical glitches.

Describe the bug
My Hydra launcher is experiencing a bug that I can't quite identify. Whenever I interact with it, the launcher flickers a lot, disappearing and reappearing completely. It seems to be a graphical glitch that's only happening with this application. Does anyone know what it might be or how to fix it?
Steps to Reproduce
Just opening the launcher causes the issue. As soon as I open it, graphical errors start, and the entire launcher begins flickering.
Expected behavior
No response
Additional information and data
https://github.com/user-attachments/assets/8c4e2cad-b9bd-483f-8f06-a7cc736ad7f6
https://github.com/user-attachments/assets/aee484cc-72e0-4014-b388-802eac84e965
Operating System
Windows 11
Hydra Version
3.0.6-portable
Before opening this Issue

[X] I have searched the issues of this repository and believe that this is not a duplicate.
[X] I am aware that Hydra team does not offer any support or help regarding the downloaded games.
[X] I have read the Frequently Asked Questions (FAQ).

I activated g-sync but also restored the settings in my nvidia control panel, then it went back to normal.


Connection to SwellRT error

Using P2Pvalue/swellrt-showcase and current version of SwellRT (efec826), the connection seams to have problems:
Data is not sent to the server, being the info message of the form Sending data... (0/8/8)
I am not sure if it is related but, when refreshing, an atmosphere error is shown in console:
InvalidAccessError: A parameter or an operation is not supported by the underlying object

See https://github.com/P2Pvalue/swellrt/issues/25


core-js definitions are not fully injected with useBuiltIns: usage

Describe the bug
When using env: mode: "entry" with TypeScript and Promise.any, the output file should include not only promise.any module but also esnext.agregate-error module.
For reference: https://github.com/zloirock/core-js/issues/737 https://github.com/babel/babel/issues/10910
Input code
Promise.any([]);

Config
{
  "jsc": {
    "parser": {
      "syntax": "typescript",
      "tsx": false,
      "dynamicImport": false,
      "decorators": false
    },
    "target": "es2015"
  },
  "env": {
    "target": {
      "node": "10"
    },
    "mode": "usage",
    "coreJs": "3.17",
    "shippedProposals": true
  },
  "module": {
    "type": "commonjs"
  },
  "sourceMaps": true
}

Expected behavior
Considering the output file:
"use strict";
require("core-js/modules/es.promise");
require("core-js/modules/es.object.to-string");
require("core-js/modules/esnext.promise.any");
require("core-js/modules/es.string.iterator");
require("core-js/modules/es.array.iterator");
require("core-js/modules/web.dom-collections.iterator");
Promise.any([]);

It should also include require("esnext.agregate-error") according to https://github.com/zloirock/core-js/issues/737.
Version
$ yarn swc --version
yarn run v1.22.11
$ /Users/pan93412/Projects/check_env/node_modules/.bin/swc --version

@swc/cli: 0.1.49
@swc/core: 1.2.84

✨  Done in 0.24s.

Additional context
Thanks a lot! :)

Built-ins definition should be aligned with https://github.com/babel/babel-polyfills/pull/99

Built-ins definition should be aligned with babel/babel-polyfills#99

So, should we wait until it got merged?

Not necessary. In this PR also should be:

Removed *.typed-array.* methods from instance dependencies (they are in constructors dependencies)
Removed es.reflect.to-string-tag from Symbol.toStringTag dependencies (it's mover to global Reflect)
Added IteratorDependencies to instance every, filter, find , flatMap, forEach, map, reduce, some.

https://github.com/babel/babel-polyfills/pull/99 is merged.


Internet Explorer 9+ support

Hi guys, this is an excellent dock manager. The best I've seen so far. Did you support IE in the past? Is it just broken ? It seems to be broken in IE11, and IE10.
Thanks

It's working in IE11.
(at least the branch I use)

That's sad news... I hope working well in IE10...


(Main Stack): Upgrading from a version below 2.1.0 caused the loss of S3 notifications, and the logs from S3 buffer cannot be collected properly.

Describe the bug
Upgrading from a version below 2.1.0 caused the loss of S3 notifications, and the logs from S3 buffer cannot be collected properly.
Expected Behavior
After the upgrade, s3 notifications will not be lost.
Current Behavior
After the upgrade, the S3 notifications in the S3 buffer pipeline are lost, and the processor will not be triggered to parse the data.
Reproduction Steps
Ensure that the CLO Stack has been deployed with a version prior to 2.1.0.
Upgrade the Stack using a template version 2.1.0 or higher.
Possible Solution
No response
Additional Information/Context
No response
Solution Version
All versions prior to 2.1.0.
AWS Region. e.g., us-east-1
No response
Other information
No response

An emergency fix for this issue will be released in the upcoming 2.1.2 version.


Success fail metrics

The DataDog event system does not allow for counting and processing number of events in timeseries graphs. This will add a success and failure metrics for generating running percentages of chef-client success.

Looks good to me!


Support inline lists

Fixes #60.
P.S. Is the src/index.html file used anywhere ? Looks to be redundant with dist/index.html

Looks good, thanks!
I think it may be used by the dev tooling, but all of that is about to get phased out for an updated process. I'd like to get the builds out of the repo and to hook the build process up to generate standalone component builds.


Configuration in code rather than with UI

It would be great if it would be possible to provide settings with configuration file rather than in UI. For example, I'm working with monorepo with integrated Sanity studio in several websites that use same Sanity project Id, and I want to have a separate deploy button in each Studio, but right now if I add deploy button in one studio, it is displayed in all of them.

It also will allow to get rid of "Add project" button in production


Update sbt-release to 1.1.0

Updates com.github.sbt:sbt-release from 1.0.15 to 1.1.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.github.sbt", artifactId = "sbt-release" } ]

labels: sbt-plugin-update, semver-minor

Codecov Report

Merging #163 (833ef68) into main (a22cf5a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #163   +/-   ##
=======================================
  Coverage   70.00%   70.00%
=======================================
  Files           4        4
  Lines          80       80
  Branches        4        4
=======================================
  Hits           56       56
  Misses         24       24

Continue to review full report at Codecov.

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


Layers from local folder in QFieldCloud project

Hi,
is it possible to add static layers (which do not need to be edited) from the local folder to the QFieldCloud project? Some layers are "heavy" (in terms of MB/GB), but they are static, so there is no point adding them to the QFieldCloud project, because they will never have any changes therefore they do not need any sync, but it is useful to have them as a background layer for example.
Thanks.

Hi @DanasKaz, yes is completely possible by using the functionality of shared local dataset
https://docs.qfield.org/how-to/outside-layers/


[BUG] Filemanager odd sorting.

The Filemanager sorts alphanumerical, but the odd thing is the case sensitivity, so it is sorted like:
Aname
Applepie
Banana
anothername
avocado
bread
I would expect it to sort non case sensitive like:
Aname
anothername
Applepie
avocado
Banana
bread
Maybe there is an easy fix for this, because this is really not intuitive.

It's sorted by codepoint and in UTF-8 you first get all uppercase letters, then a few symbols, then the lowercase letters
Though it is without question not the most intuitive sorting for the average user
I just never noticed as everything i tested with always started on lowercase letters

It's sorted by codepoint and in UTF-8 you first get all uppercase letters, then a few symbols, then the lowercase letters
Though it is without question not the most intuitive sorting for the average user
I just never noticed as everything i tested with always started on lowercase letters


Dependabot doesn't observe config in dependabot.yml

Our repo is using the new dependabot config file
But when PRs are created, they are not using the rules defined there.
We would expect them to have the base branch to be development, and add the reviewers and assignees.
Examples:

https://github.com/getyoti/yoti-node-sdk/pull/216
https://github.com/getyoti/yoti-node-sdk/pull/214
https://github.com/getyoti/yoti-node-sdk/pull/213

Before 3 days ago it seemed like it worked fine, with the most recent example being - https://github.com/getyoti/yoti-node-sdk/pull/212
On the dependabot dashboard it all looks fine:

And the insights look OK too:

Another example - https://github.com/getyoti/yoti-node-sdk-sandbox/pull/44

These two screenshots are from different versions of Dependabot, the first screenshot is from the now shutdown dependabot-preview, and the second screenshot is from the GitHub-native version of Dependabot.
I realize this has been confusing, but since the former is now shut down, I'm going to assume this has been resolved, so I'm going to close out the issue.


Trapezoidal Quadrature Bug in BeamDyn

In BeamDyn, the number of quadrature points when using trapezoidal quadrature should equal
( Station_Total - 1 )*Refine - 1
but in routine SetParameters() of BeamDyn.f90, the number of quadrature points when using trapezoidal quadrature is set incorrectly using the number of key points for the first member
( kp_total - 1 )*Refine - 1
I guess this wasn't found before because in the NREL 5-MW example, kp_total = Station_Total.
Thanks go to Bonnie Jonkman of Envision Energy USA for reporting this bug.

The locations of the trapezoidal quadrature points are also based on the z-component of the key points, which is probably why the number of trap points is computed using the number of key points instead of the station_total (the underlying assumption seems to be that the stations are defined at the key points). I would expect the locations of these quadrature points to be based on the eta specified in the BeamDyn blade input file, but they are not.

@jjonkman The equations in the initial post have an incorrect minus sign. The corrected equation should be:
number_quadrature_points = ( Station_Total - 1 )*Refine + 1
and the buggy equation implemented in code is:
number_quadrature_points = ( kp_total - 1 )*Refine + 1.
In any case, this is currently implement as stated above in the openfast/dev branch at BeamDyn.f90 line 664. In fact, this update was included as a fix between v0.1.0 and v1.0.0.
Is there a definitive test to verify this bug and fix?

@rafmudaf -- I agree that the "-1" should have been "+1"; sorry for the original typo.
You can test this by putting together a BeamDyn model where Station_Total /= kp_total.  You could probably do this easily by eliminating some of the key points in the primary BeamDyn input file for the NREL 5-MW baseline blade i.e. the first 12 key points currently have the same twist, so, you could probably eliminate many of these from the file.

I've modified the 5MW BeamDyn model to have more stations than key points as @jjonkman suggested. In OpenFAST v0.1.0, which contains this bug, the loads are erratic and the solution fails to converge with this error:
 FAST_Solution:FAST_AdvanceStates:BD_GA2:BD_DynamicSolutionGA2:Solution does not converge after
 the maximum number of iterations

However, the same case in OpenFAST v1.0.0 completes the simulation with expected loads.

With the code modified as described above and a stable and expected solution, this issue looks fixed to me. @michaelasprague do you agree?

This looks to have been fixed in OpenFAST v1.0.0, so I'm closing this issue.


Building create-react-app with Typescript

I just tried out-of-box the pack builder and didn't work as I expected.
Steps:

Create a create-react-app
Add typescript
Create random component (npm run build works)
Add this configuration and install dependencies

  "@pika/pack": {
    "pipeline": [
      [
        "@pika/plugin-ts-standard-pkg"
      ],
      [
        "@pika/plugin-build-web"
      ]
    ]
  }

Run npx pack build

 @pika/pack build v0.3.4
[1/5] Validating source...
[2/5] Preparing pipeline...
      ❇  pkg/
      » tsconfig.json [compilerOptions.target] should be "es2018", but found "1". You may encounter problems building.
[3/5] Running @pika/plugin-ts-standard-pkg...
Error: Command failed: /home/tcabot/code/my-app/node_modules/.bin/tsc --outDir /home/tcabot/code/my-app/pkg/dist-src/ -d --declarationDir /home/tcabot
/code/my-app/pkg/dist-types/ --declarationMap false --target es2018 --module esnext

tsconfig.json(18,5): error TS5053: Option 'declaration' cannot be specified with option 'isolatedModules'.

    at makeError (/home/tcabot/code/my-app/node_modules/execa/index.js:174:9)
    at Promise.all.then.arr (/home/tcabot/code/my-app/node_modules/execa/index.js:278:16)
    at process._tickCallback (internal/process/next_tick.js:68:7)

I thought (as It said in the Readme) to work with all tsconfig options, right? :thinking:
btw, do you guys have any example with create-react-app with Typescript (including scss/css)? Thanks!

Hey! https://github.com/pikapkg/pack is for building packages (to be published to npm), and will most likely fail when run on an app like create-react-app.

Thanks for the response, I was trying to build a react-component library. I will have to find another way :)

That should be supported, but not with CRA unfortunately. it would be good to have an example repo of a React Component in https://github.com/pikapkg/examples

I could push the example after I make it work, right now I am bit stuck since I copied the default tsconfig.json from create-react-app --typescript give us
{
  "compilerOptions": {
    "target": "es5",
    "lib": [
      "dom",
      "dom.iterable",
      "esnext"
    ],
    "allowJs": true,
    "skipLibCheck": true,
    "esModuleInterop": true,
    "allowSyntheticDefaultImports": true,
    "strict": true,
    "forceConsistentCasingInFileNames": true,
    "module": "esnext",
    "moduleResolution": "node",
    "resolveJsonModule": true,
    "isolatedModules": true,
    "noEmit": true,
    "jsx": "preserve"
  },
  "include": [
    "src"
  ]
}

and changed
"isolatedModules": false,

since is was rasising this error:
tsconfig.json(18,5): error TS5053: Option 'declaration' cannot be specified with option 'isolatedModules'.

After skip this error I removed pkg/ folder and try again the command and it failed:

➜  tomeu-button3 npm run build

><EMAIL_ADDRESS>build /home/tcabot/code/tomeu-button3
> npx pack build --emoji true

@pika/pack build v0.3.4
[1/4] Validating source...
[2/4] Preparing pipeline...
      ❇  pkg/
      » tsconfig.json [compilerOptions.target] should be "es2018", but found "1". You may encounter proble
ms building.
[3/4] Running @pika/plugin-ts-standard-pkg...
      📝  pkg/dist-src/index.js [esnext]
      📝  pkg/dist-types/index.d.ts [types]
      » Linting with standard-pkg...
[4/4] Finalizing package...
Error: ENOENT: no such file or directory, open '/home/tcabot/code/tomeu-button3/pkg/package.json'

I thought every time I run pack build it will erase/generate the folder, but looks like it was updating it...
Now I am stuck in this step :sob:

Hi @tomtobac did you have any luck on trying to use create-react-app with @pika?

Hey @griiettner , no, I am sorry... I couldn't spend more time on it

Just to reiterate, publishing a CRA app as a library is out of scope for @pika/pack. CRA does a lot of magic under the hood, and most likely any changes you make to get @pika/pack working will break CRA.
Feel free to keep discussing. Closing just to signify that publishing a CRA app is not officially supported.


⚠ Bofrost.at has degraded performance

In bee57fa, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 817 ms

Resolved: Bofrost.at performance has improved in 52e254e after 6 minutes.


Using PythonCall with Distributed

Hello,
I would like to know which modification should I do to the following piece of code in order to make PythonCall compatible with Distributed.jl. The problem arises when I have more than one process.
 @everywhere begin
    pyimport("sys")."path".append("")
    # pushfirst!(pyconvert(Vector{String}, pyimport("sys")."path"), "")
    importLib = pyimport("importlib")
    stream = pyimport("stream")
    potentials = pyimport("potential_classes")
    u = pyimport("astropy.units")
    # importLib.reload(stream)
    # importLib.reload(potentials)
end

The output is:
ERROR: Python: Julia: an error occurred while setting an error
I guess I am making something wrong with the first line in the begin block. The second (commmented) line works with PyCall. If I avoid both lines, then the program doen't recognize the Python packages "stream".
Thank you very much.
Best

Hello, thank for your answer. I found out that there was an error in the astropy version I was using in the cluster. That is why I thought that it was a problem with distributed or slurm.
The line pyimport("sys")."path".append("") works well.


Allow dictionary of deliminatedproperties

Is your feature request related to a problem? Please describe.
Want to have a property be a dictionary of deliminated values
Describe the solution you'd like
Have property of deliminated values or restructure these properties in drivers to not be dictionaries.  We could write a new descriptor for these cases or modify how deliminatedproperty is being uses
Acceptance Criteria

[ ] handle properties that are dictionary of values that have min, max, and step restrictions

I don't think this is a need anymore


Revise packet creation to integrate with dashboard-based merger

Overview
This PR:

Updates _merge_docs to trigger a compile_packet DAG with the relevant values for identifier and attachment links.
Revises requests for merged documents to hit S3 directly, instead of our proxy file server.

Adds a data migration to re-save all packets to update their URLs accordingly.

Replaces MERGER_BASE_URL with two settings: MERGE_HOST and MERGE_ENDPOINT.

Checklist

[x] PR has a descriptive enough title to be useful in changelogs

Testing Instructions
Performed by @hancush:

Manually deploy the app and dashboard to staging, and build/push a staging tag for the app.
Shell into the server and save the 50 most recent event packets.

42 of the 50 packets built successfully, with most of the errors being transient 404s we can address by telling scrapelib to retry 404s. Outstanding issues:

https://github.com/datamade/councilmatic-document-merger/issues/1
https://github.com/datamade/councilmatic-document-merger/issues/2
https://github.com/datamade/councilmatic-document-merger/issues/3

Download the generated packets and confirm they look ok.

Handles #738

This has been running on staging for ~10 days. Looks like there have been ~75 merges with only 4 errors: 3 instances of "could not merge encrypted file" (https://github.com/datamade/councilmatic-document-merger/issues/2) and one with an invalid filename (https://github.com/datamade/councilmatic-document-merger/issues/3). Want to get a sense of whether encrypted filenames can be handled in the doc creation workflow before going down that rabbit hole, plan to bring up at next priorities.


[Enhancement] Navigation from/with ViewModel

Summary
from while I saw a suggestion about navigation with ViewModel From Xamarin Team "for sorry I don't remember where I saw it", but I told to myself why not?!
most of Xamarin Developer use Mvvm framework(Like prism, cross, etc) or create there own(like me) for navigation flow and some helper class, I can see XamainCommunityToolKit that will offer some amazing features but I will still need to use another framework or nuget to handle IOC container and Navigation so why don't add navigation from ViewModel and make it super Toolkit
API Changes
The following is some thoughts about the shape of this Service which will depend on IModal, INavigationService and BaseViewModel, for sure we can create totally new API from this as I didn't implement any of this

IModal: it will be the base container of pages, Basic Content Page, Navigation Page or TabbbedPage ..etc, and will use to navigate from and to it.

*INavigationService: will be an interface for all navigation flows
*BaseViewModel: will hold some basic property and method we need in ViewModel and will be base class for Navigation Service
    public interface IModal
    {
        object NavigationParameter { get; set; }
        string Name { get; set; }
    }

public class BasicModal : IModal
    {
        public BaseViewModel ViewModel { get; set; }
        public object NavigationParameter { get; set; }
        public string Name { get; set; }
    }

public interface INavigationService
    {
        Task SetMainModal(IModal modal);
        Task PopModelAsync(object parameter = null);
        Task PushModalAsync(IModal modal);
        Task PopPageFromNavigationModelAsync(object parameter = null);
        void RemovePageFromNavigationModalAsync<TViewModel>() where TViewModel : BaseViewModel;
        Task PushPageToNavigatetionModelAsync<TViewModel>(object parameter = null) where TViewModel : BaseViewModel;
        Task<bool> ChangeDetail(IModal modal);
        bool SetMasterPresentation(bool isPresent);
        void ChangeCurrentTabbedModal<TBaseViewModel>() where TBaseViewModel : BaseViewModel;
    }
}

    public class BaseViewModel : NotifiedObject
    {
        protected readonly INavigationService NavigationService;

        private volatile bool _isInitialize;
        private bool _isBusy = true;
        private volatile bool _isAppeared;
        private bool _isRefreshing;
        public bool IsRefreshing
        {
            get => _isRefreshing;
            set { _isRefreshing = value; OnPropertyChanged(); }
        }
        protected BaseViewModel()
        {
            NavigationService = LocatorService.Instance.Resolve<INavigationService>();
        }

        public bool IsBusy
        {
            get => _isBusy;
            set
            {
                    _isBusy = value;
                    OnPropertyChanged();
            }
        }
        protected internal virtual void CleanUp()
        {
            _isAppeared = false;
            _isInitialize = false;
        }
        protected virtual Task OnNavigateFrom(BaseViewModel viewmodel, object parameter)
        {
            return Task.CompletedTask;
        }
        protected virtual Task OnAppearing(object view)
        {
            return Task.CompletedTask;
        }
        protected internal virtual Task OnDisappearing(object view)
        {
            return Task.CompletedTask;
        }
        protected virtual Task InitializeAsync(object navigationData)
        {
            return Task.CompletedTask;
        }
        protected virtual Task InitializeVolatileAsync(object navigationData)
        {
            NavigationData = navigationData;
            return Task.CompletedTask;
        }
        internal async Task InternalInitialize(object navigationData)
        {
            await InitializeVolatileAsync(navigationData);

            if (_isInitialize)
                return;
            _isInitialize = true;
            await InitializeAsync(navigationData);
        }
        protected virtual Task OnAppeared()
        {
            return Task.CompletedTask;
        }
        internal Task InternalOnAppear(object view)
        {
            OnAppearing(view).SafeFireAndForget();
            if (_isOnAppeared)
                return Task.CompletedTask;
            _isOnAppeared = true;
            OnAppeared().SafeFireAndForget();
            return Task.CompletedTask;
        }
        protected internal virtual bool HandleBackButton()
        {
            return false;
        }
    }

Intended Use Case
           var detailModal = new BasicModal()
            {
                ViewModel = LocatorService.Instance.Resolve<DetailViewModel>(),
                Parameter = "Hello am from home"
            };
            return NavigationService.PushModalAsync(detailModal);

Thank you very much @AbuMandour for taking the time to put together this nice spec 👍
Now, from my point of view, the XamarinCommunityToolkit should not become a mvvm framework but a simple toolkit with useful helpers and controls.
This is just my opinion though :)

Thank you very much @AbuMandour for taking the time to put together this nice spec 👍
Now, from my point of view, the XamarinCommunityToolkit should not become a mvvm framework but a simple toolkit with useful helpers and controls.
This is just my opinion though :)

Thanks for your reply and time.
Does your talk make sense? sure, but what I mean what if we have navigation flow here, I can tell you I will create an amazing app with only Xamarin Forms and XamarinToolkit, for sure sometime I will need more complex functions and flow so I will move to use Mvvm Framework.
in another way, it's simple if you just learned Xamarin and want to create simple app "basic News app for example", it will be simple Just use Xamarin.Forms Xamarin.Essential, Xamarin.Toolkit

Thank you for the very extensive description and the idea @AbuMandour!
I think I have to agree with @roubachof though. I feel like there is enough MVVM frameworks out there that are both very simple and just provide enough or are much more extensive and offer you a lot of things.
The "danger" of us implementing another MVVM framework is that, while it starts simple, another person will want to add this, and then that and then x and then y, etc. and before we know it we have built another big MVVM framework. I think the aim for this library is to provide mainly:

Code that is repeated by a lot of Xamarin.Forms developers, like common behaviors, effects, converters, etc.
Controls/Views/Layouts that will not be able to go into Forms directly and prove their worth in this Toolkit first

Again, thank you for your suggestion and I hope you won't be discouraged by us turning down your first idea. I love your enthusiasm and I hope you can see our point of view on this and keep honoring us with your great ideas and maybe some contributions!


Sub Grid data should come from server when user intract

Hi Team,
I am trying to implement the master detail grid in such a manner that data of sub (detail) grid should call from server when the user click on the plus icon.
Guys can you please help me to integrate this feature.
Thanks in advance :)
Regards,
Mayank Jindal

Hi
Github is reserved for issues or feature requests - please direct support queries to either stack overflow or our free forum: https://ag-grid.com/forum/forumdisplay.php?fid=4


Convert state to use flow

Task/Issue URL: https://app.asana.com/0/488551667048375/1206875694725593/f
Description
See attached task description
Steps to test this PR
https://app.asana.com/0/0/1206886319244643/f

#4334  👈
develop

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

Join @karlenDimla and the rest of your teammates on  Graphite


Editor crashes to desktop when drag n drop gdprocmesh.gdns

Trying out the test project section., doing the following crashes the editor to desktop
Now create a MeshInstance and create an ArrayMesh for this node. You can now drag the gdprocmesh.gdns file into the script property of the ArrayMesh. This will create a simple box as a starting template.
is this no longer compatible/working?

This should definitely still work, make very sure you’re dropping it on the
arraymesh’ script property, not on the meshinstance, it’s very easy to get
wrong and it will crash if you assign the script to the meshinstance
On Tue, 2 Jun 2020 at 12:00 am, Tzian<EMAIL_ADDRESS>wrote:

Trying out the test project section., doing the following crashes the
editor to desktop
Now create a MeshInstance and create an ArrayMesh for this node. You can
now drag the gdprocmesh.gdns file into the script property of the
ArrayMesh. This will create a simple box as a starting template.
is this no longer compatible/working?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BastiaanOlij/gdprocmesh/issues/32, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAO262J4PSR4T65OGS5E7OLRUOYAPANCNFSM4NP27N7Q
.

--
Kindest regards,
Bastiaan Olij
My personal profile on Facebook https://www.facebook.com/bastiaan.olij
My professional profile on LinkedIn
https://www.linkedin.com/in/bastiaanolij/
My profile on Twitter https://twitter.com/mux213
My tutorials on Youtube https://www.youtube.com/BastiaanOlij
My code repositories on Github https://github.com/BastiaanOlij

My apologies, i am still getting used to Godot and i mistook the expansion of the inspector to reflect my click on the array mesh as having moved to the array mesh properties, i saved the new array mesh out and then went into it directly and it adds as it should.
Again sorry for bothering you, and many thanks for replying :D


Add the revised VizE lab logo to the designs

@rlskoeser @jhimpele I've placed the revised VizE lab logo in the designs. Didn't need to adjust the height on mobile or desktop, you can find them here on Figma – Jeff has already reviewed them through email, I went ahead and replaced the file on github.


fix DiskFreeBytes and add DiskTotalBytes

Signed-off-by: Eugene Klimov<EMAIL_ADDRESS>

It need to more complex refactoring for these metrics

@alz please look to PR again


Add an example

See this in the README:
"TODO An example of assigning categorical colors in a scatterplot by descending count to maximize discriminability"

I'm struggling a bit with this idea; it seems we would need two marks, one "fake" that does aggregation and sorts the color domain, and the unaggregated scatterplot. But then it's better to define the domain with d3.groupSort.
https://observablehq.com/@observablehq/example-of-sorting-1003
In the meantime I suggest we remove the TODO (#1023).

Here is a (contrived) demonstration of what I meant: https://observablehq.com/d/0fe77f38052f53f0

OK! Would this simpler example work? Sorts the color domain by "rain, sun, fog, drizzle, snow".
Plot.plot({
  width,
  color: { legend: true },
  marks: [
    Plot.link(weather, {
      x: "date",
      y1: "temp_min",
      y2: "temp_max",
      stroke: "weather",
      sort: { color: "stroke", reduce: "count", reverse: true }
    })
  ]
})

https://observablehq.com/@observablehq/example-of-sorting-1003

I published my notebook above. I think it’s good enough and it has accompanying explanatory text.


Use the updated (latest available) TeamCity.VSTest.TestAdapter.

Background
The nightly build for Tentacle has been intermittently failing due to the test runner failing to parse the report file.
There's no exact area that can pinpoint the issue, however, one of the potential causes could be the outdated TeamCity.VSTest.TestAdapter plugin used in Tentacle.
Results
Updating the version to the (latest available) 1.0.36

There're a number of fixes since the 1.0.15 release

How to review this PR

Quality :heavy_check_mark:

Pre-requisites

[ ] I have read How we use GitHub Issues for help deciding when and where it's appropriate to make an issue.
[ ] I have considered informing or consulting the right people, according to the ownership map.
[ ] I have considered appropriate testing for my change.

@michaelongso do we know if the report file is being created but can't be parsed or if it is not being created at all? If we don't already it might make sense to change the TC build to capture the report as a artifact that way if this issue happens again we can inspect the report file.

@michaelongso do we know if the report file is being created but can't be parsed or if it is not being created at all? If we don't already it might make sense to change the TC build to capture the report as a artifact that way if this issue happens again we can inspect the report file.

The file is there. It's locked by another process.