Crank up the warning levels

This PR cranks up the warning levels and fixes some warnings.
By the way, I must comment on how nice it is to see a project like this. A high quality SNES emulator written in C with a permissive license is my cup of tea.

I have decided to archive this repository, due to me not seeing myself work on it any further due to motivational/mental issues. There is a more active fork by @dinkc64 over here, which already has some updates (like CX4 support) so I would recommend opening a pull request there instead.


Temp navbar

Thanks for openeing this PR, can you please provide a description on what you are suggesting ? Also fetch the latest from upstream :)

@sebassem , you are welcome to kill me with one shot : )))
I did mistake (Not one time but twice) and opened PR on Microsoft repo instead of my forked repo!
Sorry to spammed you guys!

@sebassem , you are welcome to kill me with one shot : ))) I did mistake (Not one time but twice) and opened PR on Microsoft repo instead of my forked repo! Sorry to spammed you guys!

No worries at all :)


Doc update (Kubernetes):  Step 6: Key Management and Agent Forwarding with Windows Pageant

The documentation for ssh keygen shows a screenshot of putty with port 2200, but the templates generated use port 22.  Request that step 6 documentation and screenshot be updated to reflect what template is using.
https://github.com/Azure/acs-engine/blob/master/docs/ssh.md#ssh-key-generation

I would also add that in the deployment output of azure container service, the output says you must connect to master using 2200 port instead of 22 port.

Can you show me an example @AlexGrs ? I can't see where we'd be outputting that for ACS or ACS-Engine.


clean up python reqs, dcpy install

Had an odd failed job here
Couple things going on. For some reason, during dcpy install in container, it's uninstalling and reinstalling some python packages. On top of this, python isn't finding those packages when trying to use them.
I thought there might be some weird dependency issue causing the need/desire from pip to reinstall them, so I tried to clean up the requirements. This doesn't seem to have made a change, so I'm trying to force --no-deps when installing dcpy in the build image. Going to run a test build to see if this resolves issue
Issue resolved now

was it because that failed build was run on a branch that's one commit behind main? and that one commit has changes to packages?
seems like nightly builds on main haven't had this issue, but definitely like any amount of package/install cleanup! just wondering why other builds have worked

Ah maybe you're right. I still think it's nice to keep --no-deps, just make sure that nothing is actually being installed, just making the link to the dcpy folder


Containerd restart failed with message "failed to recover state: failed to reserve container name xxx: name xxx is reserved for xxx"

Description
We use kubelet and containerd. Restart containerd failed because cri found the same container name.
8月 02 22:56:05 VM-0-29-centos containerd[36948]: time="2022-08-02T22:56:05.989055410+08:00" level=fatal msg="Failed to run CRI service" error="failed to recover state: failed to reserve container name "kube-proxy_kube-proxy-m28fw_kube-system_0df69e5f-4355-4f99-bfd0-d1c6b2f935aa_0": name "kube-proxy_kube-proxy-m28fw_kube-system_0df69e5f-4355-4f99-bfd0-d1c6b2f935aa_0" is reserved for "73cc6d80cd6602e5ff53fd62db85cf09ecc8fe12b9effe753c404bf45750842a""
8月 02 22:56:05 VM-0-29-centos systemd[1]: containerd.service: Main process exited, code=exited, status=1/FAILURE
It's easy to reproduce, as long as you fill up the disk.
CRI will load all containers., when restart. And the container will be skipped, if load failed. And kubelet will create a container/sandbox with same name and restrartCount, because kubelet get restrartCount from annotation of the existed container. If loading the missing container succeeds, on the next restart, cri will find the container with the same name, so it will panic.
Steps to reproduce the issue

Find a common node with containerd as runtime
Fill the disk with commond such as dd if=/dev/zero of=file bs=1M count=1024
Restart containerd and we'll go a message "Failed to load container xxx error=failed to checkpoint status to xxx/.tmp-status106398678: no space left on device""
Kubelet will create new containers will same name
rm file
systemctl restart containerd

Describe the results you received and expected
Noop
What version of containerd are you using?
1.4.3
Any other relevant information
no matter
Show configuration if it is related to CRI plugin.
no matter

Looks similar to #6095

@payall4u  你好 请教下这个问题最终有破坏性不那么强的解决方式么？我看他们说的都是清空containerd的数据

Since containerd stores persistent data in boltdb and relys on it during restart. If containers are being created with disk filled up, data inconsistency is definitely going to happen..I don't think there is anything Containerd can do to accomodate for disk full scenario..

@cardyok  因此 你的建议是在磁盘扩容之后 对数据进行清理来重建boltdb 和别的，是这样么？ 但我始终觉得这不是一个应该由用户去清理数据解决的问题 在磁盘扩容后 containerd应该正常运行才对

It's a trick.
Change containerd config and stop CRI plugin.
Then containerd can be restarted correctly. Use command ctr -n k8s.io c ls to find out the reserved containerd. Remove it pls.

@payall4u  ok.I get it,thanks


Change axis tick-labels to "low", "medium", and "high"

Change axis tick-labels to "low", "medium", and "high" instead of 0, 0.5, and 1.

Solved in the HTML Visualization.


Target C++23

Now that we have a few C++23-features in all major compilers, I figure it's time we start playing around with them. :P
I'm working on some style property features that make use of Monadic operations for std::optional, and switching to C++23 feels like something major and separate from upcoming style property PR.

This is on hold while we look into code coverage with gcc 12.

INFO: Elapsed time: 49.239s, Critical Path: 10.75s
INFO: 494 processes: 22 internal, 472 linux-sandbox.
INFO: Build completed successfully, 494 total actions

zero-one@proton ~/repos/hastur $ clang --version
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg

LGTM


Resolve #70 Util bleu_moses.py does not work on windows

#70

I don't really think this is necessary... The reason we have separate methods corpus_bleu and corpus_bleu_moses is because these methods may return slightly different BLEU values. Simply changing from one to another does not solve the problem.
If the problem is due to certain Windows environments not recognizing the shebang line, let's just explicitly call perl in the command line.


Nuxt Fetch working only on server side

nuxt: v2.15.0
node: v14.15.4
@nuxtjs/sanity: ^0.7.0
Reproduction
Nuxt 2.15 with Typescript support
🚧 I'm working on a reproduction link, but there's Sanity as cms, I don't clearly know how to prepare a reproduction for this issue
Steps to reproduce
I've a class PageVue that extend Vue, with $sanity fetch to retrieve data from Sanity CMS in all my nuxt page components.
export default class PageBarIndex extends PageVue<SanityPageInterface> {
  async fetch(this: PageBarIndex) {
    const slug = 'bar'
    await this.retrievePage(slug)
    const query = groq`*[_type == "bar"]`
    const sanityBars: SanityProductInterface[] = await this.$sanity.fetch<SanityProductInterface[]>(query)
    this.sanityBars = this.sanityBars.concat(sanityBars)
  }
}

In PageVue class:
export class PageVue<T extends SanityPageInterface> extends Vue {
  page: Nullable<T> = null

  async retrievePage(slug: string) {
    try {
      const query = groq`*[slug.current == "${slug}"][0]`
      const page: T = await this.$sanity.fetch<T>(query)
      this.page = page
    } catch (error) {
      console.log('retrievePage error', error)
    }
  }

In page component I have:
 <fetch-pending v-if="$fetchState.pending" />
    <fetch-error
      v-else-if="$fetchState.error"
      :message="$fetchState.error.message"
    />
    <div v-else class="w-full">
     ....render data from sanity
    </div>

What is Expected?
Fetch working properly and I'm able to render the proper fetched data from Sanity
What is actually happening?
Fetch happens only on Server side, so if I inspect the source code server rendered by Nuxt, everything is ok, but when I navigate through page components with nuxt-router the $fetchState is not pending or error, but the data is not properly set in component, and, I think, vue not hydrate the components and the page is blank.
If I refresh the page everything is ok.

Same error happening to me after upgrading nuxt
  async fetch () {
    this.results = await this.$strapi.$homepage.find({
      slug: 'homepage'
    })
    this.slice_component = this.results.slice_component
  }

client.js?06a0:57 Error in fetch(): HTTPError: Forbidden
    at fn (server.js:9612:17)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
    at async Ky._retry (server.js:9710:16)
    at async HTTP.module.exports../.nuxt/http.js.HTTP.<computed> [as get] (server.js:1258:24)
    at async VueComponent.fetch (pages/index.js:63:20)
    at async VueComponent.serverPrefetch (server.js:1759:5)
    at async Promise.all (index 0) {
  response: Response {
    size: 0,
    timeout: 0,
    text: [Function],
    json: [Function],
    data: { statusCode: 403, error: 'Forbidden', message: 'Forbidden' },
    [Symbol(Body internals)]: { body: [PassThrough], disturbed: true, error: null },
    [Symbol(Response internals)]: {
      url: 'http://localhost:1337/homepage?slug=homepage',
      status: 403,
      statusText: 'Forbidden',
      headers: [Headers],
      counter: 0
    }
  },
  statusCode: 403,
  original: { statusCode: 403, error: 'Forbidden', message: 'Forbidden' }
}

If either of you could prepare a reproduction, that would be helpful 👍

@danielroe an update here! 🤪  I'm working on a fully working repo from the codebase (not ready yet)
This morning we simply put the fetchKey as follow for every page component.
We just follow this: https://github.com/nuxt/nuxt.js/pull/8466 🙏
@Component({
  fetchOnServer: true,
  fetchKey: 'just-a-string',
  components: {
    …
  }
})

For dynamic page, as _slug.vue:
fetchKey(getCounter) {
    if (condition) {
      return this.slug
    }
    return 'product' + getCounter('product')
},

With this implementation, after a nuxt-link clicking the page component is rendered correctly. 👍
Inspecting the network tab in Chrome dev tools, we found a payload.js as follow that we think did the work well.
__NUXT_JSONP__("/a-page-route", (function(a, b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u, v, w, x) {
    r._type = g;
    r.metaDescription = {
        _type: h,
        it: c
    };
    r.metaTitle = {
        _type: b,
        it: c
    };
    s._type = i;
    s.current = k;
    t._type = b;
    t.it = c;
    return {
        data: [{}],
        fetch: {
            "just-astring:0": {
                page: {
     …

@filippolcr @danielroe I can confirm that 2.15.1 version fix the issue for me. thank you!


Support for Flex

Please make sure you are testing with the latest release of html2canvas.
Old versions are not supported and issues reported for them will be closed.
Please follow the general troubleshooting steps first:

[ ] You are using the latest version
[ ] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
I am implementing screenshot widget on top of html2canvas functionality. I am running into an issue as the markup has used flex extensively and seems that html2canvas module is not supporting flex. So, need help here regarding how to add support for flex while taking screenshot using html2canvas
@niklasvh
Specifications:

html2canvas version tested with: 1.1.4
Browser & version: Chrome/ Firefox/ Edge
Operating system: Windows

Please share a repro example on jsfiddle.net


Mixers clipping

Hey, I love the mschack mixer but I was watching one of Omri Cohen's youtube vids (https://youtu.be/zWJBWUxMpdQ?t=176) and he was complaining about MSC Hack's mixers clipping.  So I started looking into it to see if I could spot why, and I think I found the cause.  Take a look at this:
https://i.imgur.com/tzcGHQG.png
Notice that the CF mixers, it reports red when its outputing above 10v as expected.  At 12 volts, then your in the red but it still outputs 12v.
However for some reason, the MSC Hack mixer limits the output to 6 volts and then it goes red.  Notice in the picture I have 9 volts of constant input running into the mixer but it still reads 6v.  Only drop channels and go below 6v does it stop clamping to 6v, but otherwise reads 6v which means above 6v the output is clipped which looks like a bug.  It seems like should act like CF mixer's and allow output non-clamped output and report red output when above 10v, right?
Any idea what's going on?
Thanks!

Omri informed me of this.  Thanks for the effort.  I have given him a test version that no longer clamps the outputs.  I will try to incorporte this into the next release.

Great, can you push your fix to somewhere (even if its to a preview branch), so I can build and get the fix myself?  MSC Hack mixer is my fav mixer so it'd be nice to have this fixed.  Thanks


Feature: add scope Uid (OpenLdap)

Laravel Version: 5.4
Adldap2-Laravel Version: 3
PHP Version: 7.1

Description:
Feature Request:
OpenLdap uses Uid over Upn to authenticate users. Suggestion add  UidScope class in the scope
Typical OpenLdap record
dn: uid=jsmith,ou=Users,dc=example,dc=com
givenName: John
uid: jsmith
cn: John Smith
sn: Smith
...

If this is a desired feature I can add it. Will wait for the authors/maintainers feedback.
Steps To Reproduce:

Implementing this now, thanks for the recommendation!

Amazing thanks I'll be able to get rid of my own custom class 👍

This change is very handy, @stevebauman Do you intent to release the new version soon? I noticed you already wrote the changelog :)


Uncharted Journalism Fund is shutdown as of March 15th

As per their official notice, the Uncharted Journalism Fund has been shutdown. Hence, it should be added to  grant programs are no longer active, but you might find them useful to read about as case studies.

@sidtechnical thanks for flagging! Updated in https://github.com/nayafia/microgrants/commit/458f636c2a677ed6aa5f28e3dfdfef62ee4c03d2.


Android livestream buffering error

If we play a livestream on a player on android it sudenly starts to stutter and stops completely wiht events:

Buffering
Play
But player is not playing it's just stopped.

I tried SDK versions:

6.4.0
6.3.0
6.2.1
6.0.0

All produces same result
Here are the logs from logcat on android:
2023-11-16 15:42:13.057  |  MediaCodec              |                     I  [c2.exynos.h264.decoder] setting surface generation to 1979394
2023-11-16 15:42:13.057  |  SurfaceUtils            |                     D  disconnecting from surface 0xb400007c954e5f30, reason connectToSurface(reconnect)
2023-11-16 15:42:13.057  |  SurfaceUtils            |                     D  connecting to surface 0xb400007c954e5f30, reason connectToSurface(reconnect)
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  CCodecBufferChannel     |                     D  [c2.android.aac.decoder#28] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.057  |  Codec2-Out...ufferQueue |                     D  remote graphic buffer migration 9/9
2023-11-16 15:42:13.058  |  Codec2Client            |                     D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2023-11-16 15:42:13.058  |  Codec2Client            |                     D  setOutputSurface -- generation=1979394 consumer usage=0x900
2023-11-16 15:42:13.058  |  hw-BpHwBinder           |                     I  onLastStrongRef automatically unlinking death recipients
2023-11-16 15:42:13.059  |  MediaCodec              |                     D  flushMediametrics
2023-11-16 15:42:13.060  |  MediaCodec              |                     D  flushMediametrics
2023-11-16 15:42:13.060  |  MediaCodec              |                     W  no metrics handle found
2023-11-16 15:42:13.062  |  Codec2Client            |                     D  Surface configure completed
2023-11-16 15:42:13.062  |  SurfaceUtils            |                     D  disconnecting from surface 0xb400007c95450ed0, reason disconnectFromSurface
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.064  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#679] MediaCodec discarded an unknown buffer
2023-11-16 15:42:13.068  |  AudioTrack              |                     D  stop(10347): called with 1324361 frames delivered
2023-11-16 15:42:13.070  |  TrafficStats            |                     D  tagSocket(128) with statsTag=0xffffffff, statsUid=-1
2023-11-16 15:42:13.075  |  PipelineWatcher         |                     D  onInputBufferReleased: frameIndex not found (680); ignored
2023-11-16 15:42:13.076  |  PipelineWatcher         |                     D  onInputBufferReleased: frameIndex not found (681); ignored
2023-11-16 15:42:13.077  |  PipelineWatcher         |                     D  onInputBufferReleased: frameIndex not found (682); ignored
2023-11-16 15:42:13.077  |  PipelineWatcher         |                     D  onInputBufferReleased: frameIndex not found (683); ignored
2023-11-16 15:42:13.080  |  SurfaceUtils            |                     D  disconnecting from surface 0xb400007c954e5f30, reason disconnectFromSurface
2023-11-16 15:42:13.080  |  hw-BpHwBinder           |                     I  onLastStrongRef automatically unlinking death recipients
2023-11-16 15:42:13.081  |  MediaCodec              |                     D  flushMediametrics
2023-11-16 15:42:13.081  |  MediaCodec              |                     D  flushMediametrics
2023-11-16 15:42:13.081  |  MediaCodec              |                     W  no metrics handle found
2023-11-16 15:42:13.096  |  CCodec                  |                     D  allocate(c2.exynos.h264.decoder)
2023-11-16 15:42:13.098  |  CCodec                  |                     I  setting up 'default' as default (vendor) store
2023-11-16 15:42:13.099  |  CCodec                  |                     I  Created component [c2.exynos.h264.decoder]
2023-11-16 15:42:13.100  |  CCodecConfig            |                     D  read media type: video/avc
2023-11-16 15:42:13.101  |  ReflectedParamUpdater   |                     D  extent() != 1 for single value type: output.subscribed-indices.values
2023-11-16 15:42:13.101  |  ReflectedParamUpdater   |                     D  extent() != 1 for single value type: input.buffers.allocator-ids.values
2023-11-16 15:42:13.101  |  ReflectedParamUpdater   |                     D  extent() != 1 for single value type: output.buffers.allocator-ids.values
2023-11-16 15:42:13.101  |  ReflectedParamUpdater   |                     D  extent() != 1 for single value type: output.buffers.pool-ids.values
2023-11-16 15:42:13.103  |  ReflectedParamUpdater   |                     D  ignored struct field coded.color-format.locations
2023-11-16 15:42:13.104  |  CCodecConfig            |                     D  ignoring local param raw.size (0xd2001800) as it is already supported
2023-11-16 15:42:13.104  |  CCodecConfig            |                     D  ignoring local param default.color (0x5200180b) as it is already supported
2023-11-16 15:42:13.104  |  ReflectedParamUpdater   |                     D  ignored struct field raw.hdr-static-info.mastering
2023-11-16 15:42:13.105  |  CCodecConfig            |                     I  query failed after returning 15 values (BAD_INDEX)
2023-11-16 15:42:13.105  |  CCodecConfig            |                     D  c2 config diff is Dict {
                                                                                c2::u32 algo.low-latency.value = 0
                                                                                c2::i32 algo.priority.value = 0
                                                                                c2::float algo.rate.value = 0
                                                                                c2::u32 coded.pl.level = 20496
                                                                                c2::u32 coded.pl.profile = 20481
                                                                                c2::u32 coded.vui.color.matrix = 0
                                                                                c2::u32 coded.vui.color.primaries = 0
                                                                                c2::u32 coded.vui.color.range = 0
                                                                                c2::u32 coded.vui.color.transfer = 0
                                                                                c2::u32 default.color.matrix = 0
                                                                                c2::u32 default.color.primaries = 0
                                                                                c2::u32 default.color.range = 0
                                                                                c2::u32 default.color.transfer = 0
                                                                                c2::u32 input.buffers.max-size.value = 7340032
                                                                                string input.media-type.value = "video/avc"
                                                                                c2::u32 output.delay.value = 3
                                                                                string output.media-type.value = "video/raw"
                                                                                c2::u32 raw.color.matrix = 0
                                                                                c2::u32 raw.color.primaries = 0
                                                                                c2::u32 raw.color.range = 0
                                                                                c2::u32 raw.color.transfer = 0
                                                                                c2::float raw.hdr-static-info.max-cll = 0
                                                                                c2::float raw.hdr-static-info.max-fall = 0
                                                                                c2::u32 raw.max-size.height = 240
                                                                                c2::u32 raw.max-size.width = 320
                                                                                c2::u32 raw.pixel-format.value = 34
                                                                                c2::i32 raw.rotation.flip =
2023-11-16 15:42:13.105  |  ColorUtils              |                     W  expected specified color aspects (0:0:0:0)
2023-11-16 15:42:13.112  |  THEO_VideoDecoder       |                     I  Decoder created successfully with name: c2.exynos.h264.decoder security: false Mime: video/avc
2023-11-16 15:42:13.112  |  MediaCodec              |                     D  flushMediametrics
2023-11-16 15:42:13.112  |  SurfaceUtils            |                     D  connecting to surface 0xb400007c95468580, reason connectToSurface
2023-11-16 15:42:13.113  |  MediaCodec              |                     I  [c2.exynos.h264.decoder] setting surface generation to 1979395
2023-11-16 15:42:13.113  |  SurfaceUtils            |                     D  disconnecting from surface 0xb400007c95468580, reason connectToSurface(reconnect)
2023-11-16 15:42:13.113  |  SurfaceUtils            |                     D  connecting to surface 0xb400007c95468580, reason connectToSurface(reconnect)
2023-11-16 15:42:13.113  |  CCodec                  |                     D  [c2.exynos.h264.decoder] buffers are bound to CCodec for this session
2023-11-16 15:42:13.114  |  CCodecConfig            |                     D  no c2 equivalents for csd-1
2023-11-16 15:42:13.114  |  CCodecConfig            |                     D  no c2 equivalents for native-window
2023-11-16 15:42:13.114  |  CCodecConfig            |                     D  no c2 equivalents for flags
2023-11-16 15:42:13.114  |  CCodecConfig            |                     D  c2 config diff is   c2::u32 input.buffers.max-size.value = 15728640
                                                                                c2::u32 raw.max-size.height = 3840
                                                                                c2::u32 raw.max-size.width = 3840
                                                                                c2::u32 raw.size.height = 540
                                                                                c2::u32 raw.size.width = 960
2023-11-16 15:42:13.114  |  Codec2Client            |                     W  query -- param skipped: index =<PHONE_NUMBER>.
2023-11-16 15:42:13.114  |  CCodec                  |                     D  client requested max input size 4000000, which is smaller than what component recommended (15728640); overriding with component recommendation.
2023-11-16 15:42:13.114  |  CCodec                  |                     W  This behavior is subject to change. It is recommended that app developers double check whether the requested max input size is in reasonable range.
2023-11-16 15:42:13.114  |  CCodec                  |                     D  encoding statistics level = 0
2023-11-16 15:42:13.114  |  CCodec                  |                     D  setup formats input: AMessage(what = 0x00000000) = {
                                                                                int32_t height = 540
                                                                                int32_t level = 65536
                                                                                int32_t max-input-size = 15728640
                                                                                string mime = "video/avc"
                                                                                int32_t priority = 0
                                                                                int32_t profile = 65536
                                                                                int32_t width = 960
                                                                                Rect crop(0, 0, 959, 539)
                                                                                }
2023-11-16 15:42:13.114  |  CCodec                  |                     D  setup formats output: AMessage(what = 0x00000000) = {
                                                                                int32_t android._color-format =<PHONE_NUMBER>
                                                                                int32_t android._video-scaling = 1
                                                                                int32_t rotation-degrees = 0
                                                                                int32_t color-standard = 1
                                                                                int32_t color-range = 2
                                                                                int32_t color-transfer = 3
                                                                                float cta861.max-cll = 0.000000
                                                                                float cta861.max-fall = 0.000000
                                                                                int32_t sar-height = 1
                                                                                int32_t sar-width = 1
                                                                                Rect crop(0, 0, 959, 539)
                                                                                int32_t width = 960
                                                                                int32_t height = 540
                                                                                int32_t max-height = 3840
                                                                                int32_t max-width = 3840
                                                                                string mime = "video/raw"
                                                                                int32_t priority = 0
                                                                                int32_t android._dataspace = 260
                                                                                int32_t color-format =<PHONE_NUMBER>
                                                                                }
2023-11-16 15:42:13.115  |  CCodecConfig            |                     I  query failed after returning 15 values (BAD_INDEX)
2023-11-16 15:42:13.123  |  Codec2Client            |                     W  query -- param skipped: index =<PHONE_NUMBER>.
2023-11-16 15:42:13.123  |  Codec2Client            |                     W  query -- param skipped: index =<PHONE_NUMBER>.
2023-11-16 15:42:13.124  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#386] Created input block pool with allocatorID 16 => poolID 21 - OK (0)
2023-11-16 15:42:13.124  |  CCodecBufferChannel     |                     I  [c2.exynos.h264.decoder#386] Created output block pool with allocatorID 18 => poolID 2175 - OK
2023-11-16 15:42:13.125  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#386] Configured output block pool ids 2175 => OK
2023-11-16 15:42:13.125  |  Codec2-Out...ufferQueue |                     D  remote graphic buffer migration 0/0
2023-11-16 15:42:13.125  |  Codec2Client            |                     D  setOutputSurface -- failed to set consumer usage (6/BAD_INDEX)
2023-11-16 15:42:13.125  |  Codec2Client            |                     D  setOutputSurface -- generation=1979395 consumer usage=0x900
2023-11-16 15:42:13.125   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.126  |  Codec2Client            |                     D  Surface configure completed
2023-11-16 15:42:13.143  |  CCodecConfig            |                     D  c2 config diff is   c2::u32 output.delay.value = 18
2023-11-16 15:42:13.143   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.143  |  Codec2-Out...ufferQueue |                     D  set max dequeue count 25 from update
2023-11-16 15:42:13.146   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.146  |  CCodecBufferChannel     |                     D  [c2.exynos.h264.decoder#386] Ignoring stale input buffer done callback: last flush index = 0, frameIndex = 0
2023-11-16 15:42:13.147   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.147  |  Codec2-Out...ufferQueue |                     D  set max dequeue count 25 from update
2023-11-16 15:42:13.147  |  Codec2-Out...ufferQueue |                     D  set max dequeue count 25 from update
2023-11-16 15:42:13.148   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.149   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.150   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.151   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.151   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.153   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.155   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.156   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.157   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.158   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.158   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.159   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.160   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.161   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.162   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.163   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.164   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.166   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.169   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.169   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.185  |  TrafficStats            |                     D  tagSocket(412) with statsTag=0xffffffff, statsUid=-1
2023-11-16 15:42:13.228  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=4 packageName=|
2023-11-16 15:42:13.240  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=3 packageName=|
2023-11-16 15:42:13.256  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=4 packageName=|
2023-11-16 15:42:13.266  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=3 packageName=|
2023-11-16 15:42:13.289  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=4 packageName=|
2023-11-16 15:42:13.300  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=3 packageName=|
2023-11-16 15:42:13.313  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=4 packageName=|
2023-11-16 15:42:13.326  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=3 packageName=|
2023-11-16 15:42:13.332  |  CCodecConfig            |                     D  c2 config diff is   c2::u32 raw.color.matrix = 1
                                                                                c2::u32 raw.color.primaries = 1
                                                                                c2::u32 raw.color.range = 2
                                                                                c2::u32 raw.color.transfer = 3
                                                                                c2::u32 raw.crop.height = 540
                                                                                c2::u32 raw.crop.left = 0
                                                                                c2::u32 raw.crop.top = 0
                                                                                c2::u32 raw.crop.width = 960
                                                                                c2::u32 raw.size.height = 544
2023-11-16 15:42:13.332  |  CCodecBuffers           |                     D  [c2.exynos.h264.decoder#386:Output[N]] popFromStashAndRegister: at<PHONE_NUMBER>us, output format changed to AMessage(what = 0x00000000) = {
                                                                                int32_t android._color-format =<PHONE_NUMBER>
                                                                                int32_t android._video-scaling = 1
                                                                                int32_t rotation-degrees = 0
                                                                                int32_t color-standard = 1
                                                                                int32_t color-range = 2
                                                                                int32_t color-transfer = 3
                                                                                float cta861.max-cll = 0.000000
                                                                                float cta861.max-fall = 0.000000
                                                                                int32_t sar-height = 1
                                                                                int32_t sar-width = 1
                                                                                Rect crop(0, 0, 959, 539)
                                                                                int32_t width = 960
                                                                                int32_t height = 544
                                                                                int32_t max-height = 3840
                                                                                int32_t max-width = 3840
                                                                                string mime = "video/raw"
                                                                                int32_t priority = 0
                                                                                int32_t android._dataspace = 260
                                                                                int32_t color-format =<PHONE_NUMBER>
                                                                                }
2023-11-16 15:42:13.342   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.343  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=4 packageName=|
2023-11-16 15:42:13.354  |  WifiService             system_server                        I  acquireWifiLock uid=10461 lockMode=3 packageName=|
2023-11-16 15:42:13.354   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long
2023-11-16 15:42:13.367   612-13992 gralloc4                and...graphics.allocator-V1-service  W  Unable to set buffer name SurfaceView[|/|.MainActivity]#3(BLAST Consumer)3: File name too long

Hey @KestasVenslauskas, we'll have to check the stream to see what's going on. There are a number of possible reasons this could be happening, with the root cause coming from either the player or the stream packager.
Could you contact us through the service desk and pass a live stream?

@tvanlaerhoven I don't have access to help desk but here is the stream URI:
https://stream-live.lrt.lt/lituanica/master.m3u8
This stream works well on iOS but on Android starts to stutter after 10seconds.
Here is the video of it
https://github.com/THEOplayer/react-native-theoplayer/assets/52245569/6a418ca5-bf53-4aaf-94c0-818376e03d57
Then after some time it just stops after sending event "seeking".
This was working fine when we did the build with 6.3.0 version some time ago. But now switching SDK version does not help. Maybe you have some internal dependencies that have broke it?


New timeout config options [ADR 006]

Amends https://github.com/neo4j/neo4j-python-driver/pull/675
Implements ADR 006 (internal reference)

Stub tests are expected to fail because of the UTC fix not being implemented in the Driver yet.

multi-db Integration tests with 5.0 are failing because the async nature of db management procedure changed (https://github.com/neo4j-drivers/testkit/pull/484) -> unrelated to this change.


Plate resolution

There doesn't seem to be a command line option for this any more.

I think we should really put this back

Why was it removed in the first place?

I am not sure: perhaps it happened by mistake or it was thought we had too many options.

Ok, the option is actually there, it just not in the generation section:
    parser.add_argument('-q', '--number-of-plates', dest='number_of_plates',
                        type=int,
                        help="N = number of plates [default = %(default)s]",
                        metavar="N", default='10')

I will perhaps just move it and then close this issue.

I submitted a PR to put the option in the right section and updated the manual. I think we can consider this one closed. Feel free to reopen it if I missed something.


WIP: Add Frontend Authoring Support

Still need:

[ ] Permissions
[x] Editor Preview
[ ] Image Support
[x] Field Clean Up (no need to select Author, for instance)

For the editing form, need to:

[x]  if only one section, just default to that one and don't show field
[x] markup is markdown
[x] author is request.user
[x] slug is automatically created from title
[x] teaser is markdown with preview
[x] content is markdown with preview
[ ] images: display image set thumbnails
[ ] images: select the one that is primary
[ ] images: use react image set frontend widget

Changes Unknown when pulling 2f3052a15842e5b965d69623bcc565148de4ae58 on frontend-admin into ** on master**.

Coverage increased (+3.6%) to 55.907% when pulling faa53be47d8f6eeafa71c9b2f85ef89037aa4764 on frontend-admin into 79bacf9ec6c70009305fbc5a93a797b66fac0a07 on master.

Coverage increased (+3.6%) to 55.893% when pulling 82924ecc88b253029dc4b598984978c4c80423cd on frontend-admin into 79bacf9ec6c70009305fbc5a93a797b66fac0a07 on master.


Merging Two Images

Hi,
I have a requirement where i have a Base image and template Image. Base image just contains the Form Data where as the Template image contains the Form template. (both images have same size)
Now i need to Combine/Merge Template image on top of Base image so that user can see the complete form (i.e. With template and data in the same image).
I tried various options but actually it is overlapping the base image. only top/overlayed image is visible.
Any help or suggestions are deeply appreciated.
Thanks

In what way do they need to be merged? Is it just an overlay? If so, the top image can have transparency (if it uses PNG tiles).

Yes. Overlay is also fine. Only concern is the base/background image should be visible after overlaying the top image.
And yes, my Top image is a PNG image. Could you please provide a link or example to implement the same.

Cool. You just need to make sure your top image has transparent areas in it. And no, you wouldn't use the overlay feature of OSD, you'd just have it be a second image in the viewer.
var viewer = OpenSeadragon({
  tileSources: [
    baseTileSource, // this one is opaque
    topTileSource // this one needs to have transparent bits
  ]
});

What kind of image format are you using? DZI? Just straight images? Something else?

yes. works like a charm. Using C# code i made my top image as Transparent, and passed this image as TOP image in tile source as you said. its done. now both Base & top images are visible.
Thanks a lot. Cheers!!!

Great to hear it!

Hi @iangilman ,
I like check the difference between these two dzi images. Is it possible to add class to dzi images so that I can apply css filter to it Or else any method already exist in the plugin. Please help me.
Thanks

@tufail If you have two images in the viewer, you can apply a composite operation to the top one to have it draw differently. For instance:
var topImage = viewer.world.getItemAt(1);
topImage.setCompositeOperation('difference');

Another option would be to have two viewers stacked on top of each other, each with their own image. You could then add a CSS filter to the top viewer. This would of course require synchronizing the viewers, so it would be more work than the first approach.


E2E: Add more test cases for Webring

Hi @dtinth ,
I would like to submit E2E and add more test cases for Webring.

e2e with real user behavior on a random link
should navigate to the next link for n-link or last-link
should navigate to the previous link for n-link or first-link
should display the sticky consent banner
should hide the sticky consent banner when it is clicked
should contain a link on-site info section
should return 200 for data.json
should have keys for data.json

Feel free to change :smile:
Thanks

@dtinth fixed, please merge when you are ready 👍


Split routing tests

What is the context of this PR?
When a test fails it takes a long time to run all of the routing rules
to see what has broken. It is also more difficult to maintain. It will
only get larger and more unmaintainable if we don't split them out
How to review
Check that no selenium tests have gone missing in the refactor
All selenium tests should still pass

I think splitting out the routing tests and changing the behaviour of run_tests.sh should be two different pull requests. Splitting the routing tests could go in now, whereas changing the behaviour of the script will involve more discussion.

Removed run_tests change. Note that the build time will increase as a consequence of these changes


Can auth0_flutter be used without Auth0?

Checklist

[X] The issue can be reproduced in the auth0_flutter sample app (or N/A).
[X] I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
[X] I have looked into the API documentation and have not found a suitable solution or answer.
[X] I have searched the issues and have not found a suitable solution or answer.
[X] I have searched the Auth0 Community forums and have not found a suitable solution or answer.
[X] I agree to the terms within the Auth0 Code of Conduct.

Description
Is the flutter package auth0_flutter specific to Auth0 users, or is it also possible to use this package to connect with any identity provider that fully supports OAuth protocol?
Reproduction
No reproduction steps; just a question
Additional context
Asked this question on the Auth0 forum, but got the advise to ask the question here
auth0_flutter version
any
Flutter version
any
Platform
Android, iOS, Web
Platform version(s)
No response

Hi @markbeij, thanks for raising this.
The auth0_flutter is specific to Auth0, I'm afraid it can't be used as a generic OpenID Connect client.

Alright, thanks :+1:


fix: completeFunctionCalls adds brackets when writing JSX

Solves #239
Fixes brackets being placed wrongly (for example with JSX and import statements) when complete_function_calls is set to true as described in the linked issue.
Old behavior

New behavior

Hi, thanks for your contribution. I'm still on my vacation so I'll test it next week!

Any updates on this?

This would be a really nice improvement. :pray:


Fix grammatical errors

@googlebot I signed it!

Oh great, a discussion on the Oxford comma.  😁
This is not an error as the serial comma is optional* in US and considered unnecessary in UK. I would only use it to disambiguate.
*Obviously it depends on the source as English has no official guidelines


[BUG] No IMU message from depthai_example stereo_inertial_publisher node

In v2.7.5-noetic branch
roslaunch depthai_examples/launch/stereo_inertial_node.launch
After rectification disabled, I can get left and right image stream, however there is no data coming from /stereo_inertial_publisher/imu
In the parameters, imuMode is set to 1.

Hi, thanks for reporting, it seems this issue is firmware related, team has been notified, I will post an update after the fix is available.


add a basic pycomlink example using openMRG data

As the title suggests the recent notebook is reworked to no feature an example routine to process the openMRG data with pycomlink.

Notebook runs in mybinder without too much memory consumption.

Small correction:

TRSL is the transmitted signal level minus the received signal level and represents the total path loss along the CML

should be

TL (total path loss) is ...

Also, can you add a scatter plot or hexbin plot of the final result?

@cchwala only saw your suggestion for the scatter plot now. I updated it with an hourly scatter plot for now.

Thanks 👍


using c++ thread library instead of sysinfo.h

I am using a mac so I was not able to compile with sysinfo.h. I changed the mhd.hh file to use the c++ thread library and the function hardware_concurrency() to acquire the needed information without linux specific files.

Thanks!


typeof is an operator and should be described as such

In this waypoint: http://www.freecodecamp.com/challenges/waypoint-using-typeof
#3016

In the future, please comment in the relevant issue instead of creating a new one :)

Oh...I thought PRs and issues were two different things. I was just looking at the Contributing section of the readme, and it mentioned making an issue then a PR. And I see people linking issues in PRs and vice versa...so I'm slightly confused.

Essentially, no, they're really quite similar. I didn't notice that yours was a PR though so I created my own, sorry about that.

This should've been closed by #3071

@ahstro thanks. Closing this issue as PR #3071 is merged.


Azure Pipelines Agent - Downgrade to a lower version with V2.200.2

Agent Version and Platform
Version of your agent? 2.200.2 (latest to date)
OS of the machine running the agent? Windows 10
Azure DevOps Type and Version
Azure DevOps Server on-premise
If on-premises, which release? 2020.1
What's not working?
Hello,
we are currently providing Azure Pipelines agents to VMs independent from the version added to Azure DevOps Server. Beforehand, we used the version 2.169.1, which works fine. Unfortunately with the newest version 2.200.2, we are facing a problem:
"Downgrading agent to a lower version. This is usually due to a rollback of the currently published agent for a bug fix. To disable this behavior, set environment variable AZP_AGENT_DOWNGRADE_DISABLED=true before launching your agent."
After that, The agent tries to rollback the 2.200.2 version and wants to use the version provided by our Azure DevOps Server (2.187.2).
This should in my opinion not happen. I would like to just install the azure pipelines agent and run it. There should now downgrading attempt happening.
Is this a known issue, is this a bug? I would suggest, that the newest version would be fixed such an issue. I have also seen this with the 2.198.2 and 2.198.3, so I was hoping to don't see this downgrade-message again.
Do you have any information about this?
I see that I could set the environment variable "AZP_AGENT_DOWNGRADE_DISABLED" to true, but I think it should not be the intended way. Or do I need to set this environment variable?
Thanks and best regards,
Marco

Hi @hez2010 yes, you can use this environment variable to disable automatic downgrade to agent version originally shipped with on-prem server.
Please be aware that there could be some incompatibility issues while using newer agent versions with on-prem server.

Hi @hez2010 please ping if you have any other questions.


Remove kotlin-components submodule

Closes #96
This PR:

Removes all dependence on the kotlin-components submodule
Adds documentation for the release process

Enabling support for wasm will be handled in #97 as there are some configuration errors with testing when building.


How to fix page flashed when site redirected by brower language.

Hello,
I'm using i18n to make my site become international. But i meet some problem about detectBrowserLanguage option.
When someone visits a website for the first time, the default language of the website is English.
But the browser language is not English. At this point, there is a chance that the person will see the page flash once and then change from English to the browser language.
How should I solve this problem?
This is my config:

export default {
  // Target: https://go.nuxtjs.dev/config-target
  target: 'static',

  // Global page headers: https://go.nuxtjs.dev/config-head
  head: {
    title: 'yangheng',
    htmlAttrs: {
      lang: 'en',
    },
    meta: [
      { charset: 'utf-8' },
      { name: 'viewport', content: 'width=device-width, initial-scale=1' },
      { hid: 'description', name: 'description', content: '' },
      { name: 'format-detection', content: 'telephone=no' },
    ],
    link: [{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }],
  },

  // Global CSS: https://go.nuxtjs.dev/config-css
  css: [],

  // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins
  plugins: [],

  // Auto import components: https://go.nuxtjs.dev/config-components
  components: true,

  // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules
  buildModules: [
    // https://go.nuxtjs.dev/eslint
    '@nuxtjs/eslint-module',
  ],

  // Modules: https://go.nuxtjs.dev/config-modules
  modules: [
    // https://github.com/nuxt-community/i18n-module
    '@nuxtjs/i18n',
  ],

  // i18n module options: https://i18n.nuxtjs.org/options-reference
  i18n: {
    locales: [
      {
        code: 'en',
        iso: 'en-US',
        file: 'en.json',
        name: 'English',
      },
      {
        code: 'zh-CN',
        iso: 'zh-CN',
        file: 'zh-CN.json',
        name: '简体中文',
      }
    ],
    defaultLocale: 'en',
    langDir: '~/locales/',
    detectBrowserLanguage: {
      useCookie: true,
    },
    lazy: true,
  },

  // Build Configuration: https://go.nuxtjs.dev/config-build
  build: {},
}

The only way to fix it properly is to implement the redirect on the hosting side (netlify or whatever you are using). Those providers usually have built in functionality for that.

Thanks, I think I can redirect it with Cloudflare worker. 👍


Multiple job support in POST /jobs

POST /jobs currently expects a list of jobs, so you can store multiple jobs at the same time.
I'm however not sure this is useful in practice where you will be mostly creating just one job at a time anyway.
Especially concerning error handling:
e.g. if you try to store N jobs and you get an error response: will it be easy to figure which subset of job worked an which subset failed?
side note: the swagger docs currently don't document the response body of the requests, so I'm not sure how much I can depend on the current responses I'm getting

I would suggest making it in line with the openeo driver code so that it matches its implementation. If the openeo code only reports one job at a time, it indeed does not make much sense (and would also mean more work) to accept an array of jobs. Changing it in the backend is also very easy.
If the array concept should be kept, we can send always send a reply where the body contains a status (OK, FAILED, ...) for each of the reported entries separately. Again, this would also induce more work as you won't receive an error status in those cases and need to parse the response.
Let me know what you would prefer and we'll change the API accordingly.

@soxofaan  - What do you think? Shall we update the API to only support single jobs?

Updated POST endpoint to support single jobs


Can't override MuiStepIcon styles using classes prop

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
When I try override the MuiStepIcon styles by providing classes in the classes prop (via MuiStepLabel) the class is overriden by the base styles as they are too specific
Expected Behavior 🤔
My class styles apply
Steps to Reproduce 🕹
<StepLabel
  classes={{
    label: classes.stepLabel,
  }}
  StepIconProps={{
    classes: {
      root: classes.stepIconRoot,
      active: classes.stepIconActive,
    },
  }}>
  <FormattedMessage {...msg} />
</StepLabel>

Screenshot of Chrome devtools showing the style overrides:

Your Environment 🌎

Tech
Version

Material-UI
v4.5.1

This is done on purpose, you have to increase specificity.

Can you demonstrate how I can do that please?

Never mind, I worked it out from the documentation, and learned something new. Thanks

The current tradeoff enables developers to customize the style of the default state without impacting the other. We try not to increase specificity as much as possible but to also have a consistent behavior between components. It's definitely opinionated.


Using own created cert to create provisioning profile

I made my own cert with Apple by making my own .key file, csr and apple gave me the .cer. Now I want to make a provisioning profile but running sigh with
fastlane sigh --skip_install -u<EMAIL_ADDRESS>-b SOME_TEAM_ID -a com.hyegar.sd-mobile --force --output_path /some/where -q thing.mobileprovision

But I get
[!] Could not find a matching code signing identity for type 'AppStore'. It is recommended to use match to manage code signing for you, more information on https://codesigning.guide.If you don't want to do so, you can also use cert to generate a new one: https://fastlane.tools/cert

And I think this is because the .cer file was never installed into keychain.
Is there a way to get sigh to produce the provisioning profile given that the .cer was made manually?
I looked through fastlane action sigh for guidance but didn't see a relevant argument.

Unfortunately that's not supported. Is there any reason why you can't regenerate the cert using sigh? I just use match for all the things and don't worry anymore 😄


Error annotations from cache post-run step

In https://github.com/Nullus157/.github/actions/runs/5048663303 I'm seeing a bunch of error annotations:

Error: ENOENT: no such file or directory, opendir '/home/runner/.cargo/registry/index'

stepping into one of the jobs these are coming from the post-run action when it goes to clean the registry before caching, presumably because I have no dependencies so no registry data is downloaded https://github.com/Nullus157/.github/actions/runs/5048663303/jobs/9057129303#step:7:31

Thanks for the information. Indeed, there is a problem with https://github.com/Swatinem/rust-cache. rust-cache is the only part of this action with post-run steps. This minimal action with a Rust project without dependencies is enough to trigger the error:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- run: cargo check --all

You can disable the cache action by setting the cache input value to false:
      - uses: actions-rust-lang/setup-rust-toolchain@v1
        with:
          cache: false

For a proper fix, you should raise the issue again in the rust-cache repository.

Thanks for taking a look, I've opened https://github.com/Swatinem/rust-cache/issues/144 about it. I can't easily disable the cache here because I share this workflow between multiple repositories, but it doesn't actually cause a failure so it's not a massive deal to ignore for now.


Change error code for non-iterable based on the target

https://github.com/dudykr/stc/blob/8b5fad3b580e2a4e2a4a75b0e3f45b75a8cc3f63/crates/stc_ts_type_checker/tests/conformance/es6/destructuring/destructuringAssignabilityCheck.ts#L5
We should report TS2461 instead of TS2345 for the line above

I think an issue is that https://github.com/dudykr/stc/blob/8ea5b02590550cdd7d1e6cbf53a54bc719be99a2/crates/stc_ts_file_analyzer/src/analyzer/expr/array.rs#L605 is never called, which by running the conformance tests on the microsoft/TypeScript repo I figured should be called for this to be handled correctly. I couldn't figure out why but I suspect this might be relevant:
I modified the fail macro to log to and from and got back (for to)
Tuple(Tuple { span: Span { lo: BytePos(3), hi: BytePos(5), ctxt: #0 }, elems: [], metadata: TupleMetadata { prevent_tuple_to_array: false, common: CommonTypeMetadata { implicit:
  │ false, infected_by_this_in_object_literal: false, prevent_converting_to_children: false, contains_infer_type: false, prevent_complex_simplification: false, resolved_from_var: false,
  │ prevent_generalization: false, destructure_key: DestructureId(1) } }, tracker: Tracker { _priv: () } })

which to me is weird because I expected an array type but I dont understand stc well enough to know for sure. If it should have been an array type then that explains why get_iterator_inner is never called.
I also had the following logged:
[crates/stc_ts_file_analyzer/src/analyzer/types/mod.rs:93] &ty = Arc(
    Freezed {
        ty: Function(
            Function {
                span: Span {
                    lo: BytePos(
                        2,
                    ),
                    hi: BytePos(
                        11,
                    ),
                    ctxt: #0,
                },
                type_params: None,
                params: [
                    FnParam {
                        span: Span {
                            lo: BytePos(
                                3,
                            ),
                            hi: BytePos(
                                5,
                            ),
                            ctxt: #0,
                        },
                        required: true,
                        pat: Array(
                            RArrayPat {
                                node_id: NodeId(
                                    6,
                                ),
                                span: Span {
                                    lo: BytePos(
                                        3,
                                    ),
                                    hi: BytePos(
                                        5,
                                    ),
                                    ctxt: #0,
                                },
                                elems: [],
                                optional: false,
                                type_ann: None,
                            },
                        ),
                        ty: Arc(
                            Freezed {
                                ty: Tuple(
                                    Tuple {
                                        span: Span {
                                            lo: BytePos(
                                                3,
                                            ),
                                            hi: BytePos(
                                                5,
                                            ),
                                            ctxt: #0,
                                        },
                                        elems: [],
                                        metadata: TupleMetadata {
                                            prevent_tuple_to_array: false,
                                            common: CommonTypeMetadata {
                                                implicit: false,
                                                infected_by_this_in_object_literal: false,
                                                prevent_converting_to_children: false,
                                                contains_infer_type: false,
                                                prevent_complex_simplification: false,
                                                resolved_from_var: false,
                                                prevent_generalization: false,
                                                destructure_key: DestructureId(
                                                    1,
                                                ),
                                            },
                                        },
                                        tracker: Tracker {
                                            _priv: (),
                                        },
                                    },
                                ),
                            },
                        ),
                    },
                ],
                ret_ty: Keyword(
                    KeywordType {
                        span: Span {
                            lo: BytePos(
                                10,
                            ),
                            hi: BytePos(
                                11,
                            ),
                            ctxt: #0,
                        },
                        kind: TsNumberKeyword,
                        metadata: KeywordTypeMetadata {
                            common: CommonTypeMetadata {
                                implicit: false,
                                infected_by_this_in_object_literal: false,
                                prevent_converting_to_children: false,
                                contains_infer_type: false,
                                prevent_complex_simplification: false,
                                resolved_from_var: false,
                                prevent_generalization: false,
                                destructure_key: DestructureId(
                                    0,
                                ),
                            },
                        },
                        tracker: Tracker {
                            _priv: (),
                        },
                    },
                ),
                metadata: FunctionMetadata {
                    common: CommonTypeMetadata {
                        implicit: false,
                        infected_by_this_in_object_literal: false,
                        prevent_converting_to_children: false,
                        contains_infer_type: false,
                        prevent_complex_simplification: false,
                        resolved_from_var: false,
                        prevent_generalization: false,
                        destructure_key: DestructureId(
                            0,
                        ),
                    },
                },
                tracker: Tracker {
                    _priv: (),
                },
            },
        ),
    },
)

which to me it seems weird that pat is an Array but ty is a Tuple but again I dont know if this is useful.
I hope this might be a bit helpful for anyone looking to tackle the issue.

I think it being Tuple is the correct behavior, but not sure. Maybe we should use Widen on the type.
Widen will convert a Tuple to an Array if it's allowed. (i.e. no as const)

I think it being Tuple is the correct behavior, but not sure. Maybe we should use Widen on the type. Widen will convert a Tuple to an Array if it's allowed. (i.e. no as const)

Excuse my ignorance, but if you mean [] should be a tuple I think that's not correct..? At least based on https://ts-ast-viewer.com/#code/BTDaF0EoAIF4D5oAZLAN4F9IG4g

Oh.. Seems like tuples should be widened on IIFE?

I think you're right that they should be widened, at least thats what I understood from stepping through the ts compiler, but I couldn't tell if it's because there is an IIFE. I was suspecting it might be because there's no type param, but I couldn't find when/why TS decides to widen a type.

https://github.com/dudykr/stc/pull/661#issuecomment-1426180321
awareness481 : Edit: I'm not sure if it's problematic that this error does not come from get_iterator_inner like in tsc but I couldn't figure out a way to do it from there
kdy1 : I'm not sure at the moment, too. It should be investigated
This is an issue that is far from over.
And I don't think it's GFI to investigate what happens afterward.
I'd like to ask you for your thoughts.
@kdy1


[T1A5][T16-A1]Lai Zhiyuan

Use Java Collections, Enums and Varags

reviewed in a more recent PR. closing this one.


De-emphasize Nuspec authors references to nuget.org

The documentation for .nuspec authors indicates that cross-referencing is done between authors and NuGet Gallery. See https://learn.microsoft.com/en-us/nuget/reference/nuspec#authors

A comma-separated list of packages authors, matching the profile names on nuget.org. These are displayed in the NuGet Gallery on nuget.org and are used to cross-reference packages by the same authors.

My observation is that author is displayed in the Copyright in the footer of the package details page.
I'd like to remove this verbiage entirely from the document, and focus instead on authors being a freeform metadata. Wanted to verify first whether any cross-referencing is done for other reasons I'm not aware of currently.

Could you please add screenshot? Not sure exactly which part you're referring.

@donnie-msft the document change is a good one, but I want to clarify that the message on the Package Details page is not from the authors entry in the nupec, but the copyright entry.
For example, https://www.nuget.org/packages/Serilog/4.0.1-dev-02205 - this message is not from:
<authors>Serilog Contributors</authors>
but from
<copyright>Copyright © 2013-24 Serilog Contributors</copyright>
https://github.com/NuGet/NuGetGallery/blob/2341258cbd5dfd50cf40e48c116158b0e221bb40/src/NuGetGallery/Views/Packages/DisplayPackage.cshtml#L1344

Makes sense, thanks! So, is author not shown anywhere at all on nuget.org? Just to be clear, this has no impact on the docs change.

Could you please add screenshot? Not sure exactly which part you're referring.

@erdembayar the quote and the link with an anchor are provided. What specifically would you like to see?

Could you please add screenshot? Not sure exactly which part you're referring.

@erdembayar the quote and the link with an anchor are provided. What specifically would you like to see?

I wanted to see actual example and Drew already provided one.

@donnie-msft
Should this issue be in the document repository?

@erdembayar the docs issues were decommissioned in June. Where do you store them now? https://github.com/NuGet/docs.microsoft.com-nuget/ no longer supports issues.

@erdembayar the docs issues were decommissioned in June. Where do you store them now? I assumed here since there is a Label "Area: Documentation". https://github.com/NuGet/docs.microsoft.com-nuget/ no longer supports issues.

I checked with team and I was told recommended new approach is Encourage users to contribute the changes themselves instead of creating just issue. Could be you able to create doc PR?
Alternative would be "Users should use the Feedback link at the top and bottom of each article."

So, we prefer not to track doc issue here.


dot event remove after swiping the calendar

hi , when i swipe the calendar  or select the date the event mark will remove it self, is there any for this ?

Hi, just remove the event from your data source array, and call [calendar reloadData]


📱🔧 Swift

Current Status

Codebase in progress: littleStudent/swift-realworld-example

Interested in helping out? Say hello! 🎉

Todo:

[x] 🏁 Fork the starter repo & post the link in this issue
[ ] 🎨 Create logo for repo & update issue status (@ericsimons)
[ ] 🔨 Implement all of Conduit's functionality per the spec & API
[ ] 👀 Move repo to main org & Peer review final codebase by admins/community (RFC)
[ ] 🎉 Tag v1 release and officially list it on the README!

Would be really cool to see a native iOS Conduit app
Any Swifters out there that wanna take this one?

hey @EricSimons. Here is the fork for the swift example https://github.com/littleStudent/swift-realworld-example
I will try to get a version with the global feed out in the next few days, so I can gather some feedback on the codebase.

I've updated the status and added your repo :+1:

Hi, I noticed that the repository of littleStudent/swift-realworld-example have not moved. So, I create a repository to implement the codebase for iOS in Swift  😄
here is the link amadeu01/swift-realworld-conduit

hello!

Any intention of using swiftui??

Hello we are currently moving all work in progress to Github Discussions.
I'll close this issue by now, you can find instruction to open a discussion there : https://github.com/gothinkster/realworld/discussions/633
Thanks for your contribution !


Disabled Drag and Drop

Due to using Chromium, the client could drag and drop an image, video or audio and IGDM would exit the window and starting play it, with no way of getting back to main screen.
Thus, I disabled the option to drag and drop.
However, I think a nicer implementation would be using drag and drop to send images or videos, but I don't have enough programming skills to code that.

thank you for this!


Fix storage test issues on Windows

Quote the file paths to escape backslash
Fix #4354

This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

Command Guidelines

[ ] Each command and parameter has a meaningful description.
[ ] Each new command has a test.

(see Authoring Command Modules)

Ping @tjprescott


IOexception?

I was able to use the file 10 times but then it kept on coming up with these words: IOException has occured while opening .data.win with a FileStream. Please ensure that the path is correct and try again.
Plz help

Post HATE_Log.txt. Should be in the same folder as HATE.

Time seed -<PHONE_NUMBER>
Power - 150
TruePower - 0.5882353
Deleted data.win.
Copied data.win.
This?

Sorry for not responding earlier, didn't notice your response.
Yes, this exactly.

That's okay. Sorry for not seeing what you said early. So is there anything I can do?

Copy the whole thing here.


[suggestion] some stuff that would be nice

#431

The ability to see our antiaim (fake) angle and our real angle in third person would be nice. If added, the ability to chams each one individually would be a must.

Chams changing color for when the enemy is occluded or not (Like the ESP does)

Disabling the "blur" when moving while scoped in with a sniper rifle.

Setting aimbot to prioritize a certain player / target over another if visible.

Ability to unbind key presses (Like the choked packet key to keep it always active.


Working with the fetchers from both Toolforge and local pc

Hi, @tanny411 please look at the modifications to the code I made. All the necessary ports and user-password pair now can be given to the scripts to work with databases through ssh. Everything is documented with argparse and python3 <script_name> -h will return help info to understand it's usage better.

You can merge if done.

@tanny411 I've changed exception handling to more broad case in main code. Please look at
0bbc6d5 and merge, if it's ok

Looks great!


[Migrated] Zappa appears to fail silently when it can't create a bucket

Originally from: https://github.com/Miserlou/Zappa/issues/1860 by fbidu

Context
I'm using Python 3.7 but that doesn't seem to affect the issue itself. In my initial config, I put a "bucket_name" that, by accident, already existed but wasn't mine. When I tried to deploy, I got this somewhat cryptic error message
Traceback (most recent call last):
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/core.py", line 924, in upload_to_s3
    self.s3_client.head_bucket(Bucket=bucket_name)
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/cli.py", line 2779, in handle
    sys.exit(cli.handle())
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/cli.py", line 509, in handle
    self.dispatch_command(self.command, stage)
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/cli.py", line 546, in dispatch_command
    self.deploy(self.vargs['zip'])
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/cli.py", line 723, in deploy
    self.zip_path, self.s3_bucket_name, disable_progress=self.disable_progress)
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/zappa/core.py", line 931, in upload_to_s3
    Bucket=bucket_name,
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/botocore/client.py", line 357, in _api_call
    return self._make_api_call(operation_name, kwargs)
  File "/home/fbidu/.local/share/virtualenvs/predict-Rd_jSeMc/lib/python3.7/site-packages/botocore/client.py", line 661, in _make_api_call
    raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (IllegalLocationConstraintException) when calling the CreateBucket operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

After changing the bucket name to a new, unique one, the deployment immediately worked.
Expected Behavior

I think Zappa should check about this error and give a more clear warning
Actual Behavior

I got an weird error
Possible Fix

I think that zappa can make some assertion before trying to do the deploy
Steps to Reproduce

Set bucket_name to any name that already exists and does not belong to your user. In my case it was "zappa-predict" at us-east-1
Try to run zappa deploy

consider the current traceback clear enough.

botocore.exceptions.ClientError: An error occurred (IllegalLocationConstraintException) when calling the CreateBucket

closing.


Having Validations tab as a regular pane - not a floating slider one

As a user I would like to have Validations tab integrated as a regular left pane (just as the files one, for example) that I can leave opened and play with my OPA selection and see changes live. So the workspace distribution would be validations / resources / editor.

Duplicate #1738


Allow editing of interface language strings in individual projects

Requested on forum:
http://www.xerte.org.uk/index.php?option=com_kunena&view=topic&catid=10&id=1142&Itemid=759&lang=en#4562
Make the LO language properties (currently only editable on an install wide level) editable for individual properties.
These are things like 'Glossary', 'Table of Contents' etc.

Interface button labels are now editable via optional properties (e.g. navigation buttons) https://github.com/thexerteproject/xerteonlinetoolkits/commit/df1d141069aae1f82262f3b359019d8a5889ffc8
Other strings that it would be useful to allow editing in language options of editor include:

[ ] Bootstrap - full screen header scroll instructions (Scroll down for more information...)
[ ] XOT - timer text (time remaining)
[ ] XOT - progress bar text

Most of the other strings in the engine language files are things like error messages (e.g. This project does not contain any pages) which wouldn't be useful to surface in the editor


[react-tap-event-plugin] Removed module's reliance on react-tap-event-plugin

First step towards making pre-v1 builds compatible with React Fiber, as investigated in #7605
Changed all onTouchTap props and validations to onClick and fixed all the tests to simulate click events instead of touchTap ones.

[x] PR has tests / docs demo, and is linted.
[x] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".
[x] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

I'll get on to fixing that build fail tomorrow. (it's just the props in the wrong alphabetical order now because onClick should slot in earlier)
I'll also fix my commit messages if I can, to match the contribution guide.

Great! Then I just have one last pull request after this one is merged, and material-ui pre-v1 should be compatible with React Fiber. At least from messing around in my project, all looks good.

@lostpebble Thanks a lot

@oliviertassinari no worries :)
Though it appears there are conflicts because someone worked on the [Menu] component with the old onTouchTap prop... Not sure how to deal with that. Git merging and conflict resolution is not my strong point.

Actually I think its fine, I'm just changing it back over again in the next pull request.


fix: open external tabs in new tabs

Type:
Fix
The following has been addressed in the PR:
Description:
If this change is applied external links open in new tabs and the opener is protected against tabnapping.

Thanks @DanielRuf :)


add Person, Student and Teacher classes

Create the following classes in separate files

Person
Student inherits Person
Teacher inherits Person

Hi @gandradep, kindly add the  key features  of your app to your readme

@prolajumokeoni thanks for the review, I'll do that right now.


Getting 404 response in console on first attempt trying to download app

When using PG Dev App, getting a 404 response in the console on the first attempt to download the app, but on the second attempt app is successfully found.
phonegap: 5.3.8
node: 5.0.0
npm: 3.3.6

@surajpindoria does this happen with the production PG Dev App as well?

@mwbrooks No, I am only seeing this with the updated content-sync plugin

Ok, I know there are some issues with the latest content-sync plugin. I'd lean on it being the source of the problem and not connect-phonegap, which hasn't changed for a number of releases.

Yeah maybe, Tim told me to file it here just so we can track it

Cool!

Ok, I figured out the cause of this error. The ios content sync plugin has a check to see if the url is actually reachable so it pings the server here:
https://github.com/phonegap/phonegap-plugin-contentsync/blob/master/src/ios/ContentSync.m#L142
Note the method request is HEAD.
In our zip middleware, we have a check to see if the url end point matches appzip AND a GET http request:
https://github.com/phonegap/connect-phonegap/blob/master/lib/middleware/zip.js#L27
So really we need to just add a check for a HEAD request and 200 it.
Interestingly, even though we've 404ing - the ios content sync plugin thinks everything is ok because it see the server responds but not actually trigger an error callback. What the ios content sync plugin needs to do is also check the response text is 200.


MP microtubule severing/ parentage, F-P link

GO:0051013  microtubule severing
The process in which a microtubule is broken down into smaller segments.
I'm not sure if this should be in the process ontology, but since it is can we:

[ ]  Make "microtubule cytoskeleton organization a parent"
(at present it has only "microtubule-based process, a less specific term which includes transport along microtubules.
[ ]  Make a  F-P link between
GO:0008568 | microtubule-severing ATPase activity
[ ] The ref for GO:0051013  is about actin severing....

A review https://www.ncbi.nlm.nih.gov/pubmed/27037673 to replace existing ref

Hello,
I changed the parent of GO:0051013 microtubule severing
OLD: is_a: GO:0007017 ! microtubule-based process
NEW: GO:0000226 ! microtubule cytoskeleton organization
And updated the definition and reference:
OLD: def: "The process in which a microtubule is broken down into smaller segments." [GOC:ai, PMID:14657234]
NEW: "The process in which a microtubule is broken down into smaller segments. Severing enzymes remove dimers from the middle of the filament to create new ends, unlike depolymerizing kinesins that use ATP to uncap microtubules at their ends" [GOC:ai, PMID:27037673]
Pascale


[Bug]: APIError.code() throws TypeError

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
I produce an APIError e from alpaca.trading.client.TradingClient.submit_order(request).
I ask e.code() but it throws a TypeError:
This is probably a bug in alpaca-py, latest version.
from alpaca.common.exceptions import APIError
If e is an APIError, try asking for e.code. You get the following TypeError.
TypeError                                 Traceback (most recent call last)
/usr/local/lib/python3.7/dist-packages/alpaca/common/exceptions.py in code(self)
12     @property
13     def code(self):
---> 14         return self._error["code"]
15
16     @property
TypeError: string indices must be integers
The reason is that the error code is a string of json, and it hasn’t been parsed. Adding error = json.loads(e), you can then query error[‘code’].
Separately, it would be nice to have a ‘safe’ way to return e._error (which should be a dictionary but at least in my case is an unparsed string of JSON).
Expected Behavior
Return an integer equal to the error code.
SDK Version I encountered this issue in
0.6.0
Steps To Reproduce
See current behavior

Filled out the Steps to Reproduce section?

[X] I have entered valid steps to reproduce my issue or have attached a minimally reproducible case in code that shows my issue happening; and understand that without this my issue will be flagged as invalid and closed after 30 days.

Anything else?
No response

I have the same issue, although i'm using e.code since code is a property. Here's a code snippet:
from alpaca.trading.client import TradingClient
from alpaca.trading.requests import LimitOrderRequest

trading_client = TradingClient(
    "API-KEY", "API-SECRET", paper=True
)
limit_order_request = LimitOrderRequest(
        symbol="GDL.PRC",
        limit_price=48.64,
        qty=1,
        side=OrderSide.BUY,
        time_in_force=TimeInForce.DAY,
    )

limit_order = trading_client.submit_order(order_data=limit_order_request)

submit_order gets an alpaca.common.exceptions.APIError: {"code":40010001,"message":"could not find asset \"GDL.PRC\""}
When trying to handle the error in my code with:
try:
    limit_order = trading_client.submit_order(order_data=limit_order_request)
        return limit_order
    except AlpacaAPIError as e:
        if e.status_code == 422:
            # unimportant

            if e.code == 40010001:
                # unimportant

e.code populates theTypeError @ofb mentioned. I tried the same solution in the APIError class and it worked

import json

class APIError(Exception):
    # ...

    @property
    def code(self):
        print("\n---->>>self._error", self._error)
        error = json.loads(self._error)
        return error["code"]


[Icon] Adjust Icons in Brand Hub

All icons from stadtluft where delivered in 40×40 on a slightly smaller canvas grid.
My suggestion is to create the ones from meta which wehre designed on 80×80 and with much less padding in 40×40 with a rough adjustment.

Icons are replaced in brand hub – names have to be adjusted from the content team. List is on the way


Refactor frontend part 6

Description

Focuses on fixing bugs (regressions), improving type safety, and removing dead code.
Please refer to commit history for list of changes.
Type of change

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

How to test

Checklist

[x] I have tested this code
[ ] I have updated the documentation

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

-5 of 5 (0.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 36.967%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/pages/academy/adminPanel/subcomponents/NotificationConfigPanel.tsx
0
1
0.0%

src/pages/academy/adminPanel/subcomponents/assessmentConfigPanel/AssessmentConfigPanel.tsx
0
1
0.0%

src/pages/academy/adminPanel/subcomponents/userConfigPanel/UserConfigPanel.tsx
0
1
0.0%

src/pages/academy/notiPreference/NotiPreference.tsx
0
1
0.0%

src/pages/academy/storySimulator/subcomponents/StorySimulatorChapterSim.tsx
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
5725

Relevant Lines:
14572

💛  - Coveralls


How to use templates/slots in component used

How to use component slots when use createConfirmDialog(ModalDialog)?
Ex:
// ModalDialog.vue <template> <slot name="slot1"></slot> </template>
// component where use createConfirmDialog ... const {reveal...} =createConfirmDialog(ModalDialog, props) // how to inject <template #slot1>Potato chips</template>

There is no way for this now.  Maybe it will be implemented in the future.

ok, but it looks like a good update. Thanks for de code!

Let's leave this issue open; maybe someone wants to implement this.


Crash when adding datachannels

Hi,
Occasionally the Unity editor crashed while initializing the PeerConnection without any error/warning.
While debugging with Visual Studio I get the following message instead of the crash:
Unhandled exception at 0x00007FF9765F8135 (Microsoft.MixedReality.WebRTC.Native.dll) in RemoteSupportHololens.exe: Fatal program exit requested.
This happened in "peer_connection.cpp" (Line number 324) in
void PeerConnection::OnDataChannelAdded(
    const DataChannel& data_channel) noexcept {
  // The channel must be owned by this PeerConnection, so must be known already.
  // It was added in AddDataChannel() when the DataChannel object was created.
  RTC_CHECK(  //<- EXCEPTION HERE
      std::find_if(data_channels_.begin(), data_channels_.end(),
                   [&data_channel](const std::shared_ptr<DataChannel>& other) {
                     return other.get() == &data_channel;
                   }) != data_channels_.end());

Call Stack:
Microsoft.MixedReality.WebRTC.Native.dll!abort() Line 77
[External Code]
[Inline Frame] Microsoft.MixedReality.WebRTC.Native.dll!rtc::webrtc_checks_impl::LogStreamer<>::Call(const char *) Line 197
[Inline Frame] Microsoft.MixedReality.WebRTC.Native.dll!rtc::webrtc_checks_impl::FatalLogCall<0>::operator&(const rtc::webrtc_checks_impl::LogStreamer<> &) Line 271
Microsoft.MixedReality.WebRTC.Native.dll!Microsoft::MixedReality::WebRTC::PeerConnection::OnDataChannelAdded(const Microsoft::MixedReality::WebRTC::DataChannel & data_channel) Line 324
Microsoft.MixedReality.WebRTC.Native.dll!Microsoft::MixedReality::WebRTC::PeerConnection::AddDataChannel(int id, std::basic_string_view<char,std::char_traits<char> > label, bool ordered, bool reliable, void * dataChannelInteropHandle) Line 265
Microsoft.MixedReality.WebRTC.Native.dll!mrsPeerConnectionAddDataChannel(void * peerHandle, void * dataChannelInteropHandle, mrsDataChannelConfig config, mrsDataChannelCallbacks callbacks, void * * dataChannelHandleOut) Line 1048
[External Code]

It looks like the crash only happens when adding several datachannels at once.
I tried adding only one channel  and also adding several channels with a delay in between which both worked repeatedly.
As a workaround I add the channels delayed using coroutines, but I think this could be a bug.
Maybe someone else had the same issue?

The crash occurs if the newly created data channel is not in data_channels_ when calling OnDataChannelAdded(). But under normal operation it is added in AddDataChannel() right before it calls OnDataChannelAdded(), as shown in your callstack. So the only possibility I see to hit that assert is to call AddDataChannel() from multiple threads in parallel and get a race condition on the access to data_channels_.  This is consistent with the fact that the native C++ call is made in a .NET task allocated by the C# call to PeerConnection.AddDataChannelAsync(), so if you call this multiple times in a row without waiting you get multiple tasks running in parallel trying to add data channels, which I imagine is what happens in your case. Admittedly this is not great, and the C# API could use a bit of smartness to avoid multiple parallel calls. In the meantime, I'd suggest changing your code to use some await on PeerConnection.AddDataChannelAsync() or use some continuation task to make sure only one such call runs at any given time.

Thanks @djee-ms, using await works perfectly, but I also think this should be handled in the API.


Allow autocompleting aircraft selection by callsign NUMBERS only

Currently, you can type out any callsign and select the aircraft that way instead of shuffling back and forth from keyboard to type and mouse to click on the aircraft to select it.
A more useful implementation of callsign matching would be to allow matching via flight numbers only. Conveniently, the game is already set up to ensure every flight number is unique (eg there will never be a AAL525 and UAL525 in the same game). Therefore, if I want to select VRD858, I should be able to, with nothing selected and without clicking, type 858 c 50 to climb the guy to 5000.

Note: this is ESPECIALLY important when it comes to adding pseudopilots (people who can enter the commands you say to them), as there may be many many airplanes on the screen and if they can hear and type the numbers and enter the command instead of searching for the airplane first, much time and effort can be spared. (Trust me, this plagued us with some of the students pseudopiloting in our simulators at Kent State).

The ATC repository is being migrated to it's new home at https://github.com/openscope/openscope,
and thus, all issues are being closed. If this is still an issue with the latest version of the sim
(accessible at http://www.openscope.co), or is a feature you still think we are lacking,
please reopen the issue at the new repo.
Please note that the vast majority of these issues have been copied to the new repository, or else are covered by other issues created there. See the below screenshot for what it looks like when your issue is known in the new repo:

Thank you!
Closing this issue.


CMake Error

Hi, I am trying to use MuJoCo on Windows, and I followed the instruction to download a vs code, with two extensions. But this is an error that I get, is there any suggestion on how to deal with it?

This is a known issue we're hoping to fix in a few days.  Meanwhile, take a look at #212 , #215 , and/or #214 .  If you come up with the perfect solution, please send a PR!


GUI Click Commands

Closes #427

Allows commands to be executed when a GUI button is clicked.
Adds an example button to the guis.yml config file, also containing an example of this change:

button-example:
  item:
    material: diamond
    displayname: "&6Example Button"
  lore:
    - "This is customizable lore."
    - "Add whatever you want in here."
  character: "c" # The character to use inside the GUI layout configs.
  click-action: "fish-toggle" # The click action to execute.
  click-commands: # Optional commands for the player to execute on click.
    - "emf help"

I also added placeholders to the main menu for the competition and journal menus, they were empty spaces and it looked off: