Issue with Calliope mini V3 and seeed 0.96" OLED SSD1315

Hi Calliope-net team,
recently I started to explore the Calliope universe to teach my kids coding. I got a Calliope mini V3 a few days ago and added a Seeed Grove dual color 0.96" SSD1315 I2C display using the A0 grove connector. I do not have EEPROM handy right now, but I asume the V3 hardware has suffcient RAM and FLASH to get it working by using the right commands (avoiding the orange ones).
Using other extensions listed below I got the display going, how ever with this lib I had no success, not even an error message.
https://github.com/calliope-net/oled (7-segmend and graphics working, no text due to missing EEPROM, maybe I missed how to use it without EEPROM),
https://mkleinsb.github.io/pxt-OLEDpaint/ (working text, but limited functionality)
https://github.com/mkleinsb/pxt-oled-ssd1306 (working text, but limited functionality)
I like the functionality of this package and would be aeger to use it also with Callipoe mini V3 and the SSD1315 OLED display. Is it expected to run on this hardware? If not, could you help me with a high level list of required changes? I would fork the project and try to implement them myself (experienced in coding for embedded systems, not yet for this tech stack).

Sorry, it seems to be an issue with my local make code installation, I used the latest online verion and now it works.


model weight

Can you provide the download link for Baidu Cloud？thank you very much!

We have uploaded the pre-trained models to Baidu Cloud and updated README.


Refactor exceptions to a dedicated namespace

This is a minor change. It doesn't affect actuation so it shouldn't conflict with https://github.com/upkie/vulp/pull/81

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

-1 of 9 (88.89%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.608%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

vulp/exceptions/FilterError.h
2
3
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1759

Relevant Lines:
1963

💛  - Coveralls


Create a GUI program for the turn-on procedure

Things to do:

[ ] Fix the crash when the procedure ends
[ ] Allow the user to post log messages
[ ] Perform the turn-on procedure on the selected polarimeter


Remove instructions for ffmpeg system package installation on Colab

Colab now has Ubuntu 20.04 which already has ffmpeg of required (>4) version.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Re-sync with Common MRW per request of SW552995

No change to system MRW. Picking up new attributes from Common src file in FW1020 branch

Can one of the admins verify this patch?

I am just keeping the change on the  master in sync with the change requesting on the fw1020 branch   -- aka https://github.com/open-power/everest-xml/pull/8


subsys: settings: Add cache for nvs name lookup

Add cache for name id lookup.
Signed-off-by: Lingao Meng<EMAIL_ADDRESS>

@LingaoM, does this provide extra advantages over the cache that has been added in nvs ?

@LingaoM, does this provide extra advantages over the cache that has been added in nvs ?

Of course, they are not the same

@LingaoM Can you share some numbers? :) How many keys do you use and how this cache shorten the lookup time compared to or in addition to the existing NVS cache (and what size of the NVS cache did you use)?

The time for searching name id is compressed, but it still exists. This time, cache saves a lot of times for searching name ID, which will certainly save time.

@LingaoM Can you share some numbers? :) How many keys do you use and how this cache shorten the lookup time compared to or in addition to the existing NVS cache (and what size of the NVS cache did you use)?

I'm planning to do relevant tests

@Laczen @Damian-Nordic Test result as below:

@LingaoM, although this is clearly improving speed what is done is really keeping track of the last SETTINGS_NVS_CACHE_SIZE items (by storing the name instead of the hash). The test matches the design and will show improvement. The disadvantage of the method is that it improves last added/read items (that would be found quicker) but does not improve older items (that would be found slower). I am unsure if your proposal would work good in a real case scenario.

but does not improve older items (that would be found slower). I am unsure if your proposal would work good in a real case scenario.

I don't think so.
First, cache will be loaded at first when call setting_load(cache will keep records for last name if record too much that larger than cache size, because settings load will load from latest name id, and decreasing one by one, that will we what to do), so, this is a improvement for after reboot scenario.
Second, For example, In Bluetooth Mesh scenarios, usually to store "bt/mesh/seq" and "bt/mesh/rpl" and so on, this pr will be improving this settings process times.

Yes, I did think about how to hash, but in fact, crc16 is light enough.
Compared with a large number of CRC16 operations in NVS, Setting NVS is insignificant here.

Yes, I did think about how to hash, but in fact, crc16 is light enough. Compared with a large number of CRC16 operations in NVS, Setting NVS is insignificant here.

I agree that it is light enough, but nvs only uses CRC16 when NVS_CACHE is enabled and the cache-size is larger than 128.

I agree that it is light enough, but nvs only uses CRC16 when NVS_CACHE is enabled and the cache-size is larger than 128.

FYI: I'm planning to replace CRC in NVS lookup cache with a better function (perhaps we could use https://github.com/skeeto/hash-prospector to find one) as CRC is not the best in terms of avoiding hash collisions.

I agree that it is light enough, but nvs only uses CRC16 when NVS_CACHE is enabled and the cache-size is larger than 128.

FYI: I'm planning to replace CRC in NVS lookup cache with a better function (perhaps we could use https://github.com/skeeto/hash-prospector to find one) as CRC is not the best in terms of avoiding hash collisions.

For the hash in the NVS lookup cache this is important, in the present case the hash collision is less important: it might do an extra read if there are two items with the same hash but both could be inside the table. In the NVS lookup cache the previous match is removed.

I agree that it is light enough, but nvs only uses CRC16 when NVS_CACHE is enabled and the cache-size is larger than 128.

FYI: I'm planning to replace CRC in NVS lookup cache with a better function (perhaps we could use https://github.com/skeeto/hash-prospector to find one) as CRC is not the best in terms of avoiding hash collisions.

This is better. Please update this one as well, but before that, we will continue to use CRC16 to maintain the same style with NVS.

@Laczen Yes, I agree hash collisions are not an issue in this cache.
@LingaoM For NVS cache I'll focus on int->int hashing so the function I'll choose will not be suitable for string hashing.

@LingaoM, could you do a small test with the proposed hash function and compare speed and image size (just for test 3).


Use alpine:3.7

what

Upgrade from alpine:3.5 to alpine:3.7

why

Maintenance

Thanks for the contribution!


feat: send targeted meeting notification in Teams meetings

Description

This feature aims to extend the JS Bot SDK so that developers can send targeted meeting notifications in Microsoft Teams meetings.
Closes #4384
Specific Changes

Ran yarn build:rollup on both the botbuilder, botframework-connector & botframework-schema libraries to generate public api doc.
botbuilder

Added sendMeetingNotification method to TeamsInfo class.

botframework-schema

Added multiple interfaces to the index.ts monolith of interfaces & types related to Teams meeting notifications. TeamsMeetingNotification interface defines the notification payload to the API call. All other interfaces are used to build this interface.

botframework-connector

Added a type to teams related model.
Added multiple ms-rest objects used in the ms-rest set up for the REST API call.
Implemented sendMeetingNotification REST API call using the existing ms-rest template.

Testing

Unit tests only done for changes in teamsInfo.ts from the botbuilder library.
botframework-schema changes are adding new types & interfaces so it doesn't make sense to have a unit test.
botframework-connector unit tests are done indirectly through testing teamsInfo.ts method. This follows existing precedent of a PR with a similar feature addition: https://github.com/microsoft/botbuilder-js/pull/2884

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

24 of 27 (88.89%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 84.626%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder/src/teamsInfo.ts
4
7
57.14%

Files with Coverage Reduction
New Missed Lines
%

libraries/botbuilder-lg/src/templateExtensions.ts
1
84.48%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
19992

Relevant Lines:
22384

💛  - Coveralls


Removal of a single cursor in multi-cursor mode is bugged out.

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: June 2024
OS Version:  Windows

Steps to Reproduce:

ALT + LEFT CLICK any where code/word/text  is present .
Repeat Step 1 at least more than one time.
Now when you have more than one cursor go to Step 4.
(Hold ALT) + Left Click on any of the cursors achieve by Step 1 or Step 2.
You'd see that the it removes the last cursor you placed and not necessarily the cursor you meant to remove.
Thanks

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.91.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Issue remains Bot.

Thanks for the fix. I don't know when it got repaired but as of today it's working. I'll be closing the issue.


AnalyticalTable samples?

Hello,
I struggle to set an AnalyticalTable (in the object page in my case) based on the information for V4 CAP from here https://sapui5.hana.ondemand.com/sdk/#/topic/7f844f1021cd4791b8f7408eac7c1cec
Do you have a working sample?
BR,
Jacek

Hi @wozjac,
please excuse the late response. I will pick this up and see when we can add an example for it.
In V4 CAP you have to enable the new parser, as the analytical table uses $concat, $top, $skip and I think also $order within $apply which is only implemented with the new parser.
https://cap.cloud.sap/docs/advanced/odata?q=odata_new
After enabling it you should be good to go.
When I tried it out the analytical table worked on the OP, but I am not sure if also in Edit mode.
Will pick this up too.
Hope that helps already & BR,
Marten


yard -h and yard help doc yield same output and do not mention other subcommands

I was trying to learn more about using the server subcommand, so I tried yard -h, but there was no mention that it even exists.
On further investigation, I found that yard help lists the server subcommand, and yard help server gave me the information I wanted. Also, I compared the output of yard help doc with yard -h and found they were identical.
I suggest that the output of yard -h be modified to explain how to get information about the subcommands other than doc.
> yard -v
yard <IP_ADDRESS>

This is a very old issue but I'm cleaning up issues and wanted to respond:
yard is not a classical "subcommand" type CLI, or rather, it does have "subcommands", but YARD also has a default command (yard doc) that is aliased to yard. Because of this default alias, the subcommands aren't advertised when passing flags to yard (yard -h), only when activating an explicit subcommand that is not doc (yard help).
This is legacy behavior, as yard predates its subcommands, but it is also the most intuitive behavior: most users will want to simply type yard to get their docs, and thus yard doc is implied by yard. Logically, if you as a user expect that yard performs yard doc, then it would follow that yard --some-flag would perform yard doc --some-flag, and that's how we get where we are.
It's a little awkward, and we could benefit from a line in yard -h to maybe provide this insight, but it's intended / expected behavior, and the alternative would likely be more confusing to a separate set of users.
Going to mark this as closed since you've likely moved on by now, but hope this helps.


Avoid warnings in Page

https://github.com/mlocati/concrete5-5.7.0/commit/ee93467eed0c3bf4e23e2bd7b2e32fa5f3452f57 was made with php-cs-fixer.
It should be noted that it added public to all the methods that didn't specify the access level. BTW IMHO we should set as protected at least all the methods that start with an underscore (_getNumChildren, _duplicateAll, _associateMasterCollectionBlocks, _associateMasterCollectionAttributes)...

Commit https://github.com/mlocati/concrete5-5.7.0/commit/ee93467eed0c3bf4e23e2bd7b2e32fa5f3452f57 was made with php-cs-fixer.
It should be noted that it added public to all the methods that didn't specify the access level. BTW IMHO we should set as protected at least all the methods that start with an underscore (_getNumChildren, _duplicateAll, _associateMasterCollectionBlocks, _associateMasterCollectionAttributes). I did this in https://github.com/mlocati/concrete5-5.7.0/commit/c073966f0ad7fb9d62cc47331ee80a5c6f0409b8

Superseded by #2132.
In particular https://github.com/mlocati/concrete5-5.7.0/commit/9c2597b953650a60bf85e88c82738c5fe9813eb8 has been replaced with https://github.com/mlocati/concrete5-5.7.0/commit/14736f2290e2be08fd228e49aa9c407c66668087


Fix assertion raised if SLAAC Status missing when creating IPAddress

Closes: #1035
What's Changed

TODO

[ ] Explanation of Change(s)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

container for Prefix and connected for Cable have the same patterns/issues.

container for Prefix and connected for Cable have the same patterns/issues.

@whitej6 this is out of scope for this issue, I'll create a different, issue for this


Data Factory and Linked Service Support

Add support to check a data factory and linked services on the data factory
Closes #184
Closes #185 (I believe this is a dup of 184)
Closes #186

@polatengin For your customer who is using data factory, are they using v2 data factory? Would we need to support legacy Data Factory in the future?

Lmao I did not realize I already reviewed this

@polatengin For your customer who is using data factory, are they using v2 data factory? Would we need to support legacy Data Factory in the future?

For this specific customer, DataFactory v2 is good, but it may be good to support legacy Data Factory too, for other customers.


Handle actionsFilePath having directory components

If SteamVR_Settings.actionsFilePath has directory components, files
should be copied into that subdirectory of the standalone build.

Given that this has apparently been merged for 2.3.1b ("Allowing folders in the action path. (#443)") and properly works in 2.3.2 (I'm happily using it since yesterday, feels good to have the clutter from my root folder removed) ... shouldn't this Pull request be closed?


Diffuse def2 sets for lanthanides

Published in J. Chem. Phys. 155, 124102 (2021)

Hi, I am the author of the diffuse def2 basis sets for the lanthanides Ce-Lu. I submitted the definitions to the BSE email address sometime in 2021 but haven't heard back since. I can upload the definitions in Gaussian format if that helps.


Minor tutorial mistake

There's a mistake in the code on the file: NoteEntryPage.xaml.cs
Where it's written:
async void OnSaveButtonClicked(object sender, EventArgs e)
{
var note = (Note)BindingContext;
note.Date = DateTime.UtcNow;
if (!string.IsNullOrWhiteSpace(note.Text))
{
await App.Database.SaveNoteAsync(note);
}
// Navigate backwards
await Shell.Current.GoToAsync("..");

}
Should be:
async void OnSaveButtonClicked(object sender, EventArgs e)
{
var note = (Note)BindingContext;
note.Date = DateTime.UtcNow;
        if (string.IsNullOrWhiteSpace(note.Text))
        {
            await App.Database.SaveNoteAsync(note);
        }
        else
        {
            // Update the file.
            await App.Database.SaveNoteAsync(note);
        }

        // Navigate backwards
        await Shell.Current.GoToAsync("..");
    }

Otherwise the note only gets added if it's a blank note
: )

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

ID: 5ce30880-c4f0-78f7-1ee0-6507e378201e
Version Independent ID: a6ad2818-c0d2-e3ef-1262-e143d49cc348
Content: Store data in a local SQLite.NET database - Xamarin
Content Source: docs/get-started/quickstarts/database.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @rafaelsanchezsouza
I just double checked and the code in the doc/sample is correct. The NoteDatabase.SaveNoteAsync method handles whether to save a new note or update an existing note. All NoteEntryPage needs to do is call that method, provided the user has entered a note.

Hi @davidbritch !
Thanks for your answer.
I must admit I'm not that proficient in reading code! My observation was made based on experimentation, sorry if it was inappropriate.
However I must point out that the change I suggested actually worked for me (and that all it does is to guarantee NoteDatabase.SaveNoteAsync will be called), while the actual version doesn't work for me.
Also, you mentioned that the NoteDatabase.SaveNoteAsync method handles it, however, will it be called if the string is not null or whitespace?

Hi @rafaelsanchezsouza
Here's the method from the doc:
async void OnSaveButtonClicked(object sender, EventArgs e)
{
    var note = (Note)BindingContext;
    note.Date = DateTime.UtcNow;
    if (!string.IsNullOrWhiteSpace(note.Text))
    {
        await App.Database.SaveNoteAsync(note);
    }

    // Navigate backwards
    await Shell.Current.GoToAsync("..");
}

It's saying that SaveNoteAsync will be called provided that note.Text isn't null or whitespace. In other words, only save the note if there's some text present. If there isn't any text present, don't save the note because there's no point saving whitespace to the database.
Hope this helps?


SendComments Fails when from a Forked Repo, even after setting 'Send write tokens to workflows from fork pull requests.'

I get the failure
Invoke-RestMethod: /entrypoint.ps1:61 Line |   61 |      Invoke-RestMethod @params > $null      |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~      | {"message":"Resource not accessible by      | integration","documentation_url":"https://docs.github.com/rest/reference/issues#create-an-issue-comment"}
when attempting to let this lint a PR from a forked repo. I have tried following articles telling me to turn on 'Send write tokens to workflows from fork pull requests' for the organization (which I assume the repos inside it would inherit), however within the org repo there isn't an individual setting for the repo to turn this on (it is at the org level only).  Trying to figure out if I'm missing something in the XAML to ensure it uses the appropriate secrets token.

Nevermind, I just saw #2 that is closed.
Is there a way to have it "Sendcomments: true" on a non-fork and Sendcomments:False on a forked repo?

Hi,
You need to add to have 2 workflows
and use on: [pull_request] for make the difference


Capture IDAPython script's stdout

Is there a way to use idascripter and capture print calls from the executed IDA script?
I am currently using IDA 9.0, IDA_PATH is set, and I'm currently invoking this tool using the standard way:
idascripter my_bin.exe -s my_script.py
I have a bunch of print statements but they don't get redirected back to the terminal. So I use the logging module for the time being.

Hi.
I wish it was possible to capture the output but I never found a way to do it. IDA is catching python output to print it in its own widget so its not printed on stdout.
I am not using IDA 9.0 yet but I assume it works the same.
The only thing I could recommend is printing to a file and reading that file.
(closing the issue)

I have found a good solution :
https://github.com/uutils/coreutils
coreutils tail -F --use-polling C:\idastuff\logfile.log

Here's an idea, idat64 supports an -o argument - we could pass it a temporary file, and tail the file in the script?
@RobinDavid have you investigated this before?

I now have a final, better solution, and I am sharing it with people who can find it useful:
The invoker script:
import threading
import time
import tempfile
from pathlib import Path
from idascript import IDA

class TailThread(threading.Thread):
    def __init__(self, file_path, stop_event):
        super().__init__()
        self.file_path = file_path
        self.stop_event = stop_event

    def run(self):
        try:
            with open(self.file_path, "r") as f:
                f.seek(0, 2)  # Go to the end of the file
                while not self.stop_event.is_set():
                    line = f.readline()
                    if not line:
                        time.sleep(0.1)  # Avoid busy waiting
                        continue
                    print(line.strip())  # prints the line from the tempfile (aka output of IDA)
                    if "+++ end file +++" in line:
                        print("End-of-file marker found.")
                        break
        except FileNotFoundError:
            print("File not found.")

def signal_stop(stop_event):
    print("Signaling stop...")
    stop_event.set()

def cleanup():
    print("Cleaning up...")  # this is a good place to free files/handles and such

def main():
    stop_event = threading.Event()

    py_script = Path(r"C:\Dev\ProjectsAuxiliary\ida_scripts\new_script.py") # <-- change this
    binary_file = Path("your exe") # <--- CHANGE THIS
    temp_file = Path(tempfile.mkstemp()[1])

    ida = IDA(str(binary_file), str(py_script.resolve()), [str(temp_file)])
    ida.start()

    tail_thread = TailThread(temp_file, stop_event)
    tail_thread.start()

    retcode = ida.wait()
    print("IDA exiting, retcode:", retcode)

    signal_stop(stop_event)
    tail_thread.join()

    cleanup()

if __name__ == "__main__":
    main()

The IDAPython script:
import ida_auto
import ida_pro
import idc

import pathlib

ARGV = idc.ARGV[1:] if len(idc.ARGV) > 1 else []

def my_print(*args, sep=" ", end="\n"):
    file_path = ARGV[0]

    # Convert all arguments to strings and join them with the separator
    output = sep.join(map(str, args)) + end

    """Writes a message to the specified file."""
    with open(file_path, "a") as file:
        file.write(output)

def main():
    try:
        ida_auto.auto_wait() # wait for the pre-analysis of IDA to be terminated

        my_print(ARGV)

        # do your stuff here
        my_print("hey")
        my_print("hey1")

        for i in range(1000):
            my_print(i * 2)

    except Exception as e:
        my_print("Exception:", e)
    finally:
        ida_pro.qexit(0) #exit IDA with the given return code (otherwise remains opened)

if __name__ == "__main__":
    main()


feat: svelte 4

Closes #873
📑 Description
Migrate to Svelte 4

[x] Upgrade dependencies
[x] MultiSelect.svelte:53:10 A11y:  with click handler must have an ARIA role
[x] MultiSelect.svelte:106:8 A11y:  with click handler must have an ARIA role
[x] MultiSelect.svelte:43:0 A11y:  with click handler must have an ARIA role
[x] Modal.svelte:127:8 A11y: Non-interactive element  should not be assigned mouse or keyboard event listeners.
[x] Modal.svelte:92:2 A11y: Non-interactive element  should not be assigned mouse or keyboard event listeners.
[x] PaginationItem.svelte:22:0 A11y: svelte:element with click, keydown, keypress, keyup, mouseenter, mouseleave, mouseover handlers must have an ARIA role.
[x] Frame.svelte:87:2 A11y: svelte:element with click, mouseenter, mouseleave handlers must have an ARIA role.
[x] Frame.svelte:102:2 A11y: svelte:element with click, mouseenter, mouseleave handlers must have an ARIA role.
[x] Button.svelte:79:0 A11y: svelte:element with click, keydown, keyup, mouseenter, mouseleave handlers must have an ARIA role.
[x] routes/docs/+layout.svelte:73:0 A11y:  with click, keydown handlers must have an ARIA role
[x] src/lib/navbar/SidebarMenu.svelte:24:0 A11y:  with click handler must have an ARIA role

Status

[x] Not Completed
[ ] Completed

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[x] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

@ezegrosfeld Is this completed?
@jjagielka Can you check for Frame, Wrapper, and Button?

Two comments:

it's behind the main branch, so please be sure to catch up before merging
I don't think we need |global at transitions. Change to local by default was well thought by Svelte team. Can you please remove those?

Let me know when it is ready.

@shinokada Yes, sorry! I've just marked it as completed.

As fairly new to github, when this update released so i can use this, im annoyed every time i open/build with all the tons of vite-plugin-svelte errors about Aria role :)
Do this automaticly update when this is pushed or do i have to get some beta some way to use latest code?


"Property processName is not allowed." in launch.json

VSCode Version: 1.22.2
OS Version: Windows 10

The config.json parser does not recgonize the new processName parameter, only the processId one. Therefore, if you put processName but not processId, you'll get 2 warnings in the issues list:

Missing property "processId"
Property processName is not allowed.

Steps to Reproduce:

Create a launch.json configuration with this:

{
"version": "0.2.0",
"configurations": [
{
"name": "(Windows) Attach",
"type": "cppvsdbg",
"request": "attach",
"processName": "my_program.exe"
}
]
}

Open the Issues panel or go to next error (F8) to see the 2 errors mentioned at the beginning.

Does this issue occur when all extensions are disabled?: Yes

If someone introduces a new attribute like "processName", the schema must be updated too.
File this issue against the "cppvsdbg" extension.

Done on https://github.com/Microsoft/vscode-cpptools/issues/1904


Can't pin fusion

For web apps, I can pin the "browse" blade, this way I have quick access to my app list in the dashboard.
I can't pin the fusion equivalent of browse :( I can only pin function apps.

Dupe of https://github.com/projectkudu/AzureFunctionsPortal/issues/1064


Vertical magnet holder holes need to stretch to meet panel hole

This was changed to be further away from the panel well as a safety precaution.


Allow use literal blocks (::)

For some people using ..code-block not practical. For example https://github.com/zzzeek/sqlalchemy/pull/469#issuecomment-443554287
Need add functionality for parsing literal blocks directive:
http://www.sphinx-doc.org/en/master/usage/restructuredtext/basics.html#literal-blocks

On the other hand, literals may be used for things other than Python code, so not sure it should be enabled by default.

On the other hand, literals may be used for things other than Python code, so not sure it should be enabled by default.


Feature responsive

Made Sidebar Responsive and fixed components being cut issue. Also fixed the package.json which was causing build to be failed in vercel. #16

@sarthakmishra459 Please read the README.md and do the necessary things in the PR

I don't understand I have already updated contributors data. What more necessary changes do I have to do?

I don't understand I have already updated contributors data. What more necessary changes do I have to do?

Woops ! My bad LOL. Well done okay !!

@sarthakmishra459 . Go throught the readme once, and add yourself as project contributor🥳✨


bug in src/fitMLG.jl

Trying to launch src/fitMLG.jl I had to change
dates = collect(minimum(count_df.date):maximum(count_df.date))
by
dates = collect(minimum(count_df.date):Day(1):maximum(count_df.date))
to avoid an error

It appear that the script fitMLG.jl  do not run on the data provided.

Thank you for reporting. Could be an updated dependency issue (especially after seeing your first comment in this thread) - I notice I did not commit my manifest, so the package versions will not be pinned to the ones I used. Please can you clarify what the error is on your side, and show me your current package versions, and I can look into it?

I've just confirmed that, with the Manifest (which I've now added to the repo) it runs on a new Julia installation. Please try and clone the repo again, and then try the following, from the base directory of the repo:
using Pkg
Pkg.activate(".")
Pkg.instantiate()
Pkg.add("cuDNN")

And then if you're using a GPU for this (and I have only tested the GPU version) you might need to also:
Pkg.add("cuDNN")

Then restart your Julia kernel, and run the contents of fitMLG.jl directly in the REPL, and let me know if that works for you?

The code is now running perfectly, the issue was from the server I was working on. Sorry for that !

By the way the "Comparison of deep mutational scanning phenotypes to changes in clade growth" in the paper could precise the fact that only Omicron lineages were kept :)


Does not compile with go1.17.7

Hello. I want to say I like this project, and I've learned a lot about ECS while reading through it.
I see the readme says it was made with go version 1.17, though I believe this may be a mistake, or possibly out of date. When pulling the repo and running go test I get the following
[alexander@dola go-gameengine-ecs]$ go version
go version go1.17.7 linux/amd64
[alexander@dola go-gameengine-ecs]$ go test
# github.com/marioolofo/go-gameengine-ecs [github.com/marioolofo/go-gameengine-ecs.test]
./mempool.go:120:31: reflect.ValueOf(value).UnsafePointer undefined (type reflect.Value has no field or method UnsafePointer)
./bitmask_test.go:90:35: undefined: testing.F
FAIL    github.com/marioolofo/go-gameengine-ecs [build failed]

I looked at the reflect and testing packages, and I believe that testing.F and Value.UnsafePointer arrive in go1.18beta1 and later. Those 2 locations in the print out seem to be the only places that use 1.18beta1 features. Thanks for your time

Hello, yes, you're right, I create the project with go 1.18 but as it don't use generics, I downgrade the requirements to 1.17. I'll look into it.

Fixed, if you have any problems with the project, don't be afraid to ask :)
Thank you


Openssl: General

Hi,
Is there a way to check if a file that I have is encrypted or not?
I am looking for an openssl API or something.
Thanks in advance.
Regards,
Amal

That kind of depends.
In general the answer is "no". Encrypted data looks like a random sequence of bytes, so you don't know whether it's encrypted, or whether it's just random data!
If your encrypted data is wrapped up in some standard envelope then it might be possible. E.g. if the data has been encrypted using the openssl command line "enc" application then (except in some cases where options suppress it) the encrypted data will be prefixed with the magic string ""Salted__". Presence of that string indicates the data has been encrypted with the command line app.

Thanks @mattcaswell .
For the present, I will take the "no". :smile:
Regards,
Amal

Hi @mattcaswell ,
If I were to consider only CMS encryption cases, will it be correct if I parse the first 12 bytes of the encrypted message and check for presence of "MIME-Version"?
I expect that all CMS encrypted files will have this in header, which will indirectly imply it is encrypted.
Please correct me if I am wrong.
Thanks in advance.
Regards,
Amal


Set initial content

Hey,
I'm trying to fill Brace with data that I receved from response <brace>{{ jsonData }}</brace> jsonData is defined in data container but then nothing happens. Works ok for regular textarea.
Do I have to use Ace mechanism like editor.setValue(jsonData)?
Thanks :grin:

You can try to use v-html="jsonData"

v-html breaks Brace instance :cry:

@marekkaczkowski I was having the same issue and this worked for me.
<template>
    <brace style="height: 500px; margin-left: 20px"
      :fontsize="'22px'"
      :theme="'monokai'"
      :mode="'javascript'"
      :codefolding="'markbegin'"
      :softwrap="'free'"
      :selectionstyle="'text'"
      :highlightline="true">
    </brace>
</template>

<script>
import Brace from 'vue-bulma-brace';
import * as brace from 'brace';
var editor

export default {
  components: {
    Brace
  },
  data() {
    return {
      events: []
    }
  },
  mounted() {
    this.$http.get('/event_schema').then(response => {
        this.events = response.data
        this.editor = brace.edit('vue-bulma-editor')
        this.editor.session.setValue(JSON.stringify(this.events))
    })
  }
}
</script>

Yes! Thanks @rankam, works like a charm :sparkles:
I had to modify source a bit cuz there is a hardcoded id 'vue-bulma-editor' here is pull req https://github.com/vue-bulma/brace/pull/5 :+1:


iOS Support?

Will there be iOS support? 💃

Any news?

Maybe in the future, It's not planned at the moment but any ideas will be welcome!


client : don't authenticate if username is not set

to avoid wrong client error message, like
2018-03-23T20:47:50.471Z	ERROR	client/query.go:58 glob..func24	fedora27: Authentication failed: dial tcp [::1]:8082: getsockopt: connection refused


I want to maintain a constant time difference at all times.

Have you read the Tutorials?
yes
Have you read the FAQ and checked for duplicate open issues?
yes
If the question is related to FairPlay, have you read the tutorial?

yes
What version of Shaka Player are you using?
4.7.11
What browser and OS are you using?
window chrome
Please ask your question
I want to maintain a constant time difference at all times.
With the code below, the left buffer is wide, from 0 to 4.5 seconds, and the buffer is maintained unstable.
I always wanted to keep the leftBuffer in the 2-second range, so I thought about the method below. Is there a better alternative?
my configure
abr: { enabled: false },
streaming: {
	bufferingGoal: 10,
	rebufferingGoal: 3,
	lowLatencyMode: true,
	startAtSegmentBoundary: true,
	liveSyncMaxLatency: 0.5,
	updateIntervalSeconds: 0.5,
	retryParameters: { baseDelay: 1000, timeout: 5000, maxAttempts: 2 },
},
manifest: {
	hls: {
		liveSegmentsDelay: 0.8,
	},
	retryParameters: { baseDelay: 1000, timeout: 5000, maxAttempts: 2 },
},

buffering Event
onBufferingEvent(event) {
const bufferState = event.buffering;
const bufferedInfo = this.calculateBufferedInfo(this.videoElement);

if (bufferState && bufferedInfo.leftFormatted < 2) {
	this.player.configure({ streaming: { bufferingGoal: 12 } });
} else if (!bufferState && bufferedInfo.leftFormatted > 2) {
	this.player.configure({ streaming: { bufferingGoal: 10 } });
}
}

leftbuffer calculation
calculateBufferedInfo(videoElement) {
	const position = videoElement.currentTime;
	let bufferedInfo = { total: 0, played: 0, left: 0 };

	for (let i = 0; i < videoElement.buffered.length; i++) {
		const start = videoElement.buffered.start(i);
		const end = videoElement.buffered.end(i);
		const duration = end - start;

		if (start <= position && end > position) {
			bufferedInfo.played += Math.max(0, position - start);
			bufferedInfo.left += Math.max(0, end - position);
		} else if (start > position) {
			bufferedInfo.left += duration;
		} else {
			bufferedInfo.played += duration;
		}

		bufferedInfo.total += duration;
	}
	const leftFormatted = bufferedInfo.left.toFixed(3);
	const playedFormatted = bufferedInfo.played.toFixed(3);
	const totalFormatted = bufferedInfo.total.toFixed(3);

	return { leftFormatted, playedFormatted, totalFormatted };
}

You can use liveSync config to achieve this. See: https://shaka-player-demo.appspot.com/docs/api/shaka.extern.html#.StreamingConfiguration
I also recommend configuring liveSyncMinLatency and liveSyncMaxLatency


Added IHS Dubai to the list

@sahilsbade First stage of verification passed, official domain is ihsdubai.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

Thanks!

@sahilsbade Thank you for your patience while waiting for a review and processing your request. Pull request merged.


GoBD compliance

The goal of this issue is to provide a manual and working copy of papermerge to be GoBD compliant.
The basic installation of papermerge will already meet alot of the requirements of the german GoBD
The Bitkom e.V. published a guide e.g. checklist to check if a software and process can be GoBD compliant.
In my humble opinion there is currently on major blocker and this is 2.2.1 c) requirement 17 where it reads:

Vollständigkeit von Daten und Dokumenten über die gesamte Aufbewahrungsfrist

Keine Löschmöglichkeit vor dem Ende der Aufbewahrungsfrist.

Hinweis: Außersteuerliche Regelungen können eine längere Aufbewahrungsfrist erfordern.

This delete lock (Keine Löschmöglichkeit vor dem Ende der Aufbewahrungsfrist) includes priviliged access like root / admin. One way to implement such mechanism is MinIO Retention, it turnes your S3 bucket into a WORM (Write Once Read Many) storage backend. And the Cohasset Associates, Inc. did already an assesment on MinIO to deploy such an S3 Storage to be SEC 17a-4(f), FINRA 4511(c) and CFTC 1.31(c)-(d) compliance. We can consider GoBD and SEC 17a-4(f), FINRA 4511(c) and CFTC 1.31(c)-(d) comparable as both deal with storing of tax data on digital devices.
From version 2.1 ongoing papermerge is moving towards a kubernetes ready architecture and RWX file storage to store data.
The RWX storage is also used to share the data between the app and the worker nodes. But this development moved papermerge a bit further away from the S3 backend.
A further goal of this issue is to adapt papermerge in order to use an S3 WORM storage backend (storing only relevant data, this includes any intermediate steps in the processing of the original data to the processed data, but nothing more - as this data is stored for at least 10 years on that WORM drive).
To archive this goal, we need to adapt not only the core, but also other parts of the papermerge project. We should link all adaptions in order to be GoBD compliant to this issue, so that we can track the development.

What I tryied so far is to update the provided S3 Storage Backend to meet the 2.1 architecture https://github.com/papermerge/s3/pull/1
This allowsed me to connect to an S3 Bucket and papermerge-core is uploading V1 into that bucket - but no further versions are stored in the S3 bucket, e.g. V2 (with OCR).

I also enabled TLS / HTTPS and needed to adapt papermerge.js to connect via secure websocket (wss)
https://github.com/papermerge/papermerge.js/pull/7

Thank you very much for taking your time and opening this issue and opening pull requests.
I merged both of your merge requests. Thank you again for your contributions!
Regarding GoDB compliance.
The equivalent feature name in english is "data retention" i.e. user can configure how long specific 'data' will stay before being deleted.
Data retention feature will be implemented. However, it won't be part of papermerge-core - it will be provided as plugin (django app). The reason is because data retention is not something everybody wants/needs.
I will keep this ticket open for reference and GoDB links.

That sounds good! But I don't know if it is worth the effort to code a storage layer which is able to provide the data retention layer as required by the GoBD. I think to put the data retention into a seperate plugin, frontend (set retention time) and backend (prohibit deletion for files under retention) is the way to go. But I think to actually perform the task of archiving and storing the data under retention - prevent data loss, ensure data integrity , prevent admin/root access/modifications, keep track of ANY modifications and so one  over the hole storage time - is way to complex for a simple plugin and should be done by the filesystem/storage layer.
I think you already developed part of the solution with the storage class under core.lib.storage (btw. I like the concept). As far as I understand the storage class, it is the place to handle all File IO. So a Retention Plugin could provide an additional storageclass which is for example backed by MinIO S3 with enabled retention and a folder with enabled retention would use such storage class - while other folders are using the default storage class - or to set the default sotrage class to an retention enabled storage.
Is it the way to go?
I just had a quick look at the source code, in this perspective and found some other places where File IO is performed - Is there any plan to move these File IO into the storage class or is there any blocker to do so?


Input/output error on partitions mounted in empty NTFS folders

Windows Build Number
Microsoft Windows [Version 10.0.19042.1052]
WSL Version

[ ] WSL 2
[X] WSL 1

Kernel Version
Linux version 4.4.0-19041-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #488-Microsoft Mon Sep 01 13:43:00 PST 2020
Distro Version
Fedora Remix v33 ,  Also tested on Ubuntu
Repro Steps
Step 1 - Mount a partition to an empty NTFS dir in diskmgmt.msc
Ex. C:\zzz

Step 2 - Try to access the partition in WSL
Ex. /mnt/c/zzz
ls /mnt/c/zzz
ls: cannot access '/mnt/c/zzz': Input/output error

Expected Behavior
Expected behavior: Users should be able to access the partition's folder on WSL's mount point. Ex. ls command should show files and folders.
Actual Behavior
Actual behavior (Problem): Cannot access the partition's WSL mount point with error "Input/output error"
ls: cannot access '/mnt/c/zzz': Input/output error

Can you please take logs for this issue? /logs

@craigloewen-msft Can you reopen this please? It seems to be a general issue, also on WSL 2.
I'm on Windows 11 now and somehow I don't have the feedback hub app that your bot linked to, but I can give you additional details if needed.
The problem is as follows: I can mount folder-mounted NTFS volumes, no problem, but I cannot access any NTFS folders that are already mounted on the host.
For example, I have mounted a storage space at D: and also at %USERPROFILE%/Data. In WSL when I try to list the folder contents, I only get
$ ls Data
ls: cannot access 'Data': Input/output error

I also cannot mount anything on top of this "dead" folder:
$  sudo mount -t drvfs D: Data
<3>init: (882) ERROR: MountPlan9WithRetry:285: mount drvfs on Data (cache=mmap,rw,msize=262144,trans=virtio,aname=drvfs;path=D:;symlinkroot=/) failed: 5
mount: I/O error

Bind-mounting the drive letter mount (or anything else for that matter), isn't possible either:
$ sudo mount -o bind /d Data
mount: Data: can't read superblock on /d.

I've met the same issue. Any solution for this plz? @phoerious

Unfortunately not.


Add Game Development Kit configuration yaml file.

Summary of the pull request
Add Game Development Kit configuration yaml file.
Validation steps performed
Tested the script locally through dev home.

/azp run


Add additional dangerous apps packages

Looks good to me, thanks!

related to https://gist.github.com/WuglyakBolgoink/024ef1faaab070122292d7520213fbad

@stealthcopter
FYI: https://gist.github.com/karandpr/2abf38642e9e4753d03eb44177727f50#gistcomment-3379045

Some of these apps listed don't seem to have anything to do with Root.
For example, the app "mobilism", "blackmart", and even lucky patcher (see https://github.com/scottyab/rootbeer/issues/94) don't seem to have anything to do with root.
That means if using this library, this would generate false positives regarding rooting, despite the library being used in banking apps. I see this as an effort to update from 0.0.7 to 0.1.0, but I will need to adjust this list in the fork that'll actually be used.


Post about bypassing School website restrictions for games sites.

Uses about:blank
<html>
   <head></head>
   <body>
      <button onclick="openGame()">Open Game</button>
      <script>
         function openGame() {
         var win = window.open()
         var url = "https://example.com"
         var iframe = win.document.createElement('iframe')
         iframe.style.width = "100%";
         iframe.style.height = "100%";
         iframe.style.border = "none";
         iframe.src = url
         win.document.body.appendChild(iframe)
         }
      </script>
   </body>
</html>

Also Check out

https://sites.google.com/view/theadvancedmethod/html5/shell-shockers

Also Check out
* https://sites.google.com/view/theadvancedmethod/html5/shell-shockers

let win = window.open()
win.document.body.style.margin = '0'
win.document.body.style.height = '100vh'
var iframe = win.document.createElement('iframe')
iframe.style.border = 'none'
iframe.style.width = '100%'
iframe.style.height = '100%'
iframe.style.margin = '0'
iframe.src = "https://tam-shellshockers.arfotoarte.com"
win.document.body.appendChild(iframe)

Check Out;

https://www.reddit.com/r/k12sysadmin/comments/x2namb/another_unblocked_games_site/
https://www.youtube.com/watch?v=zZ1yiZxIV9I
https://www.reddit.com/r/sysadmin/comments/18ifong/students_using_chromes_aboutblank_page_to_load/


AttributeError: 'Model' object has no attribute '_standardize_user_data' with nightly build of tensorflow 2.2.

Hello, in the latest version of tensorflow, 'Model' object has no attribute '_standardize_user_data', is there any way? Thank you!

@liuxingbaoyu update to the latest tensorflow and tell me if it solves the issue.

@philipperemy Still exists, I am using tf-nightly-gpu 2.2.0-dev20200418.

@liuxingbaoyu I found why. You're using the nightly version and it seems that this function was removed in the 2.2+ version. When you pip install tensorflow, it fetches the 2.1.0 and it works with the latest STABLE version.
With pip install tf-nightly it fails:
Traceback (most recent call last):
  File "vgg16.py", line 38, in <module>
    activations = keract.get_activations(model, image)
  File "/Users/premy/PycharmProjects/keract/keract/keract.py", line 153, in get_activations
    activations = _evaluate(model, layer_outputs, x, y=None, auto_compile=auto_compile)
  File "/Users/premy/PycharmProjects/keract/keract/keract.py", line 47, in _evaluate
    return eval_fn(model._feed_inputs)
  File "/Users/premy/PycharmProjects/keract/keract/keract.py", line 42, in eval_fn
    return K.function(k_inputs, nodes_to_evaluate)(model._standardize_user_data(x, y))
AttributeError: 'Model' object has no attribute '_standardize_user_data'

I have no clear idea how to fix it. Try to use TF 2.1.0 for now. When it becomes official, I'll check more in depth.

@philipperemy
This seems to work.
outputs = [
    layer.output for layer in model.layers
]

activations_model = tf.keras.models.Model(model.inputs, outputs=outputs)
activations_model.compile(optimizer='adam', loss='categorical_crossentropy')
activations = activations_model.predict(np.array(sample[0][:1]))

m={}

for i in range(len(activations)):
    m[model.layers[i].name]=activations[i]

keract.display_activations(m)

@liuxingbaoyu cool thanks for sharing!

@philipperemy Glad to help you!

@philipperemy

Try to use TF 2.1.0 for now. When it becomes official, I'll check more in depth.

pip install tensorflow now fetches the 2.2.0 and the error described above persists.

To add to @theowoo I'm getting the same issue

@theowoo @sixsamuraisoldier I've added a constraint to use 2.1.0 at most for now.
I'll have to look more into it when I have time.

@liuxingbaoyu fix worked for me! thanks!


[GSSOC'23] To make card attractive and add some animation to it which look soo attractive to users.

Assign me this issue I will work on this.

Hey @iam-ravi-12 , you may work on this and please refer to the Contribution guidelines on the readme once.
All the best!

Closing this because of no response or pr from your side.


[Bug] HTTP 401 Unauthorized with okta

Search before asking

[X] I searched in the issues and found nothing similar.

Version
streamnative/sn-pulsar:<IP_ADDRESS>
Minimal reproduce step

Create an Okta application and scope
In this step, you will create an application integration in your Okta developer account.

Log in to your Okta Developer account and navigate to Applications in the sidebar.
In the dropdown, click Applications and then Create App Integration.
On the Create a new app integration menu, select API services for OAuth 2.0 access tokens. Click Next.
Add an App integration name and then Save.

Configure an Okta authorization server with a scope

Navigate to Security in the sidebar and then API. From here, you can add a new authorization server, or use the default authorization server. This tutorial will use the default server.
Click on the name of your authorization server and then select the Scopes tab.
Select Add Scope:

Add pulsar as the name for your scope and include an optional description.
For User Consent, leave the default Implicit selected.
Check the box to set this as the Default Scope.

Click Create.

Start pulsar cluster:

version: '3.5'

services:
  standalone:
    container_name: standalone
    hostname: localhost
    image: streamnative/sn-pulsar:<IP_ADDRESS>
    command: >
      bash /waitForOAuth.sh
    environment:
      allowAutoTopicCreationType: partitioned
      brokerDeleteInactiveTopicsEnabled: "false"
      saslAllowedMechanisms: OAUTHBEARER
      kopOauth2AuthenticateCallbackHandler: io.streamnative.pulsar.handlers.kop.security.oauth.OauthValidatorCallbackHandler
      kopOauth2ConfigFile: /conf/kop-handler.properties
      PULSAR_PREFIX_messagingProtocols: kafka
      PULSAR_PREFIX_kafkaListeners: SASL_PLAINTEXT://<IP_ADDRESS>:9092
      PULSAR_PREFIX_kafkaAdvertisedListeners: SASL_PLAINTEXT://10.xxxx27:19092
      PULSAR_PREFIX_brokerEntryMetadataInterceptors: org.apache.pulsar.common.intercept.AppendIndexMetadataInterceptor
      PULSAR_PREFIX_authenticationEnabled: true
      PULSAR_PREFIX_authenticationProviders: org.apache.pulsar.broker.authentication.AuthenticationProviderToken
      PULSAR_PREFIX_brokerClientAuthenticationPlugin: org.apache.pulsar.client.impl.auth.oauth2.AuthenticationOAuth2
      PULSAR_PREFIX_brokerClientAuthenticationParameters: "{\"type\":\"client_credentials\",\"privateKey\":\"/conf/client_credentials.json\",\"issuerUrl\":\"https://trial-xxxxx.okta.com/oauth2/default\",\"scope\": \"pulsar\", \"audience\": \"api://default\"}"
      PULSAR_PREFIX_tokenSecretKey: "file:///pulsar/my-secret.key"
      LOGGING_LEVEL: debug
    ports:
      - 6650:6650
      - 8080:8080
      - 19092:9092
    volumes:
      - ./client_credentials.json:/conf/client_credentials.json
      - ./kop-handler.properties:/conf/kop-handler.properties
      - ./waitForOAuth.sh:/waitForOAuth.sh

client_credentials.json:
{
  "type": "client_credentials",
  "client_id": "dasdadadasdsada",
  "client_secret": "x7AcrrdqS52cGdsadadsadadada",
  "issuer_url": "https://trial-xxxxx.okta.com/oauth2/default",
  "audience": "api://default"
}

kop-handler.properties:
oauth.validate.method=token

waitForOAuth.sh:
#!/bin/sh

bin/pulsar tokens create-secret-key --output my-secret.key

pwd

ls

sleep 20

bin/apply-config-from-env.py conf/standalone.conf && exec bin/pulsar standalone

What did you expect to see?
It works.
What did you see instead?
Caused by: javax.ws.rs.NotAuthorizedException: HTTP 401 Unauthorized
	at org.glassfish.jersey.client.JerseyInvocation.convertToException(JerseyInvocation.java:942) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.client.JerseyInvocation.access$700(JerseyInvocation.java:82) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.client.JerseyInvocation$1.completed(JerseyInvocation.java:863) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.client.ClientRuntime.processResponse(ClientRuntime.java:229) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.client.ClientRuntime.access$200(ClientRuntime.java:62) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.client.ClientRuntime$2.lambda$response$0(ClientRuntime.java:173) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:248) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.internal.Errors$1.call(Errors.java:244) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:292) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:274) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.internal.Errors.process(Errors.java:244) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:288) ~[org.glassfish.jersey.core-jersey-common-2.34.jar:?]
	at org.glassfish.jersey.client.ClientRuntime$2.response(ClientRuntime.java:173) ~[org.glassfish.jersey.core-jersey-client-2.34.jar:?]
	at org.apache.pulsar.client.admin.internal.http.AsyncHttpConnector.lambda$apply$1(AsyncHttpConnector.java:251) ~[io.streamnative-pulsar-client-admin-original-<IP_ADDRESS>.jar:<IP_ADDRESS>]

Anything else?

I guess this issue is not related to the KOP, because even if I do not use the Kafka protocol, it still not working.

Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

@hi-rustin can you reproduce it with Apache release like 2.11.1 and simplify the setup? I don't know if it's related to KoP or SN specific changes.

Also, can you share the complete log here? The exception seems thrown from client but the script you share is just starting the server.

test_without_kop.log
test_with_kop.log

@hi-rustin can you reproduce it with Apache release like 2.11.1 and minimize the setup? I don't know if it's related to KoP or SN specific changes.

I guess this issue is not related to the KOP, because even if I do not use the Kafka protocol, it still not working.
I will test it with apache release when I got the time.

and please check whether tokenSecretKey is correct.

I am a bit confused, which token secret key I should use?

@nodece I tried:
bin/pulsar tokens create-key-pair --output-private-key my-private.key --output-public-key my-public.key

      PULSAR_PREFIX_brokerClientAuthenticationParameters: "{\"type\":\"client_credentials\",\"privateKey\":\"/conf/client_credentials.json\",\"issuerUrl\":\"https://trial-2125918.okta.com/oauth2/default\",\"scope\": \"pulsar\", \"audience\": \"api://default\"}"
      PULSAR_PREFIX_tokenPublicKey: "file:///pulsar/my-public.key"
      LOGGING_LEVEL: debug

But got the same error.
test_with_public_key.log
I have a question: What is the connection between this tokenSecretKey/tokenPublicKey with the okta OAuth mechanism? Are they related, and is tokenSecretKey/tokenPublicKey stuff just a verification mechanism between Pulsar and its client?
Thanks for your help!

You need a key to verify your token, and that comes from Okta.

Got it. Thanks! But why not call okta or some other oauth server API to verify it?

Got it.
Thanks for your help!  💚 💙 💜 💛 ❤
I finally fixed it.
My current solution:

Use Auth0 instead of okta, because I can not find the sign secret from okta.
Create a test API on Auth0 and use its test application.
Correct the docker-compose.yaml:

version: '3.5'

services:
  standalone:
    container_name: standalone
    hostname: localhost
    image: streamnative/sn-pulsar:<IP_ADDRESS>
    command: >
      bash /waitForOAuth.sh
    environment:
      allowAutoTopicCreationType: partitioned
      brokerDeleteInactiveTopicsEnabled: "false"
      PULSAR_PREFIX_saslAllowedMechanisms: OAUTHBEARER
      PULSAR_PREFIX_kopOauth2AuthenticateCallbackHandler: io.streamnative.pulsar.handlers.kop.security.oauth.OauthValidatorCallbackHandler
      PULSAR_PREFIX_kopOauth2ConfigFile: /conf/kop-handler.properties
      PULSAR_PREFIX_messagingProtocols: kafka
      PULSAR_PREFIX_kafkaListeners: SASL_PLAINTEXT://<IP_ADDRESS>:9092
      PULSAR_PREFIX_kafkaAdvertisedListeners: SASL_PLAINTEXT://10.xxxx.27:19092
      PULSAR_PREFIX_brokerEntryMetadataInterceptors: org.apache.pulsar.common.intercept.AppendIndexMetadataInterceptor
      PULSAR_PREFIX_authenticationEnabled: true
      PULSAR_PREFIX_authenticationProviders: org.apache.pulsar.broker.authentication.AuthenticationProviderToken
      PULSAR_PREFIX_brokerClientAuthenticationPlugin: org.apache.pulsar.client.impl.auth.oauth2.AuthenticationOAuth2
      PULSAR_PREFIX_brokerClientAuthenticationParameters: "{\"type\":\"client_credentials\",\"privateKey\":\"/conf/client_credentials.json\",\"issuerUrl\":\"https://dev-ys3xxxxxxui44.us.auth0.com\", \"audience\": \"pulsar\"}"
      PULSAR_PREFIX_tokenSecretKey: "data:;base64,signing-secret-from-auth0"
      LOGGING_LEVEL: debug
    ports:
      - 6650:6650
      - 8080:8080
      - 19092:9092
    volumes:
      - ./client_credentials.json:/conf/client_credentials.json
      - ./kop-handler.properties:/conf/kop-handler.properties
      - ./waitForOAuth.sh:/waitForOAuth.sh
      - ./secret.key:/conf/secret.key


Rebuild for proj 9.1.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Getting impatient waiting for the bot...

@conda-forge-admin, please rerender

@xylar but proj is not longer a requirement?!?

Oh, sorry, of course!

Thanks @akrherz

...but it probably should be? Only the imminent release of 0.21 removes the PROJ dependency in favor of just pyproj.

Yep, we merged that a couple of hours ago.


Incorrect prompt file name

Update prompt.txt file to skprompt.txt file

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/sbs-botbuilder-conversation-AI.yml
88
72
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Thank you for raising this PR and contributing to the Teams documentation.

Can you tell me if money has been paid out?  And how to connect so that I
may get paid please please.
Please
In my need with the highest respect to my official data.
On Mon, May 29, 2023, 2:41 AM Surbhi-MSFT @.***> wrote:

Merged #8737 https://github.com/MicrosoftDocs/msteams-docs/pull/8737
into main.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/msteams-docs/pull/8737#event-9367414970,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4RHJIU34SKRMGQJIOQ3WBDXIRVODANCNFSM6AAAAAAYRZF52E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>


Add sources sections

This adds [sources] sections to the project files (only available on Julia v1.11).
With this addition, Pkg.instantiate() automatically finds the location of local dependencies, intstead of having to develop them individually through the setup.jl scripts.
Julia v1.11 is not fully released, but can be installed with juliaup by
juliaup add 1.11
juliaup default 1.11

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 50.32%. Comparing base (8c0fc8b) to head (006efab).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #79   +/-   ##
=======================================
  Coverage   50.32%   50.32%
=======================================
  Files          34       34
  Lines        3376     3376
=======================================
  Hits         1699     1699
  Misses       1677     1677

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


pub-sub example: fail to run "Cannot find module"

Error
When running pub-sub example I am getting this error -
internal/modules/cjs/loader.js:905
  throw err;
  ^

Error: Cannot find module '../../../proto/dapr/proto/runtime/v1/dapr_pb'
Require stack:
- /Users/yosi/code/dapr-js-sdk/build/implementation/Client/GRPCClient/binding.js
- /Users/yosi/code/dapr-js-sdk/build/implementation/Client/DaprClient.js
- /Users/yosi/code/dapr-js-sdk/build/index.js
- /Users/yosi/code/dapr-js-sdk/examples/pubsub/dist/index.js

Steps to Reproduce the Problem
> git clone  git clone git@github.com:dapr/js-sdk.git dapr-js-sdk
> cd dapr-js-sdk
> npm install
> npm run build
> cd examples/pubsub
> npm install
>  npm run start:dapr-http

Workaround
I changed the dapr-client dependency to come from npm instead of relative file
Environment info:

node version: 14.18.1
npm version: 6.14.15

Using dapr installed via homebrew -
CLI version: 1.4.0
Runtime version: 1.4.3

Hi @yosiat !
I just tried running with the steps you provided to reproduce the problem but I could not reproduce it. I switched to node 14.18.1 as well.
Could you try this again with a clean folder? Does the proto path exist if you look into the build folder? (build/proto/dapr/proto should exist)

@XavierGeerinck tried in new repo and still don't have this build/proto directory.
dapr-js-sdk on  master [!] is 📦 v1.0.2 ❯ ls build
actors  dapr  enum  google  implementation  index.d.ts  index.js  interfaces  package.json  README.md  types  utils

in build/dapr there is proto directory
dapr-js-sdk on  master [!] is 📦 v1.0.2 ❯ ls build/dapr/proto/
common  runtime

@yosiat and you ran the npm run build correctly? Does it execute the shell script correctly?
Are you running this on Windows?

@XavierGeerinck running on mac (bigsur, 11.6)
this is the output of npm run build -
><EMAIL_ADDRESS>build /Users/yosi/code/dapr-js-sdk
> ./scripts/build.sh

=====================================================
==================== Dapr JS SDK ====================
=====================================================
Executing in /Users/yosi/code/dapr-js-sdk
Description: Build the package in build/
=====================================================
Preparing Build
Building Library
Preparing Publish

Found the issue - https://github.com/dapr/js-sdk/blob/master/scripts/build.sh#L31
We are doing - cp -R ./src/proto/ ./build
In mac, it copies the contents of ./src/proto to build directory, while in linux (tested on popos) it copies the proto folder to build.
js-sdk on  master [!] is 📦 v1.0.2 ❯ ls build
js-sdk on  master is 📦 v1.0.2 ❯ cp -R ./src/proto/ ./build
js-sdk on  master is 📦 v1.0.2 ❯ ls build
dapr  google

As you can see, there is no proto directory, there are dapr & google which are contents of src/proto
If I removed the / (./src/proto/ -> ./src/proto) it works correctly -
js-sdk on  master is 📦 v1.0.2 ❯ rm -rf build/*
zsh: sure you want to delete all 2 files in /Users/yosi/code/dapr/js-sdk/build [yn]? y
js-sdk on  master is 📦 v1.0.2 ❯ cp -R ./src/proto ./build
js-sdk on  master is 📦 v1.0.2 ❯ ls ./build
proto

To test it works correctly, did the change in scripts/build.sh and now the example is working 🎉

Thanks a lot for your PR! I will close this issue then, if there are any more problems feel free to reopen or ping me


drop stdin for exec sync

as i don't think there's a way it can be passed in
Signed-off-by: Peter Hunt~<EMAIL_ADDRESS>
What type of PR is this?

/kind bug
What this PR does / why we need it:
Which issue(s) this PR fixes:

Special notes for your reviewer:
Does this PR introduce a user-facing change?

none

Codecov Report

Merging #750 (3c733ba) into main (0ad3325) will decrease coverage by 0.35%.
The diff coverage is n/a.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #750      +/-   ##
==========================================
- Coverage   31.84%   31.48%   -0.36%
==========================================
  Files          13       13
  Lines        1118     1118
  Branches      421      421
==========================================
- Hits          356      352       -4
- Misses        479      487       +8
+ Partials      283      279       -4

PTAL @saschagrunert if still around

/lgtm


[feat]: [CCM-12975]: Adding CCM perspective TF resource

Describe your changes
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck

trigger subcategoryfieldcheck

This PR has been automatically closed due to inactivity.


multicore-win64 doesn't build.

Original issue: https://charm.cs.illinois.edu/redmine/issues/837

Investigate if this compiler failure. Mostly likely it is same as 489.

Original date: 2015-09-24 21:10:41

I just finished installing Visual Studio Professional 2013 and with a simple change from 11 to 12 and 8.0 to 8.1 in the vcvars64 file it
seems to work, but I get the following error:
C:\PROGRA~2\MICROS~2.0\VC\Include\xmemory0(611) : fatal error C1001: An internal error has occurred in the compiler.
(compiler file 'msc1.cpp', line 1325)
Updating to Visual Studio Professional 2013 with Update 5 and also changing win8 to winv6.3 in the vcvars64 fixes it, but now I get the
following for multicore-win64:
../bin/charmc  -optimize -production   -I. -o machine.o  -DFOR_CPLUS=1 machine.c
machine.c
c:\cygwin64\tmp\charm-6.7.0-pre\multicore-win64\tmp\sockRoutines.h(119) : error C2371: 'sleep' : redefinition; different basic types
What seems to be happening is that CmiNodeBarrierCount() calls sleep(0) in machine-smp.c before it is defined, which is OK in a .c file as
it is assumed to be int (int), but then it is redefined in sockRoutines.h.  The fix seems to be including sockRoutines.h in machine-smp.c
right after machine-smp.h, althoug I'm not sure if this breaks other platforms.
I then get two link errors from multicore-win64:
libconv-cplus-y.a(machine.o) : error LNK2019: unresolved external symbol pthread_exit referenced in function LrtsExit
libconv-cplus-y.a(machine.o) : error LNK2019: unresolved external symbol _Cmi_sleepOnIdle referenced in function CmiNotifyStillIdle
These appear to be from assuming that smp implies pthreads.

Original date: 2015-09-24 21:11:04

Also, the mpi machine.c has it's own definition of sleep(), which interferes with the one I added to sockRoutines.h.  After removing it
mpi-win64 builds, but not ckloop.

Original date: 2015-09-25 12:56:45

One last failure on multicore-win64:
if [ -f charmrun ] ; then ( cp -f charmrun ../bin ) ; fi
cp: cannot create regular file `../bin/charmrun': File exists
Makefile:431: recipe for target 'charmrun-target' failed
The error happens because cygwin tries to treat executables foo and foo.exe interchangeably, so it is trying to overwrite bin/charmrun.exe with tmp/charmrun.
What will succeed is "cp -f charmrun ../bin/charmrun.exe" but cp is apparently not smart enough to remove charmrun.exe when trying to copy charmrun, although it's probably better to avoid building the binary charmrun for multicore, which doesn't use it.

Original date: 2015-09-29 23:07:58

The attached patch gets multicore-win64 to build, but when based on netlrts simplearrayhellp hangs on startup.  Switching src/arch/multicore/gdir_link from netlrts to net allows it to run.  Is there a way to redirect only multicore-win64 to use net while the rest of the multicore builds are based on netlrts?

Original date: 2015-09-29 23:35:50

Updated patch also fixes mpi-win64.

Original date: 2015-09-30 15:29:27

The reason multicore is building charmrun is that in src/arch/net/Makefile.machine we have:
if [ ! -f charmrun ]; then \
		(cd charmrun-src ; $(MAKE) OPTS='$(OPTS) -Wno-error' -j1) ; fi

while src/arch/netlrts/Makefile.machine does not check for the existence of a charmrun script.

Original date: 2015-10-06 18:33:24

Cannot currently login to dexterity.  Will test fixes when I can access the machine.

Original date: 2015-10-20 14:10:18

Please merge ~~https://charm.cs.illinois.edu/gerrit/#/c/855/~~ https://github.com/UIUC-PPL/charm/commit/5332fd8d48bdd3666f50bd7ff6fedae714043e74 as it fixes the charmrun issue for all multicore builds based on netlrts.

Original date: 2015-10-20 20:01:59

Some of the bits of patch Jim submitted have been integrated. The rest need to be broken out and submitted for merge.

Original date: 2015-10-26 22:22:16

Gerrit Link: ~~https://charm.cs.illinois.edu/gerrit/#/c/886/~~ https://github.com/UIUC-PPL/charm/commit/4941bd0fc11f5a8d556263465228f573cbfc6b4d

Original date: 2015-10-27 18:54:08

The hanging problem after applying Jim's patch which was caused by a problem in the exit call. It was not a hang in the start-up as Jim reported earlier. The failure in the exit call was preventing any prints to appear.
In Jim's patch the exit call was changed to ExitThread(0). This function kills the thread's process(if it's the last thread) as well as the threads. Hence we see that hang in the exit.
We should find another thread safe way to exit. Since pthreads do not exist in Windows platform, we cannot use the thread safe pthread_exit function for multicore-win builds. As a temporary fix, we simply use exit(0) call. This was implemented and merged in the posted gerrit patch.
According to Windows documentation, [[https://msdn.microsoft.com/en-us/library/windows/desktop/ms682659(v=vs.85).aspx]], if the thread returns from it's function calls, it will terminate. So we may simply return instead of calling exit. However this solution may not be as simple as it sounds because of the structure of the function calls.

Original date: 2015-10-27 19:43:07

ExitThread() sounds like it does exactly what we need it to do, just as pthread_exit() does. I don't understand why the one should cause hangs at shutdown but not the other.

Original date: 2015-10-27 19:44:01

Perhaps we should open a new bug/cleanup issue to look into the ExitThread issue and possibly move to that, if necessary.

Original date: 2015-10-27 19:48:33

Phil Miller wrote:

ExitThread() sounds like it does exactly what we need it to do, just as pthread_exit() does. I don't understand why the one should cause hangs at shutdown but not the other.

Windows differentiates between threads and processes. We only create n-1 threads, but calls Exitthread n times.

Original date: 2015-11-11 03:05:26

Set status back to Merged so that we can distinguish whether the code was changed in some way, or the fix was elsewhere. Both are non-open states from Redmine's perspective.


Check that vim has :SyntasticCheck before calling

Users without Syntastic installed get spammed all the time by error messages in OnCursorHold. This change introduces a check that the command exists.

Great - thank you.


Reorganise checks/universal

Lib/fontbakery/checks/universal/__init__.py is another 3000 line monstrosity; the plan was always to reorganise it into a set of thematic files, as we did with checks/googlefonts. Here it is.

Very nice! I noticed, though, that the few checks listed below still remain in the __init__.py file (now reduced to 1156 lines). Do you have a plan for those remaining checks as well or is there a reason for them still being placed there?

com.google.fonts/check/name/trailing_spaces
com.google.fonts/check/family/single_directory
com.google.fonts/check/caps_vertically_centered
com.google.fonts/check/whitespace_ink
com.google.fonts/check/legacy_accents
com.google.fonts/check/contour_count
com.google.fonts/check/cjk_chws_feature
com.google.fonts/check/transformed_components
com.google.fonts/check/gpos7
com.adobe.fonts/check/freetype_rasterizer
com.adobe.fonts/check/sfnt_version
com.google.fonts/check/whitespace_widths
com.google.fonts/check/interpolation_issues
com.google.fonts/check/math_signs_width
com.google.fonts/check/tabular_kerning
com.google.fonts/check/alt_caron

If there are any thematic groupings that they fit in (or if we can create any thematic groupings), we should do it. But if not, they should stay where they are...


Keeps repeating on reminding you updating the same extension

Steps to reproduce

Install these two extensions

Wait for it to remind you to update them and click update all.

Wait for the update to finish then refresh the screen it will remind you to update them again and if you do the same steps again it will just do the same thing over again.

Expected behavior
I will expect to update the extension once and it's done for that update.
Actual behavior
What actually happens is it tells you to update the same extension over it and over again for the same update.
Crash logs
No response
Animetail version
Stable <IP_ADDRESS>
Android version
Android 13
Device
Samsung Z Fold 2 5g
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an extension, I should be opening an issue in the extension's repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

Verify that these updates are downloaded from the same repository from which you installed

I think it's from this one
https://raw.githubusercontent.com/Dark25/aniyomi-extensions/repo/index.min.json

I also use https://raw.githubusercontent.com/Kohi-den/extensions/main/index.min.json

I also use https://raw.githubusercontent.com/Kohi-den/extensions/main/index.min.json

The thing is you can't install the same extension from another repo, if you already have one installed. You'll have to uninstall the apk and install it again.

The method you said doesn't work I just tried it twice.

I also use https://raw.githubusercontent.com/Kohi-den/extensions/main/index.min.json

The thing is you can't install the same extension from another repo, if you already have one installed. You'll have to uninstall the apk and install it again.

The method you said doesn't work I just tried it twice.


SMQTT_LOGD

As i see into code there are some debug included "SMQTT_LOGD" . How can i turn that on on platformIO to see this messages on serial monitor? may this help much more to find issues

https://docs.platformio.org/en/latest/platforms/espressif32.html
[env:myenv]
platform = ...
board = ...
framework = arduino

;;;;; Possible options ;;;;;;

; None
build_flags = -DCORE_DEBUG_LEVEL=0

; Error
build_flags = -DCORE_DEBUG_LEVEL=1

; Warn
build_flags = -DCORE_DEBUG_LEVEL=2

; Info
build_flags = -DCORE_DEBUG_LEVEL=3

; Debug
build_flags = -DCORE_DEBUG_LEVEL=4

; Verbose
build_flags = -DCORE_DEBUG_LEVEL=5

thx!


Blobstore enhancements

A number of enhancements to the blobstore to aid in supporting a blobstore backend for a Docker registry (see #2763).
The directory indexes (which are GET requests to / with a dir param) are simpler versions of listing objects with a prefix from S3 (see here), and copying files (using the X-Blobstore-Copy-From header) is similar to copying an object in S3, which means we should still be able to make the blobstore an S3 gateway.

@titanous comments addressed

@titanous PostgreSQL Delete method updated to use a regular expression and test added.

LGTM


how to run cmd by another user in windows

in windows we can use syscall CreateProcessAsUserW to create cmd by another user. Is there any plan for this?

Hi @RickSKy
So it's possible.
Just need to think about api of how such a setting.
I am not an expert in windows, so how do you get a user token? By LogonUserW or somewhat else?


fix: enhance ps7 compatibility with ssl selfsigned

for some reason, it appears ssl validation bypass using System.Net.ServicePointManager does not work with powershell 7
use built-in powershell method Invoke-WebRequest which provide same capabilities
related to #3066

I always found Invoke-WebRequest to be 20-30% slower than WebClient download.
Not sure whether that is also the case in PS7.
(This was the reason for using HttpClient in the first place).
I will add a few questions in the code

If you prefer that I do these changes myself, let me know and I will take over.

Hey @freddydk , doesn't seems to be a big deal to enhance the pr with your requests. I can probably sort them this week.
Minus two things

UseBasicParser switch is deprecated since PowerShell 6, since changes from this PR have been designed to address SSL issue with PowerShell 7 and the current implementation, I don't think we should add it
SkipSslCertificateCheck switch is not available prior PowerShell 7

I really like the changes here, very nice.
Two small questions/change requests

So, I restore initial codebase and adapt existing part of HttpClient usage :
About initial SSL issue with PS7
HttpClient does not relay on ServicePointManager to validate SSL certificates I extend the existing SSL hook class by renaming and changing visibility of the certificate validation callback
As a result, it is usable by both http client implementation

when WebClient, we call Disable or Enable static methods
when HttpClient, we bind the class callback directly

About refactor of existing SSL hook class
I introduced a skipCertificateCheck switch into method DownloadFileLow which allow to remove part of duplicated code When the switch is $true, we disable SSL Certificate check Also, in order to keep output consistent between WebClient and HttpClient, I always print state of enable/disable SSL check
We might still enhance it a little bit by loading in a single place - but I'm not fluent enough with powershell to know where and how - so we could get rid of all [SslVerification]::Disable() and [SslVerification]::Enable() duplication :)

https://github.com/microsoft/navcontainerhelper/blob/b495deb26077badc2ae811543967cbe1da8dba03/Api/Invoke-NavContainerApi.ps1#L118-L129
https://github.com/microsoft/navcontainerhelper/blob/b495deb26077badc2ae811543967cbe1da8dba03/AppHandling/PsTestFunctions.ps1#L1244-L1256

About Error Handling
The GetExtendedErrorMessage was based on WebClient - however, HttpClient does not throw same Exception object. As a result, the handler was failing when it attempt to cast an HttpClientException into a WebException Therefore, I added a type check on the second and third level InnerException and print the relevant message which lead to more verbose error handling.
Last but not least, depending on the Exception, the ErrorDetail property might be null which crash the overall script. I therefore added an extra check at this stage.

I really like the changes here, very nice.
Two small questions/change requests

both feedbacks have been handled with last commit, thank you for the review :)


Package+request:+PACKAGENAME

Project description

Metadata

homepage URL:
source URL:
license: mit, bsd, gpl2+ , ...
platforms: unix, linux, darwin, ...

Add a :+1: reaction to issues you find important.

Wrong click?


Fixing typo and cleanup unused code

What type of PR is this?
/kind cleanup
What does does this PR do / why we need it:
This PR fixes typo and removes the commented code
Which issue(s) this PR fixes:
Fixes NA
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

[x] I have read the test guidelines

How to test changes / Special notes to the reviewer:

/retest
/lgtm


Spoilers

Some markdown implementations allow >! for a block spoiler, and >! ... !< for an inline spoiler. Will this be implemented?

Is there a spec for this? I want to know who defined this gram?

Mm, it doesn't look like there is a spec, a few implementations have it but each do it differently.
python-markdown2 puts class="spoiler" on a line starting with >! (it also still becomes a blockquote, so apparently it only works with blockquotes). Stackexchange seems the same way. Discord uses ||...||. Reddit spoilers text between >!...!< (which is useful so it can be inline). I think Reddit's syntax is the best, especially since the start and end tag are distinguishable.

Implemented in v3.


Rational quadratic spline identity init

First of all thanks for providing this awesome library.
In our applications, it is sometimes beneficial to initialize transforms as the identity.
We usually achieve this by setting all parameters to zero (e.g., shift and logscale in an affine coupling layer).
In your implementation of the rational quadratic spline, we can achieve this by replacing the line
https://github.com/bayesiains/nflows/blob/639c3a771d57c29a27c307140cc94a1008ee9f55/nflows/transforms/splines/rational_quadratic.py#L97
by something like
    import numpy as np
    ...
    mean_slope = (top-bottom) / (right-left)
    derivatives = mean_slope * F.softplus(unnormalized_derivatives, beta=np.log(2))
    derivatives =  derivatives.clip(min_derivative, None)

Is this something you would consider changing in your implementation?
Otherwise we can just go ahead and use an adaptation of your rq-spline code in our repo (of course with the appropriate references to your implementation).
Cheers,
Andreas
Tagging @invemichele @jonkhler

Hi Andreas,
This sounds sensible. I don't have the time these days to implement something like this myself, unfortunately, but would be willing to review a PR. Maybe
derivatives = min_derivative + F.softplus(unnormalized_derivatives, beta=(np.log(2) / (1 - min_derivative)))

would be even better as it avoids clipping. To keep the transform backwards compatible I'd make beta a parameter to the constructor, keeping at 1 by default, although there might be a more sensible way of parametrizing this behaviour.
Cheers,
Artur

#65 to resolve this has just been merged.


[Event Request] Codeunit 7322 Create Inventory Pick Movement - OnAfterMakeHeader

Hi, would it be possible to get an event OnAfterMakeHeader in codeunit 7322, procedure InsertShelfWhseActivLine, like this :
    local procedure InsertShelfWhseActivLine(NewWhseActivLine: Record "Warehouse Activity Line"; var RemQtyToPickBase: Decimal; WhseItemTrackingSetup: Record "Item Tracking Setup")
    var
        QtyToPickBase: Decimal;
    begin
        CreateATOPickLine(NewWhseActivLine, '', RemQtyToPickBase);
        if RemQtyToPickBase = 0 then
            exit;

        if WhseItemTrackingSetup."Serial No. Required" then begin
            RemQtyToPickBase := Round(RemQtyToPickBase, 1, '<');
            QtyToPickBase := 1;
        end else
            QtyToPickBase := RemQtyToPickBase;

        MakeHeader();

        OnAfterMakeHeader(NewWhseActivLine);

        repeat
            MakeLine(NewWhseActivLine, '', QtyToPickBase, RemQtyToPickBase);
        until RemQtyToPickBase = 0;
    end;

    [IntegrationEvent(false, false)]
    local procedure OnAfterMakeHeader(var NewWhseActivLine: Record "Warehouse Activity Line")
    begin
    end;

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


go-debug doesn't work with any cgo library

If importing any cgo library (e.g. "github.com/go-gl/gl/v4.5-core/gl") executing works but debugging doesn't with the following error:
Delve output: could not launch process: Unreadable version number: could not read string len input/output error
It's probably related to this issue: https://github.com/derekparker/delve/issues/477
So maybe someone can add the workaround using -ldflags="-linkmode=internal" to go-debug?

It is possible to define configurations with the latest version (v1.0.0).
These configurations also include buildFlags which will be passed through to delve.


projectController.ts code cleanup

Just some code cleanup in projectController.ts, no functionality changes:

adding doc comments to a few functions
move helper functions next to the code its used by
added #regions to make the file easier to navigate. The create project from db and update project code was previously in the #Helper methods region.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

48 of 86 (55.81%)  changed or added relevant lines in 1 file are covered.
5 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 41.996%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/sql-database-projects/src/controllers/projectController.ts
48
86
55.81%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-database-projects/src/controllers/projectController.ts
1
41.6%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.5%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
28942

Relevant Lines:
64027

💛  - Coveralls


Intellisense seems not working

Type: Bug
I just open my VSCode after eid mubarak holiday, but it seems the intellisense is not working.
What I've tried :

Run Typescript: Restart TS Server (sometimes when i got similar error, using this command solve the intellisense, but now it's not working)
Run Developer: Reload Window

VS Code version: Code 1.88.0 (5c3e652f63e798a5ac2f31ffd0d863669328dc4c, 2024-04-03T13:28:18.899Z)
OS version: Darwin x64 21.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz (8 x 2000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
4, 4, 4

Memory (System)
16.00GB (2.78GB free)

Process Argv
--crash-reporter-id c3b1a999-4231-41d9-9a74-504fb8d798ce

Screen Reader
no

VM
0%

Extensions (19)

Extension
Author (truncated)
Version

vscode-json
and
1.5.2

Bito
Bit
1.3.1

vscode-eslint
dba
2.4.4

gitlens
eam
14.9.0

prettier-vscode
esb
10.4.0

vscode-gutter-preview
kis
0.30.0

smalise
Loy
0.0.12

git-graph
mhu
1.30.0

csdevkit
ms-
1.4.29

csharp
ms-
2.23.15

vscode-dotnet-runtime
ms-
2.0.3

vscodeintellicode-csharp
ms-
2.0.25

color-highlight
nau
2.8.0

fix-json
oli
0.1.2

vscode-thunder-client
ran
2.21.0

vscode-standard
sta
2.1.3

pretty-json
sup
0.0.4

vscodeintellicode
Vis
1.3.1

vstuc
vis
1.0.1

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
vscoreces:30445986
vscod805:30301674
binariesv615:30325510
vsaa593:30376534
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
a9j8j154:30646983
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
bf62j303:30959262
cppperfnew:31000557
d34g3935:30971562
fegfb526:30981948
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonait:31006305
gee8j676:31009558
dsvsc021:30996838
gd77d436:30999572
da93g388:31013173

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.88.1. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

I just Restart Update my vscode and here's my vscode About

but the error still persist, Intellisense still not show

I am also having the same issue. This started after my recent upgrade to 15.36.46 on macos. I have tried all the fixes I am aware of, restart VS Code, Shut down your PC and start over again but nothing has improved the situation. Is there something I am missing?

What if you trigger IntelliSense outside of an import?

If I change Language mode to javascript, it seems the intellisense works.

but when I change it to Javascript JSX, the intellisense is not working

and Intellisense outside import working as below (while keep using javascriptreact as Language Mode`)


Provide a way to disable entities auto-creation

Go shuttle tries to simplify the setup of the client application by providing a minimal, discoverable, and extensible API to start publishing or receiving messages.
To do so, it auto-creates the topics and subscriptions when creating a Publisher/Listener.
I like this to be the default behavior, but it should be possible to disable entities operations if needed.
##This would for example allow to reduce the required rights of the user that runs the receiver or publisher.

thoughts on
default behaviour: non-mutative => no attempt @ mgmt ops, only pub/sub.
& adapting ensureTopic as a ManagementOption?
that way, services can consume shuttle as a servicebus wrapper w ~PoLP baked in on default path w/o added explcit config?
Im coming from a service-ops perspective on this, but do see merit to default ensure when considering your approach from a dev experience mindset...

resolved with v2, which never auto-creates any entity. leaves it to the user to do that with the sdk client.


Labels Enhancement

Now we can delete all labels of resources, maybe some labels should not be deleted.
We should provide the configuration that labels cannot be deleted in it.

Labels can be ignored by overwriting the labelsToIgnoreRegexes
https://github.com/rancher/harvester-ui/blob/8f7f391985e7bd14e4e9352c4c127a27b98ea085/plugins/steve/resource-instance.js#L349

After the PR merged, the label kubevirt.io/created-by of the VM Volumes is ignored in edit page.


Invalid Range request - 460-459 , registerFileUrl / IMPORT DATABASE

What happens?
Loading a CSV via registerfileURl and then IMPORT DATABASE results in an invalid range request.
console message:
FAIL WITH: Error: Range request for http://<IP_ADDRESS>:8080/db/raw_csv__test.csv failed with error: Error: Range request for http://<IP_ADDRESS>:8080/db/raw_csv__test.csv did returned non-success status: 416 "Range Not Satisfiable""
chrome DevTools reports the request as Range: bytes=460-459
webserver is nginx (on windows) stable: nginx/1.24.0
To Reproduce
register files from an EXPORT DATABASE './db'; command
    await db.registerFileURL(`./import/schema.sql`, 'http://<IP_ADDRESS>:8080/db/schema.sql',duckdb.DuckDBDataProtocol.HTTP, true);
    await db.registerFileURL(`./import/load.sql`, 'http://<IP_ADDRESS>:8080/db/load.sql',duckdb.DuckDBDataProtocol.HTTP, true);
    await db.registerFileURL(`./import/raw_csv__test.csv`, 'http://<IP_ADDRESS>:8080/db/raw_csv__test.csv',duckdb.DuckDBDataProtocol.HTTP, true);

try IMPORT DATABASE './public' ;
 const c = await db.connect();
await c.query(`IMPORT DATABASE './import' `)

schema.sql and load.sql are fetched correctly.
the csv file however is fetched
first with a HEAD
Range: bytes=0-
response:
Content-Length: 460
Content-Range: bytes 0-459/460
Content-Type: text/csv

2nd request GET
Range: bytes=0-459
response (the entire file)
Content-Length: 460
Content-Range: bytes 0-459/460
Content-Type: text/csv

but then a 3rd request is issued: GET
Range: bytes=460-459
which fails with a 416 Requested Range Not Satisfiable
Browser/Environment:
Chrome Version 112.0.5615.121 (Official Build) (64-bit)
Device:
windows 10 pc
DuckDB-Wasm Version:
'v0.7.2-dev1385', 'e8b7132504'
DuckDB-Wasm Deployment:
https://cdn.jsdelivr.net/npm/@duckdb/duckdb-wasm/+esm
Full Name:
Jo Degraef
Affiliation:
none

Thanks for the detailed bug report.
For some reasons (yet to be investigated) readFile might get asked to query an empty range, and this result in the non-sensical request you are seeing.
This should be fixed by #1252.


Added fluentd tests function. Added fluentd preprovision script to templates and moved windows agent credentials preprovision script to it's own file

 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.:x: capsali sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.


Add Metadata Plugins

Submit a new Plugin to Marketplace
Plugin Github repo URL: https://github.com/CorrectRoadH/logseq-metadata
Github releases checklist

[x] a legal package.json file.
[x] a valid CI workflow build action for Github releases. (theme plugin for this).
[x] a release which includes a release zip pkg from a successful build.
[x] a clear README file, ideally with an image or gif showcase. (For more friendly to users, it is recommended to have English version description).
[x] a license in the LICENSE file.

use case:
insert book(movies) metadata:
https://github.com/user-attachments/assets/45ee2eb6-d379-4367-b95b-e16ec597bce1
change the insert template
https://github.com/user-attachments/assets/0e487c16-8109-46f8-9eb6-4ef86f072048

Hi @CorrectRoadH I found that the release zip package is missing from https://github.com/CorrectRoadH/logseq-metadata/releases . Maybe you need to trigger the build manually:
https://github.com/CorrectRoadH/logseq-metadata/blob/master/.github/workflows/main.yml#L9

Hi @CorrectRoadH I found that the release zip package is missing from https://github.com/CorrectRoadH/logseq-metadata/releases . Maybe you need to trigger the build manually:
https://github.com/CorrectRoadH/logseq-metadata/blob/master/.github/workflows/main.yml#L9

Thanks for the reminder, it has been fixed now👌

Hi @CorrectRoadH I found that the release zip package is missing from https://github.com/CorrectRoadH/logseq-metadata/releases . Maybe you need to trigger the build manually:
https://github.com/CorrectRoadH/logseq-metadata/blob/master/.github/workflows/main.yml#L9

Are there any other issues blocking the merge?


Cp translations 2022 01 12 release 6.3

Summary

Ticket Link

Related Pull Requests

Has server changes (please link here)
Has mobile changes (please link here)

Screenshots

Release Note

Will try to auto merge this PR once all tests and checks are passing. This might take up to an hour.

Trying to auto merge this PR.

Pull Request successfully merged
SHA: 34a0ea480f17a74c5a4d1cffd0823ad96110a1b5


Image upload

The user should be able to choose between upload a image or use gravatar.
Currently gravatar is the only option.

+1 Not all environments have access to the Gravatar service.

Hi @roanosullivan, do you have interest in implementing that? It would be awesome :)

I'll add it to my personal backlog. Not sure when I'll actually get to it though.

Closed by https://github.com/caelum/mamute/pull/155


Display page title before 'DuckDB', not after.

Please change the page <title> from DuckDB - {{ page title }} to {{ page title }} - DuckDB.
Rationale:
When you've got multiple pages of DuckDB docs open in different tabs, the tabs get narrower and the page's actual title gets cut off of the browser tab.
So, all the tabs just display "DuckDB" and it's hard to tell which page is where. To find a particular page, you need to click through several tabs. It gets really tiring after a while.
Please, consider changing this.

Thanks - good idea. I have implemented it now.

@Mytherin  Ah, great! Thank you.


Status of rclc?

Hello!
I'm really looking forward to ROS2's C API and was wondering what the current status of the project is? What's the best way to stay up to date in the future?
Thanks!

rclc is not under active development at the moment. We are focused on rclcpp and rclpy as the primary client libraries. In the future we hope to be able to return to this and fill it out. As well as refactor as much supporting code out of the c++ implementation into the rcl libraries.
If someone is interested in picking it up that would be great. But so far there hasn't been significant support or demand for this client library.

@colinxs I believe that @tfoote has sufficiently answered your question, so I'm going to close this out.  If you have any additional questions, please feel free to ask in the relevant location based on our support guidelines


[9.x] Fix 0 division working with variable length pages

Divide by zero fix for length aware paginator. Fixes a few issues with argument based pagination.

Thanks for the PR. Are you able to add a test covering this, please?

Might need to look further into the unit test, as it passes in my local.

I would honestly rather just throw an exception on 0.

I also think an exception is better. It makes no sense to pass 0 as the $perPage argument. A paginator will always need at least 1 item per page, even if the collection of items to paginate itself is empty. So instead of allowing 0 i would suggest to do this in userland:
$items = [ ... ];
$paginator = new LengthAwarePaginator($items, count($items), max(1, count($items))

I would honestly rather just throw an exception on 0.

Just to pick your brain a bit if you have the time, do you prefer throwing an exception because it's not the intended behavior for the class?

In this example the paginator is useless, I just mean we can prevent a 0 $perPage value when creating an instance

This will probably be the way we move forward