Wrong entry for ProxyMode

At the ProxySettings section it refers to ProxyMode "fixed_server" where it should be "fixed_servers"

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

ID: 198c6f64-9e5c-f18e-8439-8d0d11d4228d
Version Independent ID: 83f32be1-063c-284c-dfdc-6b5976a5b7cc
Content: Microsoft Edge Browser Policy Documentation
Content Source: edgeenterprise/microsoft-edge-policies.md
Product: microsoft-edge
GitHub Login: @dan-wesley
Microsoft Alias: stmoody

@strav970 Hi!  I believe the documentation has been updated.  If you are still able to reproduce please feel free to open this issue again and include a link to the section that should be updated.  Thank you!


Remove unused/redundant single user image repositories

The following github repos can be removed. Let us revisit how we build and maintain a standard stack of images similar to https://jupyter-docker-stacks.readthedocs.io/en/latest/using/selecting.html#image-relationships and https://github.com/jupyter/docker-stacks

[x] docker-beamtree-rstudio
[x] docker-cpu-dfu
[x] docker-datascience-code-server
[x] docker-datascience-nlp
[x] docker-datascience-odbc
[x] docker-dfu-jupyterlab
[x] docker-fft-notebook
[x] docker-lancuni-grp-prj-2021-notebook
[x] docker-octave-notebook
[x] docker-rstudio-notebook

Linked to https://github.com/lsc-sde/lsc-sde/issues/46

added deprecation notices to all repositories, removed from submodules in core repository and have archived the repositories.
Please note that these have not been removed, just archived as is best practice.


cassandra fails with “Invalid yaml.” in standard configuration

Issue description
Enabling services.cassandra without altering any other options fails with the following log:
Nov 07 08:33:04 cassandra cassandra-start[372]: Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: Invalid yaml. Please remove properties [multithreaded_compaction, memtable_flush_queue_size, compaction_preheat_key_cache, in_memory_compaction_limit_in_mb, preheat_kernel_page_cache] from your cassandra.yaml
Nov 07 08:33:04 cassandra cassandra-start[372]: org.apache.cassandra.exceptions.ConfigurationException: Invalid yaml. Please remove properties [multithreaded_compaction, memtable_flush_queue_size, compaction_preheat_key_cache, in_memory_compaction_limit_in_mb, preheat_kernel_page_cache] from your cassandra.yaml
Nov 07 08:33:04 cassandra cassandra-start[372]:         at org.apache.cassandra.config.YamlConfigurationLoader$MissingPropertiesChecker.check(YamlConfigurationLoader.java:188)
Nov 07 08:33:04 cassandra cassandra-start[372]:         at org.apache.cassandra.config.YamlConfigurationLoader.loadConfig(YamlConfigurationLoader.java:119)

Steps to reproduce
Define a container:

  containers.cassandra =
    { privateNetwork = true;
      config =
        { config, pkgs, ... }:
        {
          imports =
            [ <nixpkgs/nixos/modules/services/databases/cassandra.nix>
            ];
          services.cassandra.enable = true;
        };
    };

Do a rebuild of the system and start the container via nixos-container start cassandra.
Technical details

System: 17.09.2016.a09358f9c0 (Hummingbird)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: 17.09.2016.a09358f9c0
Sandboxing enabled: yes

The cassandra module and test need maintenance. They have been 'removed' more than a year ago for various reasons. See https://github.com/NixOS/nixpkgs/commit/52f21069d0495b4ea216909f9624d12cffe55fdf#diff-e94680bae33b250a648320fa541d7308
Apparently the default package does not support some of the options in the untested module.

Ahhh, I did not see that commit. Thanks for the hint.
I was just about to do some maintenance on the module. But, when it is that bad I guess it's almost better to start all over. What's this import-from-derivation thing one should avoid?

Import from derivation is when in Nix you import something that has to be built first. That is undesirable, because it requires build steps before knowing the entire build plan. On hydra it is particularly bad, because when the derivation that is being imported, fails, evaluation fails, and hydra will build it on the master node.

Alright, I will cut the old strings then, update cassandra to the latest stable version and get a minimal configuration running. We can further add options as we need them.
Is it ok, when I put myself into the list of package maintainers? We got a now project starting with Cassandra here, so I will have to deal with this package for some time anyways. :)
Does this sound alright?

Sounds good, @fuzzy-id . I'd love to see a working Cassandra module myself...

Sounds alright to me. Let's also ask @nckx @cransom . Maybe later in the process we can ping contributors/possible users rycee pSub bjornfor bcarrell flazz obadz joachifm domenkozar

Sounds like a plan. You're both more familiar with the current state of Cassandra on Nix than I am, so I'll defer to your & other contributors' good judgement. Thanks for working on this!

The initial module was not pretty but it had worked enough for the initial audience. I haven't worked near Cassandra or this module in a very long time but I'd be glad to review a rewrite.

We have cassandra running in two deployments here based on #31410. Is someone else willing to review?
What is the further procedure to get this thing merged?

The PR is merged, this can be closed.

I am facing same issue. i am using cassandra on my local machine. it was working fine but when i log in into cqlsh check keyspaces and restarted cassandra, getting below error details

CompilerOracle: inline org/apache/cassandra/utils/vint/VIntCoding.encodeVInt (JI)[B
INFO  [main] 2020-02-28 04:37:09,680 YamlConfigurationLoader.java:89 - Configuration location: file:/D:/Work/Cassandra/apache-cassandra-3.11.4/conf/cassandra.yaml
Exception (org.apache.cassandra.exceptions.ConfigurationException) encountered during startup: Invalid yaml: file:/D:/Work/Cassandra/apache-cassandra-3.11.4/conf/cassandra.yaml
Error: null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=java.lang.reflect.InvocationTargetException;  in 'reader', line 10, column 1:
cluster_name: 'Test Cluster'
^
Invalid yaml: file:/D:/Work/Cassandra/apache-cassandra-3.11.4/conf/cassandra.yaml
Error: null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=java.lang.reflect.InvocationTargetException;  in 'reader', line 10, column 1:
cluster_name: 'Test Cluster'
^
ERROR [main] 2020-02-28 04:37:09,765 CassandraDaemon.java:749 - Exception encountered during startup: Invalid yaml: file:/D:/Work/Cassandra/apache-cassandra-3.11.4/conf/cassandra.yaml
Error: null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.Config; exception=java.lang.reflect.InvocationTargetException;  in 'reader', line 10, column 1:
cluster_name: 'Test Cluster'

Fixed above issue by replacing all libs of cassandra folder. I hope it would works for you as well

Fixed above issue by replacing all libs of cassandra folder. I hope it would works for you as well

What do you mean? Are you using NixOS?

NO i am practicing cassandra in Windows 10 . In that I have added some drivers in the libs folder. so i was getting above issue.


Memory allocator

How about using V8 memory allocator for libxml?
I've seen that you are using xmlMemSetup in InitializeLibXMLJS, but it sets default functions for libxml.
Maybe should try to change these defaults to allocation methods from v8?
That is, it turns out that all memory will be allocated using v8.
If this can be done, you can then remove the code for memory management of libxmljs such as UpdateV8Memory, V8::AdjustAmountOfExternalAllocatedMemory and others.

Unless I have misread the v8 c++ api, I do not see anywhere where it is exposing its internal allocator. The latest development branch does not use UpdateV8Memory and instead injects wrappers for libxml memory allocation which handle the v8 memory adjustment callback.


update packages

:white_check_mark: Build TheIdServer 7.2.1-fix-dependencies1-0007 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/0b5c20816b by @)


Add definition for JRuby <IP_ADDRESS>

JRuby <IP_ADDRESS> has been released.
https://www.jruby.org/2020/03/25/jruby-9-2-11-1

Thank you!


PoolSwap toOpCodes failed to read

What happened:
Too many decimals read from buffer. Will lose precision with more than 8 decimals

      554 |         const fraction = readBigNumberUInt64(buffer)
      555 |         if (fraction.gt(new BigNumber('99999999'))) {
    > 556 |           throw new Error('Too many decimals read from buffer. Will lose precision with more than 8 decimals')
          |                 ^
      557 |         }
      558 |         setter(integer.plus(fraction.dividedBy(ONE_HUNDRED_MILLION)))
      559 |       },

What you expected to happen:
Previously code is working, guessing the issue was caused by recent update #469
How to reproduce it (as minimally and precisely as possible):
https://mainnet.defichain.io/#/DFI/mainnet/tx/700473ec7ca4f6bec261e75342f91825f3c2cf60df1bf1f335b53a2bcd95b994
6a4c4f446654787317a9140806eb42b6d5bb69726909fb6da34a9152afdf048701c7b3240d0000000017a9140806eb42b6d5bb69726909fb6da34a9152afdf048700ffffffffffffff7fffffffffffffff7f
Anything else we need to know?:

https://github.com/DeFiCh/jellyfish/pull/457#discussion_r669266324

Damn it, I never thought about this. Looks like we need to handle it.
Is ffffffffffffff7fffffffffffffff7f the only anomaly allowed? e.g. is ffffffffffffff7fffffffffffffff7e allowed?
If it's just ffffffffffffff7fffffffffffffff7f we can just handle that special constant
/triage accepted
/priority urgent-now
/assign @canonbrother

#457 (comment)

Damn it, I never thought about this. Looks like we need to handle it.
Is ffffffffffffff7fffffffffffffff7f the only anomaly allowed? e.g. is ffffffffffffff7fffffffffffffff7e allowed?
If it's just ffffffffffffff7fffffffffffffff7f we can just handle that special constant
/triage accepted
/priority urgent-now
/assign @canonbrother

that is caused by null maxPrice, just need to add a special handling for its default max int64 value will do
https://github.com/DeFiCh/ain/blob/aed00d09075094a3a0cedebde5248c006216ba09/src/masternodes/rpc_poolpair.cpp#L115-L123


mailer.rb and sensu-handler.rb errors

Get the next error with plugin https://github.com/sensu-plugins/sensu-plugins-mailer
cat /etc/sensu/conf.d/mailer.json | /opt/sensu/embedded/bin/ruby /etc/sensu/handlers/handler-mailer.rb
/opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:128:in +': no implicit conversion of nil into String (TypeError)         from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:128:in filter_silenced'
from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:31:in filter'         from /opt/sensu/embedded/lib/ruby/gems/2.2.0/gems/sensu-plugin-1.2.0/lib/sensu-handler.rb:54:in block in class:Handler'
OS Ubuntu 14.04.3 LTS
Whats wrong?
Thanks!

Fixed!
configuration issue.

what did you configure wrong? because I have the same issue


Token for graphql explorer should have read:project access

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/graphql/guides/forming-calls-with-graphql#authenticating-with-graphql and https://docs.github.com/en/graphql/overview/explorer
What part(s) of the article would you like to see updated?
Currently it is not possible to execute queries in the GraphQL explorer against ProjectV2 resources because the signed in account has insufficient scope.
Executing the following query
{
  user(login: "some-repo") {
    projectV2(number: 1) {
      shortDescription
      id
    }
  }
}

yields the following error
{
  "errors": [
    {
      "type": "INSUFFICIENT_SCOPES",
      "locations": [
        {
          "line": 3,
          "column": 5
        }
      ],
      "message": "Your token has not been granted the required scopes to execute this query. The 'projectV2' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['read:discussion', 'read:enterprise', 'read:gpg_key', 'read:org', 'read:packages', 'read:public_key', 'read:repo_hook', 'repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
    },
    {
      "type": "INSUFFICIENT_SCOPES",
      "locations": [
        {
          "line": 4,
          "column": 7
        }
      ],
      "message": "Your token has not been granted the required scopes to execute this query. The 'shortDescription' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['read:discussion', 'read:enterprise', 'read:gpg_key', 'read:org', 'read:packages', 'read:public_key', 'read:repo_hook', 'repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
    },
    {
      "type": "INSUFFICIENT_SCOPES",
      "locations": [
        {
          "line": 5,
          "column": 7
        }
      ],
      "message": "Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:project'], but your token has only been granted the: ['read:discussion', 'read:enterprise', 'read:gpg_key', 'read:org', 'read:packages', 'read:public_key', 'read:repo_hook', 'repo', 'user'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."
    }
  ]
}

It would be great if we could use the graphql explorer to introspect project/projectv2 objects!
Additional information
No response

@omerbensaadon

Seconding this issue. I attempted to include an Authorization header manually in the GraphQL Explorer's pane for providing request headers, but those headers are not being applied to the request at all either (Actual token replaced with filler value for the sake of the visual). This page of the documentation seems to be covering an outdated way to apply headers in the Explorer, since the menu it showcases is not actually present in the Explorer.
![image](https://user-images.githubusercontent.com/32880187/18442461

9-42f766e9-da8d-4a39-855c-e112a3723ef5.png)

@marosset Thanks so much for opening an issue! I'll triage this for the team to take a look :eyes:

👋🏻 Thanks for reporting this issue. It should now be fixed. You'll need to sign out of the GraphQL Explorer and then sign in again to make sure that the correct permissions are available.

@cmwilson21 @timrogers  - I signed out and in again and am able to query projectV2 objects via the GraphQL Explorer.
Thank you for the quick turnaround!


the serious bug of row_sparse_pull, it return the unexpected results (mxnet-0.12.1)

Note: Providing complete information in the most concise form is the best way to get help. This issue template serves as the checklist for essential information to most of the technical issues and bug reports. For non-technical issues and feature requests, feel free to present the information in what you believe is the best form.
For Q & A and discussion, please start a discussion thread at https://discuss.mxnet.io
Description
(Brief description of the problem in no more than 2 sentences.)
the result of kv.row_sparse_pull is error
kv_store = mx.kv.create('local')
feat_num=60000000
emb_size=16
x=mx.nd.random_normal(shape=(feat_num, emb_size+1))/emb_size
kv_store.init( 'weight' , x.tostype('row_sparse'))
weight = mx.nd.sparse.zeros('row_sparse', (feat_num, emb_size+1) )
nd.waitall()
kv_store.row_sparse_pull('weight', out=weight, row_ids = mx.nd.array(range(59000000,59000010)))
print weight.data
print weight.indices
above codes  produce the unexpected result :
[[-0.06001008  0.12529369  0.01055183  0.03823091  0.0157164   0.05378302
0.10645325 -0.05574675  0.043387   -0.09978856 -0.02615129  0.10425547
0.02766469  0.00755506 -0.03756119  0.04600668 -0.1275474 ]
[-0.01440927 -0.03559005  0.08031632 -0.14433415  0.01954315  0.04838947
-0.07277583  0.01327891  0.08509432  0.00696959 -0.12846318 -0.05156695
0.05502741 -0.0296046   0.02275628 -0.0119295  -0.02386227]
[ 0.01497707 -0.01221847 -0.0309307  -0.04224245 -0.02266348  0.03766544
0.02412536 -0.03766586  0.08927941  0.05852216  0.0724726  -0.13113973
-0.02900447  0.0475208  -0.02984896 -0.04399877  0.06236285]]
<NDArray 3x17 @cpu(0)>
[59000000 59000004 59000008]
<NDArray 3 @cpu(0)>
``
Environment info (Required)
What to do:
1. Download the diagnosis script from https://raw.githubusercontent.com/apache/incubator-mxnet/master/tools/diagnose.py
2. Run the script using `python diagnose.py` and paste its output here.

Package used (Python/R/Scala/Julia):
(I'm using ...)
For Scala user, please provide:

Java version: (java -version)
Maven version: (mvn -version)
Scala runtime if applicable: (scala -version)

For R user, please provide R sessionInfo():
Build info (Required if built from source)
Compiler (gcc/clang/mingw/visual studio):
MXNet commit hash:
(Paste the output of git rev-parse HEAD here.)
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
(Paste the complete error message, including stack trace.)
Minimum reproducible example
(If you are using your own code, please provide a short script that reproduces the error. Otherwise, please provide link to the existing example.)
Steps to reproduce
(Paste the commands you ran that produced the error.)

What have you tried to solve it?

@eric-haibin-lin  row_sparse_pull return the unexpected results

nd.array by default uses float32. Could you check if your rowid are correct integers? What’s the expected output?

@eric-haibin-lin thanks a lot !  row_ids = mx.nd.array(range(59000000,59000010), dtype='int32')    Assign the dtype='int32', it works correctly .


Issue-139 Fixes and improvements on use of monitoring passcode

This PR should address issue #139. Please let me know if I'm missing anything or if there is a better way to handle this.
Changes:

Add missing passcode from list of environment variables ( sonarqube )
update livenessProbe to use exec commands and prevent the passcode from being templated in plaintext in the manifest ( sonarqube, sonarqube-dce )

Hi, @tobias-trabelsi-sonarsource,
I've rebased with latest master and updated Chart.yaml and CHANGELOG.md files as requested.

looking good. if you could now just mention your change in the Chart.yaml as well so they are displayed on artifacthub this would be ready for merge

rebased and updated Chart.yaml with the changelog for artifacthub

and the chart version needs another bump :confused:
chart testing is a bit pedantic here but we save all versions of the chart for internal use, so we need to make sure that each change is tracked with the respected chart version

bumped once more, also updated CHANGELOG.md to list changes under the correct version :smile:

well... i should have spotted this during the review.. the wget implementation in alpine is not compliant to these changes, so i will revert the change on the probe while keeping the fix on the deployment.
from our production instance:
  Warning  Unhealthy  2m58s (x16 over 20m)  kubelet            Liveness probe failed: BusyBox v1.33.1 () multi-call binary.

Usage: wget [-cqS] [--spider] [-O FILE] [-o LOGFILE] [--header 'HEADER: VALUE'] [-Y on/off]
  [-P DIR] [-U AGENT] [-T SEC] URL...

Retrieve files via HTTP or FTP

  --spider    Only check URL existence: $? is 0 if exists
  -c            Continue retrieval of aborted transfer
  -q            Quiet
  -P DIR        Save to DIR (default .)
  -S            Show server response
  -T SEC        Network read timeout is SEC seconds
  -O FILE       Save to FILE ('-' for stdout)
  -o LOGFILE  Log messages to FILE
  -U STR        Use STR for User-Agent header
  -Y on/off   Use proxy

I apologize for this oversight. I suspect this might have been a problem with defining the wget arguments as separate items. I believe something in this format should work instead as I have it running for our server:
exec:
  command:
    - bash
    - '-c'
    - |
      wget -qO- \
      --header="X-Sonar-Passcode:${SONAR_WEB_SYSTEMPASSCODE}" \
      http://localhost:9000/api/system/liveness

Let me know your thoughts or if you prefer to keep things as is. Cheers!


Fix UI issue with unused var

lastFetched was used to visually show which link was previously clicked on. Didn't seem to work since when we switch from file view to directory view, we always send out a new fetch request, so lastFetched keeps getting cleared
it's best to just remove it since it has no real usage

@tieujason330 Since we changed the signature do we need to update the call sites?

@calvinjia not in this case since we're calling the method via .call(). We don't need to explicitly state this as an argument in the signature. It'll be called in the scope of the caller (so using the caller's this). Plus we no longer care about the scope since we'll return an object based on the passed in arguments. One of javascript's many caveats I guess

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/4636/
Test PASSed.

alluxio-bot, merge this please.


fix flaky test

in playwright they just verify that a simple catch is enough without checking which specific error is thrown

@kblok PlaywrightSharp.Tests.Page.NetworkIdleTests.ShouldNavigateToEmptyPage seems to be flaky too.
I think we could fix that in another PR since it's not related to this and is another flaky test and shouldn't block this PR :)

@Meir017 NetworkIdleTests are a headache.
Which test are we trying to improve here?


Pass experimental flag for better stack tracing

Is your feature request related to a problem? Please describe.
When we get a discordjs error related to permissions we get limited stack traces:
DiscordAPIError: Missing Access
    at RequestHandler.execute (/home/brad/Projects/discord-bot-test/node_modules/discord.js/src/rest/RequestHandler.js:170:25)
    at processTicksAndRejections (internal/process/task_queues.js:97:5) {
  method: 'post',
  path: '/channels/723369420612829254/messages',
  code: 50001,
  httpStatus: 403
}

Describe the solution you'd like
Apparently there is a nodejs flag that we can pass to node (and thru nodemon) to get better tracing:
https://v8.dev/blog/v8-release-72#async-stack-traces
Additional context
This might or might not work, just gotta play around with it. Also passing it to nodemon might require us to change how nodemon is setup so we can pass flags directly to node more easily.

This actually looks to be fixed with:
https://github.com/discordjs/discord.js/pull/2744 (not a link to prevent links from that issue to this one hehe)


[Feature Request] ZPL playlist Support

Is your feature request related to a problem? Please describe.
I want to use a groove music playlist on a discord bot.
Describe the solution you'd like
Since, Groove stores the playlists in zpl files, it would be easy to just upload the zpl file in the folder and get it running.
Describe the basic flow/steps of using this feature
How this feature would be used:

this could be used to run groove music playlists

Additional context
Add any other context or screenshots about the feature request here.
Have you confirmed that this idea is not already described here?
https://github.com/jagrosh/MusicBot/projects/1
This feature is not here

You can probably just change the file extension

No, It can't be done because it is written in a zpl format which looks a bit similar to xml

Ah, https://gist.github.com/jgarza9788/a17de65f41f14662491e this might be helpful for the time being.

Thanks!

Ah, https://gist.github.com/jgarza9788/a17de65f41f14662491e this might be helpful for the time being.

hi! I was after some hard work able to change my playlist to m3u but it isn't working with the music bot
Can you guide me!


Fix EpubNavigatorFragment.goBackward/Forward()

Navigator
Fixed

EpubNavigatorFragment's goForward() and goBackward() are now jumping to the previous or next pages instead of resources.

The implementation was not following the spec of Navigator, since it was jumping between resources instead of pages.
    /**
     * Moves to the next content portion (eg. page) in the reading progression direction.
     */
    fun goForward(animated: Boolean = false, completion: () -> Unit = {}): Boolean

    /**
     * Moves to the previous content portion (eg. page) in the reading progression direction.
     */
    fun goBackward(animated: Boolean = false, completion: () -> Unit = {}): Boolean

I also made the conformance to R2BasicWebView.Listener private in EpubNavigatorFragment, to avoid future conflicts.

Me neither, I'm not sure this was really used since the edge tap to turn pages is currently handled in the navigator. But I tried implementing page turns using the volume buttons and noticed this problem.


add name to NIO threads

Which issues of this PR fixes:

This PR try to fix #
Change log:

add name to NIO threads

Test failed : test_four_word_command/test.py::test_cmd_crst FAILED.


Error in Video Download

구독자 다운보기의 경우
ts 파일 다운로드까지는 성공하는데 완성 파일로 묶질못함.

경로 전부 영어로 변환도 해봤고 용량 부족 없으며 관리자권한으로도 실행해 보았음.

Please attach the log record. You can check it by clicking the button in the upper right corner of the download screen.

[2022-05-11 11:58:31,009][INFO] Subprocess ended with exit code 1.
[2022-05-11 11:58:31,009][ERROR][Setup.py:45] File System Error
Traceback (most recent call last):
File "Download\Downloader\Engine\Setup.py", line 43, in run
File "Download\Downloader\Engine\Video\Video.py", line 27, in download
File "Download\Downloader\Engine\Video\Video.py", line 131, in encode
File "Download\Downloader\FFmpeg\OutputReader.py", line 43, in _readWithLogs
File "Download\Downloader\FFmpeg\OutputReader.py", line 52, in checkError
Core.GlobalExceptions.Exceptions.FileSystemError: File System Error
[2022-05-11 11:58:31,009][INFO] Download Failed

It seems that your Windows user account is not an administrator, or you may not be authorized to use that path for some other reason. Select a different path to save the file.

It seems that your Windows user account is not an administrator, or you may not be authorized to use that path for some other reason. Select a different path to save the file.

관리자 계정이며 앱도 관리자 권한으로 실행했으나 안됨.

원인을 찾아냄. 기본으로 설정된 폴더가 아니면 다운로드 되지않음. twitchlink 폴더에만 저장됨.


&optional, &rest are Lispisms

I didn't realize when I implemented them that these are Lispisms.
Guile uses #:optional and #:rest, but only in the context of lambda* and define* (https://www.gnu.org/software/guile/manual/guile.html#Optional-Arguments).
Guile also allows indicating rest args by dotted pair: (lambda (foo . rest) ...)

I decided on the following:

Optional and rest keywords are only recognized in lambda*, define*, and define-macro*
#:optional and #:rest will be the preferred keywords, but &optional and &rest will also be recognized as synonyms
Dotted rest args are supported everywhere


NIFI-12191 install and run Colima for MacOS docker and integration test GitHub Actions

Summary
NIFI-12191 install and run Colima for MacOS docker and integration test GitHub Actions
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[x] Apache NiFi Jira issue created

Pull Request Tracking

[x] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[x] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[x] Pull Request based on current revision of the main branch
[x] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[x] Build completed using mvn clean install -P contrib-check

[x] JDK 21

Licensing

~[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy~
~[ ] New dependencies are documented in applicable LICENSE and NOTICE files~

Documentation

~[ ] Documentation formatting appears as expected in rendered files~

@exceptionfactory I agree that there's concern over the increased cost vs. possible utility - to a degree, I was more wondering whether things would work at all with colima instead of docker
I suspect (the Checks will tell in time) that using MacOS for the ITs will prove more tempremental that worthwhile, so for that reason alone I'm leaning on the side of not including those unless there are obvious benefits - the only real one I can come up with is that MacOS as a development environment is probably more common that Linux (but that's a assumption on my part). How useful regular IT runs are in that environment though, I'm as yet unconvinced
For similar reasons, I was thinking the docker-tests might be worthwhile, and they're also a lot faster to run so would be cheaper in terms of build resources. But that said, I suspect that building and running the Docker Images with colima (or any tool other than docker) is probably relatively rare / not something we're looking to directly support here
So I think it probably comes down to whether we think there is sufficient benefit in (more regularly) running the extended tests in the (assumed) more common development environment

Thanks for the thoughtful reply @ChrisSamo632. Those are definitely points worth considering as far as Colima versus standard Docker.
I have been in touch with Apache Infrastructure support about testing their new hosted GitHub Runners, which will hopefully provide some performance improvements. However, I'm not sure about the operating systems supported, so that may be limiting.
With that background, and considering the resources used, I think it would be better to keep the Docker and Integration Test workflows limited to one OS (Linux). Although it might not cover every possible situation, it is much better than no coverage.
What do you think about re-scoping this pull request to removing the matrix configuration and just targeting the one OS?

@exceptionfactory with the discussion and the continued failure of the Docker-based tests on MacOS runners, I'm certainly happy to re-scope this to be a simplification of the existing Workflows to focus on Ubuntu-based testing only


Plan for releasing the rendering code

Hi,
Thanks for the great work. I wonder if you have any plans to release the code for the rendering in Habitat or Blender? I would like to try to render some sequences as well.

Hello @lxxue,
thank you for your interest in CIRCLE! I am working on getting that code ready for release. You may expect it later this week.

Sounds great, thank you!

@lxxue code is posted. Let me know if you run into any issues.


CSV change data source doesn't work

If I have CSV data layer and change data source through menu, it stops working.
Problem is, that it looses additional params and while selecting NEW CSV, user can't add them or select them.
When I change data source for CSV file, it has to maintain everything after "?" in source URI, because it's not user editable thing.
Example:
Original source URI: file:///C:/Users/kquast/Downloads/RUIAN-SHP/Temp-20210413-OFF.csv?type=csv&maxFields=10000&detectTypes=yes&xField=GPS_X&yField=GPS_Y&crs=EPSG:4326&spatialIndex=no&subsetIndex=no&watchFile=no
New source URI: file:///C:/Users/kquast/Downloads/RUIAN-SHP/Moved-temp-20210413-OFF.csv

Hi @quarkcz
Not the right issue tracker. Please report at https://github.com/qgis/QGIS/issues.
Thanks.


Parallel test execution leads to ConcurrentModificationException

Parallel test execution leads to ConcurrentModificationException
 java.util.ConcurrentModificationException
	at java.base/java.util.HashMap.computeIfAbsent(HashMap.java:1221)
	at seleniumtestinglib.JSExecutorKt.loadScript(JSExecutor.kt:22)
	at seleniumtestinglib.JSExecutorKt.ensureScript(JSExecutor.kt:9)
	at seleniumtestinglib.JSExecutorKt.ensureScript$default(JSExecutor.kt:6)
	at seleniumtestinglib.queries.ApiKt.executeTLScript(Api.kt:68)
	at seleniumtestinglib.queries.ApiKt.access$executeTLScript(Api.kt:1)
	at seleniumtestinglib.locators.ByRole.findElements(ByRole.kt:340)
	...

I think you need to use a ConcurrentMap here: https://github.com/lsoares/selenium-testing-library/blob/main/lib/src/main/kotlin/seleniumtestinglib/JSExecutor.kt#L20

can you check now?

Are you using the library from Maven Central?
If yes no hurries. I'll tell you when I release it.
A segunda, 26/02/2024, 19:48, elgreco247 @.***>
escreveu:

Do I need to build the project locally to check? If so, then it will have
to wait until I find the time for it.
—
Reply to this email directly, view it on GitHub
https://github.com/lsoares/selenium-testing-library/issues/5#issuecomment-1965129944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAFER7NYPL3SHC3TLQD3D6LYVTRHPAVCNFSM6AAAAABD2JHRR2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNRVGEZDSOJUGQ
.
You are receiving this because you commented.Message ID:
@.***>

please close this one if it's fixed

Fixed with version 3.7.8


[SPARK-34058][UI] Add button to show/hide all stage details

What changes were proposed in this pull request?
Currently there is no way to expand all stages details all in once. It is hard if you want to navigate to search for specific stages details.
Proposed to add a UI elements to collapse/expand all stages detail in stages tab.

Why are the changes needed?
Currently there is no way to expand all stages details all in once. It is hard if you want to navigate to search for specific stages details.

Does this PR introduce any user-facing change?
There is no button to cexpand/collapse all stages detail all in once

How was this patch tested?
manual tested

Can one of the admins verify this patch?

Can one of the admins verify this patch?

cc @sarutak and @gengliangwang FYI

cc @sarutak and @gengliangwang FYI

Hi @brandonJY , I have three comments.

I tried this change but it doesn't work on my environment (Pop!_OS, an Ubuntu variant, and Firefox). When I click the button you added, I get the following error on the browser's console.

At first, I couldn't notice where is the button. Users might not notice it's a button.

Could you add the screenshots for before/after press the button.

Hi @brandonJY , I have three comments.

I tried this change but it doesn't work on my environment (Pop!_OS, an Ubuntu variant, and Firefox). When I click the button you added, I get the following error on the browser's console.

At first, I couldn't notice where is the button. Users might not notice it's a button.

Could you add the screenshots for before/after press the button.

@brandonJY could you further explain why we need to show all the details? Normally the details are stack traces.

@brandonJY could you further explain why we need to show all the details? Normally the details are stack traces.

@brandonJY could you further explain why we need to show all the details? Normally the details are stack traces.

Hey @gengliangwang , sometimes we would want to quick identify a stage, and the code line number is not that helpful. Instead, we would have to go through all the stage detail (a.k.a stack traces) to quickly identify the stage we are looking for.

@brandonJY could you further explain why we need to show all the details? Normally the details are stack traces.

Hey @gengliangwang , sometimes we would want to quick identify a stage, and the code line number is not that helpful. Instead, we would have to go through all the stage detail (a.k.a stack traces) to quickly identify the stage we are looking for.

ok. thanks for reviewing.

ok. thanks for reviewing.


Require different Magento versions?

I have a repo. One that requires EE and so it in it's composer.json it adds the magentoee github repo.
Depending on the situation, some times I will require CE instead (depending on the database that vhost points to).
Is there anyway to handle this? I can maintain 2 different branches, but I was wondering if there was another way

Not really, not without changing composer.json. Surely a project is either CE or EE?

@AydinHassan I have an app that can run off both. It's a seperate application to the main website, it runs Magento and points at the database.
It works fine however the issue is that if I deploy the one to an EE that is fine, but If I deploy to a CE it will then run the EE module installers etc which is not a good thing

@craigcarnell It's not a use case I'd want this plugin to support, it doesn't sound very common. Maybe you can just use a script to replace the package name in composer.json or something.


Setting Command.UsageText fails to replace default text

I am attempting to replace the UsageText for a command but it doesn't seem to work:
Program:
package main

import (
	"fmt"
	"os"

	"github.com/urfave/cli"
)

func main() {
	app := cli.NewApp()
	app.Name = "Test App"
	app.HelpName = "app"
	app.Version = "1.2.3"
	app.Commands = []cli.Command{
		{
			Name:      "start",
			Usage:     "Starts the server",
			UsageText: "I'm superman",
			Action: func(c *cli.Context) {
				fmt.Println("Start the server...")
			},
		},
	}

	app.Run(os.Args)
}

Output from go run main.go:
NAME:
   Test App - A new cli application

USAGE:
   app [global options] command [command options] [arguments...]

VERSION:
   1.2.3

COMMANDS:
     start    Starts the server
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Output from go run main.go start --help:
NAME:
   app start - Starts the server

USAGE:
   app start [arguments...]

Thanks for the report @nicklaw5! It looks like UsageText was ignored for commands and subcommands. This should be addressed by #593.

I have just tried to use v1 and the bug is still there


How to make the store injected by Provider read-only?

Assuming we are developing a website with login function.
We have a store called userStore which is used to storage userId, userName, etc.
The userStore is passed through <Provider> like this:
<Provider store={userStore}>
    <Router>
        <TabA />
        <TabB />
    </Router>
</Provider>

What I want is, only share userStore among tabs but forbid modifying its property in some children such as TabA
@inject('store') @observer
class TabA extends Component {
    render () {
        // want to forbid operations like this
       <button onClick={() => {this.store.userName = 'newUserName'}}>Change global store</button>
    }
}

I'm wondering if MobX provides any native solutions to implement a read-only store, such as
@injectReadonly('store') or should I use other libraries like immutable.js to do this?
Thanks :)

How about useStrict()?
Use action()(or @action) with useStrict(true).

https://github.com/mobxjs/mobx/blob/gh-pages/docs/refguide/api.md#usestrict
https://mobx.js.org/refguide/action.html

Besides strict mode Mobx doesn't offer a build in abstraction to make something read only. intercept can be used for that, but does not make something deeply read-only.
If you are using typescript, it is easy though; just expose your store as interface with readonly properties and the compiler will do it for you.


[FLINK-9679] Implement AvroSerializationSchema

What is the purpose of the change
Provides implementation of AvroSerializationSchema that write records serialized as avro and also provides version that uses Confluent Schema Registry to write the record.
This is following AvroDESerializationSchema implementation patterns to have a consistent code base for Ser/Des.
Brief change log

Implemented AvroSerializationSchema / RegistryAvroSerializationSchema / ConfluentRegistryAvroSerializationSchema

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (yes)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (JavaDocs)

@tillrohrmann I implemented ConfluentRegistryAvroSerializationSchema in this PR. I would appreciate if you review.

Hi @medcv ,
First of all thanks for the contribution. There is a couple of problems with this implementation though:

ConfluentSchemaRegistry follows the idea that schemas are grouped by topic name. Providing the topic name in ctor of SerializationSchema will break this assumption when used with topic pattern. I think we should somehow enable passing schema from KafkaProducer to SerializationSchema, but it would require far more changes.
You assume in RegistryAvroSerializationSchema that schema is always represented with a single  id(int). That is true only for the ConfluentSchemaRegistry, e.g. HortonworksSchemaRegistry uses metadata-id(long) and version id(int). The idea of SchemaCoder was to abstract away all "vendor" specific features.

@dawidwys Thanks a lot for the review.
I will start look into both problems that you've pointed out.
Second point would be easy to fix but for the first one I need do some research and see the feasibility of it.

@dawidwys I update the PR, please review
the usage would be like this
 ConfluentRegistryAvroSerializationSchema.forSpecific(User.class, subject,  schemaRegistryUrl)
as Confluent needs "subject"  to fetch the Schema info. Now ConfluentRegistryAvroSerializationSchema uses "subject" directly instated on topic + "-value".

@medcv the new commit does not address any of my previous comments or I don't understand something.

@dawidwys For second issue I am looking at other Schema registries and trying to extend SchemaCoder

@dawidwys
in last commit, I did extend SchemaCoder to have getSchemaId as you suggested.

Actually I've suggested to move the whole writing schema logic into the coder. So the coder should have a method like writeSchema(..., OutputStream out).
Substituting previous topic + "value" with subject does not change anything. It simply renames a lookup key. The whole problem is that it is static and does not take into account the actual topic the message will be written to. Unfortunately I am afraid it would require some changes in the FlinkKafkaProducer itself.

@dawidwys Thanks for your suggestions.
New commit extend SchemaCoder with writeSchema method that helps to move the writing schema logic away from AvroSerializationSchema as you suggested.
Totally agree with you that having dynamic subject variables make the implementations more generic but as this is Confluent specific implementations and this variable is only presented for ConfluentRegistryAvroSerializationSchema, I think a user of this method should be aware of how Confluent requires this variable when they setup their Kafka Producer and Schema Registry.
I am open to suggestions to fix the issue ( by changing FlinkKafkaProducer) if you still thinking this is a blocker for this PR.

@tillrohrmann Please review

@dawidwys I would appreciate if you take a look for the latest changes on this PR.
New commit extend SchemaCoder with writeSchema method that helps to move the writing schema logic away from AvroSerializationSchema as you suggested.
Still using static subject on ConfluentRegistryAvroSerializationSchema

@medcv Dawid is currently on vacation and will be back next week. He will give it another pass when he's back. Please bear with us until then.

@tillrohrmann Thanks for the update!

@tillrohrmann I would appreciate if you take a look also. In last commit all the concerns has been address regarding using SchemaCoder.
Only remaining concern is passing subject to the ConfluentRegistryAvroSerializationSchema which related to how Confluent Schema Registry works. As this is only specific to ConfluentRegistryAvroSerializationSchema I believe it should be ok to pass subject to the ctor.

@dawidwys Thanks for the review. I will do my best to address your comments on next commit and will add tests when the implementations got approved.

@medcv
Hey, any update on this?
I am currently working on a project where we want to use Avro with Confluent and this would be a great thing to have.
Best Regards.

Subsumed by: #8371


Apollo client 3 support

With the new apollo client 3 beta release, react hooks are now included by default, along with the gql tag. Apollo are deprecating the HOC's + Components so can the default config reflect this when apollo client is out of beta? Also the types used from @apollo/react-common can be used from @apollo/client as well.
Currently setting the hooksImportFrom to @apollo/client works for now.
An issue i ran into is if i try and use this across my app:
import { gql } from "@apollo/client"

My queries aren't picked up. However if I use the graphql-tag package, it works?
Thanks!

Currently the root package of Apollo exports gql and also hooks, I'm not sure what would be the right way to export it.
I think @kamilkisiela already has issues with it, because the general package of apollo-client now depends on React (see https://github.com/apollographql/apollo-client/issues/5532).
Anyway, I added this import to list of valid imports in graphql-tag-pluck so now it will detect this gql identifier. We can now gradually support Apollo Client 3 while it's still in beta, and change the behaviour of the codegen and introduce breaking changes when it will be released.

I think let's wait for 2-3 days, maybe they will address that issue and move react under @apollo/react or the non-react parts under @apollo/client/common. I prefer the first option...but we will see what happens.

I'm having a somehow related issue while trying to generate code for Apollo Client 3 using hooks. I can make it work by changing cogegen.yml to get gql from @apollo/client:
[...]
generates:
  [...]
    config:
      [...]
      gqlImport: "@apollo/client#gql"

And then manually changing the imports in the generated code from this:
import { gql } from '@apollo/client';
import * as ApolloReactCommon from '@apollo/react-common';
import * as ApolloReactHooks from '@apollo/react-hooks';

... to this:
import { gql } from "@apollo/client";
import * as ApolloReactCommon from "@apollo/client";
import * as ApolloReactHooks from "@apollo/client";

So far I've only tested a simple query, but it seems all the APIs are compatible. I'm using:
<EMAIL_ADDRESS>

@grancalavera Until it gets fixed, you can use these configuration fields for react-apollo plugin;
https://graphql-code-generator.com/docs/plugins/typescript-react-apollo#apolloreactcommonimportfrom-string-default-value-apollo-react-common
apolloReactCommonImportFrom: @apollo/client
apolloReactComponentsImportFrom: @apollo/client
apolloReactHocImportFrom: @apollo/client
apolloReactHooksImportFrom: @apollo/client

Arda implemented it in: https://github.com/dotansimha/graphql-code-generator/pull/2969

Hello all,
I'm a little confused, is the original issue solved yet?

An issue i ran into is if i try and use this across my app:
import { gql } from "@apollo/client"
My queries aren't picked up. However if I use the graphql-tag package, it works?

Because I tried the last release and graphql-codegen isn't detecting my gql queries as well when I import it from @apollo/client (so no codegen at all).
@ardatan solved a related issue once the code is generated.
Thanks for this awesome piece of software! 🌟

Available in 1.9.0

It's nice that this change is forward-thinking, however, upgrading to 1.9.1 broke my codegen and I had to override using the config mentioned by @ardatan to point back to the current version of Apollo Client.
I don't think it's a good policy for a production library to automatically depend on a beta release of another library. Until apollo-client 3 is officially released, I would suggest the default should remain to depend on the latest production version of 2.x, with the option to opt-in to an upgrade of @apollo/client v3 using the config until then.

@dotansimha
I don't even have a dependency on @apollo/client in my package.json, so now my build is broken.
I'm using apollo-boost per the documentation.
The diff for the latest codegen is this:

As you can see in the visitor implementation, the default version setting is already v2 so it shouldn't break your project.

If you're using Apollo 3, add the following to your config file.  Otherwise it is assuming you're on Apollo 2 and use the old imports.
      config: {
        reactApolloVersion: 3
      }

v2 of the typescript-react-apollo plugin now supports apollo-client v3 by default, and generates hooks only by default.

https://graphql-code-generator.com/docs/plugins/typescript-react-apollo
generates:
path/to/file.ts:
 plugins:
   - typescript
   - typescript-operations
   - typescript-react-apollo
 config:
   reactApolloVersion: 2 # or 3


add vue-smart-route

vue-smart-route is to build smart applications using vue-router.

Thanks @kazupon!


All or part of System.DateTime?

The System.DateTime class provides the current time, which is not under the control of IntelliTest.

It only provides it if I use DateTime.Now or DateTime.UtcNow. If I'm testing a class like this..
public class TestTarget
{
   public DateTime AddSomething(int minutes)
   {
       return GetNow().AddMinutes(minutes);
   }

   protected virtual DateTime GetNow()
   {
     return DateTime.Now();
   }
}

and I use a virtual class like this....
public class TestTargetUnitTestClass
{
  public DateTime When {get;set;}
  protected override DateTime GetNow()
  {
     return When;
  }
}

and create a unit test to instantiate TestTargetUnitTestClass but to test AddSomething, is intellitest going to think that this is non-deterministic?

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

ID: afd1b2f6-e89f-ecdb-0060-de0c7e43d110
Version Independent ID: 9195e48c-d85e-d940-519a-c3642d17aa33
Content: Overview - Visual Studio
Content Source: docs/test/intellitest-manual/introduction.md
Service: unspecified
GitHub Login: @gewarren
Microsoft Alias: gewarren

@AbhitejJohn Could you comment on this question?

@StingyJack : This is a pretty old issue. I'm assuming you've already understood that the answer for this is a non-deterministic analysis because AddSomething does call DateTime.Now in GetNow(). Please feel free to report any issues you have with this workflow as such on developer community.

I think I was trying to figure out how to substitute the derived class (or something like it) in place of the base class in order to  let Intellitest continue to find permutations. But like you said, it was a while ago and I don't remember specifically.


Having hard time with installation into bash

Every command now has this error

ls
bash: _POWERLINE_EXECTIME_TIMER_START=: syntax error: operand expected (error token is "=")

Could you provide more information about your bash?
bash --version
echo $BASH_VERSION
echo $EPOCHREALTIME
echo $PS0
echo $PS1

I cannot issue any commands because of the error. But if I add this to ~/.bashrc then
GNU bash, version 4.4.20(1)-release (x86_64-redhat-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
4.4.20(1)-release

\[${PS1:$((_POWERLINE_EXECTIME_TIMER_START="${EPOCHREALTIME/[^0-9]/}")):0}\]
[\u@\h \W]\$

After starting the shell all commands are broken
ls
bash: _POWERLINE_EXECTIME_TIMER_START=: syntax error: operand expected (error token is "=")

Oops, Bash 4 is outdated. EPOCHREALTIME is only available on Bash 5+, and Bash 5 was released 5 years ago.
I will see if I can support both...

Does 045cf1bbf9678d98aab5735ab12f200d07492a24 fix the issue?

I followed the new instructions, and functionality has improved! The segment is added; however, the times reported are very strange. ls takes a random number of minutes and seconds. It seems there is some kind of scaling factor. If I run something that takes minutes, it shows up as hours. It seems to be off by a hundred?
PS This is the initial
_POWERLINE_EXECTIME_TIMER_START=1731300747246125251

python3.11 and I am 80% confident powerline is running it.

It seems that every time difference is multiplied by 1000. This should not happen as I implemented timestamp unit guesser in 045cf1bbf9678d98aab5735ab12f200d07492a24 and the only possible way (assuming your RTC works fine) to trigger this is using an outdated powerline-exectime.
Did you update the powerline-exectime package (i.e., pythonX.Y -m pip install -U git+https://github.com/Rongronggg9/powerline-exectime or git pull && pythonX.Y -m pip install -U .) and restart the powerline daemon (i.e., systemctl --user restart powerline-daemoe.service or simply restart your computer)?

Success! Thank you so much! Restarting the daemon was pivotal.
pip3 install -U git+https://github.com/Rongronggg9/powerline-exectime --force-reinstall
python3.11 $HOME/.local/bin/powerline-daemon --replace

PS. The overhead of all the processing going on in powerline, bash, powerline-exectime is about 170ms per command as  sleep 1  shows 1170ms, but I don't need any more level of accuracy.
This actually tells me how long it takes to render the powerline, which is a terrific bonus feature! Mine is particularly slow with all the segments I have enabled, and I'm looking for ways to make it faster without sacrificing removing segments.

sleep 1  shows 1170ms, but I don't need any more level of accuracy.

sleep 1 only guarantees that it sleeps for at least 1 second. The accuracy depends on the kernel and the system load. It always takes more than 1 second to return. time sleep 1 measures the time taken by sleep 1 more precisely.
If you would like to measure the "base overhead" more precisely, just execute the empty command :.

PS. The overhead of all the processing going on in powerline, bash, powerline-exectime is about 170ms per command

This actually tells me how long it takes to render the powerline, which is a terrific bonus feature! Mine is particularly slow with all the segments I have enabled, and I'm looking for ways to make it faster without sacrificing removing segments.

The overhead of powerline-exectime is about 0.x ms on Bash 5 and 2~10ms (depends on CPU performance and system load) on Bash 4. It is measured in the exectime segment.
However, the overhead of powerline rendering is not measured, as the timer is stopped before calling powerline. This is intended, as powerline-exectime aims to measure the execution time of commands executed as precise as possible.
Thus, most of your mentioned "overhead" may not be related to powerline. Did you set up some additional prompting utilities other than powerline? You can check them by executing echo $PROMPT_COMMAND.

time sleep 1 measures the time taken by sleep 1 more precisely.

Yep, and that shows barely any overhead
bash -c '/usr/bin/time sleep 1'
        1.01 real         0.00 user         0.00 sys

If you would like to measure the "base overhead" more precisely, just execute the empty command :

Excellent trick. It shows 18ms overhead. However, the "feel" of the terminal's responsiveness is now exceptionally slow. This is on Linux. I bet on my MacOS, and it will be a lot faster.

The overhead of powerline-exectime is about 0.x ms on Bash 5 and 1~10ms (depends on CPU performance and system load) on Bash 4. It is measured in the exectime segment

That's good to know! It will be another reason for our team to push for the next version of the OS.

However, the overhead of powerline rendering is not measured, as the timer is stopped before calling powerline. This is intended, as powerline-exectime aims to measure the execution time of commands executed as precise as possible.

I appreciate the explanation.

Did you set up some additional prompting utilities other than powerline?

Yes quite a few and hence the slowness: Bash-PreExec for Atuin, Powerline, direnv, Atuin

You can check them by executing echo "$PROMPT_COMMAND".

> echo $PROMPT_COMMAND
__bp_precmd_invoke_cmd _powerline_status_wrapper _powerline_set_prompt _direnv_hook;printf "\033]0;%s@%s:%s\007" "${USER}" "${HOSTNAME%%.*}" "${PWD/#$HOME/\~}" : __bp_interactive_mode

I am going a bit wild testing all the segments


Research prototyping for Figma

Describe the task
As a QuackStack Developer I want to learn about prototyping in Figma So That I can create more dynamic mock ups that better represent the look and feel of the final product.
Acceptance Criteria

e.g. Given (Context), When (Action carried out), Then, (expected outcomes)

[x] Learn how to link artboard together to represent workflows
[x] Learn how to create dropdowns and hoverable buttons

Additional context

Add any other context about the task here.

More research will need to be done to figure out overlays and radio buttons


Expose getDefaultPusher

Current workaround is:
function getDefaultPusher() {
	const r = new Replicache({ name: "foo", licenseKey: "bar" })
	return r.pusher
}

Seems reasonable to me.


Arrow keys sending the up and down commands

I am creating this issue to clarify the issue reported by @paul-goggin, which puts the next:

In the latest version of Cache Web Terminal (4.0 Beta 5) is it possible to change the up and down cursor keys to stop showing the history and just send the up and down command?

I will check this today
Just to clarify, do you mean the history appears in the character read mode ( read *char ), when you press up arrow, but instead it must send UP key to the server?

Yes, that is correct,
Thanks for your help,

I have checked this today, and got a result, which seems to be correct:

@paul-goggin, could you please suggest a set of commands which demonstrate the issue? Thank you!

Hi,
I have the code which is called for prompts
R %AN S AZB=$ZB
I $A($E(AZB,1))=27 S AZB=$P(AZB,"[",2) S %AN=$S(AZB="B":"+",AZB="A":"-",AZB="C":"++",AZB="D":"--",1:%AN) G:%AN=""
and based on the result of %AN the prompt will run a function
G:%AN="-" END

@paul-goggin, by running this command in Caché term, I see the read prompt, and when you press the up/down arrow the history comes up (R %AN). So there is nothing different in Caché Web Terminal, all is the same. What is the expected behavior and does it differ from Caché term one?

@paul-goggin, have you any updates on this?

@paul-goggin, have you any updates on this?

Closed due to inactivity.


Add more livecheck strategies for casks.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?
[x] Have you successfully run brew man locally and committed any changes?

See https://github.com/Homebrew/homebrew-cask/pull/95419 for examples.

Review period will end on 2020-12-15 at 00:00:00 UTC.

Review period ended.

Merging this now. I did two livechecks of homebrew/core, before and after this change, and it seems like all is working apart from some “redirection forbidden” differences which should be handled by https://github.com/Homebrew/brew/pull/9535.

If you wouldn't mind, please hold off on merging it until I have a chance to review.

I'd like to get this in soonish, so we can actually start adding it to casks. Please merge once you reviewed it.

@samford, any blockers left here? I think this should be good to go now.

any blockers left here?

I have some commits to push to this PR branch after #10069 is merged but I believe that should be the last big thing. I'm going to rebase this on #10069 locally and run some final tests to make sure we haven't broken anything along the way.
Once #10069 is merged and I've finished testing, I'll rebase this on master and push my latest commits. There may be a little discussion around those changes (nothing too notable) but I agree that this is pretty much done at this point. My commits address will address some remaining areas where I have concerns, so that should finish things off. Any other areas aren't notable enough to hold this up and we can address them in follow-up PRs.
I believe the only other thing is finishing off the backtrace discussion. I'm not convinced the backtrace is beneficial for those other two errors, so I would like to better understand your reasoning.
All that said, if we can get #10069 merged, I'll wrap things up in this PR and merge it once it's ready.

I've rebased this on master now that #10069 is merged. I'm doing a couple final runs of livecheck to compare output but I went ahead and pushed my latest commits so you can have a look at the changes in the interim time. These are the last notable changes that I anticipate unless I encounter any issues during testing. If you sign off on these changes, then I'll take care of wrapping this up and merging it when it's ready to go.
While livecheck is running in the background, I'm working on adding more tests to bump up the code coverage to a passing level. I may also take a pass through this to add documentation comments but these won't really require review. I'm sure it's late over there and I don't want to keep you up while I work on tying up loose ends.


If there are intermittent bad signature errors, what should I suspect?

Hello, we are about to develop a polkadot wallet.
Most transactions made with your project are broadcast normally
Very often, bad signautre falls from the sidecar side.
In that case, if try again under the same conditions, it will be broadcast normally.
These errors are fatal because we hope for a perfect transmission.
Is there a way to decode the signing payload? I have no idea what the problem is.
Below both, Approve as multi transaction.
Fail case
"fromAddress": "5CagbpP8pbEseHmPGnpv7BU5n7eVsQBQByrqmQo5WBCUBBDB",
    "toAddress": "5FVtiUVshscQHpvSoGBde89yDiWGnrGxRhkTKaH4QnyBjDEk",
    "signerAddress" :  "5E1ewZHeKBNh63ErtU6VGizyWRUWys3RDCTQpCUgZU8qnMvd",
  "signInfo": {
    "signingPayload": "0xb901170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000991a24004a2400000c000000e143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423ea4c10c5377ee78540bcacb095bb02af10e42d8da55aeb83364beafd699545706",
    "extrinsicPayload": "170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000991a24004a2400000c000000e143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423ea4c10c5377ee78540bcacb095bb02af10e42d8da55aeb83364beafd699545706",
    "signature": {
      "r": "a0aa5c6c9d7e22238272549979359c95544420ed6c374944bbea53170a5d45b7",
      "s": "c1499217177f7c5617996728ec4256b38ce71b80cb3fb8cab612f98362f55e07",
      "v": "00",
      "full": "a0aa5c6c9d7e22238272549979359c95544420ed6c374944bbea53170a5d45b7c1499217177f7c5617996728ec4256b38ce71b80cb3fb8cab612f98362f55e07"
    },
    "publicKeys": [	    "xpub661MyMwAqRbcGETx3MSs1oFwfdWx4pgz9UxRM1AWJ8XRuptTP6ETM8vFEbXguhkM4rnuNzShDmqwc1ngHCAuRQSGQn7TAd99NAKituinP7s"
    ],

Failed case's signed Tx
0x550384005624ea6062ec07b933a7e421a4c2cbb1b2029ffb21896d56848590e1daeb43b800a0aa5c6c9d7e22238272549979359c95544420ed6c374944bbea53170a5d45b7c1499217177f7c5617996728ec4256b38ce71b80cb3fb8cab612f98362f55e07991a2400170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000

Success case
 "fromAddress": "5CagbpP8pbEseHmPGnpv7BU5n7eVsQBQByrqmQo5WBCUBBDB",
    "toAddress": "5FVtiUVshscQHpvSoGBde89yDiWGnrGxRhkTKaH4QnyBjDEk",
    "signerAddress": "5E1ewZHeKBNh63ErtU6VGizyWRUWys3RDCTQpCUgZU8qnMvd",
  "signInfo": {
    "signingPayload": "0xb901170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000791e24004a2400000c000000e143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e2e18213ef16e39232b122a8f6eb56906c6f966460e77b3f256bf09e6e2d03b47",
    "extrinsicPayload": "170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000791e24004a2400000c000000e143f23803ac50e8f6f8e62695d1ce9e4e1d68aa36c1cd2cfd15340213f3423e2e18213ef16e39232b122a8f6eb56906c6f966460e77b3f256bf09e6e2d03b47",
    "signature": {
      "r": "071b808c07ba1d1b45003a2b338802cfcbc92c930d995da8b0fbd5410899bce5",
      "s": "86ca22b1cd5fb4eb5d6311556adcb0beeb258c1f1aadb3efe6646dd71468920f",
      "v": "00",
      "full": "071b808c07ba1d1b45003a2b338802cfcbc92c930d995da8b0fbd5410899bce586ca22b1cd5fb4eb5d6311556adcb0beeb258c1f1aadb3efe6646dd71468920f"
    },
    "publicKeys": [     "xpub661MyMwAqRbcGETx3MSs1oFwfdWx4pgz9UxRM1AWJ8XRuptTP6ETM8vFEbXguhkM4rnuNzShDmqwc1ngHCAuRQSGQn7TAd99NAKituinP7s"
    ],

Success case's signed Tx
0x550384005624ea6062ec07b933a7e421a4c2cbb1b2029ffb21896d56848590e1daeb43b800071b808c07ba1d1b45003a2b338802cfcbc92c930d995da8b0fbd5410899bce586ca22b1cd5fb4eb5d6311556adcb0beeb258c1f1aadb3efe6646dd71468920f791e2400170202000807360d8dd6a95c24dc445eecb863fac78d6bce000ba6b4c19f5d022868db1e418967b91b97ce28042881df2248283542538f6e785b165ee13185e93709a066c60006a7460e47dd4638e98e70fed820a8e34a569044d12a5a1f902bf0a256f6590500a0252600000000

There is no difference except for payload. Our terms and conditions were perfectly.
Please let me know if you have any doubts
We are using the latest versions of txwrapper-core, sidecar, and Pokadot node.

Is there a way to decode the signing payload

Yes, decodeSigningPayload, in which case you can just use decode.
When constructing the Payload, what are you inputting as the eraPeriod, and are you broadcasting the transaction right after constructing it?

Hey @paperfrog95, still an issue? Ill be closing this issue soon as stale.

Closing since this has become stale, please feel free to reopen if you still have an issue.


cmd/compile: "import path contains space character" overly zealous

cmd/compile complains if an import path contains a space character. More so, it also complains if a package path (import path after resolving it) contains a space character. This seems overly zealous.
For instance, for a small experiment, I had put two .go files main.go and lib.go in a local directory that happens to be under my Google Drive directory, with the main package containing the local import "./lib".
It's probably useful to reject arbitrary Unicode spaces, but a regular blank ' ' (0x20) character should be ok. Independent of Google Drive, on OS X it is not uncommon to have blanks in folder names.

The spec forbids the import path containing a space and I don't think that should change. What you're asking for is the fully-qualified path name to be allowed to have spaces, and that seems fine.

@robpike Yes, that is what I am asking for.

Fixing this (but still disallowing actual imports with actual spaces) seems fine.


latex: notes missing nested in verses, when using libcouplet.xsl

xsl/latex/libcouplet.xsl drops notes in verses.
Example: See note anchored on bd3e6808 in Test/Sag1.tei.xml.

[x] fix
[ ] regression test

added 2h of time spent

mentioned in commit 76758dab9f9d4acb53b1ebe8a39ed22e230a0dbe

marked the checklist item fix as completed


Run Livebook Desktop without EPMD

If EPMD is running, we will register ourselves within EPMD, otherwise we don't bother starting it. This works by passing the parent port to the runtime which then matches against it when trying to connect back. We also patch the epmd module to keep the distribution port (which otherwise we wouldn't know).
To test this, you can killall epmd (or epmd -kill), start Livebook, and double check running a notebook works as expected. There are some pending features which I will need the power of friendship to solve:

[x] Test the current PR works on Windows
[x] Test the current PR works on macOS

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Consider paying Apple $99 to sign releases

It's annoying to have to go through the "cannot open applications from unidentified developers", create a security exception, go back and re-open the application every time one downloads a new jar file on a Mac.
If you pay Apple $99/year to be a certified developer, then you can sign release binaries and eliminate that.

You may not like this idea, but what I do is have my setting set to allow apps downloaded from anywhere to avoid this issue.  I run into this too often, and I also find it annoying.  If I downloaded it, then I meant to download it.
However, your point is well taken, since for the general public they will not likely want to change this setting.  We will look into what it takes to do this.

On Feb 7, 2018, at 4:51 AM, Jacob Beal<EMAIL_ADDRESS>wrote:
It's annoying to have to go through the "cannot open applications from unidentified developers", create a security exception, go back and re-open the application every time one downloads a new jar file on a Mac.
If you pay Apple $99/year to be a certified developer, then you can sign release binaries and eliminate that.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/252, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD9-ffVh2mHasS-u1wRGRZFlXkD3QEks5tSY5EgaJpZM4R8lbf.

I consider that to be an unacceptable security risk.

Apple announced earlier this year that the $99 developer fee can be waived if the publisher is an "accredited educational institution". This is done through a fee-waiver with the organization's EIN/tax ID. https://developer.apple.com/support/membership-fee-waiver/

Cool.  I see if I can find that out.

On Aug 16, 2018, at 11:19 PM, Michael Zhang<EMAIL_ADDRESS>wrote:
Good find! @cjmyers https://github.com/cjmyers Do you know our EIN/tax ID?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/SynBioDex/SBOLDesigner/issues/252#issuecomment-413760375, or mute the thread https://github.com/notifications/unsubscribe-auth/ADWD944aHuxY2i0qEvGOPMV-Vc1zTqg7ks5uRlJpgaJpZM4R8lbf.

I will contact tax services at the U to see if I can get that.  Actually, it might be on my paycheck.

Will sign the 3.1 release when release is finalized. @cjmyers

We looked into this, and it appears it is not as easy as we hoped.  One of my students has a developer's account, and here is what he discovered:
"I've been trying to give signing a go but the link you sent me has deprecated instructions as some of the links with required software are no longer available. From what I can piece together is that the .jar needs to be converted to a .app file and then signed, and then distributed on the Mac app store to bypass the message that we are getting upon opening the jar file. I think that this might be a rather lengthy and undesirable outcome of what we want to accomplish. "


Reserved namespace error should mention a link to docs (aka.ms?)

Describe the bug
When a user pushes a new package to NuGet.org and the ID is under  a reserved namespace, we show this error:

This should mention a link to docs:
https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation
Requested by @anangaur

For the text that shows in the banner -
This package ID has been reserved, per https://docs.microsoft.com/en-us/nuget/nuget-org/id-prefix-reservation. Please request access to upload from the prefix owner, or re-upload the package under a different prefix.
@skofman1 Let me know if there is anything else I can help with! :)


Selective test coverage investigation.

How do we want to figure out meaningful code coverage by checking that lines have actually been covered in a meaningful way?
@JQrdan mentioned Jest has an option for this - this issue is to explore it, and if we can get benefit from it.

The option is this https://jestjs.io/docs/en/cli#--onlychanged


add inScheme more places, @type more places, and restructure Activities

This tidies up the alignment with SKOS and clarifies @types. Closes #54.

+1

I'm going to add a TODO for myself before merging:

[ ] add in optionality rules to the Activity section.


_index available in results

https://github.com/pdphilip/laravel-elasticsearch/blob/c810b1ebef688af30c730f7a738460564b61e6ed/src/DSL/Bridge.php#L620
please also keep '_index' field in the results
i've added
$datum['_index'] = $hit['_index'];
this is useful when working with dynamic indices.
i use in search $index  = '.ds-filebeat-*', but to delete a record i need to know the exact index (".ds-filebeat-8.2.0-2022.05.21-000001")

This is an excellent use case. The problem with returning the '_index' field as data is that it will be added to the collection and Laravel will save it if you update the active collection; _index is a protected field name in ES so it will throw an error when you do.
Anyway, I've updated the plugin with a better solution to work with dynamic indices, on model hydration the index gets updated on lookup, so you can update and delete the record directly (without having to look up which index it lives in).
If you need to see the record's index anyway, you can use: $myRecord->getRecordIndex()
For creating a new record, you'll need to specify the index with $theModel->setIndex('models_'.$date);


Is this woking with 5.1

I would like to test it.

Hi @uhlhosting,
I believe you'll find more info on this page: https://github.com/mattermost/mattermost-plugin-memes/releases.
Initial release requires Mattermost 4.6 or greater to run, v1.0 release will only work with Mattermost 5.2+ in the future.

@uhlhosting Can this issue be closed?

Yes @amyblais please.


Can I use prisma instead of Apollo?

I understood that Prima and Apollo were playing different roles.
But we also understood that prisma can perform gql through servers and clients.

Is it necessary to introduce apolo?
how to use prisma client on nuxt or vue?

Prisma is used to bind your database to your server.
On the other hand, Apollo is used to bind your server to your client.

If you want to do some adjustments to your data on your server before saving to your database I recommend you to use Apollo with Prisma.
You can use Prisma client to save data directly to your database from your client. In this way, your Prisma endpoint would be exposed though. It is good when prototyping or in early development. For production, I'd recommend using Apollo with Prisma

Thank you @SergeiMeza! I realized about this but I forgot to close issue.


MDClone_Semaglutide_v1.0 Model on GitHub

Clean, harmonize, and train the MDClone Semaglutide v1.0 model, and upload the model script with associated documentation onto GitHub.

Model Finished may add shap visuals later

Finished model and it has been posted on the predictmod page


ArbitraryFileIdManager should have a configurable option to determine its "content root"

In looking at various ContentsManager implementations (e.g., S3, PostgreSQL) the root_dir is not used.  Instead, a different (custom) attribute would be tantamount to determining the content root.  For example, the referenced S3 ContentsManager has a bucket attribute indicating the bucket in which the content resides.  Similarly, the referenced PostgreSQL ContentsManager uses db_url to identify the database, which would be sufficient as the content root. (One might argue that the user_id attribute may be a better choice, but that's an unrelated discussion.)
It seems like ArbitraryFileIdManager should introduce a configurable trait that either indicates the name of the attribute from which to pull the content root identifier from or a trait the user must set on both its ContentsManager and ArbitraryFileIdManager.
I'd lean toward the former.
Proposal

Introduce a trait content_root_attribute: str that refers to the attribute on the configured ContentsManager from which the content_root value (known as root_dir today, and that name can continue) is pulled.  The default value for content_root_attribute would be root_dir.

The other option would be to simply expose root_dir on ArbitraryFileIdManager which is configured to be the same value as the appropriate attribute on ContentsManager (e.g., S3ContentsManager.bucket).
The advantage of the first option is that operators/admins would only need to configure the ArbitraryFileIdManager once for the duration that that particular ContentsManager is in use.  While the second option would require a different configuration for each user.  As a result, the first option is helpful for IT staffs that need to push configurations (like in Berkeley's Data 8 class or in PaaS envs).

Correct - although my use case would use a file to contain the config that operators push out.  So in your example above, operators would push a config containing:
c.ArbitraryFileIdManager.content_root_attribute="bucket"

Then, users alice and bob run (respectively)...
jupyter lab --S3ContentsManager.bucket="s3://alice"

jupyter lab --S3ContentsManager.bucket="s3://bob"

vs. users essentially having to list/update both values:
jupyter lab --S3ContentsManager.bucket="s3://alice" --S3ContentsManager.content_root="s3://alice"

jupyter lab --S3ContentsManager.bucket="s3://bob" --S3ContentsManager.content_root="s3://bob"

(I guess I'm also advocating that BaseFileIdManager have its root_dir renamed to content_root so that it's more natural across ContentsManager implementations.)


Bug in offsets readout, unexpected fall back to 0

I just discovered a serious bug in the data and offset readout while I was working with larger ROOT files. I think it's mostly affecting large datasets, but I am not sure.
With small sample file, we have no issues, everything is read out correctly and I can assemble the hits.
Just as a side note: a UnROOT.KM3NETDAQHit consists of 10 bytes and per event we have a 10 bytes header.
julia> f = ROOTFile("/home/tgal/Dev/UnROOT.jl/test/samples/km3net_online.root")ROOTFile with 10 entries and 54 streamers.
/home/tgal/Dev/UnROOT.jl/test/samples/km3net_online.root
├─ E
│  ├─ "Evt"
│  └─ ""
├─ KM3NET_TIMESLICE
│  ├─ "KM3NET_TIMESLICE"
│  └─ ""
├─ KM3NET_TIMESLICE_L0
│  ├─ "km3net_timeslice_L0"
│  └─ ""
├─ KM3NET_TIMESLICE_L1
│  ├─ "km3net_timeslice_L1"
│  └─ ""
├─ KM3NET_TIMESLICE_L2
│  ├─ "km3net_timeslice_L2"
│  └─ ""
├─ KM3NET_TIMESLICE_SN
│  ├─ "km3net_timeslice_SN"
│  └─ ""
├─ KM3NET_EVENT
│  ├─ "KM3NET_EVENT"
│  └─ ""
└─ KM3NET_SUMMARYSLICE
   ├─ "KM3NET_SUMMARYSLICE"
   └─ ""

julia> data, offsets = UnROOT.array(f, "KM3NET_EVENT/KM3NET_EVENT/snapshotHits"; raw=true)
(UInt8[0x40, 0x00, 0x03, 0xc6, 0x00, 0x09, 0x00, 0x00, 0x00, 0x60  …  0x30, 0x40, 0xa9, 0x7d, 0x0a, 0x3c, 0x21, 0xc9, 0x03, 0x17], Int32[0, 970, 2220, 3010])

julia> length(data)
3010

julia> length(offsets)
4

julia> offsets
4-element Vector{Int32}:
    0
  970
 2220
 3010

julia> sum(diff(offsets))
3010

julia> minimum(diff(offsets))
790

julia> UnROOT.splitup(data, offsets, UnROOT.KM3NETDAQHit, skipbytes=10)
3-element Vector{Vector{UnROOT.KM3NETDAQHit}}:
 [UnROOT.KM3NETDAQHit(806451572, 0x0a....

Now comes the fun part. Here is a large file with 10410 events. In UnROOT, the length of the offsets indicates 10411 events, one more than expected!
julia> f = ROOTFile("/data/irods/mc/atm_muon/KM3NeT_00000044/v6.1/trigger/mcv6.1.mupage_10G.sirene.jterbr00007209.2548.root")
ROOTFile with 17 entries and 76 streamers.
/data/irods/mc/atm_muon/KM3NeT_00000044/v6.1/trigger/mcv6.1.mupage_10G.sirene.jterbr00007209.2548.root
├─ KM3NET_SUMMARYSLICE
│  ├─ "KM3NET_SUMMARYSLICE"
│  └─ ""
├─ KM3NET_SUMMARYSLICE
│  ├─ "KM3NET_SUMMARYSLICE"
│  └─ ""
├─ E
│  ├─ "Evt"
│  └─ ""
├─ E
│  ├─ "Evt"
│  └─ ""
├─ KM3NET_TIMESLICE_SN
│  ├─ "km3net_timeslice_SN"
│  └─ ""
├─ KM3NET_TIMESLICE_SN
│  ├─ "km3net_timeslice_SN"
│  └─ ""
├─ KM3NET_TIMESLICE
│  ├─ "KM3NET_TIMESLICE"
│  └─ ""
├─ KM3NET_TIMESLICE_L0
│  ├─ "km3net_timeslice_L0"
│  └─ ""
├─ KM3NET_TIMESLICE_L1
│  ├─ "km3net_timeslice_L1"
│  └─ ""
├─ KM3NET_TIMESLICE_L2
│  ├─ "km3net_timeslice_L2"
│  └─ ""
└─ KM3NET_EVENT
   ├─ "KM3NET_EVENT"
   └─ ""

julia> data, offsets = UnROOT.array(f, "KM3NET_EVENT/KM3NET_EVENT/snapshotHits"; raw=true)
(UInt8[0x40, 0x00, 0x05, 0xec, 0x00, 0x09, 0x00, 0x00, 0x00, 0x97  …  0x30, 0x37, 0xb3, 0xec, 0x10, 0x29, 0x2f, 0xc9, 0x04, 0x06], Int32[0, 1520, 2000, 2460, 2920, 3740, 4840, 5610, 6120, 6960  …  2982630, 2983100, 2983870, 2984680, 2986230, 2986700, 2987130, 2987610, 2988370, 2989030])

julia> length(data)
7936390

julia> length(offsets)
10412

julia> sum(diff(offsets))  # this does not give 7936390 due to the jump, see below
2989030

julia> minimum(diff(offsets))
-4947360

julia> argmin(diff(offsets))
6553

julia> offsets[6550:6560]
11-element Vector{Int32}:
 4944770
 4945250
 4945910
 4947360
       0
    1080
    1720
    2330
    2810
    4270
    5370

I first compared the length of events (number of hits) at the beginning of the data and the end of the data and they all match! It's just this weird jump in the middle of the offsets.
Luckily the number of bytes in data matches the expected number of bytes when cross-checking with uproot (it's n_events * 10bytes + n_hits * 10bytes == 7936390`)
Now I have to understand why the offset starts to count from 0 and how to solve it. For now, UnROOT simply iterates over the diff(offsets) and it worked,  but apparently it's not the full story ;)

I just checked with km3io/uproot and there, the offset is continous:
>>> import km3io

>>> f = km3io.OnlineReader("mcv6.1.mupage_10G.si
... rene.jterbr00007209.2548.root")

>>> f.events.snapshot_hits._offsets
array([     0,    151,    198, ..., 783089, 783164, 783229])

Digging deeper, it's related to how we handle multiple entries in fBasketSeek.
For the small file, fBasketSeek only contains a single entry:
julia> f = ROOTFile("/home/tgal/Dev/UnROOT.jl/test/samples/km3net_online.root");

julia> f["KM3NET_EVENT/KM3NET_EVENT/snapshotHits"].fBasketSeek
┌ Warning: Can't automatically create LazyBranch for branch KM3NET_EVENT/KM3NET_EVENT/snapshotHits. Returning a branch object
└ @ UnROOT ~/.julia/packages/UnROOT/o16Nw/src/root.jl:96
10-element Vector{Int64}:
 1606921
       0
       0
       0
       0
       0
       0
       0
       0
       0

Whereas for the larger file we have two entries, in two different parts of the ROOT file:
julia> f["KM3NET_EVENT/KM3NET_EVENT/snapshotHits"].fBasketSeek┌ Warning: Can't automatically create LazyBranch for branch KM3NET_EVENT/KM3NET_EVENT/snapshotHits. Returning a branch object
└ @ UnROOT ~/.julia/packages/UnROOT/o16Nw/src/root.jl:96
10-element Vector{Int64}:
 324654693
 531785725
         0
         0
         0
         0
         0
         0
         0
         0

It's just the stitching of the two different parts, which is buggy, so that will be an easy fix, I think. Let's see... ;)

https://github.com/tamasgal/UnROOT.jl/blob/74735c939e4127ee527270b21be9cd19626566f9/src/root.jl#L280
maybe this? But this should only push the last offset for each basket

I am going through the code. The problem is also the extra entry in the offsets, since it has an additional entry when the basket is changed.
Are you handy with basket option tweaking in ROOT? We need a small test file which uses multiple branches to test this :confused: I am currently looking how to set the basket size but have not found anything useful yet.

if there are 10 elements in a basket, we do expect 11 offsets. Because you index ith element with offset[i]:offset[i+1] right?

Yes that's true, but I have one more ;)

Just to clarify: the number of offset-elements is correct (11) for the small file with 10 entries. For the large file it's 10412 instead of 10411 (corresponding to 10410 elements).

ah ok, I think the fix is when we dump out the entire branch's raw bytes, for each basket we need to add a "global offset"

Yep, we just need to go ahead and count up. I am trying to figure out where to do it, the code has changed a lot :laughing:

I think just this one function:
https://github.com/tamasgal/UnROOT.jl/blob/74735c939e4127ee527270b21be9cd19626566f9/src/root.jl#L223

Yes, it should be ripped apart (divide and conquer). For now I'll do a quick fix and later we can discuss how to proceed.

wait, I think we can just fix it by:
Seeks = branch.fBasketSeek;
    for i in eachindex(Seeks)
        i==length(Seeks) || Seeks[i] ==0 && return
        data, offset = readbasketseek(f, branch, Seeks[i])
        if Seeks[i+1] != 0
            pop!(offsets)
        end
        append!(datas, data)
        append!(offsets, offset)
    end

Oh well, look at my hack :laughing:


[Event Parameter change] codeunit 22 "Item Jnl.-Post Line" - OnBeforeInsertPhysInvtLedgEntry

We would like to add parameter ItemJnlLine to event OnBeforeInsertPhysInvtLedgEntry. We need the item tracking fields to add to the PhysInvtLedgEntry. Lot No., Serial No., Packing No. are not available at this point.
        //OnBeforeInsertPhysInvtLedgEntry(PhysInvtLedgEntry, ItemJnlLineOrigin); A200F0000.Event.o
        OnBeforeInsertPhysInvtLedgEntry(PhysInvtLedgEntry, ItemJnlLineOrigin, ItemJnlLine); //A200F0000.Event.n

Event Signature:
[IntegrationEvent(false, false)]
local procedure OnBeforeInsertPhysInvtLedgEntry(var PhysInventoryLedgerEntry: Record "Phys. Inventory Ledger Entry"; ItemJournalLine: Record "Item Journal Line"; LastSplitItemJournalLine: Record "Item Journal Line")
begin
    //A200F0000.Event Parameter LastSplitItemJournalLine
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Update Globals “site_data”

Automatically generated by Netlify CMS

👷 Deploy Preview for shiny-babka-998c7e processing.

Name
Link

🔨 Latest commit
dfd8d9fdb7f91b03196b480b461b9779be977461

🔍 Latest deploy log
https://app.netlify.com/sites/shiny-babka-998c7e/deploys/62838a781a187d00093ef793


fix(common): lw-7416-make drawer navigation title visible

Checklist

[x] JIRA - LW-7416
[ ] Proper tests implemented
[x] Screenshots added.

Proposed solution
Remove z-index of -1 from drawer navigation title
Screenshots
Before

After

Allure report
allure-report-publisher generated test report!

smokeTests: ❌ test report for 02a4079b

passed
failed
skipped
flaky
total
result

Total
27
5
0
0
32
❌

I tried this quick fix before :)
Removing z-index is not enough unfortunately :(
This makes title visible but makes back button 'unclickable'

I tried this quick fix before :) Removing z-index is not enough unfortunately :( This makes title visible but makes back button 'unclickable'

Fixed on 139a0a4


Fix handling update from old CF template format

Follow up to #38 fixes the case of updating from the old CF template format to the new one.
Added a test case for the migration which covers this issue.

:+1:

:+1:


Fix typo

Coverage decreased (-0.01%) to 51.254% when pulling cdb3e3e30d0f462b630c68ae093066658151e51c on ligurio:patch-1 into 590d44c02bca83987d23f6eab75e6d0ddf95f644 on mattn:master.

Thank you


Type hint errors in new azure-storage-blob release

Package Name: azure-storage-blob
Package Version: 12.9.0
Operating System: Ubuntu
Python Version: Python 3.8

Describe the bug
Type hint issues. We get the following output from mypy after the azure-storage-blob version released yesterday:
[...]/azure/storage/blob/_serialize.py:129: error: Type signature has too many arguments  [syntax]
[...]/azure/storage/blob/_blob_client.py:1407: error: Type signature has too few arguments  [syntax]
[...]/azure/storage/blob/aio/_blob_client_async.py:808: error: Type signature has too few arguments  [syntax]
error: "azure.storage.blob.aio.ContainerClient" has no attribute "__aenter__"  [attr-defined]
error: "azure.storage.blob.aio.ContainerClient" has no attribute "__aexit__"  [attr-defined]

Code references to the first three:
https://github.com/Azure/azure-sdk-for-python/blob/da36d3091177ca3918c93977296d33372b34aa5c/sdk/storage/azure-storage-blob/azure/storage/blob/_serialize.py#L129-L130
https://github.com/Azure/azure-sdk-for-python/blob/da36d3091177ca3918c93977296d33372b34aa5c/sdk/storage/azure-storage-blob/azure/storage/blob/_blob_client.py#L1407-L1408
https://github.com/Azure/azure-sdk-for-python/blob/da36d3091177ca3918c93977296d33372b34aa5c/sdk/storage/azure-storage-blob/azure/storage/blob/aio/_blob_client_async.py#L808-L809
To Reproduce
Use mypy on newly released azure-storage-blob==12.9.0
For the two last type hint issues listed above you will need to use azure.storage.blob.aio.ContainerClient within async with in the downstream/user script to trigger the warning, e.g.:
from azure.storage.blob.aio import ContainerClient

async with ContainerClient.from_connection_string(some_string) as container_client:
    ...

Expected behavior
No type issues

Hi @anders-kiaer
Thanks for reporting this! We are putting out a pr to fix this.

Hi @anders-kiaer (and others), apologies for the delay in addressing this. Two of the errors were recently fixed in #22741 and I just created #23098 to address another. These will go in our next release (expected in March).
The __aenter__ and __aexit__ ones are more interesting since ContainerClient does have these methods through its inheritance of AsyncStorageAccountHostsMixin. I'm not terribly familiar with mypy so I wonder if it is supposed to pick these up through inheritance?

I looked into the __aenter__ and __aexit__ issues and these seem to be caused by an issue with mypy (or one of its dependencies) that was addressed in v0.812 (see python/mypy#9739). I have verified these issues are not present with the provided code sample using mypy==0.931.


[5.6] re-introduce Package.Dependency.Requirement::upToNextMajor and ::upToNextMinor

5.6 cherry-pick of #3922

@swift-ci please test


Emit null for all columns if Kafka record has a null value

Fixes #29.
This is quite possibly not The Right Way to solve the issue, but it seems to work. I wasn't able to figure out how to test sending in a null value in the integration tests, so any help is appreciated!

Hello @jwarlander ,
Thanks for the feedback and PR! We really appreciate it!
I am going to have review soon.

Hello @jwarlander,
I have added minor change and test for records with null value emit.
This now looks good! Should we merge it? Could you please make the PR ready?


Document performance changes for BEST_COMPRESSION since ES 7.9

Is your feature request related to a problem? Please describe.
Lucene 8.7 (newly introduced in OS 1.0) and newer changed its compression codec, which results in significantly improved compression ratio but somewhat slower read times. See opensearch-project/OpenSearch#1647 for details. This can result in increased query times in OpenSearch when configuring an index for BEST_COMPRESSION. Users may be surprised at this performance change, so it would be good to have some reference documentation with details of the tradeoffs involved.
Describe the solution you'd like
Some kind of documentation or guides to help users that upgrade and see performance changes.
Describe alternatives you've considered
Alternatively we could publish official benchmarks for each release. In this case, for an index configured for BEST_COMPRESSSION, the benchmarks should show smaller dataset size at the cost of slower queries.

A quick improvement here is to update the index.codec documentation to provide some basic guidance as to what the different values do.

default: Optimizes for retrieval speed.
best_compression: Trades retrieval speed for better compression which results in smaller data sizes on disk.


Incompatible pointer to integer conversion in rhash.c

While testing the vcpkg port with Android NDK r26:
FAILED: CMakeFiles/rhash.dir/rhash.c.o
/vcpkg/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/bin/clang --target=armv7-none-linux-androideabi21 --sysroot=/vcpkg/android-ndk-r26b/toolchains/llvm/prebuilt/linux-x86_64/sysroot -DIN_RHASH -DRHASH_XVERSION=\"\"  -g -DANDROID -fdata-sections -ffunction-sections -funwind-tables -fstack-protector-strong -no-canonical-prefixes -D_FORTIFY_SOURCE=2 -march=armv7-a -mthumb -Wformat -Werror=format-security  -fPIC   -fno-limit-debug-info    -fPIC -MD -MT CMakeFiles/rhash.dir/rhash.c.o -MF CMakeFiles/rhash.dir/rhash.c.o.d -o CMakeFiles/rhash.dir/rhash.c.o -c /mnt/vcpkg-ci/b/rhash/src/v1.4.4-e609ae2b07.clean/librhash/rhash.c
/mnt/vcpkg-ci/b/rhash/src/v1.4.4-e609ae2b07.clean/librhash/rhash.c:877:10: error: incompatible pointer to integer conversion returning 'char[1]' from a function with result type 'rhash_uptr_t' (aka 'unsigned int') [-Wint-conversion]
                return RHASH_XVERSION;
                       ^~~~~~~~~~~~~~
<command line>:2:24: note: expanded from macro 'RHASH_XVERSION'
#define RHASH_XVERSION ""
                       ^~
1 error generated.

(Ignore the empty RHASH_XVERSION.)
The build succeeds when wrapping RHASH_XVERSION in PVOID2UPTR(...). However, this ignores alignment.

Could you add the preprocessor definition
RHASH_XVERSION=0x01040400

and try again? configure defines it, but maybe CMake does not.

Read the previous answer. Also, cmake is not currently supported yet.

Thank you, I realize that this is poor porting in vcpkg. Sorry for the noise.


Errors from server not handled well

<EMAIL_ADDRESS>on 13 Dec 2013 at 3:45:
I suspect this is true about many/all services, but my code looks something
like this:

        _, err = service.Objects.Insert(bucket, obj).Media(f).Do()

Where service is a "storage service" instance.  This is all well and good until
the server returns an error.  The error comes through as an XML body of the
HTTP response.  Like this:

<?xml version='1.0'
encoding='UTF-8'?><Error>NoSuchBucket<Message>The specified bucket
does not exist.</Message></Error>

The google-api-go-client tries to parse this as a valid "insert" response, and
gets confused, giving something along the lines of:

googleapi: got HTTP response code 404 and error reading body: invalid character
'<' looking for beginning of value: error uploading file

It would be nice if the error returned contained more information about what
the server says the error is.

Successfully auto-migrated from code.google.com:
https://code.google.com/p/google-api-go-client/issues/detail?id=50

Error reporting has been improved by several PRs.
Additionally, the server response body is now provided (by https://github.com/google/google-api-go-client/commit/7278d07f282a98e6c25371c9b3f8ce6b46c1139f) when errors are reported which can be parsed.
Closing this issue as resolved.


Updating from v0.17.0 to v0.18.0 issue

Hi Julz,
I just updated to v0.18.0 and my aviator file is breaking when doing the fly feature. The following config:
fly:
  config: /tmp/final-pipeline.yml
  name: $PIPELINE
  target: $TARGET
  vars:
  - vars.yml

was working fine under v0.17.0, however when upgrading the version, that same part broke with the following:
YAML Parsing Failed: yaml: unmarshal errors:
  line 15: cannot unmarshal !!seq into map[string]string

Have you seen this behaviour?

Hi @qu1queee,
yes I see. Please note the "breaking changes" in the release notes of the latest aviator release.
I functionality of the vars property was renamed to load_vars_from and the new functionality of vars is now a different one. It was renamed to match the cli flags of the fly CLI. You can check them here: https://concourse-ci.org/setting-pipelines.html#fly-set-pipeline (<IP_ADDRESS>.1 Pipeline ((params)))

thanks! Closing this cause is not longer valid.


post-process: extract focus function to html report

Thanks for this!
I'm a little worried about the amount of info going into the human readable html report though. This information seems more useful to automated fuzzing infra instead as a JSON file and can be omitted from the human readable report?

@DavidKorczynski ping :)

Sounds good! I will fix this up tomorrow (Thursday) UK time. I will also set it up such that the analyses run without displaying it on the HTML report (also added this https://github.com/ossf/fuzz-introspector/issues/239 to remove some of the bloat from the report).

Thanks for this!
I'm a little worried about the amount of info going into the human readable html report though. This information seems more useful to automated fuzzing infra instead as a JSON file and can be omitted from the human readable report?

https://github.com/ossf/fuzz-introspector/pull/245 removes the HTML from the main page and writes it to a JSON file instead. Please see that PR for details.


bugfix for UUID lookup

from django 3.2 UUIDTextMixin removes the dash from the UUID(https://docs.djangoproject.com/en/dev/ref/models/fields/#uuidfield), default lookup_filed unable to filter genome and dataset for given UUID.
The custom UUIDField will resolve this issue and we can you default lookup_filed feature to filter the UUIDS

We need the tests to pass and it to accept a uuid stored in char field in mysql. If you find a way for this to work I would be ecstatic.

Test fixed all good now