Migrate some KEX functions to S2N_RESULT

Resolved issues:
https://github.com/awslabs/s2n/issues/2522
Description of changes:
Migrates some of the KEX functions (particularly s2n_kex_supported and s2n_configured_kex) to S2N_RESULT.
Call-outs:
The *_supported()/s2n_check* functions previously returned int, but the return value was treated like bool to indicate if the KEX was supported. Those functions now take an out parameter (e.g. bool *is_supported) to indicate support, and the S2N_RESULT return value indicates success/failure.
Testing:
How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

Unit tests have been updated.

Is this a refactor change? If so, how have you proved that the intended behavior hasn't changed?

Integ tests should ensure that overall behavior/usage hasn't changed.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

A fuzz target is failing for what looks to be like an unrelated build issue

A fuzz target is failing for what looks to be like an unrelated build issue


docs: document basics of configuring object storage

Created based on upstream PR https://github.com/lancedb/lance/pull/1849
Closes #681

@wjones127 the docs look great, but they specify which environment variables are required through the Rust crates for the different object stores. How would Python or JS users configure them? A couple of code snippets would be fabulous.

How would Python or JS users configure them?

These cannot be configured within Python or Javascript; they are simply set as environment variables.
Code snippets for how to set them would look quite different depending on platform you are working in. Are you using Bash, Windows Powershell, jupyter notebooks, Github Actions, AWS Lambda, and or something else?
Maybe I can just show bash and that's good enough for 90% of users? But even then, the values I provide are going to be garbage, since these are mostly credentials or else private endpoints. So no user is going to be able to copy and paste an example and have it work on their machine. 🤷

Also, considering that this document's focus is only cloud storage, I'm leaning more towards Chang's comment in https://github.com/lancedb/lancedb/issues/681 to naming it "Cloud storage" because that makes it immediately clear.

My expectation is that we will add guides for networked file stores or even local files stores to this same page. But I can rename it "cloud storage" for now, and we can switch the name back once we add other types.

From the perspective of a new user coming from Python or JavaScript, I think pointing them to a Rust crate might make it seem intimidating. Sometimes, people are just looking for code to get going :)

I've added code examples showing how to use the LanceDB connect function. I've also expanded the paragraph explaining that in most cases no additional configuration is required beyond setting credentials (which work just like any other cloud SDK).
Also added a couple sentences re-assuring them that the Rust docs are not so scary.


JSON serialization of native data structures

Related to: https://github.com/NativeScript/ios-runtime/issues/402

This is a great functionality for a plugin.


RFE: is it possible to start making github releases?🤔

Is it possible next time on release new version make the github release to have entry on https://github.com/messense/nh3/releases? 🤔
On create github release entry is created email notification to those whom have set in your repo the web UI Watch->Releases.
gh release can contain additional comments (li changelog) or additional assets like release tar balls (by default it contains only assets from git tag) however all those part are not obligatory.
In simplest variant gh release can be empty because subiekt of the sent email contains git tag name.
I'm asking because my automation process uses those email notifications by trying to make preliminary automated upgrades of building packages, which allows saving some time on maintaining packaging procedures.
Probably other people may be interested to be instantly informed about release new version as well.
Description:
https://docs.github.com/en/repositories/releasing-projects-on-github/managing-releases-in-a-repository
https://github.com/marketplace/actions/github-release
https://pgjones.dev/blog/trusted-plublishing-2023/
https://github.com/jbms/sphinx-immaterial/issues/281#issuecomment-1700933026

Just checked my automation and I can confirm that new version notification has been successfully processed 👍
New version builds and passes test suite correctly with one small warning
===================================================================================== warnings summary ======================================================================================
tests/test_nh3.py::test_clean_with_attribute_filter
  /usr/lib/python3.8/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: ('img', 'src', 'foo')

  Traceback (most recent call last):
    File "/home/builder/rpmbuild/BUILD/nh3-0.2.15/tests/test_nh3.py", line 71, in test_clean_with_attribute_filter
      nh3.clean(html, attribute_filter=lambda _element, _attribute, _value: True)
  TypeError: expected attribute_filter to return str or None

    warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=============================================================================== 4 passed, 1 warning in 0.07s ================================================================================

Nevertheless tank you very much 👍
I really appreciated for what you've done😄


Upstream graph experiments

Just so you know, within the other PR I also quickly extended the params CLI call to consider also the rest of the additional information extracted (eg query_region, get_images), it helped me during my development of the plugin. Perhaps I should revert to its original form?

Just so you know, within the other PR I also quickly extended the params CLI call to consider also the rest of the additional information extracted (eg query_region, get_images), it helped me during my development of the plugin. Perhaps I should revert to its original form?

I am not at all sure it's necessary to revert. Let's see when we review. This here is not complete anyway. I will finalize even this first form, and after  #5


[multistage] default group limit unable to override

when InstancePlanMakerImplV2 makes query plan it puts
_numGroupsLimit = config.getProperty(NUM_GROUPS_LIMIT_KEY, DEFAULT_NUM_GROUPS_LIMIT);

which is 100_000 by default. however this option is cluster-wide and cannot be overwritten by leaf-stage only on v2. This results in some high-cardinality group by queries produce incorrect results;
propose to create options for these static cluster-wide settings to be overwritten via query option:
CC @61yao also #9957

@walterddr Is https://github.com/apache/pinot/pull/9978 addressing this issue?

not really. we also want to configure this on the fly using QueryOptions. not just cluster config.

I think it is related to #9957


disambiguate d2d1 symbols.

winapi 0.3.5 exported more symbols in winapi::um::d2dbasetypes ref.
so.. explicitly use them, instead of the ones from winapi::um::d2d1::*;

Thanks!

As an aside: there is a comment in that change about winapi::um::d2basetypes getting depreciated in the future (the next major version).  winapi::um::dcommon seems to be whats going to replace it. I apologize for not researching this earlier. I was following rustc's suggestion of qualifying the names, and I didn't want to depend on a specific d2d1 version (d2d1_1, d2d1_2, d2d1_3 etc).
ref for dcommon
So, switching from winapi::um::d2basetypes::{ .. } to winapi::um::dcommon::{ .. } would (probably) be forward compatible with future changes.


Ddoc: fix botched backticks

In the past @andralex requested that code sections longer than a single token still be enclosed with $D(...) instead of backticks. Anyone know if that still holds?

The only reason is that refactoring may break backticked code across a line break, and sadly ddoc does not support that.


Load application configuration from file

Hi, what about moving settings to an external file? It's a good practice and simplifies configuration. Other settings (e.g. db file) should ideally be moved there as well.

So that goes pretty aggressively against the 12 Factor App idea of keeping configuration out of code.

Just to chime into this, with respect to the 12 Factor App rules, I use configparser and usually make a config.ini( or something there of) that works really well imo. As long as .gitignore has that file in it, you should be good to go. TBH, I hate having to remove and re-add my API keys to the file I'm pushing/pulling each time.
To note, I'm not even close to being a developer, but as someone who does numerous pushes and pulls, I like the notion. Just my 1 cent.


Add a Consumer API without groups

The Kafka Offset API allows un-grouped consumers. It may make sense for some use cases.
From the protocol spec:

Note that when this API is used for a "simple consumer," which is not part of a consumer group, then the generationId must be set to -1 and the memberId must be empty (not null). Additionally, if there is an active consumer group with the same groupId, then the commit will be rejected (typically with an UNKNOWN_MEMBER_ID or ILLEGAL_GENERATION error).

The thing is, for offset commits to work you still need a group id. I'm not sure what a nice API would look like.

Added an experimental API to master:
kafka = Kafka.new(...)

kafka.each_message(topic: "greetings") do |message|
  ...
end

It doesn't do checkpointing – I'm not sure if it makes sense to add it, as you might as well use a consumer group at that point.


To much paragraph tags

Hi, i want to use your editor in one of my project but is it possible to prevent the editor of adding
 Tags? Everytime i want to edit a text, it adds one more

 at the beginning and at the end of the document. So when i edit a text 5 times it looks like

Here is my text

i have edited
            if (element.value.length > 0) {
                this.contentWindow.document.body.innerHTML = '
' + element.value + '
';
            } else {
                this.contentWindow.document.body.innerHTML = '
&#65279
';
            }

to
            if (element.value.length > 0) {
                this.contentWindow.document.body.innerHTML = element.value;
            } else {
                //this.contentWindow.document.body.innerHTML = '
&#65279
';
            }

is there another (good practice) way?

Hi, It was a bug I knew.
But I did not know that so many P tags were generated.
I'll fix it quickly!
Thanks for finding the bug : )

I have fixed this issue : )
i have edited
       if (element.value.length > 0) {

            var tag, innerHTML = "";
            var baseHTML = element.value.split("\n");

            for (var i = 0, len = baseHTML.length; i < len; i++) {
                tag = document.createRange().createContextualFragment(baseHTML[i]);
                tag = (tag.children && tag.children.length > 0) ? tag.children : tag.childNodes;

                if (!/^P$/i.test(tag[0].tagName) && baseHTML[i].trim().length > 0) {
                    baseHTML[i] = "
" + baseHTML[i].trim() + "
";
                }

                innerHTML += baseHTML[i];
            }

            this.contentWindow.document.body.innerHTML = innerHTML;
        } else {
            this.contentWindow.document.body.innerHTML = "
&#65279
";
        }

Really nice, thanks :D

Hi~
I didn't know that opened this issue..
It will work now : )

Hi~
I didn't know that opened this issue..
It will work now : )


Resource  ... is not an eligible resource for this provisioning instance

We are seeing an issue in one deployment where two users with identical roles + group memberships, provisioning a VM selecting the same network, see different results in placement. One user is successful while the other sees the error mentioned in the title of the issue.
I would also note that we are seeing some oddities with group assignments in this region, however we've verified these users had matching groups and current group here (and this group should have access to all hosts on this provider).
evm.log from unsuccessful user:
[----] I, [2023-07-05T15:26:36.640960 #257726:46dcdc]  INFO -- evm: Q-task_id([r855708_miq_provision_526501]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#get_ems_metadata_tree) EMS metadata collection completed in [0.277068139] seconds
[----] I, [2023-07-05T15:26:37.107397 #257726:46dcdc]  INFO -- evm: Q-task_id([r855708_miq_provision_526501]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#allowed_hosts_obj) allowed_hosts_obj returned [1] objects in [0.466067749] seconds
[----] I, [2023-07-05T15:26:37.107569 #257726:46dcdc]  INFO -- evm: Q-task_id([r855708_miq_provision_526501]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#filter_hosts_by_vlan_name) Filtering hosts with the following network: <dvs_NETWORK-321>
[----] I, [2023-07-05T15:26:37.129601 #257726:46dcdc]  INFO -- evm: Q-task_id([r855708_miq_provision_526501]) MIQ(ManageIQ::Providers::Vmware::InfraManager::Provision#eligible_resources) returning :<>
[----] E, [2023-07-05T15:26:37.730247 #257726:93a8] ERROR -- evm: Q-task_id([r855708_miq_provision_526501]) MIQ(MiqAeEngine.deliver) Error delivering {"request"=>"vm_provision"} for object [ManageIQ::Providers::Vmware::InfraManager::Provision.526501] with state [] to Automate:
evm.log from successful user:
[----] I, [2023-07-05T02:36:35.015729 #257728:50938]  INFO -- evm: Q-task_id([r855634_miq_provision_526421]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#get_ems_metadata_tree) EMS metadata collection completed in [0.287639572] seconds
[----] I, [2023-07-05T02:36:35.723541 #257728:50938]  INFO -- evm: Q-task_id([r855634_miq_provision_526421]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#allowed_hosts_obj) allowed_hosts_obj returned [20] objects in [0.707461981] seconds
[----] I, [2023-07-05T02:36:35.723718 #257728:50938]  INFO -- evm: Q-task_id([r855634_miq_provision_526421]) MIQ(ManageIQ::Providers::Vmware::InfraManager::ProvisionWorkflow#filter_hosts_by_vlan_name) Filtering hosts with the following network: <dvs_NETWORK-321>
[----] I, [2023-07-05T02:36:36.010054 #257728:50938]  INFO -- evm: Q-task_id([r855634_miq_provision_526421]) MIQ(ManageIQ::Providers::Vmware::InfraManager::Provision#eligible_resources) returning :<159:hostname-esx04.domain.com, 160:hostname-esx02.domain.com,...
[----] I, [2023-07-05T02:36:36.010330 #257728:50938]  INFO -- evm: Q-task_id([r855634_miq_provision_526421]) MIQ(ManageIQ::Providers::Vmware::InfraManager::Provision#set_resource) option <placement_host_name> being set to <[220, "hostname-esx03.domain.com"]>

@jbarson47  Can you give more details on the users and roles?


IOS  error: open /Users/usr/local/Caskroom/flutter/2.5.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.8.0/ios/gen/Flutterblue.pbobjc.h: No such file or directory (in target 'flutter_blue' from project 'Pods')

1.通过 sudo mkdir 创建这个目录 “/Users/usr/local/Caskroom/flutter/2.5.2/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_blue-0.8.0/ios/gen/”
2.通过 sudo chmod -R 777 赋予这个根目录权限，如：/Users/usr/local/Caskroom
3.将文件拷贝到此处  sudo cp 源文件路径(Flutterblue.pbobjc.h) ./


Sentence score from lstm language model

Is it possible to pass a single sentence to the language model and get perplexity or any other score? How do I use trained language model?
Thanks.

Yes, if you run the language model (LSTMLanguageModel.java) it will score all sentences in the dev and test sets individually every n iterations (set by validation_interval).
If you do not want to train just set iterations to 0 and it will simply score the sentences with the model in output_dir. More specifically, the model.gz file in the directory in specified in output_dir is loaded before doing anything (either keep training from that point or score validation and test sentences).
Cheers,
Wang Ling


Custom motifs do not work for several functions

I've been struggling to make use of custom motifs. Having looked at the code I suspect it might not work for other functions than annotate_dataset(). For example, get_heatmap() does not pass custom_motifs to annotate_dataset(), which maybe was intended to be done with **kwargs? I tested some naive solutions, for example by adding **kwargs to the get_heatmap() call to annotate_dataset(). As another example I tried adding custom_motifs = [] as a variable in get_heatmap() and pass it on to annotate_dataset() with custom_motifs = custom_motifs but this did not work. I believe more thorough changes might be needed to be able to use custom motifs for most functions.

Thanks for spotting it! Fixed it in 7da8ceb so I'll close this but if the issue persists somewhere let me know

Ah you need to have at least two motifs in your heatmap (otherwise it can't calculate a distance matrix). I'll think about including a more informative error message for that. Also, note that I'll soon change the keyword args to be the standard motifs=True as used in the other functions


[Qustion] How to get correct current node position using get_buf_position in nested snippets?

Question:
I want to map <Tab> in such a way that it performs jump(1)only when the cursor is at the end of the current snippet node, take the following snippet as an example:
s({ trig = '//' }, { t '\\frac{', i(1), t '}{', i(2), t '}' })

what it looks like after expanding the snippet and inserting some text in i(1):
\frac{abcd + (abcd|)}{}

where | indicates the position of the cursor.
In the situation shown above, pressing <Tab> will not trigger jump(1) but instead calls a "fallback" function. The fallback function will, for example, moves the cursor out of the brackets if possible, like this:
\frac{abcd + (abcd)|}{}

now pressing <Tab> will trigger jump(1) since the cursor is at the end of current node:
\frac{abcd + (abcd)}{|}

I (kind of) achieved this with the following config (I manage the behavior of <Tab> in nvim-cmp config):
local cmp = require('cmp')
local luasnip = require('luasnip')
cmp.setup({
    -- ....
    mapping = {
        ['<Tab>'] = cmp.mapping(function(fallback)
          if vim.fn.mode() == 'i' then
            if luasnip.expandable() then
              luasnip.expand()
            elseif luasnip.jumpable(1) then
              local session = require('luasnip.session')
              local current = session.current_nodes[vim.api.nvim_get_current_buf()]
              local _, current_end = current:get_buf_position()
              current_end[1] = current_end[1] + 1 -- (1, 0) indexed
              local cursor = vim.api.nvim_win_get_cursor(0)
              vim.notify('current_end: ' .. vim.inspect(current_end) .. ' cursor: ' .. vim.inspect(cursor))
              if current_end[1] == cursor[1] and current_end[2] == cursor[2] then
                luasnip.jump(1)
              else
                fallback()
              end
            else
              fallback()
            end
          end
        end, { 'i', 'c' }),
    }
    -- ....
})

the notify in the mapping serves for debug purpose only.
The problem is, when I'm inside a nested node, i.e. a snippet triggered inside another snippet, the position of
the end of the current node I get is incorrect. For instance, assume we have another snippet:
s({ trig = '**' }, { t '\\cdot ' })

What it looks like after triggering this snippet inside the first snippet given above with some text inserted after:
\frac{abcd \cdot abcd|}{}

in this case, the current_end I get is the end of \cdot instead of the index before the closing curly braces, which is the end of the insert node.
here is a short video demonstrating the problem, notice the messages in the command line:
https://user-images.githubusercontent.com/76579810/215151003-30b95f1b-dc67-4d6d-8efc-f94895ef9ffc.mp4
Any help is appreciated!

AH, I think what's going on here is just how luasnip handles the exit-point of snippets.
Here, cdot actually looks like this: {t'\\cdot', i(0)}, and the i(0) is active (the current_node) at the moment you're triggering the jump, and you're getting its location, instead of the end of the insertNode of the surrounding snippet.
I'm not sure how you'd want to proceed here. The actual surrounding insertNode can be retrieved at i(0).next, maybe you want to do some detection-logic for this case?
Is the actual behaviour you want to avoid the spurious jumping-around when snippets are not completely "jumped through"? If yes, there are already some ways to handle this better, for example region_check_events or delete_check_events here

Hi, thanks for your reply!
If i(0) is the current active node, what is the region it occupies in the buffer?
If i(0) contains all texts inserted after \cdot:
        <-----i(1)-------> (i(1) of frac snippet)
                 <---i(0)---> (i(0) of cdot snippet)
\frac{abcd \cdot abcd|}{}

then it should also gives the correct result.

Is the actual behaviour you want to avoid the spurious jumping-around when snippets are not completely "jumped through"? If yes, there are already some ways to handle this better, for example region_check_events or delete_check_events here

Yes exactly. Following your suggestion, I set region_check_events  to 'CursorMoved,CursorMovedI,InsertEnter,CursorHold,CursorHoldI', but the problem is not solved.

If i(0) is the current active node, what is the region it occupies in the buffer?

Oh, nothing, it's completely empty. This is by design, since otherwise jumping into it would select all text after a finished snippet.

but the problem is not solved

Yeah, it's more of prevention-scheme, it'll just make this issue appear less often since the snippet is left as soon as the cursor is outside its region.
Another approach to this is leaving the snippet as soon as INSERT is left, via this

Thanks. I come up with the following solution:
vim.api.nvim_create_autocmd({
  'CursorMovedI',
  'TextChangedI',
}, {
  pattern = '*',
  callback = function(ev)
    if not ls.session
        or not ls.session.current_nodes[ev.buf]
        or ls.session.jump_active
    then
      return
    end

    local current_node = require('luasnip.session').current_nodes[ev.buf]
    local current_start, current_end = current_node:get_buf_position()
    current_start[1] = current_start[1] + 1 -- (1, 0) indexed
    current_end[1] = current_end[1] + 1 -- (1, 0) indexed
    local cursor = vim.api.nvim_win_get_cursor(0)

    if cursor[1] < current_start[1]
      or cursor[1] > current_end[1]
      or cursor[2] < current_start[2]
      or cursor[2] > current_end[2]
    then
      ls.unlink_current()
    end
  end
})

It now works as expected

Beautiful :ok_hand:
I'll link it as an alternative version in the original thread, might come in handy for others too :D

Why can't We make this beautiful snippet a default optional configuration?


Investigate: SBOM creation for all app types

Context
To implement Paketo RFC0038, we are considering how to build out an SBOM for various types of apps.
Issue
The most straightforward path appears to be generating an SBOM for the packages that get installed via dotnet publish (dotnet publish buildpack) and store it in a CNB lifecycle-accessible file as outlined in the RFC.
However, it may be advantageous for us to consider how we might approach generating SBOMs for apps that don't use 'dotnet publish' such as self-contained apps and framework-dependent executables. In this set up, we may end up generating the SBOM based off of a *.deps.json file. There is plenty of discourse on the options we have in the related Syft issue (linked below)
This issue is to investigate the viability of generating an SBOM from various types of .NET Core apps (framework-dependent executables/deployments, self-contained apps, and source apps).
The outcome should be documented here and used to inform our approach to contributing to the Syft issue, if we choose to go that route.
Associated Issue
Currently, we use the Syft library in packit in order to generate SBOMs for other buildpack language families, such as Node.js. The outcome of this issue will inform our strategy on the mechanism to actually generate an SBOM for a .NET Core app.
https://github.com/anchore/syft/issues/373 exists, which may be the most straightforward and logical place to approach solving this issue, so we can then consume the release and generate the SBOM in a similar fashion to our other buildpacks. A reasonable starting place could be to consider how Syft could gather package info from the *.deps.json file after the publish step, or the obj/project.assets.json file.

This issue has spawned a tracking issue in the dotnet-execute buildpack to add SBOM scanning there. You can see that issue here https://github.com/paketo-buildpacks/dotnet-execute/issues/317.


1485 refactors

Usability and other minor changes.

removes custom logging and LUNA_HOME, replaces it with loguru
removes stale code related to neo4j and old pipe-lining stuff
removes model training cli
removes ray as a dependency
add trimesh (used in radiomic feature extraction)
minor fixes to dcm_to_itk and dsa_viz cli tools

Closing, changes made to code are in #360 , making a new PR to contain updates to dependencies.


Try to optimise memory usage of home view.

Going to spend 1 hour on trying to rework the home view as a ListView, in order to save on memory consumption.

Done in #336


added error message when catalog has wrong api key

Description
This should give the proper error message in the log when the published documents are not showing on the browser without logging in. @sandeep-ps Since I am out, you can modify and push necessary changes if needed please
Fixes #923
Review Time Estimate
Please give your idea of how soon this pull request needs to be reviewed by selecting one of the options below. This can be based on the criticality of the issue at hand and/or other relevant factors.

[ ] Immediately
[ ] Within a week
[x] When possible

Type of changes
Please select a relevant option:

[x] Bug fix (non-breaking change which fixes an issue).
[ ] New feature (non-breaking change which adds functionality).
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected).
[ ] Other (any another change that does not fall in one of the above categories.)

Checklist:
Please select all applicable options:

[x] I have signed the Rokwire Contributor License Agreement (CLA). (Any contributor who is not an employee of the University of Illinois whose official duties include contributing to the Rokwire software, or who is not paid by the Rokwire project, needs to sign the CLA before their contribution can be accepted.)
[x] I have updated the CHANGELOG.
[x] I have read the Contributor Guidelines.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] My change requires updating the documentation.
[ ] I have made necessary changes to the documentation.
[ ] I have added tests related to my changes.
[ ] My changes generate no new warnings.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Not able to see published contributions when not logged in. The error remains the same: "2022-06-02T17:13:44.130Z INFO [Thread-35 ] : root - Contribution SEARCH {"search": "Contribution search performed with : None", "ep_building_block": "contributions_building_block", "ep_name": "Contribution", "ep_method": "SEARCH"} "

This PR is not the PR for showing the published contribution without logging in. If you want me to do include it, I will create an issue and include it in here.

Not able to see published contributions when not logged in. The error remains the same: "2022-06-02T17:13:44.130Z INFO [Thread-35 ] : root - Contribution SEARCH {"search": "Contribution search performed with : None", "ep_building_block": "contributions_building_block", "ep_name": "Contribution", "ep_method": "SEARCH"} "

Not able to see published contributions when not logged in. The error remains the same: "2022-06-02T17:13:44.130Z INFO [Thread-35 ] : root - Contribution SEARCH {"search": "Contribution search performed with : None", "ep_building_block": "contributions_building_block", "ep_name": "Contribution", "ep_method": "SEARCH"} "

I have checked with my local and it shows the published contributions without logging in. Are you sure it doesn't show the published ones without logging in?

Not able to see published contributions when not logged in. The error remains the same: "2022-06-02T17:13:44.130Z INFO [Thread-35 ] : root - Contribution SEARCH {"search": "Contribution search performed with : None", "ep_building_block": "contributions_building_block", "ep_name": "Contribution", "ep_method": "SEARCH"} "

@minump Can you post your published contributions Json in here to see if it is correct?

Added the message when there is no published contribution saying that there is no published contribution. Also, added the redirection to error pages when the api key is wrong from just showing main page with empty contributions.

Not able to see published contributions when not logged in. The error remains the same: "2022-06-02T17:13:44.130Z INFO [Thread-35 ] : root - Contribution SEARCH {"search": "Contribution search performed with : None", "ep_building_block": "contributions_building_block", "ep_name": "Contribution", "ep_method": "SEARCH"} "

@minump I have checked with my local and it shows the published contributions without logging in. Can we double check to see if it doesn't show the published ones without logging in?

Able to see published contributions when not logged in. Must have been a mistake from my end before.
Also able to see "There is no published contributions" in home.html when using wrong APIKey.

I will move the CHANGELOG entry to the unreleased section. The rest looks good.

I will move the CHANGELOG entry to the unreleased section. The rest looks good.

thanks

@minump, it looks like you had requested some changes in this PR. If they look good, could you please approve this PR? Thanks.

Thank you! Approved and merged.


python310Packages.nomadnet: 0.1.9 -> 0.2.0

Description of changes
https://github.com/markqvist/NomadNet/releases/tag/0.2.0

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 180409 run on x86_64-linux 1

2 packages built:

python310Packages.nomadnet
python39Packages.nomadnet


Why the memory usage keeps slowly fluctuating and increasing

When I use go-zero, I added a route "ok". After starting the service, even without any client requests, the memory usage keeps slowly fluctuating and increasing. After approximately a day, it continues to fluctuate but no longer increases. What could be the reason for this? When using gin, there is almost no fluctuation in memory usage.

I recommend you to do a memory profiling. And upload the file if no sensitive info.
Right now, I have no idea on this. We didn't have this kind of issue.

Okay, let me reproduce and capture the pprof. Expected to provide next week

test code is https://github.com/zeromicro/zero-examples.git  zero-examples/http/demo
mem after one day  whithout any request,but rss is grow 5kb:
root       40203  0.1  1.0 1685272 20624 pts/0   SNl  16:26   0:00 ./demo   some minutes  after start
root       40203  0.1  1.1 1759324 21656 pts/0   SNl  16:26   0:00 ./demo   some minutes  after start by pprof
root       40203  0.1  1.3 1759580 26880 pts/0   SNl  Jun17   1:05 ./demo   some minutes  after one day
root       40203  0.1  1.3 1759580 26084 pts/0   SNl  Jun17   1:05 ./demo   some minutes  after one day by pprof
the go-zero pprof file is in https://f.ws59.cn/f/edu6fambotp 24h valid


[Question] Silent Renew File Pattern

What is the reason for having the silent-renew outside of the react app instead of just adding a route in the router?

This is because oidc-client mounts this page inside an iframe and uses it to automatically renew the token. For this reason, it has to be a physical HTML file and not just simply a route.


Python3 fixes for the shot_detect example

The python bytes vs str issue is present in the shot_detect.py example.  This should fix that and make it usable again.

Codecov Report

Merging #1374 (9ec742a) into main (6cd4161) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1374   +/-   ##
=======================================
  Coverage   86.27%   86.27%
=======================================
  Files         196      196
  Lines       19865    19865
  Branches     2309     2309
=======================================
  Hits        17138    17138
  Misses       2161     2161
  Partials      566      566

Flag
Coverage Δ

py-unittests
86.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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


[Pixel][1,3]Fill the Pixel!

Name: Rahul Kumar
ID: 12310890
Batch: DSAI, M.Tech, 2023
Color: Saffron

The pixel [1,3] has been assigned to you. Go ahead and create a PR @rk13cse  ✌


Fix Veldrid blocking iOS from building

Veldrid relies on a certain library for providing Direct3D 11 API, which is powered by a binding generator that fails to get AOT'd on iOS.
0>Mono Ahead of Time compiler - compiling assembly /Users/salman/Projects/osu-framework/SampleGame.iOS/obj/iPhone/Debug/net6.0-ios/ios-arm64/linked/SharpGen.Runtime.dll
AOTID 7CA136D1-DC5C-CDE1-6269-4B4A034E7F8B
* Assertion at /Users/runner/work/1/s/src/mono/mono/metadata/custom-attrs.c:599, condition `out_obj' not met

0>Tool /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64/6.0.11/Sdk/../tools/mono-aot-cross execution started with arguments: --aot=mtriple=arm64-ios,data-outfile=obj/iPhone/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Drawing.Common.aotdata,static,asmonly,direct-icalls,full,readonly-value=ObjCRuntime.Runtime.Arch=i4/0,soft-debug,dwarfdebug,no-direct-calls,outfile=obj/iPhone/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Drawing.Common.dll.s --aot= --debug -O=gsharedvt /Users/salman/Projects/osu-framework/SampleGame.iOS/obj/iPhone/Debug/net6.0-ios/ios-arm64/linked/System.Drawing.Common.dll

0>/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.0.527/targets/Xamarin.Shared.Sdk.targets(1003,3): Error  : Failed to AOT compile SharpGen.Runtime.dll, the AOT compiler exited with code 134
0>Tool /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64/6.0.11/Sdk/../tools/mono-aot-cross execution started with arguments: --aot=mtriple=arm64-ios,data-outfile=obj/iPhone/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Pkcs.aotdata,static,asmonly,direct-icalls,full,readonly-value=ObjCRuntime.Runtime.Arch=i4/0,soft-debug,dwarfdebug,no-direct-calls,outfile=obj/iPhone/Debug/net6.0-ios/ios-arm64/nativelibraries/aot-output/arm64/System.Security.Cryptography.Pkcs.dll.s --aot= --debug -O=gsharedvt /Users/salman/Projects/osu-framework/SampleGame.iOS/obj/iPhone/Debug/net6.0-ios/ios-arm64/linked/System.Security.Cryptography.Pkcs.dll

0>Tool /usr/local/share/dotnet/packs/Microsoft.NETCore.App.Runtime.AOT.osx-x64.Cross.ios-arm64/6.0.11/Sdk/../tools/mono-aot-cross execution finished (exit code = 134).

0>Mono Ahead of Time compiler - compiling assembly /Users/salman/Projects/osu-framework/SampleGame.iOS/obj/iPhone/Debug/net6.0-ios/ios-arm64/linked/SharpGen.Runtime.COM.dll
AOTID A48F61D9-2494-6DF6-EBD4-7824B1850F51
* Assertion at /Users/runner/work/1/s/src/mono/mono/metadata/custom-attrs.c:599, condition `out_obj' not met

0>/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/16.0.527/targets/Xamarin.Shared.Sdk.targets(1003,3): Error  : Failed to AOT compile SharpGen.Runtime.COM.dll, the AOT compiler exited with code 134

There's no way to exclude such library on iOS as far as I've tried and failed, and we're far away from running Veldrid/Metal on iOS, so disabling it is the only option left.
Now disabling it isn't easy either, there is no way to determine whether the target platform is iOS in the case of referencing via project and referencing via package (build configurations only work for projects, they don't work for packages).
So I've had to put the time and effort into completely separating Veldrid and DesktopGameHost (for using veldrid) into a separate project named osu.Framework.Desktop, which is referenced by projects that target desktop platforms (e.g. osu.Framework.Tests, osu.Desktop, osu.Game.Tests, etc.).
I'm absolutely not a fan of this solution, but I can't think of any sane way to fix this otherwise. I'm willing to throw this away if anyone comes up with an alternative solution. I'll push osu!-side changes if this gets in.

Seems wrong. I’d sooner ask veldrid to fix the issue than do this.

Sure, but I can't think of any potential way for this to be solved at their end either, unless this is a regression by SharpGen.Runtime that can be resolved by downgrading or something (keep in mind the faulty library is 3 levels deep in the packages hierarchy, Veldrid -> Vortice.Direct3D11 -> SharpGen.Runtime). And the issue thread I reported received no feedback as well.

Came up with another wanky simplified solution that might hold up for a while.


Won't detect .jsx aliased imports

Tell us about your environment

ESLint Version: 5.16
yarn Version: 1.9.4

What parser (default, Babel-ESLint, etc.) are you using? Babel-ESLint
Please show your full configuration:

source code: https://github.com/jimmy-e/eslint_errors
package.json:

{
  "main": "index.jsx",
  "scripts": {
    "remove-dist": "rm -rf dist",
    "copy-index": "cp src/index.html dist/index.html",
    "devWebpack": "webpack --config webpack.dev.js",
    "start": "webpack-dev-server --inline --hot --history-api-fallback --config webpack.dev.js",
    "build:dev": "npm-run-all remove-dist devWebpack copy-index"
  },
  "license": "UNLICENSED",
  "devDependencies": {
    "@babel/core": "^7.4.5",
    "@babel/preset-env": "^7.4.5",
    "@babel/preset-react": "^7.0.0",
    "babel-eslint": "^10.0.1",
    "babel-loader": "^8.0.6",
    "babel-plugin-module-resolver": "^3.2.0",
    "eslint": "^5.16.0",
    "eslint-config-airbnb": "^17.1.0",
    "eslint-import-resolver-alias": "^1.1.2",
    "eslint-loader": "^2.1.2",
    "eslint-plugin-import": "^2.17.3",
    "eslint-plugin-jsx-a11y": "^6.2.1",
    "eslint-plugin-react": "^7.13.0",
    "npm-run-all": "^4.1.3",
    "webpack": "^4.16.5",
    "webpack-cli": "^3.1.0",
    "webpack-dev-server": "^3.1.5",
    "webpack-merge": "^4.1.4"
  },
  "dependencies": {
    "babel-plugin-transform-builtin-extend": "^1.1.2",
    "babel-polyfill": "^6.26.0",
    "connected-react-router": "^5.0.1",
    "react": "^16.4.0",
    "react-dom": "^16.4.0",
    "react-router": "^4.3.1",
    "react-router-dom": "^4.2.2"
  }
}

.eslintrc:

module.exports = {
  parser: "babel-eslint",
  extends: "airbnb",
  settings: {
    'import/resolver': {
      alias: [
        ['components', './src/components'],
      ],
    },
  },
  globals: {
    "document": true,
  },
};

.babelrc:

{
  "presets": [
    "@babel/preset-env",
    "@babel/preset-react"
  ],
  "plugins": [
    ["module-resolver", {
      "root": ["./src"],
      "alias": {
        "components": "./src/components/"
      }
    }]
  ]
}

webpack.common.js:

const path = require('path');
const DIST_DIR = path.resolve(__dirname, 'dist');
const SRC_DIR = path.resolve(__dirname, 'src');

const config = {
  entry: [
    `${SRC_DIR}/index.jsx`,
  ],
  output: {
    path: `${DIST_DIR}/`,
    filename: 'bundle.js',
  },
  module: {
    rules: [
      {
        enforce: 'pre',
        test: /\.jsx?$/,
        exclude: /node_modules/,
        loader: 'eslint-loader',
        options: {
          failOnWarning: false,
          failOnError: true,
        },
      },
      {
        test: /\.jsx?$/,
        include: SRC_DIR,
        loader: 'babel-loader',
      },
    ],
  },
  resolve: {
    extensions: ['.jsx', '.js'],
    alias: {
      components: path.resolve(__dirname, 'src/components/'),
    },
  },
};

module.exports = config;

webpack.dev.js:

const merge = require('webpack-merge');
const common = require('./webpack.common.js');

const config = merge(common, {
  mode: 'development',
  devtool: 'inline-source-map',
  devServer: {
    contentBase: './dist',
    historyApiFallback: true,
    hot: true,
    proxy: {
      '/api': {
        target: 'http://localhost:5001',
        secure: false,
      },
    },
    allowedHosts: [
      'localhost',
    ],
  },
});

module.exports = config;

What did you do? Please include the actual source code causing the issue, as well as the command that you used to run ESLint.

src/index.jsx:

import 'babel-polyfill';
import React from 'react';
import { render } from 'react-dom';
import Home from 'components/home'; // causes es-lint error
// import Home from 'components/home.jsx'; //  // doesn't cause es-lint error

render(<Home />, document.getElementById('app'));

src/components/home.jsx:

import React from 'react';

const Home = () =>
Home Page
;

export default Home;

yarn commands:

yarn

yarn build:dev

yarn start

What did you expect to happen?
For yarn and the app to start and run successfully with no errors. I am wanting to use my build, .jsx files, babel, and eslint with aliased imports.
What actually happened? Please include the actual, raw output from ESLint.
ESLint complains that it is "Unable to resolve path to module 'components/home'". This is due to line 4 in index.jsx:
import Home from 'components/home'; // causes es-lint error

However, line 5 does not cause any such issues:
import Home from 'components/home.jsx'; //  // doesn't cause es-lint error

Ideally, I should not have to append the .jsx extension when using alias importing in webpack and ESLint.
After running yarn and yarn build:dev, I run yarn start and get the following result:
jemery:eslint_errors/ (master) $ yarn start                                                                                [8:00:20]
yarn run v1.9.4
$ webpack-dev-server --inline --hot --history-api-fallback --config webpack.dev.js
ℹ ｢wds｣: Project is running at http://localhost:8081/
ℹ ｢wds｣: webpack output is served from /
ℹ ｢wds｣: Content not from webpack is served from ./dist
ℹ ｢wds｣: 404s will fallback to /index.html
✖ ｢wdm｣: Hash: 2cdc33706374112b8868
Version: webpack 4.33.0
Time: 1225ms
Built at: 06/12/2019 8:00:24 AM
    Asset     Size  Chunks             Chunk Names
bundle.js  940 KiB    main  [emitted]  main
Entrypoint main = bundle.js
[0] multi (webpack)-dev-server/client?http://localhost (webpack)/hot/dev-server.js ./src/index.jsx 52 bytes {main} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost] (webpack)-dev-server/client?http://localhost 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.59 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.04 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.77 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.63 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./node_modules/webpack/hot/dev-server.js] (webpack)/hot/dev-server.js 1.61 KiB {main} [built]
[./node_modules/webpack/hot/emitter.js] (webpack)/hot/emitter.js 75 bytes {main} [built]
[./node_modules/webpack/hot/log-apply-result.js] (webpack)/hot/log-apply-result.js 1.27 KiB {main} [built]
[./node_modules/webpack/hot/log.js] (webpack)/hot/log.js 1.11 KiB {main} [built]
[./src/index.jsx] 459 bytes {main} [built] [failed] [1 error]
    + 21 hidden modules

ERROR in ./src/index.jsx
Module build failed (from ./node_modules/eslint-loader/index.js):
Module failed because of a eslint error.

/Users/jemery/dev/eslint_errors/src/index.jsx
  4:18  error  Unable to resolve path to module 'components/home'  import/no-unresolved

✖ 1 problem (1 error, 0 warnings)

 @ multi ./src/index.jsx main[0]
ℹ ｢wdm｣: Failed to compile.

As previously mentioned, you can find the source code here.
Are you willing to submit a pull request to fix this bug? Yes

Your eslint config isn’t using a webpack resolver, so your webpack config doesn’t come into play.
In this case, the issue is that your eslint config needs to include the jsx extension in its import plugin settings.

Your eslint config isn’t using a webpack resolver, so your webpack config doesn’t come into play.
In this case, the issue is that your eslint config needs to include the jsx extension in its import plugin settings.

Hi @ljharb. I went ahead and added eslint-import-resolver-webpack:
yarn add -D eslint-import-resolver-webpack

And updated my .eslintrc to the following:
.eslintrc:
module.exports = {
  parser: 'babel-eslint',
  extends: 'airbnb',
  settings: {
    'import/resolver': {
      alias: [
        ['components', './src/components'],
      ],
      webpack: {
        config: {
          resolve: {
            extensions: ['.js', '.jsx'],
          }
        }
      }
    }
  },
  globals: {
    'document': true,
  },
};

but am still receiving the same error. Did I misunderstand your instructions? Thanks.

Yes, you did - you need to add .jsx to "settings" - not for webpack, but for everything. See https://github.com/benmosher/eslint-plugin-import#importextensions

Hi Jordan,
I tried listing file extensions both ways as listed in the linked settings doc, but still got the same error:
module.exports = {
  parser: 'babel-eslint',
  extends: 'airbnb',
  settings: {
    'import/extensions': [
      '.js',
      '.jsx'
    ],
    'import/resolver': {
      node: {
        extensions: [
          '.js',
          '.jsx'
        ]
      },
      alias: [
        ['components', './src/components'],
      ],
      webpack: {
        config: {
          resolve: {
            extensions: ['.js', '.jsx'],
          }
        }
      }
    }
  },
  globals: {
    'document': true,
  },
};

hmm, that should work. Can you make a repro repo?

You can find the repo here. To encounter the error I did the following:
yarn
yarn build:dev

Hey @ljharb , is there any update for this?

Hi @jimmy-e, I am suspicious it's something about the interplay between your components alias and the other resolvers.
I would try removing the node and alias resolvers and instead using only the webpack resolver, configured to point at your true webpack config file as described here: https://www.npmjs.com/package/eslint-import-resolver-webpack
Assuming your webpack config covers both the components alias and the multiple extensions, it should Just Work. 🤞🏼

Yep, @benmosher , that's the answer, thanks! Here is the correct .eslintrc (repo has been updated):
module.exports = {
  parser: 'babel-eslint',
  extends: 'airbnb',
  settings: {
    'import/extensions': [
      '.js',
      '.jsx'
    ],
    'import/resolver': {
      webpack: {
        config: 'webpack.common.js',
      }
    }
  },
  globals: {
    "document": true,
  },
};

Assuming your webpack config covers both the components alias and the multiple extensions, it should Just Work.

I'm running into this issue with next.js, and the webpack config is part of next, so . . . it seems like there is no way to resolve this issue in this case?


Doc cfg attr

Follow-up of https://github.com/gtk-rs/gir/pull/988

@bilelmoussaoui Running with --all-features on stable is going to be problematic with this. Should I disable it for the stable channel in here?

I guess we will have to manually switch to the highest feature there's?

@bilelmoussaoui I fixed the CI. Do you think it's fine as is?

@GuillaumeGomez do we have to disable running tests/builds on stable/beta/v1.40 ? otherwise the if: .... parts should be removed as you have switched to the latest feature there's for each crate already

The feature I added is nightly only, which means we can't run with dox nor --all-features. Which is why I splitted both runs where --all-features was used.

@GuillaumeGomez What's missing here?

The confirmation from @bilelmoussaoui I guess?

Let's wait till the CI can work again


Overlay not working for scrollbar

Environment info

OS: macOS 10.14.3
App Version (Command/Ctrl + ,): 1.7.3

Description of the problem / feature request / question:
The scrollbar in the middle panel should be overlaid over the list other than taking a port of a verticl e space.
If possible, provide a sample gist or screenshot:

I will fix this issue for warming up.


Switch go.mod to 1.14

This makes go automatically add -mod=vendor when needed so that
our vendor/ directory is used.
This fixes https://github.com/code-ready/crc/issues/1767
Some openshift components have already switched to 1.14 or newer in 4.6,
rhel8.3 has a new enough golang, so I think this can be done now without
waiting for 4.7

@cfergeau to incorporate this we also need to update our CI to use 1.14.7 (the one part of rhel right now).

The last commit in this series is likely to break CI, because of missing yq/jq/... and maybe for other unforeseen reasons. This might need to be adjusted anyway, as I'm not sure we always want to set everything to the same go major version (in particular, I can see us wanting to keep the go.mod file set to 1.14, or the openshift ci Dockerfile set to something different while we switch other files to 1.15 ). This can be refined progressively :)

I've removed goversioncheck from check for now, as this triggers various CI breakage, and I'd like not to hold up this for too long as it's likely to conflict with other changes.

retest this please
/lgtm


Add configuration for max S3 connections

For large MSQ jobs with durable storage, the default number of maximum connections (50 as of now) is sometimes a bottleneck leading to job failures. This provides a configuration to bump the maximum s3 connections for AWS S3 Client.
This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[x] been tested in a test Druid cluster.

@gianm just pinging this PR to you because it's adding a config primarily for usage by MSQ.  Given our goals of eliminating configs, should we be adding this?


Check the released files against changes outside of release

We should introduce the prevention mechanism to the Access Operator as we have in the main operators repo, to check any unwanted changes to the install/, examples/, and helm-chart/ directories and fail the CI if they are changed.

I can take a look at this if no one wants to do it.

Triaged 03.10.2024: thanks to @see-quick for volunteering and look into this.


update the included sql services

I do not believe that query store applies to Azure SQL DW .. I am not 100% sure that i made this change correctly...

@bostonandy : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

@bostonandy - thank you for your submission. In order to validate the include file I'm moving the changed files into our private repository for validation. I will close this pull request.


🐛📄 – Unknown enum value or missing value for enums?

Describe the problem

the gps_quality field of vehicle_locations, and possibly others, is an enum, but doesn't allow for "unknown" gps quality.
We have a system that reports a figure of merit that's linked to positional accuracy, but the figure of merit field is over-loaded, so values of 1 mean that the location is derived from a different system, and there's no implied accuracy. That means I can't choose a correct enum value from among Excellent, Good and Poor.
Possible Solutions

We could:

add Unknown or No data to the enum, the way GTFS-realtime does, or
change the type to ['string', 'null'] and add null to the enum.
use any of the accepted missing value values: "NA", "NaN", "", but not sure if this would validate.

Does anyone know if missing values are allowed for enums in json schema?
Additional context

As far as I can tell, null is allowed for the enum constraint—unless the field is required, then it will fail the required constraint.

In a database, the best practice would be to leave the field null, and not require it, indicating that the information is not available or known.  I would suggest allowing blank/null values is a better option than adding unknown or no data or null as a possible value of the enum.

If allowing Null is the consensus of the group, then does any action need to be taken? I don't believe it affects the spec itself at all.

True, gps_quality is not required, so you can use null.
I think it would be helpful to communicate this somehow, so that implementers don't need to be familiar with the ins and outs of Frictionless and JSON Schema. We could:

Add, "Use null to indicate unknown or missing values." to the field description for enums that are optional.
Add a note about null for non-required enum fields in a best practices section.
Document information about the JSON Schema types used by the spec, and important differences from GTFS at the top of the table schemas page.


Feature/billing

This PR introduces initial support for billing features into the dashboard with account usage and a pricing table

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


Added In-Person Payment Cloud terminal-api/sync example

Supports the following use-cases:

Making payment requests - Make a payment with specified amount and currency
Making referenced refund requests - Reversals
Making cancel/abort requests - Cancel initiated transaction on the terminal
Making transaction status requests - Fire a request to the terminal to see its transaction status

[x] when on a small laptop the Cash Register doesn't fit: there is an horizontal scrollbar, the "Payment In Progress" message is hidden. Suggestion: reduce number of tables and make the view smaller
Done

[ ] maybe show (in each table or with a modal) some additional info that we store in the local storage (transactionId, et..)

[x] README in the root must also be updated (add new example)

[ ] I have experienced 403 error when trying a payment after a refund
Is this because the terminal is busy? @gcatanese

maybe show (in each table or with a modal) some additional info that we store in the local storage (transactionId, et..)

[x] The transaction-status request now has this info on a separate page ^


Do we really need to create an HotelBooking instance for a conference?

https://github.com/EuroPython/epcon/blob/dev/ep2017/p3/forms.py#L549
maybe we need a better way to create automatically the needed stuff when creating a new conference :)

We aren't using hotel bookings anymore, so don't need any of this anymore. Feel free to rip it out.

The HotelBooking model has been removed.


Save edit is not showing on my game

try so hard to edit my save and watch a video and i did the same thing over and over and still is not showing on my game
i use JKSM and still import back in my game and still is not show the edit i made
help me PLZ
Save Zip File is Below
Yo-kai watch bony spirits.zip

i'm using a USA Version

Make sure you clicked the "Apply" button before saving. If the issue persists, please let me know what you tried in detail.

I did the apply and still the same result

Komasan S (コマさんS) is only available in Psychic Specters, the third version of YW2.
You have to edit the save data, not the extdata.

i see
i will check it now
and reply u back as soon i see on the menu of the game

it work thx

i was doing extdata
my bad
and when u said save file
and export and edit holy exporb
and i test if it work and it work as a charm 👍 🥇


View event

When on event view, we should display a Dashboard/Summary of the event by default.

Duplicate of #54


runtime(java): Support "g:ftplugin_java_source_path" with archived files

Also, document for "g:ftplugin_java_source_path" its current
modification of the local value of the 'path' option.

After some pre-publication refactoring, cleanup actions for
script re-sourcing have got lost.  This is corrected now.

Another iteration: a few more bugs are squashed and a buffer
local association for archived g:ftplugin_java_source_path
values is introduced.

thanks, looks good, let me merge it


"Unknown error" when running PHP after changing light/dark mode

How to reproduce:

Switch between light/dark mode
Try to run Lint or F9
You receive "Unknown error"

Guess: Since running PHP in console works, this is most likely an issue with the (re)initialization of the webbrowser control.

This EOleException seems to be an error in the VCL...
The fix is to set SelectedEngine = EdgeIfAvailable in the DFM...


Pagination and Table Sorting

This feature commit adds pagination and server based table sorting.
It also adds a minimum number of bookings to allow this feature to be e2e tested.

Context

Release checklist
Release process documentation.
Pre-merge checklist

[ ] Are any changes required to dependent services for this change to work?
(eg. CAS API)
[ ] Have they been released to production already?

Post-merge checklist

[ ] Manually approve
release to test
[ ] Manually approve
release to preprod
[ ] Manually approve
release to prod

Thanks for reviewing @libuk. To echo your point, we should all be aiming for smaller atomic commits that tell the story as documented in our playbook. One of the benefits of investing more energy into it is that it makes reviewing easier and more valuable, especially when the reviewer has much less context than the author. Let's please invest more into it in future pull requests.

Thanks for reviewing @libuk. To echo your point, we should all be aiming for smaller atomic commits that tell the story as documented in our playbook. One of the benefits of investing more energy into it is that it makes reviewing easier and more valuable, especially when the reviewer has much less context than the author. Let's please invest more into it in future pull requests.

While I agree to follow the dxc standard I disagree with the reasoning behind it. Development within commits is rarely linear, they may be reverted or entirely rewritten, none of which seems helpful to the reviewer. Case in point, Dan had created three commits for this feature and I had to change what they did as more knowledge surfaced. The other aspect is it makes reverting somewhat more difficult.

Looks good. As I mentioned, I find it easier to review big changes like this in smaller linear commits. But this is a larger code standards concern which I think should be addressed outside the context of a single PR.

Perhaps it's the lack of in-line code documentation around reasoning, and smaller commits trying to make up for it?

Indeed development isn't linear. We can however use git often to manipulate the work as we go to curate the commits. For that example it's normal for those 3 commits to not end up having everything they needed and for them be edited or fully dismantled and represented when we learn more.
Reverting is straightforward when we couple this approach with merge commits. We're then able to revert the sum by reverting the merge commit or any individual part/s if the rest is good.
We consider inline comments as a signal that the code is not presenting itself clearly enough. Any context or additional considerations that we often have can be documented and found in the authoring commit.


Filter by SSDP location, not the sender IP address

Filtering by location allows multiple devices responding from the same IP, which is often the case for emulated devices. It also weeds out incorrectly-written UPnP implementations which supply no location (no checking for that found elsewhere).

Nice.


Nuage: Get an error 'NoSuchElementException' when deleting a binded Security Group

Description
Nuage: Get an error 'NoSuchElementException' when deleting a binded Security Group
Expected Behavior
We should be able to delete the binded SG.
Actual Behavior
Get an error 'NoSuchElementException' when deleting a binded Security Group
Steps to Reproduce
OSC/Setup/Virtualization Connectors
Go to the Security Group Section
Create a Security Group with at least one VM as a member and bind it to a DA.
Now delete the SG.
Delete SG Job fails with error - java.util.NoSuchElementException
Additional Information
DE4192 in Rally
WORKAROUNDS -

Unbind the SG and then do a Delete,  or,
Force delete the binded SG and clean up the objects on Nuage GUI also.

Environment

OSC Version/Build: Version: 0.6.0 (Build:4-gc4547e9, 2017-05-26T18:35:23Z)
Cloud Provider Info:
Plugin Info:
Other:

Status

[ ] Reproduced
[ ] In Progress
[ ] Validated     =>    Verified in Version/Build:

NoSuchElementException-Deleting-binded-SG.txt

we will prioritize if we get a request to fix this bug

@emanoelxavier please check with david to see if this is fixed.


Run on Server Option Not Avaliable

Hi guys, the Run on Server option is not available as referenced in the readme for deployment to local Cloud runtime. I'm guessing because the project was imported as a Maven project instead of being setup as a Dynamic Web Project.  I'm unsure if I switch the espm-cloud-web project to a faceted project and enable the Dynamic Web Project, will it break anything. Any help or suggestions on deploying locally?

After much fiddling, I managed to get it to deploy locally.  I had to explicitly enable Project Facets and enable the Dynamic Web Project 3.0 facet.  I then had to add the following to the Web Deployment Assembly which is under Properties for espm-cloud-web:

/src/main/webapp
the espm-cloud-jpa project (which seems to put all dependencies into 1 jar)
the maven dependencies for espm-cloud-web
See here:

If there is an easier way to do this for mavenized projects, please do let me know!

Hi @ustadji
Importing as Maven project, building it and running on server is the easiest way.
Can you please provide few details to analyse what went wrong in your scenario ?
Eclipse version and the OS?

Hi Navin, thanks for your response... my Eclipse version is the latest version of Neon and my OS is Win 10.  When you say 'running it on the server' do you mean deploying it to the cloud?  If so, that works without any issues as its just a matter of deploying the war artifact generated by Maven to the SCP platform. It is running locally  - on the local Java Web Tomcat 8 server instance - where the issue was. The readme documentation assumes there is a "Run on Server" option available once you import the maven project into the workspace but that is actually not the case. By default, the project is not stereotyped as a 'Dynamic Web Project' which inherently disables the context menu option "Run on Server".
Although I managed to get it to work, I was just wondering whether there was a more cleaner method of deploying the application locally without having the change Project Facets.

Since, we don't have any response, assume that the issues is solved. Hence closing the issue

Hi Skrishnakumar,
The issue hasn't been addressed as yet or solved.... please see my last comment.....


Adding Python quiz questions

developerquiz.org currently has over 600 quiz questions. We are looking to expand on the Python questions and we encourage other developers to add their quiz questions to the site.
Please note: we are only focusing on general Python questions instead of library and framework specific questions.
You can find the complete list of questions below.
https://github.com/freeCodeCamp/Developer_Quiz_Site/blob/main/src/data/python-quiz.ts
You can add your own questions to the top of that file.
Please first check to make sure your question doesn't already exist in the file before creating a PR.
Here is an example format for the questions.
  {
    Question:
      "In Python, which method can be used to replace parts of a string?",
    Answer: "replace()",
    Distractor1: "switch()",
    Distractor2: "repl()",
    Distractor3: "find()",
    Explanation:
      "If you need to search through a string for a pattern, and replace it with another pattern, you can use the replace() method.",
    Link: "https://www.freecodecamp.org/news/python-string-methods-tutorial-how-to-use-find-and-replace-on-python-strings/",
  },

For the link field, please make sure to use a freeCodeCamp article, freeCodeCamp YouTube video or official documentation.
If you choose to reference a video, please make sure to include the timestamp for the topic covered.
You can read more about how to create timestamps in this helpful article.
This issue will not be assigned to anyone and will remain open for multiple contributors.
Please do not assign yourself to this issue or close it.
Happy contributing!

{
Question: "We have a python list a = [1,2,3,4,5,6,7,8,9] what is the output of a[-1:-5:-1]?",
Answer: "[9, 8, 7, 6]",
Distractor1: "[9, 8, 7, 6, 5]",
Distractor2: "[4, 3, 2, 1]",
Distractor3: "[1, 2, 3, 4]",
Explanation: "The slicing syntax for the list is [a:b:c]. Here a and b are start and end indexes. The ‘c’ is the step value.",
Link: "https://www.freecodecamp.org/news/python-lists-detailed-visual-introduction/",
},

Hi @Still11 !
If you are interested in contributing a quiz question, then please create a PR.
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request
Thanks!

Hey @Still11,
A wonderful question there.
If you need help creating a PR for the same, we can team up and work on things.

Hii, Can I contribute in the python quiz questions.

@jdwilkin4 what do you mean by distractors?

@Sin-Sumit Distractors are options other thank the right answer that appear as choices under the question.
The imply that the corresponding items are incorrect answers for the question.

If people have question about this issue, or questions in general on how to contribute, please use the GitHub discussions area.
It will be easier to track conversations over there 👍

For anyone interested in contributing, please read through the contributing documentation first.


onReady doesn't work for Facebook in ssr (different playerID)

Hey, onReady doesn't work for FB player when loaded in ssr.
From debugging I found that two playerIDs are generated, one in ssr and one in client.
@CookPete What do you think about adding
componentDidMount() {   this.playerId = ref.id  }
If it was loaded in ssr it will change the playerId to the one the div has. Otherwise it will have no affect.
I can make pr for this.
Quick workaround is to remount reactPlayer in client (changing the key in componentDidMount)

Thanks for the fix. And amazing project (I've been using it for years).
The given solution fixes the problem. However only if you are aware of the problem and add code to use it.
It seems to me that it can be easily fixed without adding code from the outside. But maybe I'm missing something?

Sorry, I should’ve followed this up after merging.
I'm not sure componentDidMount would solve the problem? Once the component is mounted it has an id set in the DOM already, and setting this.playerId won't update the DOM before the Facebook SDK load logic kicks in.
It could maybe be fixed without additional code by using react-uid within the player, but I don't really want to include react-uid in the bundle for everyone (even if you're not using Facebook URLs).
Lazy players are coming in v2.0 so I could maybe include it then.


Svelte 5 Compatibility

Hey @Valexr
Is this library compatible with Svelte 5?
Thank you!

I think you mean package @slidy/svelte...🤔
You can check it yourself in this playground

Thank you very much!
Do you have any idea about the svelte:fragments ?
svelte:fragments are deprecated in Svelte 5 in favor of snippets
Is there a way to hide the slidy-overlay other than  .slidy-overlay { display: none; }?
The svelte migration tool converted from something like this
<svelte:component this={c.Slidy} {...slides} let:item>
  <Review item={item} />
</svelte:component>

To something like this, and it works, however, it doesn't work with svelte:fragment
<Slidy --slidy-slide-width="300px" --slidy-slide-gap="2rem"  {slides} {snap} {loop} {arrows} {width} {height} {groups} {progress} {navigation} {thumbnail} let:item bind:index bind:position
    classNames={{
      root: `${classNames.root} custom-class`,
      ...classNames
    }}>

  {#snippet children({ item })}
     <Review {item} />
  {/snippet}
</Slidy>

Hey, big fan of your library. I just wanted to give help out here with a new svelte 5 update changes.
Svelte 4 let us do named slots like below where we use svelte:fragments. This is directly from you guys' docs:
<Slidy>
	<svelte:fragment slot="arrows">
		<button data-step="-1"> Show the previous slide </button>
		<button data-step="1"> Show the next slide </button>
	</svelte:fragment>
</Slidy>

But now in svelte 5 we no longer have svelte:fragments in favor of using #snippets and @render.
I think these svelte docs are helpful summary of the new syntax:

Snippet
Render

Hope that helps! Happy coding.

Tx @hiromon0125 it became clearer, but it's backward compatibility problem - using the same logic for slot or snippet... 🤔 now I haven't any ideas...

Thanks @Valexr and @hiromon0125
I don't have a REPL account, and saving the playground was challenging. Thanks for stepping in.
Here is a comparison between slots in (Svelte 4) and Render in (Svelte 5).
https://component-party.dev/compare/svelte4-vs-svelte5#component-composition.slot-fallback

<MediaQuery query="(max-width: 580px)">
	{#snippet children(matches)}
	  {matches}
		{#if matches}

Hello World

		{/if}
	{/snippet}

	{#snippet children2()}

TEST

	{/snippet}
</MediaQuery>

// MediaQuery.svelte

{@render children(matches)}
{@render children2?.()}

The svelte:fragment would look something like this in Svelte 5
<Slidy>
    {#snippet arrows()}
          <button data-step="-1"> Show the previous slide </button>
          <button data-step="1"> Show the next slide </button>
    {/snippet}
</Slidy>

I guess, somewhere inside the the Slidy library, the snippet will be rendered with {@render arrows?.()}

Looks like new major version of @slidy/svelte with 5 compatibility 🤔

@hiromon0125 & @scart88 if you have ideas, PR welcome. @EricRovell (core maintainer @slidy/svelte) can do this near NewYear holidays…

I want to help because I'm a big fan of Slidy. However, I'm still learning Svelte, so I don't think I'm the best person to do it; however, I can try to see how I can help.
I discovered a minor bug in Svelte 5. If the slide item content changes when (e.g., clicking on a button or changing an item in a select element), the slides shift similarly to the Go to the next slide button works.
Is there a way to prevent or stop the slide from moving if a user interacts with a slide item?
Thank you!

I think it’s just reactivity depending in Slidy props… or if you interacting with wrapper section (it’s listening click event)…  but for more constructive dialog, I ask you to create a playground. Auth in it for saving examples, just auth in GitHub third party app… it’s safe 🤓

Thanks! I just created a Playground
If you click the "Check" button, I'm using an if / else to show a loading state and simulate a fetch request.
When the content inside the slide item changes, the slide shifts because the HTML content changes.
If the class name changes, it works as expected. However, it doesn't work if you use if/else to update content inside the slide item.
Please let me know your thoughts.
Thank you!

Fixed - check Playground

Thank you so much for fixing this so quickly!

Tx you for bug-report 👍🏻

I'm getting this when I try to run npm i @slidy/svelte
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/svelte
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer svelte@"3 - 4" from<EMAIL_ADDRESS>npm error node_modules/@slidy/svelte
npm error   @slidy/svelte@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

I'm getting this when I try to run npm i @slidy/svelte
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving<EMAIL_ADDRESS>npm error Found<EMAIL_ADDRESS>npm error node_modules/svelte
npm error   dev<EMAIL_ADDRESS>from the root project
npm error
npm error Could not resolve dependency:
npm error peer svelte@"3 - 4" from<EMAIL_ADDRESS>npm error node_modules/@slidy/svelte
npm error   @slidy/svelte@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.

<EMAIL_ADDRESS>with only svelte 5 support is coming soon 😀

Released<EMAIL_ADDRESS>👍🏻 just update

This is fantastic work! 🚀🚀🚀 Thank you so much!
I was testing the REPL playground, and I found a minor bug.
It works without bind:index or bind:position

With the new version, it looks like the position or index property must be set as bindable.

Thanks for the quick update.
I found another minor bug, as the snippet no longer works.
This is the same playground I posted earlier
https://svelte.dev/playground/15b8d599947b4902a60ab00146871b9f?version=5.2.4
I hope I'm not bothering you with these bug reports.
Thanks a lot for your quick fixes!

Arguments can be passed only to named(arg)👌🏻 snippet, not default children(~arg~). Slidy has slide(item) snippet inside #each slides array.
{#snippet slide(item)}
  <Review {item} />
{/snippet}

I understand, and it works as expected. Thanks for the explanation.
With this update, I notice I must manually add the class="slidy-slide" inside the snippet to make the Slidy CSS variables work. However, the active class is not applied.
Example: https://svelte.dev/playground/15b8d599947b4902a60ab00146871b9f?version=5.2.4

Because snippet not wrapped by  tag now,  because parent tag maybe not   /  tags...

I think css & html architecture need to be rethinking... If you have some ideas - welcome 🥸

Fully custom svelte template just using @slidy/core script... & you can make your's 🤓

I really enjoy working with CSS variables and slide. It makes it very customizable.
I think before was
<li
  aria-current={active ? "true" : undefined}
  aria-label={format(i18n.counter, i, length)}
  aria-roledescription={i18n.slide}
  class={classNames?.slide}
  class:active
  class:bg={background}
  role="group"
  style:--_slidy-slide-bg={background ? `url(${getImgSrc(item)}` : undefined}
  >
  {#if slide}
	  {@render slide(item)}
  {:else}
	  {#if !background}
		  <Image src={getImgSrc(item)} {...item} />
	  {/if}
  {/if}

And now the {@render slide(item)} snippet is outside of the
 element
{#if slide}
  {@render slide(item)}
{:else}
  <li
	  aria-current={active ? "true" : undefined}
	  aria-label={format(i18n.counter, i, length)}
	  aria-roledescription={i18n.slide}
	  class={classNames?.slide}
	  class:active
	  class:bg={background}
	  role="group"
	  style:--_slidy-slide-bg={background ? `url(${getImgSrc(item)}` : undefined}
  >
	  {#if !background}<Image src={getImgSrc(item)} {...item} />{/if}

{/if}

However, I'm not sure if this is the main cause why the active class is not applied.

Thanks a lot for the template. It makes learning so much easier.

Or you can use <Core> component from @slidy/svelte for custom template... as you wish...
Released 3.5.3 where return
 wrapper around snippet

Thanks for the update! This fixes the issue, and everything works as expected: 👍 🚀https://svelte.dev/playground/15b8d599947b4902a60ab00146871b9f?version=5.2.4
I can't wait to play with the Core version too.


Nested string interpolation and space_operators

"#{"#{a}:#{b}"}:#{c}"

This line of code causes problems when space_operators is on.
$ coffeelint test.coffee
  ✗ test.coffee
     ✗ #1: Operators must be spaced properly. +.
     ✗ #1: Operators must be spaced properly. +.

Duplicate of #441.

yup. I haven't seen an actual use for nested interpolation yet. I don't think there is one, but if it's found I'll reopen.
"#{a}:#{b}:#{c}"

Since this came up twice now I'm tempted to write a no_nested_interpolation rule :)

I can give you one.
connectionString = "mongodb://#{if config.user? then "#{config.user.name}:#{config.user.pass}@" else ""}#{config.host}:#{config.port}/#{config.db}"

Of course, it can be done without nesting the interpolation, I just tought it should be validated fine since it's a valid coffee-script.
Sorry for duplicate :( and thanks for your hard work on this.

Of course, it can be done without nesting the interpolation

This is what I recommend.
There is a bug in CoffeeLint because at least two of our rules depend on knowing if we're inside of an interpolation. When CoffeeScript parses the code and finds interpolations it doesn't provide us with the original tokens exactly. Instead it kind of transpiles your interpolation into code you might have written as if the interpolation wasn't a feature, but the code it generated doesn't follow your code standards.
# When CoffeeScript encounters this
connectionString = "mongodb://#{userPrefix}"
# it actually tells CoffeeLint you wrote:
connectionString = "mongodb://"+userPrefix

While we're inside the interpolation the space_operators and no_unnecessary_double_quotes basically have to be disabled. Through the power of Rubber Duck Debugging I now realize there are other potential bugs here.
# I have violated both rules here, but we can't find them
# because they're inside an interpolation.
whatever = "foo:#{ bar+generateSomething("baz") }"

I'm reopening this for you, but I think trying to fix it is going to open a new can of worms. Anyone is welcome to tackle this.

I suggest looking for the STRING_START and STRING_END tokens. (That requires CoffeeScript 1.9.1 or later I think.)

That's what we do, but how do you handle nested start and ends?
whatever = "foo:#{ bar+generateSomething("baz") }"

I think if we can solve this case correctly, then the nested interpolation problem will go away. Maybe we need to more specifically target the nodes that CoffeeScript is generating and not just ignore all violations between STRING_START and STRING_END

I will take a look at it sometime this week if no one else does. I didn't even know you could nest interpolations when I wrote the original code. Seems like not a good idea to do so but if it's valid we should probably handle it...

STRING_START → ignore
Inside STRING_START–STRING_END: ( → pause ignore
Inside STRING_START–STRING_END: ) → resume ignore
STRING_END → end ignore


fix(FieldSet): snap translations to full pixel size

This PR ensures bounding box adjustments during translation shifts are happening only in full voxel size increments, rather than assuming MIP0 voxel size.
It seems to work for the particular case we discussed - not sure if there are other places that require this or similar changes.

Made the "snap to MIP" part a method of Translation.
Make sure the change applies to img as well as masks, but separately, in order to avoid larger than necessary cutouts for either layer.

This is only handling merge_render.py, though. Not render.py or any of the other jobs


Update SCIM overview.mdx

🚀 Deployed on https://6706f45e8c262f651a6dda72--cozy-fox-0defec.netlify.app


Replace []fn.KubeObject to fn.KubeObjects in the SDK interfaces

for easy access to the useful methods provided by fn.KubeObjects

+1 for this change. We have more upstream lib methods which are useful


Character count not working

I have plugin version v2.3.3 and Logseq version 0.10.9 on Mac.
Word counts work, but character counts always show 0.

Fixed in latest version.
There was a typo in code. Sorry about that!


why css and js cannot be loaded?

set the base_path correctly in config.php
On Sat, Feb 9, 2019, 17:37 Figar Januar<EMAIL_ADDRESS>wrote:

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/issues/137,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdGuQanTN4Rm8_mKSe8sgCCPy53hY_yaks5vLrn1gaJpZM4ayg0j
.

set the base_path correctly in config.php
…
On Sat, Feb 9, 2019, 17:37 Figar Januar @.*** wrote: — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#137>, or mute the thread https://github.com/notifications/unsubscribe-auth/AdGuQanTN4Rm8_mKSe8sgCCPy53hY_yaks5vLrn1gaJpZM4ayg0j .

do you mean base_url?
i have set base url correctly, but "templatecss" and othhers not changing to correct url

@figarjanuar Read there - https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap after installation steps.

Just get rid of "RewriteBase /" line in the .htaccess file.


Projects/1 dynamic prices (#27)

You approved my PR, but somehow your branch still doesn't have the latest changes. I'm creating this PR to see what changes it detects.

Projects/1 dynamic prices (#1)

fixing UT of GenerateSavePctString (#16)

original UT did not assert against returned value. it asserted that the input matched the expected output, which doesn't make any sense.
Co-authored-by: Jayd<EMAIL_ADDRESS>
UT for FindSmallestProductInfo (#17)

Co-authored-by: Jayd<EMAIL_ADDRESS>
UT for StoreLogicService.ValidateProducts (#18)

Co-authored-by: Jayd<EMAIL_ADDRESS>

UT for UpdateButtonTextAndSavePct (#22)

UT for UpdateButtonTextAndSavePct

Co-authored-by: Jayd<EMAIL_ADDRESS>Co-authored-by: Jayd<EMAIL_ADDRESS>

Update StoreLogicService.cs

CalculateSavePercent method adjusted, GenerateSavePctString adjusted. Corrected testmethod for GenerateSavePctString

CalculateSavePercent, adjusted so the calculations are per line of code.
GenerateSavePctString, removed console.writeline and put math.truncate at the correct place.
GenerateSavePctString for one third, adjusted the expected result from 50M to expectedResult.

Adjusted after comments

Smal qualities of life + extra unit test

Fixed CalculateSavePercent and added 2 UTs to confirm

Co-authored-by: Third Eye Software<EMAIL_ADDRESS>Co-authored-by: Jayd<EMAIL_ADDRESS>

This PR is just an example of the extra changes Git is detecting. For example, there are changes detected in CalculateSavePercent(), but this method has already been merged into Projects/1-dynamicPrices.


Client password reset results in 404 when clicking the confirmation link in email

When a client requests a password reset, clicking the link received in an email redirects them to a 404 not found error page
Page /reset-password-confirm/ not found.
Log entry...
Unable to find template "mod_pagereset-password-confirm.html.twig" (looked into: /home//public_html/members/themes/huraga/html, /home//public_html/members/modules/Page/html_client).
I've checked the folders and can confirm the template to reset the password is missing
members sub-directory mapped to vhost members.domain.co.uk

This issue does not appear in the latest version of FOSSBilling. Could you update to version 0.4.3 once released and let us know if you still have problems?

Still ongoing in 0.4.3... see log entry...
[01-May-2023 13:55:37 UTC] Unable to find template "mod_page_reset-password-confirm_.html.twig" (looked into: /home//public_html/members/themes/huraga/html, /home//public_html/members/modules/Page/html_client).
[01-May-2023 13:55:37 UTC] Page /reset-password-confirm/ not found

Still ongoing in 0.4.3... see log entry...
[01-May-2023 13:55:37 UTC] Unable to find template "mod_page_reset-password-confirm_.html.twig" (looked into: /home//public_html/members/themes/huraga/html, /home//public_html/members/modules/Page/html_client).
[01-May-2023 13:55:37 UTC] Page /reset-password-confirm/ not found

Are you using a custom theme, or running in a subdirectory?
There endpoint does exist and there is a theme associated with confirming.

Still ongoing in 0.4.3... see log entry...
[01-May-2023 13:55:37 UTC] Unable to find template "mod_page_reset-password-confirm_.html.twig" (looked into: /home//public_html/members/themes/huraga/html, /home//public_html/members/modules/Page/html_client).
[01-May-2023 13:55:37 UTC] Page /reset-password-confirm/ not found

Are you using a custom theme, or running in a subdirectory?
There endpoint does exist and there is a theme associated with confirming.

I’m using the default themes. I moved from a sub-directory to a sub-domain before updating to 0.4.2 It might be useful to know that I migrated from BoxBilling, I have updated the DB schema twice since without errors.