Using count on a bookshelf relation

I have been trying to do a count like the answer in this SO question: http://stackoverflow.com/questions/32178130/bookshelf-js-relation-getting-count
Doing something like:
* countFollowing(userId) {
   return new User({id: userId}).follows().count();
 },

doesn't return the expected number, but the total number of users in the database.
On the other hand, and to prove that the follows() relation works, I can do something like this:
 * countFollowing(userId) {
    const followsJSON = yield this.getFollows(userId);
    return Object.keys(followsJSON).length;
 },

* getFollows(userId) {
    return new User({id: userId})
      .fetch({withRelated: 'follows'})
      .then(user => {
        return user.related('follows').toJSON();
      });
 },

which returns the expected number.
The definition of the relation is
follows() {
    return this.belongsToMany('User', 'Follows', 'follower_id', 'followed_id');
 },

Doing something like
* countFollowing(userId) {
    /* return new User({id: userId}).follows().count(); */
    /* const followsJSON = yield this.getFollows(userId);
     return Object.keys(followsJSON).length; */

    return yield new User({id: userId})
    .fetch()
    .then(user => {
      return user.follows().count();
    });
 },

also returns the total amount of users...
is it possible that this doesn't work for counts because it is a belongsToMany instead of a hasMany, or am I doing something obviously wrong? Thanks!

It's possible that there is a bug here. Can you call count as count('*', { debug: true }) and share the generated SQL?

I have met this same problem, hoping it could be resolved.

I'm also having this issue. Fetching the records works correctly:
> tag.belongsToMany(Item, 'taggings').fetch({debug: true})
{ method: 'select',
  options: {},
  bindings: [ 1 ],
  sql: 'select "items".*, "taggings"."tag_id" as "_pivot_tag_id", "taggings"."item_id" as "_pivot_item_id" from "items" inner join "taggings" on "taggings"."item_id" = "items"."id" where "taggings"."tag_id" = ?' }

But fetching the count doesn't:
> tag.belongsToMany(Item, 'taggings').count({debug: true})
{ method: 'select',
  options: {},
  bindings: [],
  sql: 'select count(*) as "count" from "items"'

I'm using bookshelf 0.9.2 and knex 0.10.0.

The project leadership of Bookshelf recently changed. In an effort to advance the project we close all issues older than one year.
If you think this issue needs to be re-evaluated please post a comment on why this is still important and we will re-open it.
We also started an open discussion about the future of Bookshelf.js here https://github.com/bookshelf/bookshelf/issues/1600. Feel free to drop by and give us your opinion.
Let's make Bookshelf great again

I think it's relevant because it's a bug that several people have stumbled upon.

@mezod You are right :)
Re-opened. Please use thumbs up (:+1:) emoji on the original question so have an easier time prioritising and planning the next steps.

done!


feat(settings): :sparkles: added setting keys for fixation and saccade

users are now able to set a fixation and saccade value via the plugin settings

Awesome! Looks great.
I think you can delete lines 4 and 5 as those variables are now unused.

kept them in in case you planned something for them in the future. But now that I know you don't need it I will remove them! will submit a new pull requests with some refactoring in a second.

Actually, I believe that it makes sense to use the data type of Number for the settings rather than string. I'll merge this and give it a try on my end


Mention that event forwarding is disabled by default

Creating a Github app with probot for the first time, I struggled a lot trying to understand why the default app scaffolded with npx was not receiving events.
After some time, I noticed that Github apps have an "Active" option that is disabled by default:

Once the option has been enabled, the default app sample is working appropriately.
It would be helpful to discuss or mention the option in the Getting Started part of the documentation.

I think this is a feature that was recently added by GitHub. Ideally we would set the checkbox to enabled by default. Someone would need to look into it though. I assume you used the setup wizzard that you see when you start your probot app for the first time?

Yes.

I think the checkbox is now enabled by default


[workloadmeta/collectors/containerd] Extract container IPs

What does this PR do?
This PR modifies the containerd workloadmeta collector so it also collects the container IPs. This fixes a bug in autodiscovery, the %%host%% tag was not working properly for containerd containers.
The containerd client does not expose container IPs, that's why this PR also introduces a new helper in the "system" package that extracts the IPs from the /proc/<pid>/net/fib_trie file.
This only works on Linux.
Describe how to test/QA your changes
Run the agent on containerd (Linux and no Kubernetes) with /proc mounted (-v /proc/:/host/proc/:ro).
Run another container with the AD labels using %%host%%. For example:
nerdctl run --rm -it --name=redis --label "com.datadoghq.ad.check_names=[\"redisdb\"]" --label "com.datadoghq.ad.init_configs=[{}]" --label "com.datadoghq.ad.instances=[{\"host\":\"%%host%%\",\"port\":\"6379\"}]" redis redis-server --loglevel debug
Check that the container IPs appear on agent workload-list -v and that the autodiscovered check works properly.
Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the config template has been updated.

Rebased on top of main to make CI pass.


Pagination

This theme doesn't seem to have pagination? I really like how the theme minimal-mistakes handles pagination. I wonder if it would be possible to implement that in Swiss?

Came up with a solution of sorts, feel free to look at my fork.


Add support for verifying checksums

Set redis_verify_checksum to true to enable checksum verification.
SHA1 checksums are provided for verification on Ansible 2.x, SHA256
checksums must be provided with the redis_checksum variable on
Ansible 1.x. See the README for more information.

Closes #98


Devices in scope of this role

Does the Azure AD joined device local administrator role only grant administrator rights to Windows 10/11 devices or will the role grant rights to any pure azure joined device?

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

ID: 823c9751-c496-f972-3b1b-640a1bd81412
Version Independent ID: 6951f3d5-c766-133c-4785-9cd4192bae19
Content: How to manage local administrators on Azure AD joined devices - Microsoft Entra
Content Source: articles/active-directory/devices/assign-local-admin.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

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


feat: banxa & moonpay functions added

both lambda built;
structure designed;
functions are deployed;
moonpay enabled;

Latest commit includes:
Closes ZKF-1532

Please, also add a couple of integration tests for lambdas to cover basic paths. Or remove everything related to tests and create a separate task for that.

Moved to a separate task

also, please put sentry as a separate PR

Done: #220

@andriidrebot regarding the comments left:

why did you delete this headers?

Cause this targets are redirected (see: https://rinkeby.zksync.io/).

Mentioned things done, update deployed

Added:

environment/*.env filled up with the default base_url
nuxt.config.ts works with the https://us-central1-zksync-vue.cloudfunctions.net/* urls by default
in case of the env failure nuxt.config has a fallback to localhost:5001 (firebase emulator)

@andriidrebot

🚀

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


[patch] Change registerConnection to registerDatastore

PRs to sails-postgresql and sails-waterline to follow

👍 @sailsbot

Looks like this change broke sails-mysql. Can you please have a look this issue https://github.com/balderdashy/sails/issues/3955 ?


fix: fix parsing of selector with # in class names

Addresses the selector parsing issue in #1113.

div.bold.bg-[#f0f0f0].shadow

@paldepind , sorry, is # acceptable here because of the opening #?

div.bold.bg-[#f0f0f0].shadow

@paldepind , sorry, is # acceptable here because of the opening [?

@kuraga No, the # symbol is valid in class names in general. The [ is not necessary.

@paldepind , why f0f0f0 isn't an id? :) Tag: div, classes: .bold, .bg-[, .shadow, id: #f0f0f0].


v0.3.1

WIP

Codecov Report
Attention: 41 lines in your changes are missing coverage. Please review.

Comparison is base (5197dbf) 75.00% compared to head (e9219ca) 65.10%.

Files
Patch %
Lines

src/RobotRR.jl
0.00%
41 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   75.00%   65.10%   -9.90%
==========================================
  Files           5        6       +1
  Lines         280      321      +41
==========================================
- Hits          210      209       -1
- Misses         70      112      +42

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


Extension issue

Issue Type: Bug
Extension Name: emmet
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.19041
VS Code version: 1.55.2

:warning: We have written the needed data into your clipboard. Please paste! :warning:

@mpr119 what issue are you having with the extension? Can you paste some steps to help me reproduce the issue?


Auto-sync with navigator does not work with Oracle

Once a database A is selected in the navigator, all open tabs of SQL editors should be automatically connected to that database A.  This is how it works with Postgresql.  But with Oracle, if multiple SQL editors tabs are opened, when database A is selected in the navigator, only the currently selected SQL editor tab is connected to the database A.  All other SQL editor tabs stay with their previous database.  After switching to another SQL editor tab, one would need to click on the database A in navigator again to change the database for the newly selected SQL editor tab.
I have a number of sql scripts, opened in separate SQL editor tabs, that I use to perform various tasks when I work with a particular database.  I just need to select the SQL editor tab and execute it to perform a task.  When I switch database A to database B in the navigator, I would like all opened SQL editor tabs to switch to database B.  Otherwise, I may perform a task on a wrong database.  Any help will be appreciated greatly.
I have been seeing this in v7.  I am now using 7.3.5 community edition with Oracle Express on Windows 10 Pro.

Most probably Open separate connection for each editor is enabled in Oracle together with Auto-sync connection with navigator. Try to disable it.

Kseniia,
Thank you for your prompt response.  I did have the “Open separate connection for each editor” unchecked”.  Could it be overridden by some other settings related to Oracle?  I never had this issue with Postgresql until I added Oracle.
BTW, I am using the Community edition.
Thanks,
John
From: Kseniia<EMAIL_ADDRESS>Sent: Thursday, February 18, 2021 6:05 AM
To: dbeaver/dbeaver<EMAIL_ADDRESS>Cc: jyinpci<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dbeaver/dbeaver] Auto-sync with navigator does not work with Oracle (#11340)
Most probably Open separate connection for each editor is enabled in Oracle together with Auto-sync connection with navigator. Try to disable it.
https://user-images.githubusercontent.com/51405061/108347874-20212700-71f2-11eb-835c-cff44f8e44db.png
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dbeaver/dbeaver/issues/11340#issuecomment-781264479 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PYZMC4Y2G6EEX77GTKYTS7TX4TANCNFSM4XTYJ6QA .  https://github.com/notifications/beacon/AC6PYZNKHSL6PWUNQUAQO73S7TX4TA5CNFSM4XTYJ6QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF2ISMXY.gif

Is it possible to send a video with the issue?

Hi Kseniia,
Thank you for your follow-up.  I really should have recorded a video and have tried, but my database names all contain names of my customer companies, they might not be pleased to have such videos uploaded to a public site.
I did experiment with different configurations and have more to report.  I think having multiple connections (to different databases) in the navigator seems to cause the failure of sync connection between navigator and SQL editor.  In the configuration below, the navigator has two connections to two databases (one postgres, one oracle – but having two Oracle connections also breaks the sync).  I did not expand the connection to show schemas because of the name sensitivity.
I found out that if there is only one database connection in the navigator, e.g., if only one of the postgres connection or the Oracle connection, the SQL editor connection would sync up with the navigator.  Once both connections are added to the navigator, the SQL editor connection stops to sync up with navigator.   In the past, I had only the postgres connection and it stopped sync-ing after I added Oracle.  So, I thought it has something to do with Oracle.  But after I deleted the postgres connection, then the Oracle connection would sync fine between navigator and SQL editor.  In fact, if I add another Oracle connection (to a different Oracle database), the sync would be broken.
I hope this helps.
Thanks,
John
From: Kseniia<EMAIL_ADDRESS>Sent: Monday, March 1, 2021 2:14 AM
To: dbeaver/dbeaver<EMAIL_ADDRESS>Cc: jyinpci<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [dbeaver/dbeaver] Auto-sync with navigator does not work with Oracle (#11340)
Is it possible to send a video with the issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/dbeaver/dbeaver/issues/11340#issuecomment-787711887 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AC6PYZISITQKGEQAWD7OPQLTBM5D5ANCNFSM4XTYJ6QA .  https://github.com/notifications/beacon/AC6PYZNPQXOD4O63BULFR73TBM5D5A5CNFSM4XTYJ6QKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOF3ZYPDY.gif

Sorry for the long answer. I clarified how the option works. Seems, now I understand your case. First of all it was wrong advice to enable Open separate connection for each editor. Please disable it for your case and enable Auto-sync connection with Navigator

How it works:

When you have one connection with several schemas in DB Navigator and several SQL Editor windows opened: you click a schema in DB Navigator and then all SQL Editor windows change schemas on the selected one.
When you have two connections (e.g. PostgreSQL and Oracle) in DB Navigator and several SQL Editor windows for both connections: when you click a schema (e.g. in Oracle connection) in DB Navigator, SQL Editor windows for this connection only (Oracle in my example) change the schemas on the selected one.
If you want to synchronise SQL Editor windows of one connection  (PostgreSQL in my example) with different connection in DB Navigator (Oracle in my example), you have to do it for every SQL Editor window separately (open SQL Editor window, then click a schema in DB Navigator, then open other SQL Editor window etc.)

https://user-images.githubusercontent.com/51405061/111486652-b80a2600-8748-11eb-9e0b-839df5df177b.mp4


Every time a scheme is saved the table gets wider

Edit a scheme.
Click save.
Table gets wider.
Repeat the above - table keeps on getting wider.

(Seems to be happening only for datasets which have exactly one scheme)


config for SiamRPN

You have provided the weights of an RPN model from your paper. It is "thinner". But the only config for training the RPN model is for the "thicker" version. Could you publish a config for the "thinner" model as well?

You have provided the weights of an RPN model from your paper. It is "thinner". But the only config for training the RPN model is for the "thicker" version. Could you publish a config for the "thinner" model as well?

Hi, you could simply change the "thicker" to "thinner" (or vice verse) in settings.


CredRead() and CredDelete() are not working

Actual behavior

Expected behavior
It used to work on previous Cs32 versions.
Repro steps

NativeMethods.txt content:
CredReadW CredFree CredWriteW CredDeleteW

2. `NativeMethods.json` content (if present):

3. Any of your own code that should be shared?

### Context

- CsWin32 version: [e.g. `0.2.188-beta`]
- Win32Metadata version (if explicitly set by project):
- Target Framework: [e.g. `.Net 7`]
- `LangVersion` (if explicitly set by project): [e.g. `11`]

Just an update...
I fixed the pointer issue by using the * and & operators and removing the "out" keyword:

Now the only issue is with PInvoke.CredRead() not accepting C# strings. Upon checking the said method it is defined as:

So putting a string value should work but it doesn't.

This has been fixed by using the correct method overloads. It seems like the new Cs32 version introduced the CredRead and CredDelete overloads.


Can not create C # source project for Godot.

Hello. Can you help me? My Godot Mono can not create a C # project for my game project. Each time I create, my

Godot will automatically stop working and exit

. I installed Mono who installed winx86 and winx64 or gtk #. But socks are not useful. And when it does, it still escapes. Excuse me for not being familiar with VisualScript and GDScript so I have to use C #, which is very annoying for me. Thank you for reading, please help me fix it. Thanks again.

Which version of Godot, which version of Mono?

Yesh, Godot_v3.0.2.

No. I using mono <IP_ADDRESS>

The pre-built 3.0.2 binaries require Mono 5.4.x

Thank you. I will try again :)

Can I use Mono <IP_ADDRESS>?

Tks

:( I created a C # code file now, how do I open it? I clicked open set without seeing anything.

Tks. I opened it with Visual Studio code. Tks.

If you have solved your problem, please close this issue.


Create a repository section at discovery-client docs

Closed via https://github.com/micronaut-projects/micronaut-discovery-client/commit/8bccfc772b2f0585cfef64e26e9875986fd3e152


There was an error training the funsd dataset

bash scripts/train_funsd.sh
No such file or directory: data/model/backbones/bert-base-multilingual-case-5layers/cache/org/config.json

Thank you very much for your reply,I did not perform step 5, but directly performed after step 6, because I found that the link of the data set of the cord could not be accessed,I will recheck the execution. Thank you.
------------------ 原始邮件 ------------------
发件人:                                                                                "clovaai/spade"                                                                                @.>;
发送时间: 2021年10月17日(星期天) 上午7:31
@.>;
<EMAIL_ADDRESS>主题: Re: [clovaai/spade] There was an error training the funsd dataset (#4)
Hi @Estelle-zy
I have checked the script and executed in local but couldn't find any error.
Please make sure you have done the following steps (also, refer to "Setup/5&6" in README.md).
Download data.tar.gz from here. The file also include the small model trained on CORD dataset.
mv data.tar.gz [project-dir] tar xvfz data.tar.gz
Download pretrained multi-lingual bert
cd scripts python download_pretrained_models.py
If the error persists, please post the details of the error message.
Wonseok
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Add Examples for USB Audio 2 (Audio + MIDI)

The MIDI example works if I restrict it to one output only, otherwise the descriptor would get too large
(see https://github.com/greatscottgadgets/luna/issues/86)

Apologies it took me so long to get to this -- I think I must have missed the notification e-mail.
This is awesome work-- though I do have a question. Did you implement USBIsochronousOutEndpoint in a missing commit?  At a glance, I don't see an implementation for it. :)

Oh.... I just assumed it existed :D
You surely have a point here :)

Actually it looks like the Isochronous OUT transaction is the simplest of all. I might give it a a shot and try implementing it.

Here is the missing commit :fireworks: :champagne:

This PR is now broken because of upstream changes. Will need to rework.


Please provide a way to use reactor in non full screen mode

I am attempting to integrate Rails and Elm. I want to render Elm inside a given outlet.

At the moment Elm fullscreenDebug will render the code outside the given space.
While developing using reactor is really a must, please provide a way of using it without having to go full screen.

I agree that this is a necessity. Currently overhauling reactor internals; I think this shouldn't be too hard.

Actually, thinking this over, I realized that it's unclear how time travel should work in the non-fullscreen case. Since Elm doesn't control the whole screen, it could only rewind the div that it lives in. This would grow more confusing if the Elm module and other javascript were interacting via ports. What do you think would be a reasonable behavior for time-travel in the non-fullscreen case?
Also, is time travel even the most valuable feature of the debugger for you, or is it watches? I'm working on making the watches better (e.g. allowing expansion of watches to see the whole history). If time travel were disabled in the non-fullscreen case (because it's unclear what it should mean) would the debugger still be useful to you just because of watches?

@vilterp 	Time travel is not critical at all. What is really important is just the ability to edit code and reload the page to see the changes without having to compile.

Tracking in #193, follow along there!


bugfix/RLP-746/tokens

Changes:

Update webui

@TheLagger69 now that youre collaborator, you can merge it! :)


kNWErrorDomainPOSIX error when try to connect

Hey
When I try to connect my nats server with iOS, I get error:
WebSocket connection to 'wss://...' failed: ... (kNWErrorDomainPOSIX error 96- Mo message available on STREAM)
same code on android or browser works well
nc = await connect({           reconnect: true,           maxReconnectAttempts: -1,           reconnectTimeWait: 2 * 1000,           pingInterval: 10 * 1000,           servers: conf.natsServer,            user: conf.natsUser,            pass: conf.natsPassword         })
this is the error event:

if you need more details please let me know
thank you

We figured iOS does not support compression so we disabled it on the server,
is there a way to disable it while connecting the server in client side?

Unfortunately, the client doesn't negotiate this setting. By the time the client connects, the WebSocket is already compressed.

Do you possibly know if there's a way on the server side (nats) to either:
identify the client type (or some header from client side during the http negotiation and before the upgrade)  and set compression accordingly (during the upgrade) ?
set two different ports on the same nats server - so web/android would connect via a compressed session, and ios not, something like:
websocket: {
port: 9222
no_tls:false
compression: false
tls {
cert_file: "crt/server.crt"
key_file:  "crt/server.key"
}
}
websocket1: {
port: 9333
no_tls:false
compression: false
tls {
cert_file: "crt/server.crt"
key_file:  "crt/server.key"
}
}

@kozlovic can maybe respond. I don't believe there's a hook (server is just using whatever you configure), and it doesn't do multiple ws ports, but perhaps there's something I am not aware of.
Now one thing I am puzzled about is that I have tried connecting from iOS via safari (I believe all applications use the same mechanism). I am going to try again with compression and see if that works.

@kozlovic - thanks for the detailed response, yet reading through the tickets, I'm not sure what the status is for nats,ws .
https://github.com/nats-io/nats-server/issues/2612 ends with a suggestion to use flush on server side and "splitting frames... so will work with @aricart to fix that."
https://github.com/nats-io/nats-server/pull/2613 states:
... Then, fragmentation of compressed frames are not processed
correctly by Safari (all other browsers and websocket
libraries reassemble them well). So disable compression + fragmentation
for Safari browsers.
I do see the code change identifies User-Agent - Contains(ua, "Safari").
So (assuming we are using nats.ws) does that mean:

Update my nats server
return compression: true

would "resolve" the problem by compressing packets coming from none Safari browser, or do we still have issues with splitting frames ?

ends with a suggestion to use flush on server side and "splitting frames... so will work with @aricart to fix that."

No, this change was made in the NATS Server, so nothing to do here in the client library.

So disable compression + fragmentation for Safari browsers.

Yes, what it means is that the server (in the aforementioned PR) makes sure to not fragment compressed frames for Safari browsers.


go: command not found

The go command does not work even though the go build pack is applied.
version: 1.16
Below is the corresponding log.

The following is my file directory

What did I miss?

I just stumbled over the same problem. The command in your Procfile is wrong. Instead of writing web: go run main.go you need to enter web: /bin/your-app-name. The app name is equivalent to the name of your git repository.
This is pretty badly documented, I must say. It took me quite some time to figure this out. The Heroku guys should improve their docs.

Yes, we should make this clearer that the buildpack first builds your binaries and does not include a copy of the toolchain. We do explain this here https://devcenter.heroku.com/articles/go-support#runtime-behavior, but it is pretty out of the way.

I'm still experiencing this issue, the docs is not really clear on how to write your Procfile to run the go server.

@acamara2016 Apologies for the difficulties - the Procfile should map a "process type" e.g. web to a command executing the binary post compile, e.g:
web: web-server -port "${PORT}"

You can see an example of this here: https://github.com/heroku/go-getting-started/blob/main/Procfile.
If you have multiple main packages (e.g. in a cmd/server, cmd/worker style setup) you would adjust your go.mod to include additional directives, such as:
// +heroku install ./cmd/server ./cmd/worker

Which would then be available through something like:
web: bin/server
worker: bin/worker

More details in https://github.com/heroku/heroku-buildpack-go?tab=readme-ov-file#go-module-specifics.


Use tmpfile for go build output

Fixes #1436

This is my first time with modifying vim plugins, so it's very possible I've done something boneheaded here :)  Anyway, this seems to at least let the go build plugin run.

I committed a different solution in e15ebd3.

Much cleaner than mine!  Thanks!


Ensure additional paths are added when using pywin32

This is probably caused by the site module being enabled, but we need to make sure we can enable site while not leaking the environment through user site directories, etc...

If possible, also add a test checking if everything works well

It would be nice to have an easy way to run arbitrary python code, but that's not mandatory

Besides enabling site, the following variables have to be set to a reasonable value for site.main() to function properly: sys.prefix, sys.exec_prefix


ReactiveUI.RxApp throws System.TypeInitializationException at start-up

Recently upgraded our WPF application from ReactiveUI 7.4 to ReactiveUI 8.2.1. When the application starts there is a System.TypeInitializationException being generated from ReativeUI.RxApp. The inner exception reports that the System.Reactive.Windows.Threading.dll, Version 3.0.1000.0 could not be loaded. This file, and its dependencies appear to be deployed correctly.
A search revealed that there was some version discrepancy with the System.Reactive 3.1.1 NuGet package which we have attempted to resolve with binding redirects, but to no avail.  This has now become a blocking issue and we have no choice but to rollback to ReactiveUI 7.

I don't know if it helps you, but I've switched from Nuget To Paket https://fsprojects.github.io/Paket/
The Version of the Nuget-Package that will be included in your project can be pined.
The paket.dependency File would look like this:
framework: net471
redirects: on

source https://api.nuget.org/v3/index.json
nuget System.Reactive = 3.1.1
nuget ReactiveUI.WPF
nuget ReactiveUI.Events.WPF

The paket.reference file like this :
ReactiveUI.WPF
ReactiveUI.Events.WPF

Calling Paket-Update confirms that Reactive.Ui Version 8.3.1 is used.
paket.exe update

Pretty confident this is fixed in RxUI 8.4.4


chore(helm): update horizontal pod scaler in helm chart

:tada: This PR is included in version 1.0.0-next.17 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Updated README.md to fix issue with details block

The details block ending tag had been placed incorrectly, such that none of the README contents were showing correctly.

@junhoyeo I would recommend fixing this ASAP as currently it seems like the repo has nothing in the README.


fix(dep update): helm dep update is not respecting the "version" stip…

Signed-off-by: cndoit18<EMAIL_ADDRESS>What this PR does / why we need it:
fixes #9348
Special notes for your reviewer:
If applicable:

[x] this PR contains unit tests
[x] this PR has been tested for backward compatibility

Hello, this pr has introduced a regression in v3.6.3. Bug report: https://github.com/helm/helm/issues/9944


Cannot see any items in the showcase section of the site

Sorry if this is known or excpected, but navigating to the showcase page there simply aren't anything showing there. There are other issues related to showcase, like https://github.com/cardano-foundation/developer-portal/issues/818 which seem to allude to that there should be items there.
Win 10, latest Brave.

The link you are using above:

https://developers.cardano.org/showcase/?tags=nft

is using the nft tag, which is defined for the Builder Tools section but undefined for the Showcase section.  It's returning an empty set because there is no such tag... as it would for any nonexistent tag, e.g.: https://developers.cardano.org/showcase/?tags=sillyUndefinedTag
FYI... NFT-centred projects in the Showcase are defined by two separate tags:

https://developers.cardano.org/showcase/?tags=nftproject
https://developers.cardano.org/showcase/?tags=nftsupport

@rphair
In that case, you have a broken link here

From the "Getting Started" -> "Discover Native Tokens" page

Thanks for the further detail @GGAlanSmithee ... we can leave this open until the correction in #828 is merged into the staging branch (which means it will be published to the web site at the next interval). 🤓

Cheers!

nice catch!


Javalin example

The latest version of Javalin has the Javalin Servlet exposed, which means it should be able to use it in App Engine. I have an example available in a repo based on the SparkJava example. I would like to contribute that one.
https://github.com/amohabir/javalin-appengine-standard

Thanks for working on this. Please see the contribution guide for how to contribute code to GoogleCloudPlatform repositories.


how to added fixed address and channel

how to added fixed address and channel ?
i need address & channel
as in the picture

Where is your drawing from?

ebyte modules
Isn't this header structure global?
targetAddr | TargetChannel | Data
how can i  apply this on sx1278

Where is your drawing from?
I can't find it in the SX1276/77/78/79 datasheet.

Where can I get your documentation?
tell me the url.

https://www.cdebyte.com/products/E22-400T30D/4#Downloads
check it manual .pdf

LoRa Packet Structure

EBYTE's E22 module uses different frequencies depending on the channel.

you can use any frequency you like in menuconfig

module in hand is sx1278 ,not ebyte module
I want to define address and channel on sx1278
how can i do ?

EBYTE's E22 module uses different frequencies depending on the channel.

you can use any frequency you like in menuconfig

This diagram you showed is from EBYTE.

You're using EBYTE's SX1278, right?

no i dont using eybte module .
I just want to set up addressing and channel structure like it

The LoRa specification does not have channels or addresses.
EBYTE modules channel is same as frequency

If we add such a structure to the header. I think it can work if we parse the header on the other device or
i selected channel 4
Frequency= 410.125 + CH1M
410.125+ 41M
it needs to be calculated

The LoRa specification does not have channels or addresses.
EBYTE modules channel is same as frequency
For modules other than EBYTE, change the frequency if you use the concept of channels.

I do not understand your content.
The LoRa packet structure is the following structure and Header is optional.

EBYTE LoRa modules and non-EBYTE LoRa modules may not be able to communicate with each other.
This is because EBYTE has the concept of addresses, but LoRa modules other than EBYTE do not.
Presumably the EBYTE address is sent as part of the LoRa payload.
This is an EBYTE-only payload.
EBYTE-specific payloads cannot be interpreted correctly by non-EBYTE LoRa modules.

i got it now thank u bro

EBYTE LoRa modules and non-EBYTE LoRa modules may not be able to communicate with each other.
This is because EBYTE has the concept of addresses, but LoRa modules other than EBYTE do not.
Presumably the EBYTE address is sent as part of the LoRa payload. This is an EBYTE-specific payload.
EBYTE-specific payloads cannot be interpreted correctly by non-EBYTE LoRa modules.


Use 443 as default api-server Load Balancer port

What this PR does / why we need it
Checklist

[x] Update changelog in CHANGELOG.md.

Trigger e2e tests

/run cluster-test-suites

/run cluster-test-suites

Already had this discussion here https://github.com/giantswarm/cluster/pull/42#discussion_r1453599637
The value is already in the cluster chart

I get that it's confusing within CAPI and CAPI providers (hence my first comment), but why keep using a potentially confusing field name when we could be more specific in our values?

Setting it to apiServerLBPort won't help with confusion IMO though. It makes sense in CAPA and in CAPZ with caveats, but in CAPI it has a different meaning and in other providers it might have none or something completely different. I guess the ideal thing here would be to have the value in the cluster chart be internal and named exactly as the thing that's being set as to remove ambiguity. So something like
internal:
  clusterNetwork:
    apiServerPort: 6443

And then we have a separate value here that's named like the thing we actually want to set and use a yaml anchor to configure the internal value like this:
global:
  controlPlane:
    apiServerLoadBalancerPort: &lbPort 443
    ...
cluster:
  internal:
    clusterNetwork:
    apiServerPort: *lbPort

Not sure if that would work exactly though. But WDYT of the idea?


Fix the windows build of onnx-mlir

The onnx-mlir (specifically, onnx-mlir.exe) build is failing on Windows with:
D:\a\1\llvm-project\llvm\include\llvm/IR/PassInstrumentation.h(277,16): error C2248: 'llvm::PassInstrumentationCallbacks::BeforeNonSkippedPassCallbacks': cannot access private member declared in class 'llvm::PassInstrumentationCallbacks' [D:\a\1\onnx-mlir\build\src\MainUtils.vcxproj]
D:\a\1\llvm-project\llvm\include\llvm/IR/PassInstrumentation.h(143): message : see declaration of 'llvm::PassInstrumentationCallbacks::BeforeNonSkippedPassCallbacks' [D:\a\1\onnx-mlir\build\src\MainUtils.vcxproj]
D:\a\1\llvm-project\llvm\include\llvm/IR/PassInstrumentation.h(65): message : see declaration of 'llvm::PassInstrumentationCallbacks' [D:\a\1\onnx-mlir\build\src\MainUtils.vcxproj]

This change cleans up the includes for onnx-mlir and MainUtils, so that we get the correct headers (headers from mlir and llvm were conflicting in the build).
Signed-off-by: Stella Stamenova<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Can one of the admins verify this patch?

This change cleans up the includes for onnx-mlir and MainUtils, so that we get the correct headers (headers from mlir and llvm were conflicting in the build).

Why is there a difference between Windows build and Linux build with respect to the order of include files? Is this a compiler problem?

This change cleans up the includes for onnx-mlir and MainUtils, so that we get the correct headers (headers from mlir and llvm were conflicting in the build).

Why is there a difference between Windows build and Linux build with respect to the order of include files? Is this a compiler problem?

The VS compiler has subtle differences with clang/gcc and sometimes that results in build failures on Windows that don't reproduce on other platforms. Sometimes it catches bugs that other compilers don't too. In this case it was not to our advantage though.

Jenkins Linux s390x Build #533 [push] Fix the windows build of... started at 19:23

Jenkins Linux amd64 Build #534 [push] Fix the windows build of... started at 18:23

Jenkins Linux s390x Build #533 [push] Fix the windows build of... passed after 44 min

Jenkins Linux amd64 Build #534 [push] Fix the windows build of... passed after 55 min


Handle corrupted bytes data when import.

Currently when import any binary data, loro would throw error as Uncaught Decode error: (Invalid magic bytes).
How would loro planning to support data repair if some bytes were corrupted?

This is expected behavior. Loro can only be used to import binary content that was exported from Loro, not to import arbitrary binary content.
If some bytes are corrupted, the best approach is to prevent users from importing rather than attempting to fix it. If you want to support error correction, you can wrap it in an additional layer externally, such as using error-correcting codes. If you forcefully import content based on corrupted data interpretation, it will put the document into a state of hidden corruption.

@zxch3n Is there way to detect if the byte are correct for loro data struct?

Yeah, every time import is called, Loro will perform the integrity check. Alternatively, you can use decodeImportBlobMeta(blob: Uint8Array, check_integrity: boolean)


How to run this google colab?

Need your help to run your program in google collab

Colab can run the linux executable file imo. Try that ✌🏻

Colab can run the linux executable file imo. Try that ✌🏻

It's not working pls help


Minor style tweaks for modeladmin's IndexView

This is a part recreation of #3074, just focussing on getting a few styles fixed and improving consistency with other parts of the CMS. I'm hoping this will help with review/approval. I'll work on reimplementing the other changes from #3074 as a separate PR later, once all the outstanding modeladmin PRs are merged and over with.
Here are the aims of this particular PR:

Removes unnecessary right padding from result list when listing is supposed to be full-width (no filters) on desktop
Removes unnecessary left/right padding from result list on mobile (the table cells have padding of their own)
In order to be more consistent with the Explorer list view, only make orderable column header links 'teal' if the listing is currently ordered by that field
Better use of hierarchy in scss to improve readability

Thanks @ababic!
Could you add a couple of screenshots showing what the index page looks like before/after this change?

Hey @kaedroho. Sorry, I do need to get into the habit of doing that for front-end changes. Unfortunately though, I don't have my machine in a state where I can easily do that now, and there may be some wait before I do. Is the description not enough to go on here?

Thank you @jjanssen :)

Merged in 0c05655


THORN-2531: Null value for thorntail.public.url.base

Motivation
In the previous version of Swarm (e.g. 2018.1.0), we could use
the key swarm.public.url.base in the file usage.txt in order
to display the host of our application when it has been deployed.
Since THORN-2185, we can use thorntail.public.url.base, but
it's not working, it always returns null.
The bug has been introduced in NetworkVariableSupplier#valueOf:
if (name.equals("thorntail.public.url.base")) {
    return "http://" + valueOf("thorntail.public.host") + ":" + valueOf("thorntail.http.port") + "/";
}

String[] parts = name.split("\\.");
if (parts.length > 0 && parts[0].equals("swarm")) {
    ...
}

Modifications
Updated some code paths that still expected system properties
prefixed with swarm.* to correctly read thorntail.*.
Result
Using thorntail.public.url.base should work now.

[x] Have you followed the guidelines in our Contributing document?
[x] Have you created a JIRA and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[ ] Have you built the project locally prior to submission with mvn clean install?

Thanks @HubbleDK for confirmation!
I've reverted Maven in Jenkins to 3.3.9, as the upgrade didn't achieve what I hoped for, and we should probably still support 3.3.9 minimum.
Jenkins, retest this please


Rest API implementation for usage with custom UI

Changes add two files, one (ProjectManagerInterface.py) containing main functionality for management of files representing domains and configurations accessible as part of the UI. File solver_api.py contains definitions of all endpoints and added functionality to format data into state required by the front-end application.

Resolved conflicts, fixed typo, added required dependencies to poetry and pyproject.toml


date-time-picker: fix incorrect date on time pick

Regression introduced during 2.0 refactor. Quite surprised that it took 7 months for someone to spot this bug. 😂
modifyWithDefaultTime changed to modifyWithTimeString to reflect what it does.

Actually I think what #11450 meant was

Updated, I missed the confirm() bit. It should work correctly now.
https://jsfiddle.net/4frk3fmd/

Recommend CI/bot reply to include url of compiled element-ui bundle that can be used to write jsfiddle happily. It might be troublesome if amendments are made (thus changing bundle's hash -> http 404). Right now, I'm happy with my js-bin hack. :D

It seems the compiled element-ui.[hash].js for netlify / official website cannot be used in jsfiddle. @jikkai could you verify this?

this.value 如果不是日期类型，是个字符串， modifyTime方法就会报错!!!
This value if not date type, is a string, modifyTime method will be an error!!!

重构有问题啊！！问题同上，整个系统挂了。

https://github.com/ElemeFE/element/issues/11621#issuecomment-398272178


Add files via upload

Each key press is triggered a request and it has a in the GoogleApi. I've implemented a parameter to inform the minimum quantity of characters must be pressed to trigger it. By default this value is zero.

@jonasantonelli Thank you for creating a pull request. I have been thinking about a related issue recently. I think we can use lodash's throttle or debounce to get the similar effect. Please open an issue before working on a pull request 👍


Feature request: libhandy support

https://source.puri.sm/Librem5/libhandy
Would be nice if bindings to libhandy could be generated for gobbi.

I'll certainly look in to this, but it might not be for a week or two.

Of course. Happy holidays!


StackOverflow on IEnumberable types in .Net 4.0 (Version > 5.20.6175.31167)

This code causes an StackOverflow
void Main(string[] args)
{
    Console.WriteLine(NJsonSchema.JsonSchema4.FromType<IEnumerable<Tuple<string, string>>>().ToJson());
    Console.ReadKey(false);
}

The infinite loop seems to be caused by the GetJsonPath method.
Great work so far.

I cannot reproduce this in the latest version (just copied the first line into the demo app).

Hi,
I am still able to reproduce the StackOverflow in VS2015 .Net 4.5, event in the latest release (d1b1c2a), the latest master (3aa08f6) and the latest NuGET-Package (6.5.6190.16910).
I just cloned the source and copied the following line into the DemoApp>Program.cs>Main to reproduce the error:
Console.WriteLine(NJsonSchema.JsonSchema4.FromType<System.Collections.Generic.IEnumerable<Tuple<string, string>>>().ToJson());

I also tried the TestProjects with the following test in VS2015:
        [TestMethod]
        public void When_type_is_enumberable_it_should_not_stackoverflow_on_JSON_generation()
        {
            //// Generate JSON
            var result = NJsonSchema.JsonSchema4.FromType<System.Collections.Generic.IEnumerable<System.Tuple<string, string>>>().ToJson();

            //// Should be reached and not StackOverflowed
            Assert.IsTrue(!string.IsNullOrEmpty(result));
        }

At least NuGET-Test with a test from scratch
BadTest4.5.zip
I hope, I was able to help you out further.
Thanks


Table with dynamic columns - footer / header does not update after context change

Bug, feature request, or proposal:
Bug
What is the expected behavior?
I define table using dynamic columns like below. In footer cell definition I am using some context object (from current component) and its values.
After context object is updated, table footer displays current data.
        <ng-container
            *ngFor="let month of months;"
            matColumnDef="p{{month}}"
        >
            <th mat-header-cell *matHeaderCellDef>
                {{month}}
            </th>
            <td
                mat-cell
                *matCellDef="let element"
            >
                        {{element.someValue}}
            </td>
            <td mat-footer-cell *matFooterCellDef>
                   {{someContextObject?.someValue}}
            </td>
        </ng-container>

What is the current behavior?
After updating context object, table footer does not show changes. It does not work even, if context variable is a simple string.
This works correctly, if table cell is not defined using *ngFor.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 6.4.7

Update - I have been able to make a work around for this using separate ng-template (outside of ng-container), like below. But this is absurd, especially for footer cells, which often show aggregate values (totals) from outside of table data source.
<ng-container
            *ngFor="let month of months;"
            matColumnDef="p{{month}}"
        >
            <th mat-header-cell *matHeaderCellDef>
                {{month}}
            </th>
            <td
                mat-cell
                *matCellDef="let element"
            >
                        {{element.someValue}}
            </td>
            <td mat-footer-cell *matFooterCellDef>
                   <ng-container *ngTemplateOutlet="monthFooter;context: {month: month}"></ng-container>
            </td>
</ng-container>

 <ng-template #monthFooter let-month="month">
                {{someContextObject?.someValue}}
 </ng-template>

Can you provide a reproduction in StackBlitz.  This will help us to investigate the issue you are seeing.

It's interesting - I cannot reproduce it on StackBlitz right now using simple table implementation. I am seeing this in my code, though. I will have to extend StackBlitz example to reproduce the exact conditions I have.

@josephperrott Hi! I'm having what I think may be a similar issue. I was able to reproduce it on stackblitz.
The stackblitz actually includes a few change detection issues.

If you toggle something first, and then toggle booly, the first column doesn't update to represent the change in boolys value. I think this has to do with the ngIf
header rows cannot be ngIfd
ngIfd content rows are not updated unless a sort button is pressed (although, this can be worked-around by calling table.renderRows() - Maybe this is expected?)

Can confirm this is an issue as well. Using @TiS solution with ng-template as a workaround. Issue happens when dataSource is given a whole new data array in ngOnChanges.
  ngOnChanges(changes: { [propKey: string]: SimpleChange }) {
    if ('data' in changes && !changes['data'].isFirstChange() && this.data) {
      this.dataSource.data = [...this.data.report.data];

Further to the issues noted by @literalpie above, I have more workarounds for those interested.
Having noted the 'changed' flags as part of removeHeaderRowDef() and removeFooterRowDef()
https://github.com/angular/material2/blob/21e646a3e7d99323e3f6d1e2961f416c8695bf48/src/cdk/table/table.ts#L555
https://github.com/angular/material2/blob/21e646a3e7d99323e3f6d1e2961f416c8695bf48/src/cdk/table/table.ts#L567
here are some change detection workarounds for header/footer rows:

header rows cannot be ngIfd --> use table.removeHeaderRowDef(null) to trigger an update to the header (or table.removeFooterRowDef(null))

See updated stackblitz - note that toggling booly refreshes table header and body rows correctly.

Not sure if it is the same root-cause, but I encountered the following problem:
I'm trying to have a footer in my tables for adding new lines to the table, but only if it is allowed to edit the table values:
<ng-container *ngIf="editable">
    <mat-footer-row...>
    </mat-footer-row>
</ng-container>

works perfect when I statically set
[editable]="true" or ="false"
but not when I use an @Input() Setter and have a dynamic value like
[editable]="valueReceivedAsyncFromServer"
As a workaround I'm always rendering the footer but hiding it with css (using ng flexlayout in my case):
    <mat-footer-row [fxHide]="!editable" ...>
    </mat-footer-row>

not ideal

This issue has grown to include several different issues. It would help us a lot if each issue is opened independently so that we can track them, especially with provided stackblitz reproductions.
Please note that using ng-container around the rows is not our recommended approach to rendering different rows, instead please use the when predicate.
With regards to the first issue, it sounds like it could not be reproduced in stackblitz for us to investigate. If it can, please re-open an issue with a link. Thanks!


Adds a RSS ouput for the feed

This adds an RSS feed, as requested on #463. There are 2 things we need to look:

Do we need an API_KEY for the feed?
Also, it seems we always deliver the entire list of PWAs. Maybe we could add parameters to paginate?

Very fast PR!

I think we should not ask for the API_KEY for the RSS.
Yes, pagination could be good as optional and it should be sorted by 'newest'

Thank you.

This is looking awesome.  One extra thing, we should add in a  on main page that points directly to the RSS feed. This will help people add it to their feed readers and hopefully help increase discovery. Selfishly, I'm about to deploy a site that would link to this feed :)

Maybe it's not for this PR,
But I would love us to flesh out the content/description for each PWA, so that it includes a link to Gulliver, a Link to the start url so that they can try it out, and also include a summary of all that we know (manifest name, description, icon, speedscores,lighthouse etc.)

I will continue in another PR.


How to set up JWT authentication via Swagger definition?

After generating a swagger-node project (in my case Hapi), how do I configure JWT authentication for the routes (preferably by using hapi-auth-jwt2 or similar plugin)? Also, what is the preferred way to handle route authorization?

Hi,
It's a two step process. You'll first have to define in your swagger spec[1] how your endpoint is secured (via and api key for example) and then in your server code, you'll have to implement a security handler for it [2].
You could use apiKey and name the header Authorization, which you can read as req.headers.authorization from the req option of the security handler, extract the value, and parse it using a JWT library[1] and that's about it.
[1] http://swagger.io/specification/#securitySchemeObject
[2] https://github.com/swagger-api/swagger-node/issues/228#issuecomment-163805253
[3] https://github.com/auth0/node-jsonwebtoken

This code worked for me
var ejwt = require('express-jwt');

// Initialize express-jwt
var jwt = ejwt({
  secret: new Buffer(process.env.AUTH0_CLIENT_SECRET, 'base64'),
  audience: process.env.AUTH0_CLIENT_ID
});

// Set up the token security handler
var config = {
  appRoot: __dirname, // required config
  swaggerSecurityHandlers: {
    token: function(req, authOrSecDef, scopesOrApiKey, cb) {
      jwt(req, req.res, function(err) {
        if (req.user == undefined) {
          return cb(new Error('access denied - user does not exist in auth0'));
        }
        else {
          console.log(req.user); // Contains { iss: 'https://xxx.auth0.com/', sub: 'auth0|xxx', ... }
          return cb(null);
        }
      }
    }
  }
};

@jlyon: thanks -- note for whoever follows this: there's a missing ) in the above pasted code to close off the jwt(… block.

This is how we did it:
import * as fs from 'fs';
import * as path from 'path';

import * as swaggerTools from 'swagger-tools';
import * as passport from 'passport';

export function setupSwagger(app) {
  // resolve the spec
  const spath = path.resolve('./dist/spec.json');
  const file = fs.readFileSync(spath, 'utf8');
  const spec = JSON.parse(file);

  // setup middleware swagger middleware in express
  swaggerTools.initializeMiddleware(spec, (middleware) => {
    app.use(middleware.swaggerUi());
    app.use(middleware.swaggerMetadata());
    app.use(setupSwaggerSecurity(middleware));
    app.use(middleware.swaggerValidator({
      validateResponse: true
    }));
  });
};

function setupSwaggerSecurity(middleware) {
  return middleware.swaggerSecurity({
    jwt_token: (req, authOrSecDef, scopes, callback) => {
      passport.authenticate('jwt', { session: false }, (err, user, info) => {
        if(err) callback(new Error('Error in passport authenticate'));
        if(!user) callback(new Error('Failed to authenticate oAuth token'));
        req.user = user;
        return callback();
      })(req, null, callback);
    }
  });
};

then in passport:
import * as config from 'config';
import * as passport from 'passport';
import { Strategy as JwtStrategy, ExtractJwt } from 'passport-jwt';

let opts = {
  jwtFromRequest: ExtractJwt.fromAuthHeader(),
  secretOrKey: config.get('auth.jwt_secret').toString()
};

function verify(payload, done) {
  const id = payload.sub;
  return id !== undefined;
  /*
  User.findOne({ id: jwt_payload.sub }, (err, user) => {
      if (err) return done(err, false);
      if (user) {
        done(null, user);
      } else {
        done(null, false);
        // or you could create a new account
      }
  });
  */
};

export function setupAuth(app) {
  app.use(passport.initialize());
  passport.use(new JwtStrategy(opts, verify));
};

Demo project here: https://github.com/swimlane/node-microservice-demo/tree/master/petstore


[VIP-1] Upcoming fork brainstorming

upcoming fork shall include:

#904 new halving schedule including 7 new periods
~#969 Difficulty and Proof of Work check adjustments~

further ideas:

Maybe removing old mining signatures of blocks
... feel free to add more topics for cleaning up the old v4 base ...

Halving will be done soon - closing for now :)


vim,pdb for python3, like pudb , but in  win 10 .

Instructions: Replace the template text and remove irrelevant text (including this line)
Is your feature request related something that is currently hard to do? Please describe.
A clear and concise description of what is hard to do. Ex. It is difficult to [...] when [...]
(If it is related to runtime files, please check their header for where to discuss enhancements.)
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Closing, as you don't fill any useful information in the template.


IFirestoreConverter do not support type with generic arguments

Hello,
Im trying to use IFirestoreConverter passing a type that has generic arguments
public class CarConverter<T> : IFirestoreConverter<Car<T>> where T : Engine
   {
       public Car<T> FromFirestore(object value)
       {
           return new Car<T>(value.ToString());
       }

       public object ToFirestore(Car<T> car)
       {
           return car.ToString();
       }
   }

Unfortunaly at runtime, it dosent work because even if my Reference object at runtime respect the generic constrainct, the convert should match the exact type of Car because of this line :
https://github.com/googleapis/google-cloud-dotnet/blob/6d221407548492df4051a256f48beb3beff496e7/apis/Google.Cloud.Firestore/Google.Cloud.Firestore/Converters/CustomConverter.cs#L41
i think if this exception wasnt thrown, Activator.CreateInstance would still work.
Is this exception relevant ?

Looking at this again, I'll definitely need a complete example showing how you're using this - I'd really be guessing otherwise.

Please add more information, or I'll have to just close this issue (around the end of the week). That doesn't stop you from adding more information later, but we try to avoid having lots of issues open in a state where we can't actually do anything with them.

Closing for the moment due to lack of information.


Mention somewhere that this is a react library

We have received a few comments (here, or on twitter) that we don't mention anywhere that Primitives is a React library. We should probably add this somewhere in the docs.

It is on the homepage:


Inspect flaky e2e test

In some rare cases, as in https://github.com/keptn/lifecycle-toolkit/actions/runs/5817416669/job/15772683577?pr=1867, the missing-evaluation kuttl test is failing with the KeptnAppVersion going into the post-deployment phase, even though the related WorkloadInstance is stuck in the Pending state due to a missing KeptnEvaluation. Weirdly enough, the status of the KeptnAppVersion clearly displays the WorkloadInstance as succeeded, even though the status of the WorkloadInstance is correctly set to Pending.
I currently have no explanation for how this can happen, but maybe one good starting point is to inspect if the namespace filtering is working correctly when retrieving the WorkloadInstance List (https://github.com/keptn/lifecycle-toolkit/blob/43f439b09878fbe06bbae2714e033389a367f702/lifecycle-operator/controllers/lifecycle/keptnappversion/reconcile_workloadsstate.go#L68). Since we do have WorkloadInstances with the same name that end up in a Succeeded state, they might interfere here, if the namespace is not correctly applied (I might also be wrong with this explanation, and the issue could be caused by something entirely different)

after trying this out locally, i can confirm the namespace filter is applied correctly, so we can rule out the possibility of WorkloadInstances from another namespace interfering with another

found the following logs in
apparently, the KeptnAppVersion controller finds the KeptnWorkloadInstance in a state where the pre-deployment checks are done, the pre-evaluations have not started yet, but the overall state is Succeeded:
2023-08-10T14:28:17Z	DEBUG	events	Workload Pre-Deployment Tasks: has started / Namespace: kuttl-test-suited-crab, Name: podtato-head-podtato-head-entry-0.1.0, Version: 0.1.0	{"type": "Normal", "object": {"kind":"KeptnWorkloadInstance","namespace":"kuttl-test-suited-crab","name":"podtato-head-podtato-head-entry-0.1.0","uid":"dfc277f5-1169-4799-9e05-3d818a57da75","apiVersion":"lifecycle.keptn.sh/v1alpha3","resourceVersion":"2231"}, "reason": "WorkloadPreDeployTasksStarted"}
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.cloudEvent
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.k8sEvent
2023-08-10T14:28:17Z	DEBUG	events	Workload Pre-Deployment Tasks: has finished / Namespace: kuttl-test-suited-crab, Name: podtato-head-podtato-head-entry-0.1.0, Version: 0.1.0	{"type": "Normal", "object": {"kind":"KeptnWorkloadInstance","namespace":"kuttl-test-suited-crab","name":"podtato-head-podtato-head-entry-0.1.0","uid":"dfc277f5-1169-4799-9e05-3d818a57da75","apiVersion":"lifecycle.keptn.sh/v1alpha3","resourceVersion":"2356"}, "reason": "WorkloadPreDeployTasksFinished"}
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.cloudEvent
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.k8sEvent
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.cloudEvent
2023-08-10T14:28:17Z	INFO	KeptnWorkloadInstance Controller	Emitting event using *common.k8sEvent
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Searching for Keptn App Version
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Reconciling Workloads
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	found workloadInstances	{"len": 1, "items": [{"kind":"KeptnWorkloadInstance","apiVersion":"lifecycle.keptn.sh/v1alpha3","metadata":{"name":"podtato-head-podtato-head-entry-0.1.0","namespace":"kuttl-test-suited-crab","uid":"dfc277f5-1169-4799-9e05-3d818a57da75","resourceVersion":"2357","generation":1,"creationTimestamp":"2023-08-10T14:28:07Z","ownerReferences":[{"apiVersion":"lifecycle.keptn.sh/v1alpha3","kind":"KeptnWorkload","name":"podtato-head-podtato-head-entry","uid":"942dadb3-9421-4cb1-98e4-e4ff0b61056f","controller":true,"blockOwnerDeletion":true}],"managedFields":[{"manager":"manager","operation":"Update","apiVersion":"lifecycle.keptn.sh/v1alpha3","time":"2023-08-10T14:28:07Z","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:ownerReferences":{".":{},"k:{\"uid\":\"942dadb3-9421-4cb1-98e4-e4ff0b61056f\"}":{}}},"f:spec":{".":{},"f:app":{},"f:preDeploymentEvaluations":{},"f:resourceReference":{".":{},"f:kind":{},"f:name":{},"f:uid":{}},"f:version":{},"f:workloadName":{}}}},{"manager":"manager","operation":"Update","apiVersion":"lifecycle.keptn.sh/v1alpha3","time":"2023-08-10T14:28:17Z","fieldsType":"FieldsV1","fieldsV1":{"f:status":{".":{},"f:currentPhase":{},"f:deploymentStatus":{},"f:phaseTraceIDs":{".":{},"f:":{},"f:WorkloadPreDeployTasks":{}},"f:postDeploymentEvaluationStatus":{},"f:postDeploymentStatus":{},"f:preDeploymentEvaluationStatus":{},"f:preDeploymentStatus":{},"f:status":{}}},"subresource":"status"}]},"spec":{"app":"podtato-head","version":"0.1.0","preDeploymentEvaluations":["missing-evaluation"],"resourceReference":{"uid":"9b6340cb-eaee-40a6-a09f-e3fc3b7eb28e","kind":"ReplicaSet","name":"podtato-head-entry-6897d7ddc8"},"workloadName":"podtato-head-podtato-head-entry"},"status":{"preDeploymentStatus":"Succeeded","deploymentStatus":"Pending","preDeploymentEvaluationStatus":"Pending","postDeploymentEvaluationStatus":"Pending","postDeploymentStatus":"Pending","startTime":null,"endTime":null,"currentPhase":"WorkloadPreDeployTasks","phaseTraceIDs":{"":{},"WorkloadPreDeployTasks":{}},"status":"Succeeded"}}]}
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Reconciling workload podtato-head-entry
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	checking workloadInstance	{"wi": "podtato-head-podtato-head-entry-0.1.0", "namespace": "kuttl-test-suited-crab"}
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Overall state of workloads	{"state": "Succeeded"}
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Workload status	{"status": [{"workload":{"name":"podtato-head-entry","version":"0.1.0"},"status":"Succeeded"}]}
2023-08-10T14:28:17Z	DEBUG	events	Workload Pre-Deployment Evaluations: has started / Namespace: kuttl-test-suited-crab, Name: podtato-head-podtato-head-entry-0.1.0, Version: 0.1.0	{"type": "Normal", "object": {"kind":"KeptnWorkloadInstance","namespace":"kuttl-test-suited-crab","name":"podtato-head-podtato-head-entry-0.1.0","uid":"dfc277f5-1169-4799-9e05-3d818a57da75","apiVersion":"lifecycle.keptn.sh/v1alpha3","resourceVersion":"2357"}, "reason": "WorkloadPreDeployEvaluationsStarted"}
2023-08-10T14:28:17Z	DEBUG	events	Reconcile Evaluation: evaluation status changed from  to Pending / Namespace: kuttl-test-suited-crab, Name: podtato-head-podtato-head-entry-0.1.0, Version: 0.1.0	{"type": "Normal", "object": {"kind":"KeptnWorkloadInstance","namespace":"kuttl-test-suited-crab","name":"podtato-head-podtato-head-entry-0.1.0","uid":"dfc277f5-1169-4799-9e05-3d818a57da75","apiVersion":"lifecycle.keptn.sh/v1alpha3","resourceVersion":"2357"}, "reason": "ReconcileEvaluationStatusChanged"}
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Emitting event using *common.cloudEvent
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Emitting event using *common.k8sEvent
2023-08-10T14:28:17Z	INFO	KeptnEvaluation Controller	Reconciling KeptnEvaluation
2023-08-10T14:28:17Z	INFO	KeptnEvaluation Controller	Failed to get resource from application namespace	{"resource type": "*v1alpha3.KeptnEvaluationDefinition", "Definition name": "missing-evaluation", "namespace": "kuttl-test-suited-crab"}
2023-08-10T14:28:17Z	INFO	KeptnEvaluation Controller	Failed to get resource from default KLT namespace	{"resource type": "*v1alpha3.KeptnEvaluationDefinition", "definition name": "missing-evaluation"}
2023-08-10T14:28:17Z	INFO	KeptnEvaluation Controller	KeptnEvaluationDefinition.lifecycle.keptn.sh "missing-evaluation" not found, ignoring error since object must be deleted
2023-08-10T14:28:17Z	DEBUG	events	App Deployment: has finished / Namespace: kuttl-test-suited-crab, Name: podtato-head-1.3-6b86b273, Version: 1.3	{"type": "Normal", "object": {"kind":"KeptnAppVersion","namespace":"kuttl-test-suited-crab","name":"podtato-head-1.3-6b86b273","uid":"816f2276-2b1b-4d82-becd-95fc936b6b09","apiVersion":"lifecycle.keptn.sh/v1alpha3","resourceVersion":"2359"}, "reason": "AppDeployFinished"}
2023-08-10T14:28:17Z	INFO	KeptnAppVersion Controller	Emitting event using *common.cloudEvent

Here is the state of the KeptnWorkloadInstance in a more readable format:
{
			"kind": "KeptnWorkloadInstance",
			"apiVersion": "lifecycle.keptn.sh/v1alpha3",
			"spec": {
				"app": "podtato-head",
				"version": "0.1.0",
				"preDeploymentEvaluations": [
					"missing-evaluation"
				],
				"resourceReference": {
					"kind": "ReplicaSet",
					"name": "podtato-head-entry-6897d7ddc8"
				},
				"workloadName": "podtato-head-podtato-head-entry"
			},
			"status": {
				"preDeploymentStatus": "Succeeded",
				"deploymentStatus": "Pending",
				"preDeploymentEvaluationStatus": "Pending",
				"postDeploymentEvaluationStatus": "Pending",
				"postDeploymentStatus": "Pending",
				"startTime": null,
				"endTime": null,
				"currentPhase": "WorkloadPreDeployTasks",
				"phaseTraceIDs": {
					"": {

					},
					"WorkloadPreDeployTasks": {

					}
				},
				"status": "Succeeded"
			}
		}


Legendary Plushies

Describe the bug
Legendary Plushies reverting into base Bulbasaur plushies when retrieved after placing down and will delete itself if placed down as Bulbasaur plushies.
To Reproduce
Steps to reproduce the behavior:

Place down legendary plushy.
Retrieve Plushy.
See error.

Expected behavior
Let legendary plushy not turn into bulbasaurs when retrieved and retain their legendary.
Server name (all applicable):
All

This has been confirmed and forwarded to Internal, thank you!

no longer an issue, closing


feat: Add kubernetes-event-exporter

What does this PR do?
Adds a module to install kubernetes-event-exporter helm chart. It can print kubernetes events to stdout, which can be exported a log tool.
🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted.
Consult the CONTRIBUTING guide for submitting pull-requests.

Motivation
I would like to use this module for an observability submodule in eks-workshop v2.
For Moderators

[ ] E2E Test successfully complete before merge?

Additional Notes
I added the module to the argocd example and deployed for testing purposes. It worked.

thank you for the PR - at this time we are not accepting new contributions for addons. You can see more details in #1421


Discussion: for skinning, verts not assigned to a bone are exported wrong

In Blender, vertices that aren't assigned to any bones act as if they weren't skinned. In glTF however, every vert needs to be assigned to at least one bone. Currently these verts are being exported with zero weights, which is invalid. #1150 adds a stopgap against invalid files by assigning them to the 0th joint, but doesn't fix the real issue.
UnassignedVertTest.zip

^^^ The two lower verts on the quad are unassigned.
Solution
To really fix this, we need to insert a new bone into the armature at the root with the default TRS. Any vert assigned to this bone would act as if it weren't skinned, so let's provisionally call this a "neutral bone". Then we just need to treat unassigned verts as if they were assigned to the neutral bone.

We also only want to insert the neutral bone when necessary, ie. when there are unassigned verts.
Alternatives
I believe this (or minor variations on this) are the only possible solution. We obviously need a new bone to assign these verts to. The only real variation is where to put the neutral bone (as a new root of all the other bone trees, as the root of a new parallel one-bone tree).
We could also try to detect if an existing bone could serve as the neutral bone. This would be nice because files that happened to be fixed by #1150 like the tree from #308 wouldn't need to get a new bone. It's kind of ambitious though, so maybe a future enhancement.
The other thing we could do is declare this unsupported and print a warning for unassigned verts. We could probably avoid the warning in some cases (again, assuming we can detect an existing neutral bone). This is nice because its simpler.

So, how to actually implement the solution?
I have a branch with a prototype: neutral-bones
The implementation is kind of strange though.
We find out if we need a neutral bone in extract_primitive. We can't add the neutral bone there though, so we just put a mark (__needs_neutral_bone) on the skin that we needed it and go ahead and act if it were there.
Then after a whole scene has been collected, we make a second pass over the nodes with add_neutral_bones_to_node_tree. It looks for skins with that mark and their armature nodes. Then it creates a new Node for the neutral bone, inserts it into the arma node's child list, inserts it into the skin's joint list, and adds a new inverse bind matrix for it to the skin.
This is kinda unusual and nothing else in the exporter works like this, but I can't really think of how else to do it.
What does everyone think?

Approve #1150 for 2.90, and let's discuss the solution for 2.91
Your solution about creating a neutral bone when needed was what I had in mind when discussing #308, so let's go with this solution.
I will test your prototype soon. Thanks!

Poke. What is the status of this?

I'm not planning on working on this.

Think it would be better to add the armature node to the skin.joints array as the "neutral bone" (when necessary) and not add a new node. But I have no idea how to do this because the gather_node code is so incredibly convoluted.

Think it would be better to add the armature node to the skin.joints array as the "neutral bone" (when necessary) and not add a new node. But I have no idea how to do this because the gather_node code is so incredibly convoluted.

@julienduroure Can you prioritize this? I guess for 3.2? I don't know the roadmap.


Added my self to contributors

Hey,
After pav's msg last week in the MM i added my self to the list i guess :)
To many more prs and fun :D
https://chat.btcpayserver.org/btcpayserver/channels/town-square/54oyriysefndmgx1fzyin5dhoo

@dennisreimann any idea why the build is failing?

It looks like the Transifex token isn't accepted, but locally the same token works for me. With kukks PR yesterday it also worked, weird. Let's merge and see if it's different on master.

It works on master. 😬


Add links closes on URL input focus.

I can't insert a link because when I try to type the URL in, it just closes.

Same as issue 187


Populate ctree structure before accessing it.

Fixes #12 by calling refresh_func_ctext() after decompile().

This is great! Thanks for contributing :)


Automations are no longer exposed in Homekit

Hi,
Thanks for the great plug-in, I use it to expose Hue automations (wake-up and go to sleep) as two switches in HomeKit. Recently I found those switches disappear in HomeKit, I’m not sure if it was due to the upgrade of the plug-in or maybe Hue app caused the issue. I have not touched the Homebridge configuration for quite some time. Any suggestion where to look? Thanks

Not sure what you mean by “automations”?  Hue bridge rules, or CLIPGenericFlag sensors used for meethue routines?  Double-check in the debug dump file, or in the Hue app, that these are still on the Hue bridge.  Then double-check in the debug logfile that Homebridge Hue is exposing them.

Not sure what you mean by “automations”? Hue bridge rules, or CLIPGenericFlag sensors used for meethue routines? Double-check in the debug dump file, or in the Hue app, that these are still on the Hue bridge. Then double-check in the debug logfile that Homebridge Hue is exposing them.

Hi Erik, thank you for your reply! Not sure how to check if Hue Bridge still has them, I do see them in Hue app though, but after the new version I think they merged the "routines" with "Hue Labs".   I you attach the dump file, I could have a look.

They might have implemented the routines differently with the latest version, using CLIPGenericStatus sensors instead of CLIPGenericFlag? I you attach the dump file, I could have a look.

Sorry but where can I find the dump file?

Yeah, that's it.  See also the FAQ.
I see five CLIPGenericStatus sensors: three HUELABSVTOGGLE (v2.0) and two HUELABSENUM (v1.0).  Each go to sleep formula uses a toggle and an enum; the colorloop formula only uses a toggle.  Looking at the rules, I suspect the toggle only takes values 0 and 1, but I don't understand why they don't / no longer use a CLIPGenericFlag for this.
If the toggle indeed only uses two values, I could expose it as a switch (just like a CLIPGenericFlag).

Yeah, that's it. See also the FAQ.
I see five CLIPGenericStatus sensors: three HUELABSVTOGGLE (v2.0) and two HUELABSENUM (v1.0). Each go to sleep formula uses a toggle and an enum; the colorloop formula only uses a toggle. Looking at the rules, I suspect the toggle only takes values 0 and 1, but I don't understand why they don't / no longer use a CLIPGenericFlag for this.
If the toggle indeed only uses two values, I could expose it as a switch (just like a CLIPGenericFlag).

Ok looks like they've made some changes, it would be great to have switches in HomeKit to trigger those formulas. Just let me know if you want me to test the change, thank you very much in advance!

Could you try beta v0.13.24-0?  It should expose the toggles as switches.  Make sure to expose CLIPGenericStatus sensors, or whitelist the toggles (see https://github.com/ebaauw/homebridge-hue/wiki/Resource-Links).

Could you try beta v0.13.24-0? It should expose the toggles as switches. Make sure to expose CLIPGenericStatus sensors, or whitelist the toggles (see https://github.com/ebaauw/homebridge-hue/wiki/Resource-Links).

Hi Erik,
Thanks a lot for quick fix! I can confirm the start/stop for the Hub Lab formulas work for me. HUELABSENUM is exposed as "dimming" devices and they don't seem to work, so I guess I need to find a way to hide them. I don't seem to get the wake-up formula to work though, it's exposed an "alarm", I recall previously it's exposed as a switch so I can automate wake-up routine in HomeKit. Please kindly find the screenshots and dump file (with wake-up formula) attached.

homebridge-hue.json.gz
Have a great weekend!

HUELABSENUM is exposed as "dimming" devices and they don't seem to work, so I guess I need to find a way to hide them.

Use a blacklist resource line, see the Wiki.  They work just fine; Apple's home app just doesn't support them (see below).  Typically these CLIPGenericStatus sensors are used to record a state (0, 1, 2, ...) to keep track which step in a routine should be taken next.  The state is used to trigger a next rule, likely delayed, which then updates the state.

I don't seem to get the wake-up formula to work though, it's exposed an "alarm", I recall previously it's exposed as a switch so I can automate wake-up routine in HomeKit.

The wake-up routine is triggered by a schedule, /schedules/2.  Set schedules in config.json to expose these to HomeKit, so you can en/disable the schedule from HomeKit.  Note that I don't expose schedules as switches, or Siri would act on them when you tell her to turn off a room.  They're exposed as separate services on the bridge accessory.
Schedules and CLIPGenericStatus sensors are exposed using custom HomeKit services and characteristics.  Apple's Home app doesn't support these; you need to use another app, like Eve.  If you create the HomeKit automations in Eve, they'll execute just fine.  If you create a HomeKit scene with custom characteristics in Eve, you can recall it from Home, or even from Siri.

Hi Erik,
Thank you for your reply!

They work just fine; Apple's home app just doesn't support them (see below).
I also use Eve and I can see those dimming devices, they don't seem to response to my actions, but the status changes between 0 and 1. I haven't figure out a logic when they change though, it's not in sync with start/stop switches for sure. I'm reading the page on resource link but don't fully understand how does it work and how to black list those HUELABSENUM sensors. Do I have to run the command from the hosting machine of HomeBridge? And does it have any side effect if I black list the resources? Can I suggest in homebridge configuration allow users to differentiate between different types of CLIPGenericStatus (HUELABSENUM and HUELABSVTOGGLE) - it's much easier to exclude them there.

Set schedules in config.json to expose these to HomeKit, so you can en/disable the schedule from HomeKit.
I enabled "schedules" and now I can turn on/off the schedule from Eve. I think it would be nice to find a way to manually trigger the wake-up routine, so I don't rely on the schedules in Hue app. The issue with schedules is that it needs to be turn on and off after the execution. I recall it was possible to have the switch to trigger the formula previously, not sure why Philips made such change. Do you know a better way of triggering turn on with brightness transition for 30mins (0% -> 75%)?

Appreciated your help on this!

Do you know a better way of triggering turn on with brightness transition for 30mins (0% -> 75%)?

The way I've implemented this: use a CLIPGenericFlag as virtual switch to trigger the wakeup.  I've created three rules:

One that triggers immediately when the flag is set, and turns on the lights at minimum brightness.  Next to that, I run a HomeKit automation to turn on the bedroom speakers;
One that triggers 1 second after the flag has been set, and turns on the lights to maximum brightness, with a transition time of 10 minutesl
One that triggers 10:01 minutes after the flag has been set, and turns on regular room automation: opening the curtains when the sun has already risen, and turn the lights off when it's light enough (after the curtains are open), or on when it gets too dark (in the evening, during a thunderstorm or solar eclipse - although I still haven't tested that last scenario).

I actually use two bridge schedules to set the flag: one for workdays and one for the weekend.  Occasionally I set the flag from a HomeKit schedule, if I need a different wakeup time.  In this case I (temporary) disable the bridge schedule.


RTL not paying invoices

I've been trying to pay LN invoices (such as from yalls.org) and RTL doesn't pay them. Last week it was giving an error (don't remember the details). Now, it just doesn't do anything.  I can pay through the raspiblitz menu or the terminal commands, though.

please provide more details.
Browser used, error messages etc.
Also seems like to be an RTL problem not raspiblitz

@inpharmaticist i been trying to create a pay article on yalls and it never worked. Have you tried other lnd wallets besides RTL?

Same for me.. I can pay a yalls.org invoice using lncli payinvoice  and can browser RTL (e.g. balances and channels) but paying an invoice from RTL fails.
There is an error in the log which I will have a look at.. check yourself: sudo journalctl -f -u RTL

The is an issue on RTL and there appears to be a fix in RTL version 0.7.1 https://github.com/Ride-The-Lightning/RTL/issues/283 "Firefox Payment Failure Issue"

Can config.. Tor Browser (Firefox) does not work. Chrome works.

Try updating RTL with:
sed -i s/v0.7.0/v0.7.1/g /home/admin/config.scripts/bonus.rtl.sh
and reinstall from the menu.

Yes.. that fixed it for me: https://github.com/rootzoll/raspiblitz/commit/ca8f5dd39118ed94dc5e3f08a91e843587a1b2d8

please provide more details.
Browser used, error messages etc.
Also seems like to be an RTL problem not raspiblitz

It was on Linux Mint using Firefox.  Followed:

sed -i s/v0.7.0/v0.7.1/g /home/admin/config.scripts/bonus.rtl.sh
Removed and re added from "Activate/Deactivate Services" menu

Working now. Thanks.

Correction! I am having the same issue my apologies for providing mis information.


Error gameserver.js

Lucas967 I get the following error attached an error image
https://i.imgur.com/0kJ8wsb.png

@ChikoxD link is invalid.

@ChikoxD oh wait nvm, this doesn't happen on the current version. Reinstall your server then try again.

Why is this a Pull Request?

You're on a completely different branch.

Dude what even?


Added image links and additional text to Chapter 2

I would do it locally.  That way you can actually see the image as you are writing a notebook.  Seems odd that colab would break that though.  We will have to change ALL the images in the notebooks and add that to the dev guidelines...

For changing it - I would open a new PR, use grep/sed or a python script to change all the current way to load images into the way you will be doing it here for colab...


✨ Add gitmoji source json

Gitmoji is a popular emoji guide for commit messages.

Thats really cool. Thanks :) Sources are autogenerated (see https://github.com/nvim-telescope/telescope-symbols.nvim/blob/master/script/downloader.lua) so it would be cool if you can write a script for that source, so we can update it easily.
I was thinking:

vim.fn.json_decode curl download
create a new table with our format
vim.fn.json_encode table
write table to file

@Conni2461 I added the downloader script. I'm not responsible for the API, though, so I can't guarantee for it to keep working forever :)

Thanks :)


There is a vulnerability in jQuery 3.3.1 ,upgrade recommended

https://github.com/oracle/weblogic-deploy-tooling/blob/e95316d6fc14885d5ede465b7a8ac2b5a2e88b81/documentation/1.9/themes/hugo-theme-learn/static/js/jquery-3.3.1.min.js#L1
CVE-2020-11023  CVE-2020-11022  CVE-2019-11358
Recommended upgrade version：3.5.0

Upgraded jQuery to 3.6.0.


Fix 'req.get is not a function' when running example

Fixes https://github.com/tes/compoxure/issues/93, thanks @strife25 for the hint.

@gabceb is it fine now?

🙌🏻 thanks @env0der


License file is missing copyright owner

Is the license actually valid without it?
https://github.com/googlemaps/google-maps-ios-utils/blob/d06e315c9d340d5a08a1a458d530cd8ce4f71049/LICENSE#L179

Nevermind. Reading the full thing helps 🙄


Push notifications with user input

Hi,
If possible for the mobile application (or desktop too), it would be great to have push notifications. Even better would be the possibility to receive user input in text fields or any other form of user input widgets.
Thank you for considering it.

Duplicate of https://github.com/flet-dev/flet/issues/516