Feature request: Generate .nomedia files for ended series and optionally single movie folders

It would be immensely useful to me if TMM was able to generate .nomedia files for series that have ended. Kodi takes a long time (upwards of 10 minutes at times) to scan my entire library for new items, and I've discovered that strategically placing .nomedia files in the folders of shows that have come to an end has allowed me to speed up the Kodi library scans quite a bit. The same goes for movies, but as I store my movies in single folders with the movie name, it means a lot of copy-pasting. If TMM could create these files automatically it'd be a massive time saver.

copied this issue to gitlab: https://gitlab.com/tinyMediaManager/tinyMediaManager/issues/622


iOS 13.0 The actions to open the menu left or right no function from button

I have read the guidelines for contributing and I understand

[x] My issue is happening in the latest version of SideMenu (older versions are no longer maintained).
[x] My issue was not solved in the README.
[ ] My issue can not be answered on stackoverflow.com.
[x] My issue is not a request for new functionality that I am unwilling to build and contribute with a pull request.
[x] My issue is reproducible in the demo project.

Describe the bug
The issue is reproduced on Xcode 11.0
iPhone 8,11 simulator

What is the problem here? What happens? What is the code you're calling?


ArgumentException in GetAsync

When the program runs GetMeAsync() this error is showed to me :
An unhandled exception of type 'System.AggregateException' occurred in mscorlib.dll
Additional information: One or more errors occurred.
I use Visual Studio2015 and .NET Freamwork 4.8

What kind of error is thrown exactly? AggregateException is a container exception.

did you manage to solve this? I got the same error today and it was related to #868.


[bug] Unreasonably Slow Forms

Describe the bug
Hi @natew , I've been developing an app using Tamagui for IoT sector, I would like to report back that forms built via tamagui are unreasonably slow on React Native, like really slow to update even with just 3 inputs and 1 select component.
All works well if there are no bindings to the components like onChangeText etc, but as soon as we start adding business logic, the whole UI gets laggy and slow.
For my case I'm using Tamagui form components with 'Formik' library which is a popular and performant library for handling forms. The UI takes around 2 seconds to update whenever there is a change in Input component ( screen contains 3 inputs and 1 select component ). I tried it without Formik using 'best practices', but same results, so I guess it's something related to Tamagui itself which is limiting the render performance.
I've mutual interest in fixing this performance issue for myself and public, for that please let me know what is needed to fix this issue. Forms are something which every person will use at some point in their app.

React Native performance demo with Formik ( notice the delay/lag that happens when I tap outside the Input ):
https://user-images.githubusercontent.com/26592968/225291430-0b9d8371-7d4c-4fa1-a0e6-ad36287e16eb.MP4

the problem is formik and rerender, if you remove formik, it's better ?

+1 This is an important issue for me as well, the select is the worst. I'm suspecting it has something to do with the events associated with the inputs, but I haven't looked at the source code yet and yet to test the build on a real device

Ah thanks for reporting. This is high priority. I’ll check it this weekend in depth at the latest.

A bit more feedback: Tested with react-hook-form package and it provides a major improvement in performance over Formik due to it's isolated state management for every form component.
There's still a slight rendering delay ( or lag of around ~200ms ) which happens when there are a lot of state changes, for example when every field has an error upon submit and we have to update the border color to $red6, at that point the UI takes significant time to re-render those components again. I guess optimizing render performance of forms in tamagui should be the main focus for the weekend, rest is dependent on how user writes his own code.
Here's a snippet of how I've structured my form:
const RegisterSchema = Yup.object({
    name: Yup.string().min(3, 'Name should be of mininum 3 characters').max(64, 'Maximum 64 characters allowed').required('Name is required')
}).required();

const { control, handleSubmit } = useForm({
        resolver: yupResolver(RegisterSchema),
        defaultValues: {
            name: ''
        }
});

<Controller
  control={control}
  rules={{
    required: true,
  }}
  render={({
    field: { onChange, onBlur, value, name, ref },
    fieldState: { error },
  }) => (
    <YStack>
      <Input
        size={"$4.5"}
        onBlur={onBlur}
        onChangeText={onChange}
        placeholder="Name"
        value={value}
        name={name}
        ref={ref}
        borderColor={error ? "$red5" : "$gray2"}
      />
      {error && (
        <Paragraph color="$red8" size="$1">
          {error?.message}
        </Paragraph>
      )}
    </YStack>
  )}
  name="name"
/>;

@ayushsharma82  Can you also add a select, and test? I'm wondering if mine has something to do with Expo

@xwiz , Tried and Select component is indeed the worst performer. It takes 1 full second to render the default value from a list of countries ( countries-list available on npm ). Then 1 full second of lag occurs when you tap outside the Sheet to close it.

I tested this on a separate project with Expo SDK 48 and using expo-router. ( Tamagui + compiler installed ).

do you use virtualized list for render your country list ?

@lobor , No, I'm not sure if we can nest a virtualized list inside Select.Viewport component.

I guess Select component should use Flat List by default for native environment?  @natew

nope is not possible, i tied yet
i write my custom select with Popover and sheet
import { Check, ChevronDown } from "@tamagui/lucide-icons";
import { forwardRef, memo, ReactNode, useMemo, useState } from "react";
import { FlatList } from "react-native";
import {
  ListItem,
  ListItemTitle,
  SelectProps as SelectDefaultProps,
  TamaguiElement,
  XStack,
  YGroup,
  YStack,
  YStackProps,
} from "tamagui";
import { Popover, PopoverProps } from "./Popover";
import { Text } from "./Text";

interface Item {
  label: string | ReactNode;
  value: string;
  search?: string[];
}

export interface SelectProps extends YStackProps {
  items: Item[];
  onChange: SelectDefaultProps["onValueChange"];
  value: SelectDefaultProps["value"];
  placeholder?: string;
  testId: string;
  placement?: PopoverProps["placement"];
}

export const Select = memo(
  forwardRef<TamaguiElement, SelectProps>(
    (
      {
        items,
        placeholder,
        value: valueProps,
        onChange,
        testId,
        backgroundColor = "$background",
        disabled,
        ...props
      },
      _ref
    ) => {
      const [open, setOpen] = useState(false);
      const selected = items.find((i) => i.value === valueProps);
      const [width, setWidth] = useState<number>();

      const itemsToRender = useMemo(() => {
        return items;
      }, [items]);

      const valueTmp = selected?.label || valueProps || placeholder;

      return (
        <Popover
          allowFlip
          placement="bottom-start"
          scrollView={false}
          open={disabled ? false : open}
          onOpenChange={(e) => {
            if (!e && !disabled) {
              setOpen(() => false);
            }
          }}
          contentProps={{
            padding: 0,
            minWidth: width,
            marginTop: "$2",
            backgroundColor,
            trapFocus: false,
            disableRemoveScroll: false,
          }}
          content={
            open ? (
              <YGroup
                backgroundColor="transparent"
                maxHeight={400}
                dataSet={{ test: `content-select` }}
                width="100%"
              >
                <FlatList
                  data={itemsToRender}
                  style={{ width: "100%" }}
                  renderItem={({ item }) => {
                    const { value: valueItem, label } = item;
                    return (
                      <ListItem
                        tag="button"
                        hoverTheme
                        pressTheme
                        backgroundColor={"transparent"}
                        cursor="pointer"
                        onPress={() => {
                          setOpen(() => false);
                          setTimeout(() => onChange?.(valueItem), 350);
                        }}
                        flexDirection="row"
                      >
                        {valueItem === selected?.value ? (
                          <Check size={20} />
                        ) : (
                          <YStack width={20} />
                        )}
                        <ListItemTitle
                          borderWidth={"$0.5"}
                          borderColor={"white"}
                        >
                          {label}
                        </ListItemTitle>
                      </ListItem>
                    );
                  }}
                />
              </YGroup>
            ) : null
          }
          arrow={false}
          close={false}
        >
          <XStack
            onPress={() => !disabled && setOpen(true)}
            height="$md"
            paddingHorizontal="$md"
            backgroundColor={backgroundColor}
            borderRadius="$4"
            borderWidth="$1"
            borderColor="$borderColor"
            hoverStyle={{ borderColor: "$primary" }}
            cursor={disabled ? "not-allowed" : "pointer"}
            pointerEvents={disabled ? "none" : undefined}
            alignItems="center"
            opacity={disabled ? 0.5 : 1}
            onLayout={(e) =>
              e.nativeEvent.layout.width !== width &&
              setWidth(e.nativeEvent.layout.width)
            }
            dataSet={{ test: "select" }}
            nativeID={testId}
            {...props}
          >
            <YStack flex={1}>
              {typeof valueTmp === "string" ? (
                <Text>{valueTmp}</Text>
              ) : (
                valueTmp
              )}
            </YStack>
            <ChevronDown />
          </XStack>
        </Popover>
      );
    }
  )
);

and my Popover
import {
  Popover as PopoverDefault,
  PopoverProps as PopoverDefaultProps,
  PopoverContentTypeProps,
  PopoverCloseProps,
  isWeb,
} from "tamagui";
import type { SheetProps } from "@tamagui/sheet/types/types";
import { PropsWithChildren, ReactNode } from "react";
import { X } from "@tamagui/lucide-icons";

export interface PopoverProps extends PopoverDefaultProps {
  content: ReactNode;
  arrow?: boolean;
  close?: boolean;
  contentProps?: PopoverContentTypeProps;
  closeProps?: PopoverCloseProps;
  sheetProps?: SheetProps;
  noTrigger?: boolean;
  scrollView?: boolean;
}

export const Popover = ({
  children,
  content,
  arrow = true,
  close = true,
  scrollView = true,
  contentProps,
  closeProps,
  sheetProps,
  ...props
}: PropsWithChildren<PopoverProps>) => {
  return (
    <PopoverDefault {...props}>
      <PopoverDefault.Trigger asChild>{children}</PopoverDefault.Trigger>

      <PopoverDefault.Content
        $sm={{
          paddingVertical: "$md",
        }}
        borderWidth="$1"
        borderColor="$gray"
        elevation="$2"
        animation={[
          "quick",
          {
            opacity: {
              overshootClamping: true,
            },
          },
        ]}
        enterStyle={{ opacity: 0 }}
        exitStyle={{ opacity: 0 }}
        zIndex={1000}
        {...contentProps}
      >
        {arrow && isWeb && (
          <PopoverDefault.Arrow
            borderRightWidth="$1"
            borderTopWidth="$1"
            borderBottomWidth="$1"
            borderLeftWidth="$1"
            borderColor="$gray"
            $sm={{ display: "none" }}
            backgroundColor={contentProps?.backgroundColor}
          />
        )}
        {close && isWeb && (
          <PopoverDefault.Close
            dataSet={{ test: "Popper-close" }}
            alignSelf="flex-end"
            hoverStyle={{ backgroundColor: "$backgroundStrong" }}
            borderRadius="$md"
            cursor="pointer"
            padding="$xs"
            {...closeProps}
          >
            <X />
          </PopoverDefault.Close>
        )}
        {scrollView ? (
          <PopoverDefault.ScrollView
            style={{ width: "100%", backgroundColor: "transparent" }}
          >
            {content}
          </PopoverDefault.ScrollView>
        ) : (
          content
        )}
      </PopoverDefault.Content>

      <PopoverDefault.Adapt platform="touch">
        <PopoverDefault.Sheet
          modal
          dismissOnSnapToBottom
          disableDrag
          dismissOnOverlayPress
          {...sheetProps}
        >
          <PopoverDefault.Sheet.Frame>
            {scrollView ? (
              <PopoverDefault.Sheet.ScrollView paddingBottom={"$md"}>
                <PopoverDefault.Adapt.Contents />
              </PopoverDefault.Sheet.ScrollView>
            ) : (
              <PopoverDefault.Adapt.Contents />
            )}
          </PopoverDefault.Sheet.Frame>
          <PopoverDefault.Sheet.Overlay
            zIndex={10}
            onPress={(e) => {
              e.preventDefault();
              e.stopPropagation();
            }}
          />
        </PopoverDefault.Sheet>
      </PopoverDefault.Adapt>
    </PopoverDefault>
  );
};

Yea these are good problems to fix, we should probably virtualize or have it as an option. I’ll run through and profile things and see what I find. Select has been trouble in general probably the most complex one by far. Seems like the form issue is at least not entirely our fault. Still, tons more we could do.


Remove non-underscored fields (e.g. count should be _count)

Internal context: https://prisma-company.slack.com/archives/G01BS87JKD4/p1630406011022700

Fixed by https://github.com/prisma/prisma-engines/pull/2211


Connecting to a database without HTTPS

Hey there,
Just got here from reddit, thanks a lot for this! I tried using kysely-codegen with a localhost postgres, but I'm seeing this error:
❯ kysely-codegen                                                                              at 08:56:58 PM

Loaded environment variables from .env file.
Error: The server does not support SSL connections

After updating my DATABASE_URL to end with localhost:5432/postgres?sslmode=disable" as an attempt to workaround it, I saw a success message:
❯ kysely-codegen                                                                              at 09:01:58 PM
Loaded environment variables from .env file.
Introspected 4 models and generated ./node_modules/kysely-codegen/dist/index.d.ts in 165ms.

But the resulting object is empty:
export type DB = {};

For reference, my same .env file does work with prisma and the schema.prisma file has been generated.

Hello there!
Thanks for the issue.
Honestly, I'm not well-versed enough in SSL to know what the best thing to do here is. For my local Heroku setup, it only works with ssl: { rejectUnauthorized: false } and no sslmode=disable, but I want it to work for everyone of course.
In any case, it seems like you successfully did find a workaround, since it apparently did introspect 4 models. The fact that DB is still empty indicates that the file was either written to the wrong place, or not written at all, which I could not replicate on my machine with pnpm or npm.
I just released<EMAIL_ADDRESS>which adds some debugging support:

kysely-codegen --log-level=debug, that shows which tables it found
kysely-codegen --print, that shows the generated output (without writing to disk)

Aside from that, try specifying a custom --out-file. Maybe something goes wrong with the path to node_modules or something.

I got the same The server does not support SSL connections error now in SQLite, so maybe I'll have some more success in fixing it soon!

I think I've fixed the SSL bug. Not the best solution, but it now works for me with:

Postgres with SSL (Heroku)
Postgres without SSL (Docker)
SQLite3 (freshly added!)

I can't replicate the file generation bug though, but maybe we can work it out together.

I've tried to pull the latest to give it another shot, but now kysely-codegen seems to hang here?
❯ npm install kysely-codegen                                                          took 9s at 11:40:56 AM
(##################) ⠴ reify:better-sqlite3: timing reifyNode:node_modules/kysely-codegen Completed in 690ms

Weird - it worked for me just now. Seems like it's failing to install better-sqlite3. Could you try removing node_modules and try again?
Also, I just now published<EMAIL_ADDRESS>that doesn't install the drivers automatically (so it won't try to install better-sqlite3 if you're not using it anymore).

Everything worked! Thanks!
Also I needed to change what it said on the readme:
kysely-codegen --dialect=pg

to this:
❯ kysely-codegen --dialect=postgres

Oh right! Good call!
Perfect - happy it works! 🥳

Heads up! Just thought of this, but there might be some problems with generated columns (i.e. { id: Generated<number> }) when inserting new rows.
I made an issue, but it may require some changes in the Kysely introspector: https://github.com/RobinBlomberg/kysely-codegen/issues/2


Create nirvanasystem.md

Grant Application Checklist

[x] The application-template.md has been copied, renamed ( "project_name.md") and updated.
[x] A BTC address for the payment of the milestones is provided inside the application.
[x] The software of the project will be released under the Apache license version 2.0 as specified in the terms and conditions.
[x] The total funding amount of the project is below 30k at the time of submission.

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

Thanks for the application, but we only pay out BTC via the open grants program. So you would need to change the cost to BTC. Additionally, we don’t pay for everything listed in milestone 1 (especially when it’s already considered done). In general, we only support the development of open source software that doesn’t already exist in our ecosystem. Furthermore, I took a look at your whitepaper and it contains very few technical, we would need a lot more information. Each milestone should ideally contain a list of what functionality you plan to implement.

@Noc2 Thank you for your reply, we have modified as required, please check.

Hi @Noc2, I updated the proposal. Please check it, thank you

I’m closing the PR due to inactivity. Feel free to reopen it.


[release-1.8] label system namespace with default network for cluster

This is an automated cherry-pick of #28126

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-distroless-k8s-tests_istio_release-1.8
57a6004fb3b5c43b8671eb25b95668026f518f5a
link
/test integ-distroless-k8s-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

This looks like a feature development. Could you provide some rationale why this needs to be cherry-picked into 1.8?

This wraps up a loose end in improving our multi-network install. Without this, we'll need the legacy config. In a discussion with @costinm @nmittler @louiscryan and @smawson I believe agreed on pulling this in.

+1 ... we need this. @smawson can you confirm as well?

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-multicluster-k8s-tests_istio_release-1.8
57a6004fb3b5c43b8671eb25b95668026f518f5a
link
/test integ-multicluster-k8s-tests_istio_release-1.8

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


Support using XeroClient without XeroBundle

I'm looking to use XeroClient without XeroBundle as Drupal does not support using Symfony2 Bundles yet. I use a different configuration system so I need to throw and catch the FileNotFoundException in XeroClient instead.

Closing Pull Request and remaking it after squashing commits.


Issues with scraping on MacOS - executable doesn't exist

Getting the below output when trying to run the sample code from this tutorial.
Attaching a gif to document.

$ cd /Users/mheavers/.kit
[21:05:28.881] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:100:34)
╚═════════════════════════════════════════════════════════════════════════╝
║ <3 Playwright Team                                                      ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ Please run the following command to download new browsers:              ║
║ Looks like Playwright Test or Playwright was just installed or updated. ║
╔═════════════════════════════════════════════════════════════════════════╗
[21:05:28.877] [warn] browserType.launch: Executable doesn't exist at /Users/mheavers/Library/Caches/ms-playwright/chromium-1045/chrome-mac/Chromium.app/Contents/MacOS/Chromium
[21:05:28.876] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

$ cd /Users/mheavers/.kit
[21:00:25.901] [info]

$ cd /Users/mheavers/.kit
[20:57:25.002] [info]

$ cd /Users/mheavers/.kit
[20:57:09.674] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at async global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:97:24)
    at async file:///Users/mheavers/.kit/api/npm.js:100:12
    at kenvImport (file:///Users/mheavers/.kit/api/npm.js:77:15)
[20:57:09.669] [warn] Error: Error: Could not find main module for playwright
[20:57:09.668] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

$ cd /Users/mheavers/.kit
[20:56:19.055] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at async global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:97:24)
    at async file:///Users/mheavers/.kit/api/npm.js:100:12
    at kenvImport (file:///Users/mheavers/.kit/api/npm.js:77:15)
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inprocess.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inProcessFactory.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/registry/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/registry/dependencies.js
Require stack:
[20:56:19.052] [warn] Error: Error: Cannot find module '../../../package.json'
[20:56:19.051] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

Ok. Exiting...
[20:53:27.293] [info]

Ok. Exiting...
[20:53:11.338] [info]

$ cd /Users/mheavers/.kit
[20:50:26.299] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at async global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:97:24)
    at async file:///Users/mheavers/.kit/api/npm.js:100:12
    at kenvImport (file:///Users/mheavers/.kit/api/npm.js:77:15)
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inprocess.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inProcessFactory.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/registry/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/utils/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/utils/zipFile.js
Require stack:
[20:50:26.296] [warn] Error: Error: Cannot find module '../zipBundle'
[20:50:26.296] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

$ cd /Users/mheavers/.kit
[20:46:29.399] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at async global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:97:24)
    at async file:///Users/mheavers/.kit/api/npm.js:100:12
    at kenvImport (file:///Users/mheavers/.kit/api/npm.js:77:15)
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inprocess.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/inProcessFactory.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/registry/index.js
- /Users/mheavers/.kenv/node_modules/playwright-core/lib/server/registry/dependencies.js
Require stack:
[20:46:29.395] [warn] Error: Error: Cannot find module '../../../package.json'
[20:46:29.395] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

$ cd /Users/mheavers/.kit
[20:41:03.162] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:100:34)
╚═════════════════════════════════════════════════════════════════════════╝
║ <3 Playwright Team                                                      ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ Please run the following command to download new browsers:              ║
║ Looks like Playwright Test or Playwright was just installed or updated. ║
╔═════════════════════════════════════════════════════════════════════════╗
[20:41:03.158] [warn] browserType.launch: Executable doesn't exist at /Users/mheavers/Library/Caches/ms-playwright/chromium-1045/chrome-mac/Chromium.app/Contents/MacOS/Chromium
[20:41:03.157] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

$ cd /Users/mheavers/.kit
[16:36:45.416] [info]

$ cd /Users/mheavers/.kit
[16:34:54.536] [info]
    at async file:///Users/mheavers/.kenv/scripts/scrape-indice-repairabilite.js:10:19
    at global.scrapeSelector (file:///Users/mheavers/.kit/lib/browser.js:100:34)
╚═════════════════════════════════════════════════════════════════════════╝
║ <3 Playwright Team                                                      ║
║                                                                         ║
║     npx playwright install                                              ║
║                                                                         ║
║ Please run the following command to download new browsers:              ║
║ Looks like Playwright Test or Playwright was just installed or updated. ║
╔═════════════════════════════════════════════════════════════════════════╗
[16:34:54.533] [warn] browserType.launch: Executable doesn't exist at /Users/mheavers/Library/Caches/ms-playwright/chromium-1045/chrome-mac/Chromium.app/Contents/MacOS/Chromium
[16:34:54.533] [warn] ☠ ERROR PROMPT SHOULD SHOW ☠

Hi, same issue here, just follow what error say. npx playwright install should work as expected


fetch: Transfer timed out

When trying to fetch the command times out.
<EMAIL_ADDRESS>fetch -o - https://git.io/j7Jy | sh -s
fetch: transfer timed out
fetch: - appears to be truncated: 0/7828 bytes

Disabling IPv6 on WAN interface fixed this issue.


typo: Double word "to"

@nschonni : Thanks for your contribution! The author, @erhopf, has been notified to review your proposed change.

#sign-off


path format and root format

Hi Anton,
I verified the pygnmi path syntax and I am not sure, whether the pygnmi path generator implementation matches the gnmi spec ...
in client.py docstring the path is specified_
path = ['yang-module:container/container[key=value]', 'yang-module:container/container[key=value]', ..]
in https://github.com/openconfig/reference/blob/master/rpc/gnmi/gnmi-path-conventions.md I see following spec: ... the root path / is encoded as a zero length array (slice) of PathElem messages. Example declarations in several languages:  Python: path = [] Note this is not the same as a path consisting of a single empty string element. A human-readable path can be formed by concatenating elements of the prefix and path using a / separator, and preceded by a leading / character.  ....
in this respect I think we should verify the pygmni implementation:

a single root path / should be allowed. The current pygnmi implementation incorrectly converts "/" to "path { elem {} elem {} }", should be changed to "path []"
leading / character must be allowed in path. This is not the case with current implementation. E.g. the current pygnmi implementation incorrectly converts "/interfaces/interface" to "path { elem {} elem { name: "interfaces"} elem { name: "interface } }", should be changed to "path { elem { name: "interfaces"} elem { name: "interface } }""
both two options must allow origin specification: e.g. "openconfig:/" or "openconfig:interfaces:/interfaces/interface"

@Anton, I am happy to change the path generator model accordingly, test against Juniper and Arista and send a pull request ... let me know ...
best regards Stefan

Hello @slieberth ,
Actually, that was a thing I added to the new release published yesterday (modification of the path processing to allow '/' and possibility to omit or add origin). Could you please check that out?
Best,
Anton

Hi Anton,
thanks for the changes, looks almost perfect,  if origin and leading slash is present (e.g. openconfig-interfaces:/interfaces/interface), then origin is not detected correctly, instead the leading origin gets a path element  ...
/ --> path {}  --> OK!
/interfaces/interface --> path { elem {name: "interfaces"} elem {name: "interface" }  --> OK!
openconfig-interfaces:interfaces/interface --> path { origin: "openconfig-interfaces" elem { name: "interfaces" } elem { name: "interface" } } --> OK!
openconfig-interfaces:/interfaces/interface --> path { elem { name: "openconfig-interfaces:" }  elem { name: "interfaces" } elem { name: "interface" } --> NOK!
regards Stefan

Hi Anton,
thanks for the change, looks good, can confirm the fix, thanks.
in respect to documentation: the doc-string in client.py:148 needs minor change:
path = ['yang-module:container/container[key=value]', 'yang-module:container/container[key=value]', ..]
maybe you should specify also a path without origin prefix. In my tests against arista, origin is completly ignored, so also xxx:/interfaces/interface does work. When testing against Cisco and Juniper I use only the path, without origin.
Greetings from Berlin
Stefan

Hello @slieberth ,
Thanks a lot. We'll add the mentioned enhancement in the next release in the documentation. With this, we will close the issue.
Best,
Anton


Build multi arch images on GitHub Actions and push to DockerHub

As proposed in https://github.com/jwilder/docker-gen/pull/346#issuecomment-817115037, this PR adds a GitHub Actions workflow that build multi arch images of jwilder/docker-gen and push them to DockerHub.
For this PR to work, in addition to enabling GitHub Actions, two secrets need to be added to the repo:
DOCKERHUB_USERNAME: the name of DockerHub account that has push rights to jwilder/docker-gen
DOCKERHUB_TOKEN: a DockerHub access token for the DOCKERHUB_USERNAME account
The workflow is triggered:

on push to the master branch
on creation of a new x.y.z semver tag
on schedule every Monday at 00:00 UTC

It can also be triggered manually thanks to workflow_dispatch
The images created from new Git tags are tagged as :{{major}}.{{minor}} and :{{major}}.{{minor}}.{{patch}}, ie a new 0.7.6 tag would push jwilder/docker-gen:0.7.6 and jwilder/docker-gen:0.7 to Dockerhub.
Every newly built image is also pushed as latest.

I setup the secrets.


prepare website for the foundation

[x] ww2.threefold.me prepare based on branch development_threefoldme
[ ] www.threefold.me

Done by @PeterNashaat Thanks
https://www2.threefold.me/

production website not deployed. reopening.

production is deployed link


missing files prevent i18next from doing graceful language fallback

Can we reopen this? (#261)
I'm trying to implement use i18next init with a promise that will resolve once it's completely initialized (so that parts of the app can know the i18next object is initialized- not just immediately after the callback, but also well after). But currently with this issue, it will immediately reject(), even before XHR backend tries out fall back languages.
How can I know when init() has really, truly failed (particularly the backend not being able to find any files)? Currently, if I instead just let it resolve (or use a try/catch) when no appropriate json file could be found, it returns the string keys as fallback for the t() function, and keeps going. On the other hand, if i reject, there's no graceful fallback as described in #261
}, (err, t) => {
   //init callback
   if (err){
      console.error(err);
      reject('i18next init promise reject');
   }
   resolve('i18next init promise resolve');
});

guess you just can ignore that error -> there won't be an error if you do not consider failing loading a language is one (you can define your whitelist and load option so i18next will not even try to load languages you do not support).

I do want to allow stuff like "en-US" and "en-GB" to work though with a nonExplicitWhitelist: true option, however.
I can ignore the error for now I suppose, but I find it kinda unideal :T

i guess you provide only en so setting load: 'languageOnly' will avoid loading en-US including your whitelist for languages you have there should everything loadable therefor having a language not load would be an error.

then just resolve your promise and treat the error just as a warning...like said...beside failed loads - there is no other error

or go through the errors and check if one is relevant for your loading demand

or what behaviour would you like to see?

There should still be some way to see if literally no jsons could be retrieved however.

what is "half-fail" the callback gets called once and only once with all the language-namespaces in error if not loaded. Do i miss something here? Do you get it called multiple times?

I'm saying that it will run the callback, even when the xhr-backend hasn't "really" failed, as in it hasn't tried the "pure" language yet, which is bad for async.

what is pure language? the fallback language...
it has - the callback gets called with all languages based on the detected language -> ['en-US', 'en', 'fallbackLng'] - it's done
do you call init twice?

it queues to load: https://github.com/i18next/i18next/blob/master/src/BackendConnector.js#L42
and when loaded if no pendings calls the callback: https://github.com/i18next/i18next/blob/master/src/BackendConnector.js#L116

I meant "pure language" as in "en" since that's the term used on gitbook.
Okay, if the callback gets called more than once, basically, the solution is to look for the last error, in which even the fallbackLng json could not be found, right?
I'll do that for now, then.

if the callback gets called multiple time...there is something wrong on your side...really the init callback gets called only once by design

https://jsfiddle.net/134uonq0/1/ see yourself - open the console, change language to "de" run again -- loads en, de and callback is only called once

When you said, "the callback gets called with all languages based on the detected language -> ['en-US', 'en', 'fallbackLng'] - it's done"
I assume you meant this flow happened:

User has language with "en-US", we only have "en"
We call init using detected language of "en-US"
Backend tries to find "en-US", it fails and runs the callback
Backend tries to find "en", it succeeds, and runs the callback

Anyway, if the callback only gets once, I still can't know when 4) happens, or it fails

no:

User has language with "en-US", we only have "en"
We call init using detected language of "en-US"
Backends loads both en-US and en
Init callback get called with error en-US could not be loaded

and it gets called once...and only once...

So how can I know that "en" has been loaded?
As opposed to the situation where both "en-US", "en" and the fallbackLng fail?

en won't be in the error (error is an object containing what gone wrong...not just true)
also if it would have been a temporal issue with loading from backend it would have done 5 retries loading those...so it's actually a language you do not provide

Hi, sorry to reopen again. I don't think I can detect using the error array, since I'm using the i18next-chained-backend which returns "Error: non of the backend loaded data; at loadPosition" errors.

hm...guess we should add some extended object like  { lng, ns, err } here https://github.com/i18next/i18next/blob/master/src/BackendConnector.js#L101 like done on the event https://github.com/i18next/i18next/blob/master/src/BackendConnector.js#L84
would that help?

Yea, that would definitely help.
On my end, I can remove the chained backend as a temporary solution.


Execute blocking queries

I know this might sound weird, but in some point of my code, I would like to do blocking queries. In other words
Var result = client.query(‘SELECT * FROM user WHERE id=?’,[ 10 ]);
Console.log (result); //Here I would like to be able to get the row data straight form the result variable.
Is it possible to do so?
Thank you for your help.

Why not use a flow control module if it's nested callbacks you're concerned about?
I don't think you'll ever see blocking queries in node-mysql, especially since it's written in pure javascript and you cannot do blocking network i/o in node in javascript land.

db-mysql (https://github.com/mariano/node-db-mysql) doesn't seem to be doing blocking queries.
For flow control I recommend checking out: https://github.com/caolan/async

It does; probably because its partially codded in C++.
"options: Connection options:
async: If set to false, the connection will be performed synchronously. Optional, defaults to true."

http://nodejsdb.org/docs/

I am looking into the async.js and I guess I will change certain portions of my code in order to do it the right way.
Thanks for your help.


Added SACM in new LM-Ontology dir. Removed SACM-S.

Added SACM (formerly SACM-LM) in a new dir LM-Ontology, located within the top level directory. Also removed SACM-S (and it's associated OWL file) from the RACK Ontologies.
If a different location for the SACM ontology is desired, or if handling the SACM-S deletion as a separate pull request is preferred, please say so.

We need to remove SACM-S from GeneratePropInfocsv.sadl and rerun it (to generate files in Data dir). Have not looked at the changes yet.

Just some high level comments on LM-Ontology:

In Eclipse, you set the LM-Ontology project to reference RACK-Ontology. Right click on LM-Ontology -> Properties -> Project References. Tick the check box "RACK-Ontology"

Clean the project. Add the generated .project file to the repo.
Our convention is camel casing for properties. For example,

HAS_VALUE -> hasValue
EXPRESSES -> expresses

Just some high level comments on LM-Ontology:
* In Eclipse, you set the LM-Ontology project to reference RACK-Ontology. Right click on LM-Ontology -> Properties -> Project References. Tick the check box "RACK-Ontology"
  ![Capture](https://user-images.githubusercontent.com/12802455/115076311-63360880-9eca-11eb-830d-d1e1b5d23195.PNG)

* Clean the project. Add the generated .project file to the repo.

* Our convention is camel casing for properties. For example,

  * HAS_VALUE -> hasValue
  * EXPRESSES -> expresses

I've made significant updates to the match the style conventions.

I am unable to flag the Properties, as described, probably because I am using the SADL web-IDE, not Eclipse. The Ecplise plugin has consistently failed to work properly on my machine, so I've been forced to use the web-IDE. If there is a way of accomplishing this in the web-IDE, I will gladly do so.

.project files are explicitly excluded via the top level .gitignore file in the repo. Am I understanding correctly that I should override this behavior and push the .project file, anyways?

I just noticed that SACM has ACTIVITY, but we also have ACTIVITY in PROV-S. There is also an overlap between startTime & endTime and startedAtTime & endedAtTime. @glguy and @AbhaMoitra can advise on best way to resolve.


Apps: Support new listType for my apps tab in portals

Support a listType that returns items that are either owned or shared non-public with the user.
From WMA/Portals:

There are two categories here separating apps:
“My Apps”: Apps owned by the user and apps that are shared with the user, like I am user A, and user B shares an app they made with me, it will appear in My Apps. This also assumes EXECUTE permissions, otherwise things break
“App Categories”: These are categories we assign to public apps (isPublic=True) by adding a field to the notes field of a public app. Only public apps we select for the portal appear here.

Add support for new listTypes: SHARED_DIRECT, READ_PERM, MINE
boolean allItems = AuthListType.ALL.equals(listTypeEnum);             // Include everything
boolean publicOnly = AuthListType.SHARED_PUBLIC.equals(listTypeEnum); // Include only publicly shared
boolean sharedOnly = AuthListType.SHARED_DIRECT.equals(listTypeEnum); // Include only shared directly with user
boolean mine = AuthListType.MINE.equals(listTypeEnum);                // Include owned and directly shared with user
boolean readPermOnly = AuthListType.READ_PERM.equals(listTypeEnum);       // Include only directly granted READ/MODIFY


Could approve_results.dart more gracefully handle lack of permissions?

This is the first time I have tried to preapprove some test failures. I ran:
$ tools/sdks/dart-sdk/bin/dart tools/approve_results.dart -b ddc-linux-release-chrome -b analyzer-analysis-server-linux -b analyzer-linux-release -p https://dart-review.googlesource.com/c/sdk/+/92480/1

The CLI tool crashed. I suspect I might not have the right permissions somewhere but the error isn't actionable enough for me to know what I should do to get the permissions I need:
Selected bot: ddc-linux-release-chrome
Selected bot: analyzer-analysis-server-linux
Selected bot: analyzer-linux-release
Unhandled exception:
Exception: Failed to run: python /Users/nshahan/code/dart-sdk/sdk/third_party/gsutil/gsutil.py [-m, cp, -r, -Z, gs://dart-test-results-approved-results/builders/analyzer-analysis-server-linux/approved_results.json, /var/folders/yf/rl2gr0w14cx38nq8bv4r2qlr009rgp/T/approve_results.UCjAL1/approved_results.json]
exitCode: 1
stdout:

stderr:
ServiceException: 401 Anonymous caller does not have storage.objects.get access to dart-test-results-approved-results/builders/analyzer-analysis-server-linux/approved_results.json.
CommandException: 1 file/object could not be transferred.

#0      runGsutil (file:///Users/nshahan/code/dart-sdk/sdk/tools/bots/results.dart:33:5)
<asynchronous suspension>
#1      cpRecursiveGsutil (file:///Users/nshahan/code/dart-sdk/sdk/tools/bots/results.dart:68:5)
#2      loadResultsFromBot (file:///Users/nshahan/code/dart-sdk/sdk/tools/approve_results.dart:120:7)
#3      _RootZone.runUnary (dart:async/zone.dart:1379:54)
#4      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#5      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#6      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#7      Future._complete (dart:async/future_impl.dart:473:7)
#8      _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#9      _AsyncAwaitCompleter.complete (dart:async/runtime/libasync_patch.dart:28:18)
#10     _completeOnAsyncReturn (dart:async/runtime/libasync_patch.dart:294:13)
#11     loadLog (file:///Users/nshahan/code/dart-sdk/sdk/tools/approve_results.dart)
#12     _RootZone.runUnary (dart:async/zone.dart:1379:54)
#13     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#14     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#15     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#16     Future._complete (dart:async/future_impl.dart:473:7)
#17     Stream.toList.<anonymous closure> (dart:async/stream.dart:975:18)
#18     _RootZone.runGuarded (dart:async/zone.dart:1302:10)
#19     _BufferingStreamSubscription._sendDone.sendDone (dart:async/stream_impl.dart:389:13)
#20     _RootZone.run (dart:async/zone.dart:1374:54)
#21     _FutureListener.handleWhenComplete (dart:async/future_impl.dart:150:18)
#22     Future._propagateToListeners.handleWhenCompleteCallback (dart:async/future_impl.dart:609:39)
#23     Future._propagateToListeners (dart:async/future_impl.dart:665:37)
#24     Future._addListener.<anonymous closure> (dart:async/future_impl.dart:348:9)
#25     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#26     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#27     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:391:30)
#28     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
#29     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

The issue was user error on my part. I had not authenticated with the gsutil.py script yet. I'm updating the issue as a request to handle the error and print a helpful message.

Thanks for the suggestion! Yeah I was meaning to do this.

Duplicate of https://github.com/dart-lang/sdk/issues/35377


[dv:entropy_src] Initial rng_agent and integrated into entropy_src env

Signed-off-by: Steve Nelson<EMAIL_ADDRESS>

Hi @senelson7! Can you re-request a review from me once you've pushed up your latest changes? The "done" responses above don't have a corresponding push, and I don't want to miss reviewing your changes when they arrive.

About @rswarbrick comment on re-review, I indicate "done" to let me know that I've addressed the comment in my local but haven't necessarily pushed the changes until I've addressed them all. But I get that there might not be a corresponding push yet after a reviewer sees the "done" comment. Is there a better way to do it such that I keep track of addressing comments but not indicate "done" until I've actually pushed up the changes?

I don't think I know a trick for that, except a text file on my local computer! When replying to reviews, I try to make sure that when I say "I've made the requested change", this also means "... and I've pushed it to the PR". Otherwise, the reviewer has to fiddle around working out what push corresponds to what "done".

@rswarbrick @sriyerg @weicaiyang
do you have any more comments with these latest updates?

@rswarbrick @sriyerg @weicaiyang
do you have any more comments with these latest updates?

No new comments from me. Would like the existing ones resolved before we can merge this.

@rswarbrick @sriyerg @weicaiyang
do you have any more comments with these latest updates?

No new comments from me. Would like the existing ones resolved before we can merge this.

same here, just need to address some existing comments.


Cost calculation

Thanks for the project. It really opened new opportunities to us. Would you share some numbers about cost for us?

Thanks. At MatHem process almost a million (measurement protocol/Google Analytics) hits per day for less than 5 EUR/day.

@cemo I hope that was the answer you were looking for. I will close this issue now.

Yes, thank you so much.

Also, this week I will release a packaged version of datahem measurement protocol pipeline together with a tutorial/guide that makes it easy to set it up.


Use new map / Map does not work / Only partial data

The beta-map was removed and replaced by a new version (btw. without Google Maps, because it was too expensive).
The old map was removed, too. Result: Live-map not working anymore.

Well, I took a look at the new protocol. Looks like there's no chance to use it for c:geo.

The tileserver from mapquest seems to be a bit overloaded. Openstreetmaps layer is fine here.

for example create a new overlay which displays the downloaded pngs

We discussed this already. A lot of additional data, requests and an inconsistent design.

Sound a bit like the "next scheduled release" will be with disabled live-map ?

Yes.

The site http://aj-gps.net is crawling geocaching.com site..
So.. what if c:geo also crawles gc.com and save the coords?
Or ask aj-gps, maybe he saves the coords too and will provide them?

I can live with a "workaround" that does 3 consecutive search nearbys. I am using the live map very often to see what's around me. Doing first a search-nearby and than opening the non-live map is showhow not the way i prefer. What i am questioning myself is how often the changed/new live map is updated (time ? distance ?)

Just wanted to post some info I have worked out on the id system found in the json array from the new map. One of the the values associated with a cache item is the key, replacing the gccode from the old json array. The key is a base 57 string of the cache id with it's own sequence as follows -> "tHpXJR8gyfzCrdV5G0Kb3Y92N47lTBPAhWnvLZkaexmSwq6sojDcEQMFO". Converting the base57 to base10 will give you the cache ID that can then be converted into a GC code.
Hope this helps.

I've analyzed the new map a bit. It works a bit different than the "old" beta-map:

You request a specific viewport.
The wax-engine requests map-tiles and transparent cache-image-tiles

No JSON or other data about the caches so far!

You move your mouse-cursor around the map.
For each tile the wax-engine performs a request to gc.com!
This answer is a HTTP 204 if there are no caches or something like this:

{"grid":["                                                                ",
"                                                                ","
                                                       ","
                                            ","
                                 ","
                      ","
           ","
","                                                                ","
                                                          ","
                                               ","
                                    ","
                         ","
              ","
   ","                                                                ","
                                                             ","
                                         (!'      ","
                               &#*      ","
                    %$)      ","
                  ","
       ","                                                                ",\
"                                                                ","
                                                      ","
                                           ","
                                ","
                     ","
          ","                                                                \
","                                                                ","
                                                         ","
                                              ","
                                   ","
                        ","
             ","
  ","                                                                ","
                                                            ","
                                                 ","
                                      ","
                           ","
                ","
     ","                                                                ","
                                                               ","
                                                    ","
                                         ","
                              ","
                   ","
        ","                                                                ",
"                                                                ","
                                                       ","
                                            ","
                                 ","
                      ","
           ","
","                                                                ","
                                                          ","
                                               ","
                                    ","
                         "],"keys":["","56_17","56_18","56_19","55_1
9","55_18","57_17","55_17","57_19","57_18"],"data":{"56_17":[{"i
":"gwAm","n":"Heidekaserne V2"}],"56_18":[{"i":"gwAm","n":"Heide
kaserne V2"}],"56_19":[{"i":"gwAm","n":"Heidekaserne V2"}],"55_19":
[{"i":"gwAm","n":"Heidekaserne V2"}],"55_18":[{"i":"gwAm","n":"
Heidekaserne V2"}],"57_17":[{"i":"gwAm","n":"Heidekaserne V2"}],"55_
17":[{"i":"gwAm","n":"Heidekaserne V2"}],"57_19":[{"i":"gwAm","n
":"Heidekaserne V2"}],"57_18":[{"i":"gwAm","n":"Heidekaserne V2"}]}
}

(wrapped for display)

When you click on a cache, the i-value is used for another request, that results in such a response:

{"status":"success","data":[{"name":"Kalandgasse","gc":"GC36R73",\
"g":"f032190a-bc7a-4b85-84db-78e9256679e2","disabled":false,"subrOnly":fa
lse,"li":false,"fp":"14","difficulty":{"text":1.5,"value":"1_5"},\
"terrain":{"text":1.5,"value":"1_5"},"hidden":"10/29/2011","containe
r":{"text":"Small","value":"small.gif"},"type":{"text":"Traditiona
l Cache","value":2},"owner":{"text":"SmileyCelle","value":"7acb641b-
c862-48ba-bdef-467ef92dc034"}}]}

(wrapped for display)
What does this mean for c:geo? We can't use it really well. My first idea was to use the local-coordinates to display dots for each cache, where you'll get details with a click. But as there is an extra request for each tile, we can't use it.

@covert- Thanks for the info - good work ! Our main problem at the moment is that we can't make a single request and get a single response with all caches in the viewport together with some kind of coords :-( Instead we get a list of tiles (bitmaps)...

@covert- Yes, this is already implemented in c:geo for a while (it was the same on the beta map). And if not, it's somewhere here in a branch of my fork.

@SammysHP I started to poke around a little bit more, found for example https://github.com/mapbox/wax and https://github.com/mapbox/mbtiles-spec/blob/master/1.1/utfgrid.md which makes this stuff much more standardized and reliable in my eyes.
Regarding the tiles: They are normally bound to 256x256 pixels which means if we define our coordinate viewport to have these dimensions in pixel space we will get all locations in one request but with reduced accuracy. I assume at least for my device this could be good enough. O the other hand I am not sure if it is an unmanagable issue to do more then one of these requests in a row to fill the map in steps.

Just a question by the way:
Speaking of approximated coords which can be retrieved..does this indicate the coords on a potential new live map will only be approximated ?

Correct. Depending on the zoom level 10-100 m.

@mucek4 The issue #1129 IS NOT a duplicate of this, it is a separate issue specific to the current Nightly Build that is NOT the same issue as described here.

@TAZ427: Please know that the complete live-map functionality is currently broken due to the changes on the website. This affects both the android-market release as well as the nightly builds from c:geo website. Both are the same non working models. As already said by @mucek4 and others the developers are working on something, but you have to be a little bit patient.
Your issues are welcome here once a nightly build with a new map-approach is out but this might take some more days/weeks this time because the change on the website was major.

No problem, I put my comment to #11129

@BudBundi: I can try with an Ipad on the weekend. Maybe I can see some difference.
Another thing:
My Android 3 - tablet did also not work with the beta maps. I will try it out right now.

It's no longer a beta-map. ;)
There are a few reports in the blue forum (http://forums.groundspeak.com/GC/) that tablets are not working currently.

ok, what about download data (coordinates of nearby caches from GC.com) and show them on google maps? It would work or I am tottaly wrong?

Please don't SPAM here. This is an issue for developers and everybody, who understand the problem and has useful contributions. Every post like the one above slows down our development.
For clarification:

Groundspeak removed Google Maps. This doesn't affect c:geo!

Groundspeak removed another data-source, that was seldom used by gc.com-Users. This is the problem.

I'm the maintainer of GC-gogo, the leading geocaching app for WebOS. Of course, I have the same problem and I searched the web, how other apps want to overcome this.
I set up a database on my root server (which is currently nearly always idle). It holds GC-Code, Coordinates and some head data (name, type, D/T). When the app is downloading a cache detail from gc.com, an additional http request is sent to the database to update the data of the cache. Now, we can use the data to build the live map.
I implemented this already in a beta of my app.
In a second step it might be possible to compare the cachelist form gc.com and the database to firgure out, which data is missing or needs to be updated.
I know that this solution is suboptimal, because it's "calling home", but I do not collect any personal data and the user can disable this (but he will loose the live map).
It will only work well, if a wide range of apps are contributing to the database to keep all caches up to date.

@patty21 : So your approach is like a cloud collection of cache-data downloaded from gc.com ? I don't think that this a good approach for c:geo .

I have just been taking a look at the proposed solution, which means that the cache location will be inaccurate and the cache type unknown.
Personally, from the point of view of a geocacher and a programmer (although not on this project), would it not make more sense to be able to free scroll around the map and then, when you wish to display the caches in the area, bring up the context sensitive menu which will give an option to display the nearest n caches to the centre of the screen?
As a geocacher, my main use of the live map is to guide me to the exact location of the cache. If it is +-50m then there is no point in the cache being marked. I guess it could give people a rough idea of what is in the area, but you can use the maps on geocaching.com to do this.

You have this possibility, too. But another use case is to use the live map to get an overview of available caches ("Where will I cache today?")

You have this possibility, too

I don't think there is a possibility of requesting the nearest x caches at the centre of the map currently?

But another use case is to use the live map to get an overview of available caches ("Where will I cache today?")

That is a potential usage cache, but in my experience (i.e. the cachers I know who use c:geo as well as myself) they use the map view mostly to home in on the exact co-ordinates of the cache.
To be honest I would almost prefer the functionality I have specified to the original LiveMap functionality. It was often the case that there would be too many caches in the display area, which meant that c:geo 'hung' for a while due to the download overhead (I realise you could turn off the live display, but sometimes you just forgot or thought there would be fewer caches in the area than there were).

@mkwarner:  just a few thoughts

The accuracy in meters depends on the zoom-level and is probably good enough if you zoom in on a cache. How accurate this will get we still have to calculate/fins out  (even before the accuracy was dependent on the zoom level and pixel resolution)
You would probably want look into the details of a cache you are about to search for anyway in advance (D&T rating, size, etc...). In such a case the exact coordinates will be downloaded alongside the other details and therefore be known
We are currently discussing other ways of working with live cache data as well and something alongside your proposal is already up for discussion as well, so stay tuned!
The live-map in its former state was one of the differentiating features of c:geo and even if I myself did not use it that much, I would like to have it back again as one of the possible options when I go out caching

I'll plan to merge my changes into "master" on thursday evening. Live map should work again with the following nightly build.

I'll try to review it the next days.

On friday I am back in Germany and can test the live map over the weekend in the nightly.

If you need help I could test the live map too.

@blafoo I'd like to take a look beforehand as well, to familiarize myself with its workings. Unfortunately the current state on valentine branch doesn't even compile here :(

@rsudev Oops. What's the error message you get ?
This evening i'll update the branch, too.

Did you put it somewhere else? I couldn't find a more recent source.
For me It doesn't know the MAXX and MAXY in UTFGridPosition line 15 and 18.

Yes, they can be found (soon) in UTFGRid. MAXX = MAXY = 63.

@jimmypt Feel free to test and report any problems here. The nightly is available on cgeo.org the night after it has been merged.

Just commited some changes to the valentine branch. And: some hardcopys can be found on Facebook.

Just checked the last version on valentine branch, it compiles :)
First test was not so successful. I always get:
02-21 22:45:02.183: D/cgeo(283): GET http://www.geocaching.com/map/map.info?x=2145&y=1394&z=12&st=fq-rj3vNOuIr66F75sqL2zowscuqnc2IeYk6gHUDkCXvgu8UYIbql8faKLatpmTQRIfdQYJ611O0QPOmGGc9ZQ2
02-21 22:45:02.572: W/cgeo(283): 204 [No Content] (386 ms) GET http://www.geocaching.com/map/map.info?x=2145&y=1394&z=12&st=fq-rj3vNOuIr66F75sqL2zowscuqnc2IeYk6gHUDkCXvgu8UYIbql8faKLatpmTQRIfdQYJ611O0QPOmGGc9ZQ2

I think the '_' parameter is missing (at least I saw something like that when looking at the communication in the browser)

And I see a parameter k and ep (the latter seemingly always 1) in the query-string. k seems to be constant and _ seems to increase with every query. Some sort of timestamp?

I noticed before that if z=14 then you don't need the extra parameters (you can just pass x, y and z). But, if z was other values, then you needed some of the other parameters.

Cool, all caches from northern Germany in the live map.... Okay, you can't recognize anything at all but you see a lot of caches....
k is the user session. It's now retrieved the same way as the session token. There are two possibilitys:

use only x, y and z
use all keys with a correctly computed _ For _ i need someone who is better in JavaScript than me ,-)

Conclusion: we use only x, y and z without any tokens etc. and it works !

Very strange. On my Transformer i have no problems without the tokens. On my LG i nearly get no content at all.

To personalize already on the query side you can add hf=1 and hh=1 to the query string (perhaps ep=1 is required for that, as it seems to map to enablePersonalization). This suppresses finds and hides respectively.

I tested just now the last nightly, in the live map I got a bug, when I press "Show as list" the app crashes.  :(
I have an ZTE Blade.

The problem it's not always working: Each url is valid only one time. So the timestamp is a must-have, else you get a 204 No Content.

That explains the behaviour I am seeing in my emulator. I try to find the generation of these _ values, but my JavaScript and tools knowledge seems to be insufficient..
The query seems to be issued by some mousemove-handler.

I try to find the generation of these _ values

It's simple: Unix-timestamp:
url += "&_=" + Long.toString(System.currentTimeMillis() / 1000);

(not tested, if the code is correct.)

The query seems to be issued by some mousemove-handler.

As I said a few days ago: When the user hovers a tile the data is loaded.

Did some digging, seems to be a feature of jquery in order to avoid caching e.g in IE. According to jquery it is normally new Date().getTime(); but it seems that there is some offset here (if I calculate the date from the used values I get something in March right now)

Forget the offset, that is not true. It is the time as returned by new Date().getTime(); Unfortunately it never returns data even with identical query strings, so there something else is missing here.


Feature Request: Widget to select multiple items from list

I would like to request a new widget similar to the DropDown widget, but where an arbitrary number of items could be selected.  Multiple options can be passed in  a single argument to argparser via:
parser.add_argument('--foo', nargs='*')
This widget would use that feature, and allow the user to select the available arguments from a list.

I dig this idea. Large update is in the works. This is now on the list!

Is there already an update which covers nargs?
Also if used together with choices?

Added in 229e8b54!


POP!_OS 22.04 mount fails after install & fstab changes brick GDM

Hey,
I am currently trying to setup Pop OS LTS 22.04 and tried to follow your 21.04 and 21.10 guide and end up with the same issues.
Basically all steps work until the point where the os is installed and I would need to move the files to the sub volumes.
When I just restart the OS the encryption etc. works fine and is indeed btrfs.
First Issue:
Once the intaller is finished installing I am able to open the luks partition but not able to mount it.
$ cryptsetup luksOpen /dev/nvme1n1p6 cryptdata
# Enter passphrase for /dev/nvme1n1p6:
$ ls /dev/mapper
# control cryptdata data-root
$ mount -o subvolid=5,ssd,noatime,space_cache,commit=120,compress=zstd,discard=async /dev/mapper/data-root /mnt
mount: wrong fs type, bad option, bad superblock on /dev/mapper/data-root,
       missing codepage or helper program, or other error

When I just restart the os it boots finde and using df -Th shows that its indeed btrfs
Second Issue:
As I don't really need the snapshots I thought I will just skip the sub volumes then and just apply your fstab optimizations.
So once I am booted inside Pop-OS I execute:
$ sed -i 's/btrfs  defaults/btrfs  defaults,ssd,noatime,space_cache,commit=120,compress=zstd,discard=async/' /etc/fstab
$ sed -i 's/luks/luks,discard/' /etc/crypttab

Once I reboot I will stuck on the Password entry screen (the partition was already unlocked but the screen flashes once and then comes back with the login). When I then switch to terminal mode Ctrl+Shift+F2 I can see the login-promt and login with my user.
When then trying to exit /etc/fstab I will get the error that the file is read-only, as root.
Has something changed with 22.04? It seems like only the Gnome Display Manager fails to start due to some mounting issues?
Did you maybe had a chance to apply your guide to 22.04?
Regards Artur

I also ran into that issue.
New Pop!_OS seems to activate space_cache=v2. According to the man page, once Version 2 is activated you always have to use Version 2. The option space_cache defaults to Version 1. That is why the mount fails.
Solution: always use space_cache=v2 or omit this option completely (it is redundant):
$ mount -o subvolid=5,ssd,noatime,space_cache=v2,commit=120,compress=zstd,discard=async /dev/mapper/data-root /mnt

and
$ sed -i 's/btrfs  defaults/btrfs  defaults,ssd,noatime,space_cache=v2,commit=120,compress=zstd,discard=async/' /etc/fstab

Hi, thanks for this solution, this is exactly what I would have proposed as well. I have uploaded a new guide (note that I am moving the guides to a new homepage mutschler.dev). I also ommit the commit, ssd and noatime mount options as the defaults of btrfs have become better with recent linux kernels and I do not notice any performance differences with or without these options, so I'd rather stick to the defaults and only add compress=zstd:1 and discard=async (even though discard=async will become the default for SSDs soon).


Cannot create organization as address is not recognised as valid

Describe the bug
When trying to create an organization I get an error message regarding my address format even though it is a correct Zero address.
To Reproduce
Steps to reproduce the behavior:

Go to Organizations and click  +New DAO
See Controller and Treasury Account contains no Zero address
add 2 different zero addresses
See error saying invalid account

Expected behavior
Zero account wallets should be valid.
Screenshots

hm I am confused about address formats:

on on my old wallet I could select "allow use only on ZERO.io" which also gives 3YpU
so our code is correct.
however my wallet is wrong... (and I choose display in ZERO format)

https://github.com/gamedaoco/gamedao-beta/pull/274


Using different (external) dataset with different image resolution

Hi
I'm trying to run the code for the road extraction dataset from DeepGlobe challenge, where the images are 1024x1024x3, and (even though from 3 different regions but) have been named independent of the regions. It seems to me that the code however is written in accordance with the data acquired from the google maps. Are there any instructions regarding as to with what changes the code should be run to make it work for any external dataset?

@uakfdotb
Thank you so much for the reply. I will try this out.

Hi
I tried to look at the things more closely after reply. If I understand correctly, the roadtracer code creates the labels/masks (the ground truth) for the training images by running the go scripts in the dataset directory.
But what if we have already have the satellite images as well the mask images [the ground truth] (as it is in the case of DeepGlobe's dataset)? Because, from your reply, what I understood is that the graph files as well as the json files are important for running the training and eventually the prediction.

The roadcnn code (not RoadTracer system, but rather a baseline from the paper) uses the masks produced by dataset/5_truth_tiles.go, but RoadTracer doesn't actually use the masks at all, only the graphs.
So if you only have masks, you could use them directly with roadcnn, but not with roadtracer.
utils/mapextract.py will take an image and produce a graph from it via thresholding (binary mask from 8-bit image given a threshold), morphological thinning (thin foreground regions until everything is single-pixel-wide lines), and extracting a graph by following the remaining foreground pixels.
This utility is included to convert outputs from roadcnn to vector graph file format. But you could use it to convert the DeepGlobe masks to ground truth graphs as well.
One thing to keep in mind is that RoadTracer never segments the imagery, it produces a graph directly. So you won't be able to compare it on DeepGlobe's intersection-over-union metric. This is a bad metric anyway because it only looks at the segmentation output, not the actual connectivity / topology of the graph (e.g., even if you have many disconnections your performance on metric might still be good, but the map won't be usable for any practical application).

Those two modifications sound good. You would directly create the ground truth road network graphs in pixel coordinates based on DeepGlobe dataset, right?
You will have to make some similar adjustments to roadtracer/tileloader.py. Inference requires one point known on the road network, for now maybe split the training set from DeepGlobe into train and test set. But later you could apply on DeepGlobe test set by using peaks in the segmentation output (from another model, e.g. roadcnn) as starting locations for RoadTracer.

Is it possible to run roadtracer inference on DeepGlobe data, using the pre-trained model and graphs from this link:
https://roadmaps.csail.mit.edu/roadtracer/
I tried looking infer.py and tileloader.py, and I'm not sure where to start from to makes changes to accomplish the above.
Also, is the documentation for the code available?

anil-2185 Those two modifications sound good. You would directly create the ground truth road network graphs in pixel coordinates based on DeepGlobe dataset, right?
You will have to make some similar adjustments to roadtracer/tileloader.py. Inference requires one point known on the road network, for now maybe split the training set from DeepGlobe into train and test set. But later you could apply on DeepGlobe test set by using peaks in the segmentation output (from another model, e.g. roadcnn) as starting locations for RoadTracer.

Thanks @uakfdotb for response.
I am working on the modifications to train the roadtracer on DeepGlobe. As suggested I am able to run the code on Deepglobe, but has few doubts:

I am not able to understand the subtraction of number 256 in "4_startlocs.go". But found that subtraction is considered necessary in tileloader.py and train.py. Is it required to set the path (start and end rectangle) in the center of image?

Window size (search area, I assume) is 512 in tileloader.py but in train.py is 256 and model also expects input of size (?,256,256,5). should the window size in tileloader.py be also 256?

As in DeepGlobe, testing tiles can be large, as compare to single testing tile of Chicago. Can you please suggest the changes for the same in train.py?

Here are few input images to model for training for the verification.

I am not able to understand the subtraction of number 256 in "4_startlocs.go". But found that subtraction is considered necessary in tileloader.py and train.py. Is it required to set the path (start and end rectangle) in the center of image?

That code is to make sure there are enough starting locations in the tile to use it for training. Starting locations near the border of the image will be excluded because during training we take crops of the imagery and there is no code in place to allow crops that go off of the image canvas. You could modify the training/inference code to allow these crops and set the pixels to 0 if they are outside the image bounds.

Window size (search area, I assume) is 512 in tileloader.py but in train.py is 256 and model also expects input of size (?,256,256,5). should the window size in tileloader.py be also 256?

It should be okay to set it to 256, it just needs to be larger than the actual window size.

As in DeepGlobe, number of testing tiles can be more than 1, as compare to single testing tile of Chicago. Can you please suggest the changes for the same in train.py? I tried changing the code similar to train_tiles and create list of test_tiles but I am struggling to run the testing stage...any help is appreciated.

For DeepGlobe you should make each image a separate region, and it can be BLAH_0_0.png.

How to visualize the graph over the image, as I am not able to get any clue to change the CreateSVG method in Common package?

It may be easier to write your own code. You can see discoverlib/graph.py to load the graph, and then the vertex.point Point objects just reference pixel positions in the imagery. So you can draw lines along edges using your desired programming language / library.

While inferring only single starting location is randomly chosen from the ground truth (consider for validation set). Thus I am unable to infer the road network completely. How did you rectify this while testing? an example image is shown below with ground truth and inferred roads starting with 2 random locations.

The most straightforward way would be to first run a segmentation model, and then take maximum value in the segmentation output as starting location.

More on using segmentation approach:
After running segmentation model, use the maximum value pixel in the segmentation output as starting location for RoadTracer. Then, run RoadTracer to termination. Next, zero out all pixels in the segmentation output that are close to any edge in the output of RoadTracer so far. If the maximum value pixel is above a certain threshold (e.g. 0.5), then repeat the process.
This way, if there are two sets of disconnected roads in the image, we can run RoadTracer on both sides of the road network.


feat: call slack channel if state is alarm

Description
This pr will add @channel message when state alarm is ALARM, if variable is true!

Motivation and Context
I need that this module creates cloudwatch alert message with channel command, when enabled.
If the alert is very important, for example, should call all people in the channel to resolve this. Actually, doesn't do.

Breaking Changes

No break. A new variable contains default value, and it will hold the current behaviour.
How Has This Been Tested?

Terraform apply done
Two modules (one with channel Infrastructure alerts, and other without channel - control alerts)

Tested
1 - Infrastructure alerts (need channel)

2 - Control Alerts (no need without channel)

Environment

Terraform v0.11.14

provider.archive v1.3.0
provider.aws v2.70.0
provider.external v1.2.0
provider.null v2.1.2
provider.template v2.1.2

This change will create a environment variable within function, only. No problems with other areas of code.

@antonbabenko Save us, please :pray:

This is a neat idea, but it might be better to allow the option to specify what to alert, not just blatantly @channel.  Eg: to @ an group (eg: @devops) or to @ an individual for smaller orgs that only have one ops/devops person.  I think this could be accomplished by changing the variable channel_if_alarm into append_if_alarm and the variable is an string which is empty by default.  This way users could still put @channel in to that variable if they wanted to channel, but it gives them a lot more flexibility in whom to alarm (instead of the entire channel).
Thoughts @fmarcolino ?

Looked pretty good until I changed the base branch to master (it was terraform011 before). Please apply the necessary changes and I will make another review shortly after. Thanks!

Un-stale this please, still want this


fix: RN 62.0 compatibility

With React Native 0.62.0, after adding react-native-tcp-socket, you will encounter duplicate CocoaAsyncSocket symbols. This appears to be a consequence of Flipper, introduced in React Native 0.62.0.
Using CocoaAsyncSocket as a pod dependency fixes this issue.

@mvayngrib, any chance this PR can be merged? This is a pretty important issue.


update build and add "config/mpas/keptvars.yaml"

Description
This is a corresponding PR for https://github.com/JCSDA-internal/mpas-jedi/pull/844. Here, the build directories are updated and keptvars.yaml file is added.
Issue closed
Closes #200
Tests completed

[x] 3dvar_OIE120km_WarmStart
[x] 3denvar_OIE120km_WarmStart
[x] 3dvar_OIE120km_ColdStart
[x] 3dvar_O30kmIE60km_ColdStart
[x] 3denvar_O30kmIE60km_WarmStart
[x] eda_OIE120km_WarmStart

Tests completed on Cheyenne.


doc: release-notes: Add 3.2.0 release notes for networking

Add Zephyr 3.2.0 release notes for the networking area.
Signed-off-by: Robert Lubos<EMAIL_ADDRESS>

@pdgendt Thank you for the review, I've applied your suggestions.


Cannot Set WIFI SSID that Contains Emoji

Using SlimeVR server, I'm unable to set the wifi when the network's SSID contains emoji. The SSID that is sent is ? rather than the emoji. This works fine using the Butterscotch firmware tool so it appears to be a SlimeVR Server specific issue.

I... what.

To use emojis, you need proper UTF-8 support which the tracker firmware doesn't have (and will ever have, it's just too big for the small micro controllers)
The ? is very likely because somewhere the emoji's UTF-8 encoding gets broken
Why do you have an emoji in your WiFi password... I'm surprised your router is even letting you do that. WPA2 explicitly states that only printable ASCII characters are allowed. (WPA3 isn't supported by the tracker hardware.)

To use emojis, you need proper UTF-8 support which the tracker firmware doesn't have (and will ever have, it's just too big for the small micro controllers)

You might want to double check if you're correct or not. My wifi configuration with the SSID containing emojis works perfectly fine using the butterscotch site or using PlatformIO directly. It only doesn't work with SlimeVR server.

Why do you have an emoji in your WiFi password...

I'm not. I said i'm using emoji in the wifi SSID - not password

See? Works perfectly fine.

I'm not. I said i'm using emoji in the wifi SSID - not password

Oops, missed that. Yeah, the SSID can be whatever, as long as it's 32 bytes with a NUL byte at the end.
Still definitely a weird issue lol

Marked as GUI, server, and hardware protocol, as I do not know which step this issue originates from. Please update labels when known.

Trackers from version 0.4.0 supports bwifi (base64) encoding for the transfer the ssid and of the password. So trackers with version < 0.4.0 do not support that feature.
Transfering utf8 over terminal directly might work, as long there are no null or termination (lf). but did not test that.


The nativeapp crashed when running with mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite

Build the nativeapp on Coral Dev Board, then running it with mobilenet_v2_1.0_224_quant_edgetpu.tflite successfully.
But running it with mobilenet_ssd_v2_coco_quant_postprocess_edgetpu.tflite, it crashed with "Segmentation fault".
Could somebody help! Thanks!

hello @ting3000,
ssd mobilenet is a detection model, the native app only written to handles classification model outputs so that is expected.
You can follow this code to parse the outputs though: https://github.com/Namburger/edgetpu-detection-camera/blob/master/src/tflite_wrapper.cc#L96


[Experimental] Replace Docusaurus with Nextra

Docusaurus is big and slow, and sometimes buggy (the issue where chalk dependency leads to weird errors in logs caused me a lot of pain in debugging).
Nextra would probably be a better fit, and it also includes a built-in search, which would solve #890.
Last time I tried Nextra, it had build issues in our monorepo setup, so this would require some tinkering first.

Done, now.


Remove stale algorithms

Ref #5017

Pull Request Test Coverage Report for Build 11065

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 57.563%

Totals

Change from base Build 11064:
0.01%

Covered Lines:
11839

Relevant Lines:
20567

💛  - Coveralls


fix: avoid throwing the error when the attribute is invalid

I decide to avoid the parser executing whether an attribute is invalid.
I think it should do that in the rule plugin.
So I will create the rule that whether attributes and directives are invalid.
I do it through another PR.

@JounQin I glad if you will merge this PR for now.

@YusukeHirao Please run yarn test -u to update snapshots?

@JounQin Already Updated them. No diff.


[DISCUSSION] Fix pixel to clipspace projection

For https://github.com/uber/deck.gl/issues/1695
The fix turns out to affect many more layers. This will affect render results of existing applications. We need a compatibility strategy to move forward.
Change List

Fix bug in project_pixel_to_clipspace shader util
Fix render test by cutting pixel values in half
Note that this fix exposes another TextLayer bug in text anchor calculation (every character is shifted 1/4 width to the left in the new golden image) that we need to address in a follow up PR.

Looking at the changelog we added the project_pixel_to_clipspace support from v5, but I guess the shader logic was there before v5, so likely v4+ users using the following layers will be affected:
Core layers

arc-layer
icon-layer
line-layer
point-cloud-layer
text-layer

Experimental layers and layers only used in examples

arc-brushing-layer
plot-layer
advanced-text-layer
bezier-curve-layer

Looks like the primarily impact is the width and radius, I think it is fine to release it, just highlight in what's new, we didn't break anything.


G Suite for Gmail : Feature - PAPP-21019 Make this app FIPS compliance

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Testing of all the changes has been performed (for bug fixes / features)
[x] The readme.html has been reviewed and added / updated if needed (for bug fixes / features)
[x] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[x] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[x] Verify all checks are passing.
[x] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[x] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[ ] New App
[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, renaming)
[x] Refactoring (no functional changes, no api changes)
[x] Documentation
[ ] Other (please describe):

Release Notes (REQUIRED)

This app should comply with our FIPS compliance.

What is the current behavior? (OPTIONAL)

md5 is used mainly.

What is the new behavior? (OPTIONAL)

This app should comply with our FIPS compliance.

IMPORTANT

Pipeline issue does not need to be fixed in this CL. Pipeline will be fixed in a separate CL PAPP-23669
The key part here is the integration test I believe (i.e. this ensures functionalities of this app are still working with FIPS changes)

Thanks for contributing!

For more info, this change is also passing on 5_0 OnPrem at pipelines/4368681


403 Error in Page Defaults when using REDIS for Caching

We have activated/ tested Caching with REDIS for some of our projects. - Originally in order to work around another issue with the conventional caching method.
Most aspects run fine& fast with the REDIS Cache and we would definitly like to use it in the future.
There is one Problem however, that doesn't really make sense to me, but it definitly relies on REDIS Caching to be active to occur:
Whenever you try to edit Page Default Content for any given Page Type (/dashboard/pages/types/output/edit_defaults/), you get a 403 Permission Error.
How to reproduce:

Activate Caching with REDIS via Config File.
Go to: /dashboard/pages/types
Click on the "Output" Button for any of the available Page Types

The Problem disappears as soon as you switch back to conventional Caching.

So it's not just redis it's any cache that might have a delay in read (slow filesystem, memcached), its the way the core does the session set via alias
I though i fixed this in the core but i forgot about it I guess..
you can use this override to fix it until next release
https://gist.github.com/deek87/11196937104a653d369fa2b29a56dd6a -


plantuml: 1.2022.10 -> 1.2022.12

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/plantuml/plantuml/releases.
meta.description for plantuml is: "Draw UML diagrams using a simple and human readable text description"
meta.homepage for plantuml is: "http://plantuml.sourceforge.net/"
meta.changelog for plantuml is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2022.11 with grep in /nix/store/ydnn8spwd9cp23lb9g558mwfbk6ljq0z-plantuml-1.2022.11
found 1.2022.11 in filename of file in /nix/store/ydnn8spwd9cp23lb9g558mwfbk6ljq0z-plantuml-1.2022.11

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
plantuml
plantuml-c4
python310Packages.plantuml-markdown
python310Packages.sphinxcontrib-plantuml
python39Packages.plantuml-markdown
python39Packages.sphinxcontrib-plantuml
vscode-extensions.jebbs.plantuml

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ydnn8spwd9cp23lb9g558mwfbk6ljq0z-plantuml-1.2022.11 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plantuml https://github.com/r-ryantm/nixpkgs/archive/e0dc26abd222b85b6249ac45aabd104f833ed540.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ydnn8spwd9cp23lb9g558mwfbk6ljq0z-plantuml-1.2022.11
ls -la /nix/store/ydnn8spwd9cp23lb9g558mwfbk6ljq0z-plantuml-1.2022.11/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

7 packages built:

plantuml
plantuml-c4
python310Packages.plantuml-markdown
python310Packages.sphinxcontrib-plantuml (python310Packages.sphinxcontrib_plantuml)
python39Packages.plantuml-markdown
python39Packages.sphinxcontrib-plantuml (python39Packages.sphinxcontrib_plantuml)
vscode-extensions.jebbs.plantuml

Maintainer pings
cc @bjornfor @mogria for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/plantuml/plantuml/releases.
meta.description for plantuml is: "Draw UML diagrams using a simple and human readable text description"
meta.homepage for plantuml is: "http://plantuml.sourceforge.net/"
meta.changelog for plantuml is: ""
Updates performed

Version update

To inspect upstream changes

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.2022.12 with grep in /nix/store/mhf1vy2zi7bd4zchw36s7chdihi4j8xc-plantuml-1.2022.12
found 1.2022.12 in filename of file in /nix/store/mhf1vy2zi7bd4zchw36s7chdihi4j8xc-plantuml-1.2022.12

Rebuild report (if merged into master) (click to expand)

7 total rebuild path(s)

7 package rebuild(s)

First fifty rebuilds by attrpath
plantuml
plantuml-c4
python310Packages.plantuml-markdown
python310Packages.sphinxcontrib-plantuml
python39Packages.plantuml-markdown
python39Packages.sphinxcontrib-plantuml
vscode-extensions.jebbs.plantuml

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mhf1vy2zi7bd4zchw36s7chdihi4j8xc-plantuml-1.2022.12 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A plantuml https://github.com/r-ryantm/nixpkgs/archive/c9c691a52ae838aab2132d7e1d3cd339230f6c04.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mhf1vy2zi7bd4zchw36s7chdihi4j8xc-plantuml-1.2022.12
ls -la /nix/store/mhf1vy2zi7bd4zchw36s7chdihi4j8xc-plantuml-1.2022.12/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

7 packages built:

plantuml
plantuml-c4
python310Packages.plantuml-markdown
python310Packages.sphinxcontrib-plantuml (python310Packages.sphinxcontrib_plantuml)
python39Packages.plantuml-markdown
python39Packages.sphinxcontrib-plantuml (python39Packages.sphinxcontrib_plantuml)
vscode-extensions.jebbs.plantuml

Maintainer pings
cc @bjornfor @mogria for testing.