Use configured downloadsFolder for Cypress

Issue: #
What Changed
The Cypress integration was hardcoded to use Cypress's default value for downloadsFolder, cypress/downloads. Changes to that in the Cypress config would not be respected, and archive files would always be written to the default.
This fixes that by reading the correct value from the Cypress config object.

How to test

Set downloadsFolder to a non-default value in cypress.config.ts
Run Cypress tests, ensure Chromatic archives ouput in the directory set above, not in cypress/downloads
Run a Chromatic build, ensure all is 💯

@skitterm, Todd brought up that we don't currently have any unit tests that verify things are written to a configured outputDir. But we also don't have any tests covering the default case, so this could be a bit of a rabbit hole. Do you have any opinion on whether it's worth prolonging this fix to implement tests in this area?

Do you have any opinion on whether it's worth prolonging this fix to implement tests in this area?

@andrewortwein @tevanoff my gut says that it's not worth the time to add the tests, where we didn't see an easy way of putting them in.


Add support for removal of "mig" components after deploy

I haven't been able to successfully build the operator so haven't tested, but the goal of this PR is to allow for removal of deployed components in response to modification of MigrationController CRs.

There is a docker file in build directory. Should be able to docker build -f build/Dockerfile . -t .... It is a multi-stage build so you'll want to use a new enough version of docker or moby-engine.

@jmontleon there were a bunch of problems with my original commit. I got this working, but it cluttered up main.yml quite a bit. In my testing, playbook can successfully run and add/delete different combinations of controller, ui, velero.
If you have any thoughts on improvements I'd love to hear them.
For some reason the Velero pod hangs around for me even after playbook removes it, I can see that the 'deploy' is gone, and I can verify that the owner refs are set correctly and performing the same deletion of the deployment manually from CLI works fine and cleans everything up.

Cleaned up the var setting in main.yml


The idempotent producer doesn't work properly when sending R request, R > # of partitions

Describe the bug
Said the # of the partitions = N.
R > N
Produce R requests, but only the first N requests are caught by consumer , and the left R - N requests are gone.
And I don't get any rejections. (the await Promise.all(promises) in producer doesn't throw any errors)
If I set idempotent to false then I can catch exactly R requests with consumer.
To Reproduce
https://github.com/hiroya8649/kafka-report
node consumer.js
node producer.js

Expected behavior
If set idempotent to true, the consumer should catch the same amount of requests send by the producer.
Observed behavior
Produce 5 requests (R = 5, N = 3), here is the result of producer and consumer:
producer
InstrumentationEvent {
  id: 0,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>507,
  payload: {
    broker: 'localhost:9092',
    clientId: 'my-app',
    correlationId: 0,
    size: 338,
    createdAt:<PHONE_NUMBER>506,
    sentAt:<PHONE_NUMBER>507,
    pendingDuration: 1,
    duration: 0,
    apiName: 'ApiVersions',
    apiKey: 18,
    apiVersion: 2
  }
}
InstrumentationEvent {
  id: 1,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>513,
  payload: {
    broker: 'localhost:9092',
    clientId: 'my-app',
    correlationId: 1,
    size: 1813,
    createdAt:<PHONE_NUMBER>512,
    sentAt:<PHONE_NUMBER>513,
    pendingDuration: 1,
    duration: 0,
    apiName: 'Metadata',
    apiKey: 3,
    apiVersion: 6
  }
}
InstrumentationEvent {
  id: 2,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>515,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 0,
    size: 20,
    createdAt:<PHONE_NUMBER>515,
    sentAt:<PHONE_NUMBER>515,
    pendingDuration: 0,
    duration: 0,
    apiName: 'InitProducerId',
    apiKey: 22,
    apiVersion: 1
  }
}
InstrumentationEvent {
  id: 3,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>516,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 1,
    size: 177,
    createdAt:<PHONE_NUMBER>516,
    sentAt:<PHONE_NUMBER>516,
    pendingDuration: 0,
    duration: 0,
    apiName: 'Metadata',
    apiKey: 3,
    apiVersion: 6
  }
}
InstrumentationEvent {
  id: 4,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>523,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 2,
    size: 59,
    createdAt:<PHONE_NUMBER>522,
    sentAt:<PHONE_NUMBER>522,
    pendingDuration: 0,
    duration: 1,
    apiName: 'Produce',
    apiKey: 0,
    apiVersion: 7
  }
}
InstrumentationEvent {
  id: 5,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>523,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 3,
    size: 59,
    createdAt:<PHONE_NUMBER>522,
    sentAt:<PHONE_NUMBER>523,
    pendingDuration: 1,
    duration: 0,
    apiName: 'Produce',
    apiKey: 0,
    apiVersion: 7
  }
}
InstrumentationEvent {
  id: 6,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>524,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 4,
    size: 59,
    createdAt:<PHONE_NUMBER>523,
    sentAt:<PHONE_NUMBER>523,
    pendingDuration: 0,
    duration: 1,
    apiName: 'Produce',
    apiKey: 0,
    apiVersion: 7
  }
}
InstrumentationEvent {
  id: 7,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>524,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 5,
    size: 59,
    createdAt:<PHONE_NUMBER>523,
    sentAt:<PHONE_NUMBER>523,
    pendingDuration: 0,
    duration: 1,
    apiName: 'Produce',
    apiKey: 0,
    apiVersion: 7
  }
}
InstrumentationEvent {
  id: 8,
  type: 'producer.network.request',
  timestamp:<PHONE_NUMBER>524,
  payload: {
    broker: 'hao-MS-7B85:9092',
    clientId: 'my-app',
    correlationId: 6,
    size: 59,
    createdAt:<PHONE_NUMBER>523,
    sentAt:<PHONE_NUMBER>523,
    pendingDuration: 0,
    duration: 1,
    apiName: 'Produce',
    apiKey: 0,
    apiVersion: 7
  }
}
[
  [
    {
      topicName: 'first_topic',
      partition: 2,
      errorCode: 0,
      baseOffset: '14',
      logAppendTime: '-1',
      logStartOffset: '0'
    }
  ],
  [
    {
      topicName: 'first_topic',
      partition: 0,
      errorCode: 0,
      baseOffset: '14',
      logAppendTime: '-1',
      logStartOffset: '0'
    }
  ],
  [
    {
      topicName: 'first_topic',
      partition: 1,
      errorCode: 0,
      baseOffset: '16',
      logAppendTime: '-1',
      logStartOffset: '0'
    }
  ],
  [
    {
      topicName: 'first_topic',
      partition: 0,
      errorCode: 0,
      baseOffset: '14',
      logAppendTime: '1611581796522',
      logStartOffset: '0'
    }
  ],
  [
    {
      topicName: 'first_topic',
      partition: 2,
      errorCode: 0,
      baseOffset: '14',
      logAppendTime: '1611581796521',
      logStartOffset: '0'
    }
  ]
]
Cost: 8ms

consumer
{ partition: 2, offset: '14', value: 'Hello!<PHONE_NUMBER>516-0' }
{ partition: 0, offset: '14', value: 'Hello!<PHONE_NUMBER>516-1' }
{ partition: 1, offset: '16', value: 'Hello!<PHONE_NUMBER>516-2' }

Environment:

OS: Ubuntu 18.04
KafkaJS version 1.15.0
Kafka version kafka_2.13-2.7.0
NodeJS version v12.14.1

Looking at the code, it seems that concurrent calls to produce() are not handled correctly.  The sequence number for the partition is not being read or updated at the right time, which means subsequent (concurrent) messages to the same partition are sent with the same sequence number.  These will get ignored by the broker as it will interpret them as repeats.


Bunkr.is

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.07.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and am willing to share it if required

Region
India
Example URLs

Single Video https://cdn4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4

Provide a description that is worded well enough to be understood
Please add support for single videos and playlists hosted on bunkr.is.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', 'https://cdn4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.07.18 [135f05e]
[debug] Python 3.10.4 (CPython 64bit) - Linux-5.15.0-43-generic-x86_64-with-glibc2.35 (glibc 2.35)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2021.10.08, mutagen-1.45.1, pyxattr-0.7.2, secretstorage-3.3.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.07.18, Current version: 2022.07.18
yt-dlp is up to date (2022.07.18)
[debug] [generic] Extracting URL: https://cdn4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4
[generic] bigbuckbunny-b4VHMTTI: Downloading webpage
[redirect] Following redirect to https://stream.bunkr.is/v/bigbuckbunny-b4VHMTTI.mp4
[debug] [generic] Extracting URL: https://stream.bunkr.is/v/bigbuckbunny-b4VHMTTI.mp4
[generic] bigbuckbunny-b4VHMTTI: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] bigbuckbunny-b4VHMTTI: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://stream.bunkr.is/v/bigbuckbunny-b4VHMTTI.mp4
Traceback (most recent call last):
  File "/home/$USER/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1431, in wrapper
    return func(self, *args, **kwargs)
  File "/home/$USER/.local/lib/python3.10/site-packages/yt_dlp/YoutubeDL.py", line 1506, in __extract_info
    ie_result = ie.extract(url)
  File "/home/$USER/.local/lib/python3.10/site-packages/yt_dlp/extractor/common.py", line 644, in extract
    ie_result = self._real_extract(url)
  File "/home/$USER/.local/lib/python3.10/site-packages/yt_dlp/extractor/generic.py", line 4108, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://stream.bunkr.is/v/bigbuckbunny-b4VHMTTI.mp4

did you try the download button in the upper right corner of the video ??

Yes, of course. The url is an example video. The request is for yt-dlp to support the site, not a question about how to download the video

Your url redirect to https://stream.bunkr.is/v/bigbuckbunny-b4VHMTTI.mp4 and we can extract the video from the webpage, escpecially from this part:
<script id="__NEXT_DATA__" type="application/json">
      {
        "props": {
          "pageProps": {
            "file": {
              "name": "bigbuckbunny-b4VHMTTI.mp4",
              "size": "4233370",
              "mediafiles": "https://media-files4.bunkr.is"
            }
          },
          "__N_SSG": true
        },
        "page": "/v/[videoId]",
        "query": {
          "videoId": "bigbuckbunny-b4VHMTTI.mp4"
        },
        "buildId": "LakDNa2po0X6HoGr8Tfkc",
        "isFallback": false,
        "gsp": true,
        "scriptLoader": []
      }
    </script>

To get the video, we can just request to <mediafiles>/<name>
Here's the log:
(python_proj2) ~\yt-dlp>python -m yt_dlp -v "https://media-files4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4" --ignore-config
[debug] Command-line config: ['-v', 'https://media-files4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4', '--ignore-config']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.08.08 [3157158f7] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: cd4df5ffa
[debug] Python 3.10.4 (CPython 64bit) - Windows-10-10.0.22000-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1-full_build-www.gyan.dev (setts), ffprobe 5.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2<IP_ADDRESS>, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://media-files4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4
[generic] bigbuckbunny-b4VHMTTI: Downloading webpage
[debug] Identified a direct video link
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), channels, vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] bigbuckbunny-b4VHMTTI: Downloading 1 format(s): mp4
[debug] Invoking http downloader on "https://media-files4.bunkr.is/bigbuckbunny-b4VHMTTI.mp4"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: bigbuckbunny-b4VHMTTI [bigbuckbunny-b4VHMTTI].mp4
[download]  24.7% of 4.04MiB at  599.56KiB/s ETA 00:05
ERROR: Interrupted by user

I've updated the original issue to add in a link to an album featuring multiple videos https://bunkr.is/a/hNJhvMle

[x] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge

Looks like a piracy site. Explain your reason to believe otherwise


JSON to Immutable prop types

Should we do JSON to Immutable prop types ?
If yes, I would be happy to implement it!

I think if @ritz078 would like to implement it, it is better for it to be a checkbox in JSON to PropTypes section.

That would make more sense.

Thanks! I'll give it a shot!

@Raathigesh are you working on this ? Let me know if you are stuck somewhere.

I really did not look into it yet. Planning to work on it during the
weekend.
On Thu., 31 Aug. 2017, 6:05 pm Ritesh Kumar<EMAIL_ADDRESS>wrote:

@Raathigesh https://github.com/raathigesh are you working on this ? Let
me know if you are stuck somewhere.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ritz078/transform-www/issues/14#issuecomment-326221795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC9tQP9r7_nrnSadURCof9hAqDKQ7P_5ks5sdmk-gaJpZM4PDvg7
.

No problem.


control: set env with wasmer too

Signed-off-by: Tibor Vass<EMAIL_ADDRESS>

I would love to see this landing ❤


v1.0.6

Added "link" command and attempted to add command completion. Cleaned up README.

booksdl.org is replaced by <IP_ADDRESS> regarding download mirrors.


Support the valid return codes at googlechrome.vm

Closes #1138.

Is it possible to use the VM-Install-With-Installer helper? It would make the code simpler, consistent ans easier to maintain. 🤔

@Ana06
Using  VM-Install-With-Installer would require a SHA256 hash, therefore a versioned URL. The used MSI URL is not versioned.

@d35ha

Using VM-Install-With-Installer would require a SHA256 hash, therefore a versioned URL. The used MSI URL is not versioned.

You are right, how could I forgot this? :see_no_evil:


I think the preview/thumbnail link doesn't work

When I use this link:
https://whatanime.ga/thumbnail.php?anilist_id=${anilist_id}&file=${encodeURIComponent(filename)}&t=${at}&token=${tokenthumb}
or this one:
https://whatanime.ga/preview.php?anilist_id=${anilist_id}&file=${encodeURIComponent(filename)}&t=${at}&token=${tokenthumb}
I just keep getting 404 Not Found.
It also might be my fault since I am kinda new to this.

This is how my code looks like written in Python and I'm not sure where the problem is:
from urllib.parse import quote

        thumb = (
            "https://whatanime.ga/thumbnail.php?"
            "anilist_id=${}&"
            "file=${}&"
            "t=${}&"
            "token=${}"
        ).format(
            str(source_json["docs"][0]["anilist_id"]),
            quote(source_json["docs"][0]["filename"]),
            str(source_json["docs"][0]["at"]),
            source_json["docs"][0]["tokenthumb"]
        )

sorry, i dont really know python but what i can tell you is that this works.

Oh ok, could I get a example link on how it should look like after filling in the parameters?

ehh sure?
https://i.imgur.com/sTfvRee.png

Oh i see, I figured it out. My bad.
Forgot to remove the $ in front of the params.


Getting 500 on http://astute-curve-100822.appspot.com/

Fixed in production. I was referencing an image that wasn't in the project.

:+1: looks good, deploy


Update mergify

@Mergifyio update

@Mergifyio refresh

Codecov Report

Merging #382 (94464ce) into main (72bba3a) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 94464ce differs from pull request most recent head 4331905. Consider uploading reports for the commit 4331905 to get more accurate results

@@           Coverage Diff           @@
##             main     #382   +/-   ##
=======================================
  Coverage   25.97%   25.97%
=======================================
  Files          31       31
  Lines        2922     2922
=======================================
  Hits          759      759
  Misses       2069     2069
  Partials       94       94

Continue to review full report at Codecov.

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


feat: enable unsubscribing notifications

Closes https://github.com/manosim/gitify/issues/402.
When the new unsubscribe icon is clicked, all future notifications for a conversation are muted until one comments on the thread or gets an @mention.

cc @manosim

Can I suggest that we use the same icon as GitHub? 😉
https://primer.style/octicons/mute

I feel like it shouldn't be next to "✔" as it's not a primary action so what I did was to place it on the same line with the "reason" and "date" and it's visible only when you hover over a notification. This way we have more space more icons in the future (if needed). Thoughts on the gif? cc @codebytere @JakeSidSmith

I wouldn't have it hidden until hover, especially as it will also mark the notification as complete. I imagine people would be likely to couck it without meaning to and then struggle to find it again.

I'd agree with @JakeSidSmith - definitely better to make it a secondary action but perhaps keep it visible by default 🤔
would something like this be fine, or would you prefer it right-aligned?

Maybe right aligned and always visible would be perfect if you agree? I think we will have to remove it from the list as well - like we do when pressing on the "check"?

@manosim i believe this should be good to go now! Let me know if there are any other tests you'd like me to add, but i covered the basics based on what i saw was already there.

Amazing - thank you for sorting this out @codebytere ! 🎉
Will give it a couple of days and will cut a new release if nothing else comes up.

@codebytere Can you try pushing an empty commit? It looks like GitHub Actions didn't pick up this PR 😢


Page missing Azure PowerShell code

This page is only using azure cli and missing Azure PowerShell code.
'Import-AzContainerRegistryImage' cmdlet is doing the same: https://docs.microsoft.com/en-us/powershell/module/az.containerregistry/import-azcontainerregistryimage?view=azps-7.1.0

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 6e74e635-1d2b-7c92-557f-b56aa48bdbb6
Version Independent ID: 5cf9a7ca-cf30-bed0-a0a2-4e47e2634153
Content: Manage public content in private container registry - Azure Container Registry
Content Source: articles/container-registry/buffer-gate-public-content.md
Service: container-registry
GitHub Login: @dlepow
Microsoft Alias: danlep

@dcaro Thank you for your feedback!  We are assigning this to the document author for further review.
Current sample based off of az acr import:
https://docs.microsoft.com/en-us/cli/azure/acr?view=azure-cli-latest#az-acr-import
Proposed PowerShell cmdlet:
https://docs.microsoft.com/en-us/powershell/module/az.containerregistry/import-azcontainerregistryimage?view=azps-7.1.0

#reassign @tejaswikolli-web

#please-close


[BUG] Tizen Xamarin.Forms.Init error

System.TypeLoadException: Method 'LoadImageAsync' in type 'SkiaSharp.Views.Forms.SKImageSourceHandler' from assembly 'SkiaSharp.Views.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
   at Xamarin.Forms.Internals.ReflectionExtensions.GetCustomAttributesSafe(Assembly assembly, Type attrType)
   at Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes, InitializationFlags flags)
   at Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes)
   at Xamarin.Forms.Forms.SetupInit(CoreApplication application, InitializationOptions options)
   at Xamarin.Forms.Forms.Init(CoreApplication application, Boolean useDeviceIndependentPixel)

latest nightly build XF
latest preview SkiaSharp

Pity. I guess we are going to have to just use the latest forms. Not too bad I suppose.

I would appreciate if you publish a potential fix before merging to the master, so I could give a fast feedback

Oh, will do. It is building as we speak!

Still having a look at this. The fix is easy, but UWP and CI aren't happy. Seems to be some issue with PDB files or something....

with preview.39 I receive the same error, but on app.Run(args)
System.TypeLoadException: Method 'LoadImageAsync' in type 'SkiaSharp.Views.Forms.SKImageSourceHandler' from assembly 'SkiaSharp.Views.Forms, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' does not have an implementation.
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, RuntimeType type, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, RuntimeType type, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.AddCustomAttributes(ListBuilder1& attributes, RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, ListBuilder1 derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Reflection.RuntimeAssembly.GetCustomAttributes(Type attributeType, Boolean inherit)
   at Xamarin.Forms.Internals.ReflectionExtensions.GetCustomAttributesSafe(Assembly assembly, Type attrType)
   at Xamarin.Forms.Internals.Registrar.RegisterAll(Type[] attrTypes, InitializationFlags flags)
   at Xamarin.Forms.Forms.SetupInit(CoreApplication application, InitializationOptions options)
   at Xamarin.Forms.Forms.Init(CoreApplication application, Boolean useDeviceIndependentPixel)

Thank you for reporting the issue. As @mattleibow  mentioned above, there are small changes (#9025) on XF.Tizen backend. I think updating Xamarin.Forms version to 4.5.0 or higher will solve this. Sorry for inconvenience. 🙏


typings - global Bignumber

/**
 * Browsers.
 */
declare global {
  const BigNumber: BigNumberConstructor;
  type BigNumber = BigNumberInstance;

  namespace BigNumber {
    ...
  }
}

Why bignumber is this defined as global? I think this declaration should be removed cause its really error prone.

Please explain what you mean.
The code is necessary to use the typings outside a module loader environment, i.e. in a browser.

I do use bigNumber in the browser, but i import it using es6 named imports
import { BigNumber } from 'bignumber.js'

But now when i skip this import, typescipt does not report any issues and its failing during runtime, cause BigNumber is not found.

BigNumber would only be not found in a browser if the bignumber.js script isn't being loaded.
If you're not loading the script then why include the typings?

Ok, the thing is that for projects in node.js & projects using module loaders including bigNumber as global object in typings is highly error prone and harms developer experience - cause you cannot use auto import.

Please explain further.

Well its very simple, i create simple file on my project (using webpack andbignumber 6.0.0)

Its looks all good typescript is happy, then i run it and it fails.
Lets compare it to version 5.0.0 of bignumber without global export

So as you can see i lose safety, additionally i lose possibility to quickly fix that issue.

Yes, so it's a matter of being able to catch the missing import at compile time or with intellisense.
But if I remove the declare global section and create separation declaration files for module and global usage, then that opens a can of worms regarding how easy it is for users to configure the typescript compiler to find the particular declaration file they need.
I suppose I would have the types property of this library's package.json pointing to the declaration file for module usage, as that is probably wanted more often, but then that may make it difficult for users wanting the other declaration file for global usage...
Any thoughts?
#hit would mean that what would they be named and how would they then be discovered by the typescript compiler? What would I put in the types property of this library's package.json?

This definition creates another (major) issue:
The Scenario:

Project P depends on BigNumber6
Module M depends on BigNumber6, and exports typings that use BigNumber
Module M is npm link or yarn linkd into Project P

IN this case, there are two copies of bignumber.d.ts in the source tree, due to the symlink used by npm link.
P/node_modules/bignumber.js/bignumber.d.ts
P/node_modules/M/node_modules/bignumber.d.ts

tsc will then process this typings file as part of the typings for module M and again when project P imports BigNumber.js
In this case, we get an ERROR from tsc because of the global declarations because we've globally exported n object not a module:
node_modules/bignumber.js/bignumber.d.ts(1760,9): error TS2649: Cannot augment module 'BigNumber' with value exports because it resolves to a non-module entity.

@pgebheim
I can't make complete sense of your post, but, yes, I agree that it would be better to remove the global stuff from the definitions file, as I did recently with decimal.js.
I'll get on it presently.

+1, this is creating issues for me too

I get the same issue as @pgebheim

This doesn't make a lot of sense since if they're using Typescript to get the typings they are by definition in a module-supporting environment. And furthermore, if they're NOT then the typings are totally ignored in any case.

Total nonsense. But anyway, I'll release a new version without the global typings at the end of next week.

Removed global BigNumber from typings in v7.0.0.

Thanks for correcting this! I just hit the situation where TS compiled happily, but at runtime BigNumber was missing. The update to v7 did the trick.


[Feature] The ability to drag items from the player inventory to a menu and opposite

Simple little feature, being able to put items into a menu from the player inventory and the opposite.

I tried coding this myself, heres the result. I created a new annotation (Interactive) that once added to a Menu class, allows the ability to drag items from the player inventory to a menu and vice versa, this will be useful for something like player vaults, code below.
`import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Interactive {
}`
Class InventoryListener
`    @EventHandler
public void onClick(InventoryClickEvent event) {
if (!(event.getWhoClicked() instanceof Player)) return;
    for (Menu menu : handler.getOpenMenus().values()) {
        Interactive annotation = menu.getClass().getAnnotation(Interactive.class);
        if (annotation != null) return;
    }

    handler.ifOpen((Player) event.getWhoClicked(), (menu) -> {
        event.setCancelled(true);
        menu.click(event);
    });
}`

Decided to give a shot at attempting to add this myself to the menu api, heres the result. I added a new annotation named Interactive that when added to a class extending the Menu class allows for the feature mentioned above to be possible.
    @EventHandler
    public void onClick(InventoryClickEvent event) {
        if (!(event.getWhoClicked() instanceof Player)) return;

        for (Menu menu : handler.getOpenMenus().values()) {
            Interactive annotation = menu.getClass().getAnnotation(Interactive.class);
            if (annotation != null) return;
        }

        handler.ifOpen((Player) event.getWhoClicked(), (menu) -> {
            event.setCancelled(true);
            menu.click(event);
        });
    }

You would have to put the annotation check inside the ifOpen callable. Right now it just checks if any menu has the annotation not the one you clicked.

You would have to put the annotation check inside the ifOpen callable. Right now it just checks if any menu has the annotation not the one you clicked.

Ah okay, will fix right now. Thanks for the feedback.

You would have to put the annotation check inside the ifOpen callable. Right now it just checks if any menu has the annotation not the one you clicked.

Ah okay, will fix right now. Thanks for the feedback.

Updated to add feedback above.


Added instruction on how to use Github desktop

I have added instructions on how to use and contribute using github desktop which is a vital yet easy process to contribute and help many beginners in contributing. Resolved issue #95

@TAHIR0110 please look into the pr and the assigned issue

@Priyanshu2631 merged!


syntax allows to select range of lines

-l would be better.
teip -l 2- => select second and after lines.
This is useful to ignore the header of CSV file.

Released at v1.2.0


Enhancing Header and designing footer

Improve the navbar and add shortcuts to it with a Dark-Mode toggle.
Bring the footer to its original place.
Make the Header responsive with hamburger menu dropdown

@jailbreakerVC Can you /assign me. I want to work on this.

Go ahead @THE-AryanKumar!
You can also get the issue assigned to you by commenting \assign.
Don't forget to star the repository!

Will you be adding dark mode as well or just a toggle? @THE-AryanKumar

I'll add the working Dark-Mode

/assign

@lovishprabhakar please review the work. Thank You

I don't understand what is this. Also it is showing Not-accepted

@THE-AryanKumar don't worry about the failed check, it is a server issue. Where does it show not accepted?

Now that your PR is merged it won't be showing not-accepted on the website anymore :)


Changed Baseball Diamond to Baseball Field, left Diamond in the searc…

…h terms, added field to serch terms

closes #5345
closes #5346


Rename url to uri in Atom feeds for RFC 4287 compliance

According to RFC 4287, there is no atom:url element, only atom:uri, so replace occurrences of atom:url with atom:uri for compliance.
Also rename variables holding atom:uri from email to uri to better indicate what they actually are.

Previously, generated feeds would fail the W3 Feed Validation Service. A simple test script gen.py:
#!/usr/bin/env python3
from feedgen.feed import FeedGenerator

author = {'name': 'Zhiming Wang', 'email'<EMAIL_ADDRESS>'uri': 'https://zhimingwang.org'}

fg = FeedGenerator()
fg.id('https://zhimingwang.org/test.atom')
fg.title('Test feed')
fg.author(author)

fe = fg.add_entry()
fe.id('https://zhimingwang.org/1970/1/1/test.html')
fe.title('Test entry')
fe.author(author)
fe.content('Test piece.')

print(fg.atom_str().decode('utf-8'))

Pass it through the validator:
$ curl -sS -X POST --data-urlencode "rawdata=$(./gen.py)" --data-urlencode 'output=soap12' https://validator.w3.org/feed/check.cgi | xmllint --format -

Response:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://www.w3.org/2003/05/soap-envelope">
  <env:Body>
    <m:feedvalidationresponse xmlns:m="http://www.w3.org/2005/10/feed-validator" env:encodingStyle="http://www.w3.org/2003/05/soap-encoding">
      <m:uri/>
      <m:checkedby>http://validator.w3.org/feed/check.cgi</m:checkedby>
      <m:date>2016-12-19T05:51:39.782184</m:date>
      <m:validity>false</m:validity>
      <m:errors>
        <m:errorcount>1</m:errorcount>
        <m:errorlist>
          <error>
            <level>error</level>
            <type>UndefinedElement</type>
            <line>2</line>
            <column>224</column>
            <text>Undefined author element: url</text>
            <msgcount>2</msgcount>
            <backupcolumn>224</backupcolumn>
            <backupline>2</backupline>
            <element>url</element>
            <parent>author</parent>
          </error>
        </m:errorlist>
      </m:errors>
      <m:warnings>
        <m:warningcount>1</m:warningcount>
        <m:warninglist>
          <warning>
            <level>warning</level>
            <type>MissingSelf</type>
            <line>2</line>
            <column>0</column>
            <text>Missing atom:link with rel="self"</text>
            <msgcount>1</msgcount>
            <backupcolumn>320</backupcolumn>
            <backupline>2</backupline>
            <element>feed</element>
            <parent>root</parent>
          </warning>
        </m:warninglist>
      </m:warnings>
      <m:informations>
        <m:infocount>0</m:infocount>
        <m:infolist/>
      </m:informations>
    </m:feedvalidationresponse>
  </env:Body>
</env:Envelope>

Note the error:
Undefined author element: url

Thanks for the patch.
Does make sense → merged

Thanks. Would you please consider a patch release?

I do. I found some other minor issues no one noticed so far.
I'm just fixing them. I will bring out a release in the next days.

Cool, thanks.

Sorry that it took so long. I've released two new versions: 0.4.1 and 0.5.1

0.4.1 is basically 0.4 and your fix
0.5 contains some larger changes mainly to finally follow PEP8 (tabs vs spaces, …) but it also contains some additional fixes and tests

No problem, thanks for letting me know!


Pick getPickRay in 2D

This is a PR into #6859.
Fixes #2480.

Thanks for the pull request @bagnell!

:heavy_check_mark: Signed CLA found.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.
[ ] Works (or fails gracefully) in IE11.

I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome.
:earth_africa: :earth_americas: :earth_asia:

@hpinkos can you review? This is targeted at your PR.


Add to the outputs section of the readme.md

@jplgarcia Thanks for the PR! Could you reword the commit to "Add to the outputs section of the readme.md"? If you need any help, feel free to reach me on Discord.

Done!

@jplgarcia Thanks for the PR! Could you reword the commit to "Add to the outputs section of the readme.md"? If you need any help, feel free to reach me on Discord.

Done! Sorry for the delay


How to add sensors to sensor arch ？

ubuntu 20.04
ros: noetic
branch : noetic-devel
I installed the instructions to start LASER-3D, SENSOR-ARCH, and REALSENSE.
But why do LASER-3D and REALSENSE not appear normally on SENSOR-ARCH, but on the Plate.
Actually, I have tested many versions of the code and none of them are displaying properly?
Did I miss any steps?
export HUSKY_LASER_3D_ENABLED=1
export HUSKY_SENSOR_ARCH=1
export HUSKY_REALSENSE_ENABLED=1

roslaunch husky_gazebo empty_world.launch

If you add
export HUSKY_REALSENSE_PARENT=sensor_arch_mount_link

to your setup that will change the RealSense's mount to be the top centre of the arch:

If you need to offset/rotate the camera you can use
export HUSKY_REALSENSE_XYZ="0.0 0.0 0.0"
export HUSKY_REALSENSE_RPY="0.0 0.0 0.0"

changing the "0.0" for the necessary X/Y/Z offset (in meters) and Roll/Pitch/Yaw rotations (in radians).

export HUSKY_REALSENSE_PARENT=sensor_arch_mount_link

感谢您的回复！在您的帮助下我解决了问题。


Support for String.substring negative indexes

#27695

@googlebot I signed it!

CC @lrhn

Thank you for your interest.
We don't have any current plans to change the behavior of index operations to allow negative numbers.
I know it's inconvenient to have to write s.substring(2, s.length - 2) instead of just s.substring(2, -2). I can see the lure.
However, it's not without cost. If nothing else, every user will now pay for two more < 0 checks on every call to substring, whether they use it or not (which is so far entirely "not"). There is also the risk of hiding errors when a value is accidentally negative. A negative argument is already a hard-to-catch error because it only gets caught at run-time, we do not have a type for "positive integers".
Also, if we do decide to add the ability to use negative indices, we would do it everywhere, not just for substring. That makes it a large change affecting user-implementable interfaces (like List with its sublist and [] methods), and it would make existing subclasses no longer satisfy the interface contract when they don't accept the negative arguments. So, not a small change.
Doing it only for a single method is not good for consistency, and could lead users to believe it works elsewhere, which doubles the trouble of errors only being caught at run-time.
So, for now, I think we'll prefer to not change substring.

Also, if we do decide to add the ability to use negative indices, we would do it everywhere, not just for substring. That makes it a large change affecting user-implementable interfaces (like List with its sublist and [] methods), and it would make existing subclasses no longer satisfy the interface contract when they don't accept the negative arguments. So, not a small change.
Doing it only for a single method is not good for consistency, and could lead users to believe it works elsewhere, which doubles the trouble of errors only being caught at run-time.

Good point of view. I think is a good reason for not adding a ability to use negative indeces. Taken


[RFC] Deferred compute in imperative interface to unify imperative and symbolic interface

A new deferred computation (DC) argument to the imperative MXNet APIs is
proposed. If enabled, memory allocation and computation is deferred as long as
possible. Users can export the computational graph recorded during deferred
computation, which enables hybridization support.
Arrays for which DC is enabled are called lazy. Other arrays are called
normal.
Storage allocation and computation for lazy arrays is deferred until their
results are required by conversion to numpy or use as input to an operator
creating a normal array. Accessing attributes such as shape can also trigger
computation if the attribute can't be inferred.
Update: The proposed implementation in https://github.com/apache/incubator-mxnet/pull/17530/ differs slightly from the API previously described in this RFC. Thus I deleted the API docs in this RFC. Please refer to the PR. For example, a global state is used to enable / disable deferred compute, instead of introducing a new invocation API MXImperativeDeferredInvokeEx.
FAQ
How about Autograd, NDArray.autograd_entry_ and AGInfo?
Autograd inside deferred computation (DC) mode can be supported.
Relation of Autograd and DC: While autograd’s RecordOp provides a similar
recording functionality to the deferred computation, the autograd graph is not
the same as a computational graph: NDArray::Detach() serves to detach a node
from the autograd graph by deleting NDArray.entry_, though the NodeEntry is
still required for reconstructing the computational history of how this NDArray
came to be.
Are reqs like kInPlace supported?
No. For now only kWriteTo is supported in DC mode.
The plan is to replace inplace operations with kWriteTo operations, writing to
a new (lazy) array. The framework should be smart enough to decide when to reuse
memory and when not. It shouldn’t be required for users to specify that they
want an inplace operation.
How is context attribute handled, specifically context changes?
Cross-device copy must be represented as operator (CrossDeviceCopyOp) which
requires special handling in the graph executor.
How is incomplete shape information handled?
shape property triggers computation if shape is accessed and can't be inferred completely.
Users can access static_shape if they wan't to avoid triggering computation.
Python (Gluon)
Based on DC, hybridization in Gluon is simplified:
Instead of implementing def hybrid_forward(self, F, x, ...) in HybridBlock,
users can opt to implement def forward(self, x, ...) in HybridBlock.
Hybridization based on DC works by the HybridBlock performing the following
steps (if it is not called by a parent block being hybridized)

keeping a reference to the input arrays and a reference to the parameter
arrays to pass them to MXNDArrayGetDeferredComputeSymbol;
enabling deferred compute mode
running forward
exporting to symbol and create CachedOp; Run CachedOp

A (internal) global context variable tracks if hybridization is ongoing. If set
to False and a Block is called that is to be hybridized, the global context
variable is set to True and the Block goes through all 4 steps outlined above;
finally the context variable is set back to False after the export to Symbol
step is finished.
Usage example
class Net(nn.HybridBlock):
    def forward(self, x, ...):
        ...

Hybridizing gluon.Blocks?
DC could be used to support hybridzing Block if all logic can be traced. A
separate effort may add logic to detect these cases and add hybridization
support based on DC. For now we rely on user to signify hybridization support by
subclassing HybridBlock.
Parameter Shape Inference
For HybridBlock making use of DC for hybridization, we request users to
implement HybridBlock.infer_shape to infer the parameters shape given the
inputs.
Currently, if HybridBlock.infer_shape is not implemented, backward shape
inference is used to infer the shape of parameters. However backward shape
inference is not supported in all cases (cf #14253,
https://github.com/apache/incubator-mxnet/issues/14983#issuecomment-493729329)
and relying on it for parameter shape inference is brittle. Thus for consistency
and simplicity we require infer_shape method implementation when using
hybridization based on DC.

Thanks for the proposal, @leezu. Since this is a major change, I have some questions regarding the plan.
First, should we restrict this mode to only apply to the new numpy arrays? Since the deferred compute mode won't support reverse shape inference, new blocks that implement the forward interface will not work without implementing the parameter shape inference logic in infer_shape. This also applies when migrating the existing Gluon blocks in our API. Since we have plan to adopt numpy array in Gluon, the two changes can potentially happen at the same time.
Also, could you elaborate on what the changes are to the infer_shape, especially on how and when it's invoked during deferred initialization?

Sounds really interesting. Can you elaborate a bit more about specific use cases that this enables or simplifies? Is there something that can't be done today that this would enable? Are there major pain points that this would address compared to hybrid-blocks? Etc..

Thank you @szha and @asmushetzel for looking through the RFC.

Can you elaborate a bit more about specific use cases that this enables or simplifies? Is there something that can't be done today that this would enable? Are there major pain points that this would address compared to hybrid-blocks? Etc..

The RFC is not so much about extending what is possible, but improving the user experience. A major issue of the existing API is that mx.nd and mx.sym are distinct and partially incompatible. The issue of both being distinct is partially addressed by existing HybridBlock at the cost of making the issue of their incompatibility even more severe. Some of this is tracked in [Bug] Inconsistency between HybridBlock and Block.
Unifying symbolic and imperative mode with deferred compute also works towards [RFC] Introducing NumPy-compatible coding experience into MXNet. While with deferred compute we only trace a computational graph (as with current symbolic API), a logical next step is to provide support for parsing the AST of user provided implementation and directly hybridize it without tracing. You can find some more discussion on it in #14253. AST transformation also benefits from a unified interface, as a separate imperative and symbolic frontend would be meaningless.

First, should we restrict this mode to only apply to the new numpy arrays?

It may be feasible to provide support also for the normal ndarray interface. That said, I suggest to consider such support as a bonus. Providing backwards compatibility adds complexity for existing ndarray, which doesn't apply to new numpy arrays. The final decision could be taken later.

Since the deferred compute mode won't support reverse shape inference, new blocks that implement the forward interface will not work without implementing the parameter shape inference logic in infer_shape. This also applies when migrating the existing Gluon blocks in our API. Since we have plan to adopt numpy array in Gluon, the two changes can potentially happen at the same time.

Agree that both should happen at the same time

could you elaborate on what the changes are to the infer_shape, especially on how and when it's invoked during deferred initialization?

No conceptual change to the existing infer_shape API is required.
The current implementation works as follows, during forward, if called imperatively
https://github.com/apache/incubator-mxnet/blob/4940ec0e7408fad2443f921131cf1ada72724c38/python/mxnet/gluon/block.py#L1084-L1097
where _deferred_infer_shape calls infer_shape.
Exactly the same logic applies with proposed deferred compute mode. In Line 1091 a DeferredInitializationError will be caught, which is then handled by user-implemented implementation of infer_shape. If the user did not implement infer_shape, we raise a warning containing information on the requirement to implement infer_shape given the lack of general backward shape inference support.

How's this project going?

Is there any progress? I really like the static_shape part. Currently, the symbol has no shape attribute which makes it hard to use some ops in HybridBlock, for example
def hybrid_forward(self, F, feat):
    _B, C, H, W = feat.shape
    x = F.linspace(-1, 1, H)

even if I know the C, H, W will never change and I will never access the batch size B. I only need the shape once and the shape should be cached. This RFC may fix it.

This feature has been merged in #17530. Thanks for the great work @leezu


why dart ProtoBuf doesn't support null value like nodejs Protobuf ?

Hello
why dart ProtoBuf doesn't support null value like nodejs Protobuf ?
I would like communicate with nodejs ProtoBuf message who accept null value but dart ProtoBuf seems don't accept null value.
Thank you for help

Instead of
  message.field = null;

Do
  message.clearField();

This follows the java protobuf design.

thank you for your answer.
but sadly,  clearField doesn't return null and I have to communicate with a nodejs proto who wait sometimes for null value..... :/

What do you mean by accepting null values? There's no notion of nulls in protobufs itself -- no mentions of nulls in proto2 language guide, https://developers.google.com/protocol-buffers/docs/proto, and proto3 language guide mentions nulls only in a context of json: https://developers.google.com/protocol-buffers/docs/proto3#json
Is your issue related to json (de)serialization?

in js, when I call this function:
fromBytes(bytes) {
    const protoTx = messages.ProtoTransaction.deserializeBinary(bytes);
    ...
}

i obtain for example values:
protoTx: proto.models.ProtoTransaction
array: Array(1)
0: Array(6)
0: 11
1: 63
2: null
3: Uint8Array(20) [244, 41, 227, 109, 104, 190, 16, 66, 141, 115, 7, 132, 57, 21, 137, 87, 46, 224, 247, 43]
4: Uint8Array(8) [13, 224, 182, 179, 167, 100, 0, 0]
5: Uint8Array(8) [13, 224, 182, 179, 167, 100, 0, 0]
length: 6
__proto__: Array(0)
length: 1
__proto__: Array(0)
arrayIndexOffset_: -1

The def of the message is
syntax = "proto3";
package models;

//protoc --js_out=import_style=commonjs,binary:./ proto/models.proto

message ProtoTransaction {
    message Data {
        uint32 nonce = 1;
        uint32 epoch = 2;
        uint32 type = 3;
        bytes to = 4;
        bytes amount = 5;
        bytes maxFee = 6;
        bytes tips = 7;
        bytes payload = 8;
    }
    Data data = 1;
    bytes signature = 2;
    bool useRlp = 3;
}

The 3 properties payload, tips and type are not instanciate (type = null and payload and tips are not in the data properties.
in dart, with the same definition of message ProtoTransaction, I obtain
0: 11
1: 63
2: 0
3: Uint8Array(20) [244, 41, 227, 109, 104, 190, 16, 66, 141, 115, 7, 132, 57, 21, 137, 87, 46, 224, 247, 43]
4: Uint8Array(8) [13, 224, 182, 179, 167, 100, 0, 0]
5: Uint8Array(8) [13, 224, 182, 179, 167, 100, 0, 0]
6: [0]
7: []

So 2, 6 and 7 haven't got the same value..

At least for 2 (if it corresponds to uint32 epoch = 2;) Dart behavior seems correct to me according to https://developers.google.com/protocol-buffers/docs/proto3#default:

When a message is parsed, if the encoded message does not contain a particular singular element, the corresponding field in the parsed object is set to the default value for that field.
...

For numeric types, the default value is zero.

Dart protoc_plugin can also generate methods like hasEpoch(), which you can use instead of comparing value to null if you use protoc_plugin later than 19.2.1 and protoc later than 3.12.0. It may also require changing proto definition to add optional to field definition, e.g. optional uint32 epoch, but I am not sure.
Unfortunately I am not sure about fields 6 and 7 without knowing actual bytes

thanks for you reply


Download links are missing the version field in the 1.2.3 docs

The download links for Kuma 1.2.3 are all kuma--foo, where they should be kuma-1.2.3-foo.
jpeach@greenling:~/upstream/konghq/kuma-website$ git grep kuma-- ./docs/docs/1.2.3/
docs/docs/1.2.3/installation/amazonlinux.md:or you can [download](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz) the distribution manually.
docs/docs/1.2.3/installation/centos.md:or you can [download](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz) the distribution manually.
docs/docs/1.2.3/installation/debian.md:or you can [download](https://download.konghq.com/mesh-alpine/kuma--debian-amd64.tar.gz) the distribution manually.
docs/docs/1.2.3/installation/docker.md:* [CentOS](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz)
docs/docs/1.2.3/installation/docker.md:* [RedHat](https://download.konghq.com/mesh-alpine/kuma--rhel-amd64.tar.gz)
docs/docs/1.2.3/installation/docker.md:* [Debian](https://download.konghq.com/mesh-alpine/kuma--debian-amd64.tar.gz)
docs/docs/1.2.3/installation/docker.md:* [Ubuntu](https://download.konghq.com/mesh-alpine/kuma--ubuntu-amd64.tar.gz)
docs/docs/1.2.3/installation/docker.md:* [macOS](https://download.konghq.com/mesh-alpine/kuma--darwin-amd64.tar.gz)
docs/docs/1.2.3/installation/eks.md:* [CentOS](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz)
docs/docs/1.2.3/installation/eks.md:* [RedHat](https://download.konghq.com/mesh-alpine/kuma--rhel-amd64.tar.gz)
docs/docs/1.2.3/installation/eks.md:* [Debian](https://download.konghq.com/mesh-alpine/kuma--debian-amd64.tar.gz)
docs/docs/1.2.3/installation/eks.md:* [Ubuntu](https://download.konghq.com/mesh-alpine/kuma--ubuntu-amd64.tar.gz)
docs/docs/1.2.3/installation/eks.md:* [macOS](https://download.konghq.com/mesh-alpine/kuma--darwin-amd64.tar.gz) or run `brew install kumactl`
docs/docs/1.2.3/installation/kubernetes.md:* [CentOS](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz)
docs/docs/1.2.3/installation/kubernetes.md:* [RedHat](https://download.konghq.com/mesh-alpine/kuma--rhel-amd64.tar.gz)
docs/docs/1.2.3/installation/kubernetes.md:* [Debian](https://download.konghq.com/mesh-alpine/kuma--debian-amd64.tar.gz)
docs/docs/1.2.3/installation/kubernetes.md:* [Ubuntu](https://download.konghq.com/mesh-alpine/kuma--ubuntu-amd64.tar.gz)
docs/docs/1.2.3/installation/kubernetes.md:* [macOS](https://download.konghq.com/mesh-alpine/kuma--darwin-amd64.tar.gz) or run `brew install kumactl`
docs/docs/1.2.3/installation/macos.md:* [Download Kuma](https://download.konghq.com/mesh-alpine/kuma--darwin-amd64.tar.gz)
docs/docs/1.2.3/installation/openshift.md:* [CentOS](https://download.konghq.com/mesh-alpine/kuma--centos-amd64.tar.gz)
docs/docs/1.2.3/installation/openshift.md:* [RedHat](https://download.konghq.com/mesh-alpine/kuma--rhel-amd64.tar.gz)
docs/docs/1.2.3/installation/openshift.md:* [Debian](https://download.konghq.com/mesh-alpine/kuma--debian-amd64.tar.gz)
docs/docs/1.2.3/installation/openshift.md:* [Ubuntu](https://download.konghq.com/mesh-alpine/kuma--ubuntu-amd64.tar.gz)
docs/docs/1.2.3/installation/openshift.md:* [macOS](https://download.konghq.com/mesh-alpine/kuma--darwin-amd64.tar.gz) or `brew install kumactl`
docs/docs/1.2.3/installation/redhat.md:or you can [download](https://download.konghq.com/mesh-alpine/kuma--rhel-amd64.tar.gz) the distribution manually.
docs/docs/1.2.3/installation/ubuntu.md:or you can [download](https://download.konghq.com/mesh-alpine/kuma--ubuntu-amd64.tar.gz) the distribution manually.

PR #493 fixes the links, but we ought to go back and also fix whatever went wrong in the site versioning.

Closing bc there is a sort of fix in place but it's partly manual and won't get more fully automated until we're migrated to Jekyll.


NoteBetterEvent

Currently blocked by MinecraftForge/MinecraftForge#2153 and a few other things.

Closed by 790ca91.


Announcement emails check box does not work

I discovered this check box in my profile on Metasmoke, but attempting to tick it produces a backtrace.
Encoding::UndefinedConversionError in UsersController#set_announcement_emails
"\x8B" from ASCII-8BIT to UTF-8
("Extracted source" box can't be properly copy/pasted; points to line 17 of ... some file, apparently https://github.com/Charcoal-SE/metasmoke/blob/bc38143ed07ab3b3dcf3967b7e10a87b8a1daa7a/app/models/concerns/websocket.rb#L17)
Rails.root: /var/railsapps/metasmoke/releases/20170815214708
Application Trace | Framework Trace | Full Trace
app/models/concerns/websocket.rb:17:in broadcast_event' app/models/concerns/websocket.rb:25:in broadcast_update'
app/controllers/users_controller.rb:81:in `set_announcement_emails'
Request
Parameters:
{"utf8"=>"✓", "authenticity_token"=>"JDZaofngeXHRBWasvqKdJX4ZgJoSBPX4DzOXi1175cwDqWuN0rRSpiId6Eq2tL9dFwnUvSPb/odccSMhV5t7Og==", "emails"=>"on", "commit"=>"Save"}

It's also not clear what these annoucement emails are, is this documented somewhere?

I also get basically the same error if I attempt to enable 2FA.

@tripleee Is this fixed?

Seems to be; I successfully signed up for announcements and enabled 2FA (which is what I was actually having a problem with in the first place when I discovered this).


Add aerosol radiative effects

### Tasks
- [ ] https://github.com/CliMA/ClimaAtmos.jl/pull/3147
- [ ] https://github.com/CliMA/ClimaAtmos.jl/issues/3154
- [ ] https://github.com/CliMA/ClimaAtmos.jl/issues/3170
- [ ] https://github.com/CliMA/ClimaAtmos.jl/issues/3184

Change in clear-sky net TOA SW due to SO4 in aquaplanet:

Is this using the concentrations read from file?

Is this using the concentrations read from file?

Yes, it uses the aerosol concentration in the tracer cache here. You can see it is only SO4 now. I will extend it to other types of aerosols.

Awesome, just making sure :)

Change in clear-sky net TOA SW due to all aerosols in aquaplanet:

I think it looks reasonable. The two things missing are:

#3185, which we can address later
correct interpolation of aerosol time series, which will be addressed in ClimaUtilities.

I'm closing this now. The remaining interpolation issue has been added to https://github.com/CliMA/ClimaAtmos.jl/issues/3197


Automated cherry pick of #9686: fix(region): skip cloud image sync error

Cherry pick of #9686 on release/3.7.
#9686: fix(region): skip cloud image sync error

Codecov Report

Merging #9688 (e08f9a8) into release/3.7 (56d583e) will increase coverage by 9.92%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           release/3.7    #9688       +/-   ##
================================================
+ Coverage         6.00%   15.93%    +9.92%
================================================
  Files              845      124      -721
  Lines           131245    12773   -118472
================================================
- Hits              7879     2035     -5844
+ Misses          122665    10547   -112118
+ Partials           701      191      -510

Flag
Coverage Δ

aFlag
15.93% <0.00%> (+9.92%)
:arrow_up:

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

Impacted Files
Coverage Δ

pkg/compute/guestdrivers/apsara.go
13.63% <0.00%> (-0.65%)
:arrow_down:

pkg/compute/guestdrivers/managedvirtual.go
0.00% <0.00%> (ø)

pkg/compute/guestdrivers/utils.go
0.00% <0.00%> (ø)

pkg/compute/models/instance_snapshots.go

pkg/util/qemuimg/init.go

pkg/compute/models/cloudsyncelb.go

pkg/hostman/hostinfo/hostpinger.go

pkg/compute/regiondrivers/apsara.go

pkg/util/rbacutils/policyset.go

pkg/cloudcommon/db/resourcebase.go

... and 651 more

Continue to review full report at Codecov.

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


date picker not working in "nuxt": "3.0.0-rc.12"

hi date picker not working in "nuxt": "3.0.0-rc.12"

Hi @PouryaNoufallah96
Now it's working with the "rc.12" version.


Style scrollbar

Styled the scrollbar.
Not sure how this behaves on OS X, but here's some screenshots from Ubuntu.
No styling:

Styling:

Very nice! :D

:matches didn't work as expected. Did however manage to make html:-webkit-any(.os-linux, .os-win32) ::-webkit-scrollbar work with the same result.

Awesome. Thank you :)

Please do open issues/PRs if you notice anything else that could be improved.

Will do :)
I noticed I did something wrong on the dark-mode selector. Will add a PR solving that bug.


Fix no results message

The way I see this possibly failing now is if retrieving a set of results is quicker than retrieving no results from a previous search.
While possible I don't think it's likely. Perhaps we should investigate a slight delay in searching after typing to make this even less likely?

The diff looks so noisy because I think some bad line endings crept in before and this is fixing them. Can you check that though please?


close DTLS conn upon err

It looks like we're not closing the connection upon
ErrNoSRTPProtectionProfile / ErrNoRemoteCertificate errors.
Plus we're logging the wrong error when fingerprint is bad.

Refs https://github.com/paritytech/smoldot/pull/2135


Bitfield-ify UART intClear register.

Commits in this PR

Bitfield-ify UART intClear register.

Thanks for catching the issues here and reviewing the other PRs, @Miceuz.


Add tests to make sure we preserve property order when serializing the package's config JSON object.

The design team wants to dynamically create forms based on the package's config.json

Migrated.


Questions about reproducing

Thank you for your contributions. However, I encountered some difficulties in reproducing the results of your paper, and I wonder if you can provide some help.
Firstly, I am confused by the weights you provided, are weights in  https://github.com/SAI990323/TALLRec/tree/main/alpaca-lora-7B and https://drive.google.com/file/d/1teUwLm4BOqhngfCKKXE1tiMhJPf_FvRJ/view the same lora weights which are obtained through instruct tuning by alpaca-lora(using the self-instruct dataset provided by alpaca)?
Under this assumption, I performed Rec tuning using the provided lora weight. However, no matter the sample number I choose(16/32/64/256, which is mentioned in paper's setting), the auc score has always been around 50%(about 0.47).
The version of peft is 0.3.0, version of transformers is 4.28.0.
The parameter in finetune_rec.py is:
base_model: str = "../llama-2-7b-hf/",
train_data_path: str = "./data/movie/train.json",
val_data_path: str = "./data/movie/valid.json",
output_dir: str = "./movie-64",
resume_from_checkpoint: str = "./alpaca-lora-7B",
sample: int = 64,
seed: int = 2023,
# training hyperparams
batch_size: int = 128,
micro_batch_size: int = 32,
num_epochs: int = 200,
learning_rate: float = 1e-4,
cutoff_len: int = 512,
# lora hyperparams
lora_r: int = 8,
lora_alpha: int = 16,
lora_dropout: float = 0.05,
lora_target_modules: List[str] = [
  "q_proj",
  "v_proj",
],
# llm hyperparams
train_on_inputs: bool = True,
group_by_length: bool = True,
# wandb params
wandb_project: str = "",
wandb_run_name: str = "",
wandb_watch: str = "",
wandb_log_model: str = "",

After training, I run evaluate.py with these parameters:
load_8bit: bool = False,
base_model: str = "../llama-2-7b-hf/",
lora_weights: str = "./movie-64",
test_data_path: str = "./data/movie/test.json" ,
result_json_data: str = "./test/temp.json",
batch_size: int = 16,
share_gradio: bool = False,
sample = 64,
seed = 2023

May I ask if my understanding of the two weights is correct, and if there are any errors in my training or evaluating steps or parameters? Thanks for your assistance!!

For the first question, yes the two weights are the same lora weights which are obtained through instruct tuning.
For the second question, it seems that you chose the LLaMA2 as your base model and our lora weights are based on LLaMA

Thank you very much for your help. I used the llama model of decapoda in Huggingface to try rec tuning and evaluate the results again, and there was a significant improvement in performance on the movie dataset with a sample size of 64 compared to before (about 0.38, or 0.62), but there is still a certain gap between the results and the paper results. I suspect it is still due to the different weights of llama. Could you publicly disclose the llama weight (repositary name or link) that you used? Thanks again!

We obtained the download link from the Meta authorized source. In my impression, there will be various problems when using decapoda/llama-hf-7b to replace llama. Perhaps you could consider applying to the official Meta organization to acquire the model weights.

Thanks! Problem Solved!

Thanks! Problem Solved!

Hello, I would like to ask you how to download the llama weights，which can solve the problem. I applied to meta official, but no response. Thanks you!

Hello, I would like to ask you how to download the llama weights, which can solve the problem. I applied to the official Meta, but no response. Thanks you!

Sorry.. I didn't get the weights either. Acturally, I found that the true problem refers to the version of peft mentioned in previous issues. I found the download link for peft==0.3.0.dev0 within this issue, which solves the whole problem. Hope this will help!

Sorry.. I didn't get the weights either. Acturally, I found that the true problem refers to the version of peft mentioned in previous issues. I found the download link for peft==0.3.0.dev0 within this issue, which solves the whole problem. Hope this will help!

Thank you very much! I have also solved the problem.

Thanks! Problem Solved!

Hi, may i ask which base-model do you use? decapoda/llama-hf-7b or llama-2-7b? Thanks in advance!
I applied from meta website and it seems that meta only provider llama2 weight now.

Hi, may i ask which base-model do you use? decapoda/llama-hf-7b or llama-2-7b? Thanks in advance! I applied from meta website and it seems that meta only provider llama2 weight now.

I use  decapoda/llama-hf-7b , downloaded from HuggingFace.

We use the official checkpoint of llama (not llama2) from Meta, it seems
that there is something different between decapoda/llama-hf-7b and llama.
Findgod @.***> 于2023年12月26日周二 13:49写道：

Hi, may i ask which base-model do you use? decapoda/llama-hf-7b or
llama-2-7b? Thanks in advance! I applied from meta website and it seems
that meta only provider llama2 weight now.
I use decapoda/llama-hf-7b , downloaded from HuggingFace.
—
Reply to this email directly, view it on GitHub
https://github.com/SAI990323/TALLRec/issues/34#issuecomment-1869276262,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJVHP2K7CEFAMNKEKJESAILYLJQQBAVCNFSM6AAAAAA6HBYGA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRZGI3TMMRWGI
.
You are receiving this because you commented.Message ID:
@.***>

Thanks! Problem Solved!

Hi, can you reproduce the results under different samples (i.e., 16, 64, and 256)?
I still see a gap between the AUC~

Hi, can you reproduce the results under different samples (i.e., 16, 64, and 256)?
I still see a gap between the AUC~
I use different samples: 16, 64, 256 and num_epochs: 200

{
"movie": {
"movie": {
"lora_alpaca": {
"6": {
"64": 0.6498338790446843,
"16": 0.536462345916795,
"256": 0.7050369960195171
}
}
}
}
}

For our experiment, the smaller the sample number, the greater the variation. The results we reported in the experiment are the average results of running three seeds: 0, 1, and 2.


keep image on display after script finished

Orange pi zero, 1.3" SH1106 on i2c0
Expected behaviour
i'd like to run python script to show system info (hostname, ip address, etc) once on startup (for example from /etc/rc.local). i'd like the info keep displaying after script done ane python process finished.
Actual behaviour
oled display turns off after script finished. all info disappears.

You need to override the cleanup() method in the sh1106 class. This can be done easily as per the following example:
rom luma.core.serial import i2c
from luma.core.render import canvas

from luma.oled.device import sh1106

def do_nothing(obj):
    pass

serial = i2c(port=0)
device = sh1106(serial)

# override the cleanup method
device.cleanup = do_nothing

hostname = "OrangePi Zero"
ip = "<IP_ADDRESS>"

with canvas(device) as draw:
    draw.rectangle(device.bounding_box, fill="black", outline="white")
    draw.text((3, 2), hostname, fill="white")
    draw.text((3, 12), ip, fill="white")

I misread sh1101 for sh1106 ... the above override should work for any display driver, so if you are using the ssd1306 driver and it works, carry on using that

thanks a lot. looks like it works as expected
but from my point of view it is not right solution. its not obvious. may be
it would better to add device property cleanupOnExit(bool) default True
2017-03-11 0:42 GMT+02:00 Richard Hull<EMAIL_ADDRESS>
I misread sh1101 for sh1106 ... the above override should work for any
display driver, so if you are using the ssd1306 driver and it works, carry
on using that
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/rm-hull/luma.oled/issues/140#issuecomment-285805324,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABw9NiA9LKNbZfXqh2xXZ9nYMBddLTJxks5rkdHegaJpZM4MZ7fm
.

Longer term, yes I agree, but there are other implications of not cleaning up properly which need to be balanced across how it works for other devices.
Also, I guess I should've qualified that the above was a bit of a crafty hack.

Can this be closed?


HIVE-1604: Amalgamate build and operatorhub push scripts.

➜  hive (HIVE-1604) ✔ ./hack/bundle-gen.py --help
usage: bundle-gen.py [-h] [--verbose] [--dry-run] [--branch BRANCH] [--registry-auth-file REGISTRY_AUTH_FILE] [--github-user GITHUB_USER] [--hold]

Hive Bundle Generator and Publishing Script

optional arguments:
  -h, --help            show this help message and exit
  --verbose             Show more details while running
  --dry-run             Test run that skips pushing branches and submitting PRs
  --branch BRANCH       The branch (or commit-ish) from which to build and push the image. If unspecified, we assume `master`. If we're using `master`, we generate the bundle version
                        number based on ${HIVE_VERSION_PREFIX} and update the `alpha` channel. If BRANCH *also* corresponds to an `ocm-X.Y`, we'll also update that channel with the same
                        bundle.If BRANCH corresponds to an `ocm-X.Y` but *not* `master`, we'll generate the bundle version number based on `X.Y` and update only that channel.
  --registry-auth-file REGISTRY_AUTH_FILE
                        Path to registry auth file
  --github-user GITHUB_USER
                        User's github username, if different than $USER
  --hold                Adds a /hold comment in commit body to prevent the PR from merging (use "/hold cancel" to remove)

Default, no arg case updates alpha channel using the master branch only.
./hack/bundle-gen.py --dry-run

Added a commit that gets this working (produced https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/276 and https://github.com/k8s-operatorhub/community-operators/pull/234 with it). Going to merge this as is and add moar stuffs later.
/lgtm


Enable SDL validation in rel/3.1

Part of aspnet/AspNetCore-Internal#3293
@riarenas @JohnTortugo PTAL
CC @aspnet/build

This is equivalent to aspnet/Extensions#2579 which was validated & approved


[20.03] chromium: Enable swiftshader by default

Motivation for this change
Backport of enabling swiftshader by default (#83304), so that headless OpenGL works out of the box in Chromium for 20.03.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Still building, result will be available tomorrow.

Still building, result will be available tomorrow.

It's working, same as in #83304.

Merged, thanks :)


widlockunlock: disable tap-to-lock if back button is present

This avoids having to try to dodge the lock/unlock widget when going back

@gfwilliams what do you think about stopping event propagation when the back button's pressed?

Looks good - maybe the description should mention it won't work if 'back' is showing though?

And sorry, yes - that's a good idea. We set the handled=true so that was obviously the intention, but at that point we didn't have stopPropagation. I'll add it now

Looks good - maybe the description should mention it won't work if 'back' is showing though?

Good idea - done

at that point we didn't have stopPropagation. I'll add it now

Thanks!

Thanks!


Support GSI with same hashkey as Table

This PR addresses the issue described here
https://github.com/automategreen/dynamoose/issues/86
I read through the comments in the issue, and after looking at the code it looks like I could make a change to support fixing the issue by adding the rangeKey to the check to determine whether to try to use a global secondary index, and also providing the query.using functionality to explicitly use a specific index if multiple are configured for the hashkey attribute.
If this solution works for you I will update the Query doc to describe the new feature.

Looks good.  I only saw the one possible issue.  I'll merge when you have the documentation ready.  Thanks for the help.

Made the fix to check for schema rangeKey and updated documentation.


[Font] Use key structure instead of raw hash for LRU cache to avoid collisions.

Fixes https://github.com/godotengine/godot/issues/70512

It looks like MRP and my other project are now drawing text correctly. Thanks!

Thanks!


validate top keys in configuration file

see test one here: https://github.com/ploomber/pkgmt/pull/60#pullrequestreview-1522649980

Please assign this to me @edublancas

Acceptance criteria:

Validate keys in pyproject.toml file and raise error if any invalid key found. Display all the valid keys to user.
Test cases for the same
Changelog entry.

sounds good!


kx-kn color not not working in powershell windows

instead of green color it's shows as ←[32mNAMESPACE←[0m
Switched namespace to "←[32mfalco←[0m"
PS C:\Users\> kn.exe
dev
default
←[32mfalco←[0m
test

It works fine with Visual code Powershell.
Need to check better libs for color.

Need to test this - https://github.com/mackwic/colored/issues/59#issuecomment-954355180
https://docs.rs/colored/2.0.0/x86_64-pc-windows-msvc/colored/control/fn.set_virtual_terminal.html

fixed.
use colored::*;
//in function
control::set_virtual_terminal(true).unwrap();


Fonts

Change the fonts to something that matches our 90's games theme

Sir I want to work on this

Sir I want to work on this issue

I had some fonts found and ready for this, you can have a look at them
8-bit-limit.zip
bad-mofo.zip
budmo.zip
bulky-pixels.zip
drive-thru.zip
fff-forward.zip
joystix.zip
kamikaze.zip
karmatic-arcade.zip
november.zip
origami-mommy.zip
pixel.zip
press-start.zip
sho-card-caps.zip
yoster-island.zip

sir do i have to add the licenses as well for the fonts or just the otf and ttf files

no need for license

no need for license

I have added a pull request


Feat: Making FAQ page

Describe the feature
Currently there is no FAQ page in the website , I want to make a FAQ page for our website
Add ScreenShots
https://github.com/user-attachments/assets/befa982c-f3a2-4dac-980e-3a8c88a1e716
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@RitiChandak Please assign it to me

FAQ page is already there


make union work on bq

todo:

[x] bq compatibility
[x] fix tests

this is blocking on the 0.11.1 release of dbt

Awesome, good catches @jtcohen6! I think we're actually in good shape to run integration tests on snowflake/bq/redshift these days. I'm going to merge this, but I just made an issue to track those two topics.
Thanks! merging


implement a file upload feature

Directory Lister Version
3
PHP Version
7
PHP Extensions
No response
Web Server
https://williannasc.dev.br
Describe the Bug
implement a file upload feature

This is out of scope for this project.


Sometimes, the before() is not called.

I have realized that the reason for some erronous readings from some sensors, is due to the fact that the sensor-init is never done.
MC[I]: Booting ESP8266 device...
MC[I]: WIFI not connected, trying connection...
MC[I]: Connecting to WiFi with ssid[1421530] and with password............OK
MC[I]: WiFi BSSID:[00:02:61:A8:32:58], RSSI:[-68 dBm, 64 %], IP:[<IP_ADDRESS>], StatusCode:[3]
MC[I]: Configuration(NodeEUI:[ESP_2D5A26], Mqtt{mDNS-status:[0], Server:[<IP_ADDRESS>], Port:[1883], FeedId:[esp], User:[]})
MC[I]: MQTT settings(Broker:[<IP_ADDRESS>], Port:[1883])
MC[I]: MQTT authenticating as anonymous
MC[I]: MQTT connection failed, rc=-4
MC[I]: Initialization done...
MC[I]: MQTT failed! Retryting to connect...
MC[I]: MQTT settings(Broker:[<IP_ADDRESS>], Port:[1883])
MC[I]: MQTT authenticating as anonymous
MC[I]: MQTT connected :)
MC[I]: MQTT topic subscribed:[in_esp/ESP_2D5A26/#]
Envoie de Luxmeter:81
Temp2: 93
Requesting temperatures...DONE
Device Address:<PHONE_NUMBER>000000 Temp C: -127.00 Temp F: -196.60
Device Address:<PHONE_NUMBER>000000 Temp C: -127.00 Temp F: -196.60
Envoie de Luxmeter:81
Temp2: 93

It seems that the device starts probing sensors without the before() or setup() is called. In the above, these two functions are declared:
void setup() {
    MC_SERIAL.print("Core: Setup running... ");
}

and
void before() {
    MC_SERIAL.print("Core: Before running... ");
[init code goes here]
}

Could be related to the other issue about a failed MQTT connection?

@njbuch I will check and update you

@njbuch This is the sequence,

Setup
loop-> mc.loop()->before()->loop
loop

In your example, the serial port is no initialized in setup. It is initialized when calling mc.loop()

I can confirm the sequence you write, when the device is booted first time after flash, but if the device is off and then powered on, the before() is never called and sensors does not work....

No worries on this one, I have solved it by:
void loop() {   // This is required for the Mycontroller device works...   mc.loop();   //You can add your logic here.    if(!custom_initdone)   {     custom_init();   }   sendMeasurements(); }


TopK-like expressions, a better way to model in expression IR?

 Issue by wesm
Thursday Jan 29, 2015 at 18:52 GMT
Originally opened as http://github.mtv.cloudera.com/wesm/ibis/issues/91

The initial cut of the TopK filter wraps the operation in a BooleanArray: http://github.mtv.cloudera.com/wesm/ibis/commit/ad53ba7c5a3cef5d1d758008812e1b9039d05c7c . This isn't exactly legit, because composing that filter with other comparisons will make SQL translation pretty difficult.
I posit that TopK and other to-be-written analytical operations should be a new kind of thing, call it AnalyticExpr, that can be treated as different things depending on the context in which it's used. For example, a user might want to evaluate table.field.topk(10, by=table.foo.sum()) by itself, producing a list of values from the field column. If topk produces a BooleanArray, this is then a little nonsensical.

I'll address this as part of #392; I think I have an idea.


Bug 1954671: disable volume expansion support in vsphere csi driver

/test e2e-vsphere-csi

Verified that after deploying this change, resize fails with an appropriate error message:
$ oc patch pvc claim1 -p '{"spec": {"resources": {"requests": {"storage":"2Gi"} } } }'
Error from server (Forbidden): persistentvolumeclaims "claim1" is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize

/retest

/retest

/retest

/retest

/lgtm

/retest

/approve

/retest


Added missing device "rm4" to the device models.

Added missing device "rm4" to the models for ngspice and Xyce ("rm4" is the metal4 resistor---the SPICE models appear to be intended for a 4-metal stack, perhaps?).

@jeffdi :  At your convenience, please review and merge.


Reverting Sitecore Send to Moosend

Per request from internal technical writing, we are reverting current text for links to Moosend documents to use the name "Moosend" as this product will continue to exist after Sitecore Send is released, and these links will continue to refer to 'Moosend' and not Sitecore Send. We will need to add new Sitecore Send links in the future.
For now, this PR does changes to navigation links and text on multiple pages to revert the name Sitecore Send to Moosend. The routes have not been changed, they still use "/send" as the page route.
I have not updated anything referring to the integration guides. Those are not Moosend URLs and we can update the instructions in them to match with Sitecore Send details after Sitecore Send is released.
Fixes #185

Do we need to update the titles of the integration guides that now talk about integrating with Sitecore Send?


Add helm chart for the operator

This is the source for the Helm chart. You can use:
helm package helm/habitat-operator
command to create a chart package for the operator for distribution.
This chart uses the docker image of the latest release: 0.4.0.

nitpick addressed. :)


Update typeorm version

we're apparently far enough behind in TypeORM updates that the call syntax for findOne has changed https://github.com/iasql/iasql-engine/runs/6057343526?check_suite_focus=true#step:5:15

Resolved by #1942


[RFC] Implement option to coerce values on loading

class Settings(Dynaconf):
    number: int
    other: float

    dynaconf_options = Options(coerce=True)

number = "23"

export DYNACONF_OTHER=42

assert isinstance(setings.number, int)  # from "23" to 23
assert isinstance(setings.other, float) # from 42 to 42.0

With the coerce option, type converters such as @int, @bool etc, are not required.
questions

Should coerce be the default behavior? like pydantic that performs coercions by default but has a strict mode that can be set
Should allow coercion setting on specific variable field: Annotated[int, Coerce()] or only as a global option?

Extra notes:
Tomlfy must be removed on 4.0.0, the loaded value will be coerced using the schema by default, or using markers @type
The automatic coercion parser must be able to handle transformations from multiple formats including tomlfied variables.
Schema
field: dict/DictValue

#on env vars
FOO={"a": 1}  # pyliteral
FOO={a=1}     # toml dict
FOO='@json {"a": 1, "b": false}'  # json
FOO="a=1,b=2,c=3"  # comma sep key pairs


Add documentation for new type hints in Koalas

This PR adds some documentations for https://github.com/databricks/koalas/pull/1578

Codecov Report

Merging #1584 into master will decrease coverage by 2.30%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1584      +/-   ##
==========================================
- Coverage   94.25%   91.95%   -2.31%
==========================================
  Files          38       38
  Lines        8691     8691
==========================================
- Hits         8192     7992     -200
- Misses        499      699     +200

Impacted Files
Coverage Δ

databricks/koalas/usage_logging/__init__.py
25.00% <0.00%> (-69.65%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50.00% <0.00%> (-50.00%)
:arrow_down:

databricks/koalas/__init__.py
75.80% <0.00%> (-17.75%)
:arrow_down:

databricks/koalas/spark/functions.py
86.95% <0.00%> (-8.70%)
:arrow_down:

databricks/conftest.py
88.67% <0.00%> (-7.55%)
:arrow_down:

databricks/koalas/frame.py
92.93% <0.00%> (-3.01%)
:arrow_down:

databricks/koalas/namespace.py
84.49% <0.00%> (-1.61%)
:arrow_down:

databricks/koalas/generic.py
95.16% <0.00%> (-1.49%)
:arrow_down:

databricks/koalas/series.py
96.31% <0.00%> (-1.31%)
:arrow_down:

databricks/koalas/plot.py
93.33% <0.00%> (-0.96%)
:arrow_down:

... and 3 more

Continue to review full report at Codecov.

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

Looks really good to me !
(And also, how about we merge this and #1589 right after 1.0.0 will be actually released ??)

The documentation should be the part of the release so it should include.

@HyukjinKwon Ah, makes sense.

I am merging this to unblock the release.


linter: unicorn rules in config file are ignored

Given the following file (.oxlintrc.json):
{
    "rules": {
        "no-negated-condition": "allow"
    }
}

If I run the command oxlint  -c .oxlintrc.json -D pedantic I get the following output:
× eslint-plugin-unicorn(no-negated-condition): Unexpected negated condition.
     ╭─[src/systems/dx/index.ts:123:25]
 122 │                     selectorValue:
 123 │                         part.groups.selval !== undefined ? Number.parseInt(part.groups.selval, 10) : undefined,
     ·                         ────────────────────────────────
 124 │                     status: Status.PendingRoll,
     ╰────
  help: Remove the negation operator and switch the consequent and alternate branches.

If I run it with oxlint -c .oxlintrc.json -D pedantic -A no-negated-condition however, the error no longer appears.
The same is true in the other direction, removing the -D pedantic and setting the rule to deny instead of allow in the config file does not make the error appear, whereas adding -D no-negated-condition to the command line does make it appear.
This behavior is not present for eslint and import rules (e.g. no-ternary works correctly in the config file), I've so far only seen the bug with the unicorn set of rules, but I haven't tested all of them.
tested on 0.7.0

Is anyone currently working? Can I try it?

I checked and think this is an expected behavior. Can you double check? @DonIsaac

Upon reading this closer, yes I believe this is expected. CLI flags will override whatever is set in the config.

In that case the rules for eslint and import groups are not working correctly :p
As mentioned in the OP those actually do override.
e.g. oxlint -c .oxlintrc.json -D style with no-ternary: "allow" in the config, actually suppresses the ternary rule

In that case the rules for eslint and import groups are not working correctly :p
As mentioned in the OP those actually do override.
e.g. oxlint -c .oxlintrc.json -D style with no-ternary: "allow" in the config, actually suppresses the ternary rule

Yes, I reproduced the problem. It seems that it arises with the rule sets for eslint and import.


Config File

in the config file i changed the "AXTLSLIB: Contains path to axTLS Library "libaxtls.so.1" for"
and the ORIGINALKEY that i found while executing the make file but i didnt understand how to change LIBCRYPTO_SQUARE_OFFSET
LIBCRYPTO_MULTIPLY_OFFSET
LIBCRYPTO_BARRETT_OFFSET
THRESHOLD
SQUARE_HIT
MUTLIPLE_HIT
at the end of the readme it says offsets for bi_square, bi_terminate and bi_subtract can be find by disassembling library using following commands: objdump libaxtls.so.1 > analysis
when i run the command it says u need an extra option to run the command any way i hope some one can help ^^

Actual command is: objdump -d libaxtls.so.1 > analysis
I will update readme document.

Oh thank you that would be great ^^ the thing is i have some research about
attacks against RSA nd i was interested in your project and i followed the
readme me file nd the server worked nd when i run make i got that original
key then i copy it nd paste it in the config file right ? Nd i was able to
get xor and retrieved key when i run  run.sh but i rly couldn’t figure out
how to get that RSA private key can you help to understand that thanks ^^
On Thu, May 16, 2019 at 10:41 AM Usman Ali<EMAIL_ADDRESS>wrote:

Closed #3
https://github.com/ECLab-ITU/Cache-Side-Channel-Attacks/issues/3.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ECLab-ITU/Cache-Side-Channel-Attacks/issues/3?email_source=notifications&email_token=ALZF6NTRMTI6JPHHCCT7BHTPVUT2XA5CNFSM4HMIGOJ2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGORPJMR5Y#event-2345847031,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALZF6NUILLQSWLRV6BY4O33PVUT2XANCNFSM4HMIGOJQ
.


Ossfix

This is a fix for #73.
The change for index-authenticated fix the problem I was having.  But in comparing this to master, I see that req.legacyUserContext used to be req.oss.  So maybe, the correct fix is to change req.oss in index.linked to req.legacyUserContext.
Also, since this change fixed my issue, I added the same assignment to each line that was calling new OpenSourceUserContext()

I tried changing req.oss to req.legacyUserContext and that seems to fix the issue and I think that was the desired change in the first place.  I am going to resubmit this PR with that change.


Introduce blockedOnExtern flag to handle block/resume in externs

Purpose
Introduce blockedOnExtern flag to handle block/resume in externs

Codecov Report

Merging #15342 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master   #15342   +/-   ##
=========================================
  Coverage     46.67%   46.67%
  Complexity     5112     5112
=========================================
  Files           891      891
  Lines         33963    33963
  Branches       5416     5416
=========================================
  Hits          15853    15853
  Misses        16341    16341
  Partials       1769     1769

Continue to review full report at Codecov.

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


Conversion Failed

Chunker Version
1.3.0-main-2cdf4aa
Input World Version
Bedrock 1.21.40
Output World Version
Bedrock 1.21.40
Platform / Operating System
win32-x64-10.0.22631
Issue Description
Error Chunker Displayed: A fatal error occurred during conversion.
main.log

nvm new release worked


Laravel 6.0

Any new version for laravel 6.0?
Thanks

Not planned yet, might happen but not before Feb 2020 i'm sorry

I imported it in laravel 6.x with success (changed composer.json), very nice repo (it works)! Thanks!

I imported it in laravel 6.x with success (changed composer.json), very nice repo (it works)! Thanks!

What was your method for doing this?


Attempting to inject an unknown injection: 'service:scheduler'

When running tests on a project using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>all of my tests blow up with the following error:
Assertion Failed: Attempting to inject an unknown injection: 'service:scheduler'

Silly me, I just needed to add 'service:scheduler' to the needs of our Controller unit tests!

@kpfefferle 👍


API deprecation

Description
Changes to remove unsupported OV API versions
Issues Resolved
Check List

[ ] New functionality includes testing.

[x] All tests pass ($ rake test).

[x] New functionality has been documented in the README if applicable.

[x] New functionality has been thoroughly documented in the examples (please include helpful comments).

[x] Changes are documented in the CHANGELOG.

Closing it without merging as the changes taken care in  another PR.


new QOS agent is in need for the QOS explorer backend data parsing

https://org.modao.cc/app/c18d1ce7f7baeb9c2483811ea4f0b64b4985de46#screen=s309ec22f78180e908bd973
With new QOS explorer requirement, a new QOS client is in need for the corresponding data parsing.
This part will be done in the qmoon_split as well as the current master branch.

Duplicate of #146


Question: Do I need translate.use('en'); in every component?

Do I need this in every component or just the app module?
        translate.setDefaultLang('en');
         // the lang to use, if the lang isn't available, it will use the current loader to get them
        translate.use('en');

Just in app module is enough. Use it to change to another language.


#337: Template edit button exists

Add frontend button only, no functionality yet
Make sure the UI is responsive on smaller screens

Responsive button created, tests to  be added

Has been merged to staging


Clipboard link to new analysis your added to doesn't work.

I added students to an analysis for them to use in a class. When they go to the clipboard and click the link that says they've been added to an analysis, they are brought to a page that gives the 404 error. However, they are still able to reach the analysis when they use the link in their "previous analysis" page.

The issue is that the message is missing a final / to the url ...


SP counter does not work

When attacking, the SP counter never drops much below the max amount.
When casting a spell, the SP counter is never lowered by the cost of the spell.

Closing due to client rewrite


storyshots: decorators are part of the snapshots

When testing with storyshots, the decorators added with addDecorator are repeated in every snapshots. It would be great if the snapshots contain only the stories.
Is there any way to do it?

I have a branch intended to fix this, but Github is crashing every time I try to make a PR 😕
https://github.com/coreylight/storybook/tree/no-decorators-in-storyshots

@coreylight Did you try to update your fork?
If still no success I can create a branch in storybook repo

@UsulPro How should I update it? It looks like the diff is just massive. I based the branch on release/3.3 due to this particular functionality being affected by wanting to use a snapshot per story, and not 1 big snapshot.

@coreylight is it #1849?
Could you add a description to this PR or close it if something wrong?


Why the use of FP16 instead of BF16 precision?

Hi, thank you for the great work!
I was wondering why the precision used for CogVideoX is FP16, whereas other T2V models such as Open-Sora and Open-Sora-Plan use BF16.
Also, I notice in pipeline_cogvideox.py a comment where # pipe = CogVideoXPipeline.from_pretrained("THUDM/CogVideoX-2b", torch_dtype=torch.bfloat16).to("cuda"), which is a different precision to the one used in the example (that is torch.float16).

Thank you for the swift reply!
I was wondering if there is any ongoing plan for releasing a bf16 version?

Pro will use BF16

Pro will use BF16

请问代码里面要想改成bf16做finetune要怎么修改配置呢


Need more guns

We need more guns that are more common, some I can gather are:

Revolvers
Hunting rifles

Feel free to add more by commenting

Common hunting rifle calibers:
.223
.308
30-06
30-30
.243


Class diagram of the Umple compiler is not directing to the correct javadoc page

The Class diagram of the Umple compiler is directing to the older version of Javadoc page
E.g. Clicking the Position Class in the class diagram will direct to https://cruise.eecs.uottawa.ca/umple/umple-compiler-javadoc/index.html?cruise/umple/compiler/Position.html, which is outdated

To be more specific, the problem is that when certain classes are clicked on in a generated diagram (i.e. from http://metamodel.umple.org) a link URL is being constructed that points to that class as it had existed some years ago when the class was in an previous package, rather than the package where it has been moved. For example 'Point' points to the version of the documentation at cruise/umple/compiler/Position.html rather than at cruise/umple/parser/Position.html
Solutions:

Remove old documentation when regenerating the diagram
Change the linking code so it correctly links to the right package
Currently a Javascript method called Action.selectClass is called with the wrong link from umple-compiler-classDiagram.shtml (and other class diagrams that are generated).  This code has packageName hardcoded to go to cruise/umple/compiler except that it is hardcoded to search for certain vmlClasses in a different package. Ideally, the call to the method should have the package name plus the class name.

The relevant javascript code is in umple-*-classDiagram.shtml in the umplewww directory (which on the server are also copied into the same directory as the user manual)
The Action javascript object is used because all diagrams are generated with Action.selectClass calls with the class name, and for UmpleOnline this is much more sophisticated). If a change is made to add a paclage argument, the same thing would have to be done in scripts/umple_action.js

Here's one way of solving the problem that would not require modifying the diagram generator. Rather than being hard-coded to open certain package directories, the javascript  should first test to see if the file is in the 'compiler' directory, and if so open that. If not, it should search the tree of directories until it finds a matching .html and open that.

I have fixed this by using a php script to look up documentation in packages other than compiler. There will be a pull request that updates some files in umplewww shortly


Redundant .DS_Store and __MACOS exist in the zip file.

It would be better to remove them.

We have changed the compression method. Please download the file and use the following command to extract it:
tar -xzvf OlympiadBench_Dataset.tar.gz
After extraction, the folder will no longer contain those redundant files.


special character

Jodit Version:  4.xxxxx
Browser:
OS:
Is React App:
Reproduced on xdsoft.net:
Code
// A *self-contained* demonstration of the problem follows...

Expected behavior:
Actual behavior:

i am facing lots of issues in jodit editor first is when i open special character modal it's allow only one  character select but  i want to choose multiply characters  in one time


custom callouts rendered to probably some default value

i have my own callout specified using UI in Obsidian.
when i try to use it it seems like following:
(all of these are written using callouts):
first one is provided by you which renders correctly,
second one and third one are mine, they are supposed to be with different icon and colour (same problems with rest of my custom admonitions).

I would normally avoid using callouts, ut the thing is that if i use default way, i.e.,    in that case problem is that although it renders correctly, links in graph view are not showed in case i have link to some other part of notes.

Can you try using lowercase? Just a thought

thank you, refactor to snake case seem solve it almost perfectly.