text:
DocsArchive-15.0.0.0Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_6dd78904-c760-431f-b78e-e7c653dd6841/pull/1 is merged into live branch.
Auto archive content to https://github.com/huangmin-ms/docs-archive-test-target_6dd78904-c760-431f-b78e-e7c653dd6841.git

Docs Build status updates of commit abe38e2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/huangmin-ms/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit abe38e2:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-UserAccountBuildPermissionInsufficientError] Owner v-alji no longer has Read permission of the repository https://github.com/huangmin-ms/docs-archive-test-source. It might be due to recent GitHub changes on SSO. Please ask the owner v-alji to logon to Docs Portal https://ops.microsoft.com once again. If it is not the case, please ask anyone of Admin permission of the repo to assign a new owner via Docs Portal https://ops.microsoft.com

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

authors: huangmin-ms v-alji


text:
DocsArchive-15.0.0.0Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/915 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit e5d943b:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-06-15-09-01-02 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

source: gharchive/pull-request

license_type: permissive

license_source: github-api


text:
Add support for Crusher

With this PR I can pass the test suite on Crusher. The changes made are:

MapFactory package has been removed
Interface package has been removed (not sure what it means for our link with ForTrilinos)
Fix all the instances where we assumed that Unified Memory was enable

Why did you remove MapFactory and Interface?

Because there are not used and the tests assume we use CUDA

Are we sure that these are not used by any external users (e.g., ExaAM)?

I thought ExaAm stopped using DTK when they stopped using Truchas

I thought ExaAm stopped using DTK when they stopped using Truchas

Per John Coleman:
I have integrated DTK into a branch of ExaCA, but it is not in the standard release yet. We were using it to interpolate thermal data from a finite volume heat transfer model to a cellular-automata grain structure model for solidification in additive manufacturing

That's a C++ code using Kokkos. It's probably cleaner if they don't use the C interface.

I'm not sure how it does that, I have not seen the dtk branch.

John is OK with us removing Interface

John is OK with us removing Interface

And MapFactory?

Yes  MapFactory too.

authors: Rombur aprokop masterleinad

repo: ORNL-CEES/DataTransferKit

license_source: bigquery


text:
Make password more secure while signing up

Current Behavior
It accepts any password we give

Desired Behavior
For password to be strong there have to be checks while clicking on sign up button

Screenshots / Mockups

Kindly assign me this under gssoc23

I would like to contribute to this issue. Please assign me this task under GSSOC'23.

source: gharchive/issue

authors: MisterMickey divyapaneru

repo: OSCode-Community/OSCodeCommunitySite

license: MIT


text:
Update governance.md

Included that I fulfil the LF Energy TAC member role as ad intrem

Can one of the admins verify this patch?

repo: OSGP/Documentation


text:
Added extended Tofts model functionality

Added the extended Tofts model with example

Hi Lucy, Can you create a new PR to merge your changes to the 'dev' branch please? We shouldn't be directly merging with the 'main'. I am closing this PR.

Nooooooo! I was so careful to merge with dev not main. How have I done this?! Will investigate
On 16 Feb 2024 at 02:15 +0000, stadmill @.***>, wrote:

Closed #3.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

authors: LucyKershaw stadmill

repo: OSIPI/pypi


text:
Merge Usecases into master

@sgoggins I incorporated the level of detail you provided in GeorgLink/ResearchProject#1
Feel free to accept the use cases into the master branch or provide further feedback for refining them.
The use cases can be viewed here: https://github.com/OSSHealth/ResearchProject/tree/usecases/UseCases

I'll mostly leave @sgoggins to comment on these as he has the most timely need for them right now.

This is great! Thank  you Georg!  I think these use cases help us make it clear to developers what our aims are and how to contribute.

authors: GeorgLink germonprez sgoggins

repo: OSSHealth/ResearchProject


text:
Can compile plugin, but it fails to load

Cloned OSVR-Core repository.

Installed CMake 3.9.0-rc3.

Downloaded OSVR-Core-Snapshot-v0.6-2080-g8a0429a4-build282-vs12-64bit and run add_sdk_to_registry.cmd

Installed OSVR-Runtime-v0.6-2080-g8a0429a4-build377-win-64bit

Downloaded  boost_1_64_0-msvc-14.1-64 and installed

Went to OSVR-Core/examples/plugin/selfcontained

D:\develop\OSVR-Core\examples\plugin\selfcontained>mkdir build
D:\develop\OSVR-Core\examples\plugin\selfcontained>cd build
D:\develop\OSVR-Core\examples\plugin\selfcontained\build>cmake -G "Visual Studio 14 2015 Win64" ..
-- The C compiler identification is MSVC 19.0.24215.1
-- The CXX compiler identification is MSVC 19.0.24215.1
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info
- done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: D:/develop/OSVR-Core/examples/plugin/selfcontained/build`

Opened .sln in build with Visual Studio 2015 and builded it.

1>------ Build started: Project: ZERO_CHECK, Configuration: Release x64 ------
1>  Checking Build System
1>  CMake does not need to re-run because D:/develop/OSVR-Core/examples/plugin/selfcontained/build/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: com_osvr_example_selfcontained, Configuration: Release x64 ------
2>  Building Custom Rule D:/develop/OSVR-Core/examples/plugin/selfcontained/CMakeLists.txt
2>  CMake does not need to re-run because D:/develop/OSVR-Core/examples/plugin/selfcontained/build/CMakeFiles/generate.stamp is up-to-date.
2>  [osvr_convert_json] Generating string literal header from com_osvr_example_selfcontained.json
2>  com_osvr_example_selfcontained.cpp
2>     Creating library D:/develop/OSVR-Core/examples/plugin/selfcontained/build/Release/com_osvr_example_selfcontained.lib and object D:/develop/OSVR-Core/examples/plugin/selfcontained/build/Release/com_osvr_example_selfcontained.exp
2>  com_osvr_example_selfcontained.vcxproj -> D:\develop\OSVR-Core\examples\plugin\selfcontained\build\bin\osvr-plugins-0\Release\com_osvr_example_selfcontained.dll
3>------ Build started: Project: ALL_BUILD, Configuration: Release x64 ------
3>  Building Custom Rule D:/develop/OSVR-Core/examples/plugin/selfcontained/CMakeLists.txt
3>  CMake does not need to re-run because D:/develop/OSVR-Core/examples/plugin/selfcontained/build/CMakeFiles/generate.stamp is up-to-date.
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Copied com_osvr_example_selfcontained.dll from build\bin\osvr-plugins-0\Release and pasted it in OSVR\Runtime\bin
Started osvr_server.exe and it failed to load plugin:

June 23 08:44:29.382 info [OSVR]: Logging for C:\Program Files\OSVR\Runtime\bin\osvr_server.exe
June 23 08:44:29.382 info [OSVR Server]: Using default config file - pass a filename on the command line to use a different one.
June 23 08:44:29.382 info [OSVR Server]: Attempting to load config file 'osvr_server_config.json'.
June 23 08:44:29.382 info [OSVR Server]: Constructing server as configured...
June 23 08:44:29.397 info [OSVR Server]: Loading auto-loadable plugins...
June 23 08:44:29.413 warning [PluginHost]: Failed to load plugin com_osvr_example_selfcontained: Failed to load the module C:/Program Files/OSVR/Runtime/bin/osvr-plugins-0/com_osvr_example_selfcontained
June 23 08:44:29.429 info [OSVR Server]: Loading plugins...
June 23 08:44:29.429 info [OSVR Server]: Instantiating configured drivers...

Hi @ArslanGapizov ,
It looks like the plugin is not loading because you're building the plugin with VS 2015 against OSVR-Core that was built with VS 2013. I would either build it VS 2013 against the same SDK, or build entire OSVR-Core with VS 2015 and then you can use it to build all new plugins.
Let me know if you have have any more questions.
-Georgiy

Thanks for reply, it works. Also I had to change "Release" build to "RelWithDebInfo".

It's actually just the config (release vs relwithdebinfo) not the version of VS that's the issue here, FWIW. Thanks for finding this - I just re-found it yesterday, sorry I hadn't seen your issue earlier.

authors: ArslanGapizov mars979 rpavlik

repo: OSVR/OSVR-Core


text:
Push TLS enable image to quay.io

When the TLS enabled image would be pushed on quay.io ?

It seems be done, see https://github.com/OT-CONTAINER-KIT/redis/blob/3cbab7113485b3671ca18e0f85475570592dd4cc/Dockerfile#L20 @hufon

Yes we already have TLS enabled in the redis
@hufon can you be more specific what is your query?
https://github.com/OT-CONTAINER-KIT/redis/blob/master/entrypoint.sh#L52

authors: drivebyer hufon shubham-cmyk

repo: OT-CONTAINER-KIT/redis


text:
Upgrade dependency

Upgrade jsonwebtoken@8.5.1 to version 9.0.2

Please ignore this PR and close it. Generated by TestIM


text:
Segregation of Methods

Please go through the readme to get a background of the problem.
Start by segregating the methods into different categories based on their functionality. This will provide a clearer understanding of the purpose and usage of each method.
Here are some examples of categories:

Exploratory Analysis Helpers:

matplotlib.pyplot: This module is commonly used for creating visualisations and plots to explore and analyse data.

Data Analysis - Classification:

sklearn.tree.DecisionTreeRegressor: This module is used for implementing decision tree-based regression algorithms, which are commonly used for classification tasks.

By categorising the methods, we can better understand the specific functionalities they serve in the context of data analysis. This analysis will help us uncover patterns and trends in the usage of different modules and functions.
Note: You are free to choose your own categories, but keep in mind this is a very important step for the analysis.

how do we need to submit this?

kindly assign me the issue and check pr #4

how do we need to submit this?

Please connect with @Hardik_Oblivious (discord) regarding any clarifications.

authors: Dhruv127 hardik-kapoor shobitnair


text:
[Plugin][Bug]: Bug when share is empty

Issue validation

[X] I checked the issue to prevent duplicate
[X] I checked my configurations files and the documentation

Command used
Refresh published and upload new notes
Plugin version
6.7.1
Describe the bug
I was able to publish some individual notes just fine, but when I tried to reftesh and upload several notes at once, I got this bug.
plugin:obsidian-mkdocs-publisher:19 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'toString')
    at ce (plugin:obsidian-mkdocs-publisher:19:53057)
    at Ys.getAllFileWithPath (plugin:obsidian-mkdocs-publisher:28:10213)
    at eval (plugin:obsidian-mkdocs-publisher:23:20428)
    at Generator.next (<anonymous>)
    at eval (plugin:obsidian-mkdocs-publisher:2:871)
    at new Promise (<anonymous>)
    at m (plugin:obsidian-mkdocs-publisher:2:691)
    at so (plugin:obsidian-mkdocs-publisher:23:20333)
    at eval (plugin:obsidian-mkdocs-publisher:23:22746)
    at Generator.next (<anonymous>)

After some picking around I figured out the issue: one of my notes had the "share" property empty instead of true or false. After turning it to false the bug vanished. I looked at the code, and the thing is, it does not check if the property equals exactly null, and Obsidian does not treat null and false as the same thing anymore. It seems to be easy enough to fix, just add additional check for null along with undefined.
How to reproduce ?
Create the note with the empty share property (can be created in the source mode) and try to share it of several notes at once.
Minimal Reproducible Example
-

Configuration
-

Relevant log output
No response
OS
No response
Anything else?
No response
Obsidian information
-

Oh ! Good catch umu! Will fix that asap :)

Please, try the new version <3

authors: Lisandra-dev anareaty


text:
Getting "Line magic function %%capture_text not found"

I can't get it to work.
import jupyter_capture_output
%%capture_text --path "log.txt"
print('test')

Jupyter Capture Output v0.0.6
UsageError: Line magic function `%%capture_text` not found.

Even though:
%capture_text --path "log.txt"
UsageError: Line magic function `%capture_text` not found (But cell magic `%%capture_text` exists, did you mean that instead?).

My setup:
Python 3.10.4 on Ubuntu
IPython          : 8.4.0
ipykernel        : 6.15.0
ipywidgets       : not installed
jupyter_client   : 7.3.4
jupyter_core     : 4.10.0
jupyter_server   : not installed
jupyterlab       : not installed
nbclient         : 0.6.4
nbconvert        : 6.5.0
nbformat         : 5.4.0
notebook         : 6.4.12
qtconsole        : not installed
traitlets        : 5.3.0

I think these two cells should be separate cells:
import jupyter_capture_output

%%capture_text --path "log.txt"
print('test')

Indeed. However, this is not really obvious, I suggest you add it in the docs.


text:
Incorrect time inference for dates with XX format

Dates formatted like "23XX" will have an incorrectly infered beginning/end dates (2301/2399).
Example: http://data.odeuropa.eu/time/f8104077-b9e4-501d-b89f-67e4c8e11635

There seems to be a few more cases like this one in the KG: query

repo: Odeuropa/knowledge-graph


text:
Benchmark Tagada VS traditional approach

Not sure if the best option is to make a project from scratch that calls both Tagada and traditional .NET backend and then compare results?
Question is: is there a tool that can do that kind of benchmark so we do not have to recreate the wheel?

Here is the benchmark application: https://github.com/Odonno/tagada/tree/master/Tagada/Tagada.Benchmark

repo: Odonno/tagada


text:
Filter out '\n' from 'name'

Issue
"Stream name has invalid characters"
https://odysee-workspace.slack.com/archives/C02GSHBKYEM/p1659617796387469
Replicate
Linux allows any character for a file name, so '\n' slipped through when selecting a file from the file browser.

Change
The actual fix is just the regexInvalidURI regex change (please double-check).
The rest is just DRY stuff.

Nice!

authors: infinite-persistence tzarebczan

repo: OdyseeTeam/odysee-frontend


text:
Clipboard program inference

User Story
As a user, I would like the clipboard program to be automatically set up without having to pass any options to clipboard.program.
Technical Requirements and Implementation Details
No response
Business Requirements
No response
Resources
No response
Acceptance Criteria

[ ] Copying an image to clipboard works without passing clipboard.program option if the required program is installed on the operating system.

Blocked by #9

repo: Ofadiman/nvim-codeshot


text:
Exclude symbols from signing and artifacts

The symbols are too large to push to myget so we are disabling them. There
is currently no option to exclude symbol package generation, so we will
manually do it in the sign script. This is fixed in preview4 of the tooling
and should simplify the sign script.
@tomjebo

Didn't find artifacts...

Looks like the symbols were found on the second push. Should be good to go

repo: OfficeDev/Open-XML-SDK

license: mit


text:
Folder Structure isn't being recreated

When I set EnableFolderCreation to true it's not re-creating the folder structure from the old list into the new site template. Is there anyway to persist folders inside a site list?

I was able to get this working by adding a new property to the SiteTemplateCreateInfo called PersistFolderStructure and then modifying the list instance code to apply them based on this setting and if folders existed. Everything seems to work, let me know if you want me to upload the code.

Thanks for your feedbacks. We introduced folders support in the last months. I will close this one.

authors: PaoloPia adameska

repo: OfficeDev/PnP-Sites-Core


text:
Fix a typo that causes NullReference exception

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

Related issues?
When testing sample OfficeDevPnP.MSGraphAPIDemo, you get a YSOD for mail API when clicking the button "Play with Mail Services"

What's in this Pull Request?
Typo fix

Hi @ylashin, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

thx Yousry, sorry for the inconvenience around this, but good to get solved.

Closing this for now and you can re-target this towards dev branch

sure no worries

authors: VesaJuvonen msftclas ylashin

repo: OfficeDev/PnP


text:
An error has occurred, please try to create your incident again

We are receiving the "An error has occurred, please try to create your incident again" when creating an incident. It was working fine for a while.
I researched past issues, but this one seems a little different.
Network and Console logs attached.
teams.microsoft.com.zip

@malimal99 , thanks for bringing this to our attention.
After reviewing the shared logs, it appears that the issue occurs during the creation of the Incident, as it fails to add items to the "TEOC-IncidentTransaction" List.
Could you please confirm if the provision of the Site was successful, or if it was created manually? Additionally, please check if the List Title has been updated, and if so, revert it to "TEOC-IncidentTransaction".

Thank you for the review..
We were able to create incidents prior to this issue..The site was provisioned successfully.
I will review you other troubleshooting steps and report back. I have suspicion someone may have messed with that list.

@malimal99 ,
This is a gentle reminder.
Could you please confirm if you are able to proceed?

Hello, I checked the list name and it looks fine. I have taken some screenshots.  I am also running an audit on the site now.

I have an audit but don't see any changes after the 10th. I don't want to upload because there may be sensitive data.

@malimal99 ,
Could you please confirm the type of Location Column in the "TEOC-IncidentTransaction" List? Additionally, let us know the version you are currently using. When did you start experiencing this issue? If it occurred after an upgrade, please specify the previous version.

Hi @malimal99,
Can you please respond to this ticket. As per our internal policy we would have to have to close this ticket in next 2 days if there is no response.
Thanks.

I will respond tomorrow.
On Wed, Dec 25, 2024, 4:05 AM v-saikirang @.***> wrote:

Hi @malimal99 https://github.com/malimal99,
Can you please respond to this ticket. As per our internal policy we would
have to have to close this ticket in next 2 days if there is no response.
Thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/OfficeDev/microsoft-teams-emergency-operations-center/issues/301#issuecomment-2561736772,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALOOVBWRLHZ43TD6OABFHSD2HJYOBAVCNFSM6AAAAABTDIIK3OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRG4ZTMNZXGI
.
You are receiving this because you were mentioned.Message ID:
<OfficeDev/microsoft-teams-emergency-operations-center/issues/301/2561736772
@github.com>

Hi @malimal99,
Due to our policy, We will have to close this ticket as we didn't get response. Please feel free to open a new issue if you still face any issues.
Thanks.

authors: malimal99 v-ajaysahu v-saikirang


text:
Add an option to exclude empty app categories

Add an option to exclude empty app categories from the generated app menu. The patch is attached. And please tag the new version with the latest changes.
no-empty-categories.patch.gz

Thanks for the patch. I think I will go one step further making empty categories hidden by default and providing an option to show them.

authors: OliverLew akdevservices

repo: OliverLew/xdg-xmenu


text:
[Feature Request] Prepare for Partial Prerendering

From kirimase created by leerob: nicoalbanese/kirimase#87
While Partial Prerendering is not yet stable, we can start building apps that prepare for this model today to make enabling PPR as easy as flipping on the compiler optimization. The key is to move data fetches and other dynamic calls (like cookies or headers) down in the component tree and to wrap them with React Suspense.
For example, I saw some of the authentication code that marked a top level component as async, and then at the top of the component file made a call to get the user state. We might want to consider whether that is always necessary. For example, for routes where it's all or nothing for auth, Middleware might be a better place to put this logic. For routes where it's not, consider moving the auth promise further down in the tree, colocated in a component that is consuming it's data.
Since the entire route can be prerendered, including the Suspense fallback, this can help you more easily design loading states and have a very fast initial page load.
Example: https://github.com/leerob/leerob.io/blob/e9357c5d53737ae977d4bfcb1b58ac832d155b5f/app/page.tsx#L117-L132
Resources

Demo: https://partialprerendering.com/
Blog: https://vercel.com/blog/partial-prerendering-with-next-js-creating-a-new-default-rendering-model
Docs: https://nextjs.org/docs/app/building-your-application/routing/loading-ui-and-streaming

Hey @leerob 👋
I've moved all of the data fetching down one level (wrapped with suspense)
eg:
import { Suspense } from "react";

import Loading from "@/app/loading";
import NobelPrizeList from "@/components/nobelPrizes/NobelPrizeList";
import { getNobelPrizes } from "@/lib/api/nobelPrizes/queries";
import { getAuthors } from "@/lib/api/authors/queries";
import { checkAuth } from "@/lib/auth/utils";

export const revalidate = 0;

export default async function NobelPrizesPage() {
  await checkAuth();

  return (

Nobel Prizes

        <NobelPrizes />

  );
}

const NobelPrizes = async () => {

  const { nobelPrizes } = await getNobelPrizes();
  const { authors } = await getAuthors();
  return (
    <Suspense fallback={<Loading />}>
      <NobelPrizeList nobelPrizes={nobelPrizes} authors={authors} />
    </Suspense>
  );
};

Just re-reading your note and see you mentioned auth calls too. Assume that means it will be necessary to move the checkAuth() call down to that component too?

repo: OmegaHawkeye/kirimase


text:
Profile system

Description

Profile features

create profile
show profile
edit profile

Profile pages

profile index /profile (profile:index): show only user's profile, if created,/create profile feature.
profile detail /profile/<profile.id> (profile:detail):  show user's profile according to parameter profile.id/ edit profile feature.

Functional Acceptance Criteria

Backend works:

Show, Create, Edit features works according to the request (tested)
has_profile data when GET /profile (tested)
User cannot create profile twice (tested)
Cannot edit other user profile (tested)

Checklist

[x] I have performed a self-review of my code.
[x] I have added tests to cover my changes.
[ ] I have updated the documentation, if applicable.
[x] My code follows the Coding Guidelines.

Type of Change

[ ] Bug fix
[x] New feature
[ ] Documentation update
[ ] Other (please specify)

Additional Information

/profile

GET - show user profile and has_profile status
POST - create profile

/profile/<profile.id>

GET - show profile according to profile.id
PUT - edit profile (only profile owner can)

Don't forget to migrate

Last makemigrations create activities migration file (0005)

repo: OmegaOoh/ku-tangtee


text:
how to recover usdt stuck in block

I'm 98 usdt stuck on the block 1 month and would like to know how to recover?

Address:
1Miv9SMrssWNbJqkPC2TKxRk5Wq1zG2h3t

5bfd19a19069c0dbe0705a42c77488b55d0cb4eaada9122b65da24464047fc11

Hey there, the transaction has over 2000 confirmations and 1Miv9SMrssWNbJqkPC2TKxRk5Wq1zG2h3t now holds the tokens. Please note though, the receiver needs to use an Omni-aware wallet.

I added a wiki page about this topic. Please let me know, if there is still anything unclear:

FAQ: I sent tokens to an incompatible wallet such as Coinbase or GDAX. Can you reverse the transaction?

Please also feel free to reopen this issue, if there is any progress. We'd also love to hear, if you were able to retrieve the tokens!

repo: OmniLayer/omnicore


text:
High CPU consumption!

Please paste the output from your clipboard

Suspect this is a dupe of https://github.com/OmniSharp/omnisharp-vscode/issues/2847

authors: khteh rchande

repo: OmniSharp/omnisharp-vscode


text:
Debugger: Internal debug console can't work

Environment data
dotnet --info output:
VS Code version: 1.4.0
C# Extension version: v.1.4.0-beta7
.NET Core version: 1.0.0-SDK Preview2
Steps to reproduce

Create a simple .NET Core project:
using System;
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Please input an integer:");
int number = Console.Read();
Console.WriteLine("Hello World");
}
}
2.Set "externalConsole" value is "false" and  "internalConsoleOptions" value is "openOnSessionStart" in launch.json file
Set a breakpoint at line of "Console.WriteLine("Hello World");" in program.cs file
Press F5 to start debugging
Input 1 in debug console
Press Enter

Expected  behavior
The breakpoint should be hit.
Actual behavior
The breakpoint can't be hit and show a message in debug console. Attached as below:

@GraceDong if you want to use APIs that read from the console you need to set --
"externalConsole": true,

in your launch.json file.

authors: GraceDong gregg-miskelly


text:
HA Integration - Communication delay not used in RiscoLocal setup

Hi,
I'm creating this issue in this repo and not in the HA repo to discuss a bit "offline".
I haven't used the integration for a while and I've recently moved over to definitely use the Risco integration instead of my previous setup.
I noticed that it often takes a very long before HA establishes the connection to my alarm panel (>10 mins).
It times out and retries until it finally manages to connect.
While checking the code I noticed that the communication_delay parameter is not used anymore in the _async_setup_local_entry in __init__.py.
I do recall that part of the changes I made have been reverted in https://github.com/home-assistant/core/pull/113497 but I thought that only the update logic was removed. It appears that also the communication_delay parameter has been removed from the creation of the RiscoLocal instance.
Was this done intentionally or by mistake? Now it also doesn't really make sense to determine the comm delay in the config flow.
On the other hand I also don't really understand the comment of bdraco on the PR:

The event loop shouldn't get blocked for more than 100ms in 2024.4.x during startup anymore from python imports (or hopefully anything else). Previous version had event loop blocks > 10s when importing large integrations

Does this mean that using the comm delay in the setup isn't allowed anymore?
I'm now using the integration as a custom component and changed the first lines of _async_setup_local_entry to:
async def _async_setup_local_entry(hass: HomeAssistant, entry: ConfigEntry) -> bool:
    data = entry.data
    comm_delay = data.get(CONF_COMMUNICATION_DELAY, 0)
    concurrency = entry.options.get(CONF_CONCURRENCY, DEFAULT_CONCURRENCY)
    risco = RiscoLocal(
        data[CONF_HOST], data[CONF_PORT], data[CONF_PIN], communication_delay=comm_delay, concurrency=concurrency
    )

It works like a charm now.

Any feedback on this?

Hi there, and @OnFreund,
Discovered this integration yesterday and I gave a try. Managed to make it work locally using pyrisco, with settings such as communication_delay=1, concurrency=1, but never in HA, most probably due to this.
Mine is an old one, Agility 3 series, so I need to have access to these parameters and it seems the revert in HA mentionned here entirely removed the ability to use them, in addition to the while True loop which was most probably the cause of the issue.
Any plan to reintroduce somehow?

I do intend to reintroduce this to HA, but it's going to take a while till I get around to it. You're welcome to do it as well, and I'll review.
Please continue the conversation here, since PyRisco already has everything necessary to support this, it's the HA side that needs work.

authors: FredericMa OnFreund pierrecdn

repo: OnFreund/pyrisco


text:
Onedrive Public link disabled

I have been working on onedrive API for the Past one month. I was able to attach files in a forum using my web app and the users were able to view those files. But, suddenly I can see only view,edit links but not the view, edit and public links. Now my users couldn't see those files because they don't have access. how to make folders and files public in Onedrive now. below is the screen shot of how it's done before.

Hi @Rocky2908,
We're in the process of removing the public sharing feature. It's been a source of confusing for end users who don't understand the difference between sharing something as "public" and sharing a view or edit link to a file. The ramifications of using "public" weren't clear.
You should be able to accomplish most of the scenarios that were available with public using a view link as well, although files won't be discoverable by search engines or browsing.
If you have a specific scenario that is broken as a result of no longer being able to create public links, please let us know.

Hi @rgregg ,
Thanks for your reply.
My scenario is I am creating a developer app through which I am opening the filepicker window and a user(USER1) selects his "PUBLIC"ly shared files and other users(who have no idea about the USER1) should able to open the attached files.
I know this api can access the VIEW link a customer created
https://api.onedrive.com/v1.0/drive/{item-path}:/action.createLink
If I append access token with this API call will I get the VIEW link

I'm having a similar issue.  While I understand the confusion of public vs view the problem is that view requires you to be singed into a Microsoft account so there's no way to share a file or photo now with people that don't have an account.

View links don't require you to be logged in, but it does require you to have the full URL (which includes a special authKey that enables you to access the content without being signed in).
Public permissions worked by just enabling anyone, including unauthenticated users, to access the content. No URL required, you could just "discover" the content freely.
Aside from the public discoverability issue, you should be able to accomplish any programmability scenario you would have used public for previously with a view link. If this isn't the case, please let me know specifically what you're trying to do and we can help you figure out how to make it work.
@Rocky2908 If you're using our picker SDK for JavaScript or Android and request a webViewLink link, you'll get back a URL that can be used by anyone, signed in or not, to view the file. Alternatively if you have your own picker UX you can use action.createLink to generate a view link, which works the same way. In your scenario, user 1 would create the view link URL and other users would need to use that URL to access the file.

authors: JordanSanderson Rocky2908 rgregg

repo: OneDrive/onedrive-api-docs


text:
Error for connect to ONE DRIVE

Hello! Can you help me? I have a problem with connect to one drive account. I use next programming code:
redirect_uri = 'http://localhost:8080/' client_secret = '******' scopes=['wl.signin', 'wl.offline_access', 'onedrive.readwrite'] client = onedrivesdk.get_default_client( client_id='*****', scopes=scopes) auth_url = client.auth_provider.get_auth_url(redirect_uri) #this will block until we have the code code = GetAuthCodeServer.get_auth_code(auth_url, redirect_uri) #code = 'M6ab12796-77c7-e4b3-f8b6-9b655e3ccc60' client.auth_provider.authenticate(code, redirect_uri, client_secret)
client_secret and client_id equal value from my account. But what is the value i must set in "redirect_uri'? I'm not using web-server and address "localhost:8080" unavailible.
My task is the BackUp file and upload in the OneDrive Account. Okey, can i execute query without "redirect_uri"? How can replace?
Thank you!

You also might want to change the code from onedrivesdk.get_default_client to onedrivesdk.get_consumer_client.
According to the source, get_default_client is deprecated.

Thank you! I am not the Web-developer. It would be better for me to execute all process in console application, without user. Is it possible?

Nope, I was looking for that too. You will need authorization from the user in any case. I'm looking into network drive mapping instead now -- https://www.laptopmag.com/articles/map-onedrive-network-drive.

@DenisEvgrafov you can use the other authentication method:
import onedrivesdk

redirect_uri = 'http://localhost:8080/'
client_secret = 'your_client_secret'
client_id='your_client_id'
api_base_url='https://api.onedrive.com/v1.0/'
scopes=['wl.signin', 'wl.offline_access', 'onedrive.readwrite']

http_provider = onedrivesdk.HttpProvider()
auth_provider = onedrivesdk.AuthProvider(
    http_provider=http_provider,
    client_id=client_id,
    scopes=scopes)

client = onedrivesdk.OneDriveClient(api_base_url, auth_provider, http_provider)
auth_url = client.auth_provider.get_auth_url(redirect_uri)
# Ask for the code
print('Paste this URL into your browser, approve the app\'s access.')
print('Copy everything in the address bar after "code=", and paste it below.')
print(auth_url)
code = input('Paste code here: ')

client.auth_provider.authenticate(code, redirect_uri, client_secret)

If this solved your issue consider closing.

Thank you for reaching out and for your patience. This SDK is being officially deprecated. See #209 for more information

authors: DenisEvgrafov KTibow baywet comnutssg

repo: OneDrive/onedrive-sdk-python


text:
Eth fork chain master coin name display symbol

What does this implement/fix? Explain your changes.
经过跟前端和设计同学讨论 Eth fork链钱包首页展示的主币信息为主币symbol
Does this close any currently open issues?
If it fixes a bug or resolves a feature request, be sure to link to that issue.
…
Pull request type

Put an x in the boxes that apply

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

Where has this been tested?
…
Any other comments?
…

就只有 update_status 这里需要吗？get_wallet_balance 和 get_all_wallet_balance 以及 select_wallet 是否需要改？

另外需要跟 Android 和 iOS 的同学都确定下这个改动是否可行

上我知道coin是一个id的作

这个改动 是把原来界面上显示的“HECO” 改成了“HT”

就只有 update_status 这里需要吗？get_wallet_balance 和 get_all_wallet_balance 以及 select_wallet 是否需要改？

我昨天和IOS的同事找产品的同事讨论过 他坚持这里显示HT/BNB 其他资产的页面 目前都显示的是HECO 我一会儿再找设计确认下吧 android那边确认过了 这块的显示是自己组装的

这个改动 是把原来界面上显示的“HECO” 改成了“HT”

eth_servers.json文件里面heco下的symbol还是heco啊，是依赖另外的pr还没合并么？

这个改动 是把原来界面上显示的“HECO” 改成了“HT”

eth_servers.json文件里面heco下的symbol还是heco啊，是依赖另外的pr还没合并么？

https://github.com/OneKeyHQ/electrum/pull/651 已经合过啦

#651 已经合过啦

好吧，应该是我昨天只fetch了代码但是看之前忘了合并...

跟 @reepig 讨论过了 将所有资金显示的地方都改成了symbol
@peterQin0826 昨天跟你讨论过这个问题了 资金显示页面 之前主币给你返回heco/bsc的地方 现在会给你返回ht/bnb

authors: huazhouwang shuaiLiWang taimanhui

repo: OneKeyHQ/electrum


text:
Bug: Selfhosted status page custom domain cannot be verified

Describe the bug
I corrected set the status page domain, and the cname record already exits in my dns settings but in one uptime verification page it always tells me CNAME is not verified. Please make sure you have the correct record and please verify CNAME again. If you are sure that the record is correct, please wait for some time for the DNS to propagate.
To Reproduce
Steps to reproduce the behavior:

Go to Project settings add the basic domain for the status page
go to the status page add the custom domain to it
set the correct A and CNAME record
See error

Expected behavior
it should be verified
Screenshots
did not include my own domain in the screenshot for security

Desktop (please complete the following information):

OS: ubuntu
Browser edge
Version 22

Deployment Type
docker compose
Additional context
Add any other context about the problem here.

https://github.com/OneUptime/oneuptime/blob/4f4d9946ffce7f36660e0f24049b8a259b298888/CommonServer/API/StatusPageDomainAPI.ts#L102
It might has something to do with this

Need more info like domain name. Can you please let me know your domain and did you verify with other DNS record viewers that cname do infact exist?

Hi, here are my settings:

set the status cname record as oneuptimestatuspage.mydomain.com
my onuptime is running on oneuptime.mydomian.com
in the oneuptime, add mydomain.com to the project settings domain list (this passed the check successfully)
in the status page custom domain, set status.mydomain.com as the status page domain
set DNS A record which is oneuptimestatuspage.mydomain.com to my webserver ip
set DNS CNAME record point status.mydomain.com to oneuptimestatuspage.mydomain.com

Verify the cname is taking effect by using dig command, but when come back to my own oneuptime, it is always showing this error

I let the DNS stayed there for one whole night who should have already been taking effect but this morning I still get this error

Same thing happening to me, CNAME is definitely valid, I can resolve it from the server too (also other locations), DNS propagated, but it is still saying the error message stated.

hi @simlarsen it has been a while and I just noticed the new post you posted to the selfhosted subreddit and I want to give oneuptime another try. but I haven't heard from you about this issue yet. Every time deploy oneuptime is time consuming, I do not risk to install it and found this issue still has not been solved. could you please give us some updates? Thanks

@MFYDev Apologies for the late reply. Can you please change the logLevel to debug and see what shows up when you try to verify domain?

I'm also having this issue @simlarsen , heres what I have so far.

DNS is resolving
![image](https:

//github.com/user-attachments/assets/0f2db82b-11ec-452f-a220-80bec732dd94)
When opening the page it just throws 404 (not sure if this is the default behavior)

@simlarsen this is what it shows up when log is set to debug

DNS is resolving and when being accessed it returns 404.

How did you set it to debug. I dont see any debug logs?

Okay I think this is the real error base on the logs that i just saw now,

Describe the bug I corrected set the status page domain, and the cname record already exits in my dns settings but in one uptime verification page it always tells me CNAME is not verified. Please make sure you have the correct record and please verify CNAME again. If you are sure that the record is correct, please wait for some time for the DNS to propagate.
To Reproduce Steps to reproduce the behavior:

Go to Project settings add the basic domain for the status page
go to the status page add the custom domain to it
set the correct A and CNAME record
See error

Expected behavior it should be verified
Screenshots did not include my own domain in the screenshot for security
Desktop (please complete the following information):

OS: ubuntu
Browser edge
Version 22

Deployment Type docker compose
Additional context Add any other context about the problem here.

Yes i have a same problem.
When a try to valid a custom domain name for status page, the single error in log (debug) is :+1:
app-1      | BadDataException [Error]: CNAME is not verified. Please make sure you have the correct record and please verify CNAME again. If you are sure that the record is correct, please wait for some time for the DNS to propagate.
app-1      |     at /usr/src/CommonServer/API/StatusPageDomainAPI.ts:110:15
app-1      |     at processTicksAndRejections (node:internal/process/task_queues:95:5) {
app-1      |   _code: 400
app-1      | }

We are not seeing the right logs for this because we are not logging these api calls.
https://github.com/OneUptime/oneuptime/blob/dd5cb900ffbb3d4d3a69bd1db4e6e64985a42403/Common/Server/Services/StatusPageDomainService.ts#L237
I need this feature so I'll see what I can contribute to get this working, or maybe you already have information for us regarding this issue @simlarsen ?

@Johncs2d Please feel free to add debug statements there and send a PR. That would make debugging a little easier.

Looks like the cname-verification api is not being hit at all, we should be seeing additional debug log when we hit the /status-page-api/cname-verification/:token but its not showing, and the new debug log that was added is just saying 404.
https://github.com/OneUptime/oneuptime/blob/dd5cb900ffbb3d4d3a69bd1db4e6e64985a42403/Common/Server/API/StatusPageAPI.ts#L98

Okay i found the answer for this one, @MFYDev the cname that you're adding should be in the list of hosts in the oneuptimeIngress, but the oneuptimeIngress.hosts does not allow wildcard values so its troublesome. I'll try to see what i can do to create a pr for this so we wont define every single status page host https://github.com/OneUptime/oneuptime/issues/1717

Hey, @Johncs2d.
Now I can create my wildcard domain, but the validation still isn’t working. I can access my status page normally, but I'm having trouble with the certificates on my Kubernetes cluster.
Let me know if you can help me get this sorted out. Thanks!

authors: 0x111 Johncs2d MFYDev btouchard marciojpacheco simlarsen

repo: OneUptime/oneuptime


text:
Short solution needed: "How add tag" (git)

Please help us write most modern and shortest code solution for this issue:
How add tag (technology: git)
Fast way
Just write the code solution in the comments.
Prefered way

Create pull request with a new code file inside inbox folder.
Don't forget to use comments to make solution explained.
Link to this issue in comments of pull request.

How to add tag to repo

repo: Onelinerhub/onelinerhub


text:
Reduce messages from cbuild

The Problem To Be Solved
cbuild generates too much user output that are distracting.
Take #1537 as an example.
Suggest A Solution
Instead of:
>cbuild setup USB_Device.csolution.yml --packs
error csolution: undefined variables in USB_Device.csolution.yml:
  - $Board-Layer$

To resolve undefined variables, copy the settings from cbuild-idx.yml to csolution.yml
error cbuild: error generating build files
error cbuild: exit status 2

Generate:
>cbuild setup USB_Device.csolution.yml --packs
error csolution: undefined variables in USB_Device.csolution.yml:
  - $Board-Layer$

info cbuild: to resolve undefined variables, copy settings from cbuild-idx.yml to csolution.yml

error cbuild: error generating build files is misleading, as I would expect that the tool could not write the files because existing files are R/O and therefore write protected.
error cbuild: exit status 2 is not really an error.  Instead, I would suggest to output this only with option --verbose as info
>cbuild setup USB_Device.csolution.yml --packs --verbose
error csolution: undefined variables in USB_Device.csolution.yml:
  - $Board-Layer$

info cbuild: to resolve undefined variables, copy settings from cbuild-idx.yml to csolution.yml
info cbuild: exit status 2

error cbuild: exit status 2 is not really an error. Instead, I would suggest to output this only with option --verbose as info

@ReinhardKeil This change is feasible and can be made.
However, changing the severity level of the message To resolve undefined variables, copy settings from cbuild-idx.yml to csolution.yml to info would suppress this message by default. I recommend keeping this message as a part of an error to ensure it's not overlooked, for example. for e.g.
>cbuild setup USB_Device.csolution.yml --packs
error csolution: undefined variables in USB_Device.csolution.yml:
  - $Board-Layer$
To resolve undefined variables, copy the settings from cbuild-idx.yml to csolution.yml

repo: Open-CMSIS-Pack/devtools


text:
Caching improvements?

Right now the caching time seems to be 5 minutes, which means that (due to a small request frequency) mostly every request is refreshing the cache, which leads to long loading times on the website and in the clients. For example, the Web Editor takes roughly 5 seconds to connect without (server-side) cache and under a second with (server-side) cache.
I think 5 minute cache TTL seems pretty low, do we really expect such a high frequency in changes for metadata (collections, processes, file formats, ...)? 60 minutes or even a day could be reasonable, too? And then I'd suggest to refresh the data using a cron job and always return the user cached data so that loading times are consistent.
Origin: https://github.com/openEOPlatform/architecture-docs/issues/22#issuecomment-886254097

That low cache minute level TTL was just for initial development purposes.
order of hours makes indeed more sense now that things are getting more concrete

Recently some back-ends seem to have some issues and that got fed through to the aggregator, which responses with errors or timeouts sometimes.
So in addition to the cron job proposal above, I think it's also a good idea to only clear the cache once a successful request has been made (or it's very outdated9 so that people can still retrieve metadata although the back-end is temporarily offline.

a couple of ideas to improve the caching in the aggregator:

Find a way to flush all or subset of caches.

Easy way would be through some custom HTTP endpoint. However: at the moment caching is done in memory and there are already multiple (gunicorn) workers in play (and we might scale up to load balanced setup on multiple machines), so a single "flush cache" HTTP request  will not work
centralize cache to memcache, redis, ... to allow easy cache flushing across multiple instances/workers

smarter caching, to handle temporary  glitches better

if cache is outdated: still keep it if it can not be updated yet due to hard failure
if there is a minor failure in one of the back-ends: cache the result with shorter TTL than default

This is basically what we already do in the openEO Hub, but it's all JS with a MongoDB in the background and a daily crawling through a cron job. There we have some logic implemented for such cases where the data is not directly cleared in the db until new data successfully comes in, but clears it after a certain amount of failures... So if you need some insights into that feel free to contact @christophfriedrich.

Another idea to take into account: do caching at proxy/load balancing level instead of doing it in the flask app itself

merged initial usage of zookeeper based caching in 99332f7a4c4f64cec3bc2f8e4851b5ebdd66c2bf

authors: m-mohr soxofaan

repo: Open-EO/openeo-aggregator


text:
WP5 indiv process testing: code style improvements

This is rebased version of PR #21 after it got in messy conflict with main branch

I can confirm that #21 and #32 do the same, so #21 can be closed.
Nevertheless, the missing warnings are still a thing. See https://github.com/Open-EO/openeo-test-suite/pull/21#discussion_r1455036302
Otherwise lgtm

I'll go ahead and merge this, because there is too much risk on conflicts with other issues/PRs I want to work on

I can't confirm this. From what you've stated above, I'd have assumed that adding --log-cli-level=WARN would add the missing warnings back to the log, but it doesn't. They are still missing and we still don't understand why this is the case.

Okay, I see what happens here:
Instead of showing up in the warnings summary, they now show up in the live log setup:

That is confusing.

Moved the issue to #33 to unblock this PR.

thanks
merged in 0e7a7d766df015d92223bcedae4fe1b2cddae620

repo: Open-EO/openeo-test-suite


text:
[SUGGESTION]: Add an option to toggle off countermeasures.

By default, countermeasures are taking to "undo" the cheats that players do. Such as, for example, player health. If it detects that you're cheating and triggers a warning to OnPlayerGetProtectionWarning then it will set the player's health BACK to what it SHOULD be. That's fine and all, but it'd be pretty neat if we can toggle that off.
Why? Well. It'd be extremely helpful when testing (especially with new detections). That way, I can freely have basically all of the detections enabled without worrying about breaking my script (since it'll just print warnings and NOT do anything to the player).
I noticed a bug with Teleport in the past and immediately had to take it off of my live server because it'd set the player's position back to what the script knows is the last valid point they were set to (via SetPlayerPos).
For Example:
Protection_SetParamInt(PROTECTION_TELEPORT, PROTECTION_COUNTERMEASURE, 0);
By default, countermeasures should be enabled though. Leave it up to the scripter if he wants to disable it.

Agreed. I will make it in near time.
By the way, teleport protection fixed and now works fine.

Sweet. As for the teleport detection, I believe I was having issues under the same circumstances as the interior issue.
I'll have to do some testing to be able to determine exactly when/how the issue occurs though. I do remember the fix was to use SetSpawnInfo (to the specific cords later used for SetPlayerPos) prior to TogglePlayerSpectate. Which suggests the variables reset during the OnPlayerSpawn hook exactly like the interior issue.

authors: CantBeKarma ziggi

repo: Open-GTO/protection


text:
Cannot read the provided documents

Hello,
... after 3 years I would like to renew my knowledge about OpenMBEE. However my attempt to read in the browser the documents listed under https://github.com/Open-MBEE/OpenSE-Cookbook/tree/master/Documents has failed; a Github page is opening and the content cannot be displayed. Also opening the downloaded file with Adobe Acrobat fails due to some decoding error.

might be a browser issue.
I just downloaded and opened the pdfs fine with Chrome.
On Tue, Jul 14, 2020 at 4:51 AM odungern notifications@github.com wrote:

Hello,
... after 3 years I would like to renew my knowledge about OpenMBEE.
However my attempt to read in the browser the documents listed under
https://github.com/Open-MBEE/OpenSE-Cookbook/tree/master/Documents has
failed; a Github page is opening and the content cannot be displayed. Also
opening the downloaded file with Adobe Acrobat fails due to some decoding
error.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Open-MBEE/OpenSE-Cookbook/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEAP3Z32L3BBOG4PMSDLMVTR3RBFXANCNFSM4OZOBRTQ
.

thanks a lot for your response. I have tried with different browsers. Was able to open it within the browser (a Github framed PDF viewer opens) with FF, Chrome and new Edge. Downloading and opening with Adobe PDF-Reader does not work; I guess some header information is wrong or missing.
But I can now read somehow, that's most important. Thanks a lot for all your work!

authors: odungern wobrschalek

repo: Open-MBEE/OpenSE-Cookbook


text:
Model use

Hello, can this large model be used directly and if it takes how long it takes to train

I mean how long do I need to train if I use my own computer (4060)

We have uploaded the pre-trained weights of the 3D generalist at https://huggingface.co/CH3COOK/LL3DA-weight-release/tree/main. It might be challenging to train our model on a single 4060 GPU, because of the heavy CUDA memory usage of large language models. Instead, you might try training your own model with smaller LLM backbones, i.e. GPT2, OPT-125m, etc.

Nice work, I wonder if the finetuned model will be released or not.

authors: KongFulu ch3cook-fdu yitianlian


text:
monitor 命令异常退出

压测的时候，同时打开 monitor 命令，发现会异常退出
命令：Set 20230707164902_69258__8_157294_set xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

0708 世禧跟进

0715 暂时还没搞，继续跟进

repo: OpenAtomFoundation/pika


text:
Change the 'Saved' modal

If something is changed in the 'Saved' modal we see this:

It's kind of annoying that I need to manually close the modal every time. Instead, could we have something like this popup at the bottom of the window for 3 seconds and then fade out?

Ping @jjeffryes @morebrownies

Concur.

Done

authors: TheButterZone drwasho

repo: OpenBazaar/OpenBazaar-Client


text:
Target Lists

Geir Sletten and Ole Martin Mevassvik, Evaluation of C2SIM for use in Army Course of Action simulation, 22 February 2022, p 6
There is no direct way of grouping candidate targets in C2SIM as target lists, except for creating an overlay (target is not a class concept in C2SIM).

I think a list is always a kind of collectiveEntity. Maybe we should rename CollectiveEntity to CollectiveActorEntity to comprise MilitaryOrganization etc and create a CollectiveEntity as subclass of Entity.
A target in a Task is described as "hasAffectedEntity min 0 UUIDBase" restriction. However, we could create "hasAffectedEntity" as object property restriction pointing to an Entity or CollectiveEntity (as direct subclass of Entity).

I would like to propose:

add AffectedEntity or TargetEntity to taxonomy as subclass of Entity
allow subclasses to have two (or more) superclasses
2.1) CollectiveEntity and PhysicalEntity as subclass of both ActorEntity and Affected/TargetEntity
2.2) work on transformation problem
transform "hasAffectedEntity"-property to and use as object property

Overlay is defined by having the restriction "hasEntityReference min 1 UUIDBase". "hasEntityReference" (The reference is to an instance of an Entity) contradicts the definition of AbstractObject...

authors: MagdalenaDechand clblais


text:
ValueError("Need either a state_dict or a save_folder containing offloaded weights.")

When I run the demo code, the following error occurs.
How do I fix it so it works?
root@2964f02546c4:/app/demo# python3 chatbot.py --path  m-a-p/OpenCodeInterpreter-DS-6.7B
>>>> model_path:m-a-p/OpenCodeInterpreter-DS-6.7B
Special tokens have been added in the vocabulary, make sure the associated word embeddings are fine-tuned or trained.
/usr/local/lib/python3.10/dist-packages/bitsandbytes/cextension.py:34: UserWarning: The installed version of bitsandbytes was compiled without GPU support. 8-bit optimizers, 8-bit multiplication, and GPU quantization are unavailable.
  warn("The installed version of bitsandbytes was compiled without GPU support. "
/usr/local/lib/python3.10/dist-packages/bitsandbytes/libbitsandbytes_cpu.so: undefined symbol: cadam32bit_grad_fp32
INFO:torch.distributed.nn.jit.instantiator:Created a temporary directory at /tmp/tmpw04u_i4o
INFO:torch.distributed.nn.jit.instantiator:Writing /tmp/tmpw04u_i4o/_remote_module_non_scriptable.py
[2024-03-04 14:28:32,267] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
Loading checkpoint shards: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 2/2 [00:55<00:00, 27.91s/it]
Traceback (most recent call last):
  File "/app/demo/chatbot.py", line 318, in <module>
    gradio_launch(model_path=args.path)
  File "/app/demo/chatbot.py", line 294, in gradio_launch
    interpreter = StreamingOpenCodeInterpreter(model_path=model_path)
  File "/app/demo/code_interpreter/OpenCodeInterpreter.py", line 43, in __init__
    self.model = AutoModelForCausalLM.from_pretrained(
  File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/auto_factory.py", line 566, in from_pretrained
    return model_class.from_pretrained(
  File "/usr/local/lib/python3.10/dist-packages/transformers/modeling_utils.py", line 3919, in from_pretrained
    dispatch_model(model, **device_map_kwargs)
  File "/usr/local/lib/python3.10/dist-packages/accelerate/big_modeling.py", line 364, in dispatch_model
    weights_map = OffloadedWeightsLoader(
  File "/usr/local/lib/python3.10/dist-packages/accelerate/utils/offload.py", line 150, in __init__
    raise ValueError("Need either a `state_dict` or a `save_folder` containing offloaded weights.")
ValueError: Need either a `state_dict` or a `save_folder` containing offloaded weights.
WARNING:traitlets:Could not destroy zmq context for <jupyter_client.blocking.client.BlockingKernelClient object at 0x7fd1e9cb4f10>
WARNING:traitlets:Could not destroy zmq context for <jupyter_client.blocking.client.BlockingKernelClient object at 0x7fd1dbe06050>
root@2964f02546c4:/app/demo# [IPKernelApp] WARNING | Parent appears to have exited, shutting down.
[IPKernelApp] WARNING | Parent appears to have exited, shutting down.

thank you！！
The problem was successfully resolved

repo: OpenCodeInterpreter/OpenCodeInterpreter


text:
Added icons as labels for inputs

upload image avatar is now first option unless an social avatar is fetched
fixed ImagePicker badge bug where badge images would not resize to fit
For issue https://github.com/OpenCollective/OpenCollective/issues/103

Besides the let issue, everything else looks good

let makes more sense. I added it to our linter wishlist https://github.com/OpenCollective/OpenCollective/issues/76

repo: OpenCollective/opencollective-website


text:
Can not import @Published directly

I am not able to use directly @Published, instead I had to use @OpenCombine.Published. Is there any way to make it work?
I have pushed a demo to a repository
PD: iOS11 target
Great work with the open source library. Thanks :)

The only way to make it work is to add the following line to your code:
typealias Published = OpenCombine.Published

This is a language limitation, so, unfortunately, we can't fix it in OpenCombine.

authors: albertopeam broadwaylamb

repo: OpenCombine/OpenCombine


text:
API for linked accounts

This issue is imported from pivotal
https://wiki.surfnet.nl/pages/viewpage.action?pageId=41343266

Via een API kan eduID extra informatie leveren over een gebruiker, nadat deze gebruiker hiervoor toestemming heeft gegeven. De toestemming gebeurt op basis van consent op een OIDC. eduID  wordt hiervoor een RS in manage, en gekoppeld aan de RP's.

Generiek API-endpoint onder eduid.nl

oidc afgeschermd, de gebruiker geeft consent op de scope die nodig is voor het ophalen van de informatie

Scope per attribuut:

validates names
eppn bij instelling *
eduid-identifier
affiliation
...

query opties:

shachome *
targeted-eduid
...
* Response
namen
eppn *
eduid
scoped affiliation
...

*= nu implementeren, de rest als er vraag is.

https://github.com/OpenConext/OpenConext-myconext/commit/2827f0778927e826ecdda9324ac5bcaf89c87540 (Peter Havekes - Apr 6, 2021)

repo: OpenConext/OpenConext-myconext


text:
Catch all possible cases of custom block state implementations

Ok, I screwed one more time with collision optimization code.

I don't really like ths idea of catching exception here, but whatever. It's disabled by default.

@Barteks2x please take a proper look at this part: https://github.com/OpenCubicChunks/CubicChunks/pull/390/files#diff-704e4293dbc7fa85270f49d1c104e101R188

I've seen that. I think I forgot to change that.

What if instead of "try-catch" I will filter a list of vanilla blocks by checking if they extends only vanilla classes? I really like this optimization - it gives a great TPS gain when a lot of mobs are around player.

This would probably be better as part of something like FormFix and not CC. Or some other separate mod. I will try to separate vanilla optimizations into it's own mod at some point.

Ok.

repo: OpenCubicChunks/CubicChunks


text:
First attempt to update for 21w20a

This is a naïve but functional attempt to add support for the new 21w20a calling conventions to MC_1.17. Please feel free to change anything / let me know if you'd like to see implementation for ChunkStatus rather than just stubs, however this does compile and appear to work as well as it did on 21w19a.

Did you run gradlew check?

Yes, sorry for the delay, but ./gradlew check works without any issues reported.

Ok so for some darn reason, whenever I pull your branch, it doesnt let me build gradle bc of either a bad loom version or the wrong gradle version.
But your diff shows you didnt touch gradle wrapper's properties or build.gradle itself.

authors: CorgiTaco andrewathalye


text:
make build on ubuntu

Describe the bug

Setup and configuration
Building project...
Checking dependencies...
Checking Python installation...
Python 3.10.12 is already installed.
Checking npm installation...
npm 8.5.1 is already installed.
Checking Docker installation...
Docker version 26.0.0, build 2ae903e is already installed.
Checking Poetry installation...
Poetry version 1.1.12 is already installed.
Dependencies checked successfully.
Pulling Docker image...
Using default tag: latest
latest: Pulling from opendevin/sandbox
Digest: sha256:b051045dd07803ec72da0342fca84d287f77c46ebde0ee2d57f551b863c8894e
Status: Image is up to date for ghcr.io/opendevin/sandbox:latest
ghcr.io/opendevin/sandbox:latest
Docker image pulled successfully.
Installing Python dependencies...

Stack trace:
11  /usr/lib/python3/dist-packages/clikit/console_application.py:123 in run
io = io_factory(
10  /usr/lib/python3/dist-packages/poetry/console/config/application_config.py:221 in create_io
resolved_command = application.resolve_command(args)
9  /usr/lib/python3/dist-packages/clikit/console_application.py:110 in resolve_command
return self._config.command_resolver.resolve(args, self)
8  /usr/lib/python3/dist-packages/clikit/resolver/default_resolver.py:34 in resolve
return self.create_resolved_command(result)
7  /usr/lib/python3/dist-packages/clikit/resolver/default_resolver.py:166 in create_resolved_command
if not result.is_parsable():
6  /usr/lib/python3/dist-packages/clikit/resolver/resolve_result.py:43 in is_parsable
self._parse()
5  /usr/lib/python3/dist-packages/clikit/resolver/resolve_result.py:49 in _parse
self._parsed_args = self._command.parse(self._raw_args)
4  /usr/lib/python3/dist-packages/clikit/api/command/command.py:113 in parse
return self._config.args_parser.parse(args, self._args_format, lenient)
3  /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:53 in parse
self._parse(args, _fmt, lenient)
2  /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:101 in _parse
self._parse_long_option(token, tokens, fmt, lenient)
1  /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:247 in _parse_long_option
self._add_long_option(name, None, tokens, fmt, lenient)
NoSuchOptionException
The "--without" option does not exist.
at /usr/lib/python3/dist-packages/clikit/args/default_args_parser.py:300 in _add_long_option
296│     def _add_long_option(
297│         self, name, value, tokens, fmt, lenient
298│     ):  # type: (str, Optional[str], List[str], ArgsFormat, bool) -> None
299│         if not fmt.has_option(name):
→ 300│             raise NoSuchOptionException(name)
301│
302│         option = fmt.get_option(name)
303│
304│         if value is False:
make[1]: *** [Makefile:84: install-python-dependencies] Error 1
make: *** [Makefile:25: build] Error 2

update poetry by running poetry self update

ok

authors: SmartManoj mirgong

repo: OpenDevin/OpenDevin


text:
Encapsulate sandbox vars in sandbox config

This PR is proposing to simplify the config.toml file by adding a section specifically for sandbox config vars. It should make the rest more readable. It practically splits AppConfig in half, the sandbox-specific vars have become really that many.
It is a goal to also preserve compatibility with the corresponding env vars.
New toml should look like:
[core]
max_iterations=500
max_chars=50000000
debug=true
file_store="local"
file_store_path="/somewhere/repos/opendevin/cache"

[sandbox]
type="ssh"
timeout=10
persist_sandbox=true
workspace_base="/somewhere/repos/workspace"
workspace_mount_path="/somewhere/repos/workspace"
workspace_mount_path_in_sandbox="/workspace"
...

Closing in favor of https://github.com/OpenDevin/OpenDevin/pull/2455


text:
/area appearance does not display

/areas can have overlays and such, we don't display them currently. We should.

Fixed by #1868

repo: OpenDreamProject/OpenDream


text:
use Apache Maven

Signed-off-by: Olivier Lamy olamy@apache.org

up for discussion.
it looks I have some issues running this locally :)
lamy@pop-os:~/dev/sources/open-elements/website$ hugo serve
panic: runtime error: slice bounds out of range [1:0]

goroutine 1 [running]:
github.com/gohugoio/hugo/resources/page.PermalinkExpander.validate({0xc000841620?, 0x0?, 0xc0008410b0?}, {0x0?, 0x0?})
	github.com/gohugoio/hugo/resources/page/permalinks.go:182 +0x23c
github.com/gohugoio/hugo/resources/page.PermalinkExpander.parse({0xc000841620?, 0x0?, 0xc0008410b0?}, 0x8?)
	github.com/gohugoio/hugo/resources/page/permalinks.go:125 +0x136
github.com/gohugoio/hugo/resources/page.NewPermalinkExpander(0xc0008410b0)
	github.com/gohugoio/hugo/resources/page/permalinks.go:94 +0x705
github.com/gohugoio/hugo/resources.NewSpec(0xc0008410b0, 0xc0008410e0, {0x247e580, 0xc0004f3158}, {0x2494e98, 0xc000840150}, {0x247e5a0?, 0xc000010b30}, 0xc0001817c0, {0xc000846900, ...}, ...)

some images need to be fixed.

repo: OpenElements/website


text:
Using OpenFAST on Simulink

Hello everyone,
I would like to use OpenFAST on Simulink but I have the following problems. I just want to run the example OpenLoop available in the repository. Note that I don't have any problem on Windows and the problem is just on Linux Ubuntu.
I tried it with Ubuntu using my own compilation on GCC however I get the following error:

Error using Run_OpenLoop
Error while obtaining sizes from MEX S-function 'FAST_SFunc' in 'OpenLoop/FAST Nonlinear Wind
Turbine/S-Function'. Note that I tried different versions of OpenFAST including the current, 3 and 2.6 however, I always got the same error.
Error in run (line 91)
evalin('caller', strcat(script, ';')); - Show complete stack trace
Caused by:
Error using Run_OpenLoop
Invalid MEX-file '/media/sf_Shared/git_projects/Ver 2.6/openfast/install/lib/FAST_SFunc.mexa64':
/media/sf_Shared/git_projects/Ver 2.6/openfast/install/lib/FAST_SFunc.mexa64: undefined symbol:
__openfoam_types_MOD_opfm_packinitoutput - Show complete stack trace

I read all the instructions online and spent two weeks but I couldn't solve the problem.
MATLAB 2023a
GCC latest

@Mojallizadeh Please try with https://github.com/OpenFAST/openfast/tree/rc-3.5.1 until version 3.5.1 is released. There were several changes made in that branch to get the Simulink build working on Linux. Note that you do not need to use the create_FAST_SFunc.m to build the mex file, it will be generated in build/glue-codes/simulink when building with CMake.

Closing due to lack of response, feel free to reopen if the rc-3.5.1 didn't resolve your issue.

authors: Mojallizadeh deslaughter

repo: OpenFAST/openfast


text:
Refactor indexing pipeline

Before the hub can listen or send Farcaster messages, the Hub must index the required EVM events. It is necessary because new FIDs and signers are created onchain. The hub cannot validate and store protocol messages until we have the user identity data, such as FIDs, signers, and storage capacity.
The current approach is to index events from the known contracts before starting the hub. Once the older events are processed, we start the hub and listen to messages on the p2p network. We process the new events in a background thread as they arrive.
Here are a couple of proposals for improving this approach:

Currently, we are calling eth_getLogs serially. It is hard to parallelize because of the dependencies among various events. For instance, you cannot process the "remove signer" event without first processing the "add signer" event for the same signer. A similar issue exists for FIDs. Here is an alternative approach that we could adopt. We could first download all the events from start_block to latest_block and store them in the database. This could happen concurrently. Then, we could sort the downloaded events (by block number) and process them locally to populate the FID and Signer tables.

We could make the indexing pipeline more generic by making it work with different databases. This is not relevant to the Teleport project per se because Teleport only works with SQLite (which feels like the correct choice so far). However, I noticed that the Indexer only needs certain APIs to index all the required Farcaster identity data into a database. For example, any database, be it SQLite, Postgres Redis, etc., if it implements specific trait(s) (for instance, public API could be StoreEvent, StoreFID, StoreSigner, RemoveFID, RemoveSigner, etc.) can be used to index all relevant events. Perhaps we can make the Indexer a standalone project within OpenFarcaster. Teleport can use it by implementing the Storage trait for SQLite and passing in the SQLiteStorage struct to the Indexer.

I think for historical indexing this makes sense, but for real-time indexing in the background im not sure if the overhead of download first, sort and process later makes sense. I also wonder if this problem can be solved by just doing snapshot syncs instead. I know Hubble supports snapshot syncs and has a certain format, we can explore being compatible with that or having our own snapshot format if we're not compatible. In that case, I presume most people will use snapshots and the historical sync issue is largely solved by that.

Does this become much harder to do later? I'm not sure if this is the best use of time right now even though it makes sense but isn't immediately necessary. If you think this will become 10x harder over time it may be worth considering.

Another question here is I believe FC migrated to a new contract due to an issue with the older ones
I'm not 100% sure if that was a new contract address entirely or if the contract is upgradeable -> we should check and make sure we're not missing events prior to the migration

I also wonder if this problem can be solved by just doing snapshot syncs instead.

I think this is precisely what we need here. Snapshot sync would be ideal. Do you know where we can get the latest snapshot?

Does this become much harder to do later?

No, I think we can move it out later. I just wanted to call out because I thought it is a good opportunity to abstract out some parts that are more generic. I will create a different issue to track this.

Another question here is I believe FC migrated to a new contract due to an issue with the older ones

Yes, they have migrated a couple of times to new contract addresses. But all farcaster contract migrations re-emits the events for older FIDs and signers. It seems that it is sufficient to index only the latest contract.
For instance, after indexing the current contract, if I check the first 10 FIDs, I get FIDs 1 through 10, which is what I expected.
select * from fids order by fid limit 10;

Looked into snapshot syncs. Here is how you can download the the snapshots:

Get the S3 key for the latest snapshot by calling this API: https://download.farcaster.xyz/snapshots/MAINNET/DB_SCHEMA_7/latest.json
Download the actual snapshot from: https://download.farcaster.xyz/

The problem here is that these snapshots are rocks db dumps. It means we need to restore the rocks db in memory, extract the data (eg: casts, links etc.) and store it in the our SQLite db into correct tables. Creating this pipeline seems like a big enough task in itself so I will create a new issue to discuss that.

Going to close this since it's taken care of.

repo: OpenFarcaster/teleport


text:
Can you support the post form data of object type?

when I use it for spring boot of post form data.Map is too awkward to use.
I don't want to check that those are the default parameters or parameter names.
Will the object form be better?
For example：
class UserParams implements IParams{
int age;
String name;
UserParams(String name){
//age default is 1
this(name,1);
}
UserParams(String name,int age){
name=name;
age=age;
}
}
//then Realization IParams FormEncoder

Hi,
Thanks a lot for your interesting suggestion, as I understood clearly you would like to write something like:
  @RequestLine("POST /form")
  @Headers("Content-Type: application/x-www-form-urlencoded")
  Response form (MyIParamsPojo pojo);

instead of the way it works now:
  @RequestLine("POST /form")
  @Headers("Content-Type: application/x-www-form-urlencoded")
  Response form (@Param("key1") String key1, @Param("key2") String key2);

Unfortunately, I find it a little bit confusing for Feign and contracts (JAX-RS, Spring, and others, not only Feign-default as in the example above) users, who get used to working in one way - annotation based, don't you?

May this will help you
https://github.com/OpenFeign/feign#dynamic-query-parameters

I re-write SpringFormEncoder to translate object into a Map. I know it's a little bit tricky, but it can help us to write a lot of @Param in our method parameter list. Below is a sample code:
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.ObjectMapper;
import feign.RequestTemplate;
import feign.codec.EncodeException;
import feign.codec.Encoder;
import feign.form.spring.SpringFormEncoder;
import java.lang.reflect.Type;
import java.util.Map;
import org.springframework.web.multipart.MultipartFile;

public class HelloSignEncoder extends SpringFormEncoder {

  private final ObjectMapper mapper;

  public HelloSignEncoder() {

    this(new Default(), null);
  }

  public HelloSignEncoder(Encoder delegate) {
    this(delegate, null);
  }

  public HelloSignEncoder(Encoder delegate, ObjectMapper mapper) {
    super(delegate);
    if (mapper == null) {
      mapper = new ObjectMapper();
    }
    this.mapper = mapper;
  }

  @Override
  public void encode(Object object, Type bodyType, RequestTemplate template)
      throws EncodeException {
    if (!bodyType.equals(MultipartFile.class) && !(object instanceof Map)) {
      Map<String, ?> requestBody = mapper.convertValue(object, new TypeReference<Map<String, ?>>() {
      });
      super.encode(requestBody, MAP_STRING_WILDCARD, template);
    } else {
      super.encode(object, bodyType, template);
    }
  }
}

authors: LIANGQI0811 sgyyz shenliuyang xxlabaza

repo: OpenFeign/feign-form


text:
Unexpected err=TypeError("internvl_chat isn't supported yet")

我尝试用LocalAI的AutoGPTQ backend 加载internvl-chat-v1.5-int8 量化模型，推理代码使用的是InternVL的ReadMe中提供的样例代码。在加载模型时报错：
could not load model (no success): Unexpected err=TypeError(\"internvl_chat isn't supported yet.\")

我查看了HF上的模型相关文件，internvl_chat似乎是在config.json中定义的。如下：
"model_type": "internvl_chat",

本地运行的pip依赖如下：

transformers: 4.40.1
torch: 2.1.2
torchvision: 0.16.2

请问应该如何修复？

我尝试了pip install internvl_chat===1.2.3，安装不了，好像并没有发布到pip仓库。那这么说就必须从源代码安装了吗？

你好，请问现在问题修复了吗？internvl需要从从源代码安装，感谢关注，另外AutoGPTQ backend没有支持internvl 模型，建议您使用LMDeploy。See LINK

authors: G-z-w thiner

repo: OpenGVLab/InternVL


text:
WebAPI контроллер для сервиса BlogPostManager

Требуется создать контроллер WebAPI и клиента к нему, реализующий доступ к сервису BlogPostManager
Originally posted by @Infarh in https://github.com/OpenGeekBrains/Thoughts/issues/23#issuecomment-1143871386

Делаю

Сделал)

authors: Infarh nester-a

repo: OpenGeekBrains/Thoughts


text:
Clarify status of config/initializers/new_framework_defaults_7_0.rb from upstream and/or resolve iframe prohibition

Over in #485 we discovered that we cannot use the OSM embed feature because of this setting that probihits cross-origin iframes:
https://github.com/OpenHistoricalMap/ohm-website/blob/staging/config/initializers/new_framework_defaults_7_0.rb#L111
Here's that same file when it existed upstream:
https://github.com/openstreetmap/openstreetmap-website/blob/ddb140f3877007249b8bac30dda575e56a1586f9/config/initializers/new_framework_defaults_7_0.rb
But that file is not present in the upstream master branch: https://github.com/openstreetmap/openstreetmap-website/tree/master/config/initializers
Here's where it was deleted:
https://github.com/openstreetmap/openstreetmap-website/commit/aab33eee8701be8a10d3446d36f5ad689228a236
In that commit, they also update all application defaults to Rails 7.0.
We're still on 6.1:
https://github.com/OpenHistoricalMap/ohm-website/blob/staging/config/application.rb#L24
Is it better to try to catch up, again, or to just change our defaults to allow for cross origin iframes?

Hmm, based on local testing, resolving this specific upstream variance might not actually solve our problem.
I tried changing the Rails defaults version and also deleting that new_framework_defaults file in this branch:
https://github.com/OpenHistoricalMap/ohm-website/commit/edac07e56a8efe3a1f5f84f474f38595ac2dd3c4
I still have X-FRAME-OPTIONS: sameorigin:

I guess that makes sense if the old file was a stand in for Rails 7 defaults.
So then the mystery is where in the upstream OSM code that header is being removed from this page:
https://www.openstreetmap.org/export/embed.htm

This is deploced by #485

repo: OpenHistoricalMap/issues


text:
Resolves #21

quik fix to #21
I have solved chromadb dependency error. Problem was caused by python sqlite3 standard module is linked with old SQLLte3 version. I have replaced standard python sqlite3 module with pysqlite3, which is using newer SQLLte3 >v3.35.0.
This solve the issue. All tests are passing.

btw.  Love the project , great work.
I would like to contribute cli feature - if this is ok with you guys.

repo: OpenInterpreter/aifs


text:
Developing pipeline controller

Pipelines are working in a container through snakamake workflow. It needs a controller for user configuration and data input dynamically without up and down running a container.

Version 1.0.0 is finished
It needs a spinner for loading and DAG visualization for next update

Solved conflicts for DESeq2 by using miniconda image
Celery + Redis is implemented in local controller, but docker version has an issue with Celery communication.

Resolved issues


text:
[Task]路演抢跑报名及作品评分细则

背景
按照规划, 11wd4 毕业典礼, 10wd5~11wd3 进行路演
流程

时限: 10wd5~11wd3
流程:
- 各队在此 issue 下报名路演,届时在微信群展示作品
- 每天晚上至多安排 4 个小组进行路演
- 一般路演为 7 分钟演示+ 21 分钟 QA
- 若当晚路演小组不多,可酌情增加时长
- 学员和教练对演示作品进行评分
结业: 11wd4(12月31日) 20:20 的结业典礼直播上,公布统计结果，对排名靠前的团队给予奖励

公式
总分 = github 评分（40）+ 教练评分（30）+ 学员评分（30）

github 评分（40）

作品仓库 commit line数量排名（10）
作品仓库 issue 数量排名（10）
团队成员个人 OMOOC2py commit line合计排名（10）
团队成员个人 gitbook 质量总评价排名（10）

教练评分（30）

大妈/三大区教练/陪练等

学员评分（30）

其他学员进行互评

说明：

（1）github 评分按排名计算分值，最高的10名有分值，排名第一名得10分，第二名得9分，以此类推；
（2）commit line 和 issue 数量以 10wd5 14:42时的统计为准
（3）团队成员个人 OMOOC2py commit line数以 芝麻星 统计为准

评分流程
教练/学员使用统一评分表格，一颗星代表两分，教练与学员评分后，去除最低分和最高分，计算平均分，即是教练/学员评价的最终得分。

评分表格使用麦客表单形式
当天路演结束后,放出含有当天项目的汇总评分表单
学员/教练进入学员作品互评表进行评分，样例链接
提交后,学员/教练会看到公开反馈统计图表.

注:非 OM2py 学员提交评分无效
加分
为鼓励抢先演示,特设置丰厚无比的加分项.越早演示,加分越多,务必抓住机会呐!

10wd5 路演 +15%
10wd6 路演 +10%
11wd0 路演 +7%
11wd1 路演 +5%
11wd2 路演 +3%
11wd3 路演 +0%

举例说明
假设：小小书童项目

github 评分（24）

作品仓库 commit 数量排名第六（4分）
作品仓库 issue 数量排名第三（7分）
团队成员个人 OMOOC2py commit 合计排名第五（5分）
团队成员个人 gitbook 质量总评价排名第二（8分）

教练评价平均分（24）
学员评价平均分（24）
提前3天路演,加成5%

总分=(24+24+24)*105%=75.6
报名格式
欲想抢先报名，力拔头筹,请在本 issue 下评论,格式如下

名称:
E文:
期望演示日期
说明 ~ 链接指向对应仓库 Issue
演示 ~ 视频/音频/幻灯...媒体资料下载链接

推荐使用各种云空间(百度云/7牛...)

🐙🐶

名称： 章鱼狗
E文：OctoPuppy
期望演示日期：11wd0
说明：https://github.com/OctoPuppy/Octodog/issues
演示：11wd0更新

好像早点演示分数高…占个坑先
iMatch
day6演好了

名称: 带TA回家
E文: Stray Pets Helper
期望演示日期: 11wd0
说明: https://github.com/xpgeng/straypetshelper
演示: 正在上传中...

名称：拆书智囊
E文：RIA Brian-truster
期望演示日期：11wd3
说明：https://github.com/Wangqiaoyang/RIA-Brain-truster
演示：（准备中，先报名）

名称：跑图
E文：Runmap
期望演示日期：11wd3
说明：Runmap Wiki
演示：占坑先

名称：阅读的狩猎
E文：Hunting for Great Books
期望演示日期：11wd3
说明：https://github.com/junjielizero/Hunting-for-Great-Books/issues/9

名称：我在长大
E文：babyrecord
期望演示日期：11wd3
说明：我在长大
演示：准备中

名称：买房推荐系统
E文：House Buy Recommend
期望演示日期：11wd3
说明：待更新
演示：待更新

动作慢了... 周三能加一个吗？
名称：麦宝
E文：MIPE
期望演示日期：11wd3
说明：待补

名称：网络遗嘱
E文：whenmgone
期望演示日期：11wd3
说明：仓库
演示：http://pan.baidu.com/s/1i4w0qlJ

名称：社群数据库
E文：communitydata
期望演示日期：11wd3
github地址
https://github.com/jameszhou89/communitydata/blob/master/cdata1/index.wsgi
开发记录
https://jameszhou89.gitbooks.io/moocpy2/content/project on the run.html

authors: Wangqiaoyang aJiea cnfeat jameszhou89 junjielizero liangchaob liangpeili picklecai shawn0lee0 sunoonlee xpgeng yondjune


text:
极简交互式日记系统开发记录

作业是周日晚上匆匆做完的，并且私自加了一些大妈没有提到的东西。卡片中提到的中文参数和中文内容，应该是跟编码格式或者UnicodeError相关的坑，环境是Mac + Python 2.7.10，没有撞坑。

代码下载：0wex1.zip
文档：README.md

本周练习题目公布在芝麻星，要求开发一个简易的日记系统，连夜做完，特来补充文档。题目要求如下：

本周整体任务概述:

完成一个极简交互式日记系统,需求如下:

一次接收输入一行日记
保存为本地文件
再次运行系统时,能打印出过往的所有日记

时限: 0wd4~1wd3
发布: 发布到各自仓库的 _src/om2py0w/0wex1/ 目录中
指标:

包含软件使用说明书: README.md
能令其它学员根据说明书,运行系统,完成所有功能

设计思路
先根据具体功能需求，分析需要完成什么功能：

一次接收输入一行日记

需要支持用户从键盘输入，最好的方法莫过于调用raw_input('> ')，函数的返回结果存入变量input中，等待后续处理。

保存为本地文件

用户输入的内容需要保存到文件中，因此涉及文件的基本操作。

再次运行系统时，能够打印出过往所有日记

这个功能涉及文件读取，将读取到的文件内容全部打印到屏幕。
由于觉得只是实现这几条小功能过于简陋，因此自作主张，设计增加了脚本其他功能，例如：

增加更多的提示信息，告诉用户当前正在打印历史信息、现在可以接受输入、如何退出脚本等
记录日记过程中，添加while死循环，保证用户在输入exit并回车之前，可以一直输入下去
因为前几天写一个解析 XML 文件的脚本工具时，用到了 Python 自带的logging模块，决定将写文件的操作直接交给logging模块来处

这是初期的运行效果：

第一轮迭代
没弄明白 DAMA 所说的容器是什么东东，就自作主张拆分了脚本，run.py作为运行入口，main.py作为一个module导入到其中。第一次这么玩，竟然稀里糊涂成功了。
第二轮迭代
使用sys模块的sys.argv获取脚本运行时传入的变量，并判断参数个数。在参数个数小于1时，打印usage信息：

脚本运行后，会根据给出的文件名查找历史日记所在的文件，如果文本不存在，打印提示信息；如果文件存在，读取文件内容并打印到屏幕。
第三轮迭代
DAMA 的要求中提到读写中文、参数中文，直接运行脚本发现功能正常不报错，暂且先通过，明天再研究编码问题。因为上周写工具解析 XML 的时候，遇到几次UnicodeError，感觉这个迭代的坑在编码问题。
第四轮迭代
要求做到持续交互，输入指定命令退出。但是这个功能已经在最开始的时候被我擅自主张得给做了=。=！

明天我再重构一把功能好了，用户在写日记的时候可以随时敲history命令，查看整个日记内容。
第五轮迭代
直接借助logging模块，将日记内容逐行写入文件中，每行带有对应的时间戳，而文本的换行问题也不需要关心了......
重构

合并了run.py和main.py，不再拆成两个；
用户在输入日记期间，支持history命令，打印日记文件中目前为止的所有日记内容；

2015-10-20 21:45 GMT+08:00 faketooth notifications@github.com:

作业是周日晚上匆匆做完的，并且私自加了一些大妈没有提到的东西。卡片中提到的中文参数和中文内容，应该是跟编码格式或者UnicodeError相关的坑，环境是Mac + Python 2.7.10，没有撞坑。

先点赞,然后
嗯哼?! 已经完成48小时现在才释放笔记?!

代码下载：0wex1.zip

严令要沉浸 github 生态
为何要这么折腾 git 仓库!?
给仓库链接不就好了!?
在版本仓库中应该放什么文件?!

这是一个基础又严肃以及非常细思恐极的问题
涉及:

什么是版本
什么是版本仓库
仓库的使命是什么
什么是工程文件
....

请 24 小时以内认真回答,并形成私人教程章节公开出来

文档：README.md
本周练习题目公布在芝麻星，要求开发一个简易的日记系统，连夜做完，特来补充文档。题目要求如下：
本周整体任务概述:
完成一个极简交互式日记系统,需求如下:

有任务要求的陈列以及分析理解
这是一个极好的习惯

对应的是工程中的需求分析阶段
不能缺少!
非常重要!

...

由于觉得只是实现这几条小功能过于简陋，因此自作主张，设计增加了脚本其他功能，例如：

大爱这种自作主张!
嘦注意,先完成看不上眼的功能

然后看看自个儿在允许的时间里能将功能扩展到什么程度!?
当然,过程中的所有折腾都应该记录下来
并自个儿总结:

哪些很容易就实现了
哪些相反
这种和自个儿的目测情况不匹配的情况,多数是怎么发生的?!
原因何在?
自个儿在什么领域的目测很准? 什么领域是相反?

为什么?
如何改进?!
哪种改进方式最合适自个儿?!
为什么?
这种经验能复用在其它人身上嘛?!
...

...

第一轮迭代

有证据嘛!?
迭代过程都有版本历史嘛?!
代码是越来越少,还是越来越多?
功能的增加,代码必须增加嘛?
为什么?
能更加优雅些嘛?
有什么好处?!
...

—
Reply to this email directly or view it on GitHub.

第一篇用户体验：

run 的很好！
命令行最好 有一个默认路径 。提示 'Run the script like this:\n\tpython main.py <history.log>'  虽然可以，但每一次打文件名有些复杂。可以 参考 sluren
直接给一个默认的 文件，在没有 argv[1] 的情况下已经可以默认执行。
再次赞，学习了！

提个意见，个人代码和想法最好放在自己仓库的issue下。
参考我的https://github.com/wzzlj/OMOOC2py/issues/3
放在这里的话一两个人还好，如果160多个学员每个人都把自己的issue都放在这的话...

@ZoomQuiet 求继续虐：极简交互式日记系统开发复盘

@WhaleChen 多谢建议，马上把这个功能加进去
@wzzlj 主要是受到@zoejane的影响，以后单独@大妈找虐

@wzzlj @faketooth @OpenMindClub/py2staff
喵，其实我也很纠结，是不是不该单开issue。
主要是有时候想要大家一起讨论，不仅仅是自己记录或者是让助教指导，
有尝试去翻大家写的gitbook看， 不过一百多号人也翻不过来呢 T_T
微信有时候刷不过来，芝麻星也是自己和自己玩，就这里还是一个大家聚集的地方了，
好不容易大家有机会在一个班里学习，不交流一下感觉好浪费的说.....

On Wed, Oct 21, 2015 at 1:17 AM, faketooth notifications@github.com wrote:
...

@wzzlj 主要是受到@zoejane的影响，以后单独@大妈找虐

得咸鱼不若得渔哪!

俺在吐糟其它学员时,你也同样可以问问自个儿相同的问题
俺的问题出发点一直是单纯的,没有变化的:
好奇心!
认真!
想!

—
Reply to this email directly or view it on GitHub.

并入
[1w]学员任务 提交处 · Issue #41 · OpenMindClub/OMOOC2py

authors: WhaleChen ZoomQuiet faketooth wzzlj zoejane


text:
Autolinking for react-native-webview fails

NS 8.8.1
package.json:
    "@open-native/core": "^2.0.0",
    "react-native-webview": "^13.6.3",
    "@ammarahmed/nativescript-webview": "^1.0.9",

I'm receiving this error during ns run ios, while ns run android is doing fine:
 ✘ ns run ios
Searching for devices...
[@open-native/core/hooks/before-prepare.js] Autolinking React Native ios native modules...
[@open-native/core/hooks/prepare-ios.js]: Writing react-native-webview.podspec
Error: Command failed: pod ipc spec /Users/mario/Development/VSCodeProjects/my-app/node_modules/react-native-webview/react-native-webview.podspec

    at ChildProcess.exithandler (node:child_process:419:12)
    at ChildProcess.emit (node:events:513:28)
    at maybeClose (node:internal/child_process:1091:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:513:28)
    at Pipe.<anonymous> (node:net:320:12) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'pod ipc spec /Users/mario/Development/VSCodeProjects/my-app/node_modules/react-native-webview/react-native-webview.podspec',
  stdout: '\n' +
    '[!] Invalid `react-native-webview.podspec` file: else without rescue is useless\n' +
    '  else\n' +
    '  ^~~~\n' +
    "/Users/mario/Development/VSCodeProjects/my-app/node_modules/react-native-webview/react-native-webview.podspec:44: syntax error, unexpected `end', expecting end-of-input.\n" +
    '\n' +
    ' #  from /Users/mario/Development/VSCodeProjects/my-app/node_modules/react-native-webview/react-native-webview.podspec:22\n' +
    ' #  -------------------------------------------\n' +
    ' #  \n' +
    ' >    else\n' +
    ' #      if new_arch_enabled\n' +
    ' #  -------------------------------------------\n',
  stderr: ''
}

i don't see exactly why this happend, the podspec looked like this:
  else
    if new_arch_enabled

After doing npm remove react-native-webview the right code of v13.6.3 was restored and now it is working.

repo: OpenNative/open-native


text:
oneflow and oneflow-template ignore the no_proxy environment variable

Author Name: Laurent Grawet (Laurent Grawet)
Original Redmine Issue: 3797, https://dev.opennebula.org/issues/3797
Original Date: 2015-05-06
Original Assignee: Javi Fontan

Hi,
This is related to #3796
oneflow and oneflow-template ignore the no_proxy environment variable
no_proxy="localhost,127.0.0.0/8"

and try to connect to oneflow
"http://localhost:2474/service"

through proxy (http_proxy environment variable).
The proxy is used to connect marketplace.
Thanks for your help,
Laurent

Original Redmine Comment
Author Name: Ruben S. Montero (@rsmontero)
Original Date: 2016-09-06T15:18:38Z

It seems that the Ruby Net::HTTP does not support no_proxy env variable.

This variable is not longer available in OpenNebula, so closing this ticket.

repo: OpenNebula/one


text:
Possible UI Change only

Would be nice to see how many Pokemon you have in total for the ones you remove in the UI.
E.g: Are you sure you want to transfer this Pokemon?
to: Are you sure you want to transfer this Pokemon? You have 5 Pidgy's left
If this isn't the right repo to open an issue for this on, please let me know. 👍

you you recreate this into the openpogoui project?

authors: lifeiscontent nicoschmitt

repo: OpenPoGo/OpenPoGoBot


text:
Maximize the event coverage rate

... by identifying problematic patterns in the quarantined data and introducing solution logic into the CourtCalendarExtractionProcess.

for current stats, see https://utah-court-calendar-service.herokuapp.com/court_calendars
goal is to maximize the Page parse rate and the Event coverage rate, but most importantly the dismal Event parse rate


text:
Support http3

@peb-adr I would like to test http3. Caddy 2.6 supports it. Could you install this version on a test service and give me direct access? (without any other proxy in between)

I opened this branch as a experiment. But I realize now, that the caddy server does not support old versions. So I think we should merge this in any case

@ostcar please don't open branches on the main repo, but instead in your own branch.

@ostcar please don't open branches on the main repo, but instead in your own branch.

Sorry. I have probably misconfigured my local environment. I will fix this, create a new PR and delete this one (with the branch).

thanks - same goes for https://github.com/OpenSlides/OpenSlides/pull/6554 btw ;)

I created a new PR that uses an external branch: https://github.com/OpenSlides/OpenSlides/pull/6558

authors: jsangmeister ostcar

repo: OpenSlides/OpenSlides


text:
Fix is_present Checkbox

Current behaviour:
If the present checkbox is activated the activation animation appears tw o times
Recreation:

navigate to participants
activate the present checkbox
animation should be there twice

Wanted behaviour:
the activation animation should only be displayed once

I can reproduce it. This issue is still a thing. But I have no idea, why.

@Elblinator Please check if this issue still exists with the material update

authors: Elblinator bastianjoel reiterl

repo: OpenSlides/openslides-client


text:
Valve settings with values less than zero are considered invalid

The following lines of code appear to prevent any valve from having a setting value that is less than 0.0. https://github.com/OpenWaterAnalytics/EPANET/blob/9707075a5a8ad661c2880e108d69551a725aafcf/src/epanet.c#L3888-L3889
Pressures in Epanet appear to all be gauge pressures because a tank with 2 metres of water inside it is evaluated to have 2 m of pressure at the node. In the standalone version of Epanet, valves can have negative settings without issue and I have used PRVs to model a process that brings the pressure bellow atmospheric (i.e. less than 0 metres of pressure).
There doesn't appear to be a field for inputting what atmospheric pressure is in the standalone Epanet either but shouldn't the actual lower bound for pressure related valves be vacuum (approx. -10 m)? Standalone Epanet also only seems to complain about negative pressures if they are on a demand node and seemingly allows pressures that are bellow a vacuum.
This is causing issues for me when interfacing with Epanet through the Epanet-Matlab-Toolkit because the .inp file will have PRVs with settings less than 0. Hydraulic analysis will execute without issue. An error will only be thrown if the original valve setting is attempted to be reapplied (this is necessary if the valve is opened or closed and needs to be reactivated).

I submitted a PR that will allow one to specify a negative pressure setting for a PRV using the Toolkit, so that it maintains consistency with the way an input file is processed. I can't say how soon this update will make it into the Matlab library. In the meantime would it be possible to lower the elevation of the PRV node by the amount of the negative setting so that a setting of 0 could be used instead?

authors: LRossman stephen-young

repo: OpenWaterAnalytics/EPANET


text:
Broken dependency coming from webpack

When I try to run my tests, i get this:
Error: Cannot find module 'scrypt-shim'
This appears to come from web3: ethereum/web3.js#3210
This library has a fixed webpack version 1.2.2. Updating the version or making it a peer dependency should resolve this issues.

He @dmihal ! Thanks for reporting the issue. I am a bit confused. You mentioned webpack a couple times in your post but test-env doesn't use webpack at all. Do you mean web3 library instead?

Thanks @ylv-io, that seems to be a typo on my part. I've changed it to web3.

Hi @dmihal!  I’m sorry that you had this issue.  We would need more information so that we can reproduce it.
Can you advise the operating system, node and npm versions that you are using? Any other details that might help us reproduce it would be appreciated!
I tried reproducing with a simple environment on WSL2 but didn't get any errors.
This was also reported by another community member in the community forum:
https://forum.openzeppelin.com/t/cannot-find-module-scrypt-shim-when-using-openzeppelin-test-environment/3147

Can this issue be reproduced in Node 10 or 12?

I wasn't able to reproduce in node v10.21.0 or node v12.18.2
I could only reproduce in node 11 which is no longer a node supported release.

Okay. Thank you! Closing this issue then.

Hi, I am getting the same error. Node v10.15.3
Any fix yet

Having the same issue with Node v10.6.0

@lyledavids @arsenyjin Can you try upgrading your Node version to 10.21.0?

authors: abcoathup arsenyjin dmihal frangio lyledavids ylv-io


text:
FEATURE Improving the Projects page.

The projects page user experience is not good at all.

This can be improved.
Instead of display this dropdown we can display filters on top
Something like this

And we can show all the projects by default and allow the user to filter the projects by clicking on any of the filter buttons.

@AnirudhPanda I would like to work on this

repo: Opentek-Org/opentek


text:
RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cpu and cuda:0! (when checking argument for argument index in method wrapper_CUDA_gather)

when you meet this problem, you have to check your transformers first. Further, you may need to change the following code:
file:   transformers/src/transformers/models/llama/modeling_llama.py
change
def apply_rotary_pos_emb(q, k, cos, sin, position_ids):
    gather_indices = position_ids[:, None, :, None]  # [bs, 1, seq_len, 1]
    gather_indices = gather_indices.repeat(1, cos.shape[1], 1, cos.shape[3])
    cos = torch.gather(cos.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
    sin = torch.gather(sin.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
    q_embed = (q * cos) + (rotate_half(q) * sin)
    k_embed = (k * cos) + (rotate_half(k) * sin)
    return q_embed, k_embed

to
def apply_rotary_pos_emb(q, k, cos, sin, position_ids):
    gather_indices = position_ids[:, None, :, None]  # [bs, 1, seq_len, 1]
    gather_indices = gather_indices.repeat(1, cos.shape[1], 1, cos.shape[3])
    cos = cos.to('cuda')
    sin = sin.to('cuda')
    cos = torch.gather(cos.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
    sin = torch.gather(sin.repeat(gather_indices.shape[0], 1, 1, 1), 2, gather_indices)
    q_embed = (q * cos) + (rotate_half(q) * sin)
    k_embed = (k * cos) + (rotate_half(k) * sin)
    return q_embed, k_embed

Actually, it just specify the GPU as the hardware. I hope this is useful.

Thanks for your notes. It is really helpful.

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks

authors: seanxuu shizhediao

repo: OptimalScale/LMFlow


text:
dynamic form error for db564d1670854459b176459b432833202f98e157

i have area text which was good before this commit

@sfmskywalker

repo: OrchardCMS/Orchard