docs: seed allcontributor data

Issue #100
Initial seed commit to initiate the data for allcontributor bot / cli
Provide an example to proceed with other repositories
Changes

Inserted seed bash script

usage: ./scripts/seed_contributors.sh NAME TOKEN REPONAME

Please notify the related issue when this is merged to kickstart the process in other repos.

I created https://github.com/all-contributors/all-contributors-cli/pull/210 to alleviate @mttrbrts 's concerns. However, I still feel that this PR could go through whether or not it's merged.

@kharaone great work pushing the upstream PR too. I'm happy to merge this one as is for now.
🥇


It is recommended to cancel the search box on the login screen

In GitLab by @luotian-github on Aug 21, 2017, 16:13

In GitLab by @yhua123 on Nov 8, 2019, 07:35
not issue, closed

In GitLab by @sokril on Nov 8, 2019, 08:08
closed


Changes for PR3 of BlameModeForDump

This is the third and final PR of BlameModeForDump

TestHostLaunched payload is now a separate class (TestHostLaunchedPayload) instead of sending TestHostLaunchedEventArgs as payload
Added CollectDump option check to EnableBlameDumpArgumentProcessor
AcceptanceTest for dump file

@dotnet-bot test Windows_NT / Debug Build

@dotnet-bot test Windows_NT / Release Build

@dotnet-bot test this

@dotnet-bot test Windows_NT / Debug Build


fix(ytmusic-search-box): fix search box colors

Fixed the color in the search box
Before:

After:

god bless


File size increse issue

I convert pdf file version 1.6 to 1.4. but i found file size increase. old file size is 9.9 MB and new file size is 62.3 MB.

How to fix this file size increase issue.

I have this same problem. When i convert PDF in v1.7 to v1.4 my file grow up from 2MB to 200 MB

Hi, have you managed to solve the problem, the same thing happens to me. Thank you.

The solution is:
https://github.com/xthiago/pdf-version-converter/issues/18


Use new clientName identification mechanism

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9686497768/artifacts/1642122424

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9686541600/artifacts/1642134326

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9686583470/artifacts/1642146833

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9686606584/artifacts/1642154150

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9686633680/artifacts/1642162336

Tpay Magento2 plugin - https://github.com/tpay-com/tpay-magento2-basic/actions/runs/9692871755/artifacts/1643613913


[FIX] remove_accents

Use an regex method to remove the combining diacritical marks
https://en.wikipedia.org/wiki/Combining_Diacritical_Marks
fixes #477

Some context:
To come up with this solution I tested a handfull of different methods to solve this.
Eventually I picked the one which did deliver the desired outcome and best performance.
I'm to humble to share the messy code of these tests. But here is the performance graph.

strip_accent function was clearly the slowest performing, when the input string increases.
So eventually I went for the one with the re one (shown in red).
The orange plot is the current implementation of remove accents. It's the fastest. But removes too much characters.
So not an option.
The purple plot is the same function as the red one. Only the python .re module has been exchanged for the regex module.

Should we hotfix this? by making another release on pypi.


Consistently use exact in router links

By default, include exact alongside any usage of :to.
https://router.vuejs.org/api/#exact

<v-btn> and other styled Vuetify components have a to prop and an exact prop.
This issue is still relevant as a practice to ensure that elements which change their appearance or state when they match the current route do so accurately. Of course, it's probably low priority.


Error: timerBrand: symbol "[Symbol(replaced:35)]"

Describe the bug
When executing the function runAuction in the bootstrap test-liquidation-visibility.js, the liveAuctionSchedule object will have as timerBrand the value Symbol(replaced:35).
Commit 50b210330cfb58652f481604594cff23e493499c
The object is returned by the getSchedules method:
const { liveAuctionSchedule } = await EV(
    auctioneerKit.publicFacet,
  ).getSchedules();

liveAuctionSchedule object
LOG: liveAuctionSchedule  {
  clockStep: { relValue: 180n, timerBrand: Symbol(replaced:35) },
  endRate: 6500n,
  endTime: { absValue: 5042n, timerBrand: Symbol(replaced:35) },
  lockTime: { absValue: 1802n, timerBrand: Symbol(replaced:35) },
  startDelay: { relValue: 2n, timerBrand: Symbol(replaced:35) },
  startTime: { absValue: 3602n, timerBrand: Symbol(replaced:35) },
  steps: 8n
}

Error message
  Error {
    message: 'timestamp: timerBrand: symbol "[Symbol(replaced:35)]" - Must be a remotable (TimerBrand)',
  }

Did you try checking only the absValue using t.like?

The problem was not being generated when asserting any value of liveAuctionSchedule but instead when the nominalStart was being calculated.
But the solution proposed is effective as well, as expected.

Did you find out why [Symbol(replaced:35)] being generated instead of a normal TimerBrand? I thought it might be related to some marshalling thing but the value is coming directly from the auctioneer, so I'm curious why that might be? Did you check other tests in bootstrapTests directory? Is this behavior present in there also?


Allow communities to join multiple networks

[ ] A moderator of a network can find a community they are a moderator of and add the community to the network
[ ] A moderator of a community can find a network in the system they want to join and request for the community to join. Then network moderator can see community requests to join and accept it.
[ ] The community appears in the network in the nav drawer (depending on their privacy settings? what would these be?)
[ ] Posts in the community appear in the network, depending on their privacy settings. What might these be?

Depends on https://github.com/Hylozoic/hylo-node/issues/494

covered by holonic architecture


No message from equipment

I'm not getting a message when equipping/unequipping equippment.

There is an error in the log like this:
dnd5e-character-monitor.js:335 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'OWNER')
[Detected 2 packages: dnd5e-character-monitor, advanced-macros]
    at dnd5e-character-monitor.js:335:99
    at Users.filter (commons.js:2787:14)
    at Object.fn (dnd5e-character-monitor.js:335:28)
    at #call (foundry.js:688:20)
    at Hooks.call (foundry.js:670:38)
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:12651:47)
    at async ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:12564:22)
    at async Item5e.updateDocuments (commons.js:5674:23)
    at async eval (eval at <anonymous> (Macros.js:61:16), <anonymous>:274:1)
    ```

This module has not been update for Foundry V10.


Error: 0x80070002 The system cannot find the file specified

Windows Version
10.0.22631.4037
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-2
Distro Version
any
Other Software
Docker Desktop
Citrix Workspace
Repro Steps
wsl --install kali-linux
Kali Linux Rolling is already installed.
Launching Kali Linux Rolling...
Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.
Expected Behavior
distro should install without error
Actual Behavior
Distro fails with this error
WslRegisterDistribution failed with error: 0x80070002
Error: 0x80070002 The system cannot find the file specified.
Diagnostic Logs
WslLogs-2024-08-26_18-27-31.zip

I had this error and more. I lost all my data trying to configure what I thought was a workaround. Of course, I was wrong in my attempts, i.e. as it was indescribable to me at that point.
In my last attempts, after losing all data, I just erased the WSL2 instance via terminal application and then reinstalled each lib. I had, or some of them, via another route. I tried to downgrade kernels, upgrade kernels, and then ultimately took the bite of not enough time to dedicate to the issue.
I hope you guys/gals figure it out. I could not get past the error.

thanks for reporting the issue
can you please collecting networking logs using https://github.com/microsoft/WSL/blob/master/diagnostics/collect-networking-logs.ps1. please follow instructions below (note the RestartWslReproMode flag)
.\collect-networking-logs.ps1 -RestartWslReproMode $true

stop .\collect-networking-logs.ps1
Collect and share the zip generated by the script - it will have a name starting with "WslNetworkingLogs"


support asynchronous tick data fetching

Does the front-end use these functions? If so does it need to be updated to handle promises?

it doesnt use them yet in the v3 sdk, but yeah it will have to be made asynchronous which is pretty easy


BUG - Config modal "Repeat" selector is broken

Summary
In the "Schedule" tab of the standup config modal, when clicking the "Repeat" selector arrow, the select box does not open. I am able to reproduce this in the following scenarios:

Installing the latest release from https://github.com/standup-raven/standup-raven/releases/tag/v3.3.1
Running the program locally in development, importing the react-rrule-generator as usual
Running the program locally, directly importing build/index.js from a local cloned copy of https://github.com/standup-raven/react-bootstrap-rrule-generator

Issue does not reproduce in the scenario:

Running the program locally, directly importing src/lib/index.js from a local cloned copy of react-bootstrap-rrule-generator

Building the react-bootstrap-rrule-generator project results in no change to build/index.js, so it seems its contents are already be sync'd with the src folder. I'm thinking there is something in the build process that is making this issue happen.
I'm not sure what the core issue is, but the bug exists in the production build of the plugin. Any thoughts on the what could be the issue or fix for this?

Screenshots
Timezone selector works

Repeat selector does not

Environment

Mattermost version: 8.0
OS: Mac M1
Platform: browser
Browser (if applicable): chrome

We can probably just move that library react-bootstrap-rrule-generator into this repo if the library is having an issue with its builds. That would likely solve this ticket, and would make it easier to make changes later if that part of the plugin needs to be updated.
I'm not sure who maintains that library or this plugin but I think this would make maintaining the plugin easier to have that library's code in this repo.

Is there any workaround in the meantime? I'm also seeing the same thing in production and need to change the repeat from weekly to daily.

Is there any workaround in the meantime? I'm also seeing the same thing in production and need to change the repeat from weekly to daily.

This is easier done on the web client and requires some experience with dev tools.
Right-click on the element for repeat and inspect, there is a <div> above the <button>. If we update the div to add the open class, the dropdown will work, and monthly can be selected. The div then becomes in full:
<div class="dropdown open btn-group btn-group-link">.

Oh I didn't think of that, I just copied the request from the network tab and sent it from curl. That worked well enough


Need to highlight that the users/groups that are assigned as approvers need "View Releases" permission

Had a customer report that users were getting the following error:
VS402904: Access denied: User Doe, John does not have view releases permission. Contact your release manager.

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

ID: fc105eb0-4766-77a1-dfec-c0cc2b4b3f08
Version Independent ID: 8bd8c066-745b-5c89-39c3-bb0a959cb7a2
Content: Control deployments by using approvals - Azure Pipelines
Content Source: docs/pipelines/release/approvals/approvals.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

Thank you for your feedback. I will update the topic to include your recommendations.


[SMALLFIX] Clean up some error messages.

Preconditions only work with %s

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/511/
Test PASSed.


Added Alert Dialog

Pull Request Template
Description
This PR adds an alert dialog to prompt users for confirmation before performing a critical action. The alert dialog appears when users exits from the app.
feature : #66
Changes
Created a new Alert Dialog in the Main Activity.
Set the title to “Exit”
Added a message: “Want to stay more with RestQFood? ”
Included positive button (“No”) to proceed with deletion.
Included negative button (“Yes”) to cancel the action.
Implemented the logic to handle user responses.
Testing Instructions
Tested the alert dialog on different devices and screen sizes.
Verified that the dialog displays correctly and responds to user interactions.
Screenshots: !Alert Dialog Screenshot

While  agp version to 8.4.0 it was not been build . So, I changed to version 8.1.2 but now it is showing conflicts with mainActivity.kt .  I am not finding the way to resolve this conflicts. Can you please suggest the way to resolve the conflict ?

Conflicting files :

app/src/main/java/com/project/resqfood/MainActivity.kt

Conflict not resolved yet..
Conflicting files

app/src/main/java/com/project/resqfood/MainActivity.kt


Allow v-on to also work on custom events when used on child component

Problem
Currently the common practice for parent-child communication is passing down a method as a callback:
<comp :on-something="handleSomething">
</comp

But this requires the child to declare a function prop, and calling a method on itself to communicate to the parent is not so intuitive:
// we need to either make "onSomething" a required prop,
// or check its existence before calling it.
if (this.onSomething) {
  this.onSomething()
}

A lot of times, it's nicer to have the loose coupling of real events:
// just this would be nice
this.$emit('something')

Previously we had the v-events directive, which serves this exact purpose; I removed it in favor of the callback-prop pattern, partly because I felt the event system was problematic due to the issues outlined in #1175. But now the problem is somewhat mitigated with the solution proposed in #1175 (stop propagation by default), we can now reconsider the event pattern. If we bring back v-events with the new directive syntax, it would look like this:
<comp
  v-events:update="handleUpdate"
  v-events:ready="onChildReady">
</comp>

Which is not bad; but since we are already using v-bind: for both native attributes and props, why not just use v-on for both native and custom events?
Proposal
Allow v-on to listen for Vue custom events when used on a child component. In particular, props and events should constitute the public API of a component:

props for passing data down
events for handling actions up

A typical component would look like this:
<comp
  v-bind:prop-a="parentA"
  v-bind:prop-b="parentB"
  v-on:ready="onChildReady"
  v-on:update="onChildUpdate">
</comp>

With shorthand:
<comp
  :prop-a="parentA"
  :prop-b="parentB"
  @ready="onChildReady"
  @update="onChildUpdate">
</comp>

:+1:

nice!

:+1:

This will be great.

finally ! :+1:

I like the clear separation of up and down dataflow :+1:

Warning: madness ahead.
We currently have two types of directives: first accept expressions (similar to : props)  and second accept statements (similar to @ props). Quite a parallel between props and directives.
So what if directives are actually some kind of "unbound" props? They are injected into the component instance and modify instance behavior a bit. They are like ad-hoc mixins, applied not by the component itself, but by the component consumer.
<my-button @click="ddShown = true">Show the dropdown</my-button>
<my-dropdown :if="ddShown" @click-away="ddShown = false">
  Hi, I am dropdown!
</my-dropdown>

Look closely, are these props or directives?

@simplesmiler this is what I had in mind when I mentioned "dropping v- altogether and make everything custom attributes"; but you saw what happened ;)

I guess the issue is that names start to clash. I wonder how this is solved in unified call syntax proposal of C++. Went googling.

How would you emit a custom event from the child, assuming you bind to the parent with this syntax?
For instance:
@imagesLoaded="parentChildImagesLoaded"

@thelucre http://vuejs.org/api/instance-methods.html#Events

@yyx990803  what about something like props validation for events?


Pin python version to 3.10.0

@praveenkuttappan I think you need to bump this to 3.10.1

@praveenkuttappan actually it looks like this change has already been made and just specifies "3.10" This PR can probably be closed


adjust precedence of * and / depending the presence of variables

parse(2 * x / 4) => ( / ( * 2 x ) 4 )
parse(2 * x / y) => ( / ( * 2 x ) y )
parse(2 * 3 / 4) => ( * 2 ( / 3 4 ) )
parse(x * 3 / 4) => ( * x ( / 3 4 ) )
parse(x * y / 4) => ( * x ( / y 4 ) )
parse( 2 * 3 / x) => ( * 2 ( / 3 x ) )
parse(2 * 3 * x / 4) => ( * 2 ( / ( * 3 x ) 4 ) )

yeahhhh
This is related to the way I look for things to treat as implicit multiplication I think. Does what math-parser does instead break tests?

(oops I thought this was mathsteps 😅 )

I think the easiest way to address will be a post-processing step.  This will also make it easy to configure this behavior.

btw do you think this behaviour makes sense? it might be worth changing how mathsteps works if this is a weird inconsistency

@evykassirer it's worth having a discussion about.  I'm trying to minimize the changes to mathsteps while switching parsers.  The change is easy enough, see https://github.com/kevinbarabash/math-parser/commit/297294e78da1d0482b846d252d7d58d91a9580ea.  This is fixed now.


For cuda get current free space from device, and retry alloc failures

Instead of calculating free space use what gpu device says.
In rare case even with available space alloc may fail, due to excessive shaded space, handle that by free 10% of space more.

I want to delete the LRUAllocator and replace it with a schedule allocator

@geohot Do you have any requirements for what  schedule allocator should be?
I think we can do better than LRU allocator. Thinking mostly in view of training phase. Given that alloc is a time taking op. And if that is proportional to amount of memory being alloc (not sure). We can see alloc pattern in first loop and optimise for it future loops. And maybe some kind of metric exporter over it which can be further used to tune param like batch size for fastest results.

Oh, LRUAllocator is fine. It's CachedAllocator I want to replace. Does this fix a real issue @nimlgen?

Yeah, we can get some exceptions while thinking we have free space (the way gpu manages memory or other processes use it). I think we could do retries in such cases trying to free more cached buffers.


edit service, add host

How can I display more than 10 hosts when adding a host to the service?

I have 19 servers, but I see only 10 and if I add a server
ceph orch daemon add mgr cph-obs6-lp2:<IP_ADDRESS>
ceph orch daemon add mon cph-obs6-lp2:<IP_ADDRESS>
they are launched, but they are not visible through ceph orch ls

and after a while they disappear
If I add a server from the drop-down list, then everything works

Sorry, you really need to ask about this in the main ceph project.

Closing this issue as it not related to cephcsi


Characters Import at Level 20

When you finish the character creation, the PC is initially created at level 20.

I don't seem to be able to replicate this; can you reproduce this issue consistently? And if so, are you running any other modules? If possible, use Find the Cultrip! to pinpoint what module could be causing the issue.

This issue is caused by the data in the item details. Class must be set to 1.

This issue is caused by the data in the item details. Class must be set to 1.

you closed the ticket yourself but your explanation was not crystal clear to me, sorry, were you manipulating the data and somehow broke it? hhehe

Yep. In details, level must be set to 1. Not 20!
Sent from my iPhone

On Aug 6, 2021, at 14:55, ccjmk @.***> wrote:

you closed the ticket yourself but your explanation was not crystal clear to me, sorry, were you manipulating the data and somehow broke it? hhehe
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.


Ionic Select not working when Chrome developer tools is open

This also occurs in Ionic v1.3.1 in latest Chrome (64bit, Kubuntu) via ionic serve.

@Fikitout Is this for Ionic 1 or Ionic 2? Thanks!

@jgw96 I can confirm it's Ionic 1

Vote +1, need to get the fix as well!

Also, just to be sure, this only happens when chrome dev tools is open correct? When the app is installed to the device or deployed in the browser without dev tools open everything is fine?

Only with dev tools open and mobile toolbar on, yup.
Tom
Sent from my phone.
On 16 September 2016 15:49:42 BST, Justin Willis<EMAIL_ADDRESS>wrote:

Also, just to be sure, this only happens when chrome dev tools is open
correct? When the app is installed to the device or deployed in the
browser without dev tools open everything is fine?
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/driftyco/ionic/issues/8073#issuecomment-247620233

Yeah, only when dev tools is open and yes its ionic 1

+1, I need to close it and then open it again for console logs.

This must have been caused by a recent change in Chrome, as we haven't changed our Ionic library version between when it last worked and when it started being broken...

+1. Same observation here. Annoying, but not debilitating.

Seriously. Your framework does not work in the most popular non-device development environment, and you will not even sponsor and upstream a bug in Chrome ?
Fine. Every one should go jump and vote/comment/star this : https://bugs.chromium.org/p/chromium/issues/detail?id=648966
Can you guess what Google will say ? Maybe "fix your framework" ?

Same here

(now confirmed that Ionic does not work in mobile preview mode in Chrome on Mac, Windows or Linux)

It's really a bug in chrome.
Without ionic,without angular,let's make a simple page like this:
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
    <title>bug:select on chrome</title>
</head>
<body>
    <select id="select">
         <option value="1">团购套餐</option>
         <option value="2">代金券</option>
     </select>
</body>
</html>

Open PC chrome(version 53 or above),it works.Then open F12,it works.Then open "toggle device toolbar"(mobile model,shortcut key"Ctrl+Shift+M"),it doesn't work!
It's a bug on chrome mobile,when I debug on really mobile device with ionic,console providing me an trail:

Handling of 'touchmove' input event was delayed for<PHONE_NUMBER> ms due to main thread being busy. Consider marking event handler as 'passive' to make the page more responive.

Maybe when I click on the select,ion-content listen the touch event to make scroll active.(Ionic scroll intensify this bug.)
So I try
app.directive('select',function(){ //same as "ngSelect"
    return {
        restrict: 'E',
        scope: false,
        link: function (scope, ele) {
            ele.on('touchmove touchstart',function(e){
                e.stopPropagation();
            })
        }
    }
})

It works!
***We just want to trigger click event,but touch is catched by parent element. ***
In really mobile device,it work links normal.But in PC dev model,this bug is still happen,all we can do is just to close the "toggle device toolbar" temporary.

Quick fix
Download chromium from here
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Linux_x64/394941/
or windows here (a bit older than linux version, did not test)
https://commondatastorage.googleapis.com/chromium-browser-snapshots/index.html?prefix=Win_x64/394938/
This will get you chromium version 52.0.2743.0 64bit that does not have the bug.
When you run it you might get an error, checkout the first answer (only the commands)
http://askubuntu.com/questions/329320/chromium-running-without-the-suid-sandbox-error

@dingdong-io , you are right. I've proved and It's a Chrome's bug.

Please re-open.
Even in Google Chrome releases post their fix, Ionic apps with select's do not work. Testing here with Chromium 56.0.2889.0 (64-bit Linux) the work around above (in Ionic 1) does not work.

Chrome unstable (Version 55.0.2883.9 dev (64-bit Linux)) also still has this issue for 'ionic serve' pages, but not for sites like diffchecker.com

Hello,
I have same issue on ionic 1.3.1 with Chrome web inspector + device toolbar on, select options are not displayed when I click on the select element (working fine on device).
But single select element outisde ionic and angular (example provided by dingdong-io) works fine for me on web inspector + device toolbar.
Chrome stable release 54.0.2840.59 m
The "workaround" with select directive fixes it though.

a possible workaround is using keyboard to select items in list when testing. Up and Down can be used after clicking the select item.

Ionic have ack'd the issue, and a real fix is in the works : https://twitter.com/maxlynch/status/789200560079507459


python311Packages.databases: 0.7.0 -> 0.8.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.

WARNING: Package has meta.broken=true; Please manually test this package update and remove the broken attribute.

meta.description for python311Packages.databases is: Async database support for Python
meta.homepage for python311Packages.databases is: https://github.com/encode/databases
meta.changelog for python311Packages.databases is: https://github.com/encode/databases/releases/tag/0.8.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.8.0 with grep in /nix/store/7h5ayg1ap7rss5kcd85yia7m67qim504-python3.11-databases-0.8.0
found 0.8.0 in filename of file in /nix/store/7h5ayg1ap7rss5kcd85yia7m67qim504-python3.11-databases-0.8.0

Rebuild report (if merged into master) (click to expand)

6 total rebuild path(s)

6 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.databases
python310Packages.orm
python310Packages.ormar
python311Packages.databases
python311Packages.orm
python311Packages.ormar

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/7h5ayg1ap7rss5kcd85yia7m67qim504-python3.11-databases-0.8.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python311Packages.databases https://github.com/r-ryantm/nixpkgs/archive/872d8d410902d5a1a2f6eca2a5cae4fd5a236206.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/7h5ayg1ap7rss5kcd85yia7m67qim504-python3.11-databases-0.8.0
ls -la /nix/store/7h5ayg1ap7rss5kcd85yia7m67qim504-python3.11-databases-0.8.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

6 packages marked as broken and skipped:

python310Packages.databases
python310Packages.orm
python310Packages.ormar
python311Packages.databases
python311Packages.orm
python311Packages.ormar

Maintainer pings

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

12 packages marked as broken and skipped:

python310Packages.databases
python310Packages.databases.dist
python310Packages.orm
python310Packages.orm.dist
python310Packages.ormar
python310Packages.ormar.dist
python311Packages.databases
python311Packages.databases.dist
python311Packages.orm
python311Packages.orm.dist
python311Packages.ormar
python311Packages.ormar.dist

Not going to merge this, as it is broken (the package, not the patch).
Someone who wants to maintain this should merge this.

Support for sqlalchemy > 2 is still missing.


src(commands): remove --path flag from most commands

This commit removes the --path -p flag for the build, delete, deploy,
describe, run and update commands. The init and create commands have been
left alone for now, pending the outcome of https://github.com/boson-project/faas/issues/123.
The list command doesn't need to know a path, because it's about seeing
all deployed Functions.
Adds a faas.LoadFunction(path string) function to load an existing Function
project from disk and return an error if one does not already exist.
Note: I realize this might be controversial. Speak up if you disagree with this proposal!
Edit: The idea here is to enforce the notion that all commands (other than init and create) are run from within a Function project directory where the configuration file .faas.yaml defines the context. Some of the comments from @matejvasek identified areas where functionality has been reduced - e.g. you can't describe or delete a function by name. I think we should actually consider removing these, and possibly even consider removing faas deploy and faas update.
BREAKING CHANGE

If there is a compelling reason to remove this flag, I am all for agreeing, but I beleve there is a compelling reason it was added in the first place, which I will present below:
The reason for the path flag is primarily to support users who would like to script their usage of the faas binary without having to change directories to the target directory before running commands.  For instance, if one must change directory before running the command, a script can no longer be a simple single command, but now must have state:  it must couple the previous command (cd ...) with the following command (faas ...).  The purpose is very much similar to the --directory flag of the make command, which I have personally found quite helpful when scripting.
The idea of the --path flag is to run the command as if the command had been run from within that directory.  I believe this to be a valid and quite helpful use case.
Furthermore, by providing this flag as a configuration parameter, we ensure that this variable is explicitly provided in the client API.  By removing it we run the risk of the client library thinking it can sample the current working directory willy-nilly, which could cause problems when used as a library in multi-threaded applications which legitimately change directories during operation.
So If this flag is only being removed to enforce that the client user is running the command from within the directory, I actually would have to disagree.  Commands should take their effective directory as an explicit input, which can be defaulted to the current working directory.
I hope that adequately presents the case for the existence of this flag, but am happy to capitulate with but a modicum of pushback!

Marking as a draft for now and may rework some of this. @zroubalik will stalling this affect https://github.com/boson-project/faas/pull/127?

@lance I could finish #127 without any changes wrt to --path and the related stuff or I can wait for the resolution on the overall CLI UX decision. I'd prefer the latter, as we can implement that properly

@zroubalik check out https://github.com/boson-project/faas/pull/128. I think we can use that to iterate on what the CLI behavior should be, with concrete descriptions, etc. I've written it to reflect how the CLI behaves today with the exception of init and create. Those I wrote to reflect the work in your PR here.


Add animation to navbar links and buttons[feature request]:

Is there an existing issue for this?

[X] I have searched the existing issues.

Describe the feature.
Animation to navbar links(Home,features ,YT downloader,contact) and to buttons
Problem/Motivation.
To give a nice appearance.
Possible Solution/Pitch.
This feature is important as it will attract site visitors and give it a nice look.
Anything else?
No response
Hacktoberfest

[X] Yeah

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Would you like to work on it? @anshika361

No

@hvb24 Ayny update?
If you're not able to do it, @tamojeetK is willing to do it


AdminConsole: Make /admin configurable

Sachin Garg wrote:
I need to change web console name i.e from /admin to /proxyadmin but changing in proxies.xml is not helping me.
is there any other way it could be achieved.

add a rewriter

Answered Sachin Garg on the mailinglist.


Stochastic simulations show computed samples and issues with large number of samples

Would be helpful to show computed samples in table of results: See https://sam.nrel.gov/forum/forum-general/1838-samples-don-t-correspond-to-output-in-stochastic-analysis.html#5730 for details.

Stepwise.exe crashes for 1000 or more samples, and progress bars get stuck between 800 and 900 samples: See https://sam.nrel.gov/forum/forum-general/1840-stochastic-analysis-1-000-samples-breaks-regression-999-does-not.html#5738 for details

Additional enhancements and fixes:

Change "Enable weather file analysis" check box label to "Include normal distribution of weather files".

Add label for DNI/GHI dropdown: "Base weather file distribution on:"

Change "Show CDF" button label to "Export CDF to CSV" and change functionality to export to CSV file with name "weather-file-folder-name_cdf.csv".

Fix crash when showing inputs (right-click) on Column 0, Row 0 of outputs table:

Fix crash when running stochastic simulation after cancelling. To replicate:

Open stochastic-crash.sam (created in SAM 2020.11.29): stochastic-crash.zip
Click Run simulations and click Cancel before simulations finish.
Click Run simulations.

Item 1 above is fixed. Create two new issues for remaining items:
https://github.com/NREL/SAM/issues/636
https://github.com/NREL/SAM/issues/637


Tracking script = 500 Internal Server Error?

Describe the Bug
When I go to the location of my custom-named tracking script I get a 500 Internal Server Error. I'm using an environment variable to exclude my home IP, but even connected to a VPN I still get a 500 internal server error.
Based on the Umami docker logs it looks like there's a certificate issue? How would I troubleshoot such a thing?
I should note that I'm using a Traefik proxy in front of Umami, and that's tucked behind a Cloudflare-proxied IP.
Database
PostgreSQL
Relevant log output
In the Umami docker logs I see:

yarn run v1.22.19
$ npm-run-all check-db update-tracker start-server
$ node scripts/check-db.js
✓ DATABASE_URL is defined.
✓ Database connection successful.
✓ Database version check successful.
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "umami", schema "public" at "db:5432"

3 migrations found in prisma/migrations

No pending migrations to apply.

✓ Database is up to date.
$ node scripts/update-tracker.js
$ node server.js
- ready started server on <IP_ADDRESS>:3000, url: http://<IP_ADDRESS>:3000
Failed to proxy https://<IP_ADDRESS>:3000/script.js Error: write EPROTO 58CB026E437F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
  errno: -71,
  code: 'EPROTO',
  syscall: 'write'
}
Error: write EPROTO 58CB026E437F0000:error:0A00010B:SSL routines:ssl3_get_record:wrong version number:../deps/openssl/openssl/ssl/record/ssl3_record.c:354:

    at WriteWrap.onWriteComplete [as oncomplete] (node:internal/stream_base_commons:94:16) {
  errno: -71,
  code: 'EPROTO',
  syscall: 'write'
}

Which browser are you using? (if relevant)
Latest Chrome
How are you deploying your application? (if relevant)
Docker Compose

Update: I commented out the following line from my Umami docker-compose.yml file's environment section and now I can see the tracking code as script.js
#     TRACKER_SCRIPT_NAME: acorn.js
Question: is there a trick to getting the tracking script customization to work? You can see how my docker-compose.yml file is setup here.

I just noticed that I added a duplicate post and that one has a solutiion so I'm closing this one now.


tag_counts overwrites standard find() method

Line 139 of acts_as_taggable.rb calls scope(:find) which overwrites the standard find method in Rails 3, causing all subsequent calls to find() on that model to return a scope (relation).
I'm not familiar enough with the code to know what the scope call is supposed to be doing -- otherwise I'd submit a patch.

Closing this issue as I no longer use this fork.
My fork is here and works ok for me on Rails 4.x.


[5.5] Test Only - Do not load Concurrency modile in batch_module_scan_versioned

Cherry-pick of https://github.com/apple/swift/pull/37089
It has a specific target (x86_64) and on other platforms, Concurrency will not be found with this architecture by default.
e.g. Apple Silicon failure:
https://ci.swift.org/job/oss-swift-5.5-incremental-RA-macos-apple-silicon/112/consoleFull#12337284463122a513-f36a-4c87-8ed7-cbc36a1ec144

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 894827be7bbff70413b746041d5d5566fad19c45

Build failed
Swift Test OS X Platform
Git Sha - 894827be7bbff70413b746041d5d5566fad19c45


Block Conversion not checking for pre-existing instances

Conversion routines in Revit should check if an element with the same ID has been received before and based on the user-selected received behavior either update, create or skip it.
Seems like this is not happening for Block conversions.
Typically this is done by calling the var  GetExistingElementByApplicationId() method, eg: https://github.com/specklesystems/speckle-sharp/blob/main/Objects/Converters/ConverterRevit/ConverterRevitShared/Partial Classes/ConvertBeam.cs#L44
See: https://speckle.community/t/revit-connector-duplicates-sketchup-groups/3401

Should be a fairly simple one if @clairekuang or @izzylys you want to pick this up!

Thanks @teocomi! 😀
Also, the Revit connector creates a "structural" generic model when receiving blocks from SU. Can it either be a mass family or a standard generic family?

Hey @jabarig, we can (should) surely remove the "structural" attribute - but in order to receive it as a different category, we might need to wait on our (WIP) mapping tool, which will eventually allow you to map to specific categories / types in Revit.

Understood and no worries! I'll look forward to the mapping tool.


No examples of using CSS modules

There are no presentational components in the boilerplate, so there's nothing to style.
Maybe we should just add an example to the README/documentation?

Fixed by #17


Review the existing contract upgrade script to handle Agreements upgrades

It should be working fine, except that there might now be a problem for starting a failed deploy from correct place (it tries to re-deploy all of them)


Limit might not been correctly pushed down

In thriftserver, select * limit 10 is fast but insert overwrite hive_table select  * limit 10 is slow and likely triggered a full scan without limit.

Confirmed.
== Physical Plan ==
Execute InsertIntoHiveTable InsertIntoHiveTable `default`.`t`, org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, true, false, [id#105]
+- *(2) Project [cast(id_dt#88L as int) AS id#105]
   +- *(2) GlobalLimit 10
      +- Exchange SinglePartition
         +- *(1) LocalLimit 10
            +- TiSpark CoprocessorRDD{[table: full_data_type_table_idx] [Index: idx_tp_varchar] , Columns: [id_dt], KeyRange: [[116,128,0,0,0,0,0,0,33,95,105,128,0,0,0,0,0,0,1,0], [116,128,0,0,0,0,0,0,33,95,105,128,0,0,0,0,0,0,1,250])} EstimatedCount:103  |


docker install error. curl: (52) Empty reply from server

### I use docker to install app.
from step.1 to step.5, no problem

but in step.6 -> Page not accessible
### error is :

How can I solve this problem?

Not sure. I have just repeated the installation steps to ascertain that they still worked, and they did for me.
With the worker exiting like that, might be a problem in .secrets.toml or config.toml.
Could you try the following commands?
make shell

That should open an interactive shell within the Docker container. From there:
flask kerko config

Does the above command output KerkoApp's configuration?
flask --debug kerko sync

Does the above command output something like:
root@623cf52ace5d:/kerkoapp# flask --debug kerko sync
 * Loading configuration file /kerkoapp/instance/config.toml
 * Loading configuration file /kerkoapp/instance/.secrets.toml
[2023-11-25 16:05:26,277] INFO in cache: Starting cache sync...
[2023-11-25 16:05:26,284] INFO in zotero: Requesting all item types...
[2023-11-25 16:05:26,439] INFO in zotero: Requesting all collections...
[2023-11-25 16:05:27,037] INFO in zotero: Requesting fields for items of type 'artwork'...
[2023-11-25 16:05:27,179] INFO in zotero: Requesting fields for items of type 'audioRecording'...
[2023-11-25 16:05:27,367] INFO in zotero: Requesting fields for items of type 'bill'...
[2023-11-25 16:05:27,511] INFO in zotero: Requesting fields for items of type 'blogPost'...
[2023-11-25 16:05:27,646] INFO in zotero: Requesting fields for items of type 'book'...
...
[2023-11-25 16:05:38,802] INFO in zotero: Requesting creator types for items of type 'thesis'...
[2023-11-25 16:05:38,954] INFO in zotero: Requesting creator types for items of type 'videoRecording'...
[2023-11-25 16:05:39,096] INFO in zotero: Requesting creator types for items of type 'webpage'...
[2023-11-25 16:05:39,472] INFO in zotero: Requesting updated text content since version 189...
[2023-11-25 16:05:39,638] INFO in zotero: Found 0 item(s) with updated text content.
[2023-11-25 16:05:39,640] INFO in zotero: Requesting up to 100 updated items since version 189, starting at position 0...
[2023-11-25 16:05:39,973] INFO in zotero: Requesting up to 100 trashed items since version 189, starting at position 0...
[2023-11-25 16:05:40,161] INFO in cache: Cache sync successful, now at version 189 (0 item(s) processed).
[2023-11-25 16:05:40,162] INFO in index: Starting index sync...
[2023-11-25 16:05:40,192] DEBUG in index: Item 1 updated (F8FUWSY5, conferencePaper): Design recommendations for hierarchical faceted search interfaces
[2023-11-25 16:05:40,195] DEBUG in index: Item 2 updated (FHICFQI2, journalArticle): Finding the flow in web site search
[2023-11-25 16:05:40,199] DEBUG in index: Item 3 updated (P8FA6F38, conferencePaper): Hierarchical Faceted Metadata in Site Search Interfaces
...
[2023-11-25 16:05:40,703] INFO in index: Index sync successful, now at version 189 (64 top level item(s) processed).
[2023-11-25 16:05:40,705] INFO in attachments: Starting attachment files sync...
[2023-11-25 16:05:40,719] DEBUG in attachments: Keeping attachment HGU6JNVV (parent item: TWDYFYPQ).
[2023-11-25 16:05:40,719] INFO in attachments: Attachment files sync successful (1 file(s) processed).
[2023-11-25 16:05:40,720] INFO in cli: Execution time: 14 seconds

okey，Here is my command output
root@d84cef4b7276:/kerkoapp# flask --debug kerko sync
 * Loading configuration file /kerkoapp/instance/config.toml
 * Loading configuration file /kerkoapp/instance/.secrets.toml
[2023-11-27 09:11:09,719] INFO in cache: Starting cache sync...
[2023-11-27 09:11:09,735] INFO in zotero: Requesting all item types...
[2023-11-27 09:11:10,958] INFO in zotero: Requesting all collections...
[2023-11-27 09:11:12,917] INFO in zotero: Requesting fields for items of type 'artwork'...
[2023-11-27 09:11:14,018] INFO in zotero: Requesting fields for items of type 'audioRecording'...
[2023-11-27 09:11:14,734] INFO in zotero: Requesting fields for items of type 'bill'...
[2023-11-27 09:11:15,473] INFO in zotero: Requesting fields for items of type 'blogPost'...
[2023-11-27 09:11:16,205] INFO in zotero: Requesting fields for items of type 'book'...
[2023-11-27 09:11:16,969] INFO in zotero: Requesting fields for items of type 'bookSection'...
[2023-11-27 09:11:17,696] INFO in zotero: Requesting fields for items of type 'case'...
[2023-11-27 09:11:18,400] INFO in zotero: Requesting fields for items of type 'conferencePaper'...
[2023-11-27 09:11:19,106] INFO in zotero: Requesting fields for items of type 'dataset'...
[2023-11-27 09:11:19,865] INFO in zotero: Requesting fields for items of type 'dictionaryEntry'...
[2023-11-27 09:11:20,579] INFO in zotero: Requesting fields for items of type 'document'...

..........
[2023-11-27 09:12:55,917] INFO in cache: Cache sync successful, now at version 1199 (82 item(s) processed).
[2023-11-27 09:12:55,917] INFO in index: Starting index sync...
[2023-11-27 09:12:56,543] DEBUG in index: Item 1 updated (8M94YCII, journalArticle): DeepChain: Auditable and Privacy-Preserving Deep Learning with Blockchain-based Incentive
..........

[2023-11-27 09:13:07,907] DEBUG in attachments: Requesting attachment KGPL2QHM (parent item: FBL5KRZP)...
[2023-11-27 09:13:11,632] DEBUG in attachments: Requesting attachment XW6WD7XF (parent item: MS6C4RIY)...
[2023-11-27 09:13:14,989] DEBUG in attachments: Requesting attachment 6JRKAZHY (parent item: 9Z8A4EC3)...
[2023-11-27 09:13:18,061] DEBUG in attachments: Requesting attachment VN8G2E7G (parent item: 9Z8A4EC3)...
[2023-11-27 09:13:21,254] DEBUG in attachments: Requesting attachment FYXPZD7X (parent item: 29I3PDN2)...
[2023-11-27 09:13:24,276] DEBUG in attachments: Requesting attachment KVR6QH9D (parent item: QT3LZDX2)...
[2023-11-27 09:13:27,345] INFO in attachments: Attachment files sync successful (17 file(s) processed).
[2023-11-27 09:13:27,345] INFO in cli: Execution time: 2 minutes 18 seconds

But I still can't access the port
in docker shell
root@d84cef4b7276:/kerkoapp# curl <IP_ADDRESS>:80
curl: (7) Failed to connect to <IP_ADDRESS> port 80 after 0 ms: Couldn't connect to server

in server shell（centos）
[root@iZ2zecj51bg87sd5l4jbc1Z ~]# curl <IP_ADDRESS>:8080
curl: (56) Recv failure: Connection reset by peer

the next is flask kerko config
config.txt

At least sync works, that's a good start.
The right port would be 8080, so no need to try 80. When you run docker ps, do you get something like below? (especially the ports)
CONTAINER ID   IMAGE                      COMMAND                  CREATED         STATUS         PORTS
0acfa036613a   whiskyechobravo/kerkoapp   "gunicorn --threads …"   2 minutes ago   Up 2 minutes   <IP_ADDRESS>:8080->80/tcp, :::8080->80/tcp

Could it be that some other process or container is already using port 8080? Or that some system configuration is blocking 8080?

this is output after docker ps

it look like only COMMAND is different

The command doesn't look right. Could you make sure the container is stopped, then run the following command from the directory where your Makefile is located? (i.e., the directory that's parent to the instance directory created during the installation procedure)
docker run --name kerkoapp --rm -p 8080:80 -v ./instance:/kerkoapp/instance whiskyechobravo/kerkoapp

There are still problems here

Sure,It does provide more information.
PermissionError: [Errno 1] Operation not permitted: '/usr/local/bin/python
But to enter the container this way, I don't have any Permission
[root@iZ2zecj51bg87sd5l4jbc1Z app]# make shell
docker run -it --rm -p 8080:80 -v /root/zotero/app/instance:/kerkoapp/instance -v /tmp/kerkoapp-dev-log:/dev/log whiskyechobravo/kerkoapp bash

root@4cdba0bf15a7:/kerkoapp# flask --debug run -h <IP_ADDRESS> -p 80
 * Loading configuration file /kerkoapp/instance/config.toml
 * Loading configuration file /kerkoapp/instance/.secrets.toml
 * Debug mode: on
[2023-12-05 01:01:18,797] INFO in _internal: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (<IP_ADDRESS>)
 * Running on http://<IP_ADDRESS>:80
 * Running on http://<IP_ADDRESS>:80
[2023-12-05 01:01:18,797] INFO in _internal: Press CTRL+C to quit
[2023-12-05 01:01:18,798] INFO in _internal:  * Restarting with stat
Traceback (most recent call last):
  File "/usr/local/bin/flask", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/cli.py", line 1063, in main
    cli.main()
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1055, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/decorators.py", line 84, in new_func
    return ctx.invoke(f, obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/click/core.py", line 760, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/flask/cli.py", line 923, in run_command
    run_simple(
  File "/usr/local/lib/python3.11/site-packages/werkzeug/serving.py", line 1097, in run_simple
    run_with_reloader(
  File "/usr/local/lib/python3.11/site-packages/werkzeug/_reloader.py", line 456, in run_with_reloader
    sys.exit(reloader.restart_with_reloader())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/werkzeug/_reloader.py", line 273, in restart_with_reloader
    exit_code = subprocess.call(args, env=new_environ, close_fds=False)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/subprocess.py", line 389, in call
    with Popen(*popenargs, **kwargs) as p:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/subprocess.py", line 1026, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/usr/local/lib/python3.11/subprocess.py", line 1838, in _execute_child
    self._posix_spawn(args, executable, env, restore_signals,
  File "/usr/local/lib/python3.11/subprocess.py", line 1782, in _posix_spawn
    self.pid = os.posix_spawn(executable, args, env, **kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/usr/local/bin/python

root@4cdba0bf15a7:/# ls -la
ls: cannot access 'boot': Operation not permitted
ls: cannot access 'sys': Operation not permitted
ls: cannot access 'media': Operation not permitted
ls: cannot access '.': Operation not permitted
ls: cannot access 'home': Operation not permitted
......
ls: cannot access 'root': Operation not permitted
ls: cannot access 'kerkoapp': Operation not permitted
ls: cannot access '.dockerenv': Operation not permitted
total 0

I suggest maybe rebuilding the KerkoApp image?
make clean_image
make build

I rarely use CentOS, and have never run Docker under CentOS. Could your Docker install be missing some permissions?
Can you confirm that /root/zotero/app/instance exists on the host machine and contains subdirectories such as /root/zotero/app/instance/kerko/cache and ``/root/zotero/app/instance/kerko/index`? (those normally exist once Kerko has synchronized from Zotero).

 Do the following commands help?
docker run --privileged --name kerkoapp --rm -p 8080:80 -v ./instance:/kerkoapp/instance whiskyechobravo/kerkoapp

or
docker run --cap-add=ALL --name kerkoapp --rm -p 8080:80 -v ./instance:/kerkoapp/instance whiskyechobravo/kerkoapp

Reference: Runtime privilege and Linux capabilities (Docker docs)

thanks!!!! This commands solved my problem!!🧡🧡.

Phew, finally! :grin:
That solution is perfectly adequate for local/testing purposes, but if you intend to run the Docker container in production, I suggest that you find which privileges really need to be enabled with --cap-add, instead of using --privileged, because the latter gives full privileges to the Docker container.
In the meantime, enjoy! :grin:


Entrance pupil should be located by an offset from the Nominal Image Plane

The entrance pupil is centered around the optical axis, conceptually exists in a plane perpendicular to the optical axis, and can be anywhere on that axis, even on the opposite side of the nominal image plane from the object on which the lens is focused.
Defining the location of the entrance pupil this way completely dodges the issue of 3D coordinate system handedness, axis naming, etc. The constraints on the entrance pupil allow us to locate it with a simple scalar and indeed that is the data type we have today ...
... for something we currently call Entrance Pupil Position.
I suggest we do the following:
First, rename the parameter to Entrance Pupil Offset
Second, change the definition of the Parameter from

Entrance pupil position of the lens

to

Offset along the optical axis of the lens entrance pupil from the nominal image plane, with a positive offset indicating a position on the same side of the nominal image plane as is the object.

Lastly, change the constraints from

rational number whose numerator and denominator are in the range (0..2,147,483,647].

to

rational number the numerator of which in the range [-2,147,483,648..2,147,483,647] and the denominator of which is in the range [0..4,294,967,295]

Use of the term lens anywhere is unnecessary and can be misleading if simple perspective projection is sufficient. Rather than "lens", prefer the term center of projection. See for example: https://www.cse.unr.edu/~bebis/CS791E/Notes/PerspectiveProjection.pdf
Perspective projection is well defined and documented and seems to apply here.

I don't recall if we discussed this elsewhere for this property/characteristic (I know we did for others), but why is this a rational (synthetically determined/constrained) instead of a float (empirically determined)? Are there instances in which e.g. 32b floating point precision is insufficient in whatever units (mm?) we're using for this value? This seems especially relevant in the case of zooms - are we expecting a lens to output some rational with an fixed denominator derived from encoder resolution as it steps through the zoom range?

@repentsinner Floats are not interoperable when serialized to text, e.g. in JSON.

@repentsinner Floats are not interoperable when serialized to text, e.g. in JSON.

Is this something we should be baking into our definition, or just make a note regarding representation in a particular format (e.g., json)?
Also is ISO 6093 insufficient to deal with that case?

The proposed working is much better. I am happy enough with it. And it is probably sufficient for you use case.
Usually the phrase would be “offset from the center of projection to the image plane …” since the center of projection is the origin of the xyz coordinate system for the pinhole camera in the XYZ world coordinate system (absolute coordinates is the term in photogrammetry). In the xyz coordinate system of the pinhole camera, the z axis is along the optical axis and pointing into the scene, the x and y axes define the 2D coordinates of the image plane (a left-hand coordinate system).
But this is likely TMI. 😊
--
Brian Schunck
Email<EMAIL_ADDRESS>From: Joseph Goldstone @.>
Sent: Thursday, October 5, 2023 5:46 AM
To: SMPTE/ris-osvp-metadata @.>
Cc: Brian Schunck @.>; Mention @.>
Subject: Re: [SMPTE/ris-osvp-metadata] Entrance pupil should be located by an offset from the Nominal Image Plane (Issue #13)
@bgschunckhttps://github.com/bgschunck would you be OK with this? It substitutes 'center of projection' in the definition to handle the general case and adds a note so that users of the definition can relate it to their situation:
Offset along the optical axis of the center of projection from the nominal image plane, with a positive offset indicating a position on the same side of the nominal image plane as is the object.
Note: in the classic CG pinhole camera model, the center of projection corresponds to the pinhole. In a physical camera and lens assembly such as is typically found in television or motion picture production, the center of projection corresponds to the lens entrance pupil.
I am open to improvements in the phrase 'such as is typically found in television or motion picture production', but would like whatever we decide to adopt to be concrete and something to which a SMPTE member could instinctively relate.
—
Reply to this email directly, view it on GitHubhttps://github.com/SMPTE/ris-osvp-metadata/issues/13#issuecomment-1748827874, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AB2VU4WE5XKYXWZKV66WX4TX52TZDAVCNFSM6AAAAAA5J44UPSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONBYHAZDOOBXGQ.
You are receiving this because you were mentioned.Message ID: @.***>

It's not a good idea to represent dynamic parameters as rational numbers. Try to view that in a graph...
Maybe consider abstracting definitions from implementation to a JSON based file format
There are many JSON file formats that store values and key-frames in double or float in JSON, see gltf for example.


SimpleLeafNode remove Bytes32 objects creations and cache hashTreeRoot

SSZ optimizations in SimpleLeafNode by storing data in Bytes and cache hashTreeRoot.
An addition could be to have a soft ref  to cached hashTreeRoot to let GC release it under low mem conditions.
CPU
bellatrix state serialization
OLD
SSZBenchmark.BeaconStateSerialization  thrpt   25  42454.753 ± 726.571  ops/s
NEW
SSZBenchmark.BeaconStateSerialization  thrpt   25  47264.855 ± 595.956  ops/s
-> 11% perf increase
Memory
bellatrix state generation
// bellatrix dataStructureUtil
IntStream.range(0, 1000).forEach(__ -> dataStructureUtil.randomBeaconState());

OLD

NEW
generation only

-> 2.6% less memory pressure
bellatrix state serialization
IntStream.range(0, 1000).forEach(__ -> bellatrixState.sszSerialize());

OLD

NEW

-> 68% less memory pressure
Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

An addition could be to have a soft ref to cached hashTreeRoot to let GC release it under low mem conditions.

I'm not sure a large amount of soft-refs to small objects would make things better. However I'm not 100% sure and it probably makes sense to experiment with that

merging this to see the impact in memory consumption on one prater node


Update nnUNet conversion script to v2

Originally posted in https://github.com/ivadomed/data-conversion/issues/12 by @tzebre. Moved here to allow convenient code review.
Note that this PR is created relative to jv/update_nnunet_conversion_script_to_v2 branch with it own PR (https://github.com/ivadomed/data-conversion/pull/11).

@valosekj  started a pull request #11 # to create a script for converting BIDS to nnUNetV2 records.
I'm modifying this pull request in my branch
Here are the changes that seem relevant to me :

[x] Do TODO task (duplication refactoring) from Jan code

Done in convert_subject function

[x] Manage the suffix label:

Check if this suffix label exists in the derivatives (prevent symlink from pointing to nothing)
Make suffix label optional in case we only want to convert data without ground truth

[x] Accept case without splitting into train/validation (not sure if relevant)

[ ] Modify dataset.json to comply with V2 requirements

[x] Remove old attribute not used anymore
[ ] Create channel name depending on contrast given in argument, add possibility to give multiple contrasts too
[ ] Adapt code to accept labeled image with different integer ("background" = 0, "lesion" = 1, "CSF"= 2 ...)

Ideas:

Add ability to reorient image with argument (not sure if it's relevant in a general purpose script)
Ability to add images to an already existing dataset (since nnUNet uses only one dataset, if you want to use different BIDS different datasets they have to be merged in unique nnUNet one ).

if you have any comments on the todo list or any other ideas, please don't hesitate to contact me.

Fixes https://github.com/ivadomed/data-conversion/issues/12

@tzebre great work, thank you! I left a few minor comments.
Maybe also @naga-karthik could check this PR?

@tzebre great work, thank you! 👍🏻 I left a few minor comments.
Thanks, I'll make the fix and improve the dataset.json creation today.

Thanks @tzebre for this refactoring! I think it is very useful for making the code usable. I had a lot of suggestions about the comments in the code.

I have modified the part that @naga-karthik  and @valosekj mentioned before.
I dont know if adding the possibility of copying files instead of making simlink is a great idea but if you think it's relevant i can add this posibility.
Also there is a "duplication" the code is not doing exactly the same thing but I think it can be shortened. I'm not really sure how to deal with it if you have an idea.
The code is contained in this if and elif condition
https://github.com/ivadomed/data-conversion/blob/b89a8260a0317e7429362fbd8ef66f13230182b4/dataset_conversion/convert_bids_to_nnUnetv2.py#L186
https://github.com/ivadomed/data-conversion/blob/b89a8260a0317e7429362fbd8ef66f13230182b4/dataset_conversion/convert_bids_to_nnUnetv2.py#L214
I am also in search of a solution for softseg, which is not supported by nnUNet https://github.com/ivadomed/data-conversion/pull/13#discussion_r1214808516 .

@tzebre, thanks for the updates! Let us know once the PR is ready for the final review and merge.

@tzebre, thanks for the updates! Let us know once the PR is ready for the final review and merge.

The PR is ready to be review.
About the naga comment for softseg support :

But, if we can find a way to encode the soft segmentations in a different range (not so 0-1) that can result in integer value after binarizing, yes, we can indeed use soft segs with nnuent. Hope this makes sense! (and it would really cool if we are able to do this!)

I have put the softseg segmentation support aside for the moment, it's going to take me a while. But I think we can merge without this feature for now.

Amazing! Merged!


Clicking on the screenshot to turn the page does not work as expected

Clicking on the screenshot to turn the page does not work as expected.
3 mobile screenshots and 2 tablet screenshots.

mobile-2 is skipped.

2 mobile screenshots and 2 tablet screenshots.

mobile-2 is skipped.
tablet-1 is not centered.
tablet-2 is not centered.

4 mobile screenshots and 2 tablet screenshots.

mobile-2 is skipped.
mobile-4 is skipped.
tablet-1 is not centered.
tablet-2 is not centered.

4 mobile screenshots and 0 tablet screenshots.

mobile-2 is skipped when going right.
Cannot go back to mobile-1 when going left.

The above screenshots are from my Frok Repository. I added screenshot IDs for easier debugging.

Hi @angelofan
I made a PR with what should be a fix for this. If you're able, I'd love for you to test it as well to confirm it solves your issue, then we'll see if the maintainers will approve it too 🤞

I tested. It works as expected.

Thanks folks! Will publish the fixed version soon ❤


Exclude some unnecessary files in the crate

These are not needed for building with cargo.
These files are not especially large or numerous, but it’s still nice not to distribute unnecessary files.
After this PR:
$ cargo publish --dry-run
[…]
$ tar -tzf target/package/http-content-range-0.1.3.crate
http-content-range-0.1.3/.cargo_vcs_info.json
http-content-range-0.1.3/Cargo.toml
http-content-range-0.1.3/Cargo.toml.orig
http-content-range-0.1.3/LICENSE-APACHE
http-content-range-0.1.3/LICENSE-MIT
http-content-range-0.1.3/README.md
http-content-range-0.1.3/src/lib.rs
http-content-range-0.1.3/src/utils.rs

Thanks!


Contrast limit should follow the datatype of the dataset

Current datasets use the channel_name to determine the contrast limits of each dataset. For datasets that are not specified in the dictionary or do not match the channel_name string exactly it will default the settings for 0-65536. For example, if my dataset's channel name is Phase 3D instead of Phase3D (note the space), the clims are set as mentioned above truncating the data, instead of floating points.
The default behavior, if the channel name is not found in the preset dictionary, should use the dataset's datatype.

One interesting behavior is that if you minimize the napari window and then maximize, the contrast limit re-adjusts to float.


adding itisgrassi

itisgrassi.txt

@sigolo-luca lib/domains/it/edu/itis: this request has an incorrect file path format, please ensure that you are familiar with     this repository rules located at the bottom of this page and change     your request accordingly. If you don't know how to change request, close it and open a new one.     If you are not able to make the pull request according the instructions, please send us an email to<EMAIL_ADDRESS>Please mention this request URL in the message.


Integrate caching system with hugginface cards

It will resolve issues with cache versioning.
Materials:

https://huggingface.co/transformers/model_sharing.html

Could you maybe elaborate on where you'd want to add model versioning ?
The current example script suggests that huggingmolecules uses the pytorch lightning trainer for training the model rather than a custom wrapper, so at what point of the pipeline would this addition be ? Do we want to edit the save_edit fn to include pushing to huggingface hub
https://github.com/gmum/huggingmolecules/blob/7307936f98ca38ace91575bc24a6e5c0d861b6b8/src/huggingmolecules/models/models_api.py#L75
Or do we want to have a custom TrainerWrapper around the standard PyTorch Lightning Trainer


fpga_test support and documentation

The README file for fpga_test is 2 years old and so are the instructions and other code files int that folder.
Where can I find the latest instructions/guide on this?
I am trying to figure out the workaround it but so far I haven't been successful. Can someone guide me on how did they deploy this project on a board using these instructions?
To replicate the procedure, I made the directory structure similar to what is mentioned in the README file. I am currently stuck with generating the VIVADO project using project_gpgpu.tcl script as most of the commands in the script are deprecated (the dsa one).
Also, is there some specific FPGA board that we have to use for this project?

@yff18 any help with this?

We are sorry that our fpga_test has not been maintained since its creation, and not yet started deploy it on FPGA. I'm afraid we can only provide you with limited help. The tcl in fpga_test can create project.
We are very glad that you are interested in improving FPGA-related support, and looking forward to your contribution. Please feel free to contact us through issue or email.

FPGA board we use is vcu128


resolve warnings resulting from deprecations in TSC

motivation: no warnings, happy delelopers
changes:

remove left over code referring to TSC argument parser and Downloader which are both deprecated and not in use

@swift-ci please smoke test


[SUG] Add Report Command

to report haha xD

Already done it. Needs to be debugged

I don't see why Cardinal needs to have a punishment system, considering its just a scrimmage plugin. But if the devs feel the need to implement one, I suggest making a separate plugin to handle punishments, like OCN does.

@MasterEjay If they do it, they will do from 0 and they will release Cardinal so late so...

@AngelCasillas01 I'm not sure what that even means. "Do from 0"

@MasterEjay Start from the bottom with anything, which will going too be along of time and this will upgrade the time which cardina will be release

Not necessarily. The other plugin can be developed independently from Cardinal.

I agree with @MasterEjay. And aren't you a parapgm dev?

Yes, this is correct.

I think me a @twizmwazin decided against this.
This can be closed :)

@CaptainElliott Your spelling...

@dentmaged what was wrong with it?

We think it's best that we don't add a reports command, maybe in a separate additions plugin, but we don't think we should add it directly inside Cardinal.

@CaptainElliott "I think me a @.twizmwazin". You said "me a @.twizmwazin".

@dentmaged Are you like Elliott's personal grammar police?


[contact] make custom recaptcha work with netlify

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
Currently having a custom recaptcha doesn't work with netlify.
What you expected to happen:
Custom recaptcha with netlify.

I think @lauragift21 fixed this.


Solr gives httplib2 error on provision

TASK [geerlingguy.solr : Check current list of Solr cores.] ********************
fatal: [forcebrands]: FAILED! => {"changed": false, "failed": true, "msg": "httplib2 >= 0.7 is not installed"}

Getting this error when trying to include a Solr instance using the newest config.yml file from (https://github.com/geerlingguy/drupal-vm/blob/master/default.config.yml)
Tried to run provision a couple times, no luck. Some dependency is not being included, perhaps?

@smithyco You might want to check the version of ansible you're using.
I ran into this one a while back, but I can't remember exactly how I fixed it.
This should get you some info in the interim:
https://github.com/ansible/ansible-modules-core/issues/2921

That fixed it, thanks!


Session Affinity

We should support session affinity as a native feature in the proxy. It's effectively a load balancer directive. Some attribute of the incoming request is used as a key to identify which backend to route to.
Affinity logic needs to run:

Before load balancing, to check the affinity "stamp" and select a single backend (if possible)
After load balancing, to stamp the selected backend into a cookie, if enabled.

It also may need to be able to re-trigger load balancing (in the failure modes below).
Supported "modes" (please do suggest others!):

Cookie

A request with no incoming "stamp" is assigned to a backend by normal load balancing policy
The return response is stamped with a Cookie containing the backend ID, cryptographically signed by a key trusted by all proxy instances (DataProtection!)
On future requests, we validate the stamp and select the specific backend for routing
If that backend is no longer in the active set of backends, we "fail" (see failure modes)

5-tuple (Source IP, Source Port, Dest IP, Dest Port, Protocol)

Hash the 5-tuple values and use it to identify a backend.
No "failure" mode here since the backend is recomputed on each request.

Header value

Hash some header value and use it to identify a backend
Useful for auth-token based affinity (used in Azure SignalR, for example)

Crazy idea: magic SignalR mode?

It could be cool to have native support for session affinity for SignalR connections.
There's a connection ID in the initial /negotiate response, which is also present in the query string of all future requests, which we could use for affinity.
This could be very useful for applications which don't generally need affinity, but also use SignalR (which requires affinity).
Could possibly be generalized

Failure modes

If the session affinity system identifies a target backend which is no longer routable, a configurable failure response should be used
Possible responses

Re-affinitize to one of the other backends (i.e. re-route and stamp the new backend)
Return a 503 (since the target backend is no longer active)

These are mostly just my rando thoughts. I'm interested in @davidni 's thoughts, as well as the team's (@Tratcher @halter73)

Architecture question: Some of this needs to be infrastructure to create a signed blob as part of a cookie, and some will probably be specific to the configuration of the specific site. Where that configuration is picking things like the mode for determining the host, is that something where we will have one component that has config and a couple of options, or is this where we use easy extensibility as our differentiator.
Personally I like the concept of "its just code" to express these types of rule as a core difference from competition - as long as the code that needs to be written is short/easy/understandable. That may mean we have file-template classes, bases with virtual members for overrides, or events/delegates.

Some of this needs to be infrastructure to create a signed blob as part of a cookie, and some will probably be specific to the configuration of the specific site

Well, the content of the blob is consistent and defined by the proxy, not the user (at least in general). For example, ARR has this feature natively and doesn't require code changes to enable it. What does need to be configured by the user is the key used to protect this information, and we have components in ASP.NET Core to do that (DataProtection).

5-tuple (Source IP, Source Port, Dest IP, Dest Port, Protocol)

Hash the 5-tuple values and use it to identify a backend.
No "failure" mode here since the backend is recomputed on each request.

What does no failure mode here mean? Can't this fail the same way as cookie if the matched backend is no longer available?

Is the source port always the same? And if you are behind a corporate firewall do you always get the same outbound IP?
From: Chris Ross<EMAIL_ADDRESS>Sent: Friday, April 10, 2020 9:05 AM
To: microsoft/reverse-proxy<EMAIL_ADDRESS>Cc: Sam Spencer<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [microsoft/reverse-proxy] Session Affinity (#45)
5-tuple (Source IP, Source Port, Dest IP, Dest Port, Protocol)

Hash the 5-tuple values and use it to identify a backend.
No "failure" mode here since the backend is recomputed on each request.

What does no failure mode here mean? Can't this fail the same way as cookie if the matched backend is no longer available?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Freverse-proxy%2Fissues%2F45%23issuecomment-612097503&data=02|01|sam.spencer%40microsoft.com|19bafd1188444530b75808d7dd68f929|72f988bf86f141af91ab2d7cd011db47|1|0|637221315244949211&sdata=C6fEw2sGF5UZxJoSHBFUypm506cmanlH7QpHOWXDuiI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANC7AWXBANVX3YWLPLNKCUTRL47UBANCNFSM4MEEXDBA&data=02|01|sam.spencer%40microsoft.com|19bafd1188444530b75808d7dd68f929|72f988bf86f141af91ab2d7cd011db47|1|0|637221315244949211&sdata=V3MzcToB8QMdkdeSNy9er7usH2QKQKN46xLEugcW5FA%3D&reserved=0.

What does no failure mode here mean? Can't this fail the same way as cookie if the matched backend is no longer available?

Well, my thinking is that the inputs are hashed and used to look up a backend from the set of available backends, but now that I think about it I think you're right. It would have to be a stable hash over the entire set of possible backends for that route and if it matches one that's currently offline it would fail.

Is the source port always the same?

Source ports are random.

And if you are behind a corporate firewall do you always get the same outbound IP?

That would be the source IP, and yes this approach would be confused by outbound proxies.
There's another level of affinity we haven't considered here. NTLM/kerberos needs connection level affinity. e.g. Requests on a specific inbound connection are mapped to requests on a specific outbound connection to a specific backend.
Do we have any evidence/requirements on which type of affinity customers want? I assume cookie and header are the main ones.

Is the source port always the same?

Source ports are random.

But in a keep-alive or HTTP/2 connection they will be the same. The 5-tuple load balancing does seem unlikely to be super useful in an L7 proxy, but I included it for completeness.

I suggest to think also about the following:

Do we re-distribute affinity and how we do that on back-end scale-out or scale-down events (new severs get added or removed)?
What is an affinity TTL? Will it live indefinitely (until the target back-end is available) or expire after some time? To what extent it needs to be configurable?
Is "stamp" going to be bound to a source address or it can be re-used by any clients? If it's the latter, do we need some kind of throttling to avoid overloading back-end?

Do we re-distribute affinity and how we do that on back-end scale-out or scale-down events (new severs get added or removed)?

Affinity is needed when there's state on the destination server. We should not automatically re-affinitize unless that destination goes down or else the client will loose their state.  However, we should consider a mechanic to allow manually reafinitizing. This could be as simple as the destination deleting the affinity cookie.

What is an affinity TTL? Will it live indefinitely (until the target back-end is available) or expire after some time? To what extent it needs to be configurable?

That's an interesting question we should ask customers and check with other implementations. I assume it would be a session cookie that expires when the client closes the browser.

Is "stamp" going to be bound to a source address

Binding to a source address breaks network agility. E.g. my laptop's IP can change as I move around, but my session cookie would remain.

or it can be re-used by any clients?

How would they get it? It would take deliberate effort for clients to share an affinity cookie.

If it's the latter, do we need some kind of throttling to avoid overloading back-end?

I expect we'll need throttling regardless, it's not an affinity specific feature.

That's an interesting question we should ask customers and check with other implementations. I assume it would be a session cookie that expires when the client closes the browser.

I think client can be not only browsers, but also cloud services calling backends behind reverse proxy. Then, they might either not have a session concept or not respect cookie expiration time.

How would they get it? It would take deliberate effort for clients to share an affinity cookie.

Affinity cookie can be retrieved once by a service, put in a storage and then shared by a number of them. On top of that, a malicious client can deliberately send a huge number of requests with the same affinity cookie to overload backends.

Here's an example of using Session Cookie affinity from Azure Front Door:
https://docs.microsoft.com/en-us/azure/frontdoor/front-door-routing-methods#affinity

I think client can be not only browsers, but also cloud services calling backends behind reverse proxy.

Yes, but browsers are a major scenario worth starting with.

Hi, I'll add our reverse proxy scenario into the mix and see how it fits into your design here.
Overview
In our service, we have a single top-level domain that all clients use (contoso.com.) We have many individual endpoints (in our terminology "service pools" - e.g. a vm scale set in Azure) deployed around the world. Customer data is bound to some subset of these pools. E.g. if you are an EU customer (tenant) then you are bound to a few of the EU pools. We maintain a mapping of customer (tenant) -> pools.
Top-level Domain to IP mapping
When a user makes a request to contoso.com they will hit one of the back-end endpoints (which one they hit depends on DNS resolution, which we can assume  for this conversation is geo-based. I.e. you hit the service pool 'closest' to you.)
Failover
For a given tenant, only one of those pools they are bound to is the "primary" (accepting edits) at any given point in time. The others are replicas to be failed-over to incase there is a disaster in the primary.
Side-by-side hosting with the Application
We run our reverse-proxy side-by-side our real web apps. On every machine backing an endpoint there is both a reverse proxy web app as well as the 'real' application web app running.
Core Routing Logic
So for each request, we need to:

Examine the request (details in extraction section below) to find a route key.
a. If no route key is found, proxy to the local application.
Execute custom logic to lookup (see lookup section below) the correct destination for the route key.
a. This is usually a call into a tiered-cache we call the Route Cache (in-memory, redis, etc.) Cache misses result in a call to a more expensive lookup process where we determine which of the candidate service pools is the primary.
Proxy the request to that destination.

Route Key Extraction
To find the route key on a request, we have custom logic that looks for different payload types in different locations. There are a lot of combinations due to how our scenarios evolve over time. Currently we have a mix of:
Locations

Specific Cookies
Specific Headers
Query Parameter
Url Path Segment

Payload Types

JWT
String (possibly delimited with several bits of information)

But a new scenario could come along tomorrow where we need to introduce a new location or payload type, so we need flexibility (i.e. be able to write our own C#) when extracting the route key from a request.
Route Destination Lookup
Once we know the route key, we need to find the destination mentioned in step 2 of the above core routing logic.
The details of how we do this are all specific to our application, so I think from a requirements perspective what we need here is the ability to implement a 'lookup' interface where the input is the route key and the output is the destination.
Response Inspection / Route Cache Clearing
I mentioned above that we cache Route Key -> Destination. When an event like failover happens we need to invalidate some or all of the route cache. This can happen a few ways:

Through external monitoring that decides the cache is invalid.
By receiving a special "Clear your cache" header in a response from a request proxied to the destination endpoint.

Failure Modes

If we find a route key but can't find a destination then we 503. We need to be able to set custom headers in this case, such as Retry-After.

Customer data is bound to some subset of these pools.

This association is pretty stable, right? You always want that customer to go to that pool, they're not dynamically assigned. In this object model that seems like a relationship to be resolved in the routing stage rather than through an affinity module. Right now there
support for static routing based on a pre-defined list of paths, hosts, headers, etc., but we also have plans for dynamic routing where you write code to directly examine the request and pick the best route/pool to assign it to (https://github.com/microsoft/reverse-proxy/issues/46).

@Tratcher the list of candidate back-end pools is stable (i.e. we have ~30 back-end endpoints and they would change rarely w/ a new code deployment.) But the assignment of "this request should go to backend X" needs to be checked for every request by our routing logic. I agree it sounds like dynamic routing would work for this, I'll follow that issue. LMK if I need to add any more context or details of our scenario!


fix: Local Service Constructors MUST return concrete not interface

Issue #, if available:
This reverts changes made but never released to the internal Dafny code
of the MPL.
Description of changes:
It is a subtle but breaking change to change the
method signatures for local service constructors
form returning the concrete class to returning the interface.
i.e:
method MaterialProviders(config: MaterialProvidersConfig) returns (res: Result<MaterialProvidersClient, Error>)

Cannot be turned into:
method MaterialProviders(config: MaterialProvidersConfig) returns (res: Result<IAwsCryptographicMaterialProvidersClient, Error>)

Without a new major version of the MPL.
Squash/merge commit message, if applicable:
fix(dafny): Local Service Constructors MUST return concrete

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

The only failing test is a the flaky concurrency test.


readTexture for framebuffer attached texture

Hi. I'm trying to implement picking (for selection), so I decided to render each mesh with a distinct color to a framebuffer and then read back the attached texture using readTexture - which is, I believe, quite often used technique. Anyway - I run into a problem that read data is all zero, despite the fact that buffer is rendered correctly (which I checked by re-directing the rendering to the default buffer). Secondly, if I set a break after the readTexture, the second time it hits - the data is there. But only under the debugger - if I just re-read the buffer twice in code it's still empty, no matter what.
All this lead mi to the conclusion, that's probably a problem caused from a parallel nature of bgfx renderer - that the data is not there yet. Unfortunately, putting additional frame() calls, messing with the call order, etc - din't help. Maybe I'm completely off the track here - so is there some advised, established way of implementing picking with bgfx (except just giving up on the idea in favor to ray-casting, which is my plan B if I get stuck for too long)?
I'm using the latest bgfx on mac os x.

Are you doing bgfx::blit from frame buffer to texture you created with flag BGFX_TEXTURE_READ_BACK?
https://github.com/bkaradzic/bgfx/blob/master/examples/09-hdr/hdr.cpp#L500

What you're describing works well for me. The data is available after the second call to bgfx::frame(). Be sure to pass a pointer to persistent data to bgfx::readTexture(). Have a look at sample impl. here: https://github.com/bkaradzic/bgfx/blob/master/examples/09-hdr/hdr.cpp#L501
What you should try is: read the value in a static variable and print it each frame.

Thanks a lot guys, I will give it a try and report the results.

Ok, I made it to work, thanks! But in quite convoluted way.

for some reason I though readTexture is blocking - understanding that it's not the case allowed me to finally be able to make reading from the framebuffer attachment directly - submit, readTexture, wait two frame()s - done.

..but it takes the whole frame buffer to be read back, while I in fact need only one pixel - well, I guess here's where the blit comes in handy. Unfortunately - if I toss-in a blit and then read from the smaller texture - yeah, I'm back to square zero - no data, like the blitting copied nothing. Checked parameters a hundred times, moving stuff back and forth, still no luck.

Anyway - I'm ok with the solution of reading the whole buffer for now. Thanks again.

Try creating 16x16 read back texture and blit the same size from texture.

Ok, tried it, didn't help. I guess I stick to "read whole buffer" solution, but one thing just crossed my mind - may it be related to the fact that I didn't enable so-called "core profile" (thus, still using OpenGL 2.1). Maybe those two things are somehow related?


logging migration of blackborder and grabber

1. Tell us something about your changes.
as above
2. If this changes affect the .conf file. Please provide the changed section
no
3. Reference a issue (optional)
#25

Hm, could you change to Debug for ImageProcessor.h.
This message is often thrown and you usualy don't understand it.
thanks so far :)

Nice one


Added Binary_search.c file.

I have added the file Binary_search.c .  It contains complete implementation of the binary search algorithm in c language. I have added comments for almost every step which makes it beginner friendly and it could be understood by anyone. I have also explained and defined the binary search algorithm in comments at the top of the program. It is helpful for everyone including students and those preparing for placements. It is helpful for both theory as i have added all the necessary theory for the binary search algorithm and implementation as it can easily be implemented by anyone.

Thanks for your contribution!

PR has been merged under Hacktoberfest!


[SP-4091][PDI-10212] Cannot Reuse Validation Streams

Build Completed
:x: This pull request has errors. They will need to be addressed before it can be accepted. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/validator/Validator.java
  engine/test-src/org/pentaho/di/trans/steps/validator/ValidatorTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -0.7% :small_red_triangle_down:
Complexity Change: -0.6% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.setvalueconstant.SetValueConstantMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.synchronizeaftermerge.SynchronizeAfterMergeMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:

org.pentaho.di.www.TransformationMap

Branch Change: -4.5% :small_red_triangle_down:
Complexity Change: -3.1% :small_red_triangle_down:
Instruction Change: -5.5% :small_red_triangle_down:
Line Change: -4.6% :small_red_triangle_down:

License header violations

:heavy_exclamation_mark: Couldn't find acceptable copyright on engine/src/org/pentaho/di/trans/steps/validator/Validator.java

:heavy_exclamation_mark: Couldn't find acceptable copyright on engine/test-src/org/pentaho/di/trans/steps/validator/ValidatorTest.java

@mchen-len-son Could you please review and merge it?

@AliaksandrShuhayeu please fix checkstyle issues

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/validator/Validator.java
  engine/test-src/org/pentaho/di/trans/steps/validator/ValidatorTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes: <0.1% (click to expand)
org.pentaho.di.job.entries.sql.JobEntrySQL

Instruction Change: -3.3% :small_red_triangle_down:
Line Change: -3.9% :small_red_triangle_down:

org.pentaho.di.trans.step.StepMeta

Branch Change: -0.7% :small_red_triangle_down:
Complexity Change: -0.6% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:
Line Change: -0.3% :small_red_triangle_down:

org.pentaho.di.trans.steps.calculator.CalculatorMetaFunction

Branch Change: -8.7% :small_red_triangle_down:
Complexity Change: -3% :small_red_triangle_down:
Instruction Change: -0.8% :small_red_triangle_down:
Line Change: -0.9% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dbproc.DBProcMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.dimensionlookup.DimensionLookupMeta

Method Change: -1% :small_red_triangle_down:

org.pentaho.di.trans.steps.memgroupby.MemoryGroupByMeta

Branch Change: -1.1% :small_red_triangle_down:
Complexity Change: -1.3% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:
Line Change: -0.4% :small_red_triangle_down:

org.pentaho.di.trans.steps.replacestring.ReplaceStringMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.sortedmerge.SortedMergeMeta

Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:

org.pentaho.di.trans.steps.textfileinput.TextFileInputMeta

Branch Change: -0.5% :small_red_triangle_down:


Same Dataset Name in Different Schemas not showing scans information on the SODA CLOUD

Soda Version v3.0.3
Snowflake Datasource
While performing scans on two datasets which has the exact same name and checks definition but in the different schema the scan results are not showing up in the Soda Cloud for one of the datasets. Often it is flipping between both of them it seems.
Please see my example below.
Checks for Dataset 1
checks for UNIT_MARGIN_V:
  - freshness(res_date, CUST_VAR):
      warn: when > 240m
      fail: when > 300m
      name: Freshness for DATASCIENCE.UNIT_MARGIN_V warn when >240m and Fail >300m
  - schema:
      name: Any schema changes
      warn:
        when schema changes:
          - column add
          - column index change
          - column type change
      fail:
        when schema changes:
         - column delete

Checks for Dataset 2
checks for UNIT_MARGIN_V:
  - freshness(res_date, CUST_VAR):
      warn: when > 240m
      fail: when > 300m
      name: Freshness for UMR.UNIT_MARGIN_V warn when >240m and Fail >300m
  - schema:
      name: Any schema changes
      warn:
        when schema changes:
          - column add
          - column index change
          - column type change
      fail:
        when schema changes:
         - column delete

Thanks @sutaraj01 - we're currently also tracking this on our internal cloud backlog. It's not a problem the Core team can resolve so I'll close this for now and keep you posted of any further updates. 👍


Update holographic-remoting-create-host.md

Docs Build status updates of commit 5909068:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/holographic-remoting-create-host.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.