feat: Add support for yew-router

WIP
Adds support for users of the "standard" router as well :)
Since this library is currently in alpha of new version that can break backwards compatibility, it might be a good idea to rename the yew-nested-router feature to "nested-router" as it's with the oauth crate to avoid confusion

One thing I'm not sure about:
Adding another router support makes the hardest issue in IT even harder: Naming.
If those router-based components stay in the same prelude, we need to deal with the possibility of name collisions.
Possible solutions:
Name components for each router differently
pros:

no collision

cons:

can lead to awkward / inconsistent naming

Make router features mutually exclusive on build
pros:

possibility of consistent naming
doesn't need any naming or prelude change

cons:

language documentation recommends to avoid this if there is other way around
makes tests more cumbersome (can't test with all features on)

Make components of both routers members namespaced (additional router specific preludes, for example)
pros:

one of cleanest solutions

cons:

makes prelude slightly less convenient

(I don't like preludes that much in general and would prefer just importing components directly, so this aligns with my personal preference, but that's just me)

Adding another router support makes the hardest issue in IT even harder: Naming.

There's a simple solution to that, using UUIDs. However, humans seem to have problem with that :grin:
I would prefer the last option: Choosing a specific prelude would be done once, and then just used. Assuming a user would choose only one router implementation, which seems reasonable.
The least appealing approach for me would be the mutually exclusive approach. It always turns into a PITA. The amount of time I spent wrestling with sequoia builds because of that is insane.
@aDogCalledSpot any thoughts?

@ctron I'm also not a fan of that approach. I absolutely hate it in sqlx, even if I get why that specific usecase calls for it.

added a split draft

I'm a bit concerned about adding another variant of the items that are using the router. Currently the router and non-router variants already fall out of sync even though most of the code is identical. It would be good if we could somehow unify the behavior of different routers.

I think that especially with https://github.com/ctron/yew-nested-router/issues/14, large part of router code for both could be unified and handled by a simple macro.

Sounds great!

Ok, I will give it some thought and try to come up with the macro solution :)
That doesn't answer a namespacing issue though, would current state with two preludes be acceptable for you?

I'm personally not as opposed to a mutually exclusive solution since I can't imagine using two routers in combination to be a good idea -- but I'm not too worried about having two preludes either, so it's fine by me :+1:

That doesn't answer a namespacing issue though, would current state with two preludes be acceptable for you?

Absolutely.


Strange ending configuration for #7

When using the initial positions provided by the professor for structure 7, I end up with a plot like this

Has anyone else had this issue? This is not the form of in the paper and it needs some additional tuning correct?

This is no longer included in this group's project, so I am closing this for now


helm chart deploy failed

1）Environment
helm version:  helm3
kubernetes version:  v1.17.6
2）deploy
helm install pgadmin runix/pgadmin4 --set env.password=admin --namespace test
kubectl get po,svc -n test |grep pgadmin

kubectl get logs for pgadmin:
sudo: setrlimit(RLIMIT_CORE): Operation not permitted
[2020-07-01 07:20:22 +0000] [1] [INFO] Starting gunicorn 19.9.0
[2020-07-01 07:20:22 +0000] [1] [ERROR] Retrying in 1 second.
[2020-07-01 07:20:23 +0000] [1] [ERROR] Retrying in 1 second.
[2020-07-01 07:20:24 +0000] [1] [ERROR] Retrying in 1 second.
[2020-07-01 07:20:25 +0000] [1] [ERROR] Retrying in 1 second.
[2020-07-01 07:20:26 +0000] [1] [ERROR] Retrying in 1 second.
[2020-07-01 07:20:27 +0000] [1] [ERROR] Can't connect to ('::', 80)
Can you tell me what's going on?
thanks very much!

@kerven88 if you are working in an IPv4-only environment, try to uncomment a portion of the variables in the values. It should look like this:
variables:
  - name: PGADMIN_LISTEN_ADDRESS
    value: "<IP_ADDRESS>"

This change got me past what you are seeing above.

@kerven88 if you are working in an IPv4-only environment, try to uncomment a portion of the variables in the values. It should look like this:
variables:
  - name: PGADMIN_LISTEN_ADDRESS
    value: "<IP_ADDRESS>"

This change got me past what you are seeing above.

Uncomment a portion of the variables in the values, it works, tks!


Document New Power-Ups API Features

We've started building new features for the Power-Ups API. Once they go live we'll update the docs. Rough API outlines look like:
t.navigate({ url: 'https://trello.com/c/abc123' }) - Generic navigation to any url that can be handled by the Trello web client. Only trello.com URLs will be allowed.
t.showCard('abc123') - Bring up the card details (card back) for an open card on the current board by id (or idShort).

https://github.com/trello/api-docs/pull/84


Update .gitignore

Add src/main/resources/target/* to .gitignore

I have no idea but I just deleted it.. this can be closed and deleted I suppose


Update update-bucket.md

Closes #2843
Describe your proposed changes here.

[ ] Signed the InfluxData CLA
(if necessary)
[ ] Tests pass (no build errors)
[ ] Rebased/mergeable

@kerry-Cho Thanks for raising this. The CLI examples assume that token is set in the config, but it isn't clear. I'm closing this and submitting a new PR with you as co-author.

Thanks a lot 🙏


Set ETH_CALL_DEFAULT_TO_CONSENSUS_NODE to false

Description:
Set ETH_CALL_DEFAULT_TO_CONSENSUS_NODE to false.
Fixes #1311

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

Codecov Report
Patch and project coverage have no change.

Comparison is base (19c0cdd) 75.72% compared to head (006ed55) 75.72%.

:exclamation: Current head 006ed55 differs from pull request most recent head 10117bf. Consider uploading reports for the commit 10117bf to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1320   +/-   ##
=======================================
  Coverage   75.72%   75.72%
=======================================
  Files          32       32
  Lines        2451     2451
  Branches      492      492
=======================================
  Hits         1856     1856
  Misses        442      442
  Partials      153      153

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Not initiated when opening file directly

I ran across the exact behaviour described in https://github.com/lewis6991/gitsigns.nvim/issues/18, but with a Lua config. Opening a file like nvim path/to/file doesn't load gitsigns but :e path/to/file does, as does opening a file directly and then reloading it with :e.
The relevant bits in my config are
use {'lewis6991/gitsigns.nvim',
         requires = {'nvim-lua/plenary.nvim'},
         config = function() require'gitsigns'.setup({ keymaps = { } }) end
}

Please fill out the issue template.
Without providing real instructions on how to reproduce this or making sure the issue persists in a minimal config, there is very little anyone can help with.
90% of the time, these kinds of issues are just because of bad configuration, weird nvim install, or a platform issue.

Sure.
gitsigns-debug.lua:
vim.o.termguicolors = true

require('gitsigns').setup {
    debug_mode = true
}

Make sure gitsigns is available for loading.
Run nvim -u gitsigns-debug.lua file/under/git/with/changes. Observe that gitsigns isn't running.
Execute :e; gitsigns shows up.
Now try nvim -u gitsigns-debug.lua and :e file/under/git/with/changes, it works.

platform: macOS Big Sur 11.5.2
nvim: v0.6.0-dev+1637-g2ae9ff128 (reproduced with 0.5.0)

And debug messages?

Sorry, missed that one.
Step 1:

Step 2:

Can you provide the output of the cache? Details in the issue template.
It looks like the call to git ls-files isn't returning the right data on the first call, but is on the second call.
Also what git version are you running?

I just tried to reproduce the issue to fix debug but can't. Everything seems to be working well now. I did purge my nvim/plugin and nvim/lua directories to prevent as many things from loading as possible, and following the steps described above no longer results in an error. Could be there was a recent update to neovim or this plugin that fixed it? I have git==2.33.0 by the way, installed via Homebrew; perhaps their formula was recently updated to this version.
I'm closing the issue as it seems to have resolved itself. Thanks for your patience and a great plugin!

Ok no problem. I think there is still an underlying issue here, as it is similar to other issues in the past. Specifically, the first call of git ls-files not being correct. Maybe some latency issue?
However, if it's something that can't be reproduced, then it's probably best to close the issue for now.


Pulling develop into main

Merge develop into main
Changes :
Bug Fixes

packages: :building_construction: add replace options in all packages composer files (9f1777a)

:tada: This PR is included in version 2.2.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SAMZA-1478; Delete unneeded data from intermediate Kafka topic on offset commit

@nickpan47 @prateekm do you have time to review this patch?

@xinyuiscool @jmakes Do you have time to review this patch?

@prateekm @nickpan47 @vjagadish1989 Thanks for your review! I have addressed all comments and fixed a flaky test. Can you review the patch again? Do you think we can include this patch in the next Apache Samza release?

Jenkins keeps failing with "Unknown license: /home/jenkins/jenkins-slave/workspace/samza-pr-checks/samza-test/hs_err_pid5042.log". Does anyone know how to fix it?

@lindong28 : Is that file checked in to the remote repo? Or is hs_err_pid5042 a local file? If it's the latter, can you delete it? It's probably related to a test JVM failure?

@nickpan47 Do you have time to review this patch?

@vjagadish1989 Here is the PR. Thanks in advance for your review!

@vjagadish1989 Thanks much for taking time to review the patch! I have updated the patch and addressed most of your comments.

@nickpan47 @jmakes Can we merge this patch for the next release?

@jmakes and @prateekm , Dong has finished the revision and this patch is ready to be committed. Are you guys still -1 on this patch? Could you quickly check and respond? Thanks!

@prateekm and @lindong28 what else needs to be addressed here for this one to be merged? Thanks!

@nickpan47 Thanks! I have updated the code to (hopefully) address all comments by @prateekm. However, I am not able to debug the test failure properly in China - it looks like the ./gradlew test will take super long time to finish when I am in China. I guess it is because the test will try to access something online in US and the access is slow from China. I don't know how to fix this problem. So most likely I will fix the test after I get back US.

@nickpan47 @prateekm I am able to debug and fix the test failure after using virtual private network. The patch has been updated to address the latest comments. Can you take another look? Thanks for the review!


Typo in the repo description

“ fucntions for FPC/Lazarus”

Thank you

IMO 'LazBaseUtils' is misleading ... it's not std laz package. Better RecUilsEx, RecBaseUtils.

I wanted to get away from the Rec (as this was formerly the RecUtils package, which was experimenting with record based types), because it is not just records, but now with the new Iterator library it also makes a lot of use of classes.
I will think about other names, maybe ObjPasUtils or something like that...


Symbols do not show up in Trainer Names or Nicknames

I gave a Pokémon a nickname of all symbols as a test and it does not show up on KeySAVe. Specially it was given ♥♠♦♣★♪☂☁☼☃ .
For Trainer name I only have a Pokémon with an OT with ♥'s in it to verify that it does not show up on KeySAVe.
I assume most of the symbols on the symbols page of the naming screen does not show up.

So Nintendo helpfully defined their own code points for these symbols in a private use area. I will need a decoding table.

See Cu3PO42/KeySAVCoreJS#8


Add option to allow dubs for anime

In the guide under Must Not Contain dub releases are included by default meaning dubs aren't downloaded. It would be great to have an option to allow them to be downloaded and optionally be preferred barely above subs.

Hello,
Thank you for the feature request. After reviewing this a bit, I feel like it's a reasonable idea but unfortunately beyond the scope of what Trash Updater does. Your request is not really doable for a few reasons:

It requires a lot of fragile assumptions about the structure and contents of the guide. The guide directs you on how to prevent dubs from being prohibited by modifying an existing release profile, but does so in a way that is not easily implemented in my tool.
Requires me to infer data that doesn't exist. Specifically, the guide has no reference scores for prioritizing dubs over subs.

In general, any time people want a customized version of release profiles from the guide, I recommend they do the following:

Temporarily enable that type (in your case: type: anime) in their trash.yml and sync it once to Sonarr (this will create the baseline release profile from the guide).
Remove that type from your trash.yml (you will manually update it from now on).
Go to the release profile in Sonarr and directly edit it to meet your needs.

In the future, remember that Trash Updater is meant for folks that want what's in the guide verbatim in Sonarr. I do add features to include/exclude certain parts of the guide, but it always takes whatever is included verbatim, without modification for the most part.


Add missing information to the tasks

Tasks should report an importance and an effort estimate and the actual time spent.
Provide time estimates and actual effort spent on each task in the project management
tool.

Priority: Low


Action Python Error

Hi @cclauss
I think there is a problem here

Thanks

Clicking the Details hotlink is a good idea...
Run codespell --ignore-words-list="ans,nnumber" --quiet-level=2
./stacks/JAVA/The_Stock_Span_Problem.java:21: abstact ==> abstract
./stacks/JAVA/The_Stock_Span_Problem.java:55: sightly ==> slightly
Error: Process completed with exit code 65.

So what is the problem

https://github.com/codespell-project/codespell is finding misspellings that need to be fixed. (Just like in a word processor.)

https://github.com/codespell-project/codespell is finding misspellings that need to be fixed. (Just like in a word processor.)

Oh okay, Sorry for the misunderstanding


(Bug) App doesn't recognize emails with different case

List of your emails:
<EMAIL_ADDRESS>(Primary) — Confirmed
<EMAIL_ADDRESS>— Not confirmed
Your git config contains untracked emails:
<EMAIL_ADDRESS>Do you want to add this emails to your account? [Y/n]
Y

adding it doesn't make a difference though…

@wmertens thank you!
Closing an issue, because it has been fixed.


Bump runc to v1.0.3

Proposed Changes
bump runc (both module and binary) to 1.0.3
Types of Changes
packaged component update
Verification

runc --version
see linked issue for Rasperry Pi

Linked Issues

#4580

User-Facing Change

Runc has been bumped to v1.0.3, resolving a hugetlb error message frequently seen on Raspberry Pi.

Further Comments

GH integration test appears to have flaked; runs clean locally. Merging.


OpenVPN 2.4 Debian 9.2.1

Hello,
I have just installed Debian 9.2.1 on a virtual machine to test the OpenVPN 2.4 script.
When I create the key, I get an error message.

Note:
using Easy-RSA configuration from: ./vars
init-pki complete; you may now create a CA or requests.
Your newly created PKI dir is: /etc/openvpn/easy-rsa/pki
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/ca.key.heeiw2dVYa'
Note: using Easy-RSA configuration from: ./vars
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/server.key.o8vDTkXU0B'
rand: Use -help for summary.
./easyrsa: 644: ./easyrsa: [[: not found
Using configuration from ./openssl-1.0.cnf
Can't open /etc/openvpn/easy-rsa/pki/index.txt.attr for reading, No such file or directory
3072723264:error:02001002:system library:fopen:No such file or directory:../crypto
/bio/bss_file.c:74:fopen('/etc/openvpn/easy-rsa/pki/index.txt.attr','r')
3072723264:error:2006D080:BIO routines:BIO_new_file:no such file:../crypto/bio/bss_file.c:81:
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'server'
Certificate is to be certified until Nov 14 16:18:40 2027 GMT (3650 days)
Write out database with 1 new entries
Data Base Updated
Note: using Easy-RSA configuration from: ./vars
Generating an EC private key
writing new private key to '/etc/openvpn/easy-rsa/pki/private/client-test-2-4.key.CvrzBlvdV4'
rand: Use -help for summary.
./easyrsa: 644: ./easyrsa: [[: not found
Using configuration from ./openssl-1.0.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'client-test-2-4'
Certificate is to be certified until Nov 14 16:18:40 2027 GMT (3650 days)
Write out database with 1 new entries
Data Base Updated
Note: using Easy-RSA configuration from: ./vars
Using configuration from ./openssl-1.0.cnf
An updated CRL has been created.
CRL file: /etc/openvpn/easy-rsa/pki/crl.pem
225
Created symlink<EMAIL_ADDRESS>→<EMAIL_ADDRESS>Looks like your server is behind a NAT!
If your server is NATed (e.g. LowEndSpirit, Scaleway, or behind a router),
then I need to know the address that can be used to access it from outside.
If that's not the case, just ignore this and leave the next field blank
External IP or domain name:

Can someone help me there?
Many Thanks.

Hi, how did you get the script?

Ok. have you finished the installation and tested the config file?

Yes, I tested it. Unfortunately I could not establish a connection.

Yes, what provider do you use?

I just pushed a commit, you may try again

The error message during the installation has no impact. This is very likely your network config.
When connecting, do you have an error message?

No, I do not get an error message.
On the server is also not the minimum installation without a firewall.

That's probably because your client can't reach your server due to your network config :(

When I connect to a OpenVPN server with a Windows 10 PC, a connection is established. Not with the smartphone.
Will the bug still be fixed which I pushed at the top?

That's strange, are they connected to the same network?
One of them will be fixed by easy-rsa, yes, but they don't have any impact on the installation.

Yes, all devices are in the same network. The PC is connected with network cable and the smartphone is connected via WLAN. But they are not filters or rules.
Currently I am working with your other script. OpenVPN 2.3.x works wonderfully.

When you tested the current, 2.3 script, was this PR merged? https://github.com/Angristan/OpenVPN-install/commit/f47fc795d5e2d53f74431aadc58ef9de5784103a

It was before the merger.

All right, then if you happen to retry the master script, let me know the results as it may be related to that PR

Sure, that's not a problem I repeat the Master Script.
When running the script again, there were no errors.
Also, the connection with the gelcihen PC and Smartphone works properly.
To setup:
It is the same Viruelle machine where the OpenVPN Script 2.4 has been executed. Even the network is the same and nothing has changed.

So it works with the master script before and after the PR, but the 2.4 one don't?

Yes, it works with the master script.
Unfortunately not with the Openvpn 2.4 script.

I'm having the same issue "./easyrsa: 644: ./easyrsa: [[: not found". Ubuntu 16.04 & 17.04 (server) :/

@Quintenps this is not an issue and it's not related, don't worry :) https://github.com/Angristan/OpenVPN-install/issues/101#issuecomment-330149831

Yes, it's a client problem.
Not sure if you still can't connect from Android with that app, but try Openvpn for Androidf by Arne Schwabe. It supports the latest v2.4 features and it should work.

Closing since this is not a "stable" branch


unknown directive "more_set_headers" in /etc/nginx/conf.d/registry.conf:30

Ｉ used contrib/compose/ to build up my private registry, but something wrong occured in compose_nginx container. I search for this problem, and find HttpHeadersMoreModule. So maybe just FROM: nginx:1.7  is not enough. We should add module to nginx and compile it.

@polym You can use add_header with the "always" parameter after 1.7.5 in nginx. We are a little annoyed with nginx, as well, since this is an odd restriction. I've file #460 to cover this.
Let me know how you'd like to proceed.

Thanks. I'm new to docker-registry, and try it by using document. :)

Comment out or remove more_set_headers line, and add
add_header 'Docker-Distribution-Api-Version:' 'registry/2.0' always;

I hit this same error today. Is there a fork with a PR to fix this yet?

@kentoj How do you propose we fix a bug in nginx with a fork of distribution?

@stevvooe it looks like I must have misunderstood the issue. If @macsteps suggestion is not a solution to this problem then I don't know how to fix this.

@kentoj We need to get the documentation in order on this. @macsteps solution is the right approach but requires nginx 1.7.5+.

If I switch to add_header as @macsteps suggests I get duplicate Docker-Distribution-Api-Version headers.
# curl -v -k https://localhost:5000/v2/
* About to connect() to localhost port 5000 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 5000 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_DHE_RSA_WITH_AES_128_CBC_SHA
* Server certificate:
*      *certificate_stuff*
> GET /v2/ HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost:5000
> Accept: */*
>
< HTTP/1.1 200 OK
< Server: nginx/1.7.12
< Date: Fri, 15 May 2015 17:01:52 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 2
< Connection: keep-alive
< Docker-Distribution-Api-Version: registry/2.0
< Docker-Distribution-Api-Version: registry/2.0
<
* Connection #0 to host localhost left intact
{}

If I just take out the more_headers I am still seeing the header, but only once.

@stevvooe for people using a containerised NGINX; 1.9 is now the only supported NGINX version on the registry; https://registry.hub.docker.com/_/nginx/

@thaJeztah Looks like we should move the documentation to fully embrace the add_headers directive. This will clean things up a bit. Thank you for the update.
cc @moxiegirl


Late messages delivering

Hello,
since the last week I have strange behaviour in my whatsapp system based on WebWhatsapp Wrapper. Sometimes messages are delivered 15 - 20 minutes after they are sent.
Two hours ago I did this test: open the VNC whatsapp web browser (used from Selenium), open a second whatsapp web browser (I'm using the last whatsapp beta version), open whatsapp on the associated phone. Up to 12.15 AM all worked well, but starting from that time I could see new messages arriving on phone and on second whatsapp web, but not in the first VNC whatsapp web. It received these "late delivered" messages (a bunch of 25 or 30 text and voice messages) 20 minutes after they have been showed on phone and on the second Whatsapp web. How it possible? Only in the web browser associated to Selenium they were 20 minutes late!!!
Other times, in the last week I had the "Error in function getUnreadMessages (Error: Accessing TypedArray data over Xrays is slow,...." error, but not this morning. During the last test I had just some "Error in function sendSeen (Document was unloaded)...." and "'NoneType' object has no attribute 'lower'", but I think they are not blocking errors (however I don't know whats 'NoneType' object has no attribute 'lower' means...).
Can someone helps me?
Thank you in advance

In addition to what has already been said, I add that starting from yesterday, I connected the whatsapp service to another phone number. It seems that using the first phone number I have late and slow messages delivering, using another one I have correct delivering. Any idea about that? Thank you in advance


Group not found

I have manually created a group and even setting this, crossplane doesn't seem to find it.
Using provider v0.5.0 on crossplane v1.4.1
apiVersion: groups.gitlab.crossplane.io/v1alpha1
kind: Member
metadata:
  name: user1
spec:
  forProvider:
    groupdId: 5
    groupIdRef:
      name: manualgroup1
    userID: 100
    userName: user1
    accessLevel: 50
  providerConfigRef:
    name: gitlab-provider
  writeConnectionSecretToRef:
    name: gitlab-group-user1
    namespace: crossplane

Resulting error:
cannot resolve references: spec.forProvider.groupId: cannot get referenced resource: Group.groups.gitlab.crossplane.io "manualgroup1" not found

@janwillies

You get that error because you are referencing a group which doesn't exist in crossplane (via groupIdRef). You need to import the GitLab group via the external-name annotation. See here: https://docs.crossplane.io/knowledge-base/guides/import-existing-resources/

For the gitlab provider this does not seem to work. For example for importing a parent group. In the referenced docs for the manual import isn't there a missing reference to a provider config?

This is a crossplane convention: when no providerconfig is specified, the one with the name default is chosen

Closing since this issue seemed to be fixed.


Update Developer Guide - User Stories

More details

For reference (as per the CS2103 website @dillontkh linked above):

Update the target user profile and value proposition to match the project direction you have selected. Give a list of the user stories (and update/delete existing ones, if applicable), including priorities. This can include user stories considered but will not be included in the final product.


allow multiple urls in blockchain-rpc-endpoint for failover cases

Summary
Allowing multiple urls for the  blockchain-rpc-endpoint value would prevent bee nodes from shutting down when one RPC endpoint momentarily fails
Motivation
When nethermind (on dappnode) goes down during an automatic upgrade once, all my bee nodes shutdown along with it. Would be better if the bee node could try the other url's in such cases. Similarly when a node operator is using a rate limited service such as getblock and runs out of requests, all bee nodes go down.
It would be great to automatically switch between RPC urls in case of failure. Sometimes it takes a few days or weeeks for node operators to realize their bees are down.
Implementation

Drawbacks

and while we are at it, don't exit the bee process when the blockchain endpoint(s) are not reachable, but rather keep trying.

see referenced issue


mailkit proxy problem

i m using mailkit to connect to my outlook account
i need to know what it take socket in this method client.connect(socket,string host, int port ....);
i need a example please if some one can write it , i need to use a proxy to open my emails

Not sure why you submitted a mailkit question here. Shouldn't this have been filed at https://github.com/jstedfast/MailKit?


show time stamps when 'c' key is pressed

When we press 'c' key there is no prompt/info. whereas mpv_slicing shows Marked OSD
see
117 function toggle_mark()
https://github.com/Kagami/mpv_slicing/blob/master/slicing.lua
can mpv-video-cutter also show 'left' and 'right' trim timestamp on osd?
Thanks.

I use lua's function 'print' to show  prompt in terminal,you can change this function to mp.osd_message()

thank you! works by replacingprint(with mp.osd_message(


Use Sentence Transformers lib instead of Transformers

This PR suggests a move to a higher level library (sentence transformers) the behaviour stays the same while increasing performance by about an order of a magnitude.
This is probably due to the promise of this library to be highly optimized for such workloads, they also claim to use and distribute to all gpus automatically but I haven't tested that yet.
I also added support for batching in the form of an input array (instead of a single string) this should help with decoupling the transformation work for large workloads if needed.

@raam86 The performance promises of this sound great. Anything stopping this from moving forward? It looks like this needs CLA acceptance from you. But, maybe something else is blocking this?

Looping in @antas-marcin who might have more context (mostly because this is an older PR)

Would be great if the t2v performance could be improved, as I am getting a lot of timeouts when importing and searching at the same time. So is it possible to merge this PR?

Did not look into it this ins great detail but came across a related issue.
Afaik sentence-transformers vecetorizes each text in a list as a whole. This PR calls encode with just one string, which sentence-transformers will then just put into a list.
From my understanding it will then encode this as a whole. If the input is too long, it will not be split into batches or anything but truncate the input (see e.g. https://github.com/UKPLab/sentence-transformers/issues/181#issuecomment-614693712).
Could it be that the gain of speed would come (at least partly) from the fact that the way this is currently implemented would just encode parts of the text?

The SentenceTransformer vectorizer is already a part of transformers project. Closing this PR.


Weird ClassNotFoundException mentioning Intellij

Using GraalVM 20.2.0 on MacOS Catalina (10.15.6) and having IntelliJ open with a Java project.
I was trying to instantiate Java classes in TruffleSqueak using Java type: 'classname' and at some point I noticed the following error message in my stdout. I'm not quite sure how to reprocude it.
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData

Did this crash the image? Or just printed to stderr/stdout?

It was just printed to stderr/stdout

I think you're hitting this line:
https://github.com/hpi-swa/trufflesqueak/blob/4aa371a608bd73e9be1a6c65e727eb45370d23e8/src/de.hpi.swa.trufflesqueak/src/de/hpi/swa/trufflesqueak/io/SqueakDisplay.java#L431
Could you please verify?

I was able to reproduce and debug this. It's actually caused by:
https://github.com/graalvm/labs-openjdk-11/blob/e6d527daf65d565d52eefba34a6c94685b0fc26b/src/java.datatransfer/share/classes/java/awt/datatransfer/SystemFlavorMap.java#L404-L407
So not much we can do about this.


How to handle imbalance in dataset for TVSeries?

Hi,
Thanks for the awesome code repo.
I observed that there is a large imbalance in dataset. For TVSeries, >70% of data is background class.

I was wondering if you tried any technique to deal with the imbalance in the dataset? The LSTR paper does not mention any such technique.

My validation loss does not converge and most predictions are of background class. My mcAP does not increase over epochs. What metric do you recommend to track/debug over epochs for performance of non-background classes on TVSeries?

Thanks!

No, we haven't. This is common problem in many action tasks, but is not the focus of LSTR. Ideally, a good solution to imbalance could further boost LSTR's performance.

For TVSeries, we just used mcAP for evaluation. There could be some bugs or problems of features, if your validation loss cannot converge.


Add Amazon EKS-D CSI plugin as an addon

Amazon EKS-D support has been removed starting with KubeOne 1.4.


Issue 246

Do other #244 PR first - this one includes that one

Codecov Report

Merging #247 (06665f3) into master (5635c56) will increase coverage by 1.06%.
The diff coverage is 72.24%.

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   70.79%   71.85%   +1.06%
==========================================
  Files          18       19       +1
  Lines        5968     6179     +211
==========================================
+ Hits         4225     4440     +215
+ Misses       1743     1739       -4

Impacted Files
Coverage Δ

stix2elevator/cli.py
0.00% <ø> (ø)

stix2elevator/convert_cybox.py
62.66% <57.23%> (+0.06%)
:arrow_up:

stix2elevator/utils.py
88.37% <66.66%> (+0.58%)
:arrow_up:

stix2elevator/convert_pattern.py
78.04% <71.42%> (-0.51%)
:arrow_down:

stix2elevator/missing_policy.py
54.54% <73.00%> (-3.40%)
:arrow_down:

stix2elevator/convert_stix.py
81.88% <82.25%> (+5.22%)
:arrow_up:

stix2elevator/test/test_idioms.py
76.85% <85.71%> (+0.33%)
:arrow_up:

stix2elevator/options.py
78.16% <88.88%> (+0.58%)
:arrow_up:

stix2elevator/extension_definitions.py
100.00% <100.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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

Codecov Report

Merging #247 (06665f3) into master (5635c56) will increase coverage by 1.06%.
The diff coverage is 72.24%.

@@            Coverage Diff             @@
##           master     #247      +/-   ##
==========================================
+ Coverage   70.79%   71.85%   +1.06%
==========================================
  Files          18       19       +1
  Lines        5968     6179     +211
==========================================
+ Hits         4225     4440     +215
+ Misses       1743     1739       -4

Impacted Files
Coverage Δ

stix2elevator/cli.py
0.00% <ø> (ø)

stix2elevator/convert_cybox.py
62.66% <57.23%> (+0.06%)
:arrow_up:

stix2elevator/utils.py
88.37% <66.66%> (+0.58%)
:arrow_up:

stix2elevator/convert_pattern.py
78.04% <71.42%> (-0.51%)
:arrow_down:

stix2elevator/missing_policy.py
54.54% <73.00%> (-3.40%)
:arrow_down:

stix2elevator/convert_stix.py
81.88% <82.25%> (+5.22%)
:arrow_up:

stix2elevator/test/test_idioms.py
76.85% <85.71%> (+0.33%)
:arrow_up:

stix2elevator/options.py
78.16% <88.88%> (+0.58%)
:arrow_up:

stix2elevator/extension_definitions.py
100.00% <100.00%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


[FEATURE] 4C Blogs page

Description
Create a new page and add articles about/from the 4c community on that page. These should have a title, description, image and link to the article
Screenshots
No response

Can we get the figma file for this? would love to contribute.

I can help here @avneesh0612

Would love to contribute! @avneesh0612

Can i attempt the figma design

hey @TanmayBhosale @Onyelaudochukwuka sure

Are there any designs ready?
Tanmay Bhosale
On Mon, Sep 19, 2022, 7:10 AM Avneesh Agarwal @.***>
wrote:

hey @TanmayBhosale https://github.com/TanmayBhosale @Onyelaudochukwuka
https://github.com/Onyelaudochukwuka sure
—
Reply to this email directly, view it on GitHub
https://github.com/FrancescoXX/4c-site/issues/164#issuecomment-1250457942,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APY53RD324AU5ZLMGYEAM43V67ABRANCNFSM52WQLZSA
.
You are receiving this because you were mentioned.Message ID:
@.***>

hey @TanmayBhosale @Onyelaudochukwuka sure

Ok I'll start working on that

Assigned to @Onyelaudochukwuka , everyone can contribute

please keep it simple.

we have a blog section, please populate it with blog examples
https://www.4c.rocks/Blog
you can get inspiration here. keep it simple and don't focus on design for now
https://4c-site-git-fork-devvsakib-devvsakib-main-francescoxx.vercel.app/contributors

add me

please keep it simple.

I'll

You Can track progress at https://www.figma.com/file/H1V6dyeJkGioUKiZGyPiGE/Untitled?node-id=2%3A2
Leaving the header out.
Since that's already set in the layout.
P.S my gradient is a bit off

You Can track progress at https://www.figma.com/file/WfA1BTAWSFHFs1BGwc1iSz/4CBLOG?node-id=0%3A1
Leaving the header out. Since that's already set in the layout. P.S my gradient is a bit off

@FrancescoXX @avneesh0612 and everyone else i'll appreciate feedbacks¥

Ok, that looks good!

Any updates @Onyelaudochukwuka?

I'm yet to design the page on expanded details things has been quite hectic 😪

I'm yet to design the page on expanded details things has been quite hectic 😪

make it simple,

@Onyelaudochukwuka any update on this?

@FrancescoXX  I'm on it, unassign him. I will make a simple card for the blog, for now, later we can improve or change the design as well.. better if you give me some design hints.
I will make pr maybe in 2 days due to my exam😬

@devvsakib do you want to make a simple version for this?

@devvsakib do you want to make a simple version for this?

okkk, I'm on it

Great job @devvsakib!!

This has been implemented right?  We just need to add articles, right @FrancescoXX @devvsakib??

@tobySolutions  yessss, like projects.  We have blog.json file

So @devvsakib, this should be closed right?

@tobySolutions  hope so, we can create new issues to improve blog card further💯

@FrancescoXX??

Definitely! Let's close it for now, right?

let's see what Francesco says


using 0.13.1 plugin does not generate .java files

Its recommended not to use <forceRegenerate>true</forceRegenerate>  If I remove this no .java files are created at all when running
mvn clean compile

Please consider sharing important details like your pom.xml and mvn clean install -X log next time. The best would be to PR a reproducing test project under:
https://github.com/highsource/maven-jaxb2-plugin-support/issues/gh105

I got the same problem, and I found out that it was because I was trying to generate the files inside another directory in which I am already generating some more java file using another maven plugin.
The problem seems to be caused by the fact that the directory is already created before maven-jaxb2-plugin begin its work, and so the plugin seems to consider that as the directory is more recent than the one containing the resources, it don't need to do anything.
To fix that, I would suggest to check the directory made from concatenating generateDirectory and generatePackage in place of just checking the directory pointed out by generateDirectory.
<plugin>
    <groupId>com.mysema.maven</groupId>
    <artifactId>apt-maven-plugin</artifactId>
    <version>${apt-maven-plugin.version}</version>
    <executions>
        <execution>
            <id>querydsl-hibernate</id>
            <goals>
                <goal>process</goal>
            </goals>
            <configuration>
                <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
                <processor>com.querydsl.apt.hibernate.HibernateAnnotationProcessor</processor>
            </configuration>
        </execution>
        <execution>
            <id>querydsl-ldap</id>
            <goals>
                <goal>process</goal>
            </goals>
            <configuration>
                <outputDirectory>${project.build.directory}/generated-sources/java</outputDirectory>
                <processor>org.springframework.data.ldap.repository.support.LdapAnnotationProcessor
                </processor>
            </configuration>
        </execution>
    </executions>
</plugin>
<plugin>
    <groupId>org.jvnet.jaxb2.maven2</groupId>
    <artifactId>maven-jaxb2-plugin</artifactId>
    <version>${maven-jaxb2-plugin.version}</version>
    <executions>
        <execution>
            <goals>
                <goal>generate</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <schemaLanguage>WSDL</schemaLanguage>
        <generateDirectory>${project.build.directory}/generated-sources/java</generateDirectory>
        <generatePackage>org.mycompanyname.wsdl</generatePackage>
        <schemas>
            <schema>
                <fileset>
                    <directory>${basedir}/src/main/resources/wsdl</directory>
                    <includes>
                        <include>*.wsdl</include>
                    </includes>
                </fileset>
            </schema>
        </schemas>
        <forceRegenerate>true</forceRegenerate>
    </configuration>
</plugin>

I got the same problem, and I found out that it was because I was trying to generate the files inside another directory in which I am already generating some more java file using another maven plugin.

That's actually a no-go and pretty well documented:
https://github.com/highsource/maven-jaxb2-plugin/wiki/Use-Separate-Target-Directories-for-Separate-Executions
Do not use the same directory for two generations. Use separate target directories. That's works as designed.

To fix that, I would suggest to check the directory made from concatenating generateDirectory and generatePackage in place of just checking the directory pointed out by generateDirectory.

No, this won't solve this.
First, generatePackage is not obligatory and I actually generally advise against it.
Next, there are other ways to specify generation packages.
But to wrap it all up, there is no way to know which packages will be generated - except for generating them.
From the other side, what's exactly the problem with having separate generation directories? Put results of separate generations into separate directories, what's the problem?

I am generating my java files inside a java directory because of naming convention.
Also, I need to add these directory to the classpath so that the IDE work correctly.
That's why I was using the same output directory for all generated java file.
Is there really a need to not re-generate all files on build? As they are generated, it shouldn't be too difficult to re-create them each time (which is the most likely thing done). Is it for performance purpose?

Well, putting this plugin before my other plugin does solve this problem as this java directory doesn't exist yet in this case.


Adding/Consolidating Tutorial (Colab) for Metric Learning Losses

There are many metric learning losses implemented here in TFA (focal loss, contrastive loss, lifted loss, npairs loss, triplet loss) and many potential ones that may be implemented in the future (Quad loss, multi-similarity loss, etc). It would be great to have a tutorial on this :)
Relevant information

Are you willing to contribute it (yes/no): Yes
Are you willing to maintain it going forward? (yes/no): Yes (well it's just a tutorial)
Is there a relevant academic paper? (if so, where): N/A
Is there already an implementation in another framework? (if so, where): N/A
Was it part of tf.contrib? (if so, where): N/A

TensorFlow Addons is transitioning to a minimal maintenance and release mode. New features will not be added to this repository. For more information, please see our public messaging on this decision:
TensorFlow Addons Wind Down
Please consider sending feature requests / contributions to other repositories in the TF community with a similar charters to TFA:
Keras
Keras-CV
Keras-NLP


Fix a packet receive issue in CC2538 radio driver

If a device sends an ACK required packet, but receives a packet other than ACK,
it should trigger the ReceiveDone() method with the received packet.
It would be helpful to make some Certification tests more stable, and the issue is exposed in the following case:
After the Joiner Router relay the JOIN_FIN.rsp to Joiner, then Joiner Router wants to send JOIN_ENT.ntf to Joiner, and Joiner wants to send DTLS Alert to Joiner Router, so in this case the Joiner Router may receive the DTLS Alert message other than the ACK to JOIN_FIN.rsp, but the DTLS Alert message will not be triggered to upper layer in current implementation.

 Last update 2bc7921...3c88733


"Sets" seems not to be recognized with this last connector version (ClickHouse by Altinity Inc)

Hi,
I have tried your new connector with the hope it would correct limitations because Tableau does not understand the ClickHouse SQL dialect.
Before I had a several limitations and issues with JOIN ON syntax and LOD expressions as FIXED, INCLUDE etc.
for example :
Une erreur s'est produite lors de la communication avec la source de données Autres bases de données (ODBC) 'qoe_fixe'
Problème de connexion : Tableau n'a pas pu se connecter à la source de données.
Code d'erreur : B19090E0
HTTP status code: 501
Received error:
Code: 48, e.displayText() = DB::Exception: JOIN ON does not support OR. Unexpected '(zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode))': While processing (zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode)) (version <IP_ADDRESS> (official build))
but there were no errors displayed on calculated fields, even if they were based on "sets" etc..
Now, If I used your new connector, I encounter another problem:
It seems that "sets" are not recognized??
For exemple :
In this calculated field I use a set called « Dsl_Indispo_One_Day »
SUM(IIF(CONTAINS([Infra],'o1'),IIF([Dsl_Indispo_One_Day], 1, 0),0)) / SUM(IIF(CONTAINS([Infra],'o1'),1,0))

With the new connector, you can see that it has been replaced by [test] (Why ?) and it is writen that le calculation contains errors.

If I change in the [test] in _%NbIndispoDsl to use a condition instead of the « set », namely :

Instead of

The error disappears.
But, it doesn’t work with an other field.

If I do the same, it leads to an invalid calculation
and my dashboards are not displayed...
Thanks for your help.
Fred

@Fred5778
could you take a look into Tableau log files, find SQL statement that it generates and send to ClickHouse and post it here.?

Hi,
the problem is that there is not SQL generated, even if a refresh the data source!

In fact, as I tried to explain, when I use "ClickHouse by Altinity Inc", I have access to "sets", but all the calculated fields based on "sets" contains errors.

I'am going to use the older odbc connexion, to show you that the calculation based on "sets" are OK :
With this odbc connexion, the SQL is generated and have an error on the Dashboard

but the calculated fields based on "sets" doesn't show errors :

In attach file, you will see my SQL Statement  (Performance recording) with this last configuration

first_query.txt
second_query.txt
Regards and thanks for your help.

Hi Dima,
Could you have a look to the issue I raised?
Have you been able to reproduce it?
If I can help you with other tests, do not hesitate.
Regards,
Fred

@Fred5778
Tableau generates JOIN that uses "OR" as part of join condition and CH doesnt support that.
Need to figure our - why?
can you check if "cubedsl_derivecounters_daily_ndi.zipcode"  is defined in CH as NULLABLE  (field that could contain NULL values)?
show create table cubedsl_derivecounters_daily_ndi;

Hi,
I'am going to answer you, but I think that you don't focus on the right issue!
I followed this blog :
https://altinity.com/blog/introducing-the-altinity-tableau-connector-for-clickhouse
It describes the tow way of connexion.
"There are two ways to connect Tableau to ClickHouse. First is via the ClickHouse ODBC driver. This works but has significant limitations because Tableau does not understand the ClickHouse SQL dialect.
The second is via the Altinity ClickHouse Tableau Connector. The connector provides metadata that enables Tableau to translate native queries properly to ClickHouse SQL. With the connector, Tableau visualization features can be correctly implemented in ClickHouse."
The problem :
Code: 48, e.displayText() = DB::Exception: JOIN ON does not support OR. Unexpected '(zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode))': While processing (zipcode = t0.zipcode) OR (isNull(zipcode) AND isNull(t0.zipcode)) (version <IP_ADDRESS> (official build))
occurs with the first way of connexion : (see below the connexion in TABLEAU SW)

If I use the second way of connexion  :
(see below the connexion in TABLEAU SW)  :

No SQL Query is sent!. I have this problem I tried to explain you namely, all the calculated fields based on declared sets are in errors!  This this on this error, with the second way of connxion, I would like you work on!
Despite this, I give you wath you asked me to
CREATE TABLE qoe_fixe.cubedsl_derivecounters_daily_ndi
(
idur String,
cdate Date,
sum_deltaiaduptime_1day_old Nullable(Int64),
sum_reboot_1day_old Nullable(Int64),
sum_deltadsluptime_1day_old Nullable(Int64),
sum_deltadslsynctotal_1day_old Nullable(Int64),
sum_deltadslcountersunavailabletime_1day_old Nullable(Int64),
sum_deltadslcounterscrcdown_1day_old Nullable(Int64),
moy_dslbitratedown_1day_old Nullable(Float64),
moy_dslatteignabledown_1day_old Nullable(Float64),
moy_dslsnrdown_1day_old Nullable(Float64),
percent_indispo_dsl_1day_old Nullable(Float64),
nbpushtotal_1day_old Nullable(Int64),
net00_bas Nullable(String),
net01_routerco Nullable(String),
net02_rescollecte Nullable(String),
net03_boucleura Nullable(String),
net04_piedgrappe Nullable(String),
net05_ura Nullable(String),
net06_switchcaa Nullable(String),
net07_iam Nullable(String),
net08_dslam Nullable(String),
net09_rack Nullable(String),
net10_chassis Nullable(String),
net11_carte Nullable(String),
infra Nullable(String),
sum_deltaiaduptime_15days_old Nullable(Int64),
sum_reboot_15days_old Nullable(Int64),
sum_deltadsluptime_15days_old Nullable(Int64),
sum_deltadslsynctotal_15days_old Nullable(Int64),
sum_deltadslcountersunavailabletime_15days_old Nullable(Int64),
sum_deltadslcounterscrcdown_15days_old Nullable(Int64),
moy_dslbitratedown_15days_old Nullable(Float64),
moy_dslatteignabledown_15days_old Nullable(Float64),
moy_dslsnrdown_15days_old Nullable(Float64),
percent_indispo_dsl_15days_old Nullable(Float64),
sum_deltaiaduptime_5days_old Nullable(Int64),
sum_reboot_5days_old Nullable(Int64),
sum_deltadsluptime_5days_old Nullable(Int64),
sum_deltadslsynctotal_5days_old Nullable(Int64),
sum_deltadslcountersunavailabletime_5days_old Nullable(Int64),
sum_deltadslcounterscrcdown_5days_old Nullable(Int64),
moy_dslbitratedown_5days_old Nullable(Float64),
moy_dslatteignabledown_5days_old Nullable(Float64),
moy_dslsnrdown_5days_old Nullable(Float64),
percent_indispo_dsl_5days_old Nullable(Float64),
year Int16,
month Int16,
day Int16,
ndi Nullable(String),
ndi_9t Nullable(String),
code_insee Nullable(String),
nom_ville Nullable(String),
zipcode Nullable(String),
code_departement Nullable(String),
departement Nullable(String),
code_region Nullable(String),
region Nullable(String)
)
ENGINE = MergeTree
PARTITION BY toYYYYMMDD(cdate)
ORDER BY (cdate, idur)
SETTINGS index_granularity = 8192
Regards,
Fred

Hi @Fred5778
sorry, I didnt get initially where the problem is. I thought problem was  in wrong SQL.
It seems that problem is that Tableau doesnt send any query to CH in case if you use connector.
Tableau Connector only provides info to Tableau how properly generate SQL query to ClickHouse.
If Tableau doesnt send query to CH - not sure that I could help here.
I would offer you to go this way. You already posted table DDL. If you could send me

data sample for this table
Tableau workbook with just 1 calculation or set that cause this problem (  or step by step instruction how to create it)
Tableau version
Tableau Connector version
ClickHouse ODBC version

then I will try to reproduce it on my local env.
And if problem could be reproduced - I'll collect all info and send it to Tableau support.

Hi,
I succeed to make it worked.
I just replaced "sets" in calculated fileds with the full condition and it works as I told you in the first message. It shows that with Altinity lastest connector, you can't uses "sets" in calculated fields. That is a problem but there is a workarround.
For exemple :

replace

for the field Code Postal KO which works for example when connecting to Impala database:

I have created this field :

and I replaced CODE Postal KO by :

but It becomes a mesure that you can't convert to dimension so that I can't use it as i wanted in my dashboard.

Regards,


adds functionality to toggle REST and FHIR APIs and documentation.

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM


[AutoPR apimanagement/resource-manager] Custom properties were updated to reflect all the possible values

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6249

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/5754


feat: expose loader and require hook

Resolves #8
Exposes the underlying --require and --loader hooks from @esbuild-kit/cjs-loader and @esbuild-kit/esm-loader respectively.
Note: I think this is all good but I have not actually tested it yet.

Looks like the cjs --require hook isn't working since the package is type: "module". Need to figure out how to make pkgroll output .cjs files.

I've updated the exports to expose ./loader for the --loader and ./register for the --require hook. This seems to work well (previously it was causing an issue in mocha specifically which tried to use esm first).

Thanks for the PR @DylanPiercey
I would actually prefer the original syntax you had so it can be used like:
node -r tsx --loader tsx

Can you try something like this?
{
	...,
	"exports": {
		".": {
			"require": "./dist/loader/cjs.cjs",
			"import": "./dist/loader/esm.mjs"
		}
	},
	...
}

You can test the change after pushing it to GitHub with: build-this-branch.

Just pulled in the latest develop which makes a change to the export map.

@privatenumber I did test with trying to have a single . export. However the problem is I'm personally trying to use this as a require hook with mocha which currently has some strange rules around supporting esm, like not supporting it in watch mode. The silly thing is that when you pass a --require flag to mocha it will always try to import() it first, and fallback to require(). Because of this I couldn't actually install the require hook and so I thought exposing them independently might be better.
Maybe there is a another option here though. I wonder if we could only expose an esm version and have it do something like this:
import { createRequire } from "module";
createRequire(import.meta.url)("@esbuild-kit/cjs-loader");

// export all of the loader hooks also:
export const resolve /** ... */

I don't have time to test this just yet.

@privatenumber turns out I did have time.
I tested it and it seems to work great!
Essentially now when you import tsx from esm it will register both the loader and the require hook. If you import from cjs then it only adds the require hook.

One thing to consider but I'm not sure if it should be included in this, is that we may want to update the following to use the internal imports rather than directly using @esbuild-kit/*:
https://github.com/esbuild-kit/tsx/blob/develop/src/run.ts#L38

Will be a few hours before I can update the commit. I'll double check that everything still works w/o using createRequire or require. If that doesn't work I'll just use require as you've said.

@privatenumber I simplified as I described above and it still works. Also ran the lint/format. LMK if anything else is missing 😄

@privatenumber I was just able to test this again, and actually I realized that with the current pattern of having the esm version both export the loader api, and register the require hook, it will still work as mocha -r tsx since the -r flag will work fine with the esm api.
I've gone ahead and simplified the PR now to only have a single loader.js and a simple . export.

Awesome 👍 Glad we reached an elegant solution!
I removed the reference to mocha's --require, -r flag because they implement a custom one that supports ESM. This can be confused with Node.js's --require, -r flag, which only supports CommonJS.

This can be confused with Node.js's --require, -r flag, which only supports CommonJS.

Ah I assumed node did the same and allowed esm here. So that means if there is a case where you want to use this with cjs only then it wouldn't work. So maybe what was there was better?

For CJS only use-cases, cjs-loader should be used directly.
tsx should only be used when requiring both ESM and CJS support.

Don't really follow what you're trying to say... but will move forward with this tomorrow morning.
BTW, I took a closer look at what mocha's doing. I recommend passing tsx in via env variable so that it can intercept both require and import. With -r, the loader API is ignored.

@privatenumber since mocha has limited support for esm and so I was using it in cjs mode (eg watch mode does not work). For this case I actually do exclusively want the require hook.
However I think it works fine in cases where you just need the require hook to use the loader with what we've done here. Actually in mocha it works to use mocha --loader tsx even for cjs stuff, so I think that's the way to go.


chore: bdd-nh-1590761577 to 0.0.1

chore: Promote bdd-nh-1590761577 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Increase codecov

Increase the code coverage metrics.
Developer Certificate of Origin Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors. 660 York Street, Suite 102, San Francisco, CA 94110 USA

Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I have the right to submit it under the open source license indicated in the file; or

(b) The contribution is based upon previous work that, to the best of my knowledge, is covered under an appropriate open source license and I have the right under that license to submit that work with modifications, whether created in whole or in part by me, under the same open source license (unless I am permitted to submit under a different license), as indicated in the file; or

(c) The contribution was provided directly to me by some other person who certified (a), (b) or (c) and I have not modified it.

(d) I understand and agree that this project and the contribution are public and that a record of the contribution (including all personal information I submit with it, including my sign-off) is maintained indefinitely and may be redistributed consistent with this project or the open source license(s) involved.

Signed-off-by: Thomas Kelley<EMAIL_ADDRESS>

Codecov Report

Merging #21 into master will increase coverage by 9.26%.
The diff coverage is 79.06%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   77.38%   86.64%   +9.26%
==========================================
  Files           2        2
  Lines         336      337       +1
==========================================
+ Hits          260      292      +32
+ Misses         76       45      -31

Impacted Files
Coverage Δ

samlauthenticator/samlauthenticator.py
86.6% <79.06%> (+9.29%)
:arrow_up:

Continue to review full report at Codecov.

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


[Request] Add support for swc transpiler

Request
swc claims to transpile to javascript much quicker than babel. It would be great to be able to select it as a transpiler in configuration settings.
https://swc-project.github.io/

SWC is quite new and it does not have all of the transformations that babel has.
I would suggest to wait unless it is mature enough.
There are many other babel alternatives for example:
https://github.com/Rich-Harris/buble

Ok :)

Any plan to reconsider this since now SWC is much more established (even used with next.js)?

Not fully tested yet, but needed this for some massive projects I'm maintaining with Laravel mix.
https://github.com/open-southeners/laravel-mix-swc


Making spree print invoice i18n ready

Is spree print invoice already supposed to work with i18n? I'm on a translated admin page when i click "print invoice", but get english text on my pdf.

My bad, it did work after all.


proposal: net/http/cookiejar: add Jar.Clear

Proposal Details
Currently, since a jar's entries are not exposed to clear all cookies in a client's Jar in a thread-safe manner would require(from my understanding):

Wrapping all calls to the client in a read lock, then write locking as the client's Jar is replaced with a new empty jar.
Keeping track of all URLs accessed in a thread-safe manner, getting the cookies for each of them, and overwriting each of those cookies with expired ones,
Creating a Jar wrapping type storing a pointer to the jar that has an additional lock on each of the interface functions, and also a third Clear function that sets the pointer to the new jar.  This is probably the most reasonable option.

Neither of those options are especially convenient, so I propose cookiejar adds a Clear() method that I will open a PR for.   I am not proposing this is added to net/http's CookieJar as that would be a breaking change.

What's the use case of clearing everything? and is this the appropriate thing to do if you have in flight requests?
Shouldn't clearing only be done when you know requests are all done, at which point you can just set Client.Jar to a new cookie jar?

My use case for it is making concurrent requests with an authenticated client until X time, at which point refreshing the auth cookies/tracking for the client.

that seems quite niche, and easily solvable by wrapping the stdlib implementation

That's fair, my reason for proposal was just how trivial it is to implement within the cookie jar, while requiring additional mutexes and state tracking outside it.


Audio transcription in supervisor route

Audio Transcription Support for Supervisor Route
Overview
Add audio transcription capabilities to the supervisor route using Groq's Whisper V3 Turbo API. This centralizes audio processing in the AI API service, eliminating the need for individual transcription handling in client integrations (simulator, WhatsApp, Telegram).
Technical Changes

Added support for multiple audio formats:

Direct support: mp3, mp4, mpeg, mpga, m4a, wav, webm
Conversion support: ogg -> mp3

Implemented audio file handling with temporary storage
Integrated Groq's Whisper V3 Turbo for transcription
Added content type detection and validation
Centralized error handling for audio processing

Dependencies

Added python-multipart for form data handling
Added python-ffmpeg for audio conversion
Added groq for Whisper API access

Configuration
Requires GROQ_API_KEY environment variable
Benefits

Centralized audio processing
Consistent transcription quality
Reduced implementation complexity in clients
Unified error handling

@Luisotee when testing on the docs page, "send empty value" works when set for message, but for some reason when setting empty value for message an error is throw:

@luandro Let me explain the "Send empty value" checkbox:
When checked, it will send an empty argument to the API (like -F 'audio=' or -F 'message='). If you don't want to include either audio or message in the API call, simply leave the checkbox unchecked - this way the parameter won't be included in the request at all.
The error you encountered happened because you were sending both an empty string and no audio file simultaneously, leaving nothing for the API to process.
I've also fixed the dependency issue, so this PR is now ready to be merged.

@Luisotee, thanks for the explanation, but as you can see on the picture I'm not sending an empty message, it has a string: "hello". There is something that the API should process.

@luandro The error occurred due to the audio being sent as an empty file rather than being omitted or providing a valid file.
The correct usage is:

If you don't want to send an audio file, just omit it completely
If you include the audio parameter, the code expects a valid audio file - otherwise it will (and should) throw this error

About the "Send empty value" checkbox - it's just a default Swagger UI feature. We don't actually use it in our use case, and I haven't found a way to remove it from the interface.


One bug fixe and one depreciation fix

The wan fix is a dupe of #66.
What is deprecated about the sudo method? I suppose su would work just as well but it looks a little messy?

Yeah, I agree its less clean but it seemed like the best approach for compatibility. Maybe its less common than I thought, but I've run into the security practice of sudo not being permitted without a terminal (tty). Default is allow in 14.04. I thought I'd submit it upstream so I wouldn't have to maintain my own fork.  I see #66 is merged now. So maybe when i get some free time I can resubmit this without breaking the test?

Yes please :)
I agree that sudo is weird.

Closing this due to it is over a year old.  If this is still needed please re-open and fix the failing tests.


Fix failing build

@ApoorvSaxena I can't seem to reproduce a failure, running the scripts in package.json

I'll look

Is done there: https://github.com/ApoorvSaxena/lozad.js/pull/201

@ApoorvSaxena is it still open ?

@Ishaan28malik I'm trying to solve there: https://github.com/ApoorvSaxena/lozad.js/pull/201#issuecomment-543617745
If you would like to help us, fell open to doing it


[FEATURE] Better Reporting

Feature description
Improve the artifacts (intermediate and final) to make them easier interpretable
Problem it solves
Based on feedback, the currently produced final outputs such as the reports are not yet easy enough to interpret, analyze. This needs further disussion to identify what exactly is the difficulty here and what the exact requirements would be.
Suggested solution
No response
Additional context
No response

Additional context

For the per-region simulations, we do produce interactive reports for the weather and yield estimates. We could add an additional one for chirps weather data once that's ready (perhaps specify in a new ticket). Plotly code for the existing weather report is here.

Potential enhancements:

We need more batch reporting for the entire set of simulations. Right now, we only produce the simple aggregated_yield_estimates.csv (specified here)
One area I would focus on is to make new batch reporting objects (maps/CSVs) that facilitate evaluation against existing validation data. Yuval has downstream quantitative analysis to evaluate the quality of the simulations. Whatever we do here should at least facilitate his work.

An item we talked about was some sort of geotiff summary map. For example, we create a per-region yield map specified here, but we could create another one that combines all these per-region geotiffs into one holistic map.


How to add remove (x) icon to end of line

Thank you for your helpful library, I would like to ask how to add a remove icon to each line, the user clicks on that button and the line will be removed?

Hi @abinhho, thank you for the comment.
You can do that very easily by using remove method.
Call the method when the remove button is clicked.

@anseki Thank you for your answer. But my question is how to add x icon. Not how to remove a line. 🙇

Sorry, my English is poor.
Could you explain that? For example, HTML, CSS, etc...?

@anseki Are you Japanese? if so let's use Japanese.
Lineの削除ボタンを付けたいですが、どうやって作りますでしょうか？
例えば：
const line = LeaderLine(fromEl, toEl, {
    removeButton: '<span @onclick="line.remove()">X</span>'
})

以上、よろしくお願い致します！

Do you mean that you want to add the buttons dynamically?

If you want to add the buttons dynamically, you can do that by using DOM API.
For example: https://jsfiddle.net/0awz7gtd/
Click X buttons.

@anseki Nice! thank you so much!

:smile:
Could you close this issue?

Closed!


Simpler interface for using as library

It seem to make sense to expose an interface such as the following:
input := []byte("[{"foo":42}, {"foo":43"}]")
query, _ := gojq.Parse(". | map(.foo)")
var output []byte
output, _ = query.Run(input)
fmt.Printf("%v\n", output) // prints `[42, 43]`

This would allow user to operate on (valid) json bytes. I looked around the source and seems this is not quite straightforward as of today. Any recommendations?

This is not that simple. This feature leads to various options for output formatting (indentation number, html escape, etc) so I don't like it. Parsing and formatting phases are entrusted to the user.

Make sense. Thanks.

I do wish there were just an easy way to get JSON back out.


Error: values don't meet the specifications of the schema(s) in the following chart(s)

$ helm install klustair-app klustair/klustair -n klustair-scan
Error: values don't meet the specifications of the schema(s) in the following chart(s):
klustair:
EOF
Happens on last commit:
https://github.com/klustair/klustair-helm/commit/516d5bbe8ac3042e10972389fe63f665c139c4de

Solved, thanks!!
$ helm install klustair-app klustair/klustair -n klustair-scan
NAME: klustair-app
LAST DEPLOYED: Tue Nov 17 19:54:22 2020
NAMESPACE: klustair-scan
STATUS: deployed
REVISION: 1

Yes, it was changed to v0.2.5 .. but actually its set to "latest", since i think this will be the most common use case.


Updating README

Updating the README to be more direct about what Fugue is and what it does in 2 lines. The length of the previous README was also too long. A lot of this has been shortened.
The transform function is also the first introduction to Fugue.
The diff of this PR is bad. I suggest reading the README on my fork

Codecov Report

Merging #243 (7ad6368) into master (e918d4a) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           83        83
  Lines         8250      8250
=========================================
  Hits          8250      8250

Continue to review full report at Codecov.

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


perforce-proxy 2016.1.1404799

Merged in https://github.com/Homebrew/homebrew-binary/commit/ea2212f710daab424ba18576938e764ef7de57bb. Thanks!


add missing index.d.ts for npm publishing

Currently, index.d.ts is not being included in the npm package, breaking any imports of it into TypeScript. Adding this line to the package.json should resolve this.

Ah, already got to this on 06ddd99, but thanks.


Feature request: JMH Benchmarks for V3

For start it would be nice to see MapDB v3 performance meassured with JMH.
It would be nice to see how MapDB stands compared to alternatives like LevelDB, RocksDB, BerkeleyDB, LMDB, etc.

I am working on benchmarks. Will be out in a few weeks.
I already use JMH for microbenchmarking.


Empty Banner Message when attempting to Import AKS Cluster

Setup

Rancher version: v2.6.5 and v2.7-head (Commit ID: 65089ee)
Browser type & version: Brave: v1.46.140 | Chromium: v108.0.5359.99

Describe the bug
After inputting new cloud credentials while attempting to import an AKS cluster, a red banner is generated with no message.
To Reproduce

Spin up a Rancher v2.6.5 Rancher server
Navigate to the Cluster Management page, and select Import Existing
Select Azure AKS
Input new valid AKS cloud credentials, and then click create

Result
A red banner is generated that contains an icon but no message
Expected Result
The correct error/warning message is presented in the banner
Screenshots

Fixed by https://github.com/rancher/ui/pull/4942/files

During testing on v2.6.6 when following the Steps to Reproduce, I was able to reproduce this issue. However, when testing on v2.7-head (Commit ID: 623addd), this issue was resolved. Therefore I am closing this ticket as completed.
Steps to Reproduce:

Spin up a Rancher v2.6.5 Rancher server
Navigate to the Cluster Management page, and select Import Existing
Select Azure AKS
Input new valid AKS cloud credentials, and then click create

v2.6.6:

v2.7-head (Commit ID: 623addd):


Update module metadata

Regenerating the docs this morning, I found several modules had been updated since the last docs update. I'll have a number of PRs branch off these changes soon. cc @mrmrs

Thanks!


delete-profile doesn't work

I just get an error message that the command doesn't work, and a suggestion to use delete-event, instead.

I tried using delete-event with my script, but it changes the noteID with every iteration through the list of relays.
Here is the input and output to the command line, from the loop, for the event with note1923tjys6pk2xc2j0rahnmn82ynghv4a5z0p0s2a7zw5l9cfhxm6qfsl8jq:
nostr-tool -r wss://relay.damus.io -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1w28zkq2txjdxd446aav5h44rcrwenrttju5sek5x5gjuwwumqhgq52e6gs
nostr-tool -r wss://relay.nostr.band -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1w28zkq2txjdxd446aav5h44rcrwenrttju5sek5x5gjuwwumqhgq52e6gs
nostr-tool -r wss://relay.primal.net -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1hj6xe7v7a6msu37cwjzzln87gjkx0q9sqdvqj5rts0y68zzd3vqqzn2x7d
nostr-tool -r wss://nos.lol -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1hj6xe7v7a6msu37cwjzzln87gjkx0q9sqdvqj5rts0y68zzd3vqqzn2x7d
nostr-tool -r wss://nostr.wine -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1hj6xe7v7a6msu37cwjzzln87gjkx0q9sqdvqj5rts0y68zzd3vqqzn2x7d
nostr-tool -r wss://nostr.mom -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1hj6xe7v7a6msu37cwjzzln87gjkx0q9sqdvqj5rts0y68zzd3vqqzn2x7d
nostr-tool -r wss://relay.nostr.bg -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1p9p6nrh5mf2ttyjchehrt3q7qf34g7rhxvr0yny07gjpvyhjzylqnvchw9
nostr-tool -r wss://relay.wellorder.net -p [mynsec] delete-event -e 2aa2b9121a0d946c2a4f1f6f3dccea24d17657b413c2f82bbe13a9f2e13736f4
Private key: [mynsec]
Public key: npub1qfkcklnmes45z75y7y8dkud5yll8vp5eq5ysk9rmgqdxeasv8unsrfj6kq
Deleted event with id: note1p9p6nrh5mf2ttyjchehrt3q7qf34g7rhxvr0yny07gjpvyhjzylqnvchw9

hmm that's weird, I'll take a look at it

The delete profile command seems to work fine for me. I published a kind 1 note, then used that nsec to update metadata, then ran delete-profile with the same nsec. The note is now gone and name is updated to be "Deleted".
Test user: npub1plyfjp47y3mk2wx5seeqag79x9c8a7hx25qxqnutmde8walj3pks0tsc0g

The command is missing from the CLI. I tried nsec and hex private keys, same response.

Might be different because I'm trying to delete the events, but not the profile metadata. The specific command I'm using is
nostr-tool -r wss://nos.lol -p [hex private key] delete-profile --events-only --kinds 1

Tried it without the bit after the command, but it also didn't work. It's not finding the option in the menu.

See? It's missing.

Do you know why delete-event is changing noteIDs?

Ah, I see now that it's not a part of the 0.5.0 release. I'll release a new version (0.5.1) to publish the latest changes so you can use the delete-profile command.

Do you know why delete-event is changing noteIDs?

No, haven't checked that yet but I'll try to take a look at it later today. Seems like a weird bug.

I've published 0.5.1 to crates.io now so if you update your nostr-tool install, you should have delete-profile available.
https://crates.io/crates/nostr-tool/0.5.1

Thanks! :smile:


Access denied when extracting datasets

curl https://storage.googleapis.com/glow-demo/celeb-tfr.tar
Got the following permissions error:
<Error>
AccessDenied
<Message>Access denied.</Message>

Anonymous caller does not have storage.objects.get access to glow-demo/celeb-tfr.tar.

</Error>

Fixed links, try now?

celeba is working, but lsun is broken, as @edrickwong mentioned above

Lsun is still uploading, should be up by tomorrow!

Also, I think you mean:
wget https://storage.googleapis.com/glow-demo/celeb-tfr.tar
since curl just writes the tar to stdout (on OSX at least).

I am facing the same error for CelebA too.
***?xml` version='1.0' encoding='UTF-8'?>AccessDeniedAccess denied..... ***

Still the same error for CelebA as well
 <?xml version='1.0' encoding='UTF-8'?><Error>AccessDenied<Message>Access denied.

LSUN should be working now too. Note that the link by @PenguinGabe is based on the old README. README has been fixed now, use the links from the new README, listed here
https://storage.googleapis.com/glow-demo/data/celeba-tfr.tar
https://storage.googleapis.com/glow-demo/data/imagenet-oord-tfr.tar
https://storage.googleapis.com/glow-demo/data/imagenet-tfr.tar
https://storage.googleapis.com/glow-demo/data/lsun-tfr.tar
https://storage.googleapis.com/glow-demo/data/lsun_realnvp-tfr.tar
@thealgebraist Yep, I should've put > celeba-tfr.tar after the curl, replaced with wget now


Implementation questions - large sharded bot

I couldnt find your contact information for discord anywhere on here, so sorry if this is the wrong place to request it-I run a recently rebranded (still large) discord bot and am thinking about possibly using this within our project as help is something ive never really put a whole lot of time into, and ours is just static....
However, our bot has the max commands registered globally and many sub-command groups... the project is quite a large project. Would you mind contacting me on discord to discuss this a bit more?
skylarr#6666
if you have time of course-if not ill figure it out <3

I don't give my personal contact information for numerous reasons. However, you could ask for a simple Q&A on the Discussion tab relating to the library. Though personally, I wouldn't use this library for a large production bot, as of now, it's still in drafting stages depending on how I feel about an implementation. I may change it if I found a better UI/UX for the library.


[Feature request] Confirmation before closing a window

This is implemented in ungoogled chromium with the --close-confirmation flag

Yes, I will add it.

@xixhub
It's been implemented as of this current release (https://github.com/win32ss/supermium/releases/tag/v126-r4).


[Set Audio Device] does not fetch device list when "include Airplay devices" is enabled

Extension
https://raycast.com/benvp/audio-device
Description
Error:
Error: Command failed with exit code 1: osascript -e
    set devices to {}

    tell application "System Preferences"
      reveal pane id "com.apple.preference.sound"
    end tell
    tell application "System Events"
      tell application process "System Preferences"
        repeat until exists tab group 1 of window "Sound"
        end repeat
        tell tab group 1 of window "Sound"
          click radio button "Output"
          tell table 1 of scroll area 1
            set selected_row to (first UI element whose selected is true)
            set currentOutput to value of text field 1 of selected_row as text

            repeat with r in rows
              try
                set deviceName to value of text field 1 of r as text
                set deviceType to value of text field 2 of r as text
                set end of devices to { deviceName, deviceType }
              end try
            end repeat
          end tell
        end tell
      end tell
    end tell

    if application "System Preferences" is running then
      tell application "System Preferences" to quit
    end if

    return [ devices, "currentOutput", currentOutput ]

64:116: execution error: System Settings got an error: Can’t get pane id "com.apple.preference.sound". (-1728)
    at _t (/Users/pottersfield/.config/raycast/extensions/2158713f-4712-4862-ba9a-3bce3cd07e3a/set-output-device.js:5:57)
    at /Users/pottersfield/.config/raycast/extensions/2158713f-4712-4862-ba9a-3bce3cd07e3a/set-output-device.js:5:6400
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async ca (/Users/pottersfield/.config/raycast/extensions/2158713f-4712-4862-ba9a-3bce3cd07e3a/set-output-device.js:41:6806)
    at async b0 (/Users/pottersfield/.config/raycast/extensions/2158713f-4712-4862-ba9a-3bce3cd07e3a/set-output-device.js:41:6981)

Steps To Reproduce
Enable "Include AirPlay devices" in settings and you get the error message.
Disable "Include AirPlay devices" in settings and it works, but only shows generic "AirPlay" when current connected device is an AirPlay device, but no name.
https://github.com/alanhg/switchaudio-osx commit on switchaudio-osx seems to fix the AirPlay issues.
Current Behaviour
No response
Expected Behaviour
No response

Still an issue.

Same here still not fixed

I personally switched to Keyboard Maestro macro which I can configure to switch to specific AirPlay devices. This works for weeks/months now flawlessly.
https://forum.keyboardmaestro.com/t/macro-set-sound-output-v7-1/23959


Fix syntax for relref shortcode in template appcatalog document

Just a littel syntax fix

Merging with a ping @sig-docs

Thanks!


Fixing up gallery so that notebooks can still be run

This PR:

changes generate-rst to stop special-casing gallery
stops saving unevaluated notebooks permanently in doc dir

See first use in https://github.com/pyviz/geoviews/pull/292

superseded by #106


Add template to generate openapi for kinds

Changed

Template code to add openapi for kinds and add refs in master openapi
New Subscription kind
Update readme to add manual changes while making a new kind
Minor changes to test template

This looks very good. Some suggestions:
1. extract the generator stuff and README to a separate PR (or extract the generated Subscription stuff from this one)

2. put generated "Subscription" stuff in another PR.

3. provide link in README where you explain usage of the generator to the sample PR with everything generated.

we merge the generator parts, but leave open the example PR with notes that explain what/why. Future improvements to the generator (to remove those remaining manual bits) can be generated anew for the open example PR.

Separated out generator stuff in MR https://github.com/openshift-online/rh-trex/pull/27


Add license header to top of all code files

See https://opensource.google/docs/releasing/licenses/
We can either use;
Copyright (C) 2020  The SymbiFlow Authors.

Use of this source code is governed by a ISC-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/ISC

Or put the full license at the top;
Copyright (C) 2020  The SymbiFlow Authors.

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

Full process -> https://github.com/SymbiFlow/ideas/issues/47


829 | Consecutive Numbers Sum | Java

Title - Consecutive Numbers Sum
What will change - I will add a Java implemented algorithm for the above problem.
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Java

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Hi, I would like to work on this issue.


Data missing after latest firmware update

So I just tried the latest hero 6 firmware that was released a week or so ago and it looks like it no longer contains any ticks for any of the data streams?  Is this true???  Maybe they are stored in a different place?  This is a pretty big bummer.  While not perfect, this info was actually really helpfull in aligning to the video.  Why would they take this out?  Is there anything we can do to lobby for it's inclusion?  I really hope so.  This is a showstopper for all the little projects I'm working on.

It is true they have been removed. If they come back, it will be in a more restricted form for which they were designed. They had limited effectiveness for stream sync'ing, as you have reported.  For sub-frame accurate sync, a new data field is required (just like on Fusion.)  The reason TICKs could not be trusted, they were pseudo timestamps, generated as the data arrived for metadata storage, not to when the data was read (a truer timestamp.)  The camera's metadata API didn't have a timestamp mechanism until that was needed in Fusion for image stabilization, the TICKs where not accurate enough.  I don't think you want TICKs back, but rather a more accurate way to determine the data phasing between video frames and IMU data.

Thanks very much for the info.
As you say the ticks may not be ideal but they are certianly much better than nothing.  Is this new "fusion style" time info in this new firmware somewhere?  It doesn't look like I can roll back to the previous firmware either.  Do you know of a way I can roll back?  I'm kinda devastated here as I'm essentially locked out of working on my projects now.  If it's not in there now do you have any idea when this more accurate way to determine the data phasing between video frames and IMU data will make an appearance in the gpmf data?  Thanks again.  Holding my breath for some good news.

You can downgrade a camera for the older firmware, although GoPro doesn't provide those downloads.  Search on ""GoPro HERO6 Black Camera Firmware"" and you will find third party links. v1.60 was the preview version.

Thank you!  That's helpfull


Updates to match current status of Qt Repo, since Qt 6.7.0

Fix display of Qt 6.8.0 (fix #44)
Add arm64 targets for Win & Linux
Fetch android versions from all_os directory above Qt 6.7.0
Add sdktool to output (fix #26)
Fix display of module names ending in .debug_information, new since Qt 6.7.0

The functional tests are failing here because of a bug in aqtinstall that prevents listing of all versions.


Add the missing max_delta_step

The max_delta_step parameter fell through the cracks during the recent change to SplitEvaluator for the grow_colmaker and grow_fast_histmaker updaters. It can be very useful for noisy datasets. I didn't see any noticeable timing performance change for the default max_delta_step=0 case.
Also I've removed the unused reg_gamma parameter from ElasticNet, since it's only to be used during pruning.

@henrygouk Can you take a look?

Looks good to me.
In future, constraints like this should probably be put into new SplitEvaluator subclasses to prevent a labyrinth of if statements from clogging up ElasticNet. That said, I think this particular constraint should be present in ElasticNet, since it is fixing backwards compatibility.


Revert "add get_weights port"

Reverts s3alfisc/wildboottest#13
I didn't actually update the permutation function. Now that you confirmed what it's supposed to do, Ill make another commit and merge

I think I have fixed everything before merging - essentially, I replaced itertools.permutations() with itertools::product(), which does (to my understanding) exactly what we need =) Is there something else that needed to change?


tensorflow-master install from sources doesn't install with pip3

System information

OS Platform and Distribution: Ubuntu 17.04
TensorFlow installed from: source
TensorFlow version:  tensorflow-master
Python version:  3.5.3
Bazel version (if compiling from source): 0.7.0
GCC/Compiler version (if compiling from source): 4.9.4
CUDA/cuDNN version: 8.0
GPU model and memory: NVIDIA 1080

Describe the problem
The bazel commands only appear to build Python 2.7 packages, not Python 3.5 packages.
To reproduce
Following [Installing TensorFlow from Sources: Ubuntu][https://www.tensorflow.org/install/install_sources], I get  this bazel configuration from running configure.
I build and install with
bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
sudo bazel-bin/tensorflow/tools/pip_package/build_pip_package /tmp/tensorflow_pkg/

but the wheel generated is for Python 2.7:
ls /tmp/tensorflow_pkg
tensorflow-1.4.0rc1-cp27-cp27mu-linux_x86_64.whl

and so I can't install it with pip3:
$ sudo -H  pip3 install  /tmp/tensorflow_pkg/tensorflow-1.4.0rc1-cp27-cp27mu-linux_x86_64.whl
[sudo] password for kevin:
tensorflow-1.4.0rc1-cp27-cp27mu-linux_x86_64.whl is not a supported wheel on this platform.

$ sudo -H  pip install  /tmp/tensorflow_pkg/tensorflow-1.4.0rc1-cp27-cp27mu-linux_x86_64.whl
Requirement already satisfied: tensorflow==1.4.0rc1 from file:///tmp/tensorflow_pkg/tensorflow-1.4.0rc1-cp27-cp27mu-linux_x86_64.whl in /usr/local/lib/python2.7/dist-packages

Importing tensorflow with Python3 fails.

The bazel configuration from ./configure seems to refer to Python 2:
build --force_python=py2
build --host_force_python=py2
build --python_path="/usr/bin/python"
test --force_python=py2
test --host_force_python=py2

You may have wanted to set ./configure to /usr/bin/python3 instead of /usr/bin/python. On Ubuntu, I think /usr/bin/python refers to Python 2.7.
Since this looks like a configuration issue and not a bug, I'm closing this issue to keep the tracker focused. If you can nail this down to an error in our build pipeline, feel free to reopen or file another issue. Otherwise, please ask for help on Stack Overflow, which is much better suited to community support. Thanks!

@angersson if you're making Python version decisions based on paths that's not a good thing.
$ python --version
Python 3.5.3

$ which python
/usr/bin/python

@angersson I can't reopen the issue because you closed it, not I and I'm not a collaborator.  Given the info in the comment above, please reopen.  Thanks.

./configure runs the python path provided and asks for the version from the binary.
To test that this is a bug, can you reply with the output of:

./configure with /usr/bin/python3 instead of the default
/usr/bin/python3 -c 'import sys; print(sys.version[0])'
/usr/bin/python -c 'import sys; print(sys.version[0])'
python -c 'import sys; print(sys.version[0])'

$ ./configure
You have bazel 0.7.0 installed.
Please specify the location of python. [Default is /usr/bin/python]: /usr/bin/python3

Found possible Python library paths:
  /usr/local/lib/python3.5/dist-packages
  /usr/lib/python3/dist-packages
Please input the desired Python library path to use.  Default is [/usr/local/lib/python3.5/dist-packages]

Do you wish to build TensorFlow with jemalloc as malloc support? [Y/n]:
jemalloc as malloc support will be enabled for TensorFlow.

...

Configuration finished
$ /usr/bin/python3 -c 'import sys; print(sys.version[0])'
3
$ /usr/bin/python -c 'import sys; print(sys.version[0])'
2
$ python -c 'import sys; print(sys.version[0])'

It looks like ./configure's default setting of /usr/bin/python indeed points to a python 2 binary, and explicitly specifying /usr/bin/python3 is what's needed here. That should resolve your problem.
If you have any more environment configuration issues, please ask for help on Stack Overflow, which is much better suited to community support. Thanks!

@angersson the fix breaks the build:
 bazel build --config=opt --config=cuda //tensorflow/tools/pip_package:build_pip_package
...
ERROR: /home/kevin/Deadpool/tensorflow-master/tensorflow/python/BUILD:2990:1: undeclared inclusion(s) in rule '//tensorflow/python:_pywrap_tensorflow_internal.so':
this rule is missing dependency declarations for the following files included by 'tensorflow/python/pywrap_tensorflow_internal.cc':
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/arrayobject.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/ndarrayobject.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/ndarraytypes.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/npy_common.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/numpyconfig.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/_numpyconfig.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/npy_endian.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/npy_cpu.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/utils.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/_neighborhood_iterator_imp.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/__multiarray_api.h'
  'bazel-out/local_linux-py3-opt/genfiles/external/local_config_python/python_include/numpy/npy_interrupt.h'
bazel-out/local_linux-py3-opt/bin/tensorflow/python/pywrap_tensorflow_internal.cc: In function 'PyObject* _wrap_PyRecordReader_New(PyObject*, PyObject*)':
bazel-out/local_linux-py3-opt/bin/tensorflow/python/pywrap_tensorflow_internal.cc:6210:138: warning: 'arg2' may be used uninitialized in this function [-Wmaybe-uninitialized]
     result = (tensorflow::io::PyRecordReader *)tensorflow::io::PyRecordReader::New((string const &)*arg1,arg2,(string const &)*arg3,arg4);
                                                                                ^
At global scope:
cc1plus: warning: unrecognized command line option "-Wno-self-assign"
Target //tensorflow/tools/pip_package:build_pip_package failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 1161.436s, Critical Path: 162.47s
FAILED: Build did NOT complete successfully

Looks like problem had to do with tensorflow-master as it stood when I downloaded.  tensorflow-r1.4 works fine.


fix(pip)/added working dir to python setup.py exec

Some setup.py files might load data from the file's working dir, such as the README.md file. Currently, when parsing a setup.py file and executing it, the Python command is executed without specifying the working dir.

@JamieMagee

@microsoft-github-policy-service agree company="Legit Security"

@melotic anything else?

@edena-legit looks like the test run is failing with NullReferenceException: Object reference not set to an instance of an object. if you could please take a look

Hi,

@edena-legit looks like the test run is failing with NullReferenceException: Object reference not set to an instance of an object. if you could please take a look

Hi, thats weird as it seems it only occurs in windows build, it seems like runs after were ok..?


Lumen AI Replace transforms with SQL

Completely replaces Lumen transforms with SQL instead for less error prone, and faster output.
Also, reuses reasoning from GPT-4 downstream in messages
Chain of thought really is amazing.

Sorry if this wasn't clear before but I'm -1 on removing the PipelineAgent entirely. We will definitely need it for some of the custom transforms the end user might need in future.


Missing parentViewController

After opening and closing side menus with pan gesture parentViewController of rootViewController is nil.

I checked it right now and everything is fine.
In demo project you can add something like this to try it by yourself:
// ViewController.m

- (void)viewDidLoad {
    [super viewDidLoad];

    [NSTimer scheduledTimerWithTimeInterval:5.0 repeats:YES block:^(NSTimer * _Nonnull timer) {
        NSLog(@"%@", self.navigationController.parentViewController);
    }];
}

rootViewController remove from it's parentViewController only while any of side views is in opening process. After side view would open, rootViewController became again childViewController of sideMenuController. You can either use property sideMenuController, like rootViewController.sideMenuController, to get sideMenuController any time, when side view is hidden or showing or it is in transition process.
If issue is still reproduced, give me more info:

Do you use carthage or cocoapods
iPhone or iPad
iOS version

And write steps to I can reproduce this issue in demo project using simulator.