Add new flag to variants page when variant is not called in one data type

Very long context:
Variants that are only present in one data type (exomes or genomes) currently only display frequencies in a single data type. For example:

https://gnomad.broadinstitute.org/variant/2-151663543-C-T?dataset=gnomad_r4
only shows frequency information from the v4 exomes because this variant was not called in the v4 genomes. Given the genomes coverage in this region:

the most likely reason why this variant doesn't have any allele number (AN) information from the genomes is due to the fact that we do not joint call our two data types into a single callset (we have separate exomes and genomes callsets). This means that the v4 genomes likely all had homozygous reference genotype calls at this locus, so this variant was not emitted in that callset (despite it being present in 7 exome samples).
The team is working on a new type of computation that generates AN across all possible sites for both data types. Once we have created this new releasable file, we will be able to incorporate new AN information to variants that previously only had frequency information from one data type but have good coverage in the other data type (such as 2-151663543-C-T above).
Request:
After we update the ANs / joint frequencies, I would like to update this "No variant" to make it very clear when a variant was truly not seen / not possible to have been detected / zero AN in either the exomes or genomes. My current idea is to add a hover over to the "No variant" box explaining this, something like:

This variant was not called in the gnomAD ; no samples had any genotype call (no samples had reference or alternate calls).

Would it be possible to add this new hover over text and share a screenshot/demo with the wider project to get feedback?

Should be easy to add this when the flag is there. If this is just an addition of hover text I'm not sure if we need much in the way of screenshots other than just figuring the text should say?

yep, I was thinking that it would be nice to share the screenshots with the internal project to get feedback and make sure people understand what what the flag is designed to convey before releasing publicly


ENH: Pass arguments to FuncCond

This enables the following pattern:
@app.cond()
def file_exists(file):
    return Path(file).is_file()

@app.task(file_exists("myfile.csv"))
def do_things():
    ...

One can now pass arguments (positional/keyword).

Codecov Report

Merging #94 (9a50bd6) into master (e65ce24) will increase coverage by 0.02%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   91.64%   91.67%   +0.02%
==========================================
  Files          89       89
  Lines        4523     4526       +3
==========================================
+ Hits         4145     4149       +4
+ Misses        378      377       -1

Impacted Files
Coverage Δ

rocketry/conditions/func.py
89.58% <88.88%> (+2.91%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Privacy Statement, Compliance, and the elephant in the room

Thanks everybody for doing a great job, and really important work.
I guess that you'll have plenty of other stuff to do, given that the app was advertised to be in the stores tonight, already, and should be publicly presented tomorrow. I also appreciate the great statements about implementation security and the colorful claims regarding GDPR compliance. But I'm wondering about a few things.
First of all there still doesn't seem to be the promised data privacy 'data privacy concept', and I also haven't found the "comprehensive privacy statement to be as transparent and clear as possible" for review and commenting, anywhere in the repo. I'd be really interested, as it seems to me that the app does what it can, but it conveniently leans on the Apple/Google-API without mentioning any of the well-known privacy issues that are due to the protocol. I wonder how this project can claim GDPR compliance, given that users that have tested positive can be identified using the app, and that their whereabouts can even be traced throughout all the days for which diagnose keys are published.
The problems have been discussed extensively (and even by the DP3T team, well before the project started), yet, you seem to promise the users that using your app (which in turn uses the Apple/Google API) cannot cause them any harm, or privacy loss, which clearly seems to be wrong.
I would have liked to comment on the privacy statement ahead of publication time of the app, as I believe that this information definitely has to be part of it (probably to nobody's advantage or disadvantage, as nobody ever reads privacy statements, these days -- but it would probably have been a sensible safety measure for the developing companies, which otherwise may face charges under the GDPR, right).
In the same vein I'm wondering if there's already a project plan for the time after launch, to develop a more privacy-preserving version (I know that there are several people that will be happy to help, although I doubt that Apple or Google will be interested in improving their parts, as the PR stunt has worked, and they probably aren't that much interested in user privacy, after all...).
Summarizing: when can we comment on the privacy statement, when will the data privacy concept be available for commenting, and when will the project for the second version be kicked off?
PS: https://tracing-risks.com/ gives a great first overview of privacy risks, that should either be mentioned in the privacy statement, or, even better, be dealt with in the system!

Dear @strufepub,
we published RKI's privacy notice (German, English) already last week and it has seen several improvements since then, also because of valuable feedback by the community. Moreover, as you wrote this issue, we published the data protection impact assessment along with the corresponding annexes. You can find all the links in the README.
Moreover, thank you for your understanding that we can't comment on project plans here.
The responsible entity for the data privacy notice is the Robert Koch Institute. You can find the contact information in the notice itself. For infrastructure/app-related questions/issues etc., feel free to open issues here, but please be concise and avoid speculative, derogatory or speculative statements as "PR stunt" or "they probably aren't that much interested in user privacy".
Thank you very much and happy reading!
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team

My sincere apologies, looking through the Repo I hadn't found the privacy notice, and there still isn't any data privacy concept, right? Thanks for the link to the DPIA, I'll be happy to have a look.
In any case - attacks have been published and widely discussed that easily allow an adversary to (a) identify who of the contacts they've met has been infected - and given the publication of diagnosis keys that are valid throughout 24h it is simple to link all corresponding temporary disclosure keys (and hence learn about other locations a user has been to, during the same day).
So the statement "the App does not collect any data that would allow the RKI or other users to infer your identity, health status or location" from the Privacy Notice seems ... misleading, at best (anybody who's collecting BLE beacons can identify those individuals from their respective vicinity who've been tested positive and so shared their diagnosis keys)? This threat also isn't mentioned in 6.c, where the process of sharing test results is discussed.
I'm not here to troll, although I understand that you may get that impression, given the rather political history around SARS-CoV 2 proximity tracing. I sincerely believe that the project is important - but I am also worried about false claims (which the privacy notice is currently making), and, hence, also user acceptance or user disappointment, when they are pointed out as having infected their neighbor's grandmother, or worse. Especially the latter in my opinion is a strong motivation to think of the next steps, and improving the protocol, as widely discussed in the community.
Thanks for your work,
-- t

If you are of the opinion that the privacy notice and other documents are wrong or if something is missing according to GDPR, please reach out to the RKI or the Federal Commissioner for Data Protection and Freedom of Information.
Mit freundlichen Grüßen/Best regards,
SW
Corona Warn-App Open Source Team


explicity prevent shift clicking to prevent crate malfunction

patches the following issue:
https://youtu.be/GUcqsyXsmro

Did you test to confirm this does fix the issue? I never saw this issue before till now. Ill test later if it happens on my server as well.

Yes it has been confirmed to fix the issue. Tested on 1.8.8 server. I'd recommend testing on all versions.

I can't seem to get this issue to work. You also shouldn't be able to open chose one location as my plugin just thinks you deselected it. So I am not sure if this is an issue with my plugin.


Kkraune/refactor tests

FYI @jobergum
Less deps / work around problem for now with failing Docker stop

CC @lesters


How to pass function of classe

I have this class
 class MyTask
 {
 public:
 	// Function to be executed by thread function
 	void run()
 	{
 		std::cout << "Task Start" << std::endl;

 		// Check if thread is requested to stop ?
 		while (stopRequested() == false)
 		{
 			std::cout << "Doing Some Work" << std::endl;
 			std::this_thread::sleep_for(std::chrono::milliseconds(1000));

 		}
 		std::cout << "Task End" << std::endl;
 	}
 };

I do
	MyTask task; 	ctpl::thread_pool testThreadPool(4);
How can I push task.run() to ctpl::thread_pool?
testThreadPool.push(task.run);, isn't correct

task.run() needs to be static.

I was able to do such a thing without using static. Just do something like this:
    const std::function<void(int, MyTask&)> wrapMyTaskRun([&] (int id, MyTask & t) -> void
            {
                t.run();
            });

Then you can push to the thread pool:
MyTask task;
ctpl::thread_pool testThreadPool(4);
testThreadPool->push(wrapMyTaskRun, task);

I don't know if it is the optimal way to do this, but it works for me.

If you read the example.cpp carefully, you should see that there is an int id argument in every function passed into the thread pool.
Just add an int id into the argument of your run() and then you should be able to push it, i.e.
void run(int id) in your code of class.
And then you can push it using testThreadPool.push(task.run);
I don't know why, but CTPL requires all functions being pushed into the thread pool having an int argument as its first argument, regardless of the number of arguments actually used in the function.


🦜 OCP 4.11 🦜

Updates to tech exercise docs to support 4.11
These changes will work on 4.9/4.10 existing runs as well.
The main breaking change is 4.11 and DevSpaces (removal of CRW) .. that has v2 devfile format

Related: https://github.com/rht-labs/enablement-framework/pull/147

Hey @eformat, have you done any testing on 4.9 or 4.10? We still got some movement on those, and cannot upgrade LodeStar to support 4.11 atmo

yo @jfilipcz  .. yes .. also note ocp lifecycle dates - https://access.redhat.com/support/policy/updates/openshift
4.8 - yes, we have been running tl500 in this
4.9 - no, not for a long time - its in maintenance support only now
4.10 - yes, the RHPDS deployment of main - is on this version, been working well - full support ends November 10, 2022
4.11 - yes, the nightly tests run on this, i have run through all of tl500 using this version and DevSpaces.
None of these changes are impacting on current versions. They are additional for 4.11 - i.e DevSpaces.


Feature/apache http client support

Codecov Report

Merging #53 into master will increase coverage by 0.05%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #53      +/-   ##
============================================
+ Coverage     99.05%   99.11%   +0.05%
- Complexity      580      617      +37
============================================
  Files            39       44       +5
  Lines          1381     1461      +80
  Branches        156      161       +5
============================================
+ Hits           1368     1448      +80
  Misses            4        4
  Partials          9        9

Impacted Files
Coverage Δ
Complexity Δ

.../nike/wingtips/spring/util/WingtipsSpringUtil.java
100% <100%> (ø)
18 <4> (-1)
:arrow_down:

...ttpclient/WingtipsApacheHttpClientInterceptor.java
100% <100%> (ø)
11 <11> (?)

.../httpclient/util/WingtipsApacheHttpClientUtil.java
100% <100%> (ø)
6 <6> (?)

...tor/WingtipsAsyncClientHttpRequestInterceptor.java
97.56% <100%> (-0.4%)
10 <1> (-4)

...che/httpclient/util/HttpRequestForPropagation.java
100% <100%> (ø)
3 <3> (?)

...ingtips/spring/util/HttpHeadersForPropagation.java
100% <100%> (ø)
6 <6> (?)

...s/apache/httpclient/WingtipsHttpClientBuilder.java
100% <100%> (ø)
8 <8> (?)

...om/nike/wingtips/http/HttpRequestTracingUtils.java
100% <100%> (ø)
37 <12> (+12)
:arrow_up:

...erceptor/WingtipsClientHttpRequestInterceptor.java
100% <100%> (ø)
8 <1> (-4)
:arrow_down:

... and 4 more

Continue to review full report at Codecov.

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


Integration - Added support to add UDRs to special subnets #444

thanks @chris-p-martin for the contribution to cloud adoption framework!


Move all communications to hardware back into OpenBCI_ADS1299

My goal was to encapsulate all interaction with the OpenBCI hardware so that it is occurring only through the OpenBCI_ADS1299 class.  By doing this, I can then take the next step, which is to allow our one GUI to service two (or more) OpenBCI systems at the same time.
The previous GUI code assumed that there was only one piece of OpenBCI hardware (which was communicated to via one single Serial connection).  If there will be more than OpenBCI hardware, there will be more than one Serial.  As a result, the GUI code that drops commands directly onto the serial port will fail to communicate to ALL of the OpenBCI boards.
To fix this issue, and to follow better programming practices, I edited all of the references (that I could find) to the OpenBCI serial (and its other data members) so that all of the functionality was encapsulated within the OpenBCI_ADS1299 class.  The rest of the GUI interacts with the hardware through this class via the class' methods (functions).  The GUI no longer communicates with the hardware directly.
Later, when we want to support multiple OpenBCI boards, we can extend the OpenBCI_ADS1299 class (or create a super-class) such that it has the same interfaces (the same method calls), which means that no other changes to the GUI code will be necessary.  That's the goal, at least.

I'm going to let this hang here for a little bit.  Then, tomorrow, I'm going to merge the pull request, unless some discussion is generated.

Oh, and these three commits were to improve the indication of default settings in some of the MenuLists (especially SD setting to zero...ie, no SD recording) .  Very helpful to me.  Probably to others as well.


TF Hub Sync Script

Situation

The TF Hub procedure is mostly done but we need to:

make sure the sync script keeps syncing after it's initial sync (not the case currently)

Tested so far: uploaded an flist to the master hub, and could not find it in the other two after a while

References
As explained by @coesensbert. @maxux can you have a look? Please write here if you have issues or things are blocking and we can solve this.

Update

Maxime is currently investigating and testing the syncing process:

zdb sync is working fine
flist static files not being synced

WIP and should be fixed soon

@maxux feel free to add info here if you deem it relevant!

Script https://github.com/threefoldtech/grid_deployment/blob/development/grid-hub/hub-clone.py updated to latest version which does a way better job on syncing. I updated production hub as well to support improved up-to-date checking.

see: https://github.com/threefoldtech/tf_operations/issues/2831

@coesensbert does this mean this issue is fixed? Has the script been tested so we can close? Thanks.

Updated script was applied on the two extra hub's, but still need to test if sync is going well now

Hi @coesensbert! Please let us know, in the following days if possible, how the sync went. Thanks

so now the updated scripts have been applied to the two extra hub's, I tested the following: uploaded an archive to hub.grid.tf, this flist appeared on both extra hub's:
https://hub.grid.tf/linkmark.3bot/hub-sync-tst.flist.md
https://hub.de.grid.tf/linkmark.3bot/hub-sync-tst.flist.md
https://hub.us.grid.tf/linkmark.3bot/hub-sync-tst.flist.md
However, I could not confirm the metadata did the same sync between the servers since:

metadata on DE and US hub point to zdb://hub.grid.tf:9900/default

did not see a data increase on both the DE or US hub. I also can not test a deploy from these hubs since ZOS does not support it yet to use a different hub then hub.grid.tf.

root@Main-Grid-DE-hub-02 ~ # du -sh /srv/*
5.1G    /srv/0-bootstrap
760G    /srv/0-db_data
609M    /srv/0-db_index
3.8G    /srv/0-hub_public
20K     /srv/0-hub_workdir

@maxux
Any idea?

How to test from these hubs instead of the official hub.grid.tf
How to confirm the metadata

Thanks

@maxux
Thabet proposes this: "the verification should be running another hub and execute that sync script"
If you can have a look next week, when you're back at work. Thanks!

@maxux please give status of the issue and it anything is blocking. Thanks!

@xmonader can you please give more info on what you mean here? "the verification should be running another hub and execute that sync script"
So Maxime can move forward with this. Thanks!

About metadata: on the main hub, metadata are written in the .flist including the backend (which is supposed to be used by zos at some point). Right now, flist are copied as-it from the main hub and metadata are not updated. I should add an extra step while syncing which update metadata as well to apply local hub backend. I'll see how properly implement that.


Notifications appear on the bottom of the page.

The notifications(without style) are appearing on the bottom of the page with a text box. Is there a way to provide the mount element ?

@devnidhinraj Did you just start using notie? We found that the changes from the last few weeks broke our implementation and the notifications were showing up at the bottom of the page. We had to use a specific commit to get back to ~2.1.0. See https://github.com/jaredreich/notie/issues/82

fixed with recent tagging+release fixes


VM option --compile_all does not evaluate metadata

@notDefined
class C {}
main() {}
Should fail with --compile_all

I am assuming this is stale. Please reopen if it is not.


Uninstall strapi-plugin-comments results in: Error Could not find Custom Field:plugin::comments.comments

[2022-11-24 13:46:01.600] debug: ⛔ Server wasn't able to start properly.
[2022-11-24 13:46:01.600] error: Could not find Custom Field: plugin::comments.comments
Error: Could not find Custom Field: plugin::comments.comments
    at Object.get (/home/username/nodes/strapi/st-dashboard/node_modules/@strapi/strapi/lib/core/registries/custom-fields.js:34:15)
    at convertCustomFieldType (/home/username/nodes/strapi/st-dashboard/node_modules/@strapi/strapi/lib/utils/convert-custom-field-type.js:15:67)
    at Strapi.register (/home/username/nodes/strapi/st-dashboard/node_modules/@strapi/strapi/lib/Strapi.js:395:5)
    at async Strapi.load (/home/username/nodes/strapi/st-dashboard/node_modules/@strapi/strapi/lib/Strapi.js:474:5)
    at async Strapi.start (/home/username/nodes/strapi/st-dashboard/node_modules/@strapi/strapi/lib/Strapi.js:212:9)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Also, if you have the comments option in the post collection, results in white screen on viewing each post. I had to remove the custom fields and restart Strapi. I also defaulted all settings in the plugin.
Then removing the package and building strapi again allowed me to "properly uninstall the plugin".


Update generate-image.yaml

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Invalid configuration in CR causes panic of harbor-operator

I enable notary in the CR but don't specify the ingress for notary, this will panic of the harbor-operator which should be avoided

Closed by #484


NIFI-1124 NIFI-1062 Fixed PutHDFS processor to properly route failures.

Ensured that during put failures the FlowFile is routed to 'failure' relationship.
Added validation test
Re-enabled previously ignored test.

@bbende - all done, please review

@trkurc addressed, thanks for looking!


Redirection view added + connected account dialogs

This PR adds redirection view to Investment contribution + dialogs after account connection. Dialogs are currently commented out as there is no information that we were redirected after successful account addition. Please don't mind the backdrop color change in the screenshots, I just stacked them together for taking the screenshot.

@ksroda-ce  👍🏼


[WIP] feat: add tracking contextScreenOwnerType

The type of this PR is: Feature

This PR resolves CX-862
Description

PR Checklist (tick all before merging)

[x] If I've added a new file to the tree I've exported it from the common index.ts
[x] I've added comments with examples for any new interfaces or helpers and ensured that they're in the docs
[x] No platform-specific terminology has been used outside of click and tap (platform is inferred by the DB storing events)

:rocket: PR was released in v1.85.0 :rocket:


Update aws_signature to 0.3.1

It looks like only the AWS.Signature uses the aws_signature package, and only the sign_v4 function which seems to maintain it's function signature between the versions.
However it would be nice to be able to use this package along with the new options in sign_v4_query_params/8.

@0urobor0s thank you! :purple_heart:


Completion doesn't input any text with odin language server

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Issues

[X] I have checked existing issues and there are no open or closed issues with the same problem.

Neovim Version
0.6.1
Minimal reproducible config
if has('vim_starting')
  set encoding=utf-8
endif
scriptencoding utf-8

if &compatible
  set nocompatible
endif

let s:plug_dir = expand('/tmp/plugged/vim-plug')
if !filereadable(s:plug_dir .. '/plug.vim')
  execute printf('!curl -fLo %s/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim', s:plug_dir)
end

execute 'set runtimepath+=' . s:plug_dir
call plug#begin(s:plug_dir)
Plug 'hrsh7th/nvim-cmp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/vim-vsnip'
Plug 'neovim/nvim-lspconfig'
call plug#end()
PlugInstall | quit

" Setup global configuration. More on configuration below.
lua << EOF
local cmp = require "cmp"
cmp.setup {
  snippet = {
    expand = function(args)
      vim.fn["vsnip#anonymous"](args.body)
    end,
  },

  mapping = {
    ['<CR>'] = cmp.mapping.confirm({ select = true }),
    ['<C-Space>'] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }),
  },

  sources = {
    { name = "nvim_lsp" },
    { name = "buffer" },
  },
}
EOF

" Setup Odin Language Server
lua << EOF
local lspconfig = require 'lspconfig'
local configs = require 'lspconfig.configs'
local util = require 'lspconfig.util'

if not configs.ols then
  configs.ols = {
    default_config = {
      cmd = { 'ols' };
      filetypes = { 'odin' };
      root_dir = util.root_pattern('ols.json');
      settings = {};
    };
  }
end

local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())

lspconfig.ols.setup{ capabilities = capabilities }
EOF

Description
Triggering autocompletion on a non-function symbol does not insert the completion text, instead it just deletes the word that triggered the completion
Steps to reproduce
with the provided minimal config, create an Odin project.
(unfortunately Odin is not widely packaged, here are the basic steps to build it and ols)
git clone https://github.com/odin-lang/Odin
cd Odin && make; cd ..
git clone https://github.com/DanielGavin/ols
with odin binary in $PATH:
cd ols; build.sh
with ols binary in $PATH:
create a folder with the following files:
test.odin
package test
import "core:strings"
some_function :: proc () {}
main :: proc () {
  stri
  // some
}

ols.json
{
  "collections": [
    { "name": "core", "path": "/path/to/Odin/core" },
    { "name": "vendor", "path": "/path/to/Odin/vendor" }
  ],

  "enable_hover": true,
}

in insert mode, try to autocomplete strings by pressing <C-Space><C-n>.
Try the same on some.
Expected behavior
stri autocompletes to strings, some autocompletes to some_function
Actual behavior
stri is simply deleted, some autocompletes correctly.
Additional context
I have confirmed that this doesn't happen with other autocompletion engines (I personally only tested CoC, others report no issues on editors other than vim).
since this only happens on certaion completion elements and only with ols, it's likely that some edge case is being triggered by possibly missing information from the server, but I haven't been able to confirm this because I'm not sure how to get a debug print of the data sent by the server.

Could you paste the LSP response and requested line & cursor?
You can get the response with the following steps.

Open lua/cmp/source.lua:L303
Add print(vim.inspect(response))

Seems like the same behavior as https://github.com/hrsh7th/nvim-cmp/issues/615#issuecomment-1003152088 if I'm not mistaken.

yes, it looks similar, but this time selecting the text a second time makes no difference.
here's the result of vim.inspect(response):
  isIncomplete = true,
  items = { {
      additionalTextEdits = {},
      command = {
        arguments = {},
        command = "",
        title = ""
      },
      deprecated = false,
      detail = "strings",
      documentation = "",
      insertText = "",
      insertTextFormat = 1,
      kind = 9,
      label = "strings",
      tags = {}
    }, {
      additionalTextEdits = {},
      command = {
        arguments = {},
        command = "",
        title = ""
      },
      deprecated = false,
      detail = "string",
      documentation = "",
      insertText = "",
      insertTextFormat = 1,
      kind = 14,
      label = "string",
      tags = {}
    }, {
      additionalTextEdits = {},
      command = {
        arguments = {},
        command = "",
        title = ""
      },
      deprecated = false,
      detail = "cstring",
      documentation = "",
      insertText = "",
      insertTextFormat = 1,
      kind = 14,
      label = "cstring",
      tags = {}
    } }
}

it seems that the lsp is sending empty insertText fields

It looks like this is a problem with the specific server, I'll close for now.

I'll improve the empty insertText handling. Thank you.

I had a look at the specification and it seems label should be used if it's empty:
	/**
	 * A string that should be inserted into a document when selecting
	 * this completion. When `falsy` the label is used as the insert text
	 * for this item.
	 *
	 * The `insertText` is subject to interpretation by the client side.
	 * Some tools might not take the string literally. For example
	 * VS Code when code complete is requested in this example
	 * `con<cursor position>` and a completion item with an `insertText` of
	 * `console` is provided it will only insert `sole`. Therefore it is
	 * recommended to use `textEdit` instead since it avoids additional client
	 * side interpretation.
	 */
	insertText?: string;

Anyways thanks for the good work, it's seriously impressive!

The spec is not support '' as falsy / empty field. But the typical language server is implemented by TS/JS. So I think we should support it.
https://github.com/microsoft/language-server-protocol/issues/1222


README updated to comform with client perspective. I created a new file to encompass the milestones of CSC 330 as a class.

I still need to add the "how to work" portion of the readme


Allow ; (semicolon) in addition to working hash sign in /etc/wsl.conf

I spent an hour trying to apply [automount] options reloading sc stop LxssManager and stopping distro wsl.exe --terminate Debian.
The mount -l showed default mount settings.
The problem was that I commented a line with semicolon:
[automount]
enabled = true
mountFsTab = false
; options = "metadata"
options = "metadata,noatime,uid=1000,gid=1000,umask=022,fmask=077"

because documentation said the file uses INI-like syntax:

https://devblogs.microsoft.com/commandline/automatically-configuring-wsl/
https://docs.microsoft.com/en-us/windows/wsl/wsl-config

Instead all examples use # as comment syntax and it was hard to get to the point not trusting comment syntax...

As a rider on this one (to the extent the parser gets touched), logging syntax errors in the .ini files to dmesg would go a long way. One could even argue for an error (or warning) to the console.


Support storing image logos as manifest annotations

This commit allows storing base64 encoded logos under image manifest annotations, using com.zot.logo key. Logos have type limitations (only jpeg, png and gif allowed) and a maximum allowed size (200x200 px).

What type of PR is this?
feature

Which issue does this PR fix:
closes https://github.com/project-zot/zot/issues/806
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

We should really be using #936 for this.

We should really be using #936 for this.

I agree.
The graphql API would be the same, and return the base64 encoded image?
I think the image blob itself should not be compressed, right? That would all an overhead?

Will redesign this and implement as part of: https://github.com/project-zot/zot/pull/1018


Feature request: Add possibility to rename custom created dashboards

Description
Currently all custom created dashboards are named "Custom". Request is to make name configurable

@sgoral-splunk can you please take a look?

Jira: https://splunk.atlassian.net/browse/ADDON-71680

#1239

The changes were merged, it will be released early next week.

Released in v5.47.0.


Psych::DisallowedClass during some locale files convertion to js

Hey,
I have recently updated React on Rails to the latest (6.9.3) and updated webpack to v2 (along with all configurations). However one thing changed that breaks my current project.
I get
Psych::DisallowedClass: Tried to load unspecified class: Symbol

every time I for example run rake commands (impossible to run migrations).
During investigation I managed to find a simple solution. Problem occurs in LocaleToJs.
If I change YAML.safe_load to just YAML.load it works. I could make a new PR with this small change, but I see that it was changed for some reason in PR that updated whole React on Rails to support webpack 2. What's the reason?
 In my example, origins of the problem are from spree_i18n gem (FR translations).
Should I make PR with change to YAML.load ?

@dsawa here's a discussion of the issue: https://github.com/ruby/psych/issues/119
I need some more details on why this fails. I'm guessing that there's something odd about your translation files using symbols for values rather than strings.
It's 100% clear that YAML.safe_load was added so that if don't want arbitrary objects, then so be it.
Why would you have a symbol?
CC: @JasonYCHuang

@dsawa is this still an issue?

Same issue here

@justin808 Yes it is. Like @ilya4544 said, and me before, it's not me that I have symbol or something in translations. Those locales come from other gem.
I'll try ilya4544 workaround later.

I'm open to a PR or reopening this discussion if needed.

I got the same issue, it's because the translation have symbol value, I use i18n-rails https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/zh-CN.yml#L59

same issue here, sometimes you use symbols for date definitions

I had the same issue, found recent changes in my .yml file, that had used definitions like this:
formtastic:
    :yes: 'Да'

Changed :yes to yes like this,
formtastic:
    yes: 'Да'

and issues was disappeared.

@justin808 overall, I agree that YAML.safe_load is the proper way, but... sometimes it is not under the user direct control and is burried in third-parties gems (e.g. formtastic). And because it is burried in gems, there is no good stacktrace either to debug the problem - just Psych crashed on Symbol and that's it.
I guess it can be improved in 2 ways:

add a rescue with better error/message which will print what locale file had issues and crashed. Thus it can be debugged quickly.
add a "hacky" option that could be passed to YAML.safe_load(file, **yaml_locale_load_options). Thus it can be configured yaml_locale_load_options: { permitted_classes: [Symbol] }

I mean I've seen people installing problematic gems in docker, and then patching source code locales with linux tools as a step to deal with this. Because gems are not under their control.


SCPlayer playback is choppy and slow

When you don't initialize a SCRecordSession (i.e. start up the camera), SCPlayer is really slow for some reason. It's pretty easy to reproduce: in the example code, move the initial storyboard view controller to VideoPlayerViewController. Then load a resource from the mainbundle and the video will be slow. Any help with this would be much appreciated!

Any update on this issue?
We are also facing this issue... can we move the processing to GPU?


sidecar: rm uneffective version of mysql56 #203

[summary]
rm uneffective version of mysql56, currently we do not support mysql 5.6
or lower version
[test case]
N/A
[patch codecov]
N/A

What type of PR is this?

Which issue(s) this PR fixes?

Fixes #203
What this PR does?
Summary:
rm uneffective version of mysql56, currently we do not support mysql 5.6
or lower version
Special notes for your reviewer?

ping @acekingke   please. review again.

Next pr.


krb5_kdc_type not registering properly?

I set
krb5_kdc_type: none
in all
but I got:
TASK [scm : Update Cloudera Manager settings] ************************************************************
fatal: [ip-10-0-1-170.ap-southeast-2.compute.internal]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'krb5_server'\n\nThe error appears to be in '/home/cdh_terraform_aws/cloudera-playbook/roles/scm/tasks/scm.yml': line 4, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# https://cloudera.github.io/cm_api/apidocs/v13/path__cm_config.html\n- name: Update Cloudera Manager settings\n  ^ here\n"}

Everything else was straight from the master branch
any ideas?

I got similair issue, @Data-drone  did you find any solution related to this issue?

I got similair issue, @Data-drone  did you find any solution related to this issue?

I see, thanks @Data-drone however i made change to just install kerberos server on the admin node while keeping the kerberos option to none, still debugging other issue and will confirm if this is work :/

I see, thanks @Data-drone however i made change to just install kerberos server on the admin node while keeping the kerberos option to none, still debugging other issue and will confirm if this is work :/

the issue from memory was the ansible if statements not processing correctly or needing amendment

the issue from memory was the ansible if statements not processing correctly or needing amendment


Server running, VRsteam running, cannot find headset

Cannot find headset.  SteamVR shows green octagon flashing, says to run room setup - can't of course without headset.  Uninstalled driver, installed driver - only one driver listed.  Pasting Debug log, Netstat printout.  Headset running 2.1.5 and sates hit connect button - no connect button  - headset not found.
driver.log
ALVR Netstat Printout.txt

Please check firewall configuration on your PC. And confirm that the PC and headset are connected to same router.
#62 is similar issue. Please refer it.

Thank you for all your help.  Confirmed port is open - I think.  Attaching screenshot from Wireshark. Also latest log from ALVR.
driver (1).log

You can see the packet by WireShark and the log says ALVR server didn't get packet. I think it means firewall issue.
Please re-check firewall settings. Try to open UDP/9944 for "all" profile(private and public).
If you tried that, please check https://github.com/polygraphene/ALVR/issues/62#issuecomment-398796318

@Polarborn Great!

BTW tried Star Trek Bridge Crew with Xbox Controller - works great.

Thank you for information!


feat: add sqlness test for bloom filter index

Signed-off-by: Ruihang Xia<EMAIL_ADDRESS>hereby agree to the terms of the GreptimeDB CLA.
Refer to a related PR or issue link (optional)
https://github.com/GreptimeTeam/greptimedb/issues/5176
What's changed and what's your intention?
Add some sqlness cases for skipping index
PR Checklist
Please convert it to a draft if some of the following conditions are not met.

[x] I have written the necessary rustdoc comments.
[x] I have added the necessary unit tests and integration tests.
[ ] This PR requires documentation updates.
[ ] API changes are backward compatible.
[ ] Schema or data changes are backward compatible.

The sqlness test result may need more replace rules.
Result unexpected, path:"./tests/cases/distributed/common/select/skipping_index.sql"
[
    ... skip(64) ...,
~   |_|_|_RepartitionExec: partitioning=RoundRobinBatch(32), input_partitions=3 REDACTED -> |_|_|_RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=3 REDACTED,
    ... skip(22) ...,
~   |_|_|_RepartitionExec: partitioning=RoundRobinBatch(32), input_partitions=3 REDACTED -> |_|_|_RepartitionExec: partitioning=RoundRobinBatch(4), input_partitions=3 REDACTED,
    ... skip(9) ...
]


Acctions in the UI that require an endpoint in the REST API.

Missing endpoints:
Publish:

Create application with (name, description).
Upload promo image.
Upload file for content library.
Delete file for content library.
Upload tosca archive (diferent upload to check validation, ...).
Delete/Update tosca archive(in order to change it?)
Save configurations (end of publication) State: "Ready to publish".
Publish service (request publication) State: From "Ready to publish" to "Published" if all validations are ok.

Taylor service (creating instance)

Get inputparameters needed in tosca file, in pairs.
Save parameters needed.
Request subscription to an application (service, not instance). Could be together with "Save parameters needed".

Manage subscription:

Decomission of instance

List of instances:

Get all instances (customization) -> They come into each application, so we can use "get all applications". (DONE)
Search instances (customization) -> They come into each application, so we can use "get all applications". (DONE)
Stop instance.
Deploy instance.
Delete instance.
Monitor instance.

Manage list of services:

Search applications
Delete Service

Add or Deploy Service:

Upload template.
Save template temporary ... in UI?
Deploy Service.
Test Service.

Catalog:

Get all applications. (DONE)

Detail:

Get one application. (DONE)

Other:

Get one instance (customization) -> They come into each application, so we can use "get all applications". (DONE)

This issue has been divided to several issues in order to keep track of each change.


HTML screen capture is not taking textarea contents

html-screen-capture-js is not capturing the textarea contents. Is this a known issue? Please advise.

Hi maddan,
For me, text area controls are working as expected.
You can try the demo page ( https://dazzling-morse-a38f6a.netlify.app/) - it contains a textarea control.
Are you running the latest version?
What browser are you using?

closed


No issues , just a question ;)

Hello, first of all , this is one of the best #WebRTC frameworks i found since months, it´s not just working seamlessly and looks awsome ,it has localization capabilities and thats a feature i missed on anything i saw in the past.  I would like to use loowid on my main page, but would like to embed a  boootstrap navigation on top ( where i like to place the link back to you , to my blog and some examples i am working on) , but looking at the files , i have no idea in whitch file i need to place it.
Thanks a lot
P.S. I am translating the Resource.bundle.json to german right now ;)

Hi, good to know that LooWID is useful for you. Jade is the framework that renders html and sends it to the browser. By default, in the footer layer it adds just the loowid.min.js and the loowid.min.css If you need to add more libraries, do it to client/js  and annouce them adding the references to gruntfile.js to be included and mapped to the loowid.min.js.  The same for css in client/less
I think that there is an angular-ui bootstrap library already included but not the css (I should see if we still are using them).
Then depending what you you want to use it would be necessary to inject the dependencies to angular modules (client/js/app.js)
I hope it make sense :-)
It will be great to have German in LooWID :+1:  Thanks a lot.

Thanks for your reply @sinmsinm , i understand  not anything but its allright, i am in the progress of learning  :bowtie:
P.S. The german translation is ready :relieved: , it will be reviewed from a friend and i will send it later via email. How you detect the language ? browser / system settings or ip ?

You can create a fork in github and submit a pull request if you want. This is the proper way to contribute and be recognized as contributor, anyway send us an email if you feel more comfortable with that, thank you so much for your contribution !! :clap: :clap: :+1:

@macbroadcast , this is a great new. I'm sure that german will look pretty well.  The language is determined by browser preferences, so if you have german as your default language loowid will render german messages.
It's a pity that my explanation doesn't help

Thanks @sinmsinm German is a bit difficult you can have a more serious and the personal salutation , because we germans normaly don´t say "you" to everyone, thats a bit missleading to most foreign people, but after i wrote half of  the "serious way", i felt a bit unhappy and i changed it to the more personel salutation. I think i will try it like @juanjmerono recommended, i need to learn it anyway. :stuck_out_tongue_closed_eyes:


test/utils/svn: Requires svn to succeed [Linux]

Error: brew update didn't update master!
Start commit:        34aa15b69f49b17862c7d0ea6c22692672cfc607
Expected end commit: 406870f3614c570e14709d6c3bed9a840867bcf0
Actual end commit:   34aa15b69f49b17862c7d0ea6c22692672cfc607
==> FAILED

https://circleci.com/gh/Linuxbrew/brew/779

TravisCI failures too, but unrelated to this PR. Merging.


Php version: End support for php 5.3 for security reasons.

This is a pull request suggesting removal of support for php 5.3 in this project.

Php version 5.3 is past it's End-Of-Life.  It no longer receives security support or updates of any kind.
Php version 5.3 is especially problematic in terms of security due to an ecosystem of related security bugs that exist in the older OS versions that use it: huge openssl security bugs and major bcrypt hashing bugs.
The doc examples as currently written will fatal error with php 5.3 any more. #290

So I recommend moving beyond any implied support for php 5.3.  I made the trivial commits atomic so you can cherry-pick if you want.  Will squash the commits upon request.
The travis build passes for the added php 5.6 and php 7 versions.

Not really a fan of removing just because we can.
It will be probably just be bumped in 3.0 (#274)

It will most definitely be bumped in the next major release but it won't be removed for the current relase.


Dropdown widget improvements.

Pull Request Description
Closes  #8995
Peek 2024-02-26 14-39.webm
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] The documentation has been updated, if necessary.
[x] Screenshots/screencasts have been attached, if there are any visual changes. For interactive or animated visual changes, a screencast is preferred.
[x] All code follows the
Scala,
Java,
and
Rust
style guides. In case you are using a language not listed above, follow the Rust style guide.
All code has been tested:

[x] Unit tests have been written where possible.
[x] If GUI codebase was changed, the GUI was tested when built using ./run ide build.

Updated without the arrow changes after discussion with @farmaazon. They will be implemented in another task due to the unexpected complexity of the required implementation.


Nautilus: all files in sftp mountpoint are application/octet-stream

Describe the bug
I'm running NixOS 19.09.
All files inside sftp mountpoints in nautilus have content-type application/octet-stream.
This way, all files have the same icon, and I always need to right-click 'Open With Another Application'.
It's been like this for about 2 releases of NixOS.
I've tried with a fresh installation of NixOS 19.03 in VirtualBox and the issue is there as well.
Dolphin instead shows the files with the correct content-type.
Nautilus on Ubuntu shows the files with the correct content-type as well.
To Reproduce
Steps to reproduce the behavior:

Open Nautilus
Click 'Other Locations'
Enter an sftp:// location
Find some file with a known type (PDF, PNG, JPG, ...etc) in the new mounted filesystem
Right-click on the file and select Properties
File type is Program (application/octet-stream)

Expected behavior
We should see the proper content-type and not the type application/octet-stream (which is the fallback type for unknown content types)
Screenshots

Additional context
Add any other context about the problem here.
Metadata

system: "x86_64-linux"
host os: Linux 5.3.1, NixOS, 19.09beta521.7a3083fef83 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
channels(manu): ""
channels(root): "nixos-19.09beta521.7a3083fef83, nixos-hardware"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

cc @jtojnar @hedning
Note: If we get a fix I'd for sure want to backport it

I'm not getting everything being applications-octet-stream over an sftp connection.
Actually everything has the proper mime-types.
Though I can still reproduce a similar issue like https://github.com/NixOS/nixpkgs/issues/53631.
@emanueleperuffo What's your configuration.nix?
(this might be one of those global environment things)

My configuration is split into multiple files.
I couldn't attach .nix files, so I created a zip with configuration.nix and a few other configuration files I import which I think might be useful for this issue.
@worldofpeace  Do you notice any difference with your configuration? Like some missing packages for gnome?
nixos-gnome-issue.zip

I don't know if this can help, but Files from the pantheon desktop environment shows all files correctly.

@emanueleperuffo Yeah I'm pretty stumped here, I can't reproduce.
This also works fine in Pantheon for me.
I guess I have to figure a way to test this in a vm today.

I've tried it with the virtualbox image you can find in the downloads page.
I booted it, created a swap file and substituted kde with gnome. The issue
is there for me.
On Thu., 3 Oct. 2019, 4:15 pm worldofpeace<EMAIL_ADDRESS>wrote:

@emanueleperuffo https://github.com/emanueleperuffo Yeah I'm pretty
stumped here, I can't reproduce.
This also works fine in Pantheon for me.
I guess I have to figure a way to test this in a vm today.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/70236?email_source=notifications&email_token=ABGZOZKTFDNVYWY4ARFMARTQMX5BZA5CNFSM4I4T5Z72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAILCZQ#issuecomment-537964902,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABGZOZPFDN4HVFV5GMTHCWDQMX5BZANCNFSM4I4T5Z7Q
.

I don't think this is a Nautilus issue.
See the below, content-type is wrong here as well.
$ gio info<EMAIL_ADDRESS>
display name: signature.png
edit name: signature.png
name: signature.png
type: regular
size:  35977
uri<EMAIL_ADDRESS>attributes:
  standard::type: 1
  standard::name: signature.png
  standard::display-name: signature.png
  standard::edit-name: signature.png
  standard::icon: application-octet-stream, application-x-generic, application-octet-stream-symbolic, application-x-generic-symbolic
  standard::content-type: application/octet-stream
  standard::fast-content-type: application/octet-stream
  standard::size: 35977
  standard::symbolic-icon: application-octet-stream-symbolic, application-x-generic-symbolic, application-octet-stream, application-x-generic
  etag::value:<PHONE_NUMBER>
  id::filesystem: sftp:host=******,user=manu
  access::can-read: TRUE
  access::can-write: TRUE
  access::can-execute: FALSE
  access::can-trash: FALSE
  time::modified:<PHONE_NUMBER>
  time::access:<PHONE_NUMBER>
  unix::mode: 33188
  unix::uid: 1001
  unix::gid: 1001

I've tried this with a host that was not linux and I could reproduce the issue.

I came across issue #48665.
I tried, as suggested, to close all network shares, run systemctl --user stop gvfs-daemon.service and reopen the network shares. After this everything works as expected.


etcd-tester: rate-limit stresser

For https://github.com/coreos/etcd/issues/5499.

Not needed for now.


Add hello world sample for TheThings UNO

Hi, thanks for this neat example.
I couldn't make it work unless I replaced all occurrences of SoftwareSerial with Serial1 as in the previous version of LoRa.cpp
Can you please fix it?

@PierreGUI omg! yes, totally right! I was trying to make it work for another board and I accidentally committed those changes, sorry. It should be alright now!

@PierreGUI @htdvisser how does it look now? cheers!

Looks good to me :+1:

Thanks, @PierreGUI. Looks like we can merge this.


Can you add this feature

can you add this feature:
function test(param: { key: string, value: any } |  { obj: object }) {
    console.log((<typeof param | 0>param).key);
    console.log((<typeof param | 1>param).obj);
}

|0 pointer to { key: string, value: any }
|1 pointer to { obj: object }
not
type a = { key: string, value: any };
type b = { obj: object };
function test(param: a | b) {
    console.log((<a>param).key);
    console.log((<b>param).obj);
}

This would be very confusing. If you wrote
type Thing = string | number;
function fn(x: boolean | Thing) {

}

It's not really apparent if x | 1 is string or string | number, especially since the hover on x will say something like number | string | boolean as union ordering is not a defined concept.


Implement "Side API" To Pull IPFS CIDs

Right now we are storing data on IPFS by using an S3 API, however eventually someone will want to be able to use the IPFS CID's to either get the data through IPFS, distribute it to other applications, etc...
For this we need some way to implement an API that can only be accessed from a "local/protected" environment, which lets you query for IPFS CID's based on bucket and object names.

This has been implemented


tls/udp: print errno on SSL errors

please address formatting errors:
./src/tls/openssl/tls_udp.c:300: line is too wide (85 - max 79)


How to use refresh token?

I'm using the PKCE authorization method and I'm new to using access and refresh tokens. I followed the examples provided  and acquired the access and refresh token and I've used the access token to get stuff. But after the access token expires do you then do the last example (your Refresh Example) and use that refresh token as an access token? I'd appreciate some explanation of where to put your refresh token after your access token expires. Thanks in advance.

Spotify's API documentation offers extensive explanations for that topic: https://developer.spotify.com/documentation/general/guides/authorization/code-flow/#request-a-refreshed-access-token


Cannot playback video clip in Jupyter within VSCode

The following code is not working in Jupyter within VSCode
My standalone Jupyter Notebook works just fine.
Environment data

VS Code version: 1.60.2 (Universal)
Jupyter Extension version (available under the Extensions sidebar): v2021.8.2041215044
Python Extension version (available under the Extensions sidebar): v2021.9.1246542782
macOS: Catalina v10.15.7
Python and/or Anaconda version: Python v3.9.6 / Anaconda v2021.05
Type of virtual environment used: conda
Jupyter server running: Local

Expected behaviour
This is on my standalone Jupyter Notebook

Actual behaviour
Video Not playable

Steps to reproduce:
# https://colab.research.google.com/github/jckantor/CBE30338/blob/master/docs/A.03-Animation-in-Jupyter-Notebooks.ipynb#scrollTo=vYkQNvWr_BfE

%matplotlib inline

import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns
sns.set_style('darkgrid')

from matplotlib import animation
from IPython.display import HTML

# create a figure and axes
fig = plt.figure(figsize=(12, 5))
ax1 = plt.subplot(1, 2, 1)
ax2 = plt.subplot(1, 2, 2)

# set up the subplots as needed
ax1.set_xlim((0, 2))
ax1.set_ylim((-2, 2))
ax1.set_xlabel('Time')
ax1.set_ylabel('Magnitude')

ax2.set_xlim((-2, 2))
ax2.set_ylim((-2, 2))
ax2.set_xlabel('X')
ax2.set_ylabel('Y')
ax2.set_title('Phase Plane')

# create objects that will change in the animation. These are
# initially empty, and will be given new values for each frame
# in the animation.
txt_title = ax1.set_title('')
line1, = ax1.plot([], [], 'b', lw=2)     # ax.plot returns a list of 2D line objects
line2, = ax1.plot([], [], 'r', lw=2)
pt1, = ax2.plot([], [], 'g.', ms=20)
line3, = ax2.plot([], [], 'y', lw=2)
ax1.legend(['sin', 'cos']);

plt.close()

def drawframe(n):
    x = np.linspace(0, 2, 1000)
    y1 = np.sin(2 * np.pi * (x - 0.01 * n))
    y2 = np.cos(2 * np.pi * (x - 0.01 * n))
    line1.set_data(x, y1)
    line2.set_data(x, y2)
    line3.set_data(y1[0:50], y2[0:50])
    pt1.set_data(y1[0], y2[0])
    txt_title.set_text('Frame = {0:4d}'.format(n))
    return (line1, line2)

# blit=True re-draws only the parts that have changed.
anim = animation.FuncAnimation(
    fig, drawframe, frames=100, interval=20, blit=True)

HTML(anim.to_html5_video())

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

Info 2021-09-29 13:05:59: Execute Cells request 1 11
Info 2021-09-29 13:05:59: Execute Cell 11 file:///Users/xxx/Desktop/test.ipynb
Info 2021-09-29 13:05:59: Notebook Session status file:///Users/xxx/Desktop/test.ipynb # Busy
Info 2021-09-29 13:06:17: Notebook Session status file:///Users/xxx/Desktop/test.ipynb # Idle

Thanks for the bug.
Video output isn't supported in VS code because it doesn't ship with video codecs (see this issue here: https://github.com/microsoft/vscode-jupyter/issues/1012)
However you might be able to render an animation using plotly instead. See this issue here:
https://github.com/microsoft/vscode-jupyter/issues/4364#issuecomment-833500357

Thanks

First time using vscode for jupyter notebooks and immediately stumble on something it can't do. 😅


Refactor e2e tests

Add central bash script to run e2e test cases
Separate e2e tests out into separate cases
Add python openai client test case
Fix #262

End-to-end tests run in parallel (in sequence after unit and integration tests - if those fail, theres not use in tying up resources to run e2e tests):

Should be good to merge if all looks OK

Nice! LGTM.
I think I rather run e2e and unit /integration test at the same time so we don't have to wait an additional 4 minutes. I can tackle that in a follow up, lets merge this first.


NFC cleanups to C++ code.

Eliminate mlir:: and triton:: in a few files, starting with the worst
offenders.

Replace op.getResult().getType() with op.getType().

Write out some auto types to better match MLIR's coding conventions.

The overall goal is to (incrementally) make our code more concise.  We reduce
the 13kloc touched here to 11kloc, for a 1.2x improvement!  (It's a sus metric,
but still.)

Did you read line-by-line or use some regex matching to find these patterns?

Did you read line-by-line or use some regex matching to find these patterns?

Mostly sed, although there are some manual changes in there.

Thank you for the review!


?Rename immutable class to record and with no methods or inheritance?

Rationale:
In Snake FP I voluntarily adopted the constraint of no methods.
This helps to make a bigger distinction between OOP and FP - at an introductory level.
record is:

More succinct than immutable class
More distinct, and clearer, as an option in the global selector
Consistent with relatively recent C# extension

A record then just becomes a named tuple. In which case is it worth considering being able to destructure a record? Syntax would be the same as destructuring an unnamed tuple except the variable names match the property names.

Assigning to Stef for:

Implement new ... with - see record.test.ts ignore_test("Pass_instantiateUsingWith"
New compile rule, as records do not have a constructor - so throw error if any params passed into new RecordType() - see record.test.ts ignore_test("Fail_NewWithParam",
New compile rule: all properties in records must be immutable types (values, List, record, or std lib immutable).


[MAF] Variant color coding mismatch

First, thanks for providing us with this awesome tool! 😊
I recently noticed some strange behavior when creating a custom oncoplot. Specifically, the coloring of the variant classification in the gene plot did not match the variant color coding in the waterfall plot when count was set to 1.
data_mf.plot_waterfall(count=1)
I eventually resolved it by setting vmin andvmaxto the maximum/minimum index of NONSYN_COLORS as the anchors were not correctly inferred by seaborn.heatmap in plot_waterfall

@tilschaef,
Thanks so much for reporting this bug! I can confirm that the issue seems to be specific to when count=1 because it behaves correctly when, say, count=2:
import matplotlib.pyplot as plt
from fuc import common, pymaf
common.load_dataset('tcga-laml')
maf_file = '~/fuc-data/tcga-laml/tcga_laml.maf.gz'
mf = pymaf.MafFrame.from_file(maf_file)
fig, axes = plt.subplots(3, 2, figsize=(14, 8))
mf.plot_waterfall(ax=axes[0, 0], linewidths=0.5)
mf.plot_waterfall(ax=axes[0, 1], count=1, linewidths=0.5)
mf.plot_waterfall(ax=axes[1, 0], count=2, linewidths=0.5)
mf.plot_waterfall(ax=axes[1, 1], count=3, linewidths=0.5)
mf.plot_waterfall(ax=axes[2, 0], count=4, linewidths=0.5)
mf.plot_waterfall(ax=axes[2, 1], count=5, linewidths=0.5)
axes[0, 0].set_title('Default')
axes[0, 1].set_title('count=1')
axes[1, 0].set_title('count=2')
axes[1, 1].set_title('count=3')
axes[2, 0].set_title('count=4')
axes[2, 1].set_title('count=5')
plt.tight_layout()

I will look into it ASAP and get back to you with a solution.

@tilschaef,
The bug has been fixed in the 0.37.0-dev branch. If you use the same code you will get:

As you suggested, it was a single-line fix by specifying vmin and vmax to the seaborn.heatmap method so that it consistently use the same color scale instead of letting it infer the scale itself from the input data. FYI, I used vmax=len(colors) instead of vmax=len(NONSYN_COLORS).
Hope this helps. Let me know if you have further questions!

Thanks for the prompt reply, looks good!


Fix link to API overview in network.md

Closing the issue opened by a customer here: https://github.com/Azure/azure-sdk-for-python/issues/36675.

Closing PR, this doc is autogen so we need to fix that step first.


iOS: Node: Dynamic Schema + Offline Boolean Column

iOS will send boolean columns to the server as 1/0 when synced via SyncContext push.  This will confuse the dynamic schema logic in Node.js and cause a number column to be created (instead of a bool).
To fix, the iOS core data store needs to convert bools to true/false for sending over the wire.

moved to https://github.com/Azure/azure-mobile-apps-ios-client/issues/25


Add string interface to updater to make it consistent with kvstore

example:
push(1, grad) -> updater.__call__(1, weight, g)
push('1', grad) -> updater.__call__('1', weight, g)

This change requires the frontend to call SetupUpdaterEx which sets the _str_updater_ and _updater_ and backend. If _str_updater_ is missing when string key is used, _updater_ will be called for backward compatibility.
TODO:
add string key interface to updater for dist-kvstore as well.
@reminisce @piiswrong @mli

Done


Remove ordered_[map, set], phf_builder

@sfackler / https://github.com/sfackler/rust-phf/pull/168#issuecomment-513043200:

There are two other cleanup things that may be worth considering for the 0.8 release:

Removing OrderedMap and OrderedSet. As far as I can tell, no one actually uses them.
Removing phf-builder (and with it the Cow-like enum we need to use internally). You're probably just better off using a HashMap.

Is this something worth posting an RFC (just asking for people's opinions) for on Reddit/URLO?

Well, I guess we can always just add them back if anyone complainss.

Well, I've just stumbled across the situation where ordered_map would be really helpful, and I was very discouraged to see that it's removed from the crate just for the reason of being supposedly useless. 😢
I need to create a compile-time hashmap that maps function names to function pointers:
type KernelFunction = fn(&mut Context, &[Value]) -> kernel::Result<Value>;

pub enum Function {
    Runtime(KernelFunction),
    Pure(KernelFunction),
}

#[derive(Serialize, Deserialize)]
pub struct FunctionInfo {
    name: &'static str,
    info: &'static Function,
}

pub const FUNCTIONS: phf::Map<&'static str, Function> = phf_map! {
    "sin" => Function::Pure( Kernel::sin ),
    "cos" => Function::Pure( Kernel::cos ),
    "draw" => Function::Runtime( Kernel::draw ),
}

The problem is that FunctionInfo should support serialization / deserialization by Serde, but function pointers aren't serializable, so I must write corresponding trait implementations by myself. And there's only two options available for it:

serialize by function name and deserialize by map lookup;
serialize by map index and deserialize by index access.

The second is much more preferred as it requires much less space in the resulting serialization, but for this the ordered map is required. Because of this, I am forced to use the old 0.7.54 version instead of 0.8 which is the latest.

I also have just found myself in a position where an ordered map would be very useful

I also have just found myself in a position where an ordered map would be very useful


More Gen 4: Update rpc call typing

[x] No longer need to always pass {param: {foo: bar}} for your calls, now just pass {foo}

@keybase/react-hackers this is ready


Add test with a chunk just under the buffer size (currently fails)

This test was merged as part of #196.


你好

你好

peng

peng

nmsjb

sjdvsvjsbxbxbx

bsv jsjbs

怀化

jdjsjdj

hallo

hi

Hello, China people, how are things over there? I like China very much.


logrotate dependency breaks on Chef server 14 installations

chef-client attempts to install logrotate 3.0.2, which does not work on Chef 14:
Cookbook 'logrotate' version '3.0.2' depends on chef version [">= 15.3"], but the running chef version is 14.11.21

Perhaps chef-client should not use >= in metadata.rb? If i'm including chef-client in a policy I'm not sure what's the best method to control this kind of versioning issue. Is there any way to pin this without modifying my dozens of Policyfiles?
Does Chef itself have any method of telling chef install to check dependencies against a specific Chef version? Right now, my policy build pipelines are completely blind to the version of Chef Server that's running, but I wonder if that's just me misusing Chef.

We very intentionally don't set upper limits on the cookbook dependencies. Historically we did and it led to massive problems when pins conflicted between differing cookbooks. You end up in situation where you can't depsolve or upgrade Chef Infra Client because there's no possible solution between cookbooks and client compatibility. Chef Infra Client 14 is end of life and has been for a bit over a year at this point. If you want to continue to run that version you'll need to pin your dependencies very carefully. A large portion of the community cookbook base is moving to requiring 15.3 or later. As time goes on you're going to run into more and more of this by using an EOL release.

Thanks @tas50 for giving me that greater context, especially since I'm a bit embarrassingly out of the loop on a lot of Chef topics. It's easy to suddenly be years into EOL status when you set something up and then leave it sitting around!


[Finishes #158699397] Support multiple API versions

Allow multiple API versions to run on the same app concurrently

Pull Request Test Coverage Report for Build 128

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.793%

Totals

Change from base Build 123:
0.0%

Covered Lines:
296

Relevant Lines:
309

💛  - Coveralls


[APIM 4.0.0] Recommended Node and NPM version not mentioned in docs for advanced UI customization.

Description:
Customer asking recommend Node and NPM version for advanced UI customization with React. But those details not available in APIM 4.0.0 official documentation.
Suggested Labels:

Suggested Assignees:

Affected Product Version:
APIM 4.0.0
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Had a chat with @chanaka3d and he told Node 14 is the tested one.
Thanks
Isuru


Updated Code Example for Iterate Over Arrays w Map

Pre-Submission Checklist

[X] Your pull request targets the staging branch of FreeCodeCamp.
[X] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[X] You have only one commit (if not, squash them into one commit).
[ ] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes. ***I get an npm error; asked about it in HelpContributors. The error is: Failed at the<EMAIL_ADDRESS>test-challenges script 'babel-node seed/test-challenges.js | tap-spec'.

Type of Change

[X] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[X] Tested changes locally.
[X] Closes currently open issue (replace XXXX with an issue no): Closes #9403

Description

@dhcodes LGTM! 👍  Thanks for your contribution to FreeCodeCamp! ✨ 🎉 ✨

:+1: :-1:


dart2js: creating a Uint8List throws: full width integer not supported on this platform

For some reason it is impossible for me to work with Uint8List in dart2js converted libs.
I tried this:
js.allowInterop((js.JsArray listOfInt) {
    var convertedList = Uint8List.fromList([for (var i = 0; i < listOfInt.length; i++) listOfInt[i] as int]);
    // throws: Uncaught full width integer not supported on this platform
    // if I don't cast or use int.parse(). I obviously get a type error
});

when [omitting type checks][4] and doing something like this:
js.allowInterop((js.JsArray listOfInt) {
    var convertedList = Uint8List.fromList(listOfInt);
    // throws: Uncaught full width integer not supported on this platform
});

js.allowInterop((js.JsArray listOfInt) {
    print(base64Encode(listOfInt)); // this works
    var convertedList = base64Decode(base64Encode(listOfInt));
    // throws: Uncaught full width integer not supported on this platform
});

This tracker is for issues related to:

dart2js

Platform

Dart SDK version: 2.14.4 (stable) (Wed Oct 13 11:11:32 2021 +0200) on "windows_x64"
Windows
Chrome

Issue at stack overflow
https://stackoverflow.com/questions/71481645/dartjs-convert-jsarray-from-allowinterop-to-uint8list

Thanks @konsultaner for your question an for posting it also in stack overflow.
One thing that caught my eye here is your samples use dart:js, which even though is not deprecated, is one of our less supported JSInterop APIs and likely to be deprecated in the near future. Both dart:js_util for low level interactions, and package:js for more declarative APIs, have better support and are more efficient than dart:js.
Meanwhile, could you share also how is this interop function invoked on the other end? Do you export it as a property? What is provided from the JavaScript side when this is called?

since dart:js is pretty much outdated, I will close this one.


[Bug] OC says that a challenge ends in 4 days, but it has added 4 days ago

Is there an existing issue for this?

[X] I have searched the existing issues

What product(s) are you seeing the problem on?
OpenChallenges
Current behavior
Consider this challenge.
The card shows that the challenge is active ends in 4 days.

but the end date is "2023-12-15" (4 days ago).
Expected behavior
The challenge should be marked as complete and it should says that it has completed 4 days ago.
Anything else?

The status is out of date because it has changed since the last time the OC Data sheet was exported (more than 4 days ago).
One of the priorities of 2024 will be to update the status more frequently, e.g. using a scheduled job to update the status in the DB based on rules and start/end date.
The label "ends in 4 days" is probably because of a bug that should be fixed as part of this ticket.

Cc: @rrchai
Commit ID
dad64404889de9d7f5f7caa7fe2b2692aa092c72
Are you developing inside the dev container?

[X] I am using the dev container

Code of Conduct

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

@vpchung The proposed solution does not prevent the issue from happening again.
@rrchai @vpchung What are the solutions that you can think of that could solve this issue once for all?

Moved to Sprint 24.01

As we curate the DB and update the status of challenges weekly, there could be a 7-day window that exposes opportunities for mismatches (the actual dates & status shown on challenge card & time info "Started ... ago" etc.), which could potentially impact the user experience. Suggested proposals:
Proposal 1

We still manually update the challenge in DB weekly
Add dynamic validation to check if 'upcoming' challenges become 'active', and if 'active' challenges become 'completed'.
Display the most updated status.

Proposal 2

Let challenge have two properties related to its status.

status: dynamic status, automatically changed via startDate & endDate only on the backend (this can be temporarily done on the frontend as well - #2448).
isCompleted:  boolean whether the challenge is completed or not (current completed challenges can be set with true for this property)

Future: only developers can alter isCompleted - can choose a date (>=Now) or leave blank for endDate.
Future: proposed start/end dates are required properties if not yet and organizers are responsible to update dates to reflect status.

I could also quickly do proposal 1 to solve the issues for any future potential mismatches (only 1 as of 1-24-2024).
Some stats with current challenges data:

challenges outdated: 1 ("Frost Hacks")
challenges without both dates: 117
challenges with start date, but no end date: 56
challenges with end date, but no start date: 58

After giving this issue more though, I think the best strategy is to update the frequency of the data to daily.
@vpchung Could you create a CI workflow that update the OC data once a day?

Thanks @rrchai for the suggested solution. As per our discussion, we will increase the frequency of the data updates. @vpchung is currently working the GH workflow that will automate the transformation from Google sheet to CSV.

Added to Sprint 24.2


RLMException', reason: 'Invalid value for property'

Expected Results
Write the object without error/crash

Actual Results

thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
frame #0: 0x00000001867e9348 libsystem_kernel.dylib__pthread_kill + 8   frame #1: 0x00000001868fd354 libsystem_pthread.dylibpthread_kill$VARIANT$mp + 396
frame #2: 0x0000000186758fd8 libsystem_c.dylibabort + 140   frame #3: 0x00000001861bc068 libc++abi.dylibabort_message + 132
frame #4: 0x00000001861bc210 libc++abi.dylibdefault_terminate_handler() + 304   frame #5: 0x00000001861e4810 libobjc.A.dylib_objc_terminate() + 124
frame #6: 0x00000001861d454c libc++abi.dylibstd::__terminate(void (*)()) + 16   frame #7: 0x00000001861d3ea8 libc++abi.dylib__cxa_throw + 136
frame #8: 0x00000001861e465c libobjc.A.dylib`objc_exception_throw + 364

frame #9: 0x0000000103858374 RealmvalidateValueForProperty(obj="3", prop=0x00000001c40b5840, info=0x00000001c42d6438) at RLMAccessor.mm:604 frame #10: 0x000000010385a2ec RealmRLMAccessorContext::value_for_property(this=0x000000016d811c58, obj=0x000000014fe90890, (null)="pac", propIndex=6) at RLMAccessor.mm:834
frame #11: 0x00000001038a3f44 Realmrealm::Object realm::Object::create<objc_object* __strong, RLMAccessorContext>(ctx=0x000000016d811c58, realm=std::__1::shared_ptr<realm::Realm>::element_type @ 0x000000014fd27458 strong=8 weak=5, object_schema=0x000000014fd7ca70, value=0x000000014fe90890, try_update=false, out_row=0x000000014fe90898) at object_accessor.hpp:268 frame #12: 0x00000001038a32e0 Realm::RLMAddObjectToRealm(object=0x000000014fe90890, realm=0x00000001c00b9200, createOrUpdate=false) at RLMObjectStore.mm:132
frame #13: 0x000000010420e488 RealmSwiftRealm.add(object=0x000000014fe90890, update=false, self=0x00000001c0221740) at Realm.swift:287 frame #14: 0x00000001027571f4 LinkaIOSclosure #3 in static Linka.saveLinka(linka=0x000000014fe90890, realm=0x00000001c0221740) at Linka.swift:472
frame #15: 0x000000010420dd94 RealmSwiftRealm.write(block=0x0000000102757254 LinkaIOSpartial apply forwarder for closure #3 () -> () in static LinkaIOS.Linka.saveLinka(Swift.String, lock_mac_address: Swift.String, lock_name: Swift.String, allow_override: Swift.Bool) -> Swift.Bool at Linka.swift, self=0x00000001c0221740) at Realm.swift:155
frame #16: 0x0000000102756b98 LinkaIOSstatic Linka.saveLinka(lock_address="EBCACAF1-1E9C-9FFA-639C-44289E304C0B", lock_mac_address="E3:3A:78:42:62:E8", lock_name="LINKA 1", allow_override=true, self=LinkaIOS.Linka) at Linka.swift:473 frame #17: 0x0000000102756450 LinkaIOSstatic Linka.saveLinka(peripheral=0x00000001c48478f0, allow_override=true, self=LinkaIOS.Linka) at Linka.swift:439
frame #18: 0x00000001027edfa8 LinkaIOSclosure #1 in closure #1 in SetupSearchLinkaViewController.tryPairup(self=0x000000014fe5e570, error=nil, p=0x00000001c48478f0) at SetupSearchLinkaViewController.swift:244 frame #19: 0x00000001025f8780 LinkaIOSthunk for @callee_owned () -> () at RevocationControllerV2.swift:0
frame #20: 0x00000001051c149c libdispatch.dylib_dispatch_call_block_and_release + 24 frame #21: 0x00000001051c145c libdispatch.dylib_dispatch_client_callout + 16
frame #22: 0x00000001051c6050 libdispatch.dylib_dispatch_main_queue_callback_4CF + 1192 frame #23: 0x0000000186c77f20 CoreFoundationCFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 12
frame #24: 0x0000000186c75afc CoreFoundation__CFRunLoopRun + 2012 frame #25: 0x0000000186b962d8 CoreFoundationCFRunLoopRunSpecific + 436
frame #26: 0x0000000188a27f84 GraphicsServicesGSEventRunModal + 100 frame #27: 0x0000000190142880 UIKitUIApplicationMain + 208
frame #28: 0x00000001026f7700 LinkaIOSmain at AppDelegate.swift:21 frame #29: 0x00000001866ba56c libdyld.dylibstart + 4

Steps to Reproduce
call Linka.saveLinka("123", lock_mac_address: "ad", lock_name: "asdfsdf", allow_override: true)

Code Sample
open class Linka: Object, UIAlertViewDelegate {
@objc dynamic var _id = 0
@objc dynamic var lock_address : String = ""
@objc dynamic var lock_mac_address : String = ""
@objc dynamic var lock_name : String = ""
@objc dynamic var isConnected : Bool = false
@objc dynamic var isLocked : Bool = false
@objc dynamic var isLocking : Bool = false
@objc dynamic var isUnlocking : Bool = false
@objc dynamic var isCharging : Bool = false
@objc dynamic var pac : Int = 0
@objc dynamic var batteryPercent : Int = 100
@objc dynamic var origBatteryPercent : Int = 100
@objc dynamic var lastChargingPercent : Int = 100
@objc dynamic var lastUnpluggedPercent : Int = 0
}
class func saveLinka(_ lock_address : String, lock_mac_address : String, lock_name : String, allow_override : Bool) -> Bool {
    let realm = try! Realm()

    let userID = Helpers.getUserID()

    let linkas = realm.objects(Linka.self).filter("lock_address == %@ AND api_user_id == %@", lock_address, userID)

    if linkas.count > 0 {
        if allow_override {
            let linka = linkas[0]

            try! realm.write {
                realm.add(linka, update: true)
            }

            return true
        }
        return false
    }

    let linka = makeLinka(lock_address, lock_mac_address: lock_mac_address, lock_name: lock_name, peripheral: nil)

    let _id = realm.objects(Linka.self).map{$0._id}.max() ?? 0
    linka._id = _id + 1

    do {
        try realm.write {
            linka.pac = 3
            realm.add(linka)
        }
    } catch let e {
        print(e.localizedDescription)
    }

    return true
}

Version of Realm and Tooling
ProductName:	Mac OS X
ProductVersion:	10.13
BuildVersion:	17A362a
/Applications/Xcode 9.app/Contents/Developer
Xcode 9.0
Build version 9A235
/usr/local/bin/pod
1.3.1
Realm (2.10.1)
RealmSwift (2.10.1)
/bin/bash
GNU bash, version 3.2.57(1)-release (x86_64-apple-darwin17)
(not in use here)
/usr/bin/git
git version 2.13.5 (Apple Git-94)
Realm framework version: 2.10.1
Xcode version: 9
iOS/OSX version: 11.0
Dependency manager + version: Cocoapods 1.3.1

@ralfcheung Generally, RLMException means wrong API usage error. According to the error message, pac seems to be passed" 3 "of the string type despite it is Int type.
Some method and property definitions are missing in your code snippet, such as Helpers.getUserID (), linka.peripheral and  makeLinka (). Furthermore, the query filter (" lock_address ==% @ AND api_user_id ==% @ ", lock_address, userID) cannot be executed because it has also a missing property api_user_id. As a result, we could not compile and execute correctly, so we do not know anything further.
Could you please provide executable code that can reproduce the problem? With that, we can give you the right answer.

even if I strip down to the bare minimum. it still crashes.
`
func testMakeLinka() {
    let linka = Linka()

    do {
        try realm.write {
            realm.add(linka)
        }
    } catch let e {
        print(e.localizedDescription)
    }

}

`

@ralfcheung Please share an entire executable project that reproduces the issue. You can send it to<EMAIL_ADDRESS>It may have crashed in your environment, but we do not know. This crash doesn't seem a Realm bug, it is considered a problem of your program, so without our accurate information, we can not help you.

Do you have any functions declared on your Linka type named anything like getPac or similar?

you know there is, and it returns a String for whatever reasons

When Realm uses Key-Value Coding to retrieve the value of the pac property, KVC follows a search pattern that includes looking for appropriate named getters. It tries getFoo before foo, which results in a getPac() function being called and the string it returns being used in the attempt to initialize the pac property.


Add HandleClockSync in distro/utils.py for FreeBSD

There is no hwclock for FreeBSD, use ntpdate instead.

Check in compat.py if the system is FreeBSD and don't call
distro.linux_distribution() if true
Migrate distro specific logic for clock sync to distro/utils.
Add the following functions to distro/helpers:
def CallHwclock(logger): # Logic used by Linux systems
def CallNtpdate(logger): # Logic used by FreeBSD
Add mock tests accordingly

This file was intended as an interface. The function definitions belong here, but the implementation exists in the distro specific directories. Using this paradigm, introducing a new function definition requires an update to each distro utils file. Not sure if we should change the design, but we should give it some thought.

This was my first approach to the implementation (I have another branch with it [1]), but implementing in the parent folder avoids several repetitions of the code.
Let me know which implementation you prefer and I'll update the PR accordingly
[1] https://github.com/helen-fornazier/compute-image-packages/commit/bf79b7105c6dc350e67e46892ecccfa53af4c7c0

This file was intended as an interface. The function definitions belong here, but the implementation exists in the distro specific directories. Using this paradigm, introducing a new function definition requires an update to each distro utils file. Not sure if we should change the design, but we should give it some thought.

This was my first approach to the implementation (I have another branch with it [1]), but implementing in the parent folder avoids several repetitions of the code.
Let me know which implementation you prefer and I'll update the PR accordingly
[1] https://github.com/helen-fornazier/compute-image-packages/commit/bf79b7105c6dc350e67e46892ecccfa53af4c7c0

We discussed this internally. We think we should keep utils.py an interface where each function throws an unimplemented exception instead of doing nothing. This will make it more obvious when new functionality is introduced that isn't getting overridden by one of the distros. It's fine if each distro implements the functionality by calling the helpers function, though we may way to split up helpers at some point if it becomes unwieldy.
Let me know if you have any questions/concerns with this approach.

@illfelder could you review this last version please?


[DEMO] Use Case 1.b.i.1 Edit a js example with pre built arangodb image

Description
(Please describe the changes in this PR for reviewers, motivation, rationale - mandatory)
Edited documentsCollectionInsertSingle example in 3.10/develop/javascript-api/@arangodb/collection-object adding another collection
https://cd654af90603f06a418e553b8c6f10d4c0533d7b--docs-hugo.netlify.app/3.10/develop/javascript-api/@arangodb/collection-object/

Upstream PR
The following PR deals with the following generated content for the following versions:

3.10: arangodb/enterprise-preview:3.10-nightly
3.11:
3.12:
devel:

/generate

/generate

/generate

/generate

/generate

/generate

/generate

/commit-generated

/commit-generated

/commit-generated

/commit-generated

/commit-generated

/commit-generated

/generate

/generate

/generate

/generate

/generate


Making primary key flag compulsory in custom-query-row validation

Earlier primary key was not mandatory because the hash values were compared with hash_all column as reference, but after recent change where hash values are getting compared with primary key column as reference, DVT throws error of None primary  key if --primary_key flag is not present.

This can be a sub-issue of Issue #673


Table of content with more than 9 items creates wrong output with ordered list

Using the option "markdown.extension.toc.orderedList": true, and having 10 or more headers in a file, produces this broken table of contents.
Every time the file is saved another set of
        10. [j](#j)
        11. [k](#k)
        12. [l](#l)
    2. [B](#b)

lines is appended to the table of contents.
# Head

1. [Head](#head)
    1. [A](#a)
        1. [a](#a)
        2. [b](#b)
        3. [c](#c)
        4. [d](#d)
        5. [e](#e)
        6. [f](#f)
        7. [g](#g)
        8. [h](#h)
        9. [i](#i)
        10. [j](#j)
        11. [k](#k)
        12. [l](#l)
    2. [B](#b)
        10. [j](#j)
        11. [k](#k)
        12. [l](#l)
    2. [B](#b)
        10. [j](#j)
        11. [k](#k)
        12. [l](#l)
    2.
I currently cannot test, if using the setting "markdown.extension.orderedList.marker": "one", would fix my problem, because this setting does not work on my system, see bug #130.
To reproduce this, just copy the markdown and safe it a couple of times.
I can reproduce this with VS Code Version 1.21.1 and the markdown extension version 1.1.1.
There are no errors in the developer tools console.

Please try the beta version

@neilsustc Thanks for the quick fixes of the bugs. Both bugs are gone with this beta version.


Type error when using fieldsetWidget on group

when using the fieldsetwidget you get the following typescript error:
Type 'FormComponent<unknown, any>' is not assignable to type 'FormComponent<{}, unknown>'.
  Types of property 'defaultValue' are incompatible.
    Type 'unknown' is not assignable to type '{} | undefined'.

Tricky. This doesn't happen in my test environment but in another typescript environment with the same version and similar configuration.
Workaround is to explicitly set the type:
createForm({
  group: group<Record<string, unknown>>({
    label: "test",
   widget: fieldsetWidget(),
}, {fields});
});


Resize Observer Error on Vertical Resize

While working with Unovis components, I notice that this error occurs frequently.

Reproduction:

Change <VisSingleContainer height={400}> to <VisSingleContainer> on line 11 of packages/dev/src/examples/misc/donut/donut-empty-segments/index.tsx
Open that example at http://localhost:9500/examples/Donut/Donut: Empty Segments
Resize vertically
See the error happen

The docs say:

By default, Container automatically fits to the size of the parent element.

so, I would expect this to work without errors.

After enabling sourcemaps in #457 , I see this:

Related issue:
https://github.com/webpack/webpack-dev-server/issues/4812
It seems that what's happening is that the Webpack dev server is intercepting the error, which is coming from within the Unovis codebase

Actually, this error is happening on the current main, even without changing the height of the donut chart.

Researching this, the most common way to solve it is to throttle or debounce the updates. That's something I can try, which seems like pretty low hanging fruit!

Oh wow there's already a dependency here for https://github.com/niksy/throttle-debounce

Some things I tried that didn't work:

Debouncing the rendering
Setting a flag to ignore resize observer events when rendering is taking place

The error still happened after either of those.
I didn't open any PRs with these changes since they didn't work. I'd like to get to the bottom of this one, since it's the starting point for local testing of vertical resize.
I wonder if there's some workaround where I could avoid solving this but also enable vertical resizing of the dev page for

#454


Toggable auto-scroll

:tada: This issue has been resolved in version 0.7.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


KEEP_REPORTDIR should be boolean

KEEP_REPORTDIR is boolean https://github.com/adoptium/aqa-tests/blob/098041520884daafaa3d0b7c30eab6ab93800f41/buildenv/jenkins/JenkinsfileBase#L66
However, we set it as String in testJobTemplate.
https://github.com/adoptium/aqa-tests/blob/8a55c344d1b9847d4d083aaae4e903a675b659b5/buildenv/jenkins/testJobTemplate#L40
https://github.com/adoptium/aqa-tests/blob/8a55c344d1b9847d4d083aaae4e903a675b659b5/buildenv/jenkins/testJobTemplate#L417
ToDo:

Verify if we can use KEEP_REPORTDIR as a boolean in Grinder
-> run a passed test (i.e., jdk_math) with KEEP_REPORTDIR as boolean (true and false) and check if junit result file shows up accordingly
if so, update testJobTemplate to use boolean

I would like to work on this issue :)

I am not able to configure Grinder to be able to set KEEP_REPORTDIR as boolean (I don't think I have premisses to). Perhaps, I didn't understand the task? I am not sure how I am supposed to change KEEP_REPORTDIR to boolean in Grinder.

I've created Grinder_New which you can use for step 1 of the ToDo list.
If the changes are made as @llxia suggested to testJobTemplate, when we regenerate the test jobs, it will be changed to a boolean type.  Reviewers of your PR will run the Test_Job_Auto_Gen job to verify that the change will do as we hope.

@smlambert Thank you for the help! Also, it seems I am missing the Job/Build permission.

Should now have permission, thanks for heads-up!


Fix layout

This fixes two of the layout issues that I noticed: the size and alignment of the slider, and margins around the plots.

Looks like a wip commit snuck in?

@cjh1 It did, thanks for catching that! I made it worse before I made it better, but it has been removed now.


cannot import name 'config' from 'finrl.apps' in Demo_MultiCrypto_Trading

There is a new issue in the colab notebook, any idea on how to fix it ?

Pls check the new path… we recently made some change, still cleaning it.

please try from finrl import config.
If you use tickers, try from finrl import config_tickers


Rubydoc.info links should use HTTPS

It looks like rubydoc.info does upgrade non-HTTPS connections anyway, but clients should not be sent to the non-secure version to start with.

Ah, this line is breaking because of this change in Rubocop 0.75. Let me know how you'd like me to proceed please?

Thanks for fixing the links!
Regarding the failure - it seems we'll have to update rubocop dependency to 0.7.5 and adjust the code.

Regarding the failure - it seems we'll have to update rubocop dependency to 0.7.5 and adjust the code.

Would you like me to open a PR for that?

I would highly appreciate that.
Let's confirm with @bquorning and @Darhazer to be sure.

Regarding the failure, I'm a bit on the fence to update - we recently bumped the requirement for 0.68.1. It makes sense to fix the CI to use the minimum required version, or we may check the arity of the method in the rake task (or even the Rubocop version) and to have conditional instantiation

@nickcampbell18 I merged the fix for the documentation, would you please rebase. The build should pass now

We're all good now, thanks!

@nickcampbell18 Thanks for persistence with this pull request and taking care of the compatibility/build issue as well. 💯


Not all instances showing

I'm not entirely sure where to go with this one... but I'm trying to pull counters from
.NET CLR Remoting - Remote Calls/sec
Locally from performance monitor, I can see all the instances on the machine.
Influx Capacitor seems only able to see itself, and the Global instance - both which indicate 0 all the time.
Global on the performance-monitor view shows me what I'd expect.
It smells like a permission issue, but even with the service running as the same user as I use interactively, I get different results.
Any help greatly appreciated.

I tried this for a config...

.NET CLR Remoting
Remote Calls/sec
*

What I could see was that performance monitor shows the same number of instances as Influx-Capacitor does. (However, all my values was 0, in both the monitor and Influx-Capacitor)
Is this what you tried to do?
I have seen some issue with windows running on other languages, Swedish for instance, but I think that theese issues have been solved.

Yes.. that's exactly what I did, and exactly the result  I see when running it on server 2012 core.
There are other instances running on the same box, and they just don't show up. If I specify them by name instead of using * I just get no results.
When I try powershell Get-Counter locally on the server, I see them all, and if I try remotely from Performance Monitor on my workstation, I see them as well.  I'm unable to replicate the problem in any other tool so far.
When I try influx capacitor with the same query on a win7 workstation, it shows me all the various instances running as expected.
Is IC a 32 or 64 bit app? There was an issue with counters and word-size, though I'm not sure that's what's going on... because I'm not seeing the IIS (w3m*) instances either.
I'll google up the language thing.. who knows. It still smells like pemissions of some kind..
The same behaviour seems to exist across all the .NET CLR counter groups.

It looks like the problem may be that IC is running as a 32 bit, which means it can't see 64 bit performance counters.
Will the build tolerate turning off "Prefer 32 bit" in the build options? that should take care of it.

Allright. Ill have a look at the build configuration for next deploy.

In version 1.16 I changed "Prefer 32 bit" to false. Please tell me if that did not help.


Bug in the basic example

In the basic example. In the npm page and the repo of the basic example. I found a error
function getUser(req) {
  const auth = req.get('Authorization') //<-- This line generate a error something like "get is not a function".
  if (users[auth]) {
    return users[auth]
  } else {
    return null
  }
}

I fix the error using the next code:
function getUser( context: any ) {

  //console.log( "Request => ", context.request.headers );
  //console.log( "Response => ", context.response );
  //In the bottom left of playground web page (HTTP HEADERS section) need put the next data
  /*
  {
    "authorization": "mathew"
  }
  */
  //const auth = req.get('Authorization') //<-- This line generate a error something like "get is not a function".
  const auth = context.request.headers.authorization ? context.request.headers.authorization : "";

  console.log( auth );

  if ( users[auth] ) {

    return users[auth]

  }
  else {

    return null

  }

}

Interesting! Could you create a PR with a fix?

Hello the repo is:
https://github.com/sirlordt/GraphQL01

Thank you! Just found the problem.

:tada: This issue has been resolved in version 7.0.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Under which license is twittered distributed?

We have the POM file, which states Apache Software License
https://github.com/redouane59/twittered/blob/8324c5e07106ed10cb0f1db60f4e5cd3d9881d58/pom.xml#L149
and we have a LICENSE file in the source tree
https://github.com/redouane59/twittered/blob/develop/LICENSE
Can you clarify on the license?
Personally, I would prefer the ASL version.

Hey,
I'm really not expert in license. Could you push a valid model to replace the current LICENCE file and be iso with the pom ?
I just want the library to be free but without any warranty or constraints on my side. Is ASL in this way ?

Yes. You can find more information here: https://en.wikipedia.org/wiki/Apache_License
I will prepare a related PR to switch to ASL.