Cross report drill through function is not working in Power BI Report server

Hi.
I am using Power BI Report server(May 2020 installed)
I want to use cross report drill through function in power bi report server.
Even though cross report setting is shown on power bi desktop but it's not working when i published to PBIRS.
(I used the demo files from guy in a cube site
https://github.com/guyinacube/demo-files/blob/master/video demos/PBIX/2019/20190501 - Cross Report.zip )
I wonder the functionality is available or not in PBIRS.

Hi, @ey1020park -- good question! I'm checking and will get back to you.
Thanks!

Hi, @ey1020park -- OK, checked. No, it's not supported. I need to add that statement to the docs. Were you looking at a specific article for this info?

Hi, @maggiesMSFT
-- thank you for the clear comment.
I was looking at below article.
https://docs.microsoft.com/en-us/power-bi/create-reports/desktop-cross-report-drill-through#:~:text=To use cross-report drillthrough%2C select the source report in,then select the drillthrough target.
BTW, is there any possibility to be able to use the function in PBIRS?
Many useful functions are only available in power bi server. :(

Hi, @ey1020park -- thanks for the link. I'm adding a Considerations section to the article and adding it there.
What's possible/not possible Power BI Report Server vs. the Power BI service: If you think of report functionality as 'inter-report' or maybe 'extra-report', those sorts of features don't necessarily work in the report server. If you think of 'intra-report' features, those do work. Make sense?

Oh, I realized I can add it to this doc, too
https://docs.microsoft.com/en-us/power-bi/report-server/compare-report-server-service


I need help on my css

Challenge Use CSS Selectors to Style Elements has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/50.0.2661.94 Safari/537.36 OPR/37.0.2178.43.
Please describe how to reproduce this issue, and include links to screenshots if possible.
 Please consult the help chat for help with writing code.

@Gachio this is not issue. Your code just don't have any h2 tags.

Thanks for reporting this. GitHub Issues are for reporting bugs on the website only.
Please consult the Help Chat Room for any assistance to Coding.
Happy Coding!


libsdl2-ttf-dev is a requirement

At least on Ubuntu

Thank you for pointing that out. It is I should add this on the instructions. You have to install it. I just forgot

I have updated the readme to include instructions for installing libsdl2-tff-dev. Closing this issue


Build error when running Sanity

/node_modules/sanity-plugin-vercel-deploy/dist/deploy-status.css
Module build failed: ModuleBuildError: Module build failed: Error: Cannot find module 'caniuse-lite/data/features/css-unicode-bidi.js'

Fixed by adding https://www.npmjs.com/package/caniuse-lite in the dev dependencies as a workaround for the moment.

Hey there @Rhym not sure what's causing this error for you, but I just released the official v3 version of this plugin, so I'm going to close this for now given you found a solution and v3 is going to be the main focus moving forward 🤘


Element with id /subscriptions/ exists

Type: Bug
The Azure Resources extension stopped loading resources. Error: Element with id /subscriptions/ is already registered. Signing out and in does not help. Uninstalling Azure Extension and Azure Resource Extension and re-installing does not help. Nothing in the settings file indicate the guid in question.
Extension version: 0.8.0
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:51:52.184Z)
OS version: Windows_NT x64 10.0.22621
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10610U CPU @ 1.80GHz (8 x 2304)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
31.73GB (18.23GB free)

Process Argv
. --crash-reporter-id addd4528-2efa-413d-9198-00a83a077771

Screen Reader
no

VM
0%

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
py29gd2263:30880072
vsclangdf:30486550
c4g48928:30535728
dsvsc012:30540252
pynewext54:30695312
azure-dev_surveyone:30548225
282f8724:30602487
89544117:30613380
a9j8j154:30646983
showlangstatbar:30737416
pythonfmttext:30731395
fixshowwlkth:30771522
showindicator:30805244
pythongtdpath:30769146
i26e3531:30792625
welcomedialogc:30887144
pythonnosmt12:30797651
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30869155
dsvsc013:30795093
dsvsc014:30804076
dsvsc015:30845448
pythontestfixtcf:30871695
pythonregdiag2:30871582
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016cf:30886111
dsvsc017:30886112
dsvsc018cf:30886115
aa_t_chat:30882232

Logic Apps are displaying as expected, but Resources generate the error below when refreshed:

And suddenly it works again. Sorry gor the inconvenience.

And suddenly it works again. Sorry gor the inconvenience.

I think this is a bug that happens rarely, when it happens try reloading or restarting. I'll reopen this so we can track it.

I ran into same issue. Still looking for some solution...

This just started happening to me as well.

Same issue for me:
Element with id /subscriptions/***-***-***-***-*** is already registered.
Seems that my subscriptions under Azure: Select Subscriptions... are there more then once.
Anyway to re-initialize this list?
Has this bug already been looked into?


Check the write permission before export the table

What type of enhancement is this?
User experience
What does the enhancement do?
To reduce redundant IO, The Copy To should check the write permission of the target file or dir before scanning the table.
https://github.com/GreptimeTeam/greptimedb/blob/fdd17c6eeb9ff0afc33a0212f76518634e37ffea/src/datanode/src/sql/copy_table.rs#L35-L64
Implementation challenges
No response

I think we can split the CopyTableRequest::file_name into path and file name. When building object store we use path as root and check if current process has write permission before actually read data from table.

I think we can split the CopyTableRequest::file_name into path and file name. When building object store we use path as root and check if current process has write permission before actually read data from table.

I will check the OpenDAL docs later. There may be no permissions check method. But we still can write bytes into a temp( or a manifest) file to check to create and write permission.


feat(tauri) add path API

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] Feature
[ ] New Binding Issue #___
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes. Issue #___
[x] No

The PR fulfills these requirements:

[x] It's submitted to the dev branch and not the master branch
[ ] When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

Works on Windows, Linux and macOS.
@nothingismagick need you to check the usage signature here, and let me know if you think we could improve it.


Set up the lambda handler for compiling and executing Java

This PR handles two things

It creates the initial gradle project via gradle init - The first option selected was 3: Library and the rest of the options used the default.
It sets up the lambda handler to compile and execute student Java code.

The handler currently only accepts a single file.
All files are auto-generated by gradle except the following:

All of CodeExecutor.java
The section of build.gradle starting with // AWS Lambda dependencies
The last line in the .gitignore

Example lambda: https://console.aws.amazon.com/lambda/home?region=us-east-1#/functions/jessie-test-java-lambda-function?tab=configuration
This can be run using a Java11 AWS Lambda function (instructions]
Once the lambda is created, follow these instructions:

In the AWS console, change the handler to org.code.javaide.codebuilder.CodeExecutor::handleRequest
In your local code branch run ./gradlew -q buildZip
Upload the zip file from ./java-ide/org-code-javaide-codebuilder/lib/build/distributions/lib.zip to the lambda on the AWS console
Add a test event that maps a file name to Java code. Example:

{
  "Foo.java": "public class Foo {\n  public static void main(String[] args) {\n    System.out.println(\"Hello Molly!\");\n  }\n}\n"
}

Run the test event
If all goes well, you should see the output from your program

Sorry for the force-push. I had accidentally been using this as a WIP branch after opening the PR.


Add missing GraphQl filtering options

Description
Added missing filtering options for GraphQl queries to entity getters.
Additional information

All entities that have status and tags can be filtered by them.
Folder have folder path regex and some boolean filterings.
Task have filtering by assignees.
Product has name and path regex filter.
Representation has option to filter representations with/without links.
Event can be filtered by newer/older than and if has children.
Workfile info can be filtered by path regex.

Because some of the arguments changed order it may be backwards incompatible change. I know about required changes in openpype repository https://github.com/ynput/OpenPype/pull/5997 , but I hope that's all.

Folder have folder path regex and some boolean filterings.

From an API standpoint, does this now allow passing a Python compiled regex object to e.g. the name filter functions similar to how the Pymongo API allowed. Basically the API could do a isinstance(value, re.Pattern) and if so make it a regex query instead.
Or what will be the ayon api equivalent?


Refactor experimental fast init

Codecov Report

Merging #73 (50bf076) into main (89f1c6f) will decrease coverage by 1.68%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
- Coverage   60.97%   59.29%   -1.69%
==========================================
  Files          11       11
  Lines         920      877      -43
==========================================
- Hits          561      520      -41
+ Misses        359      357       -2

Impacted Files
Coverage Δ

TyPython/src/C.jl
50.00% <0.00%> (-7.15%)
:arrow_down:

TyPython/src/CPython.APIs.jl
49.54% <0.00%> (-3.00%)
:arrow_down:

TyPython/src/CPython.jl
52.94% <0.00%> (-2.33%)
:arrow_down:

TyPython/src/CPython.Defs.jl
15.90% <0.00%> (-1.87%)
:arrow_down:

TyPython/src/CPython.Julia.jl
94.87% <0.00%> (-0.59%)
:arrow_down:

TyPython/src/CPython.Boot.jl
72.54% <0.00%> (-0.53%)
:arrow_down:

TyPython/src/CPython.ORM.jl
97.79% <0.00%> (-0.14%)
:arrow_down:

TyPython/src/CPython.NumPy.jl
92.68% <0.00%> (+0.82%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Subarray

Subarray

Subarray is a continuous part of the array.

Note: Number of subarrays of an array with n elements = nC2 + n = n*(n+1) / 2.
Have you read the Contributing Guidelines on Pull Requests?
Yes

@smv1999 Can I work on this issue?

Can I work on this issue

@smv1999 Can I work on this issue?

I can solve this issue please assign me

@smv1999 Can I work on this issue because I ask from 5days

You can very well assign it to yourself using the '/assign' command. But anyway, you can go ahead @harshita9621

Also, could you be more specific about the problem that you are trying to solve ?

@inimitable034 Please create a new issue if you want to contribute in a different language ?

@inimitable034 Please create a new issue if you want to contribute in a different language ?
ok


Publish on pub.dev

Depends on #1 cause plugin needs be able to build itself

It's out on https://pub.dev/packages/tor


Remove unused files in the mod

I extracted the jar and saw that it has a lot of unused files making the file size of the mod bigger than needed.

Lang folder for example has a lot of json translations that aren't required.
Textures folder has gui files that aren't needed
Lots of models as well.
I'm guessing these are imported create resources.
Would be great to strip these down to what is actually needed. might just be less than 1mb if done.

Hi!
Thanks!!
Not even noticed... I'll look into it.

New update adds bloat back


Research: provide ManySats as tor onion service

Research on how to provide a hidden service
Add a note on the clearnet site on the onion address

There is also an Onion-Location header and/or <meta> tag than can be provided.
From https://community.torproject.org/onion-services/advanced/onion-location:

Onion-Location is an easy way to advertise an onion site to the users. You can either configure a web server to show an Onion-Location Header or add an HTML  attribute in the website.
For the header to be valid the following conditions need to be fulfilled:

The Onion-Location value must be a valid URL with http: or https: protocol and a .onion hostname.
The webpage defining the Onion-Location header must be served over HTTPS.
The webpage defining the Onion-Location header must not be an onion site.


Exception from one parent

Need/Ideas Statement
Now check exception very hard. Need always take all exception.
May create from one, or two. But it is better from one.
Example:
class TesseractRuntimeError(RuntimeError):
    pass

class TesseractError(Exception):
    """Base exception for tesseract"""

    def __init__(self, message=""):
        self.message = message

    def __str__(self):
        return self.message

class PSMInvalidException(TesseractError):
    def __init__(self, message="PSM Invalid"):
        super().__init__(message)

class OEMInvalidException(TesseractError):
    def __init__(self, message="OEM Invalid"):
        super().__init__(message)

class NoSuchFileException(TesseractError):
    def __init__(self, message="No such file"):
        super().__init__(message)

class LanguageInvalidException(TesseractError):
    def __init__(self, message="Language invalid"):
        super().__init__(message)

It would be great if and 'TesseractRuntimeError'  was also inherited from 'TesseractError'. On you decision...

Yes, you absolutely right.
I really made a mess with the exceptions :sweat_smile:
Could you provide a PR with this corrections?
A few more for the list:

https://github.com/amenezes/aiopytesseract/blob/master/aiopytesseract/commands.py#L94
https://github.com/amenezes/aiopytesseract/blob/master/aiopytesseract/commands.py#L129
https://github.com/amenezes/aiopytesseract/blob/master/aiopytesseract/commands.py#L433

Maybe this examples can be converted to TesseractTimeoutError or something like that.

fixed by PR #5


Move away from the long type to switch to a type that can better handle big integers.

Refer to title. This is high priority.

Integrating boost is proving to be a challenge so far.

Integrating boost is proving to be a challenge so far.


[FIX] charts - default service name for tls

fix https://github.com/1Password/connect-helm-charts/issues/140

I see this PR has unsigned commits. Only signed commits can be merged into main for this repository.
To get your PR merged, please sign those commits (git commit -S --amend --no-edit) and force push them to this branch (git push --force-with-lease).
If you're new to commit signing, there are different ways to set it up:

Sign commits with gpg

Follow the steps below to set up commit signing with gpg:

Generate a GPG key
Add the GPG key to your GitHub account
Configure git to use your GPG key for commit signing

Sign commits with ssh-agent

Follow the steps below to set up commit signing with ssh-agent:

Generate an SSH key and add it to ssh-agent
Add the SSH key to your GitHub account
Configure git to use your SSH key for commit signing

Sign commits with 1Password

You can also sign commits using 1Password, which lets you sign commits with biometrics without the signing key leaving the local 1Password process.
Learn how to use 1Password to sign your commits.

I am also happy to sign this commit, but that makes me "author" of the commit. So I'd like give you the chance to do so first if you want.

I've gone ahead and rebased the commit to have it signed. This made me the authors of the commits, but, @Altiire, I left you as a co-author to keep maintain the attribution in place :)


Add AtomicCell::{fetch_nand,fetch_max,fetch_min}

refs:

AtomicUsize::fetch_nand
AtomicUsize::fetch_max
AtomicUsize::fetch_min

bors r+


[Microsoft Azure Data Manager for Agriculture - Microsoft Azure Data Manager for Agriculture] API Review

New API Review meeting has been requested.
Service Name: Microsoft Azure Data Manager for Agriculture - Microsoft Azure Data Manager for Agriculture
Review Created By: Bhargav Kansagara
Review Date: 08/01/2023 01:00 PM PT
Onboarding Record: https://dev.azure.com/azure-sdk/Release/_workitems/edit/12545
PR:
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Bhargav Kansagara
Service Name: Microsoft Azure Data Manager for Agriculture - Microsoft Azure Data Manager for Agriculture
Review Created By: Bhargav Kansagara
Review Date: 08/01/2023 01:00 PM PT
Onboarding Record: https://dev.azure.com/azure-sdk/Release/_workitems/edit/12545
PR: https://github.com/Azure/azure-rest-api-specs/pull/25083
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description:
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Cancelled by: Bhargav Kansagara

New API Review meeting has been requested.
Service Name: Microsoft Azure Data Manager for Agriculture - Microsoft Azure Data Manager for Agriculture
Review Created By: Jonathan Cardenas
Review Date: 09/28/2023 04:00 PM PT
Onboarding Record: https://dev.azure.com/azure-sdk/Release/_workitems/edit/12545
PR: https://github.com/Azure/azure-rest-api-specs/pull/25083
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description: Please ignore the current date for this review, this will be changes to Thursday August 3rd 8:00 AM PT
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Meeting updated by Jonathan Cardenas
Service Name: Microsoft Azure Data Manager for Agriculture - Microsoft Azure Data Manager for Agriculture
Review Created By: Jonathan Cardenas
Review Date: 08/03/2023 08:00 AM PT
Onboarding Record: https://dev.azure.com/azure-sdk/Release/_workitems/edit/12545
PR: https://github.com/Azure/azure-rest-api-specs/pull/25083
Hero Scenarios Link: Not Provided
Core Concepts Doc Link: Not Provided
Description: Rescheduling to August 3rd 8:00 AM Pacific Time.
Detailed meeting information and documents provided can be accessed here
For more information that will help prepare you for this review, the requirements, and office hours, visit the documentation here

Notes from API Review meeting

path parameter names should be camel case and generally singular rather than plural
What is the format of the schema? JSON Schema? What version? Is it a string?

We recommend that this is a JSON object (since all JSON Schemas are JSON objects)
type: object, additionalProperties: true

For additional properties inside the dataset records, put these inside an object
Want to make the Record polymorphic -- use the OpenAPI discriminator pattern.  We can help on that if needed
Consider using Schema Registry as the source/mechanism for storing schemas (supports versioning)
Consider the cost of making datasets read-only and versioning by complete copy
Versioning of datasets is planned for a future release
Should these APIs be broken out since they are all just for partners? Or move to mgmt plane?
Managing access - this is all on the partner? There is no automation or marketplace offering?

This feels bespoke -- not leveraging other capabilities like Purview, etc.

This looks good for preview.

@bhargav-kansagara Please provide an update on this review. The PR has changes requested that have not been addressed for over a month.

@mikekistler Apologies for the delay, took some time to finalize some minor changes. I have updated the PR with correct base commit (previous API version) and requested changes. Please review at your convenience. Thanks!!


node osrm setup failure

I have installed node osrm using npm install osrm on Ubuntu 14.04. This has installed the OSRM v4.9. The next step is to setup OSRM. I am trying to follow the steps given in the wiki for setup- https://github.com/Project-OSRM/node-osrm
When I run make I get the below errors
/bin/sh: 1: [[: not found
/bin/sh: 1: echo you need pkg-config installed: not found
make: *** [pkgconfig] Error 127
When I run ./Makefile, I get the below errors
./Makefile: line 3: shell: command not found
./Makefile: line 3: TOOL_ROOT?=/lib/binding: No such file or directory
./Makefile: line 4: TOOL_ROOT: command not found
I even added a shebang to use bash since the errors seem to be due to non usage of bash
I have installed all the required libraries and have node v0.12
How can I run the https://github.com/Project-OSRM/node-osrm/blob/develop/Makefile file successfully?

I was able to go ahead by adding
SHELL := /bin/bash
But now I am getting a clang++ error -
'''
CMake Error at CMakeLists.txt:9 (project):
The CMAKE_CXX_COMPILER:
clang++

is not a full path and was not found in the PATH.
Tell CMake where to find the compiler by setting either the environment
variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
to the compiler, or to the compiler name if it is in the PATH.
'''
Also the CMakeError.log showed the below error-
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: clang++
Build flags:
Id flags:
The output was:
No such file or directory
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: clang++
Build flags:
Id flags: -c
The output was:
No such file or directory
Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":

Solved the above by changing bootstrap.sh to use g++ instead of clang++
But get a new error
-- Found LuaJIT: /usr/local/lib/libluajit-5.1.so
-- Performing Test LUABIND51_WORKS
-- Performing Test LUABIND51_WORKS - Failed
CMake Error at cmake/check_luabind.cmake:38 (message):
Luabind does not work with Lua 5.1 at
/usr/lib/x86_64-linux-gnu/liblua5.1.so, no working Luabind found
Call Stack (most recent call first):
CMakeLists.txt:293 (include)
-- Configuring incomplete, errors occurred!
See also "/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/deps/osrm-backend-Release/build/CMakeFiles/CMakeOutput.log".
See also "/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/deps/osrm-backend-Release/build/CMakeFiles/CMakeError.log".
make[1]: Entering directory /home/aachar/truckeasy/projectx-mirror/node_modules/osrm/deps/osrm-backend-Release/build' make[1]: *** No targets specified and no makefile found.  Stop. make[1]: Leaving directory /home/aachar/truckeasy/projectx-mirror/node_modules/osrm/deps/osrm-backend-Release/build'
~/truckeasy/projectx-mirror/node_modules/osrm
cp: cannot stat ‘/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/mason_packages/.link/bin/osrm-extract’: No such file or directory
cp: cannot stat ‘/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/mason_packages/.link/bin/osrm-datastore’: No such file or directory
cp: cannot stat ‘/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/mason_packages/.link/bin/osrm-prepare’: No such file or directory
success: now run 'npm install --build-from-source'
gyp: Call to 'pkg-config libosrm --variable=libdir' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:305:16)
gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:820:12)
gyp ERR! System Linux 3.13.0-74-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--loglevel=error" "--clang=1" "--module=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding/osrm.node" "--module_name=osrm" "--module_path=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding"
gyp ERR! cwd /home/aachar/truckeasy/projectx-mirror/node_modules/osrm
gyp ERR! node -v v0.10.41
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
node-pre-gyp ERR! configure error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --loglevel=error --clang=1 --module=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding/osrm.node --module_name=osrm --module_path=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding' (1)
node-pre-gyp ERR! stack     at ChildProcess. (/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:98:17)
node-pre-gyp ERR! stack     at maybeClose (child_process.js:766:16)
node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (child_process.js:833:5)
node-pre-gyp ERR! System Linux 3.13.0-74-generic
node-pre-gyp ERR! command "node" "/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/node_modules/.bin/node-pre-gyp" "configure" "build" "--loglevel=error" "--clang=1"
node-pre-gyp ERR! cwd /home/aachar/truckeasy/projectx-mirror/node_modules/osrm
node-pre-gyp ERR! node -v v0.10.41
node-pre-gyp ERR! node-pre-gyp -v v0.6.18
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/nodejs /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --loglevel=error --clang=1 --module=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding/osrm.node --module_name=osrm --module_path=/home/aachar/truckeasy/projectx-mirror/node_modules/osrm/lib/binding' (1)
make: *** [build] Error 1

@payanacloud What are you trying to do here? If you do npm install osrm you should be good, since there are binary packages for your distribution.
If you want to install osrm-backend use this repository and this guide.

Wanted to be able to query for routes. As I understood the procedure first we install node osrm and then we need to prepare the osrm file. The wiki calls this the "Setup" step and tells us to run the make file. The make file seems to git clone the repository and then builds the osrm backend code and also downloads the pbf file and runs extract and prepare. So I figured the make sets everything up to finally query for routes. Please correct me if I am wrong.

@payanacloud the binaries you need are in node_modules/osrm/lib/binding/. You'll find osrm-extract and osrm-prepare which can be used to prepare the data.

Figured that out. Thanks @TheMarex . I was under the impression that there were more things to be setup.


feat(service): Add [OneBot11] service

Describe the missing service. Please provide useful links.

This is the definition of onebot11 protocol: https://github.com/botuniverse/onebot-11
Describe the solution you'd like

Send notification messages through the http communication format supported by the onebot protocol
Potential libraries to use

https://github.com/dezhishen/onebot-sdk

If you don't have extra time to deal with this issue, you can assign it to me and I will complete support for the protocol over the weekend (In fact, I am adding onebot protocol support for notify's downstream software pingme. I will be happy if you are willing to associate this issue with me)

If you don't have extra time to deal with this issue, you can assign it to me and I will complete support for the protocol over the weekend (In fact, I am adding onebot protocol support for notify's downstream software pingme. I will be happy if you are willing to associate this issue with me)

Hey @IllTamer I would like to give this a try. Can I pick this up?


Support for Adding Lyric Providers

Implement support for plugins that provide lyrics functionality to Cider using the Cider-PluginKit. This enhancement will allow Cider to access additional lyric APIs through the PluginKit, improving the app's extensibility and appeal to both users and plugin developers.
Scope

Support for lyrics retrieval plugins
Support for lyric translation plugins
Support for parsing word-synced lyrics

Development for this feature is now in progress.
https://github.com/ciderapp/PluginKit/tree/feat/custom-lyric-providers


Freeradius

How to use it with freeradius?

https://www.google.com/search?q=openvpn+freeradius
This issue tracker is not a helpdesk for your needs.


use predefined errors

probably something insignificant and can be done by user.
but, having errors that you can assert would be great.

also would be nice to fix error messages to have first lowercase letter (as per go recommendations)

Thanks for bringing this up! 👍 are you looking specifically for the rules the have assertable error messages? Or would it also be useful to export some of the errors from errors.go?

No need to wait for those PRs if you'd like to open one, they can always be rebased 🙂
I'll try to find some time to get this out soon

I've opened https://github.com/aidantwoods/go-paseto/pull/12 to address this 🙂
I'd appreciate a review at your leisure to make sure that this is going to catch things you're interested in. I've intentionally left some things as generic errors (like failing to construct a key), since I'm not sure that use case really warrants a custom type (only one thing can really go wrong when calling into those functions).

Looks good for my use case

Now available on latest release v1.2.0! 😄


new layout with icons

Homepage now looks a bit like this. i.e.:

Black header section gone
Feature List added to homepage, but with the same content as the concepts/basics page copy and pasted. See src/pages/index.js to change that content


UI should have a testing framework

authors of backends need a way to test the integration into existing project.
Co-developers need to be able to run tests to ensure changes haven't broken existing functionality

If someone is contributing to the Clarity UI of the project - it is always a good idea to have a component.spec.ts in which you check at least whether the component is created properly.  You can check the home.component.spec.ts
https://github.com/tompscanlan/github-matchmaker/blob/master/clarity-seed/src/app/home/home.component.spec.ts
And also the e2e.spec:
https://github.com/tompscanlan/github-matchmaker/blob/master/clarity-seed/e2e/app.e2e-spec.ts
More about components testing here - https://angular.io/guide/testing


vscode.proposed.tabs.d.ts feedback

I wonder why we end up having a window.tabGroups property and not something along the lines of TextEditor:

window.activeTabGroup: TabGroup
window.visibleTabGroups: TabGroup[]
window.onDidChangeTabGroup
window.onDidChangeActiveTabGroup

If we decide to keep window.tabGroups I find it a bit inconsistent to have tabGroups.all and tabGroup.tabs where the one uses all for the "thing" that is contained and the other uses a specific name of "what" is contained.
PS: happy to join API finalization call when you let me know when that is

The idea is that the window contains a grid (which we call tabGroups) so it should be the only thing that lives on the window object and everything lives inside that. I agree all is weird though so may decide to rename it to window.tabGroups.groups


Use TableName to specify the database for the Create operation, but Create will ignore my database name

Description:
I use 'Attach DATABASE' to attach the database
err = db.Exec("ATTACH DATABASE '" + dsnInfo + "' AS info").Error
So I want to use TableName to specify the database for the Create operation, but Create will ignore my database name
I looked at the source code of Gorm and found that it was caused by the Table method dividing strings with decimal points
How can I keep the database name
中文描述:
我使用来”ATTACH DATABASE“来附加数据库
err = db.Exec("ATTACH DATABASE '" + dsnInfo + "' AS info").Error
所以我想通过TableName来指定数据库来做Create操作, 但是Create会忽略我的数据库名
我看了Gorm的源码, 发现是Table方法以小数点来分割了字符串导致的
我应该怎么才能保留数据库名

源码的具体位置
The specific location of the source code
https://github.com/go-gorm/gorm/blob/e9637024d3780dba4de755e6f5879150f43e8390/chainable_api.go#L75

The table name is specified by parse unless you specify it via .Table() (which you don't have in your code).
It cannot be reproduced in the lastest version. If there is still a problem, please provide a reproduction link.


create_instance tries to add collection on evicted solr pod

When trying to add new instance, there were a few evicted solrcloud pods in the cluster.
create_instance doesn't check for the pod's status, and tries to create the collection using a command on an evicted pod and not the actually running one.

@akariv deployed + tested, infrastructure seems fine but seems there are some bugs with the CKAN app: #32


Dev renjie fix map marker

Two reasons caused marker not rendered in Chrome/Firefox:

google maps rendering sequence https://stackoverflow.com/questions/36911245/ionic-2-map-markers-not-appearing
customized icon in marker

Look good to me.
This fixed the mapping render issue.
I am going to merge to dev and master to fix this major issue:)


Restore fix for WFLY-8439 Unregistering node throws error: MEM: Can't…

… update or insert context

This fix is also wrong.
Am working on proper patch.

Its not a fix, but a workaound if anybody needed it during weekend, closing now.


3.4.14

Sorry to "hijack" this issue - I wasn't sure where to fit this question. Is it intentional that 3.4.13 is still marked as pre-release while already released in the Helm Chart?

The migration procedure from 3.5.13 is not fully working as expected (not in a harmful way) & we're testing Kotlin 2.0, so I put this as pre-release to hide it from the main page. I'll mark 3.4.14 as a stable one :ok_hand:

https://github.com/dzikoysk/reposilite/releases/tag/3.5.14


Translate to Simplified Chinese (zh-CN)

Hi ! I'm doing some RAG research, and I just found your guys' post on this cookbook tutorial. it was awesome. I want to translate it into Chinese. I'm not sure it is ok.

Yes! That would be great! I will add instructions on how to add translations later this week, but it should be similar to how we translate courses and docs - see here

Hi there 👋
Let's translate the course to Simplified Chinese so that the whole community can benefit from this resource 🌎!
Below are the chapters and files that need translating - let us know here if you'd like to translate any and we'll add your name to the list. Once you're finished, open a pull request and tag this issue by including #issue-number in the description, where issue-number is the number of this issue.

🙋 If you'd like others to help you with the translation, you can also post in our forums or tag @_lewtun on Twitter to gain some visibility.

We've also created a chinese-simplified-translations channel on the Hugging Face Discord in case you wish to discuss translation details there. Just follow the instructions here 👉 https://discord.gg/hKnxnxUr
Chapters

Open-Source AI Cookbook

[ ] Automatic Embeddings with TEI through Inference Endpoints
[x] Embedding multimodal data for similarity search
[ ] Fine-tuning a Code LLM on Custom Code on a single GPU
[x] Simple RAG using Hugging Face Zephyr and LangChain
[ ] Advanced RAG on HuggingFace documentation using LangChain
[ ] RAG Evaluation

@MKhalusova  hi , I just found there is a bug in merged #40, they can't pass the check lowercase, Should I drop out the zh-CN. Change it just zh? or just ignore it?

@innovation64 Just ignore it, it's a bug in the notebook filename checker (it should ignore the language prefix). The content was built correctly, and will fix this check soon.


how to solve this pronlem

192:~ hh$ ciphey
Traceback (most recent call last):
File "/usr/local/bin/ciphey", line 5, in
from ciphey.ciphey import main
File "/usr/local/lib/python3.7/site-packages/ciphey/init.py", line 1, in
from . import common
File "/usr/local/lib/python3.7/site-packages/ciphey/common.py", line 5, in
import cipheycore
File "/usr/local/lib/python3.7/site-packages/cipheycore/init.py", line 13, in
from . import _ciphey_core_py
ImportError: dlopen(/usr/local/lib/python3.7/site-packages/cipheycore/_ciphey_core_py.so, 2): Library not loaded<EMAIL_ADDRESS>Referenced from: /usr/local/lib/python3.7/site-packages/cipheycore/_ciphey_core_py.so
Reason: image not found

Hey!
You did not fill out the bug template, so we cannot help you. Please fill it out :)


Unauthorized (401) during websocket handshake when authorizing SignalR client with JWT bearer token

I am not sure if it is a problem with IdentityServer or ASP.Net identity or maybe I am missing something. However, I think I am not doing anything wrong and according to the examples it should work this way. I already posted my problem on stackoverflow.
I have two services: aspnet-core IdentityServer 4, and aspnet-core web API on the server side, Angular4 on the client side. The SignalR hub is hosted by the web API. Without authorization everything works fine. However, I need authorization on the SignalR hub.
When I put the [Authorize] attribute on the hub, I get 401 for the negotiation request with SignalR. I send the access_token in the querystring to the API and on the server side I extract and set the token for the request so the authorization pipeline could use it. The token validation is successful and regardless I get the unauthorized error.
services.AddAuthentication(options =>
{
	options.DefaultScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultForbidScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultSignInScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultSignOutScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
}).AddIdentityServerAuthentication(options =>
	{
		options.Authority = "http://identitysrv";
		options.RequireHttpsMetadata = false;
		options.ApiName = "publicAPI";
		options.JwtBearerEvents.OnMessageReceived = context =>
		{
			if (context.Request.Query.TryGetValue("signalr_token", out StringValues token))
			{
				context.Options.Authority = "http://identitysrv";
				context.Options.Audience = "publicAPI";
				context.Token = token;
				context.Options.Validate();
			}

			return Task.CompletedTask;
		};
	});

On the API side I get the following log messages

[08:59:06:2760 Information]  Starting web host
[09:00:39:6118 Debug] IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler AuthenticationScheme: Bearer was not authenticated.
[09:00:41:2541 Information] Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler Successfully validated the token.
[09:00:41:2639 Information] Microsoft.AspNetCore.Authentication.JwtBearer.JwtBearerHandler AuthenticationScheme: BearerIdentityServerAuthenticationJwt was challenged.
[09:00:41:2641 Information] IdentityServer4.AccessTokenValidation.IdentityServerAuthenticationHandler AuthenticationScheme: Bearer was challenged.

The IdentityServer logs (after the time of the token validation)

[09:00:40:8838 Debug] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler AuthenticationScheme: Identity.Application was not authenticated.
[09:00:40:8840 Debug] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler AuthenticationScheme: Identity.Application was not authenticated.
[09:00:40:8841 Debug] IdentityServer4.Hosting.EndpointRouter Request path /.well-known/openid-configuration matched to endpoint type Discovery
[09:00:40:8849 Debug] IdentityServer4.Hosting.EndpointRouter Endpoint enabled: Discovery, successfully created handler: IdentityServer4.Endpoints.DiscoveryEndpoint
[09:00:40:8850 Information] IdentityServer4.Hosting.IdentityServerMiddleware Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryEndpoint for /.well-known/openid-configuration
[09:00:40:8850 Debug] IdentityServer4.Endpoints.DiscoveryEndpoint Start discovery request
[09:00:41:0561 Debug] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler AuthenticationScheme: Identity.Application was not authenticated.
[09:00:41:0564 Debug] Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationHandler AuthenticationScheme: Identity.Application was not authenticated.
[09:00:41:0565 Debug] IdentityServer4.Hosting.EndpointRouter Request path /.well-known/openid-configuration/jwks matched to endpoint type Discovery
[09:00:41:0574 Debug] IdentityServer4.Hosting.EndpointRouter Endpoint enabled: Discovery, successfully created handler: IdentityServer4.Endpoints.DiscoveryKeyEndpoint
[09:00:41:0575 Information] IdentityServer4.Hosting.IdentityServerMiddleware Invoking IdentityServer endpoint: IdentityServer4.Endpoints.DiscoveryKeyEndpoint for /.well-known/openid-configuration/jwks
[09:00:41:0576 Debug] IdentityServer4.Endpoints.DiscoveryKeyEndpoint Start key discovery request

According to this issue I suspected that the problem was with the authentication schemes so I set every schema for what I think was appropriate. It did not help.

I managed to replace the whole authentication handling mechanism and figured out what was happening.
The IdentityServerAuthenticationHandler is checking if there is a token in HandleAuthenticateAsync. The OnMessageRecieved event however is being called after that. Even though the request header is changed during the process it is not checked again. The final decision whether the request should be forbidden is based on the first check. Could someone tell me why was it designed this way?
So what I did finally is replaced the token retrieval mechanism and incorporated my own "protocol". I needed to know some constants using by IdentityServer which I got from the source code. However, I would be happy to hear about a better solution.
This is my final code and that is working in every tested cases, which does not mean it would work in all circumstances.
The code that replaces the token retrieval mechanism:
services.AddAuthentication(options =>
{
	options.DefaultAuthenticateScheme = JwtBearerDefaults.AuthenticationScheme;
	options.DefaultChallengeScheme = JwtBearerDefaults.AuthenticationScheme;
}).AddIdentityServerAuthentication(JwtBearerDefaults.AuthenticationScheme,
	options =>
	{
		options.Authority = "http://identitysrv";
		options.TokenRetriever = CustomTokenRetriever.FromHeaderAndQueryString;
		options.RequireHttpsMetadata = false;
		options.ApiName = "publicAPI";
	});

And the custom token retrieval implementation
public class CustomTokenRetriever
{
	internal const string TokenItemsKey = "idsrv4:tokenvalidation:token";
	// custom token key change it to the one you use for sending the access_token to the server
	// during websocket handshake
	internal const string SignalRTokenKey = "signalr_token";

	static Func<HttpRequest, string> AuthHeaderTokenRetriever { get; set; }
	static Func<HttpRequest, string> QueryStringTokenRetriever { get; set; }

	static CustomTokenRetriever()
	{
		AuthHeaderTokenRetriever = TokenRetrieval.FromAuthorizationHeader();
		QueryStringTokenRetriever = TokenRetrieval.FromQueryString();
	}

	public static string FromHeaderAndQueryString(HttpRequest request)
	{
		var token = AuthHeaderTokenRetriever(request);

		if (string.IsNullOrEmpty(token))
		{
			token = QueryStringTokenRetriever(request);
		}

		if (string.IsNullOrEmpty(token))
		{
			token = request.HttpContext.Items[TokenItemsKey] as string;
		}

		if (string.IsNullOrEmpty(token) && request.Query.TryGetValue(SignalRTokenKey, out StringValues extract))
		{
			token = extract.ToString();
		}

		return token;
	}
}

I hope that can be help to someone. I am still not sure whether this behavior is expected or it is a bug in IdentityServer or in Asp.NET Core.

IdentityServerAuthenticationOptions has the SupportedTokens default to SupportedTokens.Both,   I believe if it is set to SupportedTokens.Reference only, the JwtBearerEvents.OnMessageReceived won't even fired.
From the IdentityServerAuthenticationHandler.HandleAuthenticateAsync, it needs to use the TokenRetriever to retrieve the token first and check if the token is JWT and if Options.SupportsJwt is true before letting the the JwtBearerHandler to handle it and fire the JwtBearerEvents.
I think using the TokenRetriever is the right way, but let Dominick comments on it.
However, from the spec, it should NOT pass the token in the query string parameter:

Don't pass bearer tokens in page URLs:  Bearer tokens SHOULD NOT be
passed in page URLs (for example as query string parameters).
Instead, bearer tokens SHOULD be passed in HTTP message headers or
message bodies for which confidentiality measures are taken.
Browsers, web servers, and other software may not adequately
secure URLs in the browser history, web server logs, and other
data structures.  If bearer tokens are passed in page URLs,
attackers might be able to steal them from the history data, logs,
or other unsecured locations.

As stated by https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#The_WebSocket_Handshake,

common headers like User-Agent, Referer, Cookie, or authentication headers might be there as well

For my case, the token is passed from the JS client in cookie to the server and the server can see the cookie from the ws http(s) handshake request to do authentication and establish the WS connection.
Why do you close this issue if you want others to reply it?   I am not sure if they will check the closed issue.  I would like to hear their comments too.

Thanks for the info. We use a HttpInterceptor to pass the bearer token during standard API calls, but that interceptor mechanism is not called during the SignalR handshake.
I have not enough experience on the front end side to figure out how to put the actual bearer token into the header. According to your link I understand that might be possible. However what I find everywhere is that for bearer tokens the query string approach is the standard. See https://github.com/gdi2290/angular-websocket/issues/15 for angular-websocket.
Could you please point out some implementation on how to intercept the websocket handshake on the client side (JS or TS)?

Sorry, I have not set the authorization header from the client js before.   I just see the spec saying it MAY contain the Authorization header:

The request MAY include any other header fields, for example,
cookies [RFC6265] and/or authentication-related header fields
such as the |Authorization| header field [RFC2616], which are
processed according to documents that define them.

From the link you shown, it seems it cannot and people suggests using querystring or basic authentication.
For my case, the server put the token in the cookie and the client will send the cookie in the ws request.

All set on this issue -- can we close?

Thank you for the support. I am closing the issue. The custom token retriever approach seems to be a working solution for me - it works in production now.

I have the same issue @LodeKennes

@LodeKennes use app.UseAuthentication(); before the app.UseSignalR() and it works

@danielleiszen let me put my two cents to this. I think most of us store tokens in cookies and during WebSockets handshake they are also sent to the server, so I suggest using token retrieval from cookie.
To do this add this below last if statement:
if (string.IsNullOrEmpty(token) && request.Cookies.TryGetValue(SignalRCookieTokenKey, out string cookieToken))
{
    token = cookieToken;
}

Actually we could delete retrieval from query string at all as according to Microsoft docs this is not truly secure and can be logged somewhere.

I'm recently migrating from .Net core 2.1 to 3.0, and experienced getting 401's during signalr websocket negotiate handshakes.  What fixed this for me was adding options.LegacyAudienceValidation = true; to the AddIdentityServerAuthentication ConfigureServices parts in addition to ensuring that app.UseAuthorization() was between UseRouting and UseEndpoints in the Configure part.
Figured I'd comment here as there may be other folks coming across this while upgrading to .net core 3.0 and 3.1 like me.  If the UseAuthorization() call is not in the correct spot of the pipeline, then the TokenRetriever isn't receiving the auth/bearer token during the websocket handshake.
Startup looks like this after porting to .net core 3.0:
ConfigureServices
services.AddAuthentication(IdentityServerAuthenticationDefaults.AuthenticationScheme)
                .AddIdentityServerAuthentication(options =>
                {
                    options.Authority = jwtBearerSettings.Authority;
                    options.RequireHttpsMetadata = jwtBearerSettings.RequireHttpsMetadata;
                    options.ApiName = jwtBearerSettings.Audience;
                    options.LegacyAudienceValidation = true;
                    options.NameClaimType = "sub";
                    options.TokenRetriever = new Func<HttpRequest, string>(req =>
                    {
                        var fromHeader = TokenRetrieval.FromAuthorizationHeader();
                        var fromQuery = TokenRetrieval.FromQueryString();   //needed for signalr and ws/wss conections to be authed via jwt
                        return fromHeader(req) ?? fromQuery(req);
                    });
                });

Configure:
            app.UseHttpsRedirection();
            app.UseRouting();
            app.UseCors("AllowAny");
            app.UseAuthorization();

            app.UseEndpoints(endpoints =>
            {
                endpoints.MapControllers().RequireCors("AllowAny");
                endpoints.MapHub<EntityCommentHub>("/comment-hub").RequireCors("AllowAny");
            });


Runtime fails when loading dapr grpc on fincm3 from Alpine build

The main cloud block runtime fails when loading the dapr grpc package on fincm3 (armv7). The error is shown below. This error started to occur after merge of #41 to use an Alpine-python-build image to generate files for an Alpine-python-run image. The error does not occur with amd64 or arm64 builds.
I did find a similar issue in the grpc project that was resolved, but it included the discouraging comment:

Building and running in python alpine arm images has always posed issues with grpcio.

Traceback (most recent call last):
12.05.21 08:08:03 (-0400)  cloud    File "./src/main.py", line 6, in <module>
12.05.21 08:08:03 (-0400)  cloud      from dapr.ext.grpc import App, BindingRequest
12.05.21 08:08:03 (-0400)  cloud    File "/root/.local/lib/python3.8/site-packages/dapr/ext/grpc/__init__.py", line 8, in <module>
12.05.21 08:08:03 (-0400)  cloud      from dapr.clients.grpc._request import InvokeMethodRequest, BindingRequest
12.05.21 08:08:03 (-0400)  cloud    File "/root/.local/lib/python3.8/site-packages/dapr/clients/__init__.py", line 12, in <module>
12.05.21 08:08:03 (-0400)  cloud      from dapr.clients.grpc.client import DaprGrpcClient, MetadataTuple, InvokeMethodResponse
12.05.21 08:08:03 (-0400)  cloud    File "/root/.local/lib/python3.8/site-packages/dapr/clients/grpc/client.py", line 11, in <module>
12.05.21 08:08:03 (-0400)  cloud      import grpc  # type: ignore
12.05.21 08:08:03 (-0400)  cloud    File "/root/.local/lib/python3.8/site-packages/grpc/__init__.py", line 23, in <module>
12.05.21 08:08:03 (-0400)  cloud      from grpc._cython import cygrpc as _cygrpc
12.05.21 08:08:03 (-0400)  cloud  ImportError: Error loading shared library ld-linux-armhf.so.3: No such file or directory (needed by /root/.local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so)

I tried adding the libc6-compat package when running install_packages in the Dockerfile because that package contains ld-linux-armhf.so.3. The error then changes to:
[Logs]    [5/12/2021, 9:56:11 AM] [cloud] ImportError: Error relocating /root/.local/lib/python3.8/site-packages/grpc/_cython/cygrpc.cpython-38-arm-linux-gnueabihf.so: __xstat: symbol not found

Confirmed the issue still occurs as of 2021-06-03.

Try using @rahul-thakoor's approach in Dashboard, as seen in Dockerfile. Copy in required Debian Python packages to a Busybox base image to avoid use of Alpine.


usage of ca.crt thumbprint

With elasticsearch there is an option to specifiy the thumbprint in the configuration of the used *beat.
In the beat yaml format that would be formatted entry like below, in this case I am also using an api_key for authentication but user/password is also an option.
Below is a slightly modified example from my running metricbeat
output.elasticsearch:
hosts: ["myhostname:9200"]
protocol: "https"
api_key: "myverysupersecretapikey"
#username: "elastic"
#password: "Changeme"
ssl:
enabled: true
verification_mode: "none"
ca_trusted_fingerprint: "lowercasenospecialcharformat"
Right now I can't add this to the configuration, when I try to add in the the yaml configuration in the addon
I would expect the format to be es_ca_trusted_fingerprint but that is not accepted.
After creating this entry the save button is greyed out.
As the used ca certificate for my elasticsearch stack is not known to my hassio setup right now it fails to connect.

Hey John,
true, i haven't yet had the chance to implement ssl.ca_trusted_fingerprint into addon unfortunately. I've also found a bug when using es_ssl_verification_mode: none option in addon settings, it would fail on validation, i still have to fix that though i lack time.
I will fix it tomorrow probably and you should be able to use es_ssl_verification_mode: none in addon settings for the time being, until i implement "ssl.ca_trusted_fingerprint" method.
Sorry for this.

Hi Marko,
No problem, I can wait, it is not like production is failing.
Maybe, while you are modifying the code it is an option to also include the api_key feature as an alternative for the user/pass option?


[IRGen] Use a more precise computation for the kind of reference count.

TypeBase::usesNativeReferenceCounting() was doing a lot of work to
find the class that a type refers to, then determine whether it
would use the native reference-counting scheme. Its primary caller
in IRGen would use an overly-conservative approximation to decide
between the “Objective-C” and “unknown” cases, which resulted in
uses of “unknown” reference counting for some obviously-ObjC cases
(e.g., values of “NSObject”).
Moreover, the approximation would try to call into the type checker
(because it relied unnecessarily on the superclass type of a class
declaration), causing an assertion.
Fixes rdar://problem/42828798.

@swift-ci please test and merge

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test

Build failed
Swift Test OS X Platform
Git Sha - e0e0d98b9b27d9df358895c999bae7a46613635f

Build failed
Swift Test Linux Platform
Git Sha - e0e0d98b9b27d9df358895c999bae7a46613635f

@swift-ci please smoke test

@swift-ci please smoke test

Thanks for fixing my "NSObject is unknown refcounted" snafu!


Add customer specific migration path

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

Fixes #
Special notes for your reviewer:

Steps to reproduce

Does this PR introduce a user-facing change?

Does this PR require documentation?

@laverya sorry hadn't had a chance to get back this to this one yet. Thanks for the updates. Anything else you need from me on this one?

Putting this one in draft for now as we finalize what the customer's exact migration path will be.

I'm going to give this one another test, my openebs update last Friday might have made it work

Well, that and "the Longhorn to OpenEBS migration used to exit early if k8s was being upgraded past 1.23.x too" 😄


Constructor dependency injection

First of all, great work! I'm exploring other options for Maui development than basic xaml mvvm and this got my attention (currently debating between mauireactor and mobile blazor bindings).
I saw in the docs that for getting services one should use a service locator pattern. What about constructor DI? Is there any reason to not support it? Maybe I'm missing something which prevents this to work.
Thanks for your great work!

Thanks for your interest,
When I implemented the DI, I found it easier to inject the IServiceProvider inside the component and have the developer call Services.GetRequiredService() where needed (https://adospace.gitbook.io/mauireactor/deep-dives/dependency-injection).
Using the constructor DI in MauiReactor would have required the developer to get the component from the DI container instead of just initiating it, resulting in less readable code.
For example instead of this code:
new HStack
{
    new Component()
}

this:
new HStack
{
    CreateComponent<MyComponent>() //-> where Component base class have the method something like CreateComponent<T>()=>ServiceProvider.GetService<T>();
}

not considering the part where you have to register your types with the DI container (in MVVM pattern makes more sense because usually, you have one view to one view-model while in MVU you generally have a page built of several components).
There also could be some more things to adjust when hot-reloading the component, anyway, overall, the main reason is to keep the UI render code as clean as possible.

Clear enough, absolutely makes sense. I'm usually against service locator but is true that here is more than justified. I was thinking in an alternative of using fluxor and execute the logic in effects (getting closer to react native + redux).
I'll close this issue as it's all good for now! Thanks!


noising at time step t

Hello, I am very interested in your work and have been running some experiments. I am very surprised by the performance of tabsyn and have a few questions.

If I understand correctly, you add noise by time step T to the latent vector of the vae, then apply MLP Diffusion again by T to get back to the original vae latent vector. But in your code, it seems like you only apply it once to calculate the loss function, am I correct?

If number. 1 is correct, then to get the noise at time step T, do I need to apply the "Precond" module to the latent vector T times?

Thank you!

Thanks for you interest!
Q1: In the forward process, we not need to add the noise for T times, since the sum of T gaussian noises can be accumulated to a single noise of a higher variance. To be detailed, we only have to sample a gaussian noise from $N(0,I)$, and scale it by the noise level $\sigma(t)$. Also, the MLP denoiser is not applied by T to recover the initial value $z_0$, MLP takes the T-step value $z_T$ and the timestep $T$ (or the corresponding noise level $\sigma_T$) as input and directly output the estimated $z_0$.
Q2: Therefore, you only have to apply the Precond module once.

Thank you so much for your kind reply!
I apologize for asking the question while still not understanding the diffusion model.
I think my understanding of your paper would be improved if I had a complete understanding of the diffusion model.
Thank you very much!

If you are not familiar with Diffusion models, I recommend reading the Diffusion Model Basics in Appendix B and the algorithms in  Appendix A. They will help you better understand diffusion models combined with the codes.


Question on use case

I feel a bit sheepish asking because I haven't tried using Refile yet. I plan to try it tonight, and herein lies my question: I have three days to complete a prototype of a file upload feature that has several requirements, chief of which:

Multiple, direct uploads to S3. :+1:
Access to files on S3. :+1: :question:  (A caveat: I need a CDN, and I can't access files directly from S3. As I understand Refile streams files directly to the app).
Files must be downloaded with original names. :+1:
File versioning. :question: When a new upload is made, newly uploaded files must be looked up in the db by name. If they are found, they must be updated with the new files, and the old data must made into a file version, accessible if needed.

I haven't thought out the versioning feature too much, or if there is a better way to handle it. I can hazard a guess: When new uploads are made, lookup existing files by name, and transform existing files into versions, then let Refile finish it's upload.
I'm hoping someone can clue me in on if Refile is an ideal candidate, or if I have things terribly muddled up? I do hope so because it looks brilliant.

I cannot evaluate for you whether Refile is the right tool for the job, that choice is up to you ;)
If you need multiple uploads you are going to have to run off the master branch. If you need versioning, you're going to have to implement it yourself, Refile has nothing to assist you in this.

@jnicklas thank you. I may have made my question long winded, and phrased it incorrectly. I would like to know if there is anything in my requirements that would prohibit me from using Refile (not being able to, say look up existing files, for example) or would be technically difficult or challenging to do in Refile. But that does not appear to be the case.
And a thank you for your work on Refile. Last year I did a project where I had to use jQuery FileUploads and bake my own direct S3 uploads. It was a nightmare.

 Let me know how Refile works out for you.


⚠ Spryr has degraded performance

In 76f2ab6, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5118 ms

Resolved: Spryr performance has improved in 572bde1 after 25 minutes.


How does async-broadcast differ from async-channel?

Hi 👋,
Whats the difference between async-broadcast and async-channel? Sorry if this is obvious, it just isn't immediately apparent to me

Hi,

Whats the difference between async-broadcast and async-channel?

The former sends every receiver a copy (clone actually) of the message and hence requires Clone implementation from the message type, while the latter only delivers the sent message to one of the receivers and hence doesn't require Clone.

Sorry if this is obvious, it just isn't immediately apparent to me

Don't blame you. I myself was first confused before async-broadcast. I actually thought I compared them in the docs+README but seems I didn't in the end. I'll keep this open till I fix that.


Peer disappears from peerswap-listpeers randomly

On a CLN v23.05 node, a v23.02 peer (Blockstream Store node) running Peerswap seems to randomly disappear from peerswap-listpeers.
Force disconnecting the node and letting CLN reconnect temporarily fixes it, but over time the node will disappear again. The v23.05 node has a channel to another v23.02 peer with Peerswap where this does not happen, which is strange. I'm going to try dig through logs to see if I can spot anything obvious. Will also try and replicate on signet.

Adding this as a release blocker.
We've considered to see Blockstream Store running v23.02 disappear from peerswap-listpeers from multiple CLN v23.05 nodes. We're doing some testing before upgrading that node to v23.05. If that turns out to be the fix then we need to declare a higher minimum CLN version for PeerSwap.

Does the node also disappear from clns listpeers?

Ok, maybe I found the problem, lets try to verify: I am seeing the following log messages:
2023-07-14T13:48:11.174Z INFO    {redacted pubkey}-chan#***: Peer transient failure in CHANNELD_NORMAL: Disconnected
2023-07-14T13:48:12.047Z INFO    {redacted pubkey}-chan#***: Peer transient failure in CHANNELD_NORMAL: channeld WARNING: update_fee 253 outside range 702-39788 (currently 3245)

The node behaves according to the specification
  - if the `update_fee` is too low for timely processing, OR is unreasonably large:
    - MUST send a `warning` and close the connection, or send an
      `error` and fail the channel.

It seems that the node disconnects due to a too low update_fee. Can you find evidence on your end that this is the case for the disconnect?

Just talked with @wtogami, this does not seem to be the cause of the issue so this needs further investigation.

Possible: I think I began seeing this after #189 was merged.
Definite: Two CLN v23.05.x nodes see Blockstream Store v23.02.x disappear from peerswap-listpeers but not listpeers after a few hours. lightning-cli disconnect <PEERID> force followed by lightning-cli connect <PEERID> fixes it for a while but it disappears again.

I was hoping it was somehow CLN. Blockstream Store is now upgraded to matching CLN v23.05.2. Unfortunately it still exhibits this problem.
This a release blocker since it breaks swaps with the largest PeerSwap demo node.
I think this began after #189 so that would be the first place I'd look.

More Diagnostics

Force disconnect and reconnect of that peer previously fixed it. It doesn't fix it anymore. Curious.
Restarting peerswap plugin on the other side fails to see "Received poll" from Blockstream Store while all the other peers work fine. This suggests the plugin stopped on Blockstream Store.

I had an interesting conversation about this issue and it could be the case that we overload cln the way we trigger the poll messages. Right now, we send out the poll messages in parallel every other hour. As the BS node has quite a few peers this might overflow or be rejected.
In the past we might have misunderstood errors on SendCustomMsg as disconnected peers and the BS node was logging this so noisy that we silenced the logs in #189
A possible solution to fix this problem would be to spread out the load of the polling system in a way that we do not send out all messages at once but in a sequential manner with a timeout between the calls. Possible data structures to accomplish this could be a priority queue or a min heap, both ordered by timestamp.
Additionally we need to look out for log messages beginning with poll_service: could not send msg to ... on the store node. These are on log level debug.

I doubt that this is related, but this issue and #186 are my highest priorities.

No Blockstream Store restarts entire docker containers in order to do upgrades so it doesn't have the opportunity for old processes to survive.

The below might have been hitting the bug fixed by #206 which is different from the original bug here. We need to wait 4+ hours to see if this happens again.

Confirmed it still happens where other nodes can't see Blockstream Store after a few hours. Blockstream Store is running CLN v23.05.2 with PeerSwap 725ca2cb1f8ae7c936fc3da28e0e2788852c0a2e

I am wondering, is there any benefit in persisting peerswap-peers in the database? Wouldn't it be sufficient to just store them in memory?

I am wondering, is there any benefit in persisting peerswap-peers in the database? Wouldn't it be sufficient to just store them in memory?

Memory only is fine but that wouldn't fix our current problem right?


Refactoring UserOption model

Fixes #31
Done:

Refactoring of score calculation code

To Do:

Write tests for score calculation functions
More general refactoring

[Current coverage][cc-pull] is 7.79%

Merging [#48][cc-pull] into [master][cc-base-branch] will increase coverage by 3.52%

@@            master       #48   diff @@
========================================
  Files           15        15
  Lines          749       744     -5
  Methods         91        93     +2
  Messages         0         0
  Branches         0         0
========================================
+ Hits            32        58    +26
+ Misses         717       686    -31
  Partials         0         0

Powered by Codecov. Last updated by [73b9abc...60ad889][cc-compare]
[cc-base-branch]: https://codecov.io/gh/CorWatts/fasterscale/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/CorWatts/fasterscale/compare/73b9abcbf1f931a2cc35e5bbcbb7e298f0d3efd4...60ad8898a9899ccdc107369ad87572773a037177
[cc-pull]: https://codecov.io/gh/CorWatts/fasterscale/pull/48?src=pr


Missing logo in footer section of two pages

The logo is missing in the footer section of two pages ,i.e, Registration and Learning.

Do assign it to me, i would like to work on it.

Sorry, this issue is already assigned to someone.


Support for Django>=2.0

File "/usr/local/lib/python3.7/site-packages/review/models.py", line 22, in
class Review(models.Model):
File "/usr/local/lib/python3.7/site-packages/review/models.py", line 42, in Review
content_type = models.ForeignKey(ContentType)
TypeError: init() missing 1 required positional argument: 'on_delete'

Duplicate of #51


JSDOM window optimization + fixed README errors

JSDOM window is now created when the object is instantiated on new ChartJs(200, 200)

Nice work, thanks @y3nd


Update Redux example for v4 beta

Version
4.0.0-beta.3
I would like to see an approach for integrating with redux now that the onChange is no longer in the BrowserRouter. Thanks.

I managed to get the action dispatched with the following HoC;
import React, { PropTypes } from 'react'
import { Route } from 'react-router-dom'

const ReduxRoute = ({ component, render, locationChange, ...rest }) => {
  return <Route {...rest} render={props => locationChange(props.location) && (render ? render(props) : React.createElement(component, props))} />
}

ReduxRoute.propTypes = {
  ...Route.propTypes,
  locationChange: PropTypes.func.isRequired
}

export default ReduxRoute

And then use it in my application like this;
import React, { Component, PropTypes } from 'react'
import { BrowserRouter as Router } from 'react-router-dom'
import ReduxRoute from './ReduxRoute'

class Application extends Component {
  render () {
    return (
      <Router>
        <div>
          <Redux path="/hours" component={HoursOverview} locationChange={(location) => this.props.dispatch({ type: 'LOCATION_CHANGE', location })} />
        </div>
      </Router>
    )
  }
}

export default Application

Hopefully this will help anybody while waiting for the "official" solution 😄

I'd been using react-router-addons-controlled/ControlledBrowserRouter with the alpha without any problems (even though it's 0.0.1), but got history.listen undefined errors when I tried out the beta version.  Haven't been able to figure out what the exact issue is yet myself, but hopefully there will be another pass soon now that v4's api has firmed up.

Ah thanks! That will be helpful.

Hey,
For somebody else looking a simple react-router with redux, I'm using this:
https://gist.github.com/gilbarbara/ee0bdd22851bd897b864b0c57b4cb070


reland Refactors global key duplication detection

Description
Previous pr was reverted due to bad merge. This pr fixes the conflict and reland the previous commit
Related Issues
https://github.com/flutter/flutter/issues/43780

any new on this? Is it fixed?


qt.network.ssl error?

qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
Above info is created by launch 'python3 -m splash.server'
but Splash not crashed, it can continues work.

+1
2.3.3 can work
3.0/latest always *.js 404 153

+1
Have the same issue
Use Docker with Splash 3.0, Linux Mint 18.1

+1
use with docker, latest splash


Model saving and loading

This pr implemented a generic serializer for all provided classes wrt to #165

@dcrescim started the implementation for the save and load model. the generic class can be extended by all object which requires serialization.
I will apply it to some of the models and tests.
what do you think about the class name Serialize?

@steveoni I think the name Serialize works great! Looking forward to this. This is gonna be huge man 😄

@dcrescim this pr is ready for review.

@steveoni Awesome work! This is great dude. This is definitely an accept from me :)
Question: Do we need to add "optimizerType", and "lossType" to the declaration of the SGD models? I'm wondering if now it's possible to get those out of sync with the "modelCompileArgs" that is used to define "LassoRegression", "ElasticNet", etc. I'm ok with this solution, I'm just hoping that there maybe something more clever we can do, to avoid duplicating that info.

@dcrescim i also thought of thesame thing better way not to duplicate it, but is hard to generate the loss and optimizer type from the function, they are anonymous function.

Totally agree @steveoni. Let's merge this for now, and if we think of a better way, then we can explore that.


Adding tidyselect i.e. select using a mix of string colnames and predefined predicates

Methods affected by this change are

select
relocate
mutate
summarise
pivot_wider (names_from, values_from, id_cols)
pivot_longer(cols)
drop_na
unite
nest

Ref: (https://tidyselect.r-lib.org/reference/faq-selection-context.html)


Error Unzip a file zipped with "shouldKeeyParent = false"

Summary
I'm zipping with shouldKeepParent: false into a existing folder
Unzipping this file results in a error and aborts unzipping.
zipping without shouldKeepParent works obviously as the directory is newly created by ZIPFoundation.
Steps to Reproduce
Zip with
try fm.zipItem(at: iCloudFilesURL, to: iCloudZipFile, shouldKeepParent: false)

unzip with
do {
    try fm.unzipItem(at: iCloudZipFile, to: iCloudExtractURL)
} catch {
    print(error)
}

Expected Results
adding all files in zip
Actual Results
aborts after trying add .DS_Store
Error Domain=NSCocoaErrorDomain Code=516 "The file “.DS_Store” couldn’t be saved in the folder “Extract” because a file with the same name already exists." UserInfo={NSFilePath=/Users/JeanNicolas/Library/Mobile Documents/com~apple~CloudDocs/Programmierung/Swift/Test/Zipping/Extract/.DS_Store}

Regression & Version
Related Link

Duplicate of https://github.com/weichsel/ZIPFoundation/issues/54


Search can race, showing results for a previous query

As user entered h and then i.
After entering h app releases a fetch request with search param as h. Before it's response is received another request is fired with search param as hi. Unfortunately this second request response arrived first, messages in the state are updated and shown to the user. Now result of first request arrives, which as no messages. Thus again state is updated with [] as new messages and no result text is shown. Which also resulted in sudden splash of message list.
(Debugging logs are shown in above image)
@zulipbot claim

@zbenjamin reported this issue today, thus:

I saw some very strange behavior while searching this morning. At first, messages with my search term in their topic weren’t included in my search results.
Later, when I tried to reproduce the issue, I somehow got it to search for query that didn’t match what was in the search box. Reselecting the search box and hitting “search” didn’t change the result. However, I think that the results I was shown were for a just-corrected typo. That is, I tried to search for “party,” accidentally typed “path,” quickly corrected it to “party,” and was shown results for “path.” I sadly can’t reproduce it right now, but this all points to a timing bug

In a bit of playing around just now, I was also able to reproduce a couple of times.


Upload image from computer ??

where i can find Upload tags in image

Please add a brief description/example of what you are trying to ask. Your question is not clear.

where is button upload image from computer ???

Please read the CKEditor documentation. This library is just a wrapper of CKEditor in React. If you want to upload image, add an image uploader plugin to your CKEditor build and use that custom build in your project (refer documentation in README).
Closing this issue since its totally unrelated to the library.


chore: update templates based on changes in upstream

We don't need duplicated manifest.yaml in each template anymore. Now
they just live in the language/runtime directory. The eslint and prettier
configs are duplicates so can be removed.
There is also a stray manifest.yaml in templates/typescript/cloudevents
that does not affect the upstream, but does have the effect of overriding
our ubi-based manifest.yaml and it is removed for now.
Signed-off-by: Lance Ball<EMAIL_ADDRESS>

/approve
/lgtm


Tooltip is getting truncated for tooltip-left component

Steps to reproduce the behavior:

Go to 'https://storybook-preview-dev--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tooltip--left'
The view should be portrait mode
Enter position as 'left' in Control
Click on 'Tooltip Trigger' button
Note the tooltip is getting truncated

Expected behavior
Tool tip should not get truncated
Screenshots
https://somup.com/c0VThtxZxG
OS / Br
ipad/Safari 15 / 9th generation
Note:
The 'position' control option should be a dropdown with options, left , right above and below

Everything is working as expected. If there was enough room on the right side to show the tooltip, then "popper.js" would automatically move it over there. But because there isn't enough room on either side, it just forces it to show on the left. This is actually an example of when a designer and developer should adjust the width of the tooltip to make sure it doesn't get cut off.


Limit on no. of keys stored in ttlcache?

is there a limit on no. of keys that can be stored using ttlcache library?
In our service we recently faced increase in response time when ttlcache was being used.

@swithek

There's no limit unless you use WithCapacity() or WithTTL() when creating an item/cache. Either OnEviction() or Metrics() might be useful when debugging this further.

also our cache hit ratio was running at 99.6%. but tail latencies while getting items from cache spiked when the no. of elements being stored increases.

The OnEviction() method should give you a clearer picture of how often the items are deleted. The deleted item is provided as a parameter, so you can inspect the expiration timestamp as well. If there are any abnormalities, you should be able to see them there.

I don't think items were being deleted. else our cache hit ratio would not have been so high

Even with non-zero capacity, only the oldest items are deleted, which means the new items are always inserted: https://github.com/jellydator/ttlcache/blob/master/cache.go#L152

Even with non-zero capacity, only the oldest items are deleted, which means the new items are always inserted: https://github.com/jellydator/ttlcache/blob/master/cache.go#L152

but we are not using WithCapacity(). so can't we store as many elements as we want?

Closing due to inactivity.


Added Betterscan.io, remove old Scanmycode.io name

Added Betterscan.io, remove old Scanmycode.io name (Scanmycode was old name, also with less features at that time)

Thanks!


The Collector Service Reboot Frequency

In GitLab by @liyanq528 on Aug 26, 2017, 08:39

In GitLab by @yhua123 on Nov 8, 2019, 07:35
not reproduce in 8.26 code, keep monitorning

In GitLab by @yhua123 on Nov 8, 2019, 07:35
can't reproduce, close

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

In GitLab by @sokril on Nov 8, 2019, 08:08
assigned to @luotian-github


Fixed Surface plot without cmap

Surface now errors when you try to add a colorbar with having a cmap.

Push build is passing, merging.


Error in lsm 64 bit tools

The tool is properly working on my system. Please read carefully the instructions on the first page of the github web page, and if you are an ArcPro user, please use the 64-bit option that is published on the github web page. Best regards...


Focus error inside modal

I often use forms with validation inside a bootstrap modal and found a problem with the focus option - it will focus on the input but scroll the page in the background behind the modal.
I was thinking perhaps there could be an alternative value for the focus option which will just focus without scrolling. Or maybe it could just always focus on the input and only scroll if the option is set.

Same problem

Try this
JS
 $('#your-modal').on('show.bs.modal', function (event) {
        $('body').addClass('disable-scroll');
        //Some actions
    });
    $('#your-modal').on('hide.bs.modal', function (event) {
        $('body').removeClass('disable-scroll');
    });
 });

CSS
body.modal-open { 	overflow: hidden; 	position:fixed; 	width: 100%; } .modal { 	overflow-y:auto !important; } .disable-scroll::-webkit-scrollbar { 	display: none; }

You should just be able to set data-focus="false" on the form to prevent this from happening.


fixed : fixed get_token and get_user_id_from_username method

I think fixing those methods was necessary

Other get methods return its own data type
But those two methods return bool which makes usage confusing

This reason I suggest fixing those methods or fix usage document

I agree with you.
I thought it would be more readable to have them as member variables rather than passing the token and user_id in the post upload method.


Add fflush to FileWriter

Editor based on bgfx need to create shaderc/texturec process to build shader/texture resource. Call fflush before fclose can help to catch the time point when the process finish writing contents to binary file.
Not sure if others really need it. I am just collecting codes which maybe are useful in my daily use of bgfx.

Just implement your own reader/writer that would call flush before close. No need for another interface.

Just implement your own reader/writer that would call flush before close. No need for another interface.

OK. Can you have a look at test failure? I can clean up flush codes.


skip_deserialize for unknown types when using Swagger codegen

Hi,
I am have been trying to add skip_serializing_if to swagger's template mustache files, so that keys for None type values are left out of serialised objects. However the following Mustache template yields invalid rust code:
#[serde(rename = "{{baseName}}", skip_serializing_if="{{{datatype}}}::is_none")]

For basic datatypes this creates valid rust code:
 #[serde(rename = "value", skip_serializing_if="f64::is_none")]
 value: f64,

But does not work for other nested types e.g Vec<String> which results in the following
#[serde(rename = "photoUrls", skip_serializing_if="Vec<String>::is_none")]
photo_urls: Vec<String>,

Compiler error:
#[serde(rename = "photoUrls", skip_serializing_if="Vec<String>::is_none")]
                                                    ^^^^^^^^^^^^^^^^^^^^^^
error: failed to parse path: "Vec<::models::Tag>::is_none"

Another nested struct error example:
error: failed to parse path: "Vec<::models::Tag>::is_none"
  --> src/models/pet.rs:26:48
#[serde(rename = "tags", skip_serializing_if="Vec<::models::Tag>::is_none")]
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Is this something to fix in Swagger? Or is it a serde fix or a rust-lang thing?

Vec<T>::f is not valid Rust syntax so this is a bug on your end. You could try writing Vec::<T>::f or <Vec<T>>::f which are equivalent and both Rust syntax.

Thanks, I will investigate on the swagger side further, as it is now, swagger does not provide a datatype in a suitable format.
My reason for creating this was to find out if skip_serialised_if parsed in a way that could be changed within serde, or if it’s more fundamental flaw in swagger

Closing this as I have resolved the issue in Swagger.


Add put method

Awesome work!
@rodriigovieira Could you merge, test and publish this to NPM as 1.2.0?

@rodriigovieira We will need to add this to the documentation


Error with chanjo link

Hi
I am having an error while trying to run chanjo link with a Sambamba generated coverage file. Here is the output:
chanjo link exons.covergae.bed                                                                                [ruby-2.0.0p648]
[2016-06-08 11:00:03,146] INFO    : chanjo.cli.root          : version 3.4.1
Traceback (most recent call last):
  File "/usr/local/bin/chanjo", line 11, in <module>
    sys.exit(root_command())
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/site-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
    return f(get_current_context(), *args, **kwargs)
  File "/usr/local/lib/python2.7/site-packages/chanjo/cli/link.py", line 38, in link
    link_elements(chanjo_db, bed_stream)
  File "/usr/local/lib/python2.7/site-packages/chanjo/cli/link.py", line 48, in link_elements
    for index, stat in enumerate(stats):
  File "/usr/local/lib/python2.7/site-packages/chanjo/load/link.py", line 9, in <genexpr>
    exons = (row(session, data) for data in row_data)
  File "/usr/local/lib/python2.7/site-packages/chanjo/parse/bed/parse.py", line 20, in chanjo
    yield expand_row(row)
  File "/usr/local/lib/python2.7/site-packages/chanjo/parse/bed/parse.py", line 49, in expand_row
    raise BedFormattingError('invalid BED syntax, score column is int')
chanjo.exc.BedFormattingError: invalid BED syntax, score column is int```

Any help appreciated.

Hi!
have you checked if the file is TAB or space separated? I find this is many times the issue. Sambamba will handle both okey but chanjo is stricter and requires TAB separated columns.
If you can provide a sample of the coverage file I will look into it further!


Swagger changes

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

@wdehrich  your PR contain errors. please review failed jobs

Can one of the admins verify this patch?

So it looks like even though the status is not being reported on Github the job is actually running here
If the build succeeds we can probably do a one time force merge

@wdehrich There are still some model validation errors here
We cannot merge until they are addressed

looks like it works https://travis-ci.org/Azure/azure-rest-api-specs/builds/426979352

@dsgouda  please merge

Automation for azure-sdk-for-ruby

Automation for azure-sdk-for-node

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java


Negative cache confusion

Thanks for your brilliant work!
But I wonder

If we want to remove the uncertain class in a medium entropy scenario, we should "subtract" the negative label. However, in your paper, you use two negative signs, which would "add" the confusing class to the final probabilistic distribution. Is there a mistake here, or am I misunderstanding the purpose of the negative cache?

If we choose negative pseudo labels with probabilities higher than 𝑝𝑙 , wouldn't that also include the correct class label? Since our goal is to reduce the probabilities of incorrect classes, not the correct one, why do you choose negative pseudo labels with higher probabilities instead of excluding the highest probability (correct) class first?

Thank you!

Hello,
Thank you for your interest in our work and apologize for the delayed response; I was on vacation. Here are the answers to your questions:

Thank you for pointing out the confusion regarding double negatives. In our paper, the use of multiple negative signs may appear redundant because we also account for the negative alpha parameter in the adaptation function. However, in our implementation, we apply the negative term only once, specifically at the final stage when we process the output from the negative cache. This ensures that the negative term is handled correctly in the negative cache design. We appreciate your pointing this out as it highlights an area of potential confusion in our method's description.

Regarding your second question, we initially experimented with an idea to exclude the highest probability class (often the correct class) from the negative cache's influence by introducing an upper threshold hyperparameter. This approach only yielded a marginal improvement of 0.1% on the ImageNet dataset. Consequently, we decided against adopting this method as it introduced extra complexity with minimal performance gain.

Thank you for these insightful questions, and hope this helps clarify your queries!
Best,
Adilbek


Add NFT-Backed Carbon Credits for Verified Climate Contributions

This pull request introduces an innovative system for addressing climate change by integrating blockchain technology and carbon credits. The implementation includes:
Minting Carbon Credit NFTs: Users can mint NFTs that represent verified carbon offsets, backed by trusted environmental organizations.
Trading and Retirement: NFTs can be transferred or permanently retired, preventing further trading and ensuring the carbon credit's impact is locked.
Data Validation: A robust mechanism to verify the carbon credit data linked to each NFT, ensuring transparency and trust.
Integration with Stacks Blockchain: Leverages the Stacks ecosystem for secure, decentralized operations.

These PRs can't be accepted because the repo doesn't have contribution guidelines. I don't have the resources to maintain additional contracts.
Errors as strings are not recommended.


fix stylesheet validation check

Fixes #25

merge please

Can this one be merged?

@oblador would you mind merging this?