Use pickr with NuxtJS

I was wondering how can i make this work with NuxtJS.
What I did so far:

Created a file in plugins/pickr.js
Inside this JS file I added
import Vue from 'vue'
import Pickr from '@simonwep/pickr'
Vue.use(Pickr)
Inside nuxt.config.js inside plugins I added:
'~/plugins/pickr'
Inside nuxt.config.js inside build I added:
transpile: ['pickr']

After trying to use Pickr in one of my .vue files I get errors although server and client are compiled successfully.
Any ideas what is going wrong and how i can solve this?
Thank you in advance.

Your environment:
Version (see Pickr.version): "@simonwep/pickr": "^1.6.0",
Used bundle (es5 or normal one): used npm to bring it in
Used theme (default is classic):  classic
Browser-version:  latest Chrome
Operating-system:  latest MacOS

It works for me when I try to add cdn script and css on head method instead of using plugins or import the module. Already tried to using modules and plugins but got errors, but this might work 👀
...
head() {
    return {
      link: [
        {
          rel: 'stylesheet',
          href:
<EMAIL_ADDRESS>        }
      ],
      script: [
        {
          src<EMAIL_ADDRESS>        }
      ]
    }
  }
...

then call Pickr object using window.Pickr

It works for me when I try to add cdn script and css on head method instead of using plugins or import the module. Already tried to using modules and plugins but got errors, but this might work 👀

...

  head() {

    return {

      link: [

        {

          rel: 'stylesheet',

          href:

<EMAIL_ADDRESS>
        }

      ],

      script: [

        {

          src<EMAIL_ADDRESS>
        }

      ]

    }

  }

...

then call Pickr object using window.Pickr

I havent tried that but it could be a solution! Although it would be great to have it working with import as well!

'@simonwep/pickr' is not a Vue plugin, vue is mentioned literally nowhere. Use vue refs and mount it manually.

'@simonwep/pickr' is not a Vue plugin, vue is mentioned literally nowhere. Use vue refs and mount it manually.

Sorry to ask, but do you have an example on how to use a ref with pickr? I am learning vue templates and I have tried myself to use a ref, however I'm not getting good results

damn, this way late, but for anyone else who needs help with it:
const selectedColor = ref("#B30A0A");

onMounted(() => {
  const pickr = window.Pickr.create({
    el: ".colorpicker",
    theme: "monolith",
    default: selectedColor.value,
    swatches: [
      "rgba(244, 67, 54, 1)",
      "rgba(233, 30, 99, 0.95)",
      "rgba(156, 39, 176, 0.9)",
      "rgba(103, 58, 183, 0.85)",
      "rgba(63, 81, 181, 0.8)",
      "rgba(33, 150, 243, 0.75)",
      "rgba(3, 169, 244, 0.7)",
    ],
    defaultRepresentation: "HEXA",
    components: {
      // Main components
      preview: true,
      opacity: true,
      hue: true,
      // Input / output Options
      interaction: {
        hex: false,
        rgba: false,
        hsva: false,
        input: true,
        clear: true,
        save: true,
      },
    },
  });

  pickr.on("save", (color, instance) => {
    instance.hide();
    selectedColor.value = color.toHEXA().toString();
  });
});


initial implementation of startsWith

Fixes https://github.com/Netflix/iceberg/issues/49
Initial implementation only for iceberg-api expressions
Open issues:

should we add implementation for spark, parquet and  avro?
should we use case sensitive startsWith?
should we support unicode characters startsWith?

@Liorba, thanks for working on this! This is a good start.
To answer your questions:

Integrating engines to use startsWith can be done in a follow-up.
I think this should be case sensitive.
I'm not sure what you mean.

This also needs to update the project methods in each transform. Otherwise, Iceberg wouldn't be able to convert STARTS_WITH data predicates to partition predicates.

@Liorba, if you want to continue working on this, please re-open it in the apache/incubator-iceberg repository. That's the project's new home. Thanks!


Terminal dimensions

I've been trying to figure out a way to get the dimensions of the current terminal in a sensible (somewhat) cross-platform way. I thought it'd be a fairly easy thing to do and I could try submitting a PR once I have something working, but it's proving to be beyond my skill/knowledge level with OCaml and terminals in general.
However, it seems like a very common thing that people would expect to see in a library like this, so I figured it could merit some discussion at the very least?
 I got this kind of working[^1], but this only seems to work for certain terminals. Foot, Alacritty, URXVT and the linux console worked for me while Kitty, Wezterm, xfce-terminal and, surprisingly, xterm didnt.
ioctl() through Ctypes works, kind of[^2], but I could not figure out a way to access libc constants in OCaml, so I had to hardcode the value of TIOCGWINSZ, so it's the furthest thing from cross platform.
A separate mini-library that just exposes a couple functions to get the terminal size. Probably the most cross-platform and easiest method, but I didn't try it because submitting a PR with a bunch of C seemed like it might not be welcome. If I'd gone with this method, I'd be tempted to do some of the terminal setup/cleanup through C as well, just because IIRC dealing with things like SIGWINCH, SIGINT etc. in OCaml is much harder(?)
tputs and/or stty - shelling out to these seems like an easy 'cheat' but I doubt these are available on all platforms.

[^1]: with this hacky monstrosity. I had Base and Stdio opened in these experiments, in case some functions look odd.
[^2]: https://gist.github.com/rchog/ac9303c0d6b4d0deb74b006534749722

CSI 6n is CPR aka Report cursor position. If you want to use an escape code to get terminal size you use CSI 14, 16 and 18 t. See https://sw.kovidgoyal.net/kitty/graphics-protocol/#getting-the-window-size and https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI--ordered-by-the-final-character_s for details.

CSI 6n is CPR aka Report cursor position. If you want to use an escape code to get terminal size you use CSI 14, 16 and 18 t. See https://sw.kovidgoyal.net/kitty/graphics-protocol/#getting-the-window-size and https://invisible-island.net/xterm/ctlseqs/ctlseqs.html#h3-Functions-using-CSI--ordered-by-the-final-character_s for details.

Fair, I should've tried that too, though I was under the (apparently false) assumption that moving the cursor to the bottom right and using CSI 6n was the more widely supported method. But after some more experiments just now, it turns out most of the terminals I mentioned as "not working" do give the expected sequences to STDIN with either one - I just had to wait much longer for them. I may be able to hack something together after all nearer the weekend.


remove unnecessary code

Codecov Report

Merging #1495 (ab1f64a) into master (9105590) will decrease coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1495      +/-   ##
==========================================
- Coverage   71.02%   70.97%   -0.05%
==========================================
  Files         414      414
  Lines       40022    40011      -11
==========================================
- Hits        28425    28398      -27
- Misses       9805     9818      +13
- Partials     1792     1795       +3

Flag
Coverage Δ

go-1.14
?

go-1.15
70.97% <ø> (+<0.01%)
:arrow_up:

go-1.16
?

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

Impacted Files
Coverage Δ

os/gstructs/gstructs_type.go
93.75% <ø> (+8.84%)
:arrow_up:

protocol/goai/goai_path.go
61.25% <ø> (+1.86%)
:arrow_up:

net/gtcp/gtcp_pool.go
28.40% <0.00%> (-10.23%)
:arrow_down:

os/gspath/gspath_cache.go
91.22% <0.00%> (-3.51%)
:arrow_down:

net/gtcp/gtcp_conn.go
31.89% <0.00%> (-2.17%)
:arrow_down:

os/gcfg/gcfg_adapter_file.go
66.87% <0.00%> (-1.85%)
:arrow_down:

os/glog/glog_logger_rotate.go
68.78% <0.00%> (-1.47%)
:arrow_down:

container/gtree/gtree_avltree.go
92.03% <0.00%> (-1.20%)
:arrow_down:

Continue to review full report at Codecov.

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


Running the newest build - search function not stopping on open channels

Hey guys!
Two things here.
I'm running the latest build but have noticed a bit of an issue. I'm unsure if its the number of channels in the scanner, or something else. However, when scanning my second list (approximately 16 items in it), it will not stop on open channels despite a strong signal. If I stop the search, it immediately lights up on that channel clear as a whistle. I have a second radio to confirm the signal is coming in strong. I turned duel standby on and off, am fix on and off, and went single channel on the screen. Lowered the squelch to 1, still wont receive while in scan mode. These frequencies are in the 154-156 FM range.
-edit- Just tested the all scan, and that part is working perfectly, I think the issues are in the channel lists saved. Going to keep tinkering.

So I've reset the saved lists, and list 2 seems to be the only currently having issues.
alright moved my 154-156 frequencies into a different list, same issue.
Noticed some of the frequencies are on narrowband, going to test to see if moving everything to wideband fixes it
No luck on changing the band, removing the CTCSS for next test - BOOM! You cannot use CTCSS with the scan function! That was the problem!

Second thing, I've noticed while scanning (or if receiving), it will at seemingly random, even if not touched, lock the monitor on. The additional odd thing here is that it will require you to turn monitoring on, then off again before it will stop.

Okay so I was receiving a RX when I was in the menu this time, I clicked menu while getting the RX in the menu and the monitoring came on by itself again. Ill keep watching to see if I can figure out what exactly is causing it to turn on if anything else.
This time I sat in the menu till I got an RX, then hit scroll up, and that locked on the monitor as well. Seems to be... as I was just saying that it picked up an RX and locked on monitor without me touching it. Dang.
Just hit a random button while on RX, opened monitor as well.

Hope you guys are having a great day!

I experience the same as GreeneEye describes.
What I also experience is that when in searchmode (so not channelscan) the 890 NEVER stops on a busy frequency. Neither in bandwith narrow, nor in wide, in all AGC's, in all bands, in ALL modes, with all fw's, with all signalsstrengths, even if a signal is -60dB. Tested this with signal generator. All to be very sure of the issue.
And just another little funny thing in main fw: with DCS on there is a long SQ tail, BUT when in menu while RX, all of the SQtail is gone. On the other HT Tail elimination was ON.


[FEATURE]: Create GameController

Description
Create controller GameController which provide actions for working with available games
Expected Result
Implemented next points:

There new controller
Controller have name GameController
Controller have some actions for working with available games

https://github.com/Alkamal30/CardGamesGuruMiniApp/pull/6


Jenkins: Update matrix authorization plugin

There is a breaking change listed in version 3.2 of https://updates.jenkins.io/download/plugins/matrix-auth/3.2/matrix-auth.hpi. We are currently at 3.1.8.
There is action required to validate that we will not be negatively impacted when we attempt an upgrade of this plugin.

This has been auto-updated on the jenkins update to 2.440.1

We are putting in the remediation as per https://plugins.jenkins.io/matrix-auth/releases/#version_3.2


Convert SW Article from HTML5Rocks to /web/fundamentals.

https://github.com/google/WebFundamentals/issues/2438

@PaulKinlan @petele @gauntface

Feedback (All minor and I'm happy to make the changes in a seperate PR):

We should probably mention letsencrypt now that it's in public beta  https://milkbone.googleplex.com/web/fundamentals/getting-started/service-worker/https-is-needed?hl=en
This page could be dropped - https://milkbone.googleplex.com/web/fundamentals/getting-started/service-worker/using-service-worker?hl=en
There is better debugging on in page DevTools, but I still find chrome://service-worker-internals helpful https://milkbone.googleplex.com/web/fundamentals/getting-started/service-worker/register-and-install?hl=en

The /getting-started/ folder is for codelabs mainly.  I was expecting this to be in /primers/ https://developers.google.com/web/fundamentals/primers/

Agree with matt on using-service-worker page.

@gauntface "I'm happy to make the changes in a seperate PR"
I've removed the page in your second bullet. Could you please take the other items in a separate PR as suggested.

@jpmedley - would you mind moving this from getting-started to primers?

@petele moved.

@petele PTAL

Is http://www.html5rocks.com/en/tutorials/service-worker/introduction/
then deprecated in favor of https://developers.google.com/web/fundamentals/primers/service-worker/prerequisites?hl=en
If so, can we make a note on the former, or set up a redirect? Many pages, including our own, link to the old article, e.g. https://jakearchibald.com/2014/offline-cookbook/ (CC @jakearchibald).

CC @jeffposnick on urlsToCache at https://developers.google.com/web/fundamentals/primers/service-worker/install?hl=en - mention sw-precache?


AWS Amplify plugin

AWS Amplify is a framework that acts as a bridge between DevOps teams and Frontend teams.
It comes with several SDKs (JS, React, etc.) as well as a CLI that can be extended through plugins.
According to the documentation:

Currently there is only one official provider plugin: amplify-provider-awscloudformation

Provider plugins contained in this object will be initialized, and able to provide functionalities for creation and maintenance of the cloud resources.

It would be great to be able to use Pulumi instead of CloudFormation in Amplify.
Typical use cases:

Creating an authentication backend : amplify auth add
Creating a REST or a GraphQL API : amplify api add
Creating a function : amplify function add

In a sense, the idea behind Amplify is very close to Pulumi's AWS Crosswalk : better accessibility to high-level cloud use-cases.

Amplify is supported in Pulumi these days: https://www.pulumi.com/registry/packages/aws/api-docs/amplify/


Not able to validate file uploads on the backend, even though it works on the frontend

I've been pulling my hair out to get this to work, but I feel like I've hit a wall with this issue I'm not able to solve by myself.
I'm using Nextjs with react-hook-form, valibot and server actions.
Installed dependencies:
"@hookform/resolvers": "^3.3.4",
"next": "^14.1.4",
"react-hook-form": "^7.51.2",
"typescript": "^5.4.3"
"valibot": "^0.30.0"

Issue
I'm trying to implement a basic image file upload, got the frontend validation working but it seems to break on the backend (server action) using the same validation.
When logging the file to be uploaded on the frontend, it correctly logs the avatar file.
Logging avatar inside the server action logs also the exact same file, which looks like this:
File {
  size: 153756,
  type: 'image/jpeg',
  name: 'F-R0rVnaUAAEixq.jpg',
  lastModified:<PHONE_NUMBER>468
}

However, when performing the validation inside the server action like this:
const avatar = values.get("avatar");
const result = safeParse(ChangeAvatarFormSchema, avatar, { abortEarly: true });

I receive the following error from valibot:
{
  typed: false,
  success: false,
  output: {},
  issues: [
    {
      reason: 'type',
      context: 'instance',
      expected: 'File',
      received: 'undefined',
      message: 'Avatar is required',
      input: undefined,
      path: [Array],
      issues: undefined,
      lang: undefined,
      abortEarly: true,
      abortPipeEarly: undefined,
      skipPipe: undefined
    }
  ]
}

The file for whatever reason is undefined even though I just logged it right above without issues.
Full code
My form on the frontend:
"use client";

import { valibotResolver } from "@hookform/resolvers/valibot";
import { Controller, useForm } from "react-hook-form";
import { changeAvatar } from "@/lib/actions";
import { ChangeAvatarFormSchema, type ChangeAvatarSchema } from "@/lib/validations";

export default function AvatarForm() {
  const { control, setError, handleSubmit, formState: { errors, isSubmitting } } = useForm<ChangeAvatarSchema>({
    resolver: valibotResolver(ChangeAvatarFormSchema),
    defaultValues: {
      avatar: undefined,
    },
  }); // prettier-ignore

  async function onSubmit(values: ChangeAvatarSchema) {
    const formData = new FormData();
    formData.append("avatar", values.avatar);

    const result = await changeAvatar(formData);

    if (!result.success) {
      return setError("avatar", { message: result.error });
    }

    return;
  }

  return (
    <form className="space-y-6 rounded-xl border border-zinc-800 bg-zinc-900 p-6" onSubmit={handleSubmit(onSubmit)}>
      {errors.root &&
{errors.root.message}
}

          Avatar

        <Controller
          control={control}
          name="avatar"
          render={({ field: { onChange, value, ...field } }) => (
            <input
              {...field}
              className="disabled:cursor-not-allowed disabled:opacity-75 sm:text-sm"
              disabled={isSubmitting}
              id="avatar"
              name="avatar"
              type="file"
              onChange={(event) => onChange(event.target.files?.[0] || null)}
            />
          )}
        />
        {errors.avatar &&
{errors.avatar.message}
}

      <button className="h-10 w-full rounded-lg bg-blue-500 px-3 hover:enabled:bg-blue-600 disabled:cursor-not-allowed disabled:opacity-75" disabled={isSubmitting} type="submit">
        {isSubmitting ? "Loading" : "Change avatar"}
      </button>
    </form>
  );
}

Server action:
"use server"

import { safeParse } from "valibot";
import { ChangeAvatarFormSchema } from "@/lib/validations";

type ServerActionResult = {
  success: boolean;
  error?: string;
};

export async function changeAvatar(values: FormData): Promise<ServerActionResult> {
  const avatar = values.get("avatar");

  console.log(avatar);

  const result = safeParse(ChangeAvatarFormSchema, avatar, { abortEarly: true });

  console.log(result);

  if (result.success) {
    return { success: true };
  } else {
    return { success: false, error: result.issues[0].message };
  }
}

Validation:
import { Input, instance, maxSize, mimeType, object } from "valibot";

export const ChangeAvatarFormSchema = object({
  avatar: instance(File, "Avatar is required", [
    mimeType(["image/jpeg", "image/png", "image/webp"], "Only JPG, PNG and WEBP files are accepted"),
    maxSize(1 * 1024 * 1024, "Max avatar size is 1 MB"),
  ]),
});

export type ChangeAvatarSchema = Input<typeof ChangeAvatarFormSchema>;

Is values.get("avatar") an object or a file? Because ChangeAvatarFormSchema defines an object which contains a file. Personally I use blob instead of instance because files sent to the server usually arrive as Blob instead of File.

Is values.get("avatar") an object or a file? Because ChangeAvatarFormSchema defines an object which contains a file. Personally I use blob instead of instance because files sent to the server usually arrive as Blob instead of File.

values.get("avatar") is an object that contains the file.
I've tried using object, instance and blob without any luck, every attempt to solve this fails at the server action validation. 😅

If you log values.get("avatar") does it match the schema? I agree that it is wired that the issue has an input of undefined.


Getting JiraOneError: The limit argument is invalid, as it does not exist in the list of accepted keyword arguments.

Hello Prince,
As per release notes in v0.8.1 there is new function for argument validation called validate_argument_name.
I am trying to call jiraone.issue_export() with parameter limit as follows:
dt = jiraone.issue_export(jql='project = DT AND updated >= %s ORDER BY key DESC' % duration, limit=9999999999, final_file="dt_csvfile")
limit is a valid argument as per doc in https://jiraone.readthedocs.io/en/latest/apis.html#jiraone.access.EndPoints.issue_export however, in the execution, I am getting this error:
Traceback (most recent call last):
  File "/opt/jira/retrieve_jira_csv.py", line 180, in <module>
    start_looping()
  File "/opt/jira/retrieve_jira_csv.py", line 173, in start_looping
    process()
  File "/opt/jira/retrieve_jira_csv.py", line 167, in process
    export_jira_to_csv()
  File "/opt/jira/retrieve_jira_csv.py", line 136, in export_jira_to_csv
    dt = jiraone.issue_export(jql='project = DT AND updated >= %s ORDER BY key DESC' % duration, limit=9999999999, final_file="dt_csvfile")
  File "/usr/local/lib/python3.9/site-packages/jiraone/reporting.py", line 3177, in export_issues
    validate_argument_name(name_keys, valid_kwargs)
  File "/usr/local/lib/python3.9/site-packages/jiraone/utils.py", line 335, in validate_argument_name
    raise JiraOneErrors(
jiraone.exceptions.JiraOneErrors: <JiraOneError: The `limit` argument is invalid, as it does not exist in the list of accepted keyword arguments.>

Can you please advice if I miss something in this new version?
If I revert it back to version 0.7.9, the method above is running fine with that old version.
Thanks.

Hey @felixmarch
You are calling two different objects in your description. The issue_export here refers to a simple form of CSV extraction in its raw state, which doesn't do any object mapping or formatting. It is different when you call jiraone.issue_export as that refers to the function you're expecting to use and that function, doesn't have a limit argument. I never introduced the limit argument because the jiraone.issue_export function performs mapping and formatting of the data into a single CSV file. Typically, you don't need an upper limit as the function will extract everything based on JQL no matter how many issues exist within the Jira site. The page argument becomes useful when you want to split the CSV file so it doesn't become too large.

Hi @princenyeche,
Thank you for the explanation, I will remove the limit param accordingly then. ☺
It would be nice if this jiraone.issue_export function can be documented in the API doc as well
Thanks for the great tool.

All function or method have their documentation. You can view the API here issue_export which is referring to the same object PROJECT.export_issues to know the various arguments available.

Thanks, but the link you provided is export_issues, not issue_export.
And in that page, it doesn't say anything about export_issues referring to the same object issue_export or vice versa.
For programmer who just relies on the doc, it would be good to have few more words on it for better clarities on the issue_export vs export_issues :blush:

Both objects are the same, jiraone.issue_export is equivalent to PROJECT.export_issues [code line] and you can use either one and get the same result. I do object referencing within jiraone to make accessing some objects easier (especially when I need it accessible from anywhere) and I never thought of it that way but for clarity, I can add more info in my next update that mentions the relationship somewhere within the docs. Thanks for the feedback and I'm glad that the docs are useful to users, as I'm always trying to improve how I write them.


Multiple outputs, one input

Hi, thank you for your work! It looks a really nice and simple data loading pipeline. Could you please make modifications in order for your script to return 3 masks (in case of having more than just one output). In my case, I only have 1 input, but it would also be nice to give the option for both multiple inputs and outputs.
Thank you in advance.

Thank you for the comments and ideas. I want to keep this as general as possible, to extend it to multiple outputs, have a look here:
https://github.com/HasnainRaz/SemSegPipeline/issues/6
This might lead you in the right direction.


Feature/sedar docs

Codecov Report

Merging #23 into master will decrease coverage by 2.15%.
The diff coverage is 79.22%.

@@            Coverage Diff             @@
##           master      #23      +/-   ##
==========================================
- Coverage   92.56%   90.41%   -2.16%
==========================================
  Files          16       19       +3
  Lines         363      438      +75
==========================================
+ Hits          336      396      +60
- Misses         27       42      +15

Flag
Coverage Δ

#unittests
90.41% <79.22%> (-2.16%)
:arrow_down:

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

Impacted Files
Coverage Δ

cad_tickers/util/__init__.py
100.00% <ø> (ø)

cad_tickers/util/utils.py
96.29% <ø> (ø)

tests/test_sedar_cse.py
65.78% <65.78%> (ø)

cad_tickers/sedar/cse.py
86.36% <86.36%> (ø)

cad_tickers/exchanges/__init__.py
100.00% <100.00%> (ø)

cad_tickers/exchanges/classes.py
100.00% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Create locking subgraph

We need a subgraph exposing
total locked amount
total locked amount per user
locked amount per locking period per user (amount, start time, end time)
rewarder data (rate, reward token)

Schema:
type Locker @entity {
  # address
  id: ID!
  address: Bytes!
  decimals: Int!
  name: String!
  symbol: String!
  totalLockedAmount: BigDecimal!
  epochDuration: BigInt!
  lockDuration: BigInt!
  # percentage where 1000 is 100%
  kickRewardPerEpoch: BigInt!
  # number of epochs until a user can be kicked for a reward
  kickRewardEpochDelay: BigInt!
  rewardTokens: [RewardToken!] @derivedFrom(field: "locker")
  users: [User!]! @derivedFrom(field: "locker")
  block: BigInt!
  timestamp: BigInt!
}

type RewardToken @entity {
  # address
  id: ID!
  locker: Locker!
  rewardToken: Bytes!
  decimals: Int!
  totalRewardAmount: BigDecimal!
  # rewards / second (only when reward period is not finished)
  rewardRate: BigDecimal!
  # timestamp when rewards end
  rewardPeriodFinish: BigInt!
  block: BigInt!
  timestamp: BigInt!
}

type User @entity {
  # address
  id: ID!
  address: Bytes!
  locker: Locker!
  totalLockedAmount: BigDecimal!
  lockingPeriods: [LockingPeriod!]! @derivedFrom(field: "user")
  claimedRewards: [ClaimedReward!]! @derivedFrom(field: "user")
  collectedKickRewardAmount: BigDecimal!
  totalLostThroughKick: BigDecimal!
  block: BigInt!
  timestamp: BigInt!
}

type LockingPeriod @entity {
  id: ID!
  user: User!
  lockAmount: BigDecimal!
  # epoch is resembled by timestamp of start time
  epoch: BigInt!
  block: BigInt!
  timestamp: BigInt!
}

type ClaimedReward @entity {
  id: ID!
  user: User!
  amount: BigDecimal!
  token: Bytes!
  block: BigInt!
  timestamp: BigInt!
}


Fix run with old neko versions

Neko 2.3.0 and earlier had a bug which prevented unsetting variables

Fixes https://github.com/HaxeFlixel/flixel/issues/2534


Slight performance changes to integrations/git_test.go

Stop cloning the large repos in the push-to-create test - they unnecessarily slow for testing this feature which does not need them
Stop using crypto/rand for generating the data in the commits - pseudo random is sufficient - and stop creating 128Mb buffers in memory.

Gain around 3-5min (better than nothing)


Move dockerhub-readme workflow to the correct path

https://github.com/distribution/distribution/pull/4087 added the dockerhub-readme workflow into .github path from where it can not be triggered:
https://docs.github.com/en/actions/using-workflows/triggering-a-workflow

GitHub searches the .github/workflows directory in your repository for workflow files that are present in the associated commit SHA or Git ref of the event.

This PR addresses it and updates the workflow paths to the correct values.

PTAL @thaJeztah @DavidSpek


#388 Add sort order by New Arrivals

For consistency I think we should change the name of the new option from "New Arrivals" to "Newest products by date"?

For consistency I think we should change the name of the new option from "New Arrivals" to "Newest products by date"?

Updated.


Add option to use leading comments as description

This PR implements issue #18 by adding a new configuration option extractComments.
When its value is true, any leading comment will be used as the value for the description property of the message.

Coverage decreased (-0.004%) to 95.679% when pulling 64d50f03ecc103e0e1a4604b0706ad6e6082d845 on Ephys:master into 1c79470be6433f4da52dda8ced4aef49551148f2 on akameco:master.

Nice work @Ephys 👍
I think the default behavior is good that extractComments = true
What do you think?

Both are fine by me, enabled it by default :)

Coverage increased (+0.6%) to 96.296% when pulling 46aabdc3581c24bd6fbb1ca03d266cf9877c5a6f on Ephys:master into 1c79470be6433f4da52dda8ced4aef49551148f2 on akameco:master.

@Ephys Thank you 💯


[YUNIKORN-1948] Introduce a command to validate the content of a give…

What is this PR for?
When preparing the queue configuration file, manually, or use a program, a format error can happen. It can be costly to load the file to production and revert.
This Jira introduces a dedicated command to load the input queue config file (queues.yaml etc), and run the same code that production uses to validate the file, and report errors if there are any.
What type of PR is it?

[ ] - Bug Fix
[X ] - Improvement
[ ] - Feature
[ ] - Documentation
[ ] - Hot Fix
[ ] - Refactoring

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1948
How should this be tested?
Tested locally with queues.yaml file by modifying the content to make it invalid
$ build/queueconfigchecker queues.yaml
2023-08-31T11:25:44.115-0700	ERROR	core.config	configs/config.go:181	queue configuration validation failed	{"error": "guaranteed resource of parent map[memory:3384828493824 vcore:4006191] is smaller than sum of guaranteed resources map[memory:33848285986816 vcore:4006191] of the children for queue xyz"}
github.com/apache/yunikorn-core/pkg/common/configs.ParseAndValidateConfig
/Users/yongjunzhang/code/yunikorn/yunikorn-core/pkg/common/configs/config.go:181
github.com/apache/yunikorn-core/pkg/common/configs.LoadSchedulerConfigFromByteArray
/Users/yongjunzhang/code/yunikorn/yunikorn-core/pkg/common/configs/config.go:154
main.main
/Users/yongjunzhang/code/yunikorn/yunikorn-core/cmd/queueconfigchecker/queueconfigchecker.go:43
runtime.main
/usr/local/go/src/runtime/proc.go:250
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Hi @craigcondit Thanks for looking into. The lint issue is resolved now, but there is a codecov/project check failure,
https://github.com/apache/yunikorn-core/pull/634/checks?check_run_id=16406753455
wonder what need to be done for this case. Thanks.

In addition to the changes indicated by @pbacsko also remove the 'Visible by tests' comment from config.go:152 on LoadSchedulerConfigFromByteArray.

Many thanks @craigcondit uploaded new rev to address your comment.


fix(types): directives without arguments but with modifiers

fix #6427
<input v-model.trim="msg" />

/**
 * after compilation
 *
 * [
 *    vModelText,
 *    msg.value,
 *    void 0,
 *    { trim: true }
 * ]
 */

error :
TS2322: Type '[ModelDirective<HTMLInputElement | HTMLTextAreaElement>, any, undefined, { trim: true; }]' is not assignable to type '[Directive<any, any>] | [Directive<any, any>, any] | [Directive<any, any>, any, string] | [Directive<any, any>, any, string, DirectiveModifiers]'.
  Type '[ModelDirective<HTMLInputElement | HTMLTextAreaElement>, any, undefined, { trim: true; }]' is not assignable to type '[Directive<any, any>, any, string, DirectiveModifiers]'.
    Type at position 2 in source is not compatible with type at position 2 in target.
      Type 'undefined' is not assignable to type 'string'.

Looks good to me. Might be worth adding a test for this scenario to directives.spec.ts.
The original bug report was about webpack and compiler-generated code, but I believe this type change would also be useful when writing render functions directly with "strict": true. e.g. Playground.

Thanks for the PR, but sorry, we saw this PR too late. This issue has already been fixed in #11540.
see https://github.com/vuejs/core/pull/11540


Productionize the publishing Travis shard

Also fixes groovy script. Apparently null aware index accessors works on collections but not on arrays.

@tvolkert This change did not go into beta release, so people cannot run flutter_gallery on Android when trying out beta.


Missing Nest monitored_conditions preset_mode and hvac_mode

Home Assistant release with the issue:

0.96.1
Last working Home Assistant release (if known):
0.95.4
Operating environment (Hass.io/Docker/Windows/etc.):

The production environment (0.95.4) is running Intel NUC ubuntu 19.04 with hass.io in a docker container.
Dev environment (0.96.1) is running Raspberry Pi Raspbian with hass.io in a docker container.
Component/platform:

https://www.home-assistant.io/components/nest#monitored_conditions
Description of problem:
Missing the monitored_conditions sensor for preset_mode and hvac_mode.
Probably related to the major clean up of the climate integration.
Will these sensors be available again in a future release?

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
Dev hass.io 0.96.1
nest:
  client_id: !secret nest_client_id
  client_secret: !secret nest_client_secret
  structure:
    - !secret structure_name
  binary_sensors:
    monitored_conditions:
      - 'away'
      - 'online'
      - 'has_leaf'
  sensors:
    monitored_conditions:
      - 'humidity'
      - 'preset_mode'
      - 'temperature'
      - 'target'
      - 'hvac_mode'

Production hass.io 0.95.4
nest:
  client_id: !secret nest_client_id
  client_secret: !secret nest_client_secret
  structure:
    - !secret structure_name
  binary_sensors:
    monitored_conditions:
      - 'away'
      - 'online'
      - 'has_leaf'
  sensors:
    monitored_conditions:
      - 'humidity'
      - 'operation_mode'
      - 'temperature'
      - 'target'
      - 'hvac_state'

Traceback (if applicable):

Additional information:

Operation mode is available as the state of the climate entity. HVAC action is available as the hvac_action attribute of the climate entity.


Bot does not post private listings

Is there a setting I can change in the bot to also include private listings in sales to twitter?

OpenSea Events API doesn't provide a way to retrieve private listings/sales


refactor: add interface and optimized code in contributions section

Related Issue
Closes: #505
Describe the changes you've made

add interface

interface Contributor {
  login: string;
  avatar_url: string;
  contributions: number;
  html_url: string;
}

replace <a> to <Link> with several other minor changes

fix error shown in the issue description

Type of change
What sort of change have you made:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update.
[ ] This change requires a documentation update

How Has This Been Tested?
Checklist

[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.

Code of Conduct

[x] I agree to follow this project's Code of Conduct

@Anmol-Baranwal no issue

@Deepu178
It is working fine.

localhost

I believe this should be level 2 since I implemented an interface for type checking and optimized the link.

No worries, I am not here to argue, and I will definitely contribute more.

Thanks for your contribution @Anmol-Baranwal cheering up for more contribution


Allow fixed template name upload

Hey,
since we are heavy api users, we found it difficult to use images to use cross-region created templates without having a fixed name.
This code addition will allow users to use fixed template name.
I assume there was the logic behind allowing the user to only set prefixes - so I didn't remove that logic completely but tried to offer some flow for another usecase.
I'd be happy for any guidelines, comments and review on the PR (and hopefully merge :) )

Hey Yafim!
Thank you for PR! The idea is clear and useful.
What do you think might be better to turn it into a more general solution? Introduce a new config variable instead of is_template_name_fixed let's say template_name (basically fixed template name). And add validation that only one can be used template_prefix or template_name.
is_template_name_fixedcould serve the needs but might be hardly understandable for other users.

For sure! I avoided it since I thought you'd want to keep current flow!

@YafimK looks great, thank you!
Would you mind adding template_name config parameter into readme "Optional values" section?


Don’t have this bad countdown while recording or even the recorder is within the recording range

Don’t have this bad countdown while recording or even the recorder is within the recording range

Which version are you using?
This pop up only appears if the recording region is on top of the recording controls (the UI in which you control the capture).

Which version are you using?
This pop up only appears if the recording region is on top of the recording controls (the UI in which you control the capture).
2.27.3
yes
Even if he is within the recording range，Maybe this is not necessary? Maybe he is controllable?
The earlier version can record the controls, but it feels very high-tech. thank you very much！

Here's how it works:
User selects a part of the screen.
The recorder repositions itself to stay out of the way of the selected region.
User start capture.
If the recorder is on the way of the recording region:
    Display splash screen, warning that the UI will be hidden.
    Hide UI and start recording.
Else
   Start recording.

What's missing in here is a step that measures if it's possible to move the recording controls out of the way of the selected region.

Version 2.32 will have the fix for this issue.
The recorder will try to move it self to the sides when there's space left.


Missing closing parentheses for if statement

Added a missing parenthesis to the if statement for the iconId example.

@RGFTheCoder thanks for the review!


Implementing authentication

Please comment opinions and interest in contribution about implementing authentication with JWT.

I would like to contribute jwt anthenticattion if assigned...

Can we use mongoose to set up db?

I think @danivijay is working on the database setup part.
Since you've shown interest towards working on jwt authentication, I'd say go ahead with it :+1:
Just acknowledge with a response if you're taking this up. :)

Yes I would take JWT then @skyshader

Please let us know when will you  complete, so that the task can be assigned to you @sounak07

Will there be OAuth based Social auths or just local password based authentication?

I think we should first implement local password based auth then we can extend it to Google, Facebook as alternative auth.

Sounds good. What about the Cookies vs LocalStorage? What is everyone's opinion on that?

@sounak07 we can also look at only Google/Facebook (any one) in the beginning. @twishasaraiya @danivijay what are your thoughts? Do we want the users to create an account and then login with their username and password. Or do we just want them to get authenticated by maybe login using google or facebook?

@drenther how is localstorage not a safest option. Any pointers?

Any JWT or info stored in localStorage is vulnerable to XSS. Take a look at this - https://www.rdegges.com/2018/please-stop-using-local-storage/

I think we should provide Google/Facebook login in the beginning then later on provide username and password login.

It's not really hard to implement cookies, especially with a ton of libraries already present.

@drenther So, XSS happens when you allow the user to input malicious code to your application. We are anyway going to sanitize all the inputs we take from user before using it to interact with database (local or remote). This is similar case as it was with SQL injection. But people didn't throw SQL away instead they adhered to certain practices that takes care of such issues.
If we start searching about security issues with cookies we would find a ton of them. But it's how we handle user input at every place is what matters.
In my opinion we should go with localstorage. Do share your thoughts on above points. Would love to hear your point of view. :)

Alright. For initials we will go with social login. Let's begin with Login with Google as this course is powered by Google :stuck_out_tongue: @sounak07 / @drenther anyone wants to take this up?

If we do facebook/google login we need a google account for Creating the Google App, Client ID, and Client Secret.....do consider that.

@skyshader I don't mind going with localStorage. Glad we know what we need to do to use localStorage properly. And about the social login how do we go about with API Keys handling?

@drenther you have any thoughts on this?

I think using a common key is better and we can always hide it using environment variables created from the terminal.

@sounak07 But if we have a common key, how do suggest we share it along? Because as you said yourself we won't commit the .env file

@sounak07 and @drenther we can see if we can generate a basic key that would have limited access available. If that is possible, we will share a .env.example file which will contain that basic api key with limited access.
For proper access we suggest you generate your own api key and we will generate a key that we use for the production environment.

The moderators can choose whomever they want to give access to the key and DM them to share the key i guess.......but that's my opinion, I would like to hear what all of you guys think about this

Both have their pros and cons (as with everything I guess). Whatever the moderators choose I guess.

@skyshader The whole point of using cookies to store JWT is to prevent the token from being accessed by any scripts. With local storage, it's way easier to steal tokens. Also, web storage doesn't really adhere to any secure standard for transportation of tokens. With cookies having set secure: true  we make sure that the cookies are always sent over HTTPS.
If you're worried about CSRF attacks, you can always use a CSRF token.
However, as someone already mentioned above it's not a top priority to get the most secure app right now.

@SevenSinS02 Exactly the point. But, localStorage for the case here I guess. As it will be way simpler than the "Double Submit Cookie" implementation.

@SevenSinS02 I do understand your's and @drenther 's point. And yeah it's not top priority to get the most secure app right now. But we will try to manage the 2 main things that could result in XSS: user's input and any such libraries that might access localstorage. Am I missing anything here?

@drenther I totally understand.
@sounak07 Since it's only a social authentication, it would remain same throughout any app (at least on the front end).  There would be a difference only in the way the authentication is handled in the backend; which raises a question as to where the authentication is being handled - on the client side or the server side?
Handling on the client side would be way simpler but, if I'm not mistaken would increase the app size as it would require an SDK.
Handling on the server side is a little bit trickier but much more secure and keeps the app size relatively smaller.

Umm. That was my initial thought but since social logins really ease the process for users using our app, hence orientation is towards social login a bit more.

I feel its a good idea to implement the local login first. Although OAuth based logins are really popular with Fb and Google logins. I have used all these techniques before in some of my side projects and as sevensins  mentioned, the sdk for fb and google is also coming into the picture for loading of the app initally at client side.
I have implemented this feature from ground up and will share the flow with you guys.
I can contribute to the full authentication part for implementation of local and social logins.

Guys! Let's limit our conversation on this thread. It gets overwhelming for people to go though the comments here. Let's start with basic JWT auth for now and let's use passport for that so it would be easier to add other strategies in future. Also, let's use localstorage to store the token.
As this is just a backend task for now, we would need to test it via postman only.

Good call skyshader, I would like to note one thing by saying that it will be way easier to use just only bcrypt and jwt for normal sign in than passport. For jwt we can use passport-jwt library but for password comparing and setting in db we can directly use bcrypt for that.
Code for it will be really simple. I have implemented the same before too.

If you guys want to use social logins with google and facebook we need to get the api key and client secret. Which will be handled by the moderator or co-moderators for setup so that we can use the same.

I think the contributors should generate their own keys for development purpose and we can have a common key for production purpose. Since many people may be new to this I want someone to take up the task of documenting the whole process of setup so that it would be easy for a newbie too or may provide a link to some article that explains it well.

can I work on this ?

Just a question, why would a game need authentication?

@sounak07 is currently working on it.

@danivijay Please assign this issue to him if he is working on it

I'm afraid that is not possible @Rohanhacker, assignee list is limited for now.

@danivijay one person will be working on a particular issue at a time right ?? You just have to assign one person ??

Is this issue solved? I don't see the pull request that fixes it.

https://github.com/UdacityMobileWebScholarship/guess-quote/pull/13 - merged
https://github.com/UdacityMobileWebScholarship/guess-quote/pull/25 - under progress
@gpalsingh


Move ensureGameDirectory call

Codecov Report

Merging #172 into master will not change coverage.
The diff coverage is 94.11%.

@@           Coverage Diff           @@
##           master     #172   +/-   ##
=======================================
  Coverage   92.37%   92.37%
=======================================
  Files          83       83
  Lines        1062     1062
  Branches      178      178
=======================================
  Hits          981      981
  Misses         66       66
  Partials       15       15

Impacted Files
Coverage Δ

packages/warriorjs-cli/src/Game.js
53.16% <94.11%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Error: BiocParallel errors

Hi Lukas, I am very excited trying out this pacakge. I am having a few problems using it. I tested nnSVG by following your code in the test section but resulted in the following error:

test_check("nnSVG")
Error in test_dir():
! No test files found

I then tried:

test_that("nnSVG")
── Error (???): nnSVG ──────────────────────────────────────────────────────────
Error in test_code(desc, code, env = parent.frame(), reporter = reporter): argument "code" is missing, with no default
Backtrace:

testthat::test_that("nnSVG")
testthat:::test_code(desc, code, env = parent.frame(), reporter = reporter)
base::eval(code, test_env)

Trying the package out on a real sample, I get:

test <- nnSVG(test)
Timing stopped at: 0.055 0.007 0.064
Error: BiocParallel errors
1 remote errors, element index: 1
36577 unevaluated and other errors
first remote error:
Error in BRISC_estimation(coords = coords, y = y_i, x = X, cov.model = "exponential", : c++ error: dpotrf failed

where test is an object of:
class: SpatialExperiment
dim: 36578 3359
metadata(0):
assays(2): counts logcounts
rownames(36578): MIR1302-2HG FAM138A ... AC007325.4 AC007325.2
rowData names(6): source type ... gene_name gene_type
colnames(3359): AAACAAGTATCTCCCA-1 AAACAGAGCGACTCCT-1 ... TTGTTTCCATACAACT-1
TTGTTTGTGTAAATTC-1
colData names(91): sample_id sum ... array_row array_col
reducedDimNames(2): PCA UMAP
mainExpName: NULL
altExpNames(0):
spatialCoords names(2) : pxl_col_in_fullres pxl_row_in_fullres
imgData names(4): sample_id image_id data scaleFactor
and my session info. Any help would be appreciated .
R version 4.2.0 (2022-04-22)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/4.2/Resources/lib/libRlapack.dylib
locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages:
[1] parallel  stats4    stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] testthat_3.1.4              AUCell_1.18.1               doParallel_1.0.17
[4] iterators_1.0.14            BayesSpace_1.6.0            PCAtools_2.8.0
[7] ggrepel_0.9.1               DESeq2_1.36.0               RTriangle_1.6-0.10
[10] RColorBrewer_1.1-3          pheatmap_1.0.12             stringr_1.4.0
[13] FactoMineR_2.4              nnSVG_1.0.1                 BiocParallel_1.30.2
[16] ggsci_2.9                   msigdbr_7.5.1               GSVA_1.44.1
[19] reticulate_1.25             spatialLIBD_1.8.3           GSEABase_1.58.0
[22] graph_1.74.0                annotate_1.74.0             XML_3.99-0.9
[25] AnnotationDbi_1.58.0        foreach_1.5.2               scran_1.24.0
[28] scater_1.24.0               scuttle_1.6.2               ggspavis_1.2.0
[31] SpatialExperiment_1.6.0     SingleCellExperiment_1.18.0 SummarizedExperiment_1.26.1
[34] Biobase_2.56.0              GenomicRanges_1.48.0        GenomeInfoDb_1.32.2
[37] IRanges_2.30.0              S4Vectors_0.34.0            BiocGenerics_0.42.0
[40] MatrixGenerics_1.8.0        matrixStats_0.62.0          tibble_3.1.7
[43] tidyr_1.2.0                 ggplot2_3.3.6               dplyr_1.0.9
loaded via a namespace (and not attached):
[1] rappdirs_0.3.3                rtracklayer_1.56.0            R.methodsS3_1.8.1
[4] coda_0.19-4                   maxLik_1.5-2                  bit64_4.0.5
[7] knitr_1.39                    irlba_2.3.5                   DelayedArray_0.22.0
[10] R.utils_2.11.0                data.table_1.14.2             KEGGREST_1.36.0
[13] RCurl_1.98-1.6                generics_0.1.2                ScaledMatrix_1.4.0
[16] cowplot_1.1.1                 usethis_2.1.6                 RSQLite_2.2.14
[19] RANN_2.6.1                    bit_4.0.4                     xml2_1.3.3
[22] httpuv_1.6.5                  assertthat_0.2.1              viridis_0.6.2
[25] xfun_0.31                     jquerylib_0.1.4               babelgene_22.3
[28] promises_<IP_ADDRESS>              fansi_1.0.3                   restfulr_0.0.13
[31] dbplyr_2.1.1                  igraph_1.3.1                  DBI_1.1.2
[34] geneplotter_1.74.0            htmlwidgets_1.5.4             paletteer_1.4.0
[37] purrr_0.3.4                   ellipsis_0.3.2                benchmarkmeData_1.0.4
[40] sparseMatrixStats_1.8.0       vctrs_0.4.1                   cachem_1.0.6
[43] withr_2.5.0                   GenomicAlignments_1.32.0      BRISC_1.0.5
[46] mclust_5.4.10                 cluster_2.1.3                 ExperimentHub_2.4.0
[49] dotCall64_1.0-1               lazyeval_0.2.2                crayon_1.5.1
[52] genefilter_1.78.0             edgeR_3.38.1                  pkgconfig_2.0.3
[55] vipor_0.4.5                   pkgload_1.2.4                 rlang_1.0.2
[58] lifecycle_1.0.1               sandwich_3.0-1                filelock_1.0.2
[61] BiocFileCache_2.4.0           rsvd_1.0.5                    AnnotationHub_3.4.0
[64] rprojroot_2.0.3               Matrix_1.4-1                  zoo_1.8-10
[67] Rhdf5lib_1.18.2               rdist_0.0.5                   beeswarm_0.4.0
[70] png_0.1-7                     viridisLite_0.4.0             rjson_0.2.21
[73] bitops_1.0-7                  R.oo_1.24.0                   spam_2.8-0
[76] rhdf5filters_1.8.0            Biostrings_2.64.0             blob_1.2.3
[79] DelayedMatrixStats_1.18.0     beachmat_2.12.0               scales_1.2.0
[82] leaps_3.1                     memoise_2.0.1                 magrittr_2.0.3
[85] plyr_1.8.7                    zlibbioc_1.42.0               DirichletReg_0.7-1
[88] compiler_4.2.0                miscTools_0.6-26              dqrng_0.3.0
[91] BiocIO_1.6.0                  Rsamtools_2.12.0              cli_3.3.0
[94] XVector_0.36.0                pbapply_1.5-0                 Formula_1.2-4
[97] MASS_7.3-57                   ggside_0.2.0                  tidyselect_1.1.2
[100] stringi_1.7.6                 yaml_2.3.5                    BiocSingular_1.12.0
[103] locfit_1.5-9.5                grid_4.2.0                    sass_0.4.1
[106] tools_4.2.0                   rstudioapi_0.13               bluster_1.6.0
[109] metapod_1.4.0                 gridExtra_2.3                 scatterplot3d_0.3-41
[112] DropletUtils_1.16.0           digest_0.6.29                 BiocManager_1.30.18
[115] shiny_1.7.1                   Rcpp_<IP_ADDRESS>                  BiocVersion_3.15.2
[118] later_1.3.0                   shinyWidgets_0.7.0            httr_1.4.3
[121] colorspace_2.0-3              brio_1.1.3                    fs_1.5.2
[124] splines_4.2.0                 fields_13.3                   statmod_1.4.36
[127] rematch2_2.1.2                xgboost_<IP_ADDRESS>               plotly_4.10.0
[130] sessioninfo_1.2.2             xtable_1.8-4                  jsonlite_1.8.0
[133] flashClust_1.01-2             benchmarkme_1.0.7             R6_2.5.1
[136] pillar_1.7.0                  htmltools_0.5.2               mime_0.12
[139] glue_1.6.2                    fastmap_1.1.0                 DT_0.23
[142] BiocNeighbors_1.14.0          interactiveDisplayBase_1.34.0 codetools_0.2-18
[145] maps_3.4.0                    utf8_1.2.2                    lattice_0.20-45
[148] bslib_0.3.1                   curl_4.3.2                    ggbeeswarm_0.6.0
[151] attempt_0.3.1                 config_0.3.1                  magick_2.7.3
[154] golem_0.3.2                   survival_3.3-1                limma_3.52.1
[157] roxygen2_7.2.0                desc_1.4.1                    munsell_0.5.0
[160] rhdf5_2.40.0                  GenomeInfoDbData_1.2.8        HDF5Array_1.24.0
[163] reshape2_1.4.4                gtable_0.3.0

Hi @ansonkn , thanks for your interest!
If you are trying out the package for the first time, I would recommend starting with the examples in either the Bioconductor vignette or on the GitHub readme.
The testthat code is used internally in R packages for testing the code, and is not meant to be run by users. Please let me know if I am misunderstanding and there was a specific reason for running the testthat code though.

Hi Lukas, I am seeing this error in a separate dataset as well. How were you able to resolve this?
2022-10-27 16:41:20 - Run nnSVG
Timing stopped at: 0.035 0 0.035
Error: BiocParallel errors
  1 remote errors, element index: 336
  930 unevaluated and other errors
  first remote error:
Error in BRISC_estimation(coords = coords, y = y_i, x = X, cov.model = "exponential", : c++ error: dpotrf failed

The problem seems to have stem from some zeroes in the dataset. Try
applying and run it again and see if it works.
filter low-expressed and mitochondrial genes# using function from
nnSVG package with default filtering parametersspe <-
filter_genes(spe)
On Fri, Oct 28, 2022 at 3:29 PM Lukas Weber @.***>
wrote:

Reopened #7 https://github.com/lmweber/nnSVG/issues/7.
—
Reply to this email directly, view it on GitHub
https://github.com/lmweber/nnSVG/issues/7#event-7694201534, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/APQI2CNENTPC54QYKGED34LWFQSRXANCNFSM5YDO6P7A
.
You are receiving this because you were mentioned.Message ID:
@.***>


NTR: [Maternal-to-zygotic transition]

Please provide as much information as you can:

Suggested term label:
Maternal-to-zygotic transition

Definition (free text)
The regulation of gene expression process by which developmental control passes from the maternal genome to the zygotic genome.

Reference, in format PMID:#######
PMID: 32558204

Gene product name and ID to be annotated to this term
Pabpn1l  MGI:2685954

Parent term(s)
Is_a  GO:0010468 regulation of gene expression

Children terms (if applicable) Should any existing terms that should be moved underneath this new proposed term?

Synonyms (please specify, EXACT, BROAD, NARROW or RELATED)
EXact: MZT, mid-blastula transition, MBT

Cross-references

For enzymes, please provide RHEA and/or EC numbers.

Can also provide MetaCyc, KEGG, Wikipedia, and other links.

Any other information

Yes, they probably shouldn't be exact synonyms (my bad).

Yes, they probably shouldn't be exact synonyms (my bad).
@ukemi Not synonym, related synonym, or some way to indicate synonym only in mice (I am not sure how)? Thanks.

Related? My knowledge is about 40 years old, from when I worked on sea urchins. My understanding was that one of the key characteristics of the MBT was the activation of the zygotic genome. PMID: 7139712  I'm pretty sure this happens in urchins too.

It seems to me that to avoid confusion, we are probably better off to make MZT, MBT, and ZGA all distinct.
From PMID19204068:
"The stage at which maternal reliance ends and control of embryo development is transferred to the zygotic genome is referred to as the MZT. The MZT, under this definition, is distinct from the stage of zygotic genome activation (ZGA), which corresponds to the onset of de novo transcription from the zygotic genome. ZGA and MZT can coincide, but this is not always the case (Table1). The MZT is also distinct from the midblastula transition (MBT), a developmental transition in
amphibians and fishes associated with cell cycle lengthening, asynchronous cleavage, and the acquisition of cell motility, which, however, does not require zygotic tran scription (Newport and Kirschner1982a). The distinction is not always clear in the literature, and the MBT and ZGA are often referred to as marking the MZT, although this is clearly not true in all organisms. In this review, we adhere to a strict distinction as defined above."


⚠ Bofrost.de has degraded performance

In 8e20cbd, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1186 ms

Resolved: Bofrost.de performance has improved in df9b88a after 14 minutes.


Update auth, dynamodb, s3, sqs to 2.17.101

Updates

software.amazon.awssdk:auth
software.amazon.awssdk:dynamodb
software.amazon.awssdk:s3
software.amazon.awssdk:sqs

from 2.17.66 to 2.17.101.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk" } ]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #791.


Purge old checkpoints (beyond k blocks)

Issue Number

#644
Overview

[x] I have removed old checkpoints and used UTxO from the database
[x] keep track of k in the wallet primitive model

Comments

I decided to keep track of all the BlockchainParameters instead of just k. Since this is what's going to matter in the end once we start applying protocol updates. Now, parameters are part of the checkpoints, so we could imagine a function like applyUpdate :: Update -> Wallet s t -> Wallet s t which takes care of updating the parameters.
All WalletLayer functions have been adjusted to use the parameters from the current checkpoint instead of pulling it from the surrounding ctx. We still pass an initial genesis configuration in createWallet and then initWallet in the very same way we passed the initial block.

With testing, I think this could most effectively be done within database rollback testing.

it's possible to rollback n ≤ k blocks ⇒ purging has not deleted too many checkpoints.
it's not possible to rollback n > k blocks ⇒ purging has deleted enough checkpoints (though this may require "strict" purging after every putCheckpoint).

With testing, I think this could most effectively be done within database rollback testing.

I think so too. Most of the things we've added recently will be better / more easily tested once we add the ability to "rollback" in the database. Then we can control checkpoints and UTxO.

bors r+

bors r-

bors r+

bors r+

bors r+


[bug] Some AppleTV URLs aren't working

Have encountered a problem with some AppleTV URLs. Examples:
https://tv.apple.com/cz/movie/zodiac/umc.cmc.72ndda4xnbbkiggs8mk8ndpfk?playableId=tvs.sbd.9001%3A527042918
https://tv.apple.com/ca/movie/official-competition/umc.cmc.yvbofv5kv6myeu4icgjq6ne5?playableId=tvs.sbd.9001%3A1633521224

Same issue as https://github.com/MichaelYochpaz/iSubRip/issues/24, currently working on a fix.


Training error

I get the following syntax error  and negative token accuracy while running on my own dataset
kindly help me to sort out....
=====================================================================
Model Training
steps/train_ctc_parallel.sh --add-deltas true --num-sequence 10 --learn-rate 0.00004 --report-step 1000 --halving-after-epoch 12 --feats-tmpdir exp/train_phn_l2_c200/XXXXX data/train_tr95 data/train_cv05 exp/train_phn_l2_c200
feat-to-len scp:data/train_tr95/feats.scp ark,t:-
feat-to-len scp:data/train_cv05/feats.scp ark,t:-
copy-feats 'ark,s,cs:apply-cmvn --norm-vars=true --utt2spk=ark:data/train_tr95/utt2spk scp:data/train_tr95/cmvn.scp scp:exp/train_phn_l2_c200/train.scp ark:- |' ark,scp:exp/train_phn_l2_c200/Ofwfy/train.ark,exp/train_phn_l2_c200/train_local.scp
apply-cmvn --norm-vars=true --utt2spk=ark:data/train_tr95/utt2spk scp:data/train_tr95/cmvn.scp scp:exp/train_phn_l2_c200/train.scp ark:-
LOG (apply-cmvn:main():apply-cmvn.cc:129) Applied cepstral mean and variance normalization to 2823 utterances, errors on 0
LOG (copy-feats:main():copy-feats.cc:100) Copied 2823 feature matrices.
copy-feats 'ark,s,cs:apply-cmvn --norm-vars=true --utt2spk=ark:data/train_cv05/utt2spk scp:data/train_cv05/cmvn.scp scp:exp/train_phn_l2_c200/cv.scp ark:- |' ark,scp:exp/train_phn_l2_c200/Ofwfy/cv.ark,exp/train_phn_l2_c200/cv_local.scp
apply-cmvn --norm-vars=true --utt2spk=ark:data/train_cv05/utt2spk scp:data/train_cv05/cmvn.scp scp:exp/train_phn_l2_c200/cv.scp ark:-
LOG (apply-cmvn:main():apply-cmvn.cc:129) Applied cepstral mean and variance normalization to 151 utterances, errors on 0
LOG (copy-feats:main():copy-feats.cc:100) Copied 151 feature matrices.
TRAINING STARTS [2016-Feb-11 09:46:16]
[NOTE] TOKEN_ACCURACY refers to token accuracy, i.e., (1.0 - token_error_rate).
EPOCH 1 RUNNING ... ENDS [2016-Feb-11 09:50:04]: lrate 4e-05, TRAIN ACCURACY -71.7361%, VALID ACCURACY -75.7551%
(standard_in) 1: syntax error
(standard_in) 1: syntax error
steps/train_ctc_parallel.sh: line 163: [: too many arguments
(standard_in) 1: syntax error
steps/train_ctc_parallel.sh: line 175: [: 1: unary operator expected
EPOCH 2 RUNNING ... ENDS [2016-Feb-11 09:53:56]: lrate 4e-05, TRAIN ACCURACY -71.7361%, VALID ACCURACY -75.7551%
(standard_in) 1: syntax error
(standard_in) 1: syntax error
steps/train_ctc_parallel.sh: line 163: [: too many argument

Looks like no training has happened at all.
Can you look into the more detailed log exp/train_phn_l2_c200/log/tr.iter1.log?

I couldn't understand...
I have attached the log file...
tr.iter1.txt

I modified the transcripts and now it is working but the accuracy keeps constant
NO updates in network..
LOG (copy-feats:main():copy-feats.cc:100) Copied 184 feature matrices.
Initializing model as exp/train_phn_l5_c200/nnet/nnet.iter0
TRAINING STARTS [2016-Feb-12 14:08:58]
[NOTE] TOKEN_ACCURACY refers to token accuracy, i.e., (1.0 - token_error_rate).
EPOCH 1 RUNNING ... ENDS [2016-Feb-12 14:17:41]: lrate 4e-05, TRAIN ACCURACY 3.7802%, VALID ACCURACY 4.5504%
EPOCH 2 RUNNING ... ENDS [2016-Feb-12 14:26:34]: lrate 4e-05, TRAIN ACCURACY 3.7802%, VALID ACCURACY 4.5504%
EPOCH 3 RUNNING ...
\

Training simply blows up, as shown by -1e+30 objective.
This is likely to happen if a label (e.g., 100) from label sequences exceeds the range of softmax layer (e.g., 0 - 90). You may check if the number of labels truly corresponds to the size of the softmax layer.

I checked the transcript every thing is ok.I tried with tedlium corpus ( with 200 waves)  , I get the same error...
I have attached log of tedlium corpus....kindly help me to resolve..
tr.iter1.txt

are you using CPU rather than GPU for training? Eesen does not support CPU training.

I have configured for GPU during installation and  I use  NIVIDEA  NVS 300 card.
How to check whether it runs on cpu or gpu?

If you had GPU running, you should have seen something like the following at the beginning of the log file.
LOG (train-ctc-parallel:SelectGpuIdAuto():cuda-device.cc:262) Selecting from 1 GPUs
LOG (train-ctc-parallel:SelectGpuIdAuto():cuda-device.cc:277) cudaSetDevice(0): Tesla K80       free:12163M, used:124M, total:12287M, free/total:0.989858
LOG (train-ctc-parallel:SelectGpuIdAuto():cuda-device.cc:310) Selected device: 0 (automatically)
LOG (train-ctc-parallel:FinalizeActiveGpu():cuda-device.cc:194) The active GPU is [0]: Tesla K80        free:12149M, used:138M, total:12287M, free/total:0.988719 version 3.7
LOG (train-ctc-parallel:PrintMemoryUsage():cuda-device.cc:334) Memory used: 0 bytes.

yes, the problem was with GPU .  now GPU is configured correctly and it is working ..
Thanks a lot...


[Backend] Support embedding model

@juntao @jmbejar
If the model-card repository contains an embedding.json file, the corresponding embedding model will be downloaded, and both the embedding and chat models will be loaded.
https://github.com/moxin-org/model-cards/pull/8

https://github.com/moxin-org/moxin/pull/242/files#diff-d406d942d2259b118601d9d68766930f7b8a6bf5d6700fb22011065649d4024fR207-R208
We can set the environment variable MODEL_CARDS_REPO at compile time to control which model-card repository the backend should clone.

Thanks. Please see my comment on the model card repo on the startup parameters for the nomic-embed model.
Also, when does the moxin app download the embedding model? What if the embedding model is not yet fully downloaded when the user starts to chat?

Thanks. Please see my comment on the model card repo on the startup parameters for the nomic-embed model.
Also, when does the moxin app download the embedding model? What if the embedding model is not yet fully downloaded when the user starts to chat?

The PR approach is to download the embedding model at Moxin's start time.. which takes many seconds in my machine, but it could be slower for other people.
Maybe it is a good start to move this download to a background task, having the chat interactions to use it whenever is available. Of course, we would need to show some UI indication to communicate to the user if the text embedding is in use or not, but we can do it in a separate PR.

@L-jasmine I tested this PR but the embedding json file was not downloading in my first attempts. Only when I removed the downloaded models-cards repo, the app recreated it (cloned it) and the embedding model was downloaded. So, I'm not sure if existing users will have the embedding models downloaded.
Looks like the "git pull" is not working for some reason.

@juntao @L-jasmine I'm not merging this because I feel the commented issues are worth to be addressed.
However, I'm curious to know what you think about. Do you think it is possible/convenient to download the embedding model on a thread to do not block application startup. Or we should just merge and try to address it on the frontend somehow?
BTW @L-jasmine let me know if you were able to reproduce the other issue, when you already have a local copy of the model-cards repo but fails to pull the new json file.

Yeah. Let's download it in a separate thread. We could prevent the user from chatting before this download completes. Thanks. @L-jasmine

@L-jasmine Tested again. Here are the results:
1- The git pull issue is resolved 👍
2- I'm hitting an issue with the download of the embedded schema in the background.
I tested having a chat conversation while the embedded was being downloaded, but later I realized I need to reload the load manually (from the UI) to have the embedded included in the chat section.
It may require some thinking from the UI to properly handle the first time the embedded is download, how the user is informed about. But let's handle it in another PR.
Accepting and merging now

@L-jasmine Tested again. Here are the results:
1- The git pull issue is resolved 👍
2- I'm hitting an issue with the download of the embedded schema in the background. I tested having a chat conversation while the embedded was being downloaded, but later I realized I need to reload the load manually (from the UI) to have the embedded included in the chat section.
It may require some thinking from the UI to properly handle the first time the embedded is download, how the user is informed about. But let's handle it in another PR.
Accepting and merging now

Yes, because I have no way to notify the frontend that the embedding model has already been downloaded, so I can only load the embedding model during the reload.


Will ODB know the difference between someone who's email we have via a request page and or via download?

From @JosephMcArthur on February 19, 2016 10:52
Copied from original issue: OAButton/odb#15

Discussed with Mark. We'll had a tag to show where you signed up

It's okay if we don't know if a user signed up via the pluggin or website.
What I need to know is if they originally signed up via a request page or
via a download page. With the later, we can assume they will then download
and use ODB. However, with the former, that assumption probably does hold -
but we want to push them too. So, it would be good to know the difference.
On 3 March 2016 at 07:35, markmacgillivray<EMAIL_ADDRESS>wrote:

It knows if the block story supporting the request came from the web page
or the plugin, but not whether a user signed up via the site or via the
plugin. Is that enough?
—
Reply to this email directly or view it on GitHub
https://github.com/OAButton/odb/issues/15#issuecomment-191745270.

--
Joseph McArthur
Assistant Director: Right to Research Coalition
http://righttoresearch.org/
Co-Lead/Founder: Open Access Button http://openaccessbutton.org/
Twitter: @Mcarthur_Joe https://twitter.com/Mcarthur_Joe
Skype: joseph_mcarthur
Linkedin http://linkd.in/1BgZ1jU

From @markmacgillivray on March 3, 2016 12:35
It knows if the block story supporting the request came from the web page or the plugin, but not whether a user signed up via the site or via the plugin. Is that enough?

New changes to the account page during signup have made this irrelevant now. If a new user, whether via coming to download or via wanting to support a request, they are taken through the steps of giving us info like username etc, then prodded to download the plugin, then given instructions, then shown their lists of stories and requests once they have any. So either way we lead them through the steps to get the button, and we know whether or not they have downloaded it (well, we know they clicked the link to go and get it, at least, and later we can check for users who have never submitted anything with it).

Will we dump them back on the request page they were trying to support after sign up?


DupRadar script updates.

Added filename as subtitle to plots. Added citation for log file. Added section to print GLM fit line from scatter plot to a file as values for MultiQC to plot.

These changes are required for the new DupRadar module that I'm writing in MultiQC_NGI


Control subsection

SUMMARY
Recent design proposals point towards removing the uppercase usage
across the board, and this PR starts the process with form labels.
it builds upon https://github.com/apache/superset/pull/24736 that
started to address hierarchy-is-unclear issue in Explore control panel
and makes things a bit neater on top of it.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
after

before

Other forms affected ->

Codecov Report
Patch coverage has no change and project coverage change: -10.71% :warning:

Comparison is base (aa01b51) 68.89% compared to head (59d393c) 58.19%.

Additional details and impacted files
@@             Coverage Diff             @@
##           master     #583       +/-   ##
===========================================
- Coverage   68.89%   58.19%   -10.71%
===========================================
  Files        1901     1901
  Lines       73927    73927
  Branches     8183     8183
===========================================
- Hits        50932    43019     -7913
- Misses      20874    28787     +7913
  Partials     2121     2121

Flag
Coverage Δ

hive
?

mysql
?

postgres
?

presto
54.05% <ø> (ø)

python
60.90% <ø> (-22.42%)
:arrow_down:

sqlite
?

unit
54.87% <ø> (ø)

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

Files Changed
Coverage Δ

...d/packages/superset-ui-chart-controls/src/index.ts
100.00% <ø> (ø)

...-chart-controls/src/sections/advancedAnalytics.tsx
14.28% <ø> (ø)

...rset-ui-chart-controls/src/sections/chartTitle.tsx
100.00% <ø> (ø)

...legacy-plugin-chart-partition/src/controlPanel.tsx
25.00% <ø> (ø)

...gins/legacy-plugin-chart-rose/src/controlPanel.tsx
50.00% <ø> (ø)

...gins/legacy-preset-chart-nvd3/src/NVD3Controls.tsx
100.00% <ø> (ø)

.../BigNumber/BigNumberWithTrendline/controlPanel.tsx
16.66% <ø> (ø)

...s/plugin-chart-echarts/src/Funnel/controlPanel.tsx
66.66% <ø> (ø)

...ns/plugin-chart-echarts/src/Gauge/controlPanel.tsx
66.66% <ø> (ø)

...ns/plugin-chart-echarts/src/Graph/controlPanel.tsx
21.42% <ø> (ø)

... and 14 more

... and 293 files with indirect coverage changes

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


Cs pin number 3

cs_pin_number now actually sets the correct pin. Fixes issue #3. GP8 silicon bug is not worked around for now, GP0-7 seem to work for me.

Thank you!


PFS documents: Use chapters instead of tables

Discussed during LSI-VC: It could ease document generation, if we use normal text flow with chapters instead of tables.
OLD (example)

#
Item
Threshold (Minimum) Requirements
Target (Desired) Requirements
Threshold Self-Assessment
Target Self-Assessment
Self-Assessment Explanation/ Justification
Recommended Requirement Modification

1.1
Traceability
Not required.
Data must be traceable to SI reference standard.
Note 1: Relationship to 3.2. Traceability requires an estimate of measurement uncertainty.
Note 2: Information on traceability should be available in the metadata as a single DOI landing page.

1.2
Metadata Machine Readability
Metadata is provided in a structure that enables a computer algorithm to be used consistently and to automatically identify and extract each component part for further use.
As threshold, but metadata should be provided in a community endorsed standard that facilitates machine-readability, such as ISO 19115-2.

1.3
Data Collection Time
The data collection time is identified in the metadata, expressed in date/time, to the second, with the time offset from UTC unambiguously identified.
Acquisition time for each pixel is identified (or can be reliably determined) in the metadata, expressed in date/time at UTC, to the second.

NEW (example)
1.1 Traceability
Threshold requirements
Not required.
Target requirements
Data must be traceable to SI reference standard.
Note 1: Relationship to 3.2. Traceability requires an estimate of measurement uncertainty.
Note 2: Information on traceability should be available in the metadata as a single DOI landing page.
Assessment

Threshold Self-Assessment:
Target Self-Assessment:
Self-Assessment Explanation/ Justification:
Recommended Requirement Modification:

1.2 Metadata Machine Readability
Threshold requirements
Metadata is provided in a structure that enables a computer algorithm to be used consistently and to automatically identify and extract each component part for further use.
Target requirements
As threshold, but metadata should be provided in a community endorsed standard that facilitates machine-readability, such as ISO 19115-2.
Assessment

Threshold Self-Assessment:
Target Self-Assessment:
Self-Assessment Explanation/ Justification:
Recommended Requirement Modification:

1.3 Data Collection Time
Threshold requirements
The data collection time is identified in the metadata, expressed in date/time, to the second, with the time offset from UTC unambiguously identified. | Acquisition time for each pixel is identified (or can be reliably determined) in the metadata, expressed in date/time at UTC, to the second.
Target requirements
As threshold.
Assessment

Threshold Self-Assessment:
Target Self-Assessment:
Self-Assessment Explanation/ Justification:
Recommended Requirement Modification:

Would be good to include a description section as well. We currently just go by a combination of the parameter name and the text in the Threshold/Goal requirement. Could be made much clearer.

@mattsymbios Could you give an example?

I don't have a specific example. This was to capture what I thought @strobpr suggestion was.
But I do think it would be helpful to have a field (non-mandatory) in the building block where people could add some extra descriptive text about the parameter, to avoid the (quite frequent, actually!) case where people ask: "what exactly is this referring to??"

What I have in mind is a description of content and purpose of a requirement and then a list of metadata fields at each level which have to be populated to fulfill it.

Good thoughts, although you are mixing things up here. The topic is about the rendering of the requirements in the documents, so purely visual. The other ideas are more about what information to capture in the building blocks (and potentially also make available to users).


Fix registration issue

Users were not able to register due to routes being configured in a wrong way. That has been fixed in this PR.

Ouch, forgot configuring git. Commits are not linked to my account lol. But meh.


Parse error

When running encuum I get a
Parse error: invalid type: sequence, expected a map at line 1 column 76

Hi,
I need more context. Are there any other lines logged before that, or is that the first thing that comes out of the console? Which .env options are you setting?

Sorry, it's the first thing that comes out of the console.
<EMAIL_ADDRESS>password=*****
website=treasureisland.enjin.com
database_file=database.db
forum_ids=6095232
subforum_ids=3291782,2146987
session_id=*****

This is what I'm using, with the password & session id marked out obv.

Can you download Proxyman, set it up to capture HTTPS traffic, and specify proxy=http://<IP_ADDRESS>:9091 (for example; the port may differ on your end) in your .env file? This will allow Proxyman to capture the HTTP payload and response when you encounter the error.
Then you can copy and paste the HTTP request and resposne here, and just redact any sensitive info. Thanks!

I seem to also be getting a parse error:
got a post 49736750 related to thread 8735370
got a post 49736747 related to thread 8735370
Parse error: invalid type: null, expected a string at line 1 column 4454

I'll look into trying the proxyman post mentioned above, but I just wanted to give you a heads up initially.

Here's the request/response information via proxyman for the above issue:
encuum - request_response.zip

@Zamotic , I deleted your comment because it contained an unredacted Session ID. Sorry for any confusion; that session ID needed to be removed from the request. I'm looking into your issue.

@Zamotic , I deleted your comment because it contained an unredacted Session ID. Sorry for any confusion; that session ID needed to be removed from the request. I'm looking into your issue.

Honestly, I was going to edit the comment and remove the zip once you replied anyway.

I found the bug! I think this should be fixed in the latest master version of encuum. Can you please retest?

And I just pushed another fix as of 6:55pm Eastern today resolving a problem with the subforum DB inserts. This would break anyone's usage of the tool...

Looks good! It went for a good long while before hitting the next issue (RPC Call failed). This looks fixed for me.

Can you post the next RPC call failed error so I can look at it? Need to work out the kinks on getting the right data format in the schema.

Sorry for the late reply.
With the latest code I'm still experiencing the same issue.
[src\forum.rs:166] f = "Preset: 6095232, Try #1: Parse error: invalid type: sequence, expected a map at line 1 column 76"
[src\forum.rs:166] f = "Preset: 6095232, Try #2: Parse error: invalid type: sequence, expected a map at line 1 column 76"
[src\forum.rs:166] f = "Preset: 6095232, Try #3: Parse error: invalid type: sequence, expected a map at line 1 column 76"
[src\forum.rs:166] f = "Preset: 6095232, Try #4: Parse error: invalid type: sequence, expected a map at line 1 column 76"
`

I can't really figure out how to use proxyman as it breaks the certificate for the particular domain I'm trying to connect to. I'd appreciate some help setting this up!

Hi,
There is a good write-up for Proxyman in [README.md](https://github.com/allquixotic/encuum/blob/master/README.md now, but if you want, we can connect on Discord... friend me as Coorbin#0709 and we'll work it out.

Fixed: https://github.com/allquixotic/encuum/commit/ed14c161f40f86b7f3716dbc24b0b01a2cd82527
Can you please retest?
If you cloned using Git: Remove the file Cargo.lock in the encuum directory, then git pull.
If you downloaded the Zip file: Just download another version of the zip from the same link as in the readme. Discard your previous copy of encuum and try again.

Seems to work ok for me.
Running a full archive to see if I get anymore errors.

Closing as fixed. Please open a new issue if you have any more problems.


Wrong fix mentioned

URL(s)
https://github.com/dotnet/core/blob/main/release-notes/8.0/8.0.8/8.0.402.md
Description

Today, we are releasing an update to .NET 8.0.400 SDK due to an issue with https://github.com/NuGet/Home/issues/13545 fixed by https://github.com/dotnet/razor/pull/10752.

This mentions that an issue in NuGet was fixed by a pull request in Razor, which seems weird to me. Is this really the correct fix for this issue?

I also hope this issue competed asap.

is the linked fix correct @rbhanda?

@marcpopMSFT what should be the correct links?

The links are correct but the text around them is confusing. We shipped two separate fixes both included in 8.0.402. One from NuGet and one from Razor. Here's my proposal for cleaning up that text:
https://github.com/dotnet/core/pull/9520

This appears to have been resolved.


Small changes in some darwin CGo directives

Small changes in CGo directives to allow compilation and linking using the standard Mac OS X way: Library Frameworks (downloadables of SDL2's web) instead of libraries installed with Homebrew tool.
By using Homebrew installed libraries, I noticed that the binding wasn't capable of opening nor playing (SDL_mixer) a standard MOD/XM file, despite having compiled these libraries with proper flags within the command "brew install". Neither it properly read certain types of image files, but I wasn't capable to determine the reason.
I decided to use the Mac OS X standard method to use dynamic libraries: Frameworks. Inside OS X they're very useful because they include binaries, dependencies and C headers, everything packet togerther into a single bundle that can be installed in standard OS paths simply by copying the "framework" file. Also, they allow  the generation of App Bundles in a simple way, which is the common way to distribute applications in OS X.
Pre-compiled Frameworks are ready to download from SDL's project webpage, so it's easy to install and start using them, as easy as install them using Homebrew.
When regenerating the Go-SDL2 bindings with the changes I've made, and using Frameworks, the problems that I first described got instantly solved. I recommend to use this, as I said, is an OS X standard.
Thank you for create this bindings for the awesome golang! :D

Thanks for the patch! Is it possible to amend the patch so it supports both Frameworks and Homebrew users? The reason is we have had a few patches that basically changed OS X's requirements a few times (MacPorts <-> HomeBrew <-> maybe Frameworks too).
I was thinking that the Homebrew users could use build tags (e.g. go build -tags brew), while the Frameworks users don't need to use tags (e.g. go build). It makes Homebrew users the exception, but at least they can still build. However, better solution (no tags if possible) is welcome!

Hi! I am researching this subject... I will answer you as soon as possible ;)


SQLServer error: "The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption."

When using the sqlserver module, users might see an error similar to the below when attempting to query the sqlserver catalog:
The driver could not establish a secure connection to SQL Server by using Secure Sockets Layer (SSL) encryption. Error: "PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
Same issue reported in this internal slack thread: https://starburstdata.slack.com/archives/C01FQCMJQM6/p1648827385983409
RCA is apparently a breaking change in the MS SQL JDBC driver version update between 371 and 374 - more details mentioned in linked thread
Workaround is to update the connection-url similar to either of the below options:
connection-url=jdbc:sqlserver://sqlserver:1433;database=master;encrypt=false
or
connection-url=jdbc:sqlserver://sqlserver:1433;database=master;trustServerCertificate=true

Closing as a dupe of issue #46


Use a specific version of Triton

🙏 Describe the pull request
The performance has regressed in the latest version.
✅ Checklist

[x] Code follows the project's coding conventions and style.
[x] Tests have been added or updated to cover the changes.
[x] Documentation has been updated, if necessary.

성능저하 직전 커밋으로 고정해두신걸까요?

성능저하 직전 커밋으로 고정해두신걸까요?

네.


Border for tables

Icon name
grid-2x2-no-border, grid-2x2-left-border, grid-2x2-right-border, grid-2x2-top-border, grid-2x2-bottom-border, grid-2x2-outside-border, grid-2x2-inside-border,  grid-2x2-vertical-border, grid-2x2-horizontal-border, square-dashed-line-down,  square-dashed-line-up, square-dashed-x
Use cases
Used for modifying borders in table
Design ideas

grid-2x2-no-border - See this
grid-2x2-left-border - See this
grid-2x2-right-border - See this
grid-2x2-top-border - See this
grid-2x2-bottom-border - See this
grid-2x2-outside-border - See this
grid-2x2-inside-border - See this
grid-2x2-vertical-border - See this
grid-2x2-horizontal-border - See this
square-dashed-line-down - See this
square-dashed-line-up - See this
square-dashed-x - See this

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)
[X] I have searched existing icons to make sure it does not already exist and I didn't find any.
[X] I am not requesting a brand logo and the art is not protected by copyright.
[X] I am not requesting an icon that includes religious, political imagery or hate symbols.
[X] I have provided appropriate use cases for the icon(s) requested.

Candidates of icon to be modify:

box-select - should name square-dashed


double full stop removed.

Double full stop removed after the word "framework"

and Thank you for considering this PR.


Add strongly typed JSON values to replace Payload where possible

This adds a JSONValue type that's limited to JSON primitives, and a number of helpers for expressing JSON values in a more Swift-y way:
let object: JSONValue = [
	"key1": nil as JSONValue,
	"key2": 3.14,
	"key3": "foo",
	"key4": [
		["bar": false, "baz": 42],
		"qux",
	],
]

The goal is to replace Payload and Any, both for general type-safety and with the intent of providing a better foundation for Core-managed channels, since we'll need the ability to pass JSON across the FFI boundary, which means stronger types (one possibility switching out the JSONValue enum with a wrapper of whatever type Core provides, and keeping the ToJSONValue protocol to provide better expressibility in Swift).

I renamed ToJSONValue to JSONValueConvertible which better matches other similar protocols in Swift.

@carson-katri what is the state of this? Can we close?

@carson-katri following up on this, it's probably no longer necessary but I don't want to close without confirmation.

@KronicDeth Will JSON be passed as strings to/from core, or do we need a JSON type? And if we do need a type, would uniffi generate it?

Will JSON be passed as strings to/from core, or do we need a JSON type? And if we do need a type, would uniffi generate it?

Ideally we'll be passing types (rather than strings) to/from Core and those types I think will be generated from uniffi.

Closing as no longer valid


powershell az login fails every time

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az login
Errors:
The command failed with an unexpected error. Here is the traceback:
9. The ID token already expires. Make sure your computer's time and time zone are both correct. Current epoch =<PHONE_NUMBER>.  The id_token was: {
  "aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
  "iss": "https://login.microsoftonline.com/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0",
  "iat":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aio": "AWQAm/8TAAAA2wDhsB6crpow2IUP8Zas7LjoOwGNS7Of2Z/WwETJp+/Id3XSozestxzB4bs6qo2AmaZdIvN/4HSq+F9Tv5aHizrcBhOCPDlaFi9217q3z3qKZxj2QxgmseyHM43jlbWY",
  "idp": "https://sts.windows.net/9188040d-6c67-4c5b-b112-36a304b66dad/",
  "preferred_username"<EMAIL_ADDRESS>  "rh": "0.AXwAMe_N-B6jSkuT5F9XHpElWpV3sATbjRpGu-4C-eG_e0YBAGU.",
  "sub": "pWspjZYvsgRj2CY5wTz7bLh12jynOb5oP2MhfhmkCyY",
  "tid": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",
  "uti": "7iOmMG06YE6s_NJDzNTXAA",
  "ver": "2.0"
}
Traceback (most recent call last):
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\knack/cli.py", line 231, in invoke
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 663, in execute
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 697, in _run_job
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/__init__.py", line 333, in __call__
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/commands/command_operation.py", line 121, in handler
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/command_modules/profile/custom.py", line 139, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/_profile.py", line 152, in login
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\azure/cli/core/auth/identity.py", line 152, in login_with_device_code
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 1670, in acquire_token_by_device_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 384, in obtain_token_by_device_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 346, in _obtain_token_by_device_flow
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oidc.py", line 116, in _obtain_token
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oauth2.py", line 789, in _obtain_token
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/application.py", line 599, in <lambda>
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 310, in add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 113, in add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/token_cache.py", line 153, in __add
  File "D:\a\1\s\build_scripts\windows\artifacts\cli\Lib\site-packages\msal/oauth2cli/oidc.py", line 77, in decode_id_token
RuntimeError: 9. The ID token already expires. Make sure your computer's time and time zone are both correct. Current epoch =<PHONE_NUMBER>.  The id_token was: {
  "aud": "04b07795-8ddb-461a-bbee-02f9e1bf7b46",
  "iss": "https://login.microsoftonline.com/f8cdef31-a31e-4b4a-93e4-5f571e91255a/v2.0",
  "iat":<PHONE_NUMBER>,
  "nbf":<PHONE_NUMBER>,
  "exp":<PHONE_NUMBER>,
  "aio": "AWQAm/8TAAAA2wDhsB6crpow2IUP8Zas7LjoOwGNS7Of2Z/WwETJp+/Id3XSozestxzB4bs6qo2AmaZdIvN/4HSq+F9Tv5aHizrcBhOCPDlaFi9217q3z3qKZxj2QxgmseyHM43jlbWY",
  "idp": "https://sts.windows.net/9188040d-6c67-4c5b-b112-36a304b66dad/",
  "preferred_username"<EMAIL_ADDRESS>  "rh": "0.AXwAMe_N-B6jSkuT5F9XHpElWpV3sATbjRpGu-4C-eG_e0YBAGU.",
  "sub": "pWspjZYvsgRj2CY5wTz7bLh12jynOb5oP2MhfhmkCyY",
  "tid": "f8cdef31-a31e-4b4a-93e4-5f571e91255a",
  "uti": "7iOmMG06YE6s_NJDzNTXAA",
  "ver": "2.0"
}

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az login --use-device-code

Expected Behavior
Environment Summary
Windows-10-10.0.19044-SP0
Python 3.10.5
Installer: MSI

azure-cli 2.39.0

Additional Context

Duplicate of https://github.com/Azure/azure-cli/issues/20388


python311Packages.plexapi: 4.15.1 -> 4.15.3

Diff: https://github.com/pkkid/python-plexapi/compare/refs/tags/4.15.1...4.15.3
Changelog: https://github.com/pkkid/python-plexapi/releases/tag/4.15.3
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

5 packages built:

python310Packages.plexapi
python310Packages.plexapi.dist
python311Packages.plexapi
python311Packages.plexapi.dist
tauon


fix(curriculum): bump Babel - compat with node lts

Older versions of Babel are not compatible with node 12.17
Closes: #38904

@raisedadead I'm still checking backward compatibility with 12.16.1, but this should fix Travis's complaints.

Thanks Oliver.
I might still need to bump all the Node LTS versions on all the instances, because of the tooling we use.


Keeping state between application restarts

Hi Dave,
Unsure if this is a drachtio-server or srf issue.
I've noticed if my JS application using SRF is restarted during the flow of a call the call seems to become orphaned. Example flow:
INVITE Trunk -> drachtio-server
drachtio-server -> app.js
200 drachtio-server <- app.js
app.js restarted and re-registered
BYE Trunk -> drachtio server
BYE is not passed on to app.js
Is there a way to either a) track the application the specific call ID was using and attempt to re-send to that application or b) store the state of said call ID in some sort of KV database (e.g. redis) so it can be picked up by another instance of the application?
Thanks!

any idea why your application is restarting?  Is this by design, or a bug of some kind, or just an artifact of you manually restarting things in a dev/test environment?
Currently there is no way to "fail over" a SIP dialog to another app instance

Hi, WhiteyDude.
I think you can handle a) or b) directly in your application but i'm not sure the drachtio-server can send srf's BYE request in this case.


WIP: HUBERT model

Please review #3 first!
The goal is to integrate the Hubert Model into the pipeline:

[x] Create a model class (There already is one that has some errors)
[x] Implement a get_embeddings function
[x] Create/edit hubert config

@XgamerTV Whats still to do here? If it is ready, could you merge main into it and remove the WIP?


Improve boolean formatter check

See also #3149

@thyttan might I request a review? This is pretty much a follow-on from the last one

I'm not very good at regex at all, but I used an online parser/explainer and I think I understand how it matches. So looks good to me :+1:  Should I merge?

That's alright, thank you and yes please!