Source error

i get tis error when i tried to playback my encryoted video. how we should encerypt our video to work with your code?
it is important to me get your answer, I look forward to your reply  :)))))
Playback error
androidx.media3.exoplayer.ExoPlaybackException: Source error
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:717)
at androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:687)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: androidx.media3.exoplayer.source.UnrecognizedInputFormatException: None of the available extractors (FragmentedMp4Extractor, Mp4Extractor, FlvExtractor, FlacExtractor, WavExtractor, AmrExtractor, PsExtractor, OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor, Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor, PngExtractor, WebpExtractor, BmpExtractor, HeifExtractor) could read the stream.{contentIsMalformed=false, dataType=1}
at androidx.media3.exoplayer.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:94)
at androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1044)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:421)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)

Hi there,
Please provide me with your implementation snippet, the encription method
as well as the padding range. Also please let me know if you're decrypting
your file remotly or locally.
Sharing the error log without any further explanation is not going to work.
Bests,
Mohsen
On Mon, 10 Jun 2024, 15:15 marzieNoor, @.***> wrote:

i get tis error when i tried to playback my encryoted video. how we should
encerypt our video to work with your code?
it is important to me get your answer, I look forward to your reply :)))))
Playback error
androidx.media3.exoplayer.ExoPlaybackException: Source error
at
androidx.media3.exoplayer.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:717)
at
androidx.media3.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:687)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by:
androidx.media3.exoplayer.source.UnrecognizedInputFormatException: None of
the available extractors (FragmentedMp4Extractor, Mp4Extractor,
FlvExtractor, FlacExtractor, WavExtractor, AmrExtractor, PsExtractor,
OggExtractor, TsExtractor, MatroskaExtractor, AdtsExtractor, Ac3Extractor,
Ac4Extractor, Mp3Extractor, AviExtractor, JpegExtractor, PngExtractor,
WebpExtractor, BmpExtractor, HeifExtractor) could read the
stream.{contentIsMalformed=false, dataType=1}
at
androidx.media3.exoplayer.source.BundledExtractorsAdapter.init(BundledExtractorsAdapter.java:94)
at
androidx.media3.exoplayer.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1044)
at androidx.media3.exoplayer.upstream.Loader$LoadTask.run(Loader.java:421)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
at java.lang.Thread.run(Thread.java:1012)
—
Reply to this email directly, view it on GitHub
https://github.com/smmousavi8872/MMPlayer/issues/3, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2JVGYY7KYSGTVFNJCDSGTZGWGXHAVCNFSM6AAAAABJCEHEM6VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM2DGNRZGQ2DQNQ
.
 I'll decide to use both of two, but for now I'm trying decrypt remotetly . I decrypted my video by openssl:
openssl enc -aes-128-cbc -in input_file.txt -out encrypted_file.txt -k my_encryption_key -iter 10000 -pbkdf2
and then I use yore code this way:
        val mediaItem = MediaItem.Builder()             .setUri(enc_URL)             .setMimeType(MimeTypes.BASE_TYPE_VIDEO)             .build()         val dataSourceFactory = HttpEncryptedDataSourceFactory(KEY.toByteArray()/*, iv*/)         val mediaSource = ProgressiveMediaSource.Factory(dataSourceFactory).createMediaSource(mediaItem)         player.setMediaSource(mediaSource)         player.prepare()         player.playWhenReady = true
when I run the code I get error that I mentioned.
I am new to the topics of cryptography and decryption, and I would be happy if you could guide me. I eagerly await your response.

Hi again,
Regarding your implementation, I guess the problem refers to  player.PlayWhenRead = true which might result in providing the encrypted
file for the ExoPlayer before the cipher decrypts it.
Please remove it and try to start the player manually where you can make
sure the decryption process is completed, as I did in my source code. Also
please check the following steps are taken flawlessly:
val mediaItem = MediaItem.Builder()
    .setUri(enc_URL)
    .setMimeType(MimeTypes.BASE_TYPE_VIDEO)
    .build()

val iv = // your IV here, in byte array form if you're using IV while the
encryption process
val key = KEY.toByteArray()

val dataSourceFactory = HttpEncryptedDataSourceFactory(key, iv)
val mediaSource =
ProgressiveMediaSource.Factory(dataSourceFactory).createMediaSource(mediaItem)

player.setMediaSource(mediaSource)
player.prepare()

class HttpEncryptedDataSourceFactory(
    private val key: ByteArray,
    private val iv: ByteArray?
) : DataSource.Factory {

    override fun createDataSource(): DataSource {
        val httpDataSource =
DefaultHttpDataSource.Factory().createDataSource()
        return EncryptedDataSource(httpDataSource, key, iv)
    }
}

class EncryptedDataSource(
    private val dataSource: DataSource,
    private val key: ByteArray,
    private val iv: ByteArray?
) : DataSource {

    // Implement necessary methods and handle decryption
}

Bests,
Mohsen
On Sat, Jun 15, 2024 at 1:18 PM marzieNoor @.***> wrote:

you're right! I'll decide to use both of two, but for now I'm trying
decrypt remotetly . I decrypted my video by openssl:
openssl enc -aes-128-cbc -in input_file.txt -out encrypted_file.txt -k
my_encryption_key -iter 10000 -pbkdf2
and then I use yore code this way:
val mediaItem = MediaItem.Builder() .setUri(enc_URL)
.setMimeType(MimeTypes.BASE_TYPE_VIDEO) .build() val dataSourceFactory =
HttpEncryptedDataSourceFactory(KEY.toByteArray()/, iv/) val mediaSource =
ProgressiveMediaSource.Factory(dataSourceFactory).createMediaSource(mediaItem)
player.setMediaSource(mediaSource) player.prepare() player.playWhenReady =
true
when I run the code I get error that I mentioned.
I am new to the topics of cryptography and decryption, and I would be
happy if you could guide me. I eagerly await your response.
—
Reply to this email directly, view it on GitHub
https://github.com/smmousavi8872/MMPlayer/issues/3#issuecomment-2169251259,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2JVG3NMWWSI6SESSBGXR3ZHQEXXAVCNFSM6AAAAABJCEHEM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRZGI2TCMRVHE
.
You are receiving this because you commented.Message ID:
@.***>

Hi,
This error probably refers to a malformed file position exception. After
seeking, you should also use the modifyPosition() method.
On Mon, Jul 15, 2024 at 5:41 PM Yaser Vaziri @.***>
wrote:

Hi mohsen. When i stream encrypted video remotely, if user manually change
seekbar position then it can not play
—
Reply to this email directly, view it on GitHub
https://github.com/smmousavi8872/MMPlayer/issues/3#issuecomment-2228601715,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2JVG6IIB5W4ZCX3XMTL23ZMPKARAVCNFSM6AAAAABJCEHEM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRYGYYDCNZRGU
.
You are receiving this because you commented.Message ID:
@.***>

I think that it handle by expolayer (exoplayer want to load that position of file -seekbar is own of exoplayer-, on the other hand your code {buildRangeRequestHeader function in HttpConnectionMaker} handle it). When i forward about 5seconds or 10seconds {whic is in loded part} it play correctly, but when i come back or forward more than like one minute, then it dot play


feat: Use scoped trace nodes in linarith

Inspired by hacking done with @robertylewis and @hrmacbeth in #19771.
The effect is that the traces messages are now hierarchical; though it's easy not to notice without a better version of https://github.com/leanprover/lean4/pull/6345.

!bench


Should HttpContext implement IFeatureCollection?

Why doesn't it? It would allow users to enumerate features as well. Although Revision would be kinda weird to expose. Some of the properties could be implicit implementation

I think a direct implementation would be awkward, like the indexer that takes a type and returns an object.  Features are an advanced topic that most users won't ever deal with. Why not just add a IFeatureCollection Features { get; } property? And move Get/SetFeature to extensions on IFeatureCollection.

Sounds better.

Dropping out of backlog because it involves breaking changes on the abstract base class.

This keeps coming up as a useful way to create the structures for calling TestServer.Invoke directly.

Ah to avoid going through the HttpClient?

Yes. HttpClient is convenient but it can only handle simple scenarios. Katana had a separate API that let you set up the server data structures directly.


Deprecation warning: CLI options definitions were upgraded with "type" property

Deprecation warning: CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
             - ServerlessWSGI for "port", "host", "disable-threading", "num-processes", "ssl", "command", "file"

Deprecation warning: CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
- ServerlessWSGI for "port", "host", "disable-threading", "num-processes", "ssl", "command", "file"
Please report this issue in plugin issue tracker.
Starting with next major release, this will be communicated with a thrown error.
More Info: https://www.serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA

i have the same problem
CLI options definitions were upgraded with "type" property (which could be one of "string", "boolean", "multiple"). Below listed plugins do not predefine type for introduced options:
 - ServerlessWSGI for "port", "host"
Please report this issue in plugin issue tracker.
Starting with next major release, this will be communicated with a thrown error.
More info: https://serverless.com/framework/docs/deprecations/#CLI_OPTIONS_SCHEMA_V3

this is my environment
Running "serverless" from node_modules
Framework Core: 3.13.0 (local) 3.13.0 (global)
Plugin: 6.2.1
SDK: 4.3.2


The provided model identifier is invalid.

I get this error in this Lambda function: claims-review-bdainvokeverification6ECFF0DF-jNyQhWp058nA
[ERROR]	2024-12-04T23:56:05.234Z	b1414cc9-cca3-4b5c-be55-8bc62f9cf9dd	Couldn't invoke agent. An error occurred (validationException) when calling the InvokeAgent operation: The provided model identifier is invalid.
Additionally the default model in cdk.json is not available in all region esp. us-west-2 where BDA is currently available.

pull request https://github.com/aws-solutions-library-samples/guidance-for-multimodal-data-processing-using-amazon-bedrock-data-automation/pull/44


Add keyword n_tries to maximum_likelihood and maximum_a_posteriori

This PR adds a keyword n_tries to run maximum_likelihood and maximum_a_posteriori from multiple starting points to mitigate problems with local maxima (see #2279). I added two unit tests and updated the doc strings. Please let me know if there are any edits you would like me to make.

Generally, if local minima/maxima are problematic - wouldn't it be better to adjust the optimization method (if possible) or turn to global optimization methods? Or use a less naive multi-start optimization method such as MultistartOptimization.jl (https://docs.sciml.ai/Optimization/stable/optimization_packages/multistartoptimization/)? I'm a bit worried that exposing the functionality in the PR in an official API might make it easier for users to miss these potentially better alternatives.

I was not aware of MultistartOptimization. In that case, it would be better to use that and disregard the PR.

Thanks @devmotion, that looks handy; Sorry @itsdfish that I wasn't aware of that when we talked about this.
We could still use the test case you wrote just to check that MultistartOptimization solves it. Or alternatively use your example in the docs. I feel like this is not going to be the last time local maxima come up, and would be handy to have some code to point at and say "you could try doing this".

@mhauru, no worries! It looks like at least 3 people were unaware of MultistartOptimization.  Let me know if you would like me to reporpose  this PR as a test for MultistartOptimization. I can update later this week.

If you have the time, I'd be happy to merge an extra test on a model that requires multistart to find the optimum. Might convert it into a paragraph in the docs later.


What about Sentinel?

Is there a reason that Microsoft Sentinel is not included in this overview? it is a very important part of a security operations program.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 8a04b555-7473-5d27-b7ed-8fd3e35dabae
Version Independent ID: 8e3c48f6-95d3-4522-32e2-446beeb6c206
Content: Azure Operational Security
Content Source: articles/security/fundamentals/operational-security.md
Service: security
Sub-service: security-fundamentals
GitHub Login: @unifycloud
Microsoft Alias: TomSh

@DeanGross
Thanks for your feedback! We will investigate and update as appropriate.

@DeanGross
You are correct that Microsoft Sentinel is an important part of a security operations program. I am going to assign this case to content author who will update the document accordingly.

@bmansheim
Could you check into this case or give it to the appropriate Team?


Series are plotted outside of plot area for values outside of low/high

In many applications data that is to be plotted includes points that are outside of the plotting region of the chart. For example, one might want to show the graph of a mathematical function like f(x) = x^3 over the interval x = [-5, 5]. The minimum and maximum y values for this case would be f(-5) = -125 and f(5) = 125, but we might want to have a 1:1 aspect ratio (showing y values on the interval y = [-5, 5]) or otherwise "zoom in" on different parts of the graph. However, if one attempts to do this in Chartist right now it seems to continue drawing the series outside of the area where it belongs.
To demonstrate the problem, here is a very simple case based on the "Simple Line Chart" example where the low: 5 option has been specified. As you can see the second and third series both draw over the label area where their values are less than 5.
http://jsbin.com/pahiviw/edit?html,js,output
In my application I added a quick hack to work around this wherein I modified the projectValue function so that if the result is negative it is set to zero instead. However, this has the unfortunate side effect that it shows an incorrect value on the chart (the value isn't really zero). I tried using a value like undefined or NaN but this seemed to cause other problems (SVG line element got invalid length attribute or something like that).
It would be great if Chartist would "clip" the series to the plot area so that values outside of it are not shown.

+1 to this request. We're currently using chartist to draw a line plot over a fairly large range of x-values. In order to see the artifacts that may become important at runtime, we need to allow the user to adjust the bounds of the x-axis to get additional detail. Currently, if we adjust the lower x-axis bound to a higher value, the line draws through the left edge of the graph and over the y-axis label. I would expect the line to stop drawing at the edge of the graph, at the solid line for the y-axis.

+1

Here's a working example (built of your js bin) using the on draw event
Basically, it determines the chart area, appends a clipPath element to the root svg element, then applies that clipPath to each element within a series (excludes gridlines and labels)

@mkosichek Thanks for your effort. However, I opened this issue more than 1 year ago and am actually no longer using Chartist (plotly.js was a better fit for my use cases), so I'm going to close this.


[SPARK-46111][DOCS][PYTHON] Add copyright to the PySpark official documentation.

What changes were proposed in this pull request?
This PR proposes to add the Apache Spark Foundation copyright notice to the bottom of the PySpark official documentation.
Why are the changes needed?
Our current documentation is missing the copyright. The addition of the copyright notice is necessary to ensure compliance with the Apache Software Foundation's requirements for project documentation.
Does this PR introduce any user-facing change?
No API changes, but users will now see the Apache Spark Foundation copyright notice at the bottom of each page of the PySpark documentation as below:
Before

After

How was this patch tested?
Manually build the docs and confirm.
Was this patch authored or co-authored using generative AI tooling?
No.

cc @srowen FYI


chore: disable disconnect buttons when isDisconnecting is true

Changes

Disable disconnect buttons in connect modal and chain modal

Super useful when using WalletConnect since it takes a bit time to have your wallet disconnected because of their socket delay. This will improve the UX since a lot of users are stuck into disconnecting mode and are spam clicking to have their wallet disconnected.

@magiziz For that WalletConnect scenario, I think what might work better is an "optimistic disconnect".  When the user taps disconnect, we put the RainbowKit modal into the disconnected state and then trigger the useDisconnect hook internally. This way the user is never blocked; they don't need to return to their wallet to disconnect anyway. We may need a retry to ensure Wagmi's state is in sync if the websocket were to fail

I started to look into a refactor here:

I don't think RainbowKitWagmiStateContext is necessary as we have the existing useConnectionStatus hook
useDisconnect also comes with a status prop that we could listen to globally and reflect in useConnectionStatus
Throughout the codebase we use isConnected and isConnecting from useAccount; we would want to consolidate this to only use useConnectionStatus
As long as the disconnect status flips to pending after a user was in a connected status, then we know they're in the disconnecting state
We would just want to treat disconnecting like existing connection status disconnected throughout the uses of that hook.


fix: awscli arch is hardcoded (aarch64 broken)

Issue #, if available: #358
Description of changes: Using standard way to detect ID of system architecture (uname -m), fix hardcoded x86_64 ID, which is not working for ARM architectures.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

You (or anyone else) are more than welcome to take this change for your own PR 😄

FYI, looks like #332 does this


chore: Add excludeCluster parameter to diagnostics API

Description
We already have cluster parameter which works nicely when you need only a few clusters data. However, when customer has >10 clusters listing all of them becomes obnoxious.
You can only use either cluster or excludeCluster parameter(so either download diag bundle for all specified clusters or for all clusters except specified).
roxctl command flag will be added in the following PR.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
Here I tell how I validated my change
TBD
Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/retest


Use devaudit.yml file to customize audit behavior.

DevAudit requires a mechanism to customize its behavior during an audit run. The initial idea is to use a single YAML file named .devaudit (now devaudit.yaml) which can either be searched for in the root directory of a audit target, or is specified explicitly on the command-line using the --profile parameter. This profile file contains different rules that customize the behavior of the  program during its audit run for a particular audit target,
The first kind of behavior that needs customization is the ability to define exclusions to vulnerability findings. Exclusion rules could look like:
- title:  Exclude JSON.Net packages above version 10 from audit
  type: exclude
  target: nuget
  match_name: Newtonsoft.Json
  match_version: > 10

- title:   Exclude rule id 1 from PostgreSQL audit
  type: exclude
  target: postgreql
  match_id: 1

Update 1: The file will be named devaudit.yaml to conform to the YAML spec. Basically the user will be able to specify the complete set of parameters for the audit through this file.

Closing for now, filtering on package source name and version works.


Can't using FSDP method

System Info
PyTorch version: 2.0.1+cu117
Is debug build: False
CUDA used to build PyTorch: 11.7
ROCM used to build PyTorch: N/A
OS: Ubuntu 20.04.4 LTS (x86_64)
GCC version: (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Clang version: Could not collect
CMake version: version 3.19.8
Libc version: glibc-2.31
Python version: 3.10.10 | packaged by conda-forge | (main, Mar 24 2023, 20:08:06) [GCC 11.3.0] (64-bit runtime)
Python platform: Linux-5.4.15-1.el7.elrepo.x86_64-x86_64-with-glibc2.31
Is CUDA available: True
CUDA runtime version: 11.3.58
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA A100-SXM4-80GB
GPU 1: NVIDIA A100-SXM4-80GB
GPU 2: NVIDIA A100-SXM4-80GB
GPU 3: NVIDIA A100-SXM4-80GB
GPU 4: NVIDIA A100-SXM4-80GB
GPU 5: NVIDIA A100-SXM4-80GB
GPU 6: NVIDIA A100-SXM4-80GB
Versions of relevant libraries:
[pip3] mypy-extensions==1.0.0
[pip3] numpy==1.23.5
[pip3] torch==2.0.1
[pip3] torchvision==0.15.1
[conda] numpy                     1.23.5                   pypi_0    pypi
[conda] torch                     2.0.1                    pypi_0    pypi
[conda] torchvision               0.15.1                   pypi_0    pypi
Information

[X] The official example scripts
[ ] My own modified scripts

🐛 Describe the bug
I run the following command:
torchrun --nnodes 1 --nproc_per_node 7  llama_finetuning.py --enable_fsdp --model_name models_hf/llama2-13B-
hf --dist_checkpoint_root_folder model_checkpoints --dist_checkpoint_folder ./finetuned_model/llama-2-13B

the 13B model is downloaded from the official website.
I've transformed the model to hf style.
There is no bug when training the 7B model.
Error logs
ERROR:torch.distributed.elastic.multiprocessing.api:failed (exitcode: -9) local_rank: 6 (pid: 730) of binary: /data/Anaconda/anaconda3/envs/autogpt/bin/python3.10
Traceback (most recent call last):
  File "/data/Anaconda/anaconda3/envs/autogpt/bin/torchrun", line 8, in <module>
    sys.exit(main())
  File "/data/Anaconda/anaconda3/envs/autogpt/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 346, in wrapper
    return f(*args, **kwargs)
  File "/data/Anaconda/anaconda3/envs/autogpt/lib/python3.10/site-packages/torch/distributed/run.py", line 794, in main
    run(args)
  File "/data/Anaconda/anaconda3/envs/autogpt/lib/python3.10/site-packages/torch/distributed/run.py", line 785, in run
    elastic_launch(
  File "/data/Anaconda/anaconda3/envs/autogpt/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 134, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/data/Anaconda/anaconda3/envs/autogpt/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 250, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
llama_finetuning.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2023-08-01_15:43:07
  host      : jyc33
  rank      : 6 (local_rank: 6)
  exitcode  : -9 (pid: 730)
  error_file: <N/A>
  traceback : Signal 9 (SIGKILL) received by PID 730
============================================================

Expected behavior
the training process can be executed.

can you pls give it a try to the HF checkpoint from here, to see if the issue persist.

@HamidShojanazeri It seems that this url is wrong.

Is this model equal to the 13B-chat-hf model on HuggingFace?  https://huggingface.co/meta-llama/Llama-2-13b-chat-hf/tree/main

Leaving the checkpoints here, any model with -hf is the converted version.


false format of saving the key on linux

Hey there,
I am using your plugin to store a securing key like this:
 const FlutterSecureStorage secureStorage = FlutterSecureStorage();     if (!await secureStorage.containsKey(key: 'key') &&         await secureStorage.read(key: 'key') == null) {       await secureStorage.write(           key: 'key', value: base64UrlEncode(Hive.generateSecureKey()));     }     var encryptionKey =         base64Url.decode(await secureStorage.read(key: 'key') as String);
Now I got a ticket which mentiones, that the key is stored in a wrong format (on linux) which leads in an unreadable keyring and a new one has to be created.
Please be so kind and have a look at:
https://gitlab.com/j0chn/nextcloud_password_client/-/issues/29
The ticket is described pretty well.
Thank you very much !!!

Nearly one year is over now.
Did you have a chance to check this topic?

I am closing all older issues. If this issue still exists in the latest version, please let me know.


morphologica is incompatible with OpenCV 4+

As reported by @tindzk there are some OpenCV function calls made in morphologica which have been deprecated in OpenCV 4+. Fix this.

Fixed with commit 59204c2

Thanks. This fixes the compilation under Arch Linux, but linking still fails. I will open a separate issue.

Ok, so this one seems to be ok now.


Private mode button doesn't work

The latest betas broke it. I have it set as a left url bar button on bottom if it matters.

fixed with c481a6d0ff48cab2d3ceca2b26a886edea0d3c16


unnecessary async breaking useFakeTimers

Describe the bug
When an async function has no promise inside, tests with vi.useFakeTimers are not running.
Reproduction
StackBlitz
Code:
export function wait(ms: number) {
  return new Promise((resolve) => {
    return setTimeout(resolve, ms / 20);
  });
}

export function getLastSync(arr: number[]) {
  return arr.at(-1);
}

export async function getLastAsync(arr: number[]) {
  return arr.at(-1);
}

const myFunction = async (arr: number[]) => {
  // not working
  const lastItem = await getLastAsync(arr);

  // working
  //const lastItem = getLastAsync(arr);
  await wait(150);
  console.log("lastItem", lastItem);
  return "done";
};

test("function resolves within timeout", async () => {
  vi.useFakeTimers();

  const arr: number[] = [1, 2];

  const promise = myFunction(arr);

  vi.advanceTimersByTime(150);

  const result = await promise;
  expect(result).toBe("done");
});

System Info
System:
    OS: macOS 15.0.1
    CPU: (10) arm64 Apple M2 Pro
    Memory: 86.53 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 16.19.1 - ~/.nvm/versions/node/v16.19.1/bin/node
    Yarn: 1.22.21 - ~/.nvm/versions/node/v16.19.1/bin/yarn
    npm: 9.5.0 - ~/.nvm/versions/node/v16.19.1/bin/npm
    pnpm: 8.14.3 - ~/.nvm/versions/node/v16.19.1/bin/pnpm
  Browsers:
    Chrome: 129.0.6668.103
    Safari: 18.0.1
  npmPackages:
    @vitejs/plugin-react: ^4.3.2 => 4.3.2
    @vitest/coverage-v8: ^2.1.2 => 2.1.2
    vite: ^5.4.8 => 5.4.8
    vitest: ^2.1.2 => 2.1.2

Used Package Manager
npm
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

From what I can see in the reproduction, this works correctly. The wait wasn't called yet when you called vi.advanceTimersByTime because the await getLastAsync is blocking the thread. When you turn it into const lastItem = getLastAsync(arr);, the JavaScript sync execution stops on the wait like you expect. If your code always awaits a sync function, you can try awaiting the queueMicrotask.


Subscription: thrift zero-copy optimization for SubscriptionSessionConnection

WIP...

Thanks a lot for working on this! Any Tesing result?

Still in WIP status (the current implementation cannot guarantee the security of deserialization 😶🌫), performance test results will be provided after complete implementation.


AWS NLB - ingress

Ingress load balancer set to an AWS NLB
Testing
deployed/destroyed/applied all addons.
ref: #130

Thanks, but I have a branch from November I've been testing with and I'm probably going to use that one.

This doesn't work in practice. The target group will fail health checks. Additionally, Ingress should load balance both 80 and 443 traffic so that HTTP to HTTPS redirects work properly for apps exposed via Ingress.
Going with #141


Arch.exe arguments not working

Describe the issue
exe arguments (config, run, get) not working
Returns arch: Unknown option -- default-user alessander
To Reproduce
run Arch.exe with any argument specified on README.md from cmd and/or powershell and/or inside Arch itself
Expected behavior
Should be able to set config or get info regarding wsl instance
Enviroment:

Windows build number: 10.0.18363.592
Security Software: McAfee LiveSafe
WSL version 1/2: 1
ArchWSL versión: ???
ArchWSL Installer type: appx
Launcher version [e.g. 19030700] (Type Arch.exe version at a Command Prompt): typing 'Arch.exe version' returns 'extra operand 'version''

Additional context

If you use appx, can you update to the latest version?
Download latest appx and please install it...

It looks you are not calling Arch.exe
Can you check which command is being called? which arch.exe

Describe the issue
exe arguments (config, run, get) not working
Returns arch: Unknown option -- default-user alessander
To Reproduce
run Arch.exe with any argument specified on README.md from cmd and/or powershell and/or inside Arch itself
Expected behavior
Should be able to set config or get info regarding wsl instance
Enviroment:

Windows build number: 10.0.18363.592
Security Software: McAfee LiveSafe
WSL version 1/2: 1
ArchWSL versión: ???
ArchWSL Installer type: appx
Launcher version [e.g. 19030700] (Type Arch.exe version at a Command Prompt): typing 'Arch.exe version' returns 'extra operand 'version''

Additional context

Probably, your problem is that you have something like Git Bash or any other terminal emulator installed, which has conflicting arch.exe executable in Path.


fix: deploy to regular (non--a) clusters

As a part of migrating this infrastructure into Terraform, we're creating new clusters that don't have the -a suffix. This updates the main deploy step to deploy to the non -a clusters, but keeps around a deploy step to use them if we need it.

@paulswartz Do you happen to know if we are safe to remove the deploy-a action at this point?

@paulswartz Do you happen to know if we are safe to remove the deploy-a action at this point?

@arkadyan you are, yes!


Feature/merged results

Codecov Report

Merging #28 (be9a710) into master (f1b3241) will increase coverage by 0.62%.
The diff coverage is 87.08%.

@@            Coverage Diff             @@
##           master      #28      +/-   ##
==========================================
+ Coverage   80.68%   81.31%   +0.62%
==========================================
  Files          37       39       +2
  Lines        3381     3569     +188
  Branches      787      828      +41
==========================================
+ Hits         2728     2902     +174
- Misses        474      483       +9
- Partials      179      184       +5

Impacted Files
Coverage Δ

metrics_layer/core/model/project.py
87.86% <55.55%> (+0.20%)
:arrow_up:

metrics_layer/core/model/field.py
82.95% <84.61%> (-0.16%)
:arrow_down:

metrics_layer/core/sql/single_query_resolve.py
84.87% <84.87%> (ø)

metrics_layer/core/sql/query_merged_results.py
87.87% <87.87%> (ø)

metrics_layer/core/sql/resolve.py
93.47% <93.58%> (+8.99%)
:arrow_up:

metrics_layer/core/sql/query_generator.py
92.05% <100.00%> (+0.11%)
:arrow_up:

metrics_layer/core/model/explore.py
91.39% <0.00%> (+2.15%)
:arrow_up:

metrics_layer/core/model/base.py
94.87% <0.00%> (+5.12%)
:arrow_up:

Continue to review full report at Codecov.

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


If a connection is created without any recipient_keys messages will be sent in plaintext

A connection can be created without recipient_keys, and when it is, messages are sent to that service_endpoint in plain text.
acapy should probably log an error or raise an exception when messages are being sent in plain text, or possibly on connection creation if no recipient_keys are provided.

Closing as stale -- reopen if needed.


Add LangitKetujuh Linux logo

based on https://github.com/dylanaraps/neofetch/pull/1824.
ascii logo with letter "L7" as LangitKetujuh linux identity.

Thanks.


impossible to hide the status bar

Problem description
Impossible to hide the statusBar
Expected behavior
statusBar can be hidden
Environment

Tabris.js version: 3.4.0
Device: Huawei P10 lite
OS: Android 8

Code snippet
const{statusBar} = require("tabris");
statusBar.displayMode = "hide";

Can confirm on Android 8.1 - Xiaomi Redmi 5 Plus

import { statusBar } from 'tabris';

statusBar.theme = 'light';
statusBar.displayMode = 'hide';

It works in the dev client but in a self build app the 'hide' value has the effect of 'float'.

And what should we do? Because on version 3.3.0 for example it works perfectly.

That is true. We will the regression in the next release.

@ishigo1987 One insight... If you need to have it working right now, you can define your own theme. This will fix this issue atm.

I already use a custom theme and it doesn't work, I came back to version 3.3.0 for this reason and also because the 3.4.0 debugger is quite annoying, visibly (UI) unstable with the url suggestion bar that pops up at every moment causing the keyboard to exit.

The issue has been fixed in the latest nightly build (available tomorrow).
With the changes in Tabris.js 3.4 the Android client now directly displays its ui inside the CordovaActivity whereas previously it included its own Activity. Thereby any unexpected behavior performed inside the CordovaActivity needs to be patched to fit out use-case.

Ok I understand thank you, could I please know what motivated your choice to move from one activity to a fragment? Does this change lead to a performance boost?

It speeds up the launch time but more importantly it allows to embed tabris into existing apps. In addition it makes it easier to call other apps and to receive results from other apps.


editor.tokenColorCustomizations not applying font style

VSCode Version: Code 1.19.3 (7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba, 2018-01-25T10:25:01.248Z)
OS Version: Darwin x64 17.4.0
Extensions:

Extension
Author (truncated)
Version

vsc-material-theme
Equ
1.3.0

vscode-intelephense-client
bme
0.8.5

phpunit
ema
2.1.1

php-debug
fel
1.12.1

composer
ika
0.7.1

vs-code-phpunit-snippets
jam
0.0.2

php-docblocker
nei
1.3.3

java
red
0.18.1

open-in-browser
tec
1.1.0

vscode-java-debug
vsc
0.6.0

vscode-java-pack
vsc
0.2.0

(5 theme extensions excluded)

I am not seeing the fontStyle changes I am trying to apply. The Theme I use (Nord Extra Dark) has applied italics in some places, and I am trying to set them to normal instead. I have removed the "fontStyle": "italic" from each of the following yet there is no change in the editor.
Is there a way to do this that will override a theme's choices? It seems simply not setting it is allowing the theme to rule in the case of fontStyle.
Steps to Reproduce:

Add the following to the settings:

    "editor.tokenColorCustomizations": {
        "textMateRules": [
            {
                "scope": [
                    "variable.language.php"
                ],
                "settings": {
                    "foreground": "#bf616a",
                }
            },
            {
                "scope": [
                    "variable.language.this.php"
                ],
                "settings": {
                    "foreground": "#bf616a",
                }
            },
            {
                "scope": [
                    "variable.language.this.php"
                ],
                "settings": {
                    "foreground": "#bf616a",
                }
            }
        ]
    },

Save and close -> open VS Code, as looking at it on-the-fly has no change. Still no change in this case either.

Can you try to set "fontStyle": ""?

You know, I just found that out as you typed the comment. Thank you!
I feel this whole area is lacking in documentation, as the hint if you type an incorrect value doesn't mention leaving it empty to override it.

Seems logical to me to override only specified properties.
Validation probably disabled because values can be compound: "bold underline", "italic underline bold"...
Some documentation is there:
https://code.visualstudio.com/docs/extensions/themes-snippets-colorizers#_textmate-theme-rules
https://code.visualstudio.com/blogs/2017/02/08/syntax-highlighting-optimizations#_textmate-themes

Probably can be validated against list:
""
"bold"
"underline"
"italic"
"bold italic"
"italic bold"
"bold underline"
"underline bold"
"italic underline"
"underline italic"
"bold italic underline"
"italic bold underline"
"underline bold italic"
"bold underline italic"
"italic underline bold"
"underline italic bold"

fontStyle is an optional property. So it is valid to skip it. Skipping it means that you do not wish to overwrite the font style (i.e. you go with the settings defined in the theme). The same applies for foreground, it is optional. Skipping it means that you do not wish to overwrite the color.
@aeschli For the schema considerations.

I will update the description for the property to mention the empty string.
Note that we already document and validate all valid values:

Thanks all.

Why can't we change the fontFamily here?  For example, I'd like to change the comparison operator to font Fira Code in order to turn on Ligatures just in this spot.
  "editor.tokenColorCustomizations": {
        "[Dark++ Italic]": {
            "textMateRules": [
                {
                    "name": "LigsArrow",
                    "scope": [
                        "keyword.operator.comparison",
                        "meta.block",
                        "meta.arrow",
                        "meta.var.expr",
                        "source"
                    ],
                    "settings": {
                        "foreground": "#FF0000",
                        "fontFamily": "Fira Code"
                    }
                },


Improving the "A dependency must exist but one is not specified" debug call-back

Consider a renderpass X which is built of 2 subpasses. Each subpass uses different fragment & vertex shaders, but they both render to the same attachment. The draw calls fired from within these subpasses render to non-overlapping locations in screen space, so I'm assuming no subpass dependency is needed to synchronize execution of both subpasses.
At vkCmdBeginRenderPass() call time, I'm being informed by Core Validation layer that "A dependency between subpasses 0 and 1 must exist but one is not specified" and "A dependency between subpasses 1 and 0 must exist but one is not specified". This is being reported as an error.
Now, I understand that there's no feasible way for the layer to determine the draw calls do not rasterize geometry to overlapping locations. However, the debug callback's level indicates a pretty serious situation, whereas in the discussed use case it's plainly wrong.
Can we consider either reducing the level of the call-back to a warning, or changing the message to indicate the call-back may be wrong if subpasses are actually permitted to be executed in parallel?

Dominik - this is explicitly disallowed by the specification, the loader and validation layers are behaving correctly:
As stated earlier, render passes must include subpass dependencies which (either directly or via a subpass dependency chain) separate any two subpasses that operate on the same attachment or aliasing attachments, if at least one of those subpasses writes to the attachment. ...

Gotcha. Thanks for spotting this.


Add first version of workflow block

Description
Workflows are an important part when it comes to integrations. This PR adds durable workflows made on top of deco's durable workflows engine. Minor changes were required in the durable engine to make this possible.
This pr includes:

The workflow block
The workflow block is an ordinary block as the others. You can implement an workflow and call actions and loaders inside it, everything is persisted backed by the durable workers engine.

Workflow actions
Four new built-in actions and two new loaders were added, they are: $live/actions/workflows/run.ts and $live/actions/workflows/start.ts (accepting naming suggestions), the difference is: The start action is responsible for triggering an workflow executions while the run.ts action is where the magic happens, the workflow engine uses it to actual execute the workflow step by step. $live/actions/workflows/cancel.ts and $live/actions/workflows/signal.ts to cancel and signal workflows, a new loader that gets the workflow result $live/loaders/workflows/get.ts, and for reading the workflow events $live/loaders/workflows/events.ts

Minor changes on invoke methods to allow extensibility

A new way for invoking actions and loaders by just passing out the key as a URL parameter and props as the request body.

A simple file system adapter for testing with local configuration

The workflow postman collection
You need to run the durable workflows locally first.
{
	"info": {
		"_postman_id": "9e31a2a7-1200-43bc-99df-6b98c01a3c76",
		"name": "workflows -live",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "4036656"
	},
	"item": [
		{
			"name": "Start Workflow",
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript"
					}
				},
				{
					"listen": "test",
					"script": {
						"exec": [
							"var jsonData = JSON.parse(responseBody);",
							"postman.setEnvironmentVariable(\"execution_id\", jsonData.id);"
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"workflow\": \"deco-sites/fashion/workflows/simple.ts\",\n    \"props\": {\n        \"sleepTime\": 3000\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:8000/live/invoke/$live/actions/workflows/start.ts",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"live",
						"invoke",
						"$live",
						"actions",
						"workflows",
						"start.ts"
					]
				}
			},
			"response": []
		},
		{
			"name": "Cancel Workflow",
			"event": [
				{
					"listen": "prerequest",
					"script": {
						"exec": [
							""
						],
						"type": "text/javascript"
					}
				}
			],
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"executionId\": \"{{execution_id}}\",\n    \"reason\": \"the cancellation reason\"\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:8000/live/invoke/$live/actions/workflows/cancel.ts",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"live",
						"invoke",
						"$live",
						"actions",
						"workflows",
						"cancel.ts"
					]
				}
			},
			"response": []
		},
		{
			"name": "Signal Workflow",
			"request": {
				"method": "POST",
				"header": [],
				"body": {
					"mode": "raw",
					"raw": "{\n    \"signal\": \"my-signal\",\n    \"executionId\": \"{{execution_id}}\",\n    \"payload\": {\n        \"newValue\": 10\n    }\n}",
					"options": {
						"raw": {
							"language": "json"
						}
					}
				},
				"url": {
					"raw": "http://localhost:8000/live/invoke/$live/actions/workflows/signal.ts",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"live",
						"invoke",
						"$live",
						"actions",
						"workflows",
						"signal.ts"
					]
				}
			},
			"response": []
		},
		{
			"name": "Get workflow",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://localhost:8000/live/invoke/$live/loaders/workflows/get.ts?id={{execution_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"live",
						"invoke",
						"$live",
						"loaders",
						"workflows",
						"get.ts"
					],
					"query": [
						{
							"key": "id",
							"value": "{{execution_id}}"
						}
					]
				}
			},
			"response": []
		},
		{
			"name": "Get workflow events",
			"request": {
				"method": "GET",
				"header": [],
				"url": {
					"raw": "http://localhost:8000/live/invoke/$live/loaders/workflows/events.ts?id={{execution_id}}",
					"protocol": "http",
					"host": [
						"localhost"
					],
					"port": "8000",
					"path": [
						"live",
						"invoke",
						"$live",
						"loaders",
						"workflows",
						"events.ts"
					],
					"query": [
						{
							"key": "id",
							"value": "{{execution_id}}"
						}
					]
				}
			},
			"response": []
		}
	]
}

Approved by @matheusgr async


CI 1.39 release notes.

This PR adds CI 1.39 release notes and an update to 1.38 release notes.
Checklist

[x] Successful preview build.
[x] Code owner review.
[x] No merge conflicts.
[x] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66b232b35ce61227a9323bb0--harness-developer.netlify.app

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: dewan-ahmed:x: nofarbYou have signed the CLA already but the status is still pending? Let us recheck it.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66b245d324c29e123ed56b14--harness-developer.netlify.app


Instrumentation Style Guide

@open-telemetry/ruby-contrib-maintainers This PR feels like it is compensating a bit for a lack of hooks in the request/response execution stack in Net::HTTP like in other libraries like Faraday Middleware.
Unlike with those libraries, these hooks will execute globally for all instances of Net::HTTP and cannot be customized for a specific execution path. I think we need to provide some additional examples for our users on how to extend the functionality of the instrumentations, e.g. writing a custom middleware or using the shared context helpers.
The PR also makes use of private methods, which has a small risk of re-implementing methods that exist in the target library we are patching. This is also true for other instrumentations where we not only define private methods but also constants and instance variables:

https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb#L52
https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/trilogy/lib/opentelemetry/instrumentation/trilogy/patches/client.rb#L9

Although this has not been a problem so far, I am concerned we may run into some use cases where a new release of a library will end up conflicting with our patches and may go under the radar for a while.
I would like to get some feedback from y'all about this and see if it makes sense for us to start establishing a more rigid instrumentation style/design guide to help maintainers build more sustainable instrumentations.
Thoughts?

This is a great point, and I think you're dead on. I think a style guide for writing instrumentations would be great, as would the examples for custom middleware/shared context helpers. Perhaps the example section of each instrumentation's README should call out what the different examples demonstrate?

We talked about this in the sig a tiny bit. Here are some notes.

@plantfansam In the interest of not losing track of the suggestions from the google doc, I've copied them in here:
From @robbkidd:

Performance consciousness

Don’t allocate strings willy nilly
Bigger methods are OK

"dont patch private methods in dalli bc the maintainer will crush your dreams”
Use prepend instead of method aliasing

Intermingling the two is recipe for disaster

From @mwear:

Including instrumentation should not result in new exceptions being raised in any scenarios

Explicit or implicit raise

Flawless, perfect, performant code
Link to OTEL error handling docs

Makes rolling out changes pretty easy

No attribution:

Hard rules vs. guidelines
Would be nice to add scaffolding to profile contributions

Ruby-bench could be a good thing
1st step could just be providing code snippet for people to use to generate profiling data

Could be great to have new instrumentations include screenshots of trace views

A few thoughts on the notes-from-the-google-doc:

Use prepend instead of method aliasing

Personally I think this is important enough that we should prohibit it via linter (of course, we can allow it on a case-by-case basis). 👍 / 👎 ?

Flawless, perfect, performant code
Ruby-bench could be a good thing
1st step could just be providing code snippet for people to use to generate profiling data

We should probably have performance profiling for things anyways... and we should probably have it for the main repo too. Then the instrumentation style guide could be "extend the benchmarking system to cover your new instrumentation and make sure the results are appropriate". Thoughts?

Agreed on both counts - we could write something for rubocop if we want. And benchmarking shouldn't block the style guide either! :)


Wrongly mask out eos tokens during training

I notice that TikTokenTokenizer ALWAYS mask out eos tokens in tokenize_messages, thus that might bring caveats where the llama3 models NEVER learn when to STOP.
This is also different from how official llama-recipes did:
https://github.com/meta-llama/llama-recipes/blob/5f11aeb88ab87a5258112a6d5e5b41de93f705c3/src/llama_recipes/datasets/alpaca_dataset.py#L53-L62
where EOS is NOT set to IGNORE_INDEX

Thanks for opening this issue! We are following up with Llama3 authors to confirm whether this is the intended behavior, will follow up here once we have an update.

To summarize the discussion, I believe we are handling this correctly. There are still EOT and EOM tokens corresponding to end-of-turn and end-of-message, and EOT token is marked as a stop token for generation (see here). During training, these are not always masked like EOS is (see here). I can see that it is a bit unintuitive to always mask EOS like this, and I think care needs to be taken to make sure our TikTokenTokenizer's tokenize_messages API is not used out of context or mix-and-matched with other tokenizers that will expect different handling of EOS.
@jxmsML please let me know if you still have concerns around the usage here. Also open to any recommendations on how we can make this a bit clearer. Thanks again!


Card type with links

I believe I know the answer to this but will ask any way.
Besides account linking can any other form of links be included.
Eg. "Visit our website for more info"

This is really a question for an AWS doc/forum/etc. Let us know if you find the answer.

The answer is there is no answer, they don't seem to want to commit to anything which is a shame


Site permissions query returns 200 OK and an empty response

Querying site permissions return 200 OK and an empty response

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

ID: 84ceb9ba-94da-4909-6b6d-82b6c5c112e0
Version Independent ID: 01c96dd9-45f7-50d9-a899-baf6ce7faedb
Content: List permissions - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/site-list-permissions.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @barrysh
Microsoft Alias: MSGraphDocsVteam

Same issue here.

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


Clarify build instructions are for ghc-9.0 branch

Tried to build ghc-head using these instructions before realizing that the "GHC == 9.0" requirement applies specifically to the ghc-9.0 branch. (I presume that building ghc-head actually requires a GHC that one has built from the latest GitLab source.)
I think this augmentation of the instructions would help clarify the situation for newcomers.

Hi Tom, thanks for the contribution! :sparkles:


Has anyone written an angular wrapper?

Are there any angular wrapper implementations of slickgrid that are written yet?

Here is the Angularjs version


EMQ fails to start if run under a different linux user than that which first ran it

Environment

OS: Linux: Ubuntu 16.04 LTS  (Xenial Xerus)
Erlang/OTP: 7.3
EMQ: 2.0.5

Description
Context
I installed EMQ on Ubuntu 16.04 successfully from the 2.0.5 download zip file. It ran fine in both console mode and daemon (./bin/emqttd start) mode, using my normal working Linux userid, and responded appropriately to ./bin/emqttd stop command. So I set up a dedicated linux userid for the daemon to run under and changed the permissions of the emqttd directory appropriately.
Error
I could not get it to start under that userid. It would run in console mode but not as a daemon:confounded:.
Diagnostic information
No error messages were being logged to the ./log  directory, and the only process that would start was ./erts-7.3/bin/epmd -daemon. A status query via ./bin/emqttd_ctl simply reported that it wasn't responding to pings.
Initial Resolution
I eventually located a permissions error being logged to the syslog. (run_erl[nnn]: errno=13 'Permission denied'#012Cannot create FIFO<EMAIL_ADDRESS>for writing. )
Attempts to open files in<EMAIL_ADDRESS>were failing, as this directory existed and was owned by the userid that I had initially used to test-run the software.
Removing that directory provides a work-around for the issue:relieved:.
Suggested enhancement
It looks to me as if ./erts-7.3/bin/run_erl is creating the FIFO directory, but not removing it on exit. This may be by design, as a start-up efficiency measure, or by accident, simply being missed in the clean-up code.
If the latter, the fix is obvious. If the former, it may be enough to catch the error on creation of the FIFO and report it into the crash.log. The frequency of occurrence isn't such that it requires significant coding effort, but some guidance to the user would avoid significant waste of time when it does occur.
Regards
Brian Marriott

@marriotb Thanks for the detailed issue report. We will improve the installation and release deb and rpm packages later.

@marriotb Please help review the fix: https://github.com/emqtt/emq-relx/commit/0780606ef9edd2d81dd1625248558de9c3928e4f


panResponder calls move handlers while simple tapping

I'm using pan responder to handle touches and I see that it raises move events while simple tapping on Android
please see code above
export default class extends Component {
    componentWillMount() {
        this._panResponder = PanResponder.create({
            onStartShouldSetPanResponder: this._handleStartShouldSetPanResponder,
            onMoveShouldSetPanResponder: this._handleMoveShouldSetPanResponder,
            onPanResponderGrant: this._handlePanResponderGrant,
            onPanResponderMove: this._handlePanResponderMove,
            onPanResponderRelease: this._handlePanResponderEnd,
            onPanResponderTerminate: this._handlePanResponderEnd,
        });
    }

    _handleStartShouldSetPanResponder = (e, ges) => {
        console.log("should start", e.nativeEvent, ges);
        return false;
    };
    _handleMoveShouldSetPanResponder = (e, ges) => {
        console.log("should move", e.nativeEvent, ges);
        return true;
    };
    _handlePanResponderGrant = e => {
        console.log("grant", e.nativeEvent);
    };
    _handlePanResponderMove = e => {
        console.log("move", e.nativeEvent);
    };
    _handlePanResponderEnd = e => console.log("end", e.nativeEvent);

    render() {
        return (
            <View style={{flex: 1, justifyContent: "center", alignItems: "center", backgroundColor: "#eee"}} {...this._panResponder.panHandlers}>
                <TouchableOpacity onPress={() => alert("click")}><Text>click</Text></TouchableOpacity>
            </View>
        );
    }
}

I want to handle touch moves only and single taps should be passed to child component
But I see that it is quite difficult to do single tap (so it will be handled by TouchableOpacity) Because most of the time when I tap my device, move events are raised by PanResponder so TouchableOpacity doesn't works.
I tried to distinguish single taps and moves in onMoveShouldSetPanResponder handler (so I can return false in single tap case) but I see no difference in event argument
I think that timeout between tapping and raising move event is too small and should be increased (or maybe configured)

React Native version: 0.44
Platform: Android
Development Operating System: Windows

onMoveShouldSetPanResponder: (e, gestureState) => {
return Math.abs(gestureState.dx) >= 1 || Math.abs(gestureState.dy) >= 1;
}

@karpoff 您的这个问题解决了吗？？？怎么解决的？？？


Missing csv file?

Thanks for sharing this. create_cached_image.py requires training_image_annotations.csv, which is not present. Should we use the training_image_annotations_vinh.csv instead, using --vinh?
Also, please explain where these csv files of labels came from. Did you manually label the training images with bounding boxes around the whale callosities?
Thanks.

Thank you so much for pointing it out. I added back data/training_image_annoations.csv. Can you please check if the script to working as expected?
As mentioned in my blog post, the annotation was posted by Anil Thomas.
Feel free to open new issues if you encounter more problems. Thanks again!


Trust pu all tasks

Fixes #7428
Since the PU flag affects jobs during runtime, we have to make sure all the tasks will carry it (Taskchain case), otherwise the secondary input will fully rely on location.
It needs to be tested.

test this please

Hmm, taskIterator() looks a task iterator indeed, though I would expect it to be a taskS iterator... investigating...

test this please

@ticoann it works fine now. Please review and merge for tomorrow's testbed.

test this please


SECURITY_ERR in PhantomJS (via grunt-contrib-jasmine)

PhantomJS seems to not like:
var db = window.openDatabase(DB_NAME, DB_VERSION, STORE_NAME, DB_SIZE);

And throws:
SECURITY_ERR: DOM Exception 18: An attempt was made to break through the security policy of the user agent.

Putting that in a try catch and exiting early (as if !window.openDatabase happened) seems to prevent localforage from being defined. Problem for using this lib in a project that has unit tests being run through PhantomJS.
Note: PhantomJS is being run by grunt-contrib-jasmine in this instance.

This hasn't happened in some time, but more exciting should definitely stop when I merge #461.
I think I'll call this one closed. 😄


fixed recursion issue in searching mapping model

[NSMappingModel mappingModelFromBundles:@[[NSBundle mainBundle]]
                         forSourceModel:sourceModel
                       destinationModel:model];

when params sourceModel and model are equal (v2), this method returns mapping model from v2 to v3
see this diff https://gist.github.com/pnc/2321704

@jnagel33 sorry, it is quite time since I used this thing. Did you try mine version of the migrator? It should fix the recursion problem.

@samnung No worries, I figured it was a long shot. I have only seen the issue once ever so it's not easily reproducible. That's why I was curious if you knew of a scenario that caused this. I will probably end up adding this code since I don't think will negatively impact anything. Thanks


Server Saves

Hey Sarpendon,
when using CronTab Function. the server does not seem to Save the state of the game before doing the restart. when the server restarts, it seems to roll progress back a good ways. Is there something that I dont have set up correctly to get this to work right?

Should be fixed now


[DOC] Documentation on Quantization

With v0.6 adding quantization support, I think it is good time to add documentation on our quantization story.
There have been many questions on the forum, some of which are listed at the bottom. I myself have recently become interested in the topic, but I'm having hard time digging through the forum, github issues, PRs etc.
It would be great if we could add an end to end quantization usage tutorial or design document to our developer guide.
Current state of quantization effort
Is there a complete quantization tutorial including the use of various quantization algorithms and the addition of operators?
Quantization Configuration Documentation?
How to choose different quantization methods?
Int8 tutorial request
 Understanding the quantization passes
Which operators are quantized in TVM?
Does tvm support quantization

I'm working on cuda quantization tutorial, it will be out soon

#4667, #5321, #5362, #5585 added tutorials for quantization.

@masahi Hey the last link should be #5595, not #5585

@junrushao1994 Thanks, fixed.


Documentation: account for our JavaScript bindings

Argh, I should have added the reason for this issue. I can't remember what triggered me to create it, so closing it...


Matrix trace

We can implement pipelining 🙂
I wouldn't mind doing it sometime this week.
On Tue, Feb 15, 2022, 23:21 Enrico Lovisari @.***>
wrote:

@.**** commented on this pull request.
In src/matrix_ops.hpp
https://github.com/Aertalon/optimizer/pull/35#discussion_r807365955:

+}

+}  // namespace detail
+
+// Replace with template (M square) when the concept is available
+template
+inline constexpr auto identity = detail::make_identity();
+
+// FIXME: this should be a matrix method
+template <class V, std::size_t Cols>
+requires(matrix<V, Cols>::is_square)

[[nodiscard]] constexpr auto trace(matrix<V, Cols> const& m) -> scalar_t
+{
return [&m]<std::size_t... Is>(std::index_sequence<Is...>)
{

   return (m.template get<Is, Is>() + ...);

Is there really no way to instruct the compiler to consider get a template
method? One of the last commits in the chain is basically unreadable due to
the all .template things :/
—
Reply to this email directly, view it on GitHub
https://github.com/Aertalon/optimizer/pull/35#discussion_r807365955, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWT4J2L2ICEZZK6YXJPHJTU3LGVDANCNFSM5OBMVRZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

But you can also use for loops or create that cartesian product range
factory that's going into C++23.
On Tue, Feb 15, 2022, 23:25 Oliver Lee @.***> wrote:

We can implement pipelining 🙂
I wouldn't mind doing it sometime this week.
On Tue, Feb 15, 2022, 23:21 Enrico Lovisari @.***>
wrote:

@.**** commented on this pull request.
In src/matrix_ops.hpp
https://github.com/Aertalon/optimizer/pull/35#discussion_r807365955:

+}

+}  // namespace detail
+
+// Replace with template (M square) when the concept is available
+template
+inline constexpr auto identity = detail::make_identity();
+
+// FIXME: this should be a matrix method
+template <class V, std::size_t Cols>
+requires(matrix<V, Cols>::is_square)

[[nodiscard]] constexpr auto trace(matrix<V, Cols> const& m) -> scalar_t
+{
return [&m]<std::size_t... Is>(std::index_sequence<Is...>)
{

   return (m.template get<Is, Is>() + ...);

Is there really no way to instruct the compiler to consider get a
template method? One of the last commits in the chain is basically
unreadable due to the all .template things :/
—
Reply to this email directly, view it on GitHub
https://github.com/Aertalon/optimizer/pull/35#discussion_r807365955,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAWT4J2L2ICEZZK6YXJPHJTU3LGVDANCNFSM5OBMVRZQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID:
@.***>

Cartesian product would be quite useful to simplify the transpose and cycle over all elements (although that needs to be done with a view)

And yeah, maybe here a for loop would have been easier. Or a collection of iterators of some type that can be specialized to go over columns, OR over rows, or some crazy combination (in this case, over the diagonal elements)?


simplify build tooling and remove redundant dependencies

#4664  👈
main

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

Join @jnsdls and the rest of your teammates on  Graphite


Spanish backgrounds layers are not available over Ceuta and Melilla / #Spain

The nexts layers are not available to work with they in this two autonomus cities of Spain.
I expect that is a bug, because they work well in others editors like JOSM.

List of layers (Not Working):

PNOA Spain
Catastro Spain

Links to the cities boundaries in OSM

Ceuta
Melilla

Similar issue:
#5264

I don't think this is an iD issue, because iD gets its background layers from the editor-layer-index project.
You can see that Ceuta and Melilla are missing from the coverage here: https://github.com/osmlab/editor-layer-index/blob/gh-pages/sources/europe/es/CatastroSpain.geojson
You should submit an issue over there: https://github.com/osmlab/editor-layer-index/issues


Add OpenSSL:DigestIO to wrap an IO while calculating a digest

Wraps an IO by calculating a specified digest on read and/or write operations
Example
require "openssl"

underlying_io = IO::Memory.new("foo")
io = OpenSSL::DigestIO.new(underlying_io, "SHA256")
buffer = Bytes.new(256)
io.read(buffer)
io.digest # => 2c26b46b68ffc68ff99b453c1d30413413422d706483bfa0f98a5e886266e7ae

Also, maybe fix the typo (s/:/::/) in the commit message?

@RX14 done and done!

This PR is going to be perfect after all these reviews haha

Awesome! Will do that next week. I've fried my Mac's HD and are setting everything back up :-P

@luislavena done! Rebase can be done without conflicts as well.

Thanks @mverzilli!


How to create object file

Thanks for this awesome library.
I've been able to do a lot with this library!
My issue now is how to generate object file for the operating system. I can't fine anything similar to LLVMTargetMachineEmitToFile, LLVMGetDefaultTargetTriple, LLVMGetTargetFromTriple.
Kindly help. Thanks in advance.

Sorry, these APIs are not yet supported, I will add them soon.

Any progress on this??

Hey @ApsarasX – is there any progress on this one?

I believe you can use cpp version of the LLVM api to generate object file.
Maybe like this:
const target = LLVM.TargetRegistry.lookupTarget(triple);
const targetMachine = target.createTargetMachine(
            triple,
            cpu,
            features,
            relocType,
            codeModel,
            codeGenOptLevel,
        );
targetMachine.emitToFile(this.module, this.options.output, format);


Pickling the queue

I've implemented DQL for Flappy Bird in Keras and I find that pickling more than 50000 experiences takes over 11GB of storage due to the inefficiency of pickle (or cPickle for that matter), while the actual size of queue is around 5 Gigs using sys.getsizeof() (there is no better alternative to get size of python objects)
Did you face this issue? I would imagine using a database like sqlite should be more efficient.

NVM. Tried it out with SQlite and the size grew even bigger. Only way around I guess is to change size of numpy float and int.


it should be "Service Overage" not "service overcharge"

under https://docs.microsoft.com/en-us/azure/cost-management-billing/manage/ea-portal-enrollment-invoices?WT.mc_id=Portal-Microsoft_Azure_Support#view-usage-summary-and-download-reports "To view the usage summary reports and graphs:" step 3. "To view additional details, you can select a period or month on the graph." point 1, it should be "Service Overage" not "service overcharge".

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

ID: 94a62bd7-4779-c4af-4ec0-b4bb64ff3a2e
Version Independent ID: 4b01ab8f-d98a-a8d8-51cb-65fbdcd4025c
Content: Azure Enterprise enrollment invoices
Content Source: articles/cost-management-billing/manage/ea-portal-enrollment-invoices.md
Service: cost-management-billing
Sub-service: enterprise
GitHub Login: @bandersmsft
Microsoft Alias: banders

@HannahHsiao Thanks for your comment! We will review and provide an update as appropriate.

@HannahHsiao Yes, you're correct. I'll update the article shortly. Thanks for letting us know about this isssue.

https://github.com/MicrosoftDocs/azure-docs-pr/pull/181789
@HannahHsiao Updated the article as you suggested.
#please-close


TypeChecker does not work

The following trivial script fails with  TypeError: 'TypeChecker' object does not support indexing:
from pytypes import TypeChecker

with TypeChecker():
    pass

Python 3.5.5.
Surely some kind of basic testing would've been nice? This works in typeguard btw.

Hmm, this used to work but must have been broken somehow. You're right, proper tests would have prevented this. There are more aspects not properly tested, e.g. type logging. So far I just couldn't afford time to work this out. However, I added tests for this issue now and I think I got it fixed. Commit about to come...
Thanks for reporting it!

I tried applying typeguard's version of this but, while it worked, it slowed my test suite so much that it discouraged me from using it anymore. I'm not sure what to do about it or if it's usable at all. I hope you get better results than I did.

I guess the profiler approach is so slow because it is called really for every function. I thought about a module blacklist/whitelist approach to scope checking to relevant modules, e.g. sort out the stdlib etc. by default. Not sure if this helps. Then, pytypes is certainly slower than typeguard, e.g. because it looks for type comments and queries for stubfiles frequently. For me, typechecking was never much about performance.
That said, in pytypes there is still the option to apply a decorator to all members in a module. This should shift a lot of work to startup time compared to the profiler approach. I know you don't like that, I suppose because one cannot know what fancy magic a module might try to apply. But consider to use it only for selected modules...

I'm already using whitelisting and it was still slow. I will check out that link.

It looks like typo only implements a type checking decorator and not the profiler approach. It's only the profiler approach which is slow, not the other two.


Manually trigger session check

Hi everyone,
I am using currently angular-oauth2-oidc version 8.0.4 (since we haven't migrated yet to NG9) together with IdentityServer and I am quite happy with it.
Regarding the session checks I am aware that it is possible to enable it via configuration and to set also a session check interval.
We have set it currently to 30 seconds which is fine for our setup. However in some cases, during the Single-Sign-Off process I would like to trigger the session check earlier to redirect the user directly back to the login screen.
So here's my question: is it possible to trigger the session check logic manually? Or more general: how to manually call the session check endpoint of IdentityServer?
Many thanks in advance and kind regards,
Sprudel

It seems checkSession() does this but is protected. It is only called by startSessionCheckTimer() (also protected) in turn called by initSessionCheck() (also protected), called in multiple places amongst which restartSessionChecksIfStillLoggedIn() (public!).
However, restarting it won't do it immediately I think, at best after the first fresh interval has passed.
So I think your workaround would be to create a sublcass of OAuthService and expose the protected checkSession publicly.
Apart from that, I think this issue can probably be considered a feature request?

Thanks @jeroenheijmans for your quick reply and the workaround suggestion.
And yes, I am fine to add this as a feature request for a future version, thanks again!

Cool. Let's just leave this issue open as the feature request then, shall we?

Sure, sorry for having closed it too early.


Feat: Add promised-based XML module for seamless XML creation, loading, parsing and processing

The XML Module unifies Internet Explorer ActiveXObject XML implementation and DOMImplementation.createDocument()  patterns.
It provides support for IE specific methods and properties , including loadXML method, parseError, xml, and text properties.
It uses promises as both the load(url) & loadXML(xmlString) methods return promises.
Usage sample:
new XML().load(url).then(xmlDoc => {
    console.log(xmlDoc.xml); //logs the serialized xml document
    console.log(xmlDoc.text); //logs the text content of the xml document

    //get some nodes
    xmlDoc.getElementsByTagName('element-tag');
    ......
})
    .catch(xmlDoc => {
        console.log(xmlDoc.parseError.reason);
});

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Rename api/v1alpha3 package to api/v1alpha1

As api/v1alpha1 and api/v1alpha2 does not exist.

Or actually, does it need to be aligned with CAPI? @detiber?

Or actually, does it need to be aligned with CAPI? @detiber?

Current plan is to keep things aligned with the CAPI versions to avoid confusion for now.


Scroll position fixed during navigation different pages

When browsing the docs I realise the scroll position fixed during navigation, an unexpected behaviour. Hope it gets fixed soon!

I think this is a duplicate of #339

I think this is a duplicate of #339

Thanks, I will close this


Reporting Tank Status

PR #505 has added a Tank Overflow feature to the EPANET engine that might require some updating of the way that a tank's change in status is described in the Status report. Currently we use FILLING, EMPTYING and CLOSED (without stating whether the tank is full or empty). I propose we change these to FILLING, EMPTYING, OVERFLOWING, OFFLINE, OFFLINE-FULL, and OFFLINE-EMPTY.
In addition, we could add a new tank property, EN_TANKSTATUS, that could be retrieved using the EN_getnodevalue() API function. It would have the same values as listed above. I realize that these states could always be checked for in code by using EN_getnodevalue() on EN_TANKLEVEL and EN_DEMAND, but EN_TANKSTATUS would make the job easier.

I totally agree.
@LRossman can you just explain what you mean by the OFFLINE cases? It is when the tank is closed?

I suggested that OFFLINE be used to describe a condition where the tank is neither filling nor emptying (i.e., when its EN_DEMAND value is 0). It might not be the best choice of words, since it implies that the tank has been disconnected from the network which is not the case (e.g., an example of a truly offline tank is one that is undergoing a cleaning or other maintenance). Perhaps LEVEL is a better choice, or we could stay with CLOSED.

In the interest of avoiding further delay in finishing release 2.2, PR #505 was updated to have the Status Report state when a tank begins overflowing (in addition to its current practice of reporting when a tank begins filling, emptying or is closed). The more detailed reporting of a tank's status as discussed in this issue can be a future enhancement.

sounds like this issue is resolved, yes?

Resolved in the sense that it remains a feature to consider adding in a future version of the Toolkit.


Feature Request Add Watched status column next to Subtitle Column In TV Shows

What TMM version are you using?
<IP_ADDRESS>
release, pre-release, nightly, or directly from GitHub/branch?
Not sure
Your Operating system? (win/mac/linux? version?)
Ubuntu 14.04
It would be nice to be able to see the watched/unwatched flag in a column next to where the info, artwork, and subtitle columns are in TV Shows. With a large library it's rather cumbersome to have to look through each movie/show/episode to see which is marked as watched/not watched.
Thank you for a great piece of software 👍

in the movie list there is already the watched in its own column

@mlaggner I was referring to tv shows, not movies, sorry I should have clarified.

the TV shows tree is not as flexible as the movie table.
I already have added the flag for version 3 (UI overhaul), but finalization will need more time.
meanwhile you could filter for watched/unwatched episodes?


Change to agreed numeric ID scheme

This changes all the existing data dictionaries to the ID scheme agreed upon in #92

fixes #92


Outlook Calendar REST API issue

I have been trying to update a calendar event using the Calendar REST API, and I am getting a 403 The api you are trying to access does not support item scoped OAuth."
I have given the read/write permission in calendar. I'm posting my request as well. The officeREST config has been working for getting the events.
Please let me know what's going wrong . The documentation doesn't explain scoping much and how to do so. Also we are designing this Add-in with React.
  updateEvent = (authToken,id) => officeREST.configurePatchRequest(
    `/v2.0/me/events/${id}`,
    {
      Location: {
        DisplayName: 'Your office',
        Address: null
      }
    },
    {
      headers: {
        Authorization: `Bearer ${authToken}`,
        'Content-Type': 'application/json'
      }
    })

Thanks for posting the error and sample code.
@aman3011 Can you check the value of the <Permissions> element in your add-in's manifest?
Since the error message mentions 'item scoped OAuth', this likely indicates that the Permissions in the manifest is either ReadItem or ReadWriteItem. Changing this to ReadWriteMailbox will allow the server to issue a REST token with additional scope.
I checked on the Use the Outlook REST APIs from an Outlook add-in documentation and I believe this section describes the issue you are seeing (assuming the Permissions element is not already ReadWriteMailbox):

In most cases, the token returned by getCallbackTokenAsync will provide read-only access to the current item only. This is true even if your add-in specifies the ReadWriteItem permission level in its manifest.
If your add-in will require write access to the current item or other items in the user's mailbox, your add-in must specify the ReadWriteMailbox permission level in its manifest. In this case, the token returned will contain read/write access to the user's messages, events, and contacts.

Thank you, I was able to configure it correctly.


Still working?

Hi, first thanks for developing this!  But just tried running, and it keeps erroring out on Item 1, so I don't think it's related to throttling.  Wondering if it's still working for others, or if perhaps Aura has modified their API? @meub

Thanks for this! I've fixed this issue with your suggestion.


RE2 instantly crashes upon start

Can't get the mod working on my PC. Whenever I try to start RE2 with it, the game's window pops up and then instantly closes itself. The log file also isn't produced. Tried every possible version of the mod, results were same. Windows 7 x64, so DX11 in settings, Steam version. I'd be thankful for any help.

Same problem here on win10

Could you please attach your settings files and also the stats of the machine you are running on?

My rig: I5-2500, GTX 970, 8 GB RAM, W7 x64 SP1. NVIDIA drivers version is 399.07. I also have 2 monitors, main is 1680x1050, and second is 1920x1080. if that's of any use. I can also upload my DxDiag, if needed.
Didnt figure out how to attach my settings, so I just copypaste them:
[Render] PCTargetAPIFallback=Enable Capability= TargetPlatform=DirectX11 UseVendorExtention=Enable UseOptimizeShader=Enable MainMenu=True LastCrashReport= [RenderConfig] PCDXver=DirectX11 PCColorSpace=0 PCWindowMode=1 PCResolution=17 PCRefreshRate=1 PCFrame_Rate=0 PCVSync=1 PCRenderingMethod=0 PCImage_Quality=5 PCTextureQuality=6 PCSamplerQuality=5 PCMeshQuality=3 PCAntiAliasing=3 PCMotionBlurEnable=1 PCShadowQuality=2 PCShadowCacheEnable=0 PCAOSetting=2 PCBloomEnable=0 PCLensFlareEnable=0 PCVolumeLight=3 PCReflection=0 PCSSSS=0 PCDOF=0 PCLensDistortion=1 PCFilmGrainNoise=0 PCContactShadow=0 PCParticleLight=0 [Display] HDRmode=1 [Control_42249857] MouseReverse=1 MouseBind=0 CameraNormalSpeed=24 CameraHoldSpeed=24

Cheers, you could try setting window and HDR mode to false, try again.
Can you post the contents of the log file that the framework generates in the resi folder; might shed some more light.

Tried every possible window and render setting, switching HDRmode to 0 in the ini, no differences, instant crash. Also tried switching off 1 monitor and launching the game in 1080p on my second one, still crashes with the mod.
Another problem is that the log isn't generated for me, so I assume the mod doesn't inject itself in time before the game crashes. Don't know what even try anymore to make it work.


suggestion to rename, so that it is equal to texture and sound

suggestion to rename from from_data to from_file_data
https://github.com/17cupsofcoffee/tetra/blob/71ad9c1c1a4a985d9c88ebe5b7a4cbfa9e5df5fb/src/graphics/text.rs#L65

Whoops, missed this one - will deprecate in the next version and add a from_file_data :)

Done in 3024842, thanks for spotting the inconsistency :)

you are fast :)


Add a method to return the estimated size of the atlas download

Would be useful so we can let the user know "This will be 2GB, are you sure"?
cc @alessandrofelder @IgorTatarnikov

linked to https://github.com/brainglobe/bg-atlasapi/issues/170

Superceeded by https://github.com/brainglobe/bg-atlasapi/issues/179


Android support

The README manifest interest in supporting Android too, since RubyMotion was announced. There is any plan to how to accomplish that?
This library seems very coupled to UI code on iOS and OS X - not only internally but in the way it is used. A Good Thing™ IMO. I wonder that, to support Android, there is two possible strategies to adopt.
The first one is put more abstraction on top of motion-kit DSL and deal with multi-platform concerns internally. This will bring a kind of write-once style, but will push a lot of complexity inside the library. Also we could end with scenario of minimum viable capabilities since both devices will need to support the whole DSL.
A second one is  keeping this library focused on Apple and make another one just for Android. The libraries will be both very focused, but the burden of writing the final interface will be on the developers using motion-kit. I pretty like this approach, because in the end the developers could use the whole power of the target platform. Anyway, a core kind of gem could keep a common interface, so the DSL will not diverge entirely, but instead just narrow to the target.
If something like that (or any other strategy) is of interest of the motion-kit I could help in any way I can.
Thanks for the attention spend.

Colin's slide 28 here makes it look like there is already some kind of support for Android: http://www.slideshare.net/colinta/kill-the-controllers-and-an-introduction-to-motionkit
Is that some kind of internal fork?

Well, as you can see, he doesn't always keep me in the loop:

;-)
Just kidding...he had to keep it under wraps because RM-Android wasn't public yet.

Touché :smile:
Well, if Colin does decide to merge it in, I'd be happy to help. I'm working on porting a RubyMotion iOS app to Android so it would be great to use the same libraries in both apps.

I'll merge what I've got, but it's dated and was based on "hopeful" (thoroughly untested) code.

On Feb 12, 2015, at 8:02 PM, Zach Millman<EMAIL_ADDRESS>wrote:
Touché
Well, if Colin does decide to merge it in, I'd be happy to help. I'm working on porting a RubyMotion iOS app to Android so it would be great to use the same libraries in both apps.
—
Reply to this email directly or view it on GitHub.

Ah, maybe a PR then to test it without interfering with a stable master?
On Thu, Feb 12, 2015 at 7:13 PM, Colin T.A. Gray<EMAIL_ADDRESS>wrote:

I'll merge what I've got, but it's dated and was based on "hopeful"
(thoroughly untested) code.

On Feb 12, 2015, at 8:02 PM, Zach Millman<EMAIL_ADDRESS>wrote:
Touché
Well, if Colin does decide to merge it in, I'd be happy to help. I'm
working on porting a RubyMotion iOS app to Android so it would be great to
use the same libraries in both apps.

—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub
https://github.com/motion-kit/motion-kit/issues/92#issuecomment-74198482
.

--
Zach Millman
(415)-515-4770


stop this scam

@AbitraryYu

carding and loading is an act to be done by legitimate people
need verification on how to get quick cc , PayPal transfers and more ?
have you been looking for a place to buy cc and get legit money TRANSFER services like PayPal,  western union and more ?
visit https://t.me/credit_card_uk

@AbitraryYu  why setup scam?


DTSSTCI-712: New ccd chart and chart java - with Persistent data

Change description
For testing new ccd-chart release to fix issue from dtspo-17524
JIRA link
https://tools.hmcts.net/jira/browse/DTSSTCI-712

Looks good to me. Can create cases and persist states through a case


Adding OGDF and LEMON library port

Obvious enough.  In this issue, I have reported this.

Great news, thank you, I hope inclusion of lemon in vcpkg will make this lib more popular, as it really merits to be recognized.

Thanks for the PR!
I did some fixes while merging, but the biggest change is renaming lemon to liblemon. This is to better conform with the existing Debian packages[1], where the graph library lemon has the name liblemon, whereas some code generator tool has the name lemon. This will hopefully avoid confusion for users moving from apt to vcpkg.
[1] https://packages.debian.org/search?keywords=lemon&searchon=names&suite=stable&section=all

Awesome, the changing name to liblemon makes sense. One question though, why are you using unofficial:: as a prefix for namespace in exported CMake target?


inline predefined-search-items

This removes the top level file predefined-search-items and inserts it where it's used.
It's all static text, so having it separated doesn't add anything to the process, and instead complicates it for no gain.

IRC log: https://irclog.perlgeek.de/perl6/2016-10-20#i_13437231

Can't see the irc log currently, but anyway. It was me who proposed/implemented this separating, when it was seen as a good(or, at least, real) way to deal with some items from https://github.com/perl6/doc/issues/728. But the issue stacked in the end for some reasons(lack of manpower, I suppose) and, because of this, predefined-search-items file was never expanded as it supposed.
Hence, can be merged without worries, judging by the PR size.


Switch to building off cimg/node and pre-install meteor

cimg/node already contains dockerize and other dependencies
avoid waiting for meteor install by pre-installing the right version

This is live in dockerhub so going to go ahead an merge it


Undefined method in error handling

Since updating to the CI action v4, there is the following error output, when receiving a 500 response:
error - 2024-02-02 10:31:59,259 -- Commit creating failed: {"error": "Server Error (500)"}
Traceback (most recent call last):
  File "codecov_cli/main.py", line 81, in <module>
  File "codecov_cli/main.py", line 77, in run
  File "click/core.py", line 1157, in __call__
  File "click/core.py", line 1078, in main
  File "click/core.py", line 1688, in invoke
  File "click/core.py", line 14[34](https://github.com/evmos/evmos/actions/runs/7754399543/job/21148217127?pr=2317#step:6:35), in invoke
  File "click/core.py", line 783, in invoke
  File "click/decorators.py", line 33, in new_func
  File "codecov_cli/commands/commit.py", line 64, in create_commit
  File "codecov_cli/services/commit/__init__.py", line [39](https://github.com/evmos/evmos/actions/runs/7754399543/job/21148217127?pr=2317#step:6:40), in create_commit_logic
  File "codecov_cli/helpers/request.py", line 133, in log_warnings_and_errors_if_any
NameError: name 'exit' is not defined
[32155] Failed to execute script 'main' due to unhandled exception!
Error: Codecov: Failed to properly create commit: The process '/home/runner/work/_actions/codecov/codecov-action/v4/dist/codecov' failed with exit code 1

The reason for this is that the exit method used in helpers/request.py is not defined/imported.
https://github.com/codecov/codecov-cli/blob/v0.4.6/codecov_cli/helpers/request.py#L130-L133

@joseph-sentry this has been deployed in latest?


Can I do a Pull request?

I tried to do a pull request but I can't I wan't to sent you some solutions for break changes with last version of Realm. And other changes for better structure of project.

Do I understand correctly that you're unable to create a pull request?

Yep... :+1:

That's wird. Can you please elaborate on what exactly goes wrong when you try to submit a pull request?

Sure, Always I'm trying to do a pull request says that I cannot do it because my account has not permission for it.


Http status code icon

When we open the developer tool, we can see that there are some icons in front of the http status code in the network panel. For example, there are green solid circles and gray hollow circles in front of 200.
I am wondering why there are multiple icons for the same status code. What do they mean?
I am sorry to ask you for help here, I really need help. Thank you

gray hollow circles mean that the items were fulfilled directly from your browser cache, meaning that the original requests for the items were returned with headers indicating that the browser could cache them (e.g. future-dated Expires or Cache-Control: max-age headers), and that at the time you triggered the new request, those cached objects were still stored in local cache and had not yet expired.
green solid circles meat that  the response contains a payload that represents the status of the requested resource.


Buffer changes on new ldap.Change

I'm trying to update thumbnailPhoto on user account, but in ldap.Change this buffer changes to another:
Here is the code:
console.log(modify);
var change_tmp = new ldap.Change({
operation: 'replace',
modification: modify
});
change_arr.push(change_tmp);
console.log(change_tmp);
}
And here is the console lines:
{ thumbnailPhoto: <Buffer 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 cc 00 00 00 cc 08 03 00 00 00 08 fc bc c0 00 00 01 29 50 4c 54 45 ff ff ff f6 86 34 a7 52 14 ... > }
Change {
_modification:
Attribute {
type: 'thumbnailPhoto',
_vals: [ <Buffer ef bf bd 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 ef bf bd 00 00 00 ef bf bd 08 03 00 00 00 08 ef bf bd ef bf bd ef bf bd 00 00 01 29 50 ... > ],
vals: [Getter/Setter],
buffers: [Getter],
json: [Getter] },
operation: [Getter/Setter],
modification: [Getter/Setter],
json: [Getter],
_operation: 2 }
Why my buffer have changed during the ldap.Change function?
I understand that 89 = ef bf bd and this is the "REPLACEMENT CHARACTER", but cc also was changed to ef df bd...
How can I put pure untouched buffer to ldap? Because my buffer is correct - I have compared it with powershell results.

Ok, found it. Thats because you change all values to string.
keys.forEach(function (k) {
var _attr = new Attribute({type: k});
if (Array.isArray(attr[k])) {
attr[k].forEach(function (v) {
_attr.addValue(v.toString());
});
} else {
_attr.addValue(attr[k].toString());
}
self._modification = _attr;
});
Can we change this behaviour in case of binary object?

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


test

Type: Ambiguous
Summary:
test
Details:
test
Resolution:
tes
Affected definitions:

external-dns-management ae804dcb1b3a49ded12169c694130993c68ced9f

You can review the change introduced to the full definition at ClearlyDefined.


Configure jwt public key  or read from /auth/v1/cert

Currently the public key must be changed in file-server and catalogue code, Which is not so nice, to just deploy you will have git clone and change manually the code and hence cannot git pull straightway from master. The master has authvertx.iudx.io certificate-public key and not production. So we can configure in two ways :

Read from "/auth/v1/cert"  endpoint  of auth server and use it in jwt. This is done at resource server. One drawback being that your still dependent on auth server for that info and it should be up while bringing the resource server.
In the config file, add public key and use that to configure jwt here in this part of code
how to convert the cert to public key can be documented, here

We can decide any of two or entirely new way and follow uniformly in cat, rs and file server @kailash  @swaminathanvasanth  @rraks

If the cat,rs,file are not dependent on auth server for anything else now and in future, then would be nice if we go with option 2. Else if we are dependent / will be in future, then option 1 is best.

Its resolved at cat, using this PR https://github.com/datakaveri/iudx-catalogue-server/pull/121. It would be lot helpful if its done at file-server also @swaminathanvasanth @kailash @pranavrd by fetching the key from auth url


Provide visual help to the user on how to organize the samples and datasets into folders

Add a link to the docs.

Added to doc - https://docs.nmrxiv.org/docs/submission-guides/submission/upload#manage-studies-and-datasets
Also added Need Help Link at several places