Question

Does this extension only applies to STAC => V1.0.0 ?

Yes, but you may run into schema issues with the type flag added in 1.0.0 RC1. This applies to all extensions.


Annoying survey keeps reappearing every 10 mins

A user experience survey for Jupyter Extension keeps reappearing even after submitting it twice and saying 'No Thanks' on subsequent pop-ups. It happens on VS Code start-up and almost after every 10 minutes of usage. Please fix this.
Version: v2020.11.372831992

Duplicate of #4034


Fix buggy system test in CI

Definition of Done / Acceptance Criteria

[ ] Understand the bug and fix it (see details)
[ ] Try running action a few times in CI to make sure that doesn't crop up

Testing
No response
Documentation
No response
Dependencies
No response
Details and Comments
With the exact same version of the code the system tests sometimes have a failure. Haven't looked but I think it might be fixed by checking ('ANONYMIZED', 'include123') is in the set, rather than the two sets are equal. Would need to check that makes sense for the requirements of the test
 FAILED system_test.py::TestFtpsUpload::test_ftps_dicom_upload - AssertionError: assert {('ANONYMIZED', 'include123')} == {('ANONYMIZED...'include123')}

  Extra items in the right set:
  ('ANONYMIZED', 'AP')

  Full diff:
    {
  -     (
  -         'ANONYMIZED',
  -         'AP',
  -     ),
        (
            'ANONYMIZED',
            'include123',
        ),
    }

passing action
failing action

This came up again here in #489, so I'll make a PR to fix it shortly

The test failed again here. It seems that the issue is that the zip file for procedure 4 is missing a DICOM - the should be two DICOM files but for some reason there's only one:

failing test logs

2024-08-28 11:12:28.156 | INFO     | system_test:test_ftps_dicom_upload:146 - Checking tags in zip file /tmp/pytest-of-runner/pytest-0/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.29449585099128098659945240939338361886.zip for procedure 4
2024-08-28 11:12:28.156 | INFO     | pytest_pixl.helpers:run_subprocess:40 - Running command ['unzip', PosixPath('/tmp/pytest-of-runner/pytest-0/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.29449585099128098659945240939338361886.zip')]
2024-08-28 11:12:28.163 | INFO     | pytest_pixl.helpers:run_subprocess:56 - Success, returncode = 0
2024-08-28 11:12:28.164 | INFO     | pytest_pixl.helpers:run_subprocess:57 - stdout =
Archive:  /tmp/pytest-of-runner/pytest-0/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.29449585099128098659945240939338361886.zip
Created by Orthanc
inflating: 73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 > ANONYMIZED/ANONYMIZED STUDY/DX include123/DX000000.dcm
2024-08-28 11:12:28.164 | INFO     | pytest_pixl.helpers:run_subprocess:58 - stderr =
2024-08-28 11:12:28.164 | INFO     | system_test:_check_dcm_tags_from_zip:161 - In zip file, 1 DICOM files: [PosixPath('/tmp/pytest-of-runner/pytest-0/unzip_dir0/73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 ANONYMIZED/ANONYMIZED STUDY/DX include123/DX000000.dcm')]

passing test logs
But running this locally when the test passes:

2024-08-28 13:05:43.948 | INFO     | system_test:test_ftps_dicom_upload:146 - Checking tags in zip file /private/var/folders/3x/026zvn0n35v9cg_b27xv40vm0000gn/T/pytest-of-paul/pytest-24/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.58757953029345922266968443462295116445.zip for procedure 4
2024-08-28 13:05:50.915 | INFO     | pytest_pixl.helpers:run_subprocess:40 - Running command ['unzip', PosixPath('/private/var/folders/3x/026zvn0n35v9cg_b27xv40vm0000gn/T/pytest-of-paul/pytest-24/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.58757953029345922266968443462295116445.zip')]
2024-08-28 13:05:50.928 | INFO     | pytest_pixl.helpers:run_subprocess:56 - Success, returncode = 0
2024-08-28 13:05:50.928 | INFO     | pytest_pixl.helpers:run_subprocess:57 - stdout =
Archive:  /private/var/folders/3x/026zvn0n35v9cg_b27xv40vm0000gn/T/pytest-of-paul/pytest-24/ftps_server0/pixl_user/test-extract-uclh-omop-cdm/1.2.8<IP_ADDRESS>80043.8.498.58757953029345922266968443462295116445.zip
Created by Orthanc
inflating: 73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 ANONYMIZED/ANONYMIZED STUDY/DX AP/DX000000.dcm
inflating: 73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 ANONYMIZED/ANONYMIZED STUDY/DX include123/DX000000.dcm
2024-08-28 13:05:50.929 | INFO     | pytest_pixl.helpers:run_subprocess:58 - stderr =
2024-08-28 13:06:03.187 | INFO     | system_test:_check_dcm_tags_from_zip:161 - In zip file, 2 DICOM files: [PosixPath('/private/var/folders/3x/026zvn0n35v9cg_b27xv40vm0000gn/T/pytest-of-paul/pytest-24/unzip_dir1/73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 ANONYMIZED/ANONYMIZED STUDY/DX include123/DX000000.dcm'), PosixPath('/private/var/folders/3x/026zvn0n35v9cg_b27xv40vm0000gn/T/pytest-of-paul/pytest-24/unzip_dir1/73e47d08d673b3e66af5494e38e5bc641cc8b18a3ca55d76de0c952783df9f25 ANONYMIZED/ANONYMIZED STUDY/DX AP/DX000000.dcm')]

Any ideas why a DICOM series would be missing?


Mongodb removal

Latest version of mongodb removal.
This may not be complete. Needs testing.

Closing, #10 is the replacement


Adding WEB-INF into restricted-files.data

WEB-INF directory is used by Java application to store non-public application data. From the specification:
A special directory exists within the application hierarchy named “WEB-INF”. This directory contains all things related to the application that aren’t in the document root of the application. The WEB-INF node is not part of the public document tree of the application. No file contained in the WEB-INF directory maybe served directly to a client by the container.
This fixes #2089.

Thanks for the fix @azurit.
Can we do WEB-INF/ like many of the other folder patterns do?

Done!

Thank you. Ready to be merged as far as I am concerned.

great!


⚠ Bofrost.lu has degraded performance

In 66295d1, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1160 ms

Resolved: Bofrost.lu performance has improved in a2ed718 after 56 minutes.


WordEmbeddingExtractor returning same object

I did this,
raw1 = "these are the favorite things"
raw2 = "this is nice"
text1 = ComplexTextStim(text=raw1)
text2 = ComplexTextStim(text=raw2)
ext = WordEmbeddingExtractor(embedding_file)
embed1 = ext.transform(text1)
embed2 = ext.transform(text2)
However, it seems that the embed1 and embed2 are identical objects here (both contain raw1).

Sorry but I cannot seem to recreate this issue. Since you are passing in ComplexTextStim, the output should be lists of ExtractorResults. Is this the case? Embed1 should have 5 ExtractorResults and the list from embed2 should have 3.
As a check, can you see if disabling caching before running those commands fixes this? This can be done via:
from pliers import config
config.set_option('cache_transformers', False)

Thanks, setting the 'cache_transformers' to False worked!

Hey @debanjanghosh were you using pliers installed from PyPi? Just checking because we had a fix for this caching bug that is in master but hasn't been released to PyPi. @tyarkoni might be a good idea to push a release?

No, I did "pip install pliers".


Location Search crashes

On all the devices I tested so far,  Les Pas crashes more ore less immediately, when I try location search. The first time it set up some locations, then it crashed, next time it crashed approx 1sec after showing one location folder.
My pictures are all synced locally to the device (approx 20k pics in 7GB).
If I can activate any logging, please let me know. les pas is installed via F-Droid.
Version is 2.9.6

Hi, steve, how are you doing?
I just did a location search in my phone, it works. So i guess there must be something wrong with EXIF reading. Have you tried location search function with previous version of Les Pas? You can try install a logcat app like this one, I believe it can catch crash log.

Yes, it's helpful. I will start debugging next week. I'm currently not with my computer.

Yes, it's helpful. Thank you. I will start debugging next week. I'm currently not with my computer.

Whaaaaat? :-)))
Enjoy!

The crash was caused by zero result return from OpenStreetMap geocoder API, not sure whether this is a temporarily network/server problem or some changes of the new version of OSM library (updated in the latest release of Les Pas). Anyway, a fix will be included in next Les Pas release. However, this fix only addresses the crash issue, geocode result might still not available, that means those photos can't be grouped into places.

Hi Jeff,
unfortunately no change with 2.9.7:
01-28 14:53:15.652 31645 32756 E AndroidRuntime: FATAL EXCEPTION: DefaultDispatcher-worker-1 01-28 14:53:15.652 31645 32756 E AndroidRuntime: Process: site.leos.apps.lespas, PID: 31645 01-28 14:53:15.652 31645 32756 E AndroidRuntime: java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:266) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at java.util.Objects.checkIndex(Objects.java:359) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at java.util.ArrayList.get(ArrayList.java:434) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at site.leos.apps.lespas.search.LocationSearchHostFragment$LocationSearchViewModel$job$1.invokeSuspend(LocationSearchHostFragment.kt:209) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684) 01-28 14:53:15.652 31645 32756 E AndroidRuntime: 	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@af7fb05, Dispatchers.IO]
Cheers
Steve

That's bad. I'm gonna put a safety check for zero size array before reading it this time. And will also upgrade the underneath OSMAdroid library.

Yes, the more robust, the better. You never know, how messed up all this meta data could be ;-)
Gesendet vom Smartphone, deswegen etwas kürzer. Schnelle Antwort gibt's auch per Telefon oder Signal +49 173 200 34 91
17.02.2024 14:30:54 scubajeff @.***>:

That's bad. I'm gonna put a safety check for zero size array before reading it this time. And will also upgrade the underneath OSMAdroid library.
—
Reply to this email directly, view it on GitHub[https://github.com/scubajeff/lespas/issues/158#issuecomment-1950171306], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AGNBZVOM3L2Y2D3VB5OSTT3YUCWIRAVCNFSM6AAAAABBOHMYGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJQGE3TCMZQGY].
You are receiving this because you authored the thread.
[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEgAAABICAYAAABV7bNHAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAArSURBVHic7cEBDQAAAMKg909tDjegAAAAAAAAAAAAAAAAAAAAAAAAAAA+DFFIAAEctgHwAAAAAElFTkSuQmCC###24x24:true###][Verfolgungsbild][https://github.com/notifications/beacon/AGNBZVKL4USORMQSNYNHKUDYUCWIRA5CNFSM6AAAAABBOHMYGGWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTUHVAKU.gif]

thanks! now there are no crashes anymore!


HazelcastSink - write to map

Hi,
We are currently using Hazelcast as an in-memory cache for our databases. We make use of Hazelcast maps to store our data and lean heavily on the ability to create indexes on these maps: http://docs.hazelcast.org/docs/latest/manual/html-single/index.html#indexing-queries. I was curious why the sink currently only supports writing to reliable topics and wanted to get your thoughts on adding a feature to write to maps.
thanks!

@stampy88
We do support multiple taegets. That includes: reliable topic, ring buffer, queue, set, imap,multi map and icache. All you have to do is say in kcql 'STOREAS $'. See hazelcastsinksettings.scala for the labels for each

Oh really? Cool. I didn't look at the code and was only going by the docs:
http://docs.datamountaineer.com/en/latest/hazelcast.html
 The connector takes the value from the Kafka Connect SinkRecords and inserts a new entry to a HazelCast reliable topic. The Sink only supports writing to reliable topics.
Thanks!

@stampy88 Can you raise an issue on the docs repo for this? Or submit a PR for it?

@andrewstevenson I'll have a PR in a bit

@andrewstevenson https://github.com/datamountaineer/docs/pull/18


add certificate provider

Thought it might be useful to have an certificate provider 😁
~Some improvements would be to create our own enum for store name as the symbol naming is not that great.~
:shrug:
~Would be nice to have the option for HTTP client to disable certificate checks because of bad certificate chain as seen with the recent DST Root CA X3 cert expiration 😅~
Done
~I could foresee it get somewhat complicated with password and etc but should be doable, this was an initial attempt at making sure root certificate could get patched.~
Done
We have some systems that do not have general internet access.
Could potentially also be a separate nuget package if you feel it adds too much.
Haven't gotten around to tests, would like to pick your brain on how we could test the functionality.
Perhaps creating an interface for the certificate store so it could be mocked? As it often requires administrator.

@jetersen Sorry for taking so long to get around to this.

@jetersen Sorry for taking so long to get around to this.

@patriksvensson No worries at all.

@patriksvensson To add further testing would require changes to the ci.yaml to test on Windows as well :thinking:

Ya the PR implementation has the features I had had in mind. Should allow for fetching certificates for multiple use cases. So if you're happy with the code and naming. Feel free to merge.


I can't install vue-cli (-g) [Sierra]

I have error after npm install vue-cli -g.
 Darwin 16.4.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "-g" "vue-cli"
npm ERR! node v6.9.4
npm ERR! npm  v3.10.10
npm ERR! code ETIMEDOUT
npm ERR! errno ETIMEDOUT
npm ERR! syscall read

npm ERR! network read ETIMEDOUT
npm ERR! network This is most likely not a problem with npm itself
npm ERR! network and is related to network connectivity.
npm ERR! network In most cases you are behind a proxy or have bad network settings.
npm ERR! network
npm ERR! network If you are behind a proxy, please make sure that the
npm ERR! network 'proxy' config is set properly.  See: 'npm help config'

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/......../npm-debug.log

And I don't have any VPN or network related restrictions.
PS.
npm install -g<EMAIL_ADDRESS>doesn't help (as suggested in #307)

This is likely an NPM issue - vue-cli itself can do nothing to prevent itself from being installed.

FYI, I still couldn't install vue-cli on 10.12.4 Sierra. But I discovered, that it's an issue of NPM, and at least changing existed registry https://registry.npmjs.org/ (with https) to:
npm config set registry http://registry.npmjs.org/

helped me, and I finally installed Vue-CLI :)


Can't bind Ctrl-` or Ctrl-~

Description of the problem or steps to reproduce
I was hoping to bind Ctrl-`  and CtrlShift-`  to NextTab and PreviousTab but can't figure out how to bind ` or ~
From > raw these are the codes

Key
Code

`
`

Ctrl-`
\x00

CtrlShift-`
\x1e

Been looking at the docs to bind raw keycodes but can't figure out how to bind this key if it's possible
I'm guessing this is not possible due to terminal limitations for some reason? Would love some help or at least confirmation of that. Thanks for the awesome tool!
You can use micro -version to get the commit hash.
Commit hash: af520cf (1.4.0)
OS: Debian
Terminal: gnome-terminal

Figured out part of this, CtrlShift-~ maps to CtrlCarat in gnome-terminal which is fine, so previous-tab works. Here's relevant bit from tcell
This works just fine in bindings.json:
"CtrlCarat": "PreviousTab"
Ctrl-~ maps to Ctrl-@ in gnome-terminal, but I don't see that in tcell's key.go. This binding works in tmux, so it is possible. This boils down to a tcell issue it looks like
bind-key -n C-@ next-window for example in tmux makes both ctrl-@ and ctrl-~ bind to next-window

Finally figured it out. This works since CtrlSpace is also<EMAIL_ADDRESS>To get this to work CtrlSpace and CtrlCarat are effectively the same as the backtick/tilde key as far as the terminal is concerned
"CtrlSpace": "NextTab",
"CtrlCarat": "PreviousTab",


Fix interaction bug

This branch seems to be for issue #112. @gspies, is this ready for code review?

this PR addresses issues #115 and #112

Fix for #115 looks good.

fix for #112 will be addressed in a separate PR. +1 for #115 fix.

@ahwagner this appears to be two unrelated changes. The fix for #115 and some changes to the importer. We don't need the importer changes AFAIK and this https://github.com/griffithlab/dgi-db/pull/116 PR contains just the drug fix we want. I think we should close this one and merge the other. Thoughts?

Agreed.


fix: poll interval to request Notion

In order to know when the export is finished, the poll interval to Notion was set to 50ms. Notion didn't bother this one (I guess they didn't pay attention ever before) but from little time ago, on this very frequent request a 429 is being received. So, as the export use to take from seconds to minutes, was tested than a value of 5000ms is ok and don't bother Notion (for now...).

Thanks for the PR. I have also seen the 429 behaviour recently.
However, I feel like 5000 is quite a big increase. Could we set the default to 100 and make the value configurable via the Config (see here)?

Thanks for the PR. I have also seen the 429 behaviour recently. However, I feel like 5000 is quite a big increase. Could we set the default to 100 and make the value configurable via the Config (see here)?

I already tried to set it to 500 ms and didn't work (see here).
You're right regarding to the Config. I'll amend it

Thx for contributing! Just released this: https://github.com/yannbolliger/notion-exporter/releases/tag/v0.6.2


Diagram.RegisterComponent no longer exists in 3.0. What is the replacement?

To register a view with a component, say a group or node, one could perform diagram.RegisterComponent<Foo, FooView>. However, in the beta this method has been removed, and I can't see its replacement (or new way of implementation, say a factory) nor in the examples since those examples haven't been in updated yet.

Hello,
Since the new version, Diagram (available in the Core package) doesn't reference Blazor, so those methods have moved to the new implementation of diagram, BlazorDiagram.
See https://github.com/Blazor-Diagrams/Blazor.Diagrams/blob/develop/src/Blazor.Diagrams/BlazorDiagram.cs#L30

Thanks, issue fixed


Make LinuxSyscallsScript mark no-return functions

This patch makes the script ResolveX86orX64LinuxSyscallsScript.java recognize syscalls that do not return, and mark these functions as no-return. The list of non-return functions is read from ElfFunctionsThatDoNotReturn.

I would have expected the "Non-Returning Functions - Known" to be a "One Shot" analyzer so that it would occur automatically upon function creation if enabled. I was actually going to say that this already should be occurring but it doesn't.

Any reason to have getNoReturnFunctions return a List instead of a HashSet?  I'm thinking about the complexity of the contains() method (granted the collection is pretty small...)
Also, apologies for the late response.

@ghidracadabra Thank you for the review! You are right. Using List is a mistake, and HashSet should definitely be used. I have updated this PR to use HashSet.

How many linux syscalls are no return? Even using the standard no return function list might be overkill if it is one or two syscalls.

@astrelsky I totally agree. As far as I know, there are two syscalls that don't return: exit and exit_group. I will change the patch to implement your suggestion.

@astrelsky I totally agree. As far as I know, there are two syscalls that don't return: exit and exit_group. I will change the patch to implement your suggestion.

Afaik exit_group isn't even in the list of elf no return functions.

exit_group is indeed not in Elf no return list. Maybe it's because this syscall is Linux only, I guess.

This simplification is the way to go.
Would you mind changing it so that the non-returning syscall names are in a set defined at the beginning of the script, and the script checks whether funcname is in that set?  I'm being perhaps a little pedantic here, but this script is intended to be a template for people to follow when writing their own scripts to deal with other types of syscalls.  The idea is that the fields defined at the beginning of the script represent everything you need to know to handle syscall-like functions...

Done.

Thanks!  I'll start the merge process.

PR was squashed and merged into master


Release 0.6.1

Release 0.6.1

Released with
$ python3 setup.py sdist bdist_wheel
$ twine upload --skip-existing dist/*


Fix typo in snackbar on create movie screen.

When clicking the refresh icon in the videos count card, if 1 video is available only, it still shows '1 videos found', plural.
I fixed that.
Awesome idea by the way.
:)

Thanks for your contribution!
I'm glad you liked the idea xD
I'll be adding your name to CONTRIBUTORS.md, thanks once again!


disabled-rules for ktlint in .editorconfig is ignored

Since 0.34, ktlint supports disabling rules globally with a setting in the .editorconfig file:
# Comma-separated list of rules to disable (Since 0.34.0)
# Note that rules in any ruleset other than the standard ruleset will need to be prefixed
# by the ruleset identifier.
disabled_rules=no-wildcard-imports,experimental:annotation,my-custom-ruleset:my-custom-rule

(see https://github.com/pinterest/ktlint#custom-editorconfig-properties)
It seems like kotlinter does not pick up that configuration setting and it has to be repeated in the corresponding kotlinter configuration that was introduced in version 2.0.0.
Am I missing something or is this duplication necessary?

Thanks for the report -- it looks like this broken between 2.0.0 and 2.1.0! Embarrassed I didn't catch it. Let me investigate and fix.

Ok, give 2.1.1 a try.
I suspect I'm going to have to address the same issue for other properties that can be in both places such as indentSize.

Thank you for the new release. With this one, I do not get the errors any more, BUT it also doesn't pick up the other rules/restrictions from .editorconfig.
So, my setup is like this:
.editorconfig (relevant lines only):
[*]
max_line_length             = 120

[*.{kt,kts}]
disabled_rules              = max-line-length,import-ordering

With kotlinter 2.1.0:
Lint error > src/main/kotlin/.../ConfigurationBuilder.kt:3:1: [import-ordering] Imports must be ordered in lexicographic order without any empty lines in-between
Lint error > src/main/kotlin/.../ConfigurationBuilder.kt:19:1: [max-line-length] Exceeded max line length (120)

So, this is the case I was describing initially: kotlinter ignores the disabled_rules. And initial testing with 2.1.1 also seems to have confirmed the fix because the run yields no errors.
But I did the counter-check with this .editorconfig:
[*]
max_line_length             = 120

And with kotlinter 2.1.1:
BUILD SUCCESSFUL in 4s

So it seems like the original max_line_length = 120 rule doesn't get picked up at all now?

Do you still have this line in .editorconfig?
disabled_rules              = max-line-length,import-ordering

If not, can you try gradle clean lintKotlin and see if it picks up the line length violations then?
That's the only way I could reproduce the bug. Since gradle isn't aware of the .editorconfig file as build configuration right now there's a wrinkle/bug where if you get a successful gradle lintKotlin run and then don't change any source code and only adjust rules in the .editorconfig file, gradle skips running the lintKotlin task and thinks it can use the cached result :/. Sort of a rare situation though.

I am aware that accepting indent_size for .editorconfig is still broken. Going to have to adjust the strategy for using the .editorconfig file and actually read it to combine with values from the kotlinter extension to fix this bug properly. I can probably fix the build caching wrinkle too in the process.

Thanks for the "workaround", doing an explicit gradle clean lintKotlin actually does the trick and from my testing, kotlinter 2.1.1 does pick up the configurations correctly!

Still happens to me with 2.1.1 though :\
[*.{kt, kts, gradle}]
indent_size = 4
continuation_indent_size = 4
insert_final_newline = true
max_line_length = 140
disabled_rules = import-ordering

I'm still seeing errors from import ordering rule. Excluding them in plugin extension works, using .editorconfig doesn't (I don't have any other exclusions in the extension)
Specifying disabled_rules in [*.{kt, kts}] doesn't fix this either. I cleaned the project and ran the task with --rerun-tasks --no-build-cache flags.

@lwasyl it looks like .editorconfig doesn't like spaces in the file type selector. I was able to get it working with:
[*.{kt,kts,gradle}]
disabled_rules = import-ordering

@jeremymailen guess how IntelliJ reformats that file if you let it. Right, with spaces between the commas in the file type selector.

Yes 😞 that is a bummer @mindhaq. The editorconfig parsing functionality comes from ktlint in this case. They did switch from a custom implementation to using ec4j (https://github.com/pinterest/ktlint/pull/561). It's not in a release yet, but I imagine once we can upgrade to that it will fix the quirk with whitespace breaking the section.

Maybe we need an .editorconfig.editorconfig so that IntelliJ is formatting our .editorconfig correctly.

This can be solved by unchecking After comma under File | Settings | Editor | Code Style | EditorConfig.

This can be solved by unchecking After comma under File | Settings | Editor | Code Style | EditorConfig.

this resolve! thank you


Insomnia goes idle for 2 minutes before every request.

Describe the bug
We have to wait up to 2 minutes for a request to happen.
On my PC it happens to be about 130 seconds. It was less, about 20-40 seconds before, now it's really hard to use.
When I hit "Send" button, "Loading" title appears for about a second, then time count starts and Insomnia goes idle.
During this idle period:

Insomnia ignores the "Cancel" button, therefore request cannot be canceled.
Other menus are available (for example, "Preferences", "Manage Environments")
Insomnia process starts to require 15-40% CPU, doing seemingly nothing. (Intel Core i5-4690K)
Application, which is supposed to receive the request, registers nothing coming. (Unlike insomnia, browser receive responses immediately for same endpoints)

After the request is done:

From the moment it actually "happens", everything is ok.
Insomnia shows timing (next to request status) not including the "Idle" period, several milliseconds.
In "Timeline" tab, in "Current time is " statement, it shows time after the idle period passed.

To Reproduce
Steps to reproduce the behavior:

Click 'Send' in any request. (It reproduces for any request)

Expected behavior
Request starts immediately or shortly, in a few seconds.
Screenshots

Desktop:

OS:

Microsoft Windows [Version 10.0.18363.1621]
MAC OS 2021.4.0

Installation Method: -
App Version: Insomnia 2021.4.0

Confirm. I also have this problem

I also have a similar issue. Recently updated to 2021.4.1, and any New Requests I've added since then will time out after a minute with a 'Error: Server returned nothing (no headers, no data)' error. The exact same query in (for example) Postman instantly returns the correct data.  Old requests still in Insomnia work ok. And funnily enough, if I edit the parameters of an old request to match the new one, it also works.

I was unable to reproduce this.  Any tips?  I sent a request to mockbin.org/delay/3000 and it started immediately and finished after the specified time.

Sorry to hear you're having this problem @LeoAlvesBahia and @DFSko and @Raibo -> could you please try making a complete backup of your insomnia data directory, then verifying that the files in your backup exactly match (really want to be careful here because you can destroy your data if not careful), and then opening insomnia fresh and trying again with a few new requests.  I'm asking for this to make sure that it's nothing about your computer's environment.  We'll keep debugging from there.

@dimitropoulos Not a problem! We're to help each other. As I said on my post I went through some instalation methods. Everytime when I went through a instalation method I erased the Insomnia data directory just to make sure that I did a 'clean' instalation.

Ohh.  Interesting.  Well now.  That certainly raises suspicion.  Thanks!  (since you can uninstall and reinstall without deleting your data I didn't gather I wanted to verify).

Can you confirm that there's any older version of insomnia that did _not_have this problem (or, as @Raibo said above, at least had it less worse)?
This is a long shot, but I'm curious if any of you happen to have a virtual machine or dual boot on a machine that is having this issue?  Don't go through the trouble if not, but I'd be curious to know if a dual boot on the same machine has the same problem in two different operating systems.

Can't tell you that for sure. The problem came with version 2021.4.1 the problem wasnt  on earlier versions for me.
I do have dual boot on different HDs (Windows on SSD Manjaro on HD). I didnt make tests on Windows but I can do later.

That's very helpful.  I'll see what I can dig up in the meantime. :)

I work for the same company as @Raibo. And I ran into the same problems. Did a little research. The requests use data from another request that receives the token. So when I just executed this token request separately, I saw on the screen that this request was called 22 times in 60 seconds and then only its result was shown on the screen. At the same time, Insomnia reported that this request was executed for 3 seconds, although in reality it worked for 63 seconds.
I can assume that the problem is somewhere in the settings that are hidden in the databases of Insomnia. Unfortunately, sending these databases is problematic, as they contain confidential data. Could you provide some kind of tool for viewing and testing these databases in order to try to fix the error on the spot?

Sorry for the delay. @dimitropoulos I forgot to test insomnia on WIndows. Ill do it in 20m max. Sorry about that.
@AlexeyShok Im sorry but I cant. =// I use insomnia for work. I cant have the risk to send confidential data. But how would I do that? Maybe I can erase all data from here and make some tests with other APIs

@dimitropoulos Same thing is happening on Windows! I exported a file from my insomnia on Linux. Before import the file I created Some requests and testes, After 7 sends the problem appeared again. After that I imported the file and the problem is as the same on my Linux boot.

The requests use data from another request that receives the token.

Ohh, ok, so we're dealing with a chained request, then?
Is everyone else having this problem with a chained request.  Do any other requests work (e.g. a GET to example.com)?

I saw on the screen that this request was called 22 times in 60 seconds and then only its result was shown on the screen.

Would it be possible for you to show a screenshot of this?

Could you provide some kind of tool for viewing and testing these databases in order to try to fix the error on the spot?

Not sure if it helps, but it's just new line delimited JSON (i.e. ndjson) and we use NeDB for the actual interaction with the data.  It should be fairly easily to introspect.  You could take a look at the files with https://github.com/AdrieanKhisbe/vscode-ndjson if you open them in vscode.

Ohh, ok, so we're dealing with a chained request, then?
Yes BUT without chained requests the problem still persists with me. Just did a test to example.com with insomnia and postman. At Insomina the problem still persists and at postman just received the html page.

Before import the file I created some requests and tested, after 7 sends the problem appeared again

I see.. so @LeoAlvesBahia, to confirm, you installed insomnia fresh on Windows (i.e. for the first time, or after clearing your data directory) and before you did anything else you were able to get the bug to trigger after making a GET request to example.com.  Right?
You've already done so much to help, but I'd love to verify that this happened with only one particular version.  Would you be able to run a few of these and tell me if it still happens.  It sounds like this happened first around the 2021.4.1 timeframe, but I'm wondering if it was also a problem before that (or not).
To make it easier for you, here are all of the windows portable builds since 2021.2.0:

2021.5.3
2021.5.2
2021.5.1
2021.5.0
2021.4.1
2021.4.0
2021.2.2
2021.2.1
2021.2.0

you installed insomnia fresh on Windows
Yes!
before you did anything else you were able to get the bug to trigger after making a GET request to >example.com
Not to example.com but yes! I didnt have Insomnia on my Windows partition.
I'd love to verify that this happened with only one particular version
I can do that but not right now. Just 9~10h from now. =/
When I do that I send the results here!
Do you need that I do those tests on Linux aswell?

I can do that but not right now. Just 9~10h from now. =/

That's plenty fast!  Thanks!  I really appreciate it.

Do you need that I do those tests on Linux aswell?

Not for right now.  It's so much easier to test this with the portable builds, that if we can at least get this down to a particular version when the problem first appeared, that'll go a long way.

I really like using Insomnia

Wow, thanks!  All of us on the team are really passionate about having the best experience for users that we possible can provide.  This is a really frustrating problem, and I really value your patience in helping figure it out!

Hello @dimitropoulos
Maybe this info help you
Windows 11, Insomina 2021.5.3
Request: GET https://httpbin.org/get without chaining
Request inside my new and clean collection takes 147ms
Request inside my team collection takes more than 1 minute
Team collection has 3 environments with many variables and many saved requests (maybe around one hundred)

@dimitropoulos hello! I'm sorry for the delay. Right now I won't be able to make the tests. Still not at home. I need to get some sleep before get the road. A soon as I get home I do the tests!!

Hello @dimitropoulos. Sorry for the 2 days delay. Im doing the tests right now and dicovered something new, I'll try to explain the best I can.
Lets take the exemple where I do a send on requests2 and request2 is linked with request1. While on the screen of request2 the ime is counting If I click on request1 this request have the new return (I can assure the return is new by the time from the top right) where I can get the data without problem while the request2 has the return but the time keep running. This is happening on all versions.
The type of test that I did was just running all .exe that I downloed withou erasing the data folder from windows. Next I'll erase the data folder before all tests and do GET request to exemple.com
I'll update this post.

I had to stop the testing for now. I tested the version 2021.5.3 with the folder %APPDATA%/Insomnia erased.
made around 10~15 GET to exemple.com and it did without any problem fast. Next I'll build a chained request from scratch to one of my working endpoints.

sorry for the silence, but we've been looking into this pretty much every day (in the mix of things!).
Are you using any plugins?  If so, which ones (and versions)?
Are you using request chaining (with plugins or not)?

Hi, @dimitropoulos.
In my case, I am not using plugins and the requests are chained (ex: for reuse auth token from other response body), although the same thing happens to others are chaining the requests.

Thanks everyone for helping us narrow this down!
@eamigo86, @DFSko are you using an environment and if so is it valid JSON?

Hey folks, posting an update for you all! We've been debugging and exploring this issue for a few months now, and while we have some leads we still don't know for certain what is causing it. We also have not been able to reliably reproduce it except one specific workflow on Windows, which has been resolved with some changes we've made.
We have been exploring some underlying architectural changes to support newer versions of Electron, and while there are more changes to come in the coming months, we will be releasing the first batch of changes with the networking stack in the next week or so.
We think this change (https://github.com/Kong/insomnia/pull/4230) should help. Once the release is out we would appreciate if ya'll could please report back any findings, especially those of you who have been able to hit this issue consistently. Thank you!

Another update: we faced some issues with #4230 after release, so as of 2021.7.2 this has been reverted so is not part of the current stable release. We'll update this issue again when something is available to test, potentially via an alpha or beta release! Thank you all for your patience! 🙏🏽

I've an observation regarding delays due to chained requests, with a sample collection attached too. Might be relevant to this thread too. See: https://github.com/Kong/insomnia/issues/3011#issuecomment-1080368769

Happening with me as well~

Digging into this, seems like there's a performance issue with https://github.com/Kong/insomnia/blob/develop/packages/insomnia/src/common/database.ts#L579, but I think in reality it's NeDB the one crawling.
Here's a video showing the edits I made to the file and measurements:
https://user-images.githubusercontent.com/2120107/196531982-dac6a4da-8f9c-4c35-8918-f5f30a519258.mp4
In this other run which took ~60 to complete:
getting the settings took 1.9 seconds, for this line:
  const settings = await models.settings.getOrCreate();
getting workspace took 2.6 seconds, for this line:
  const workspace = await models.workspace.getById(workspaceDoc ? workspaceDoc._id : 'n/a');
getting the environment took 1.4 seconds, this line:
  const environment: Environment | null = await models.environment.getById(environmentId || 'n/a');

Similar issues. Requests taking (seemingly randomly) from 1-10s while actual request time is <1s.
Simple GET requests against a Go rest'ish API service.
Has been happening for a few months.
Version: Insomnia 2022.6.0
Build date: 9/26/2022
OS: Darwin arm64 21.5.0
Electron: 19.0.3
Node: 16.14.2
V8: <IP_ADDRESS>-electron.0
Architecture: arm64

We are looking into using Insomnia but facing similar issue, simple call takes around 4-6 seconds. Similar behavior with inso cli.
Using the latest release under Ubuntu 22.10:
Version: Insomnia 2022.7.5
Build date: 1/19/2023
OS: Linux x64 5.19.0-29-generic
Electron: 22.0.0
Node: 16.17.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64

inso --version
3.12.0

Any findings / progress on this?

For the first,
Thank you very much for such a good product that you're supporting and giving as ability to use and enjoy!
We are also having the same issue:
Version: Insomnia 2023.1.0
Build date: 3/9/2023
OS: Darwin arm64 22.3.0 (macOS  Ventura 13.2.1 )
Electron: 22.0.0
Node: 16.17.1
V8: <IP_ADDRESS>-electron.0
Architecture: arm64

The request delays for more than one minute.
The same request tested with other web clients and we are sure that the issue is inside the Insomnia.
Thank you.

!!! Atansion !!! Who have issues with this request infinity delay ?
I have found one tmp solution and it works perfect !
In the Settings window, General tab, add 100 to Request Timeout ms.
See the screenshot:

Hi Everyone!
Here are the reasons why I switched to Insomnia from Postman.

You can quickly import curl from browsers devtools, this is a cool feature.
Insomnia is the best in terms of design and user interface, intuitive and this is amazing
I really liked the powerful functionality (using different environments and variables, chain requests), the presence of themes and plugins
Recommended to friends and colleagues, almost 90% switched to Insomnia

but now we have one annoyance / the problem still saddens:
This is a long request processing time of almost 2 minutes, although in other clients such as Postman and Httpiness it completes in 1-2 seconds. I have huge collection: several separate environments, a couple of dozen variables, hundreds of saved requests, some requests are chained (first a token is requested, responseBody->token of this request it is used by another request). Absolutely any request is processed for a long time, which is why you have to use Postman to save time. The problem is observed in all versions of the client in Linux and in Windows tested on both systems, except for Mac OS. This is one of the problems that prevents Insomnia from being almost the best among rest clients. It's been almost 2 years since this problem was discovered, we live with this pain, there is a great hope that the developers will fix it so that we can safely recommend it to everyone.

Similar issue. Here is my solution.
I removed the existing Document and created a new Collection. then it was solved.

Trying to improve this case a bit: #6763

I recently updated Insomnia to v8.6.1 and noticed a significant increase in the time it takes for requests to complete. The peculiar part is that the response time displayed in the output doesn’t match the actual time it takes for the request to complete. For instance, the output shows a response time of 590ms, but in reality, it takes over 50 seconds for the request to complete.
Any workaround for the issue will be highly appreciated.
Already performed the basic troubleshooting: (OS: Windows)

Uninstalled and re-installed the insomnia
Deleted the %App Data%/insomnia folder
Deleted all the cache related to insomnia from my machine

We did make some improvements over time, can you please retest with the latest 9.3.2 (shipping in a few hours today) to see if this gets better?


Could you split this image into 2, one with MinGW and CMake, another one with third-party libs

The issue is resolved now, one can use burningdaylight/docker-mingw-arch:base which contains a bare minimum of mingw- tools.

Thanks. BTW https://gitlab.com/KOLANICH-subgroups/docker-images/ and https://gitlab.com/KOLANICH-subgroups/packages/cpp_build_tools and https://gitlab.com/KOLANICH-subgroups/packages/CMake_deb , but it is all for Debian.


Updated icons and added circular variants

The monochrome icon was initially just a gray-scale version of the normal Todoist logo and all icons had sharp corners while the Todoist logo has slightly curved corners.
This PR replaces all image assets (except for transparent) with official Todoist brand assets (https://doist.com/press/) and keeps the gray-scale version as a gray variant in case anyone still wants to use it.

Icons looks much better now. Thanks a lot!


Question: does meson-python support python namespaces

I am trying to migrate a project with python namespaces from setuptools to meson.
I package it with setuptools with this option in the pyproject.toml

[tool.setuptools.packages.find]
namespaces = True

While trying meson as build backend, I was able to have a working wheel only without the namespace structure. When I tried with the namespace structure I could not import the package because it was not finding the namespace.
Does meson support them?

I don't quite know what [tool.setuptools.packages.find] does - probably some remapping of install directories?

I can take a stab at answering this. With [tool.setuptools.packages.find], setuptools shall find namespace packages by default; with PEP517/518 the behaviour for pyproject.toml-based projects (setuptools.build_meta) is that it can emit a "Package would be ignored" warning but still includes it in the list of paths that get copied and installed subsequently. This is because include_package_data=True is enabled by default for projects with pyproject.toml-based declarative metadata, but this is disabled and set to False for setup.py-based builds or those with the setuptools.build_meta.__legacy__ build-backend (I am not aware of the reasons behind this).
find = {namespaces = false} should disable the lookup of namespace packages, though this is with [tool.setuptools.packages], not through [tool.setuptools.packages.find] (both of which just refer to the same thing, I guess, because of how TOML tables are written).
For my projects, I usually end up using glob-based matching to counteract this, which is more explicit, neat, and works for both usual and namespace packages – and I would imagine Meson does, or should, behave in a similar way:
[tool.setuptools.packages.find]
where = ["myproject", "myproject.*"]  # for flat layouts

which is why it is (almost) always better to use src layouts

I don't quite know what [tool.setuptools.packages.find] does - probably some remapping of install directories?

I can take a stab at answering this. With [tool.setuptools.packages.find], setuptools shall find namespace packages by default; with PEP517/518 the behaviour for pyproject.toml-based projects (setuptools.build_meta) is that it can emit a "Package would be ignored" warning but still includes it in the list of paths that get copied and installed subsequently. This is because include_package_data=True is enabled by default for projects with pyproject.toml-based declarative metadata, but this is disabled and set to False for setup.py-based builds or those with the setuptools.build_meta.__legacy__ build-backend (I am not aware of the reasons behind this).
find = {namespaces = false} should disable the lookup of namespace packages, though this is with [tool.setuptools.packages], not through [tool.setuptools.packages.find] (both of which just refer to the same thing, I guess, because of how TOML tables are written).
I usually end up using glob-based matching to counteract this, which is more explicit, neat, and works for both usual and namespace packages – and I would imagine Meson does, or should, behave in a similar way:
[tool.setuptools.packages.find]
where = ["myproject", "myproject.*"]  # for flat layouts

which is why it is (almost) always better to use src layouts

Thanks for the context @agriyakhetarpal.
I'll convert this to a Discussion topic, since it's a usage question rather than a bug report. @matteoaletti if your question is answered please accept the answer in the UI. And if there's more to discuss, by all means do so.


chore: initial release

@varunsh-coder please review and approve the changes!!

@ashishkurmi

@shubham-stepsecurity I have left a minor comment. Please let me know once you fix it and I will approve the PR.


Have EOF insert a newline before returning

Ctrl+D now leaves the shell prompt with >  before the prompt line

Nice catch, thanks!


Unable to successfully "Sync Dependencies API Annotations"

When I sync library annotations, I get no errors, and the logs indicate it SHOULD work, but the annotations folder is empty. (Defold API annotations work fine.) This is after a fresh reboot. Not sure what to try next.
defold-kit.log

Hello,

the annotations folder is empty.

You mean the folder \Users\Alexis\AppData\Roaming\Code\User\workspaceStorage\3d2a6a1209dc231870fbc97df9373465\astronachos.defold\libs_api\ is empty?

Hello,

the annotations folder is empty.

You mean the folder \Users\Alexis\AppData\Roaming\Code\User\workspaceStorage\3d2a6a1209dc231870fbc97df9373465\astronachos.defold\libs_api\ is empty?

correct, that folder is empty, even though it's the path shown in the output console and added to settings. Can't find any trace of the "Unpacking from..." operations anywhere.

Interesting. I thought I had covered every step with logs and checks, but not. Don't have ideas at the moment 🤔, need to reproduce it or debug in your environment.
If you're interested, debugging is relatively easy. You just need to open this repository in VS Code and run the debugger (all settings are already in this repository). A new VSCode instance with this extension will be launched and you will need to open the Defold project in it and start API synchronisation as usual.

Ok, with the help of @ReanimatorXP we found the problems and fixed it. Yay!

Awesome, thanks! It's definitely syncing now. I am having trouble getting the LSP to actually SEE the annotations but I'll deal with that later when I have more time to dive in deeper.

@swajj Hmm, what exactly is the bug? Make sure that Defold Kit set the correct path to the Lua.workspace.library property in the settings.json file like .../workspaceStorage/[workspaceHashValue]/astronachos.defold.

@astrochili that was all correct, I had to do some sluething but figured it out. I had this option enabled.

Not a high priority I'm sure, but the addon could probably at least warn someone that this setting will break library annotation support :) (and understandably so... once you know it's there buried in the mess of confusing options for the Lua Language Server addon :) ) thanks for all your help!


Supabase Installation is not working

Bug report
Describe the bug
import statements are not recognised
I have added the supabase sdk using swift package manager and I can see the supabase api's in autocomplete but the autocomplete doesn't shows Supabase module when i try to import it
Also when I try to run it , I get this

To Reproduce
Steps to reproduce the behavior:
1.Create a new ios project
2.add supabase sdk using package manager, I m using version 2.0.0
3.try to use the "import Supabase"
4.try to run the app
System information

OS: [e.g. macOS]
Version of supabase-swift: [2.3.1]

Additional context
This is similar to issue #20

Hi @Vaibhav-214 please, make sure you also added the Supabase target to your project as a dependency, not only added the supabase-swift package.
This is probably an error with your project configuration, try following the examples we have at https://github.com/supabase-community/supabase-swift/tree/main/Examples
If you still have issues after that, please let me know.

Thanks, it worked.I am an android developer so not familiar with xcode and swift development


Collate transactions design

Problem
There is no way in the UI to collate transactions.
Solution

Design wireframes to accommodate collation of batch and single transactions
Propose an initial workflow for collation

Alternatives

N/A

Collate Pane.pdf
Collate Pane.zip


[Chore] Initialize and setup Project

Why

Set up the project with UIKit
Create project from ios-template is preferred

Who Benefits?

Developers can work on their tasks

Fell free to close this. @phongvhd93


ddclient or other dynamic DNS in intel edison with YOCTO

About this site: http://cgit.openembedded.org/openembedded/tree/recipes/ddclient/ddclient_3.6.3.bb
I install everything via opkg and ddclient worked.
Now I have this error:
root@neuberfran: ddclient
~# WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
The other solution is this: http://mkaczanowski.com/golang-build-dynamic-dns-service-go/
But I have error with NSUPDATE package
root@neuberfran:~# opkg install nsupdate
Unknown package 'nsupdate'.
Collected errors:
opkg_install_cmd: Cannot install package nsupdate

Sorry, I don't understand that - what it is that you want me to do here?

https://communities.intel.com/message/363379#363379
I need your help to instal nsupdate or resolve errors with ddclient. I can't change my yocto-image-intel edison version(I don't know if this alone would solve) because I have very much software in C++ installed. To install NSUPDATE (http://mkaczanowski.com/golang-build-dynamic-dns-service-go/) suffice fix errors:
root@neuberfran:~# opkg install nsupdate
Unknown package 'nsupdate'.
Collected errors:
opkg_install_cmd: Cannot install package nsupdate
I see: "nsupdate to push updates on records. It is a part of the bind project, so it can be found in bind-tools or bind-clientpackages."
root@neuberfran:~# ping <IP_ADDRESS>
PING <IP_ADDRESS> (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=53 time=55.101 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=53 time=32.649 ms
64 bytes from <IP_ADDRESS>: seq=2 ttl=53 time=32.983 ms
^C
--- <IP_ADDRESS> ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max = 32.649/40.244/55.101 ms
root@neuberfran:~# opkg install bind-client
Unknown package 'bind-client'.
Collected errors:

opkg_install_cmd: Cannot install package bind-client.
root@neuberfran:~# opkg install bind-tools
Unknown package 'bind-tools'.
Collected errors:
opkg_install_cmd: Cannot install package bind-tools.

the errors you post and not "errors" in a normal sense - they just mean there is no such package in the repo. If you want me to add those to the repo, let's summarize which exact ones do you need, because you mentioned several in various contexts.
But really that ddclient error just looks as a configuration one - and you just need to configure it properly, by either finding a guide on the INternet, or contacting the authors.

@alext-mkrs , Thank's  for answering
There are several DDNS that may be worked for intel edison with yocto image:
NSUPDATE: https://github.com/nsupdate-info/nsupdate.info
and
https://nsupdateinfo.readthedocs.org/en/latest/admin.html#installation-for-development-testing
INADYN: https://github.com/troglobit/inadyn
I'm prefer DDCLIENT. In this issue:
https://communities.intel.com/message/370016#370016
I'm talk about errors to install DDCLIENT in intel edison

ddclient 3.8.3 package was added to the repo.

root@neuberfran:~/example/server# opkg install ddclient
Unknown package 'ddclient'.
Collected errors:

opkg_install_cmd: Cannot install package ddclient.
root@neuberfran:~/example/server# opkg install ddclient 3.8.3
Unknown package 'ddclient'.
Unknown package '3.8.3'.
Collected errors:
opkg_install_cmd: Cannot install package ddclient.
opkg_install_cmd: Cannot install package 3.8.3.
root@neuberfran:~/example/server# opkg install ddclient
Unknown package 'ddclient'.
Collected errors:
opkg_install_cmd: Cannot install package ddclient.
root@neuberfran:~/example/server# ping google.com
PING google.com (<IP_ADDRESS>): 56 data bytes
64 bytes from <IP_ADDRESS>: seq=0 ttl=50 time=148.205 ms
64 bytes from <IP_ADDRESS>: seq=1 ttl=50 time=149.304 ms
^C
--- google.com ping statistics ---
3 packets transmitted, 2 packets received, 33% packet loss
round-trip min/avg/max = 148.205/148.754/149.304 ms
root@neuberfran:~/example/server# opkg install ddclient 3.8.3
Unknown package 'ddclient'.
Unknown package '3.8.3'.
Collected errors:
opkg_install_cmd: Cannot install package ddclient.
opkg_install_cmd: Cannot install package 3.8.3.

Have you configured your opkg according to instructions here: http://alextgalileo.altervista.org/edison-package-repo-configuration-instructions.html?
If yes, try running opkg update and then opkg install ddclient. No need to add "3.8.3" to the opkg command line. If that still fails, please show what opkg update displays.

Thank's

root@neuberfran:~# opkg update
Downloading http://repo.opkg.net/edison/repo/all/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/all/Packages.gz.
Updated list of available packages in /var/lib/opkg/all.
Downloading http://repo.opkg.net/edison/repo/edison/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/edison/Packages.gz.
Updated list of available packages in /var/lib/opkg/edison.
Downloading http://repo.opkg.net/edison/repo/core2-32/Packages.gz.
Inflating http://repo.opkg.net/edison/repo/core2-32/Packages.gz.
Updated list of available packages in /var/lib/opkg/core2-32.
Downloading http://iotdk.intel.com/repos/2.0/intelgalactic/Packages.
Updated list of available packages in /var/lib/opkg/iotkit.
root@neuberfran:~# opkg install ddclient
Uknown package 'ddclient'.
Collected errors:

opkg_install_cmd: Cannot install package ddclient.
root@neuberfran:~#

Long time no see :smiley: Well, apparently ddclient didn't make it to the Release 3.0-based repo, which is the current one. I'm currently working on rebasing it to 3.5 one, I'll add ddclient back there.

The package is now in the repo again.


Add MST Token

为确保 Token Profile 的顺利通过，务必逐一确保以下检查项并补充项目资料：
.json 及 .png 文件检查项

[ ] logo 尺寸：120*120 px
[ ] logo 背景：透明
[ ] 代币有至少一笔成功的转账记录
[ ] 此项对于 ERC-20 项目方：合约地址有大小写（做 checksum）
[ ] .json 和 .png 文件名一致（包括大小写）

项目资料补充：
团队背景：
项目基本情况：
媒体报道：
收录的交易所：
转账所需 Gas Limit（对 ERC-20 项目方）：（默认为 60000）

Please check the following to ensure a successful verification of Token Profile
.json and .png document checklists

[x] logo dimensions: 120*120 px
[x] logo background: Transparent
[x] At least one transaction on the token contract
[x] For ERC-20 project teams: Upper and lower capitalized alphabets in token address (For checksum purposes)
[x] Same document name for both .json and .png (Including capitalization)

Project background details:
Team background:
Our team in Hong kong.  Core members have been working in the medical industry for many years. The Concept of MST is promote health. the idea is to able to use the token to trade in local pharmacy's.  we will be able to enter into the exchange by the end of 2020.
Current situation of the project:
Currently on the phase of knowledge transfer to the public
Media exposures:
Facebook: https://www.facebook.com/MST-Group-791175397917589
Twitter: https://twitter.com/group_mst
Instagram: https://www.instagram.com/groupmst/
Linkedin: https://www.linkedin.com/groups/10428171/
Tradeable exchanges:
Recommended Gas Limit (For ERC-20 project teams) for transaction: (Default is 60,000)

Welcome to recommend imToken 2.0 to your token holders to manage their token.


sd: Return ret if error in sdmmc_spi_read_cxd

Add return ret if CMD fails in spi_read

Does this fix the issue described in #55769 on your board?

Kind of, it returns back to the inital init function with the -ENOTSUP as it should, but the CS pin is never released, causing problems other places, so there is more going on here.

I added a check of the OCR that is read by using CMD58. If OCR == 0 we should reject the card as no operating conditions are set. I have verified that this fixes https://github.com/zephyrproject-rtos/zephyr/issues/55769 and have also verified that with an SD card inserted it passes and works as normal

@danieldegrasse or @jfischer-no: Do you see any issues with checking the OCR value and rejecting the card if no values are set?

@danieldegrasse or @jfischer-no: Do you see any issues with checking the OCR value and rejecting the card if no values are set?

It should be ok to do this- the OCR value should always have some voltage range value set. I've tested this PR on a K64F and it functions correctly.


Updating Connect Docker image readme

@jpechane A quick one as per the comment in the chat

Good catch. Fixed and force-pushed.

Applied. Thanks for reviewing, @psycotica0-shopify and @jpechane!


Support for dotnet 6.0

Currently, this package does not support dot net 6.0.
Is there any plan to update this package with the latest dotnet release?
We cannot move forward unless this package is updated.

Any update on this, the fact that there has been no migration to core is pretty concerning

@bikrambhandari48  @fusionware
https://github.com/eWAYPayment/eway-rapid-netstandard

@jiabiao I don't think that link is for asp.net core 6.0 or 7.0
This is crazy. We are still stuck on asp.net core 5. And cant move our project forward.


Clarify Pluggable Deployment Mechanism

In addition to Config Sync (which is the default deployment
mechanism used with Porch), clarifying that other GitOps-based
components can be used as well.

Thanks. Looks pretty good.
FWIW, "i.e." is "that is" and "e.g." is "for example", so ideally I'd change the "i.e."s in the images to "e.g."s, but this is much clearer already if you want to merge this first.

Thank you, @bgrant0607! Fixed the images.


Update contributing with missing step for GCP

Pull Request
What does this PR do?

This PR add some missing step to transform image create on GCP to public VMDK

bors merge


Support flutter_local_storage_inspector 0.4.0 and Dart 3.0

Support flutter_local_storage_inspector 0.4.0 and update the dart SDK constraint
Also updated various minor versions of other dependencies
With the main package updated, this one needs to support the new version before I can update flutter_local_storage_inspector in my own app

Released on pub.dev


dashpay: remove

remove dashpay, because:

unmaintained in nixpkgs
outdated in nixpkgs & bump not trivial
build broken

ZHF: #172160
Description of changes

Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

My request for change is to delete it, same as yours

My request for change is to delete it, same as yours

Ah ok, sorry, misunderstood it.


[bug] 2.5.0 SaaS 权限报错

{
    "levelname": "ERROR",
    "asctime": "2022-10-26 16:45:22,123",
    "pathname": "/app/bkuser_core/common/exception_handler.py",
    "lineno": 94,
    "funcName": "get_ee_exception_response",
    "process": 422,
    "thread":<PHONE_NUMBER>57640,
    "request_id": "d6ccd449ad2ca27f1c11257e60a942cb",
    "message": "unknown exception while handling the request, detail={'error': 'unknown', 'path': '/api/v1/web/home/tree/', 'method': 'GET', 'query_params': <QueryDict: {'only_enabled': ['false']}>, 'request_id': 'd6ccd449ad2ca27f1c11257e60a942cb'}",
    "exc_info": "Traceback (most recent call last):\n  File \"/usr/local/lib/python3.6/site-packages/rest_framework/views.py\", line 506, in dispatch\n    response = handler(request, *args, **kwargs)\n  File \"/app/bkuser_core/api/web/home/views.py\", line 155, in get\n    for department in self._list_department_tops(operator):\n  File \"/app/bkuser_core/api/web/home/views.py\", line 74, in _list_department_tops\n    queryset = Department.objects.filter(enabled=True).filter(dept_ft)\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/query.py\", line 941, in filter\n    return self._filter_or_exclude(False, args, kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/query.py\", line 961, in _filter_or_exclude\n    clone._filter_or_exclude_inplace(negate, args, kwargs)\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/query.py\", line 968, in _filter_or_exclude_inplace\n    self._query.add_q(Q(*args, **kwargs))\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1416, in add_q\n    clause, _ = self._add_q(q_object, self.used_aliases)\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1438, in _add_q\n    split_subq=split_subq, check_filterable=check_filterable,\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1295, in build_filter\n    check_filterable=check_filterable,\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1438, in _add_q\n    split_subq=split_subq, check_filterable=check_filterable,\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1309, in build_filter\n    lookups, parts, reffed_expression = self.solve_lookup_type(arg)\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1135, in solve_lookup_type\n    _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())\n  File \"/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py\", line 1563, in names_to_path\n    \"Choices are: %s\" % (name, \", \".join(available)))\ndjango.core.exceptions.FieldError: Cannot resolve keyword 'department._bk_iam_path_' into field. Choices are: category_id, children, code, create_time, enabled, extras, id, level, lft, name, order, parent, parent_id, profiles, rght, tree_id, update_time"
}

Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 506, in dispatch
    response = handler(request, *args, **kwargs)
  File "/app/bkuser_core/api/web/home/views.py", line 155, in get
    for department in self._list_department_tops(operator):
  File "/app/bkuser_core/api/web/home/views.py", line 74, in _list_department_tops
    queryset = Department.objects.filter(enabled=True).filter(dept_ft)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 941, in filter
    return self._filter_or_exclude(False, args, kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 961, in _filter_or_exclude
    clone._filter_or_exclude_inplace(negate, args, kwargs)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/query.py", line 968, in _filter_or_exclude_inplace
    self._query.add_q(Q(*args, **kwargs))
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1416, in add_q
    clause, _ = self._add_q(q_object, self.used_aliases)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1438, in _add_q
    split_subq=split_subq, check_filterable=check_filterable,
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1295, in build_filter
    check_filterable=check_filterable,
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1438, in _add_q
    split_subq=split_subq, check_filterable=check_filterable,
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1309, in build_filter
    lookups, parts, reffed_expression = self.solve_lookup_type(arg)
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1135, in solve_lookup_type
    _, field, _, lookup_parts = self.names_to_path(lookup_splitted, self.get_meta())
  File "/usr/local/lib/python3.6/site-packages/django/db/models/sql/query.py", line 1563, in names_to_path
    "Choices are: %s" % (name, ", ".join(available)))
django.core.exceptions.FieldError: Cannot resolve keyword 'department._bk_iam_path_' into field. Choices are: category_id, children, code, create_time, enabled, extras, id, level, lft, name, order, parent, parent_id, profiles, rght, tree_id, update_time

https://github.com/TencentBlueKing/bk-user/pull/764


krb5kdf: Do not dereference NULL ctx when allocation fails

In krb5kdf_new when the KRB5KDF_CTX allocation fails, return NULL immediately.

This pull request is ready to merge

This pull request is ready to merge

Merged to master. Thank you for the review.

Merged to master. Thank you for the review.


Using time zone without setting it manually

Hey wanted to see if there is any better to this thing :)
var con = mysql.createConnection({
  "connectionLimit" : 5,
  "host" : "localhost",
  "user" : "root",
  "password" : "",
  "database" : "test",
  "timezone" : "Asia/Jerusalem",
  "dateStrings": true
});

con.query('SET time_zone = \'Asia/Jerusalem\';', function(err) {
  if(err) throw err;
});

Well, if that is the contents of your query callback, then you can just leave it off, making it:
var con = mysql.createConnection({
  "connectionLimit" : 5,
  "host" : "localhost",
  "user" : "root",
  "password" : "",
  "database" : "test",
  "timezone" : "Asia/Jerusalem",
  "dateStrings": true
});

con.query('SET time_zone = \'Asia/Jerusalem\';');

In reality, all the timezone parameter does is have you specify the time zone your MySQL server it set to. So that means that calling SET time_zone is completely unnecessary if you just set the timezone parameter to the timezone your MySQL instance is configured for.

My SQL is set to UTC, the beaver that I was expecting from this plugin is to set it automatically because of "timezone" : "Asia/Jerusalem"

Yes, the docs didn't really explain what is was far. I expanded the documentation for the timezone option 👍


mappable.rb: Update documentation

Add example and additional info regarding acceptable value
Closes #221

Coverage remained the same at 96.338% when pulling cc7a19438c68036cf20715c09a71292e507a0fd4 on bekicot:update-docs into 6555682d445c8646e9feb0766c13c797f0504052 on geokit:master.

Coverage remained the same at 96.338% when pulling cc7a19438c68036cf20715c09a71292e507a0fd4 on bekicot:update-docs into 6555682d445c8646e9feb0766c13c797f0504052 on geokit:master.

Coverage remained the same at 96.338% when pulling cc7a19438c68036cf20715c09a71292e507a0fd4 on bekicot:update-docs into 6555682d445c8646e9feb0766c13c797f0504052 on geokit:master.

Thanks @bekicot


pytest shouldn't be automatically added to dev deps on poetry init

I don't see a reason for automatically including it if no is specified.

I created a new project and was very surprised when I tried to install pytest and it said it was already installed.

I just used init on a new project using 0.11.2 and pytest is gone.

I confirm that this was fixed by 8c3d49f5e0f88f16696bce04b7fb9d4e72969385 which is part of 0.11.0.


work with vue-cli 3

work this component with vue-cli 3?

import PDF from 'vue-pdf/src/vuePdfNoSss.vue'
work for me, no eslint error


Remove conditional compilation around DisposeAsync

Fixes #272
The reference to  Microsoft.Bcl.AsyncInterfaces doesn't need to be explicit as it is pulled in via System.Text.Json, happy to keep it in or remove it 😃

Let's leave that there. So the dependency is clear.

Thanks!


New release?

It seems like there has been quite a few PRs merged since the last release in April. Would it make sense/would it be possible to publish a new release?
Thanks!

done, thanks!


update: plugin API reference to version 3.6.0

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

/kind cleanup

/kind design

/kind user-interface

/kind content

/kind event

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area blog

/area documentation

/area community

What this PR does / why we need it:
Updates the plugin API reference to version 3.6.0.
Updates docs about enabling plugin metrics in Falco.
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Please note that this documents features available in Falco 0.38.1, so it should be merged after the Falco release.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mrgian
Once this PR has been reviewed and has the lgtm label, please assign vjjmiras for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

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

cc @FedeDP @incertum @jasondellaluce

LGTM label has been added.  Git tree hash: c3384235c7b420e327935c106e75e6076e4729b1

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, mrgian
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:

content/OWNERS [leogr]

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

New changes are detected. LGTM label has been removed.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mrgian
Once this PR has been reviewed and has the lgtm label, please ask for approval from leogr. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

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

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: mrgian
Once this PR has been reviewed and has the lgtm label, please ask for approval from leogr. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

content/OWNERS

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

LGTM label has been added.  Git tree hash: acd64616709c921d35287b4210895f0a0cfb9630

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr, mrgian
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:

content/OWNERS [leogr]

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


Updated index.tsx

Improves the deno_website2/pages/index.tsx  file
Minor core changes

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

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

I don't find enough reason for merging this. Closing without merge.


vsimporter fails to generate a xxxx_TemporaryKey.pfx file for ios projects

When importing an IOS project by using vsimporter, the tool fails to generate a xxxx_TemporaryKey.pfx file, which preventing developers to create store packages.
Below is copied from https://github.com/Microsoft/WinObjC/issues/228
Here I have another question, I'm trying to build a open-source ios project and I got below errors which prevent me from creating the store packages:
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1778,5): warning APPX0104: Certificate file 'climbers_TemporaryKey.pfx' not found.
1>C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\AppxPackage\Microsoft.AppXPackage.Targets(1778,5): warning APPX0107: The certificate specified is not valid for signing. For more information about valid certificates, see http://go.microsoft.com/fwlink/?LinkID=241478.

@mufanfan This behavior is intended.
To create your own test certificate:

Open the project's Package.appxmanifest in Visual Studio.
Select the Packaging tab.
Under Publisher, select Chose Certificate...
Under Configure Certificate... select Create test certificate...

If you go through Visual Studio's Create App Packages... dialogue, a real certificate should be created automatically:

Right click on your project in Visual Studio and select Store -> Create App Packages...
Select _Yes _under Do you want to build packages to upload to the Windows Store?
Sign in with your developer account.
Follow the rest of the prompts to create and test your App Package.


fix uninitialized read

I was running valgrind on my own project and found an uninitialized read (m_trans in SortKey) in bgfx incidentally. It might affect encodeDraw.
Here is a minimum example. Valgrind reports uninitialized read in radixSort, which can be traced back to m_trans. Not quite sure if I call bgfx functions correctly. Please let me know.
int main()
{
    int width=800,height=600;

    glfwInit();
    glfwWindowHint(GLFW_CLIENT_API,GLFW_NO_API);
    glfwWindowHint(GLFW_RESIZABLE,GLFW_FALSE);
    GLFWwindow* window=glfwCreateWindow(width,height,"test_proj",nullptr,nullptr);
    glfwSetKeyCallback(window,key_callback);

    bgfx::PlatformData pd;
    pd.ndt=glfwGetX11Display();
    pd.nwh=(void*)glfwGetX11Window(window);
    bgfx::setPlatformData(pd);

    bgfx::Init init;
    init.type=bgfx::RendererType::Vulkan;
    init.resolution.width=width;
    init.resolution.height=height;
    init.resolution.reset=BGFX_RESET_VSYNC;
    bgfx::renderFrame();
    bgfx::init(init);

    bgfx::setViewClear(0,BGFX_CLEAR_COLOR|BGFX_CLEAR_DEPTH,0x443355ff,1.0f,0);
    while(!glfwWindowShouldClose(window)){
        glfwPollEvents();
        bgfx::setViewRect(0,0,0,width,height);
        bgfx::touch(0);
        bgfx::frame();
    }

    glfwDestroyWindow(window);
    bgfx::shutdown();
    glfwTerminate();
    return 0;
}

Platform: Xubuntu 18.04 LTS
Compiler: g++ (Ubuntu 7.4.0-1ubuntu1~18.04.1) 7.4.0
Valgrind: valgrind-3.13.0

This is intentional. There is nothing wrong with being uninitialized.

Your "fix" actually breaks functionality of m_trans which is set in bgfx::setState.


QUESTION: Change color of icons depending on theme

is there a way to change the color representation in code depending on theme colors. It is always white for me

❤


batch/messageHooks: state metadata

The batching system creates its own state independent from the state
created by each user commands. However, it sets no data on state.data,
whereas each user commands sets state.data to the value of the
metadata received from the batch executor.
This results with messageHooks functions receiving different metadata
than what user commands receive.

Fixed issue as requested.


How to get pointer to real element.

How can you get pointer to the real DOM element.
There are some libraries out there like GSAP and velocity ( animation ) that are useful.
however their api requires access to the real DOM element.
is it possible to do it with snabbdom ?

You can use hooks to accomplish this. Documentation is found here
Anywhere that you are given access to vnode after the create hook is called you will have access to the real element at vnode.elm.

I had he same question before and found the answer through similar issues discussions. The problem is that nowhere in the documentation the structure of the vnode is discussed. One has to read the source code to learn about vnode.elm

I think it would be a very welcomed addition to the documentation to add a section on what makes up a snabbdom VNode.

@TylorS I agree. I'll reopen this issue as a problem with the docs.

Virtual Node
Properties

sel
data
children
text
elm
key

sel : String
The .sel property of a virtual node is the CSS selector passed to h() during creation.
For example: h('div#container, {}, [...]) will create a a virtual node which has div#container as it's .sel property.
data : Object
The .data property of a virtual node is the place to add information for modules to access and manipulate the real DOM element when it is created; Add styles, CSS classes, attributes, etc.
The data object is the (optional) second parameter to h()
For example h('div', {props: {className: 'container'}, [...]} will produce a virtual node with
{
  "props": {
    className: "container"
  }
}

as it's .data object.
children : Array
The .children property of a virtual node is the third (optional) parameter to h() during creation.
.children is simply and Array of virtual nodes that should be added as children of the parent DOM node upon creation.
For example h('div', {}, [ h('h1', {}, 'Hello, World') ]) will create a virtual node with
[
 {
   sel: 'h1',
   data: {},
   children: undefined,
   text: 'Hello, World',
   elm: Element,
   key: undefined,
 }
]

as it's .children property.
text : string
The .text property is created when the a virtual node is created with only a single child that possesses text and only requires document.createTextNode() to be used.
For example: h('h1', {}, 'Hello') will create a virtual node with Hello as it's .text property.
elm : Element
The .elm property of a virtual node is a pointer to the real DOM node created by snabbdom. This property is very useful to do calculations in [hooks](insert link to hooks) as well as modules.
key : string | number
The .key property is created when a key is provided inside of your .data object. The .key property is used to keep pointers to DOM nodes that existed previously to avoid recreating them if it is unnecessary. This is very useful for things like list reordering. A key much be either a string or a number to allow for proper lookup as it is stored internally as a key value pair inside of an object, where .key is the key and the value is the .elm property created.
For example: h('div', {key: 1}, []) will create a virtual node object with a .key property with the value of 1.
All off the top of my head, I'm not 100% about all of the specifics, or if they're the best of descriptions. Hopefully it's a start and we can collaborate to make it better.

Thanks !
One final question - does VNode.elm value change over time ?

My gut feeling is no, but I could be wrong; @paldepind might be able to confirm that. However take a look at the hooks, and in particular ones like update() it gets the oldVnode and the newest vnode so you're able to get the changes that occur on a particular element as well as what changed between vnodes.

Snabbdom does not change elm after setting it.
The above description is really nice @TylorS. I definitely think it should be added to the documentation.

I'll take the time to make PR soon. Is there anything you feel I missed?


[Packaging] Fix deb: Set correct architecture in control

Related command

N/A
Description

These packages are architecture specific so all is invalid here.
Instead use linux-any which will give the packages the architecture
for the target platform (default would be the host's architecture).
Example file with old architecture: azure-cli_2.37.0-1~bionic_all.deb
Example file with corrected architecture: azure-cli_2.37.0-1~bionic_amd64.deb
Testing Guide

N/A

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Packaging

Realized this breaks the release scripts in scripts/release/debian.
I'll post an update when I get a chance.


Added bucket name to s3 drone plugin

LGTM

LGTM

Codecov Report

Merging #2505 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2505   +/-   ##
=======================================
  Coverage   27.83%   27.83%
=======================================
  Files          83       83
  Lines       16835    16835
=======================================
  Hits         4686     4686
  Misses      11474    11474
  Partials      675      675

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 be3319b...30a1e1b. Read the comment docs.

make L-G-T-M work

Test fails after master rebase.

But failing tests are not related to this change

@tboerger yes. #2516 maybe fix that.


When clicking on a dot, before/afterChange are not fired

i'm using setState inside beforeChange, and it works perfectly with the autoplay, but when i click on the navigation dots, beforeChange is not fired, and therefore my state stays the same until the next image is displayed by the autoplay

I can't reproduce this.  In a simple setup beforeChange is fired when clicking on prev/next as well as when clicking on dots.

Thanks @kioopi  for checking this.


Official site learn excel incorrectly working.

https://nextjs.org/learn/excel/lazy-loading-modules
https://nextjs.org/learn/excel/lazy-loading-components
I followed these tutorial, but it is not working well.
especially analyze does not shows commons.js.
please check it.

I've described this issue in greater detail in the demo repository, I think it's really relevant. https://github.com/arunoda/learnnextjs-demo/issues/45#issuecomment-465617687
Quoting my own question:

why is firebase being bundled in every page instead of 'commons' —like the learn section's old screenshot—, if it's being used in 2/3 pages?

Something is not working as expected. It might have something to do with Next.js rather than the examples?


Remove logic pertaining to checking whether this is a Chef Server.

:construction:
My suspicion is that this stuff is legacy from the days when this was the chef cookbook, rather than the chef-client cookbook. Does anyone know of a good reason why we might need to keep any of this?
/cc @jtimberman @afiune

It's definitely "legacy" but not when it was the chef cookbook. This is from when Chef Server used configuration files in /etc/chef instead of /etc/chef-server (or /etc/opscode, depending on product/version).
I think it can be removed assuming Chef Server 11+ (including supported Enterprise Chef versions)

But testing it would be superb.

If it is not for compatibility, I don't see why we need it! I think we can nuke it..
+1

I vote for removing this. :+1:

The use of node['root_group'] here bumps the chef requirements a bit. That was introduced in the Ohai that shipped with Chef 11.6.0.  The readme still states any 11.X release will work.  The readme should get updated for 11.6.0
https://www.chef.io/blog/2013/07/23/chef-client-11-6-0-ohai-6-18-0-and-more/

Thanks @tas50, I'll update the README.

Specifically, I'll update the README in #286 :icecream:

This is superseded, as per @jtimberman's comment, with #286.

Not superseded, merged - in that PR ;).

https://github.com/opscode-cookbooks/chef-client/pull/286/commits - includes 7ee11b506fb4969c52b3fb2c21c29c8237dd2e79 ;)


Transfer fail?

Yesterday, I was sending a batch transfer via KodaDot from my account on AHK. I was sending 0.2 KSM (on ahk) to two different accounts (0.4 in total). I had enough KSM in my wallet. It showed that the transfer was successful, and this was the subscan link that appeared:
https://statemine.subscan.io/extrinsic/0xa8cbacb35ad24ca7cfffeadb5cfdc28867faf8804e95031f9a2c0eb89b0cdcf9
The thing is that later that day, I found out that those 0.2 never arrived where they should. I checked the accounts where tokens were sent via subscan, and the incoming transaction was never there. I cannot check if money left my acc because I don't remember if how much I had in my account.
I sent the funds again, and it was successful. New transaction link:
https://assethub-kusama.subscan.io/extrinsic/0x2048ae6df7da438ff658bee0da83f987f791fdd2dc822ad6b567b68069b5b134
This time, I double-checked the accounts, and the tokens arrived.
Not sure what happened. It confused me because when I did the first transaction, it showed as successful. I checked that transaction link, but I don't understand it much. So maybe someone here will want to check it out. The second time it did the same, and it worked., so I really don't know where the problem was. It may be worth checking in case there is an issue so we can avoid it in the future.
There is some difference in the links generated via KodDot - first link is for Statemine - maybe I did something wrong?

looking at your history in subscan - looks like no balance has left your account in the 1st transaction

indeed the 1st call was empty - no params


Identify parts of the system where adding Hooks may be useful

I don't think this is a high priority before initial release, but we should itentify areas of the system that could benefit from triggering custom hooks that 3rd party modules could potentially hook into.

Agreed. Let's review the Hooks setup for like dnd5e, PF2e, and OSE. That should give a baseline at least for ideas.

We could add a hook for when adding talent to make customizing talenta a bit more flexible. We can also use that to ask for input for talents like weapon, air mastery and the spell advantage ones.


Migration to ROS Melodic

Is there any plan to migrate the package to support ROS melodic?

@arjunskumar, I have tried migration it to ROS noetic. You can check the fork here: https://github.com/aadeshnpn/CarND-Capstone


can not connect with crunchy db

kubectl logs -f pod/casdoor-58f45c79f4-shv9z -n casdoor
panic: pq: no pg_hba.conf entry for host "<IP_ADDRESS>", user "postgres", database "postgres", no encryption
goroutine 1 [running]:
github.com/casdoor/casdoor/object.(*Ormer).createTable(0xc0008d7000)
/go/src/casdoor/object/ormer.go:293 +0xaa5
github.com/casdoor/casdoor/object.CreateTables()
/go/src/casdoor/object/ormer.go:114 +0x3a
main.main()
/go/src/casdoor/main.go:36 +0x35
Thanks you for help
https://access.crunchydata.com/documentation/postgres-operator/4.4.0/advanced/custom-configuration/

@sp71  @MichaelSp

@Meet-S0ni it seems that the postgres user from IP: <IP_ADDRESS> is not allowed to access your cloud DB. Should it should be resolved on your side.


Feature Request: Promotion Code

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[x] Feature request
[ ] Documentation issue or request
[ ] Other... Please describe:

Current behavior
demo-promotion is not functional. It has been removed as a component for the time-being.
Expected behavior

[ ] 1. Apply multiple discount codes to order.
[ ] 2. Loading state while discount is being applied.
[ ] 3. Success message ('COUPONNAME' has been applied.)
[ ] 4. Failed message. (messaging: latency issue or invalid code.)
[ ] 5. Show a list of coupons applied in cart summary.
[ ] 6. Be able to remove an applied coupon.
[ ] 7. Indicate to user a removal is occurring (loading state).
[ ] 8. Indicate removal succeeded (update totals in cart summary, don't need message).
[ ] 9. Indicate removal failed. (messaging: latency issue).

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment

Daffodil version: X.Y.Z

For Tooling issues:
- Node version: XX
- Platform:

Others:

The core work has been finished for this feature. Do we still need some design work on this?

Yes. We'd need to update Demo to show-case this feature.


2.x.x - Bikeshedding

Here are a list of symbol names, I'm not overly happy with but couldn't think of a better one at the time...

[ ] HBApplicationProtocol.processesRunBeforeServerStart: An array of closures we run before starting the HBServer service.
[ ] HTTPChannelHandler: Protocol for child channel that can handle HTTP1.1 packets.

how about prestartProcesses or prestartActions?

how about prestartProcesses or prestartActions?

It has to be clear these are processes that will be run before we start the server.

Personally I think we're fine with these names


Sample 4: Using memory and embeddings with GitHub (#94)

Motivation and Context
This sample continues in the spirit of prior samples in the samples/apps folder with a goal of teaching developers how the concepts of memory and embeddings can be integrated.
Description
This sample includes a frontend app that allows the developer to enter the address of a publicly available Github repository, which is downloaded to the temp directory of the machine hosting the KernelHttpService sample application (can be the same machine).

Once downloaded the developer is able to have a conversation with the repository and see the impact of the relevance slider on the responses.
Contribution Checklist

[x] The code builds clean without any errors or warnings
[x] The PR follows SK Contribution Guidelines (https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
[x] The code follows the .NET coding conventions (https://learn.microsoft.com/dotnet/csharp/fundamentals/coding-style/coding-conventions) verified with dotnet format
[x] All unit tests pass, and I have added new tests where possible
[x] I didn't break anyone :smile:

Getting a 400 on a local run:

Because after the save on Completion Mode, it's triggering the conditional that validates EmbeddingConfig (maybe change this to or)

Getting a 400 on a local run:
Because after the save on Completion Mode, it's triggering the conditional that validates EmbeddingConfig  However, the 400 seems to be related to something else, and even with --verbose logging, it's not apparent:

Thank you for the feedack - I suspect this may have been due to the bug we fixed with long files

AWESOME! 🎉

Wooooo!!
—Adrian

From: Devis Lucato @.>
Sent: Tuesday, March 21, 2023 7:29:11 PM
To: microsoft/semantic-kernel @.>
Cc: Adrian Bonar (HE/HIM) @.>; Comment @.>
Subject: Re: [microsoft/semantic-kernel] Sample 4: Using memory and embeddings with GitHub (#94) (PR #96)
AWESOME! 🎉
—
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/semantic-kernel/pull/96#issuecomment-1478836624, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANONW5DJDKXL2PH6VGDEG23W5JPXPANCNFSM6AAAAAAV6X5A6Q.
You are receiving this because you commented.Message ID: @.***>


Delayed window tiling on Monterey 12.5

Hi,
After updating to Monterey 12.5 I'm getting the following issue with yabai:

works right after brew services restart yabai
continues working without issues for 5-10 min
after that, there is a ~5 second lag every time a window needs resizing. This is happening for all applications.

Things to note:

I'm running yabai without the scripting addition as I can't disable SIP on my laptop but yabai was working fine on Big Sur until I updated the OS.
I have an external display connected via USB-C. Problem still persists when I'm just using the internal display

Is there a way to find what is causing yabai to lose its functionality after a while? It could be some 3rd party app causing this but I doubt it - tried just having 1 space and only chrome open and it's still happening.
Cheers

This can generally occur if another application is blocking the main window loop. For me, it happens when pausing a debug session of a GUI app. Are you doing anything like this?
Of course, it might be something completely different in your case.

Yeah I saw #1277 and I did check if this was being caused by having ipython/jupyter running in the background - closing those did not resolve the issue.

I have now installed the scripting addition and that seems to have resolved the issue. Looks like Monterey somehow broke functionality without the scripting addition. Closing the issue as I do not expect support for running without the script injection. Thanks!


Utilize search collector enhancements to build appset report

Issue: https://issues.redhat.com/browse/ACM-6165
Description:

Make single call to search instead of 2 separate calls (one to get the applications and another to get the related resources for each application). Use new _parentUid from search to find the related resources for each application.
Use the new _missingResources property to include resources that are missing from the related resources

[ x ] I have taken backward compatibility into consideration.

Signed-off-by: philipwu08<EMAIL_ADDRESS>

/hold
Need to wait for search PRs to merge first.

The PR looks good. We will unhold it once the search enhancements are done

/unhold

/lgtm


Add envelope stub to provide the correct argument and return types

This pull request adds a stub for the Envelope class in the Messenger component (the last and all methods).
This enables Psalm to verify the correct argument type and provides information about the return type.

@micheh Thank you!


Whitelist branches for travis.

Without this setting, travis runs 2 builds for each
PR that is from a non-fork branch on one of our repos:
one for the HEAD of the branch, plus one for the merge
commit created by GitHub. That’s what the recent
travis-ci/push vs travis-ci/pr checks we’re seeing are.
Those are extra checks we don’t need that take up extra build
capacity. It’s better to just build commits against the master
and maintenance branches, and any PRs that target those branches.

As long as this still checks PRs this is fine and LGTM

As long as this still checks PRs this is fine and LGTM

It does as long as the PR targets one of the whitelisted branches.

It does as long as the PR targets one of the whitelisted branches.

Hm, I know it's not common but we have done PR's into PRs on a few occasions...

Hm, I know it's not common but we have done PR's into PRs on a few occasions...

Have we?  I don't remember us ever doing that.  I believe we could always tweak the travis.yml in the PR branch to allow the branch in that case, or find a different way to accomplish what we're trying to do, or forego the travis build on the branch-of-a-branch, instead waiting until the main branch PR builds.

I've done it, normally to help someone who's started a PR but is a little stuck


Elf loader port and lib

Needs to be done, should be stand alone for cleanness and minimalism of the sdk.

https://github.com/ps4dev/ps4sdk/commit/53924989bf289079047dd7dcf134ca061d98cfb8
https://github.com/ps4dev/elfloader/commit/ce4197724741ec61bfa127122da7f7d9a6c9f97b
Yay!