text:
Trying to bring sympy to the browser using nuitka + emscripten

As the title tells , the aim is to compile and  run sympy on web browser , two monster tools are available for the mission , nuikta and emscripten ( i have done very deep search and tried all alternatives including brython ...but i landed here now , and i put this now as challenge for myself )
I have been trying to do this  all day, with no luck, sympy didnt compile from python to c , i tested nuikta with python tornado library and it worked perfectly

python -m nuitka --output-dir=tornado --module  --show-memory   --generate-c-only  --include-module=tornado   --recurse-all  C:\Users\USER\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\tornado

gave these files :
    module.colorama.ansi.c     module.colorama.ansitowin32.c     module.colorama.c     module.colorama.initialise.c     module.colorama.win32.c     module.colorama.winterm.c     module.tornado.auth.c     module.tornado.autoreload.c     module.tornado.c     module.tornado.concurrent.c     module.tornado.curl_httpclient.c     module.tornado.escape.c     module.tornado.gen.c     module.tornado.http1connection.c     module.tornado.httpclient.c     module.tornado.httpserver.c     module.tornado.httputil.c     module.tornado.ioloop.c     module.tornado.iostream.c     module.tornado.locale.c     module.tornado.locks.c     module.tornado.log.c     module.tornado.netutil.c     module.tornado.options.c     module.tornado.platform.asyncio.c     module.tornado.platform.auto.c     module.tornado.platform.c     module.tornado.platform.caresresolver.c     module.tornado.platform.interface.c     module.tornado.platform.posix.c     module.tornado.platform.twisted.c     module.tornado.platform.windows.c     module.tornado.process.c     module.tornado.queues.c     module.tornado.routing.c     module.tornado.simple_httpclient.c     module.tornado.tcpclient.c     module.tornado.tcpserver.c     module.tornado.template.c     module.tornado.test.asyncio_test.c     module.tornado.test.auth_test.c     module.tornado.test.autoreload_test.c     module.tornado.test.c     module.tornado.test.concurrent_test.c     module.tornado.test.curl_httpclient_test.c     module.tornado.test.escape_test.c     module.tornado.test.gen_test.c     module.tornado.test.http1connection_test.c     module.tornado.test.httpclient_test.c     module.tornado.test.httpserver_test.c     module.tornado.test.httputil_test.c     module.tornado.test.import_test.c     module.tornado.test.ioloop_test.c     module.tornado.test.iostream_test.c     module.tornado.test.locale_test.c     module.tornado.test.locks_test.c     module.tornado.test.log_test.c     module.tornado.test.netutil_test.c     module.tornado.test.options_test.c     module.tornado.test.process_test.c     module.tornado.test.queues_test.c     module.tornado.test.resolve_test_helper.c     module.tornado.test.routing_test.c     module.tornado.test.runtests.c     module.tornado.test.simple_httpclient_test.c     module.tornado.test.tcpclient_test.c     module.tornado.test.tcpserver_test.c     module.tornado.test.template_test.c     module.tornado.test.testing_test.c     module.tornado.test.twisted_test.c     module.tornado.test.util.c     module.tornado.test.util_test.c     module.tornado.test.websocket_test.c     module.tornado.test.web_test.c     module.tornado.test.windows_test.c     module.tornado.test.wsgi_test.c     module.tornado.testing.c     module.tornado.util.c     module.tornado.web.c     module.tornado.websocket.c     module.tornado.wsgi.c     module.tornado._locale_data.c     module.__internal__.c     __constants.c     __frozen.c     __helpers.c     __helpers.h
the exact same command for sympy didn't work , gave the following :

Nuitka:INFO:Memory usage changed loading module 'sympy': 324.00 KB (331776 bytes)
Traceback (most recent call last):
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka_main_.py", line 184, in
main()
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka_main_.py", line 177, in main
MainControl.main()
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\MainControl.py", line 759, in main
main_module = createNodeTree(filename=filename)
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\MainControl.py", line 137, in createNodeTree
plugin_filename=module_filename, module_package=module_package
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\importing\Recursion.py", line 294, in checkPluginSinglePath
reason=reason,
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\importing\Recursion.py", line 166, in recurseTo
reason=reason,
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\importing\Recursion.py", line 82, in _recurseTo
is_shlib=module_kind == "shlib",
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\tree\Building.py", line 941, in decideModuleTree
source_ref=source_ref,
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 598, in init
source_ref=source_ref,
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\nodes\ModuleNodes.py", line 274, in init
setLocalsDictType(self.module_dict_name, "module_dict")
File "C:\Users\USER\AppData\Local\Programs\Python\Python37-32\lib\site-packages\nuitka\nodes\LocalsScopes.py", line 31, in setLocalsDictType
assert locals_dict_name not in locals_dict_handles, locals_dict_name
AssertionError: globals_sympy

There is alot of questions about that AssertError on the web appearing to many people , with no answers , in"AssertionError: globals_sympy" , i wonder why "sympy" appears within the variable name
and this command  :

C:\Users\USER\Desktop\dev\HelloWorld>python -m nuitka --output-dir=sympypp --no-pyi-file --include-package=sympy --module --jobs=4 --show-scons --show-memory --show-progress  --generate-c-only --follow-imports  C:\Users\USER\AppData\Local\Programs\Python\Python37-32\Lib\site-packages\sympy

gave the exact same error message
my questions :
1-what is that message
2-how to get rid of it
3-how can i get a c source code that i can later compile with emscripten and use sympy from javascript with same api names ( if possible that would be great , litterly hundreds of people on the net just want to run sympy on browser, and i would like to do it for my work project so that i won't have to create a python server )
i am using python 3.7 and last version on nuikta , win 64 , 8GB ram
Thanks alot for the great library , hats down and respect

Out of curiosity, did you ever manage to get it to work?

authors: dhiahassen stefnotch


text:
Imageio / easyOCR

added pillow implicit dependency for imageio
added missing datafiles for easyocr
fixes #2659

This goes right into 2.0 release

source: gharchive/pull-request

repo: Nuitka/Nuitka

license_type: permissive

license_source: github-api


text:
How can I call up the panel without using the shortcut?

My shortcut is being used, and I would like to know how to click to open it.

wait, i don't understand,  if you want a way to change the shortcut, i will implement it in the future for sure, for now is fixed to alt +z or alt+x

source: gharchive/issue

license: MIT


text:
SDK doesn't work with Next

It is currently impossible to build a Next project and implement the SDK; the build function won't work.
Error
TypeError: Cannot read properties of undefined (reading 'bigint')
    at Span.stop (/Users/user/Desktop/demo/next-hyperchain/node_modules/next/dist/trace/trace.js:98:48)
    at Span.traceAsyncFn (/Users/user/Desktop/demo/next-hyperchain/node_modules/next/dist/trace/trace.js:156:18)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error: Child can only be used on a forked process
    at reportError (/Users/user/Desktop/demo/next-hyperchain/node_modules/next/dist/compiled/jest-worker/processChild.js:1:1811)
    at reportClientError (/Users/user/Desktop/demo/next-hyperchain/node_modules/next/dist/compiled/jest-worker/processChild.js:1:1611)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Version
0.2.1
Steps to reproduce

npx create-next-app@latest
cd my-app
npm run build -> works
npm install @nuklai/hyperchain-sdk
Add the sample code from the README (const sdk = new HyperchainSDK…) into src/app/page.tsx
npm run build -> fails

Initial Issue: bigint and Related Errors
When integrating the @nuklai/hyperchain-sdk into a Next.js project, you encountered errors related to bigint and other issues. These problems arose primarily because:

Server-Side Rendering (SSR) vs. Client-Side Rendering (CSR):

Next.js supports both SSR and CSR. When code that relies on browser-specific features (like bigint or certain polyfills) is executed on the server, it can cause errors since these features are not available in the Node.js environment used for SSR.

Polyfills:

The @nuklai/hyperchain-sdk relies on certain polyfills (buffer, crypto, stream, etc.) that are available in the browser but not natively in Node.js.

Solution Overview
To resolve these issues, the main approach was to ensure that the @nuklai/hyperchain-sdk is used only on the client side and to properly handle browser-specific features. This was achieved by:

Marking the Component as a Client Component:

Adding "use client"; at the top of the component file to ensure that the component and its hooks are treated as client-side components.

Dynamic Imports:

Dynamically importing the @nuklai/hyperchain-sdk within a useEffect hook to ensure it runs only in the client-side environment.

Detailed Solution Steps
Here’s the detailed step-by-step explanation:
1. Marking the Component as a Client Component
Adding "use client"; at the top of your page.tsx file ensures that the component is treated as a client component by Next.js, preventing it from being rendered on the server.
Code:
'use client';

This directive tells Next.js to execute the component entirely on the client side, avoiding SSR issues with browser-specific code.
2. Dynamic Imports and Initializing the SDK
Using dynamic imports ensures that the SDK is only loaded in the browser environment. This prevents SSR-related errors since the SDK is not executed on the server.
Code:
'use client';

import { useEffect, useState } from 'react';
import { HyperchainSDK, common } from '@nuklai/hyperchain-sdk';
import Image from 'next/image';

// Define the state type for the SDK instance and network info
type HyperchainSDKInstance = InstanceType<typeof HyperchainSDK>;

export default function Home() {
  const [sdk, setSdk] = useState<HyperchainSDKInstance | null>(null);
  const [networkInfo, setNetworkInfo] =
    useState<common.GetNetworkInfoResponse | null>(null);

  useEffect(() => {
    const initSDK = async () => {
      const { HyperchainSDK } = await import('@nuklai/hyperchain-sdk');
      const initializedSdk = new HyperchainSDK({
        baseApiUrl: 'https://api-devnet.nuklaivm-dev.net:9650', // Node API URL
        blockchainId: 'JopL8T69GBW1orW4ZkJ1TBRzF97KXaY8e64atDA1v2M12SNqm' // Blockchain ID
      });
      setSdk(initializedSdk);
      const networkInfo = await initializedSdk.rpcService.getNetworkInfo();
      setNetworkInfo(networkInfo);
    };

    if (typeof window !== 'undefined') {
      initSDK();
    }
  }, []);

  return (

      {networkInfo && (

Network Information

            Network ID: {networkInfo.networkId}

            Subnet ID: {networkInfo.subnetId}

            Chain ID: {networkInfo.chainId}

      )}
}

Explanation of the Solution

'use client';:

This directive ensures that the entire component is treated as a client-side component by Next.js, preventing any server-side rendering for this component and avoiding SSR-related issues with browser-specific code.

Dynamic Import of SDK:

The SDK is dynamically imported within the useEffect hook, ensuring that it is loaded only in the browser environment.
This prevents SSR issues because the SDK and its dependencies (like bigint) are not loaded on the server.

Fetching and Displaying Network Info:

After initializing the SDK, it fetches the network information using the rpcService.getNetworkInfo() method.
The fetched network information is stored in the state and displayed at the top of the page.

By making these changes, you ensured that the @nuklai/hyperchain-sdk works correctly in your Next.js project without encountering SSR-related issues.

authors: hyperantoine kpachhai

repo: Nuklai/hyperchain-js-sdk


text:
Does it support deduped tracking?

Hey, this looks pretty close to what I need, but I am not sure how it would deal with an immutable object, that is replaced for every change.
To give you an example: a (non-Ember) library is returning an immutable object, that drives the UI state. On every change of the application state, that library is asked to return a new object, which is then assigned to a tracked property, to update the UI. That even works without any "deep" tracking, just plain @tracked, as the whole object is replaced. But this causes all parts of the UI to rerender, even those where the actual value didn't change.
Some pseudo code to illustrate the example:
class GlobalStateService extends Service {
  @tracked globalState = { foo: 0, bar: 0};

  @action
  updateFoo() {
    // instead of mutating the foo property, we simulate the immutable behavior by assigned a new POJO
    this.globalState = { ...this.globalState, foo: this.globalState.foo + 1 };
  }
}

When I consume both globalState.foo and globalState.bar in a template, after calling updateFoo() both would re-render, as the whole globalState has been updated. But what I would like to see is that only the parts depending on globalState.foo re-render, but those depending on globalState.bar don't, as the actual value didn't change.
That's kinda the behavior of @dedupeTracked, but with deep tracking.
I assume that's not what ember-deep-tracked currently does, right? Do you think it would be feasible to support that?

Perhaps!
Idk if it should be default or a new decorator.
I imagine we'd want to pair with immer or some other immutability-optimizing library?

authors: NullVoxPopuli simonihmig

repo: NullVoxPopuli/ember-deep-tracked


text:
The web app is not getting rendered yet

Hey Ben,
I tried deploying my build several times but I'm still getting slow loading for unknown reasons.
The build in dev mode took seconds but on production mode, the one being deployed on vercel and netlify are loading super slowly.
And not just mine, I forked your master branch and deployed it using vercel, but the issue still persists.
This is the maximum content loaded after waiting for 10 minutes.

Suggestions pls????

Thanks for reporting this I was actually not aware that the latest production build was broken.
I've found the cause. Last night when fixing #54 I also upgraded the Next.js version to 12.2.3 & local development server seemed to work fine so I assumed it was a simple upgrade.
However, after running a local production build it replicates the error you have shown above. The reason is because of preact.
In production builds react is replaced with preact & it seems the newer versions of next don't like the current / old method I have implemented. For now I have disabled / commented out for now. I may look at adding it back in again later on using the official next plugin instead but for now just deployed a fix for it.

authors: NuroDev sambhavsaxena


text:
fix makeForwardMsg error

#28

thanks

authors: Nwflower Simplxss

repo: Nwflower/auto-plugin


text:
How to describe urls with ordered indexed array?

Here is an example url that I tried to describe with OpenAPI, but failed:
http://example.com/api/items?filter[0][field]=value1&filter[0][type]=gte&filter[0][x]=490&filter[1][field]=value2&filter[1][type]=lte&filter[1][x]=200&filter[2][field]=value3&filter[2][type]=between&filter[2][x]=100&filter[2][y]=300
Some additional notes: we have an array of filters that should accept some values. The parameters can be represented in JSON like this:
[
  {
    "field": "value1",
    "type": "gte",
    "x": 490
  },
  {
    "field": "value2",
    "type": "lte",
    "x": 200
  },
  {
    "field": "value3",
    "type": "between",
    "x": 100,
    "y": 300
  }
]

With this type of query parameters indexing we get natural arrays in PHP without any additional "movements" using something like this:
parse_str('filter[0][field]=value1&filter[0][type]=gte&filter[0][x]=490&filter[1][field]=value2&filter[1][type]=lte&filter[1][x]=200&filter[2][field]=value3&filter[2][type]=between&filter[2][x]=100&filter[2][y]=300', $result);
var_dump($result);
/** output:
array(1) {
  ["filter"]=>
  array(3) {
    [0]=>
    array(3) {
      ["field"]=>
      string(6) "value1"
      ["type"]=>
      string(3) "gte"
      ["x"]=>
      string(3) "490"
    }
    [1]=>
    array(3) {
      ["field"]=>
      string(6) "value2"
      ["type"]=>
      string(3) "lte"
      ["x"]=>
      string(3) "200"
    }
    [2]=>
    array(4) {
      ["field"]=>
      string(6) "value3"
      ["type"]=>
      string(7) "between"
      ["x"]=>
      string(3) "100"
      ["y"]=>
      string(3) "300"
    }
  }
}
**/

So, this is not something exotic, this is a normal php-style query uri. But unfortunately it seems OpenAPI just doesn't support it.

@denisvmedia can you please clarify what you mean exactly by "OpenAPI just doesn't support it".
OpenAPI itself is just a spec, but your issue seems to be related to a piece of tooling. If that is the case, which tool doesn't work for your use case?
If you're just having trouble to describe your endpoint operation in your OpenAPI document, can you at least include what you have tried, and what you need more help with?

OK, in other words, the spec doesn't take care of this case. So, it's not about the tool. And no, I can't tell what I tried, just because I don't know how to do that according to the spec.

@denisvmedia you are saying that you want OpenAPI to describe taking that blob of JSON and producing that query string with the square brackets and stuff?
Alternatively, what part of the OpenAPI spec do you think should be helping you with this but does not?

@handrews I'm saying I'm trying to describe the URL arguments. JSON stuff was an example how the arguments should have been treated. As of the part of the OpenAPI spec, I think it's data formats section.

authors: denisvmedia handrews mario-d-s

repo: OAI/OpenAPI-Specification


text:
Confusing documentation on data location

This is more of an UX issue, I suppose. In https://ocr-d.de/en/models#where-is-the-data the docs say:

In Docker though, $XDG_CONFIG_HOME=$XDG_DATA_HOME/ocrd-resources=/usr/local/share/ocrd-resources gets symlinked to /models for easier volume handling (and persistency).

While I was trying to debug OCR-D/ocrd_all#413, I read this and thought it was garbled. It is not, I just didn't comprehend it. I suggest changing it to something more readable, e.g.:

In Docker though, $XDG_CONFIG_HOME (set to $XDG_DATA_HOME/ocrd-resources, which ultimately is /usr/local/share/ocrd-resources) gets symlinked to /models for easier volume handling (and persistency).

Do the $XDG_ variables matter here at all?

Good idea! Would you be willing to submit a PR for this (and similar stumbling points)?

Do the $XDG_ variables matter here at all?

One could of course set XDG_CONFIG_HOME=/models in the Dockerfile, but we really want to allow the user overriding these variables (at runtime or in a derived Dockerfile).

Good idea! Would you be willing to submit a PR for this (and similar stumbling points)?

Will do. The only other thing I encountered so far (besides our METS caching bug) was the permission problem on /models (OCR-D/ocrd_all#413, and, somewhat connected the corresponding error message).

authors: bertsky mikegerber

repo: OCR-D/ocrd-website


text:
Validation Errors not displayed

Expected Behaviour
Errors found in validation are listed in a scrollable panels at the bottom of the page
https://relishapp.com/odi-australia/data-curator/docs/tools/validate-table
Current Behaviour
No errors are listed
Panel isn't scrollable

Steps to Reproduce

Open Data Curator using the icon
Enter data
Enter Column Properties that convict with the data
Validate

Your Environment

Data Curator version 0.3.3
Operating System Windows 7

Confirmed now working on Windows 7

repo: ODIQueensland/data-curator

license: mit

license_source: bigquery


text:
can not insert a table with "Inf" in sql server, this makes some tests to fail in sql server

tagging for awareness @edward-burn @nmercadeb

fixed

authors: catalamarti edward-burn

repo: OHDSI/CohortConstructor


text:
Segmentations panel is not being updated after selecting another series

Bug Report
If user opens the Segmentations panel and selects another series, the panel is not being updated. The user has to perform a second action to see the updated panel.

Steps to Reproduce:

Go to study: https://viewer-dev.ohif.org/viewer/1.2.826.0.1.3680043.2.1125.1.99615878007501689887866317012655114
Open the Segmentations panel and verify that the panel has no segments
Select 1st thumbnail in the Series list (it has 1 segment)
Verify that the Segmentations panel was not updated and still empty
Click on Measurements button
Click again on Segmentations button
Verity that the Segmentations panel was updated

Expected Result:

When user selects a different Series, the Segmentations panel should be updated to display the correct information related to that series.

Fixed here: https://github.com/OHIF/Viewers/pull/1685.

authors: igoroctaviano mirnasilva

repo: OHIF/Viewers


text:
tests: enable datalink/defrag tests for 6.0.x

Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket:

These should pass now that Suricata backport was merged, could you rebase it to rerun CI ?

Merged in #1779, thanks!

authors: catenacyber victorjulien

repo: OISF/suricata-verify


text:
🛑 Intranet is down

In cb2babe, Intranet (https://intranet.one.org) was down:

HTTP code: 502
Response time: 9095 ms

Resolved: Intranet is back up in b185a07.


text:
🛑 ONE Against Poverty UK is down

In d5ec6c5, ONE Against Poverty UK (https://www.oneagainstpoverty.org.uk) was down:

HTTP code: 503
Response time: 201 ms

Resolved: ONE Against Poverty UK is back up in 87ed03e.


text:
Feature/filter overview

What
Created the filter overview and age dimension journey using stubbed data.
How to review
Requires the "feature/filter-overview" branches on the following repo's (which also need a code review):
dp-filter-dataset-controller - https://github.com/ONSdigital/dp-frontend-filter-dataset-controller/tree/feature/filter-overview
dp-frontend-models - https://github.com/ONSdigital/dp-frontend-models/tree/feature/filter-overview
dp-frontend-renderer - https://github.com/ONSdigital/dp-frontend-renderer/tree/feature/filter-overview
sixteens - https://github.com/ONSdigital/sixteens/tree/feature/filter-overview
Run the services and check that the page displays and shows dimensions and filters.
Go to http://localhost:20001/jobs/12345/dimensions/
Check the filter overview shows correctly. Click the age dimension filter and check the page (currently non functional). Click the "Add from list" link and check the page displays correctly.
Who can review
Front end developer.

👍

repo: ONSdigital/dp-frontend-models


text:
Execute the Party service under a dedicated non-root user account

Motivation and Context
The principle of using least privilege should be followed when executing code within containers. Specifically, not running as root.
What has changed
The Dockerfile has been changed:

Create a dedicated non-root user account for executing the Go code

How to test?
I tested this change by creating a differently tagged Docker image and deploying to my Kubernetes cluster. I verified that:

The pod started successfully
The Kubernetes readiness and liveness probes succeeded
There were no errors in the container logs
exec-ing into the container showed the Go process running as the expected non-root user account

Do not merge - changes required if https://github.com/ONSdigital/census-rm-kubernetes/pull/4 is merged first.

@liamtoozer Yes the Dockerfile on master has been changed. I would suggest creating the user account during the build stage then putting the USER statement just before CMD.

repo: ONSdigital/go-party


text:
ci: merge opae-libs

Automated changes by create-pull-request GitHub action.
Must be use a normal merge (not squash-merge and not rebase-merge)

Coverage decreased (-1.05%) to 64.52% when pulling 5863fca6da1eb556800e75fe3513bd7d572a24d0 on auto/update-libs into cc67c04a9dff2a40e02397fc647fd82635e92c2c on master.

authors: coveralls r-rojo

repo: OPAE/opae-sdk


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_51acbf2e-fdd4-4113-b9be-c14274a001ea/pull/1 is merged into live branch.
Auto archive content to https://github.com/OPS-E2E-PPE/docs-archive-test-target_51acbf2e-fdd4-4113-b9be-c14274a001ea.git

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

File
Status
Preview URL
Details

:x:Error

Details

[Error]

Cannot sync git repo to specified commit because branch Release_Archive_master_2020-03-19-06-19-10 has been deleted or has been force pushed: fatal: couldn't find remote ref refs/heads/Release_Archive_master_2020-03-19-06-19-10

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


text:
Create test513

PR Summary

PR Context

Select the type(s) of documents being changed.
Cmdlet reference & about_ topics

[ ] Version 7.1 preview content
[ ] Version 7.0 content
[ ] Version 6 content
[ ] Version 5.1 content

Conceptual content

[ ] Fundamental conceptual articles
[ ] Script sample articles
[ ] DSC articles
[ ] Gallery articles
[ ] JEA articles
[ ] WMF articles
[ ] SDK articles
[ ] Community content

PR Checklist

[ ] I have read the contributors guide and followed the style and process guidelines
[ ] PR has a meaningful title
[ ] PR is targeted at the staging branch
[ ] All relevant versions updated
[ ] Includes content related to issues and PRs - see Closing issues using keywords.
[ ] This PR is ready to merge and is not Work in Progress

If the PR is work in progress, please add the prefix WIP: or [WIP] to the beginning of the
title and remove the prefix when the PR is ready.

Docs Build status updates of commit fecf613:
:warning: Validation status: warnings

File
Status
Preview URL
Details

reference/5.1/CimCmdlets/test.md
:warning:Warning
View (powershell-5.1)
Details

reference/5.1/CimCmdlets/test.md

[Warning] Missing attribute: title. Add a title string to show in search engine results.

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


text:
Minor adjustments to thesis app

Addresses some issues with thesis app

#50 correcting for new expected name for the thesis output file in the solidification_part app
Laser absorption efficiency was not being updated from the Mist file
solidification_part was outputting more data than it needed for the Myna output, so template was updated

I think I'm missing why rearranging the app files helped

In addition to moving the beam file updates to before the material file updates, this part got added to the material file update (requires the beam_file). It updates the laser absorption in the beam file.
        laser_absorption = mistMat.get_property("laser_absorption", None, None)
        adjust_parameter(beam_file, "Efficiency", laser_absorption)

repo: ORNL-MDF/Myna


text:
openmodelica spoken tutorials

Some good introductory material is listed here:
https://openmodelica.org/useresresources/modelica-courses
These courses use OpenModelica, but it really could be any tool. Your decision which section to add it to.
There is one easy to miss link on that page:
https://spoken-tutorial.org/tutorial-search/?search_foss=OpenModelica&search_language=English

added

repo: ORNL-Modelica/awesome-modelica


text:
Improvement in styling of Blog section

In the blog section background color combination, font size, and position of icons needs to be fixed according to the theme of the site.

In the newsletter section background, text field size, and font size needs to be fixed.

Background for the member section needs to be changed accordingly.

How I can contribute in your project?
On Sun, 21 May, 2023, 10:46 pm Dhruvisha Vaghani, @.***>
wrote:

In the blog section background color combination, font size, and
position of icons needs to be fixed according to the theme of the site.

[image: Screenshot 2023-05-21 222035]
https://user-images.githubusercontent.com/109460833/239756155-30cb76db-27f8-41fb-b6d2-c67cbafff71f.png

In the newsletter section background, text field size, and font size
needs to be fixed.

[image: Screenshot 2023-05-21 224048]
https://user-images.githubusercontent.com/109460833/239757278-7782b489-4ff1-4c26-88ab-9fe2122ec28a.png

Background for the member section needs to be changed accordingly.

[image: Screenshot 2023-05-21 224359]
https://user-images.githubusercontent.com/109460833/239757446-66205832-b212-410a-84cb-a838b7f292cb.png
—
Reply to this email directly, view it on GitHub
https://github.com/OSCode-Community/OSCodeCommunitySite/issues/157, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A7ZHQXYFBYJVAARIWLMBV23XHJEX3ANCNFSM6AAAAAAYJQRTEQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

●We can use "pastel colours for background", for example, we can go with pastel pink or blue with the combination of white this will look more attractive because nowadays young people are more fond of pastel colours.
●and the Icon size should be medium

Hey @dhruvishavaghani , thanks for stepping up. But as we are creating the blogs through hashnode, we will not able to give the access to everyone. If you are interested in enhancing any other thing, please go ahead.
Thank you!!

repo: OSCode-Community/OSCodeCommunitySite


text:
Added a lot of Defender for Endpoint mappings and some for Sysmon

I've renamed the Windows Defender Advanced Threat Protection to the new name > Microsoft Defender for Endpoint
For the even_id I used the ActionType to add more granularity/detail to the mapping and changed the Log channel to the Table name, like DeviceNetworkEvents etc.

Thank you very much for the contributing to the project @olafhartong ! I believe you have talked to @Cyb3rPandaH already about some of it. We will review it this week. Thank you again!  🍻

Hey @olafhartong , thank you very much for your contribution to the project 🍺 💜
I only modified those files that involved Sysmon EID 12, 7, 5 for relationships that considered the user entitiy. The metadata provided by these events does not contains user information.
I also modified the relationship WMI Object created and removed events 19,20, and 21 because those events are already considered within the relationship User created WMI Object.
Please let me know if you have any comments 😃 🙌

repo: OTRF/OSSEM-DM


text:
#unbancheetohememedbutcanberedemed

#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed#unbancheetohememedbutcanberedemed

No

Seeing as you have created multiple accounts to try to get us to unban you, and you are trying to pull this, it will never be happening now :D

authors: Cheeto45 Kayouri Soshisen

repo: ObliqueNET/Terra


text:
Schedule video publish time

Is your feature request related to a problem? Please describe.
Some content creators don't publish a video as soon as it's ready. Sometimes it happens that multiple videos are ready, but a creator has a release calendar, it could be a video per day, or one new video every Monday, etc...
Actually, it could happen that if you haven't access to Internet for one reason or another (for example you're on vacation, or you're changing ISP, or whatever) then you won't be able to respect the schedule, and I think this is quite important especially for big creators with a lot of followers.
Describe the solution you'd like
Add the possibility to schedule the video publish time.

Thank you for the suggestion, this is a feature on our roadmap but there's a bit more work involved due to how the protocol is used and the public nature of the blockchain. Once we're ready, we'll open up specc'd out issues for it.

authors: FinixFighter tzarebczan

repo: OdyseeTeam/odysee-frontend


text:
Bug? arbtrace_transaction returns no trace found when transaction exists

Hi team,
I got a transaction: https://arbiscan.io/tx/0x39367663b264e2690e32b8875166105b7f25fffe761c8ababded846bb50cd3d6
which is returned fine in eth_getBlockByNumber:
'{"method":"eth_getBlockByNumber","params":["0xeb1dbf",false],"id":1,"jsonrpc":"2.0"}'

It is not however return in arbtrace_block and not found in arbtrace_transaction
{"method":"arbtrace_block","params":["0xeb1dbf"],"id":1,"jsonrpc":"2.0"}
'{"method":"arbtrace_transaction","params":["0x39367663b264e2690e32b8875166105b7f25fffe761c8ababded846bb50cd3d6"],"id":1,"jsonrpc":"2.0"}'
This is with offchainlabs/arb-node:v1.4.5-e97c1a4
Checking blocks near this one and similar transactions I find they return okay.

I have found that other 'distribute' contract interactions with Hop Protocol all return like this.
I tested others in theis block:
https://arbiscan.io/txs?block=15408728

repo: OffchainLabs/arbitrum-classic


text:
Adaptive Card is not rendered in mobile client app of Teams

Hi Team,
I'm building an adaptive card, but it seems this card is not rendered in Teams mobile app client.
{"type":"AdaptiveCard","$schema":"http://adaptivecards.io/schemas/adaptive-ca
rd.json","version":"1.0","body":[{"type":"ColumnSet","columns":[{"type":"Column","w
idth":"stretch","items":[{"type":"TextBlock","text":"John","weight":"bolder","spaci
ng":"none"}]},{"type":"Column","width":"auto","items":[{"type":"Image","altText":"C
onfigure your Test Call App Bot","horizontalAlignment":"Right","url":"https://i103studio-test.mynatapp.cc/assets/auth/images/settings-icon.png","size":"Small","width":"20px"}],"selectAction":{"type":"Action.Submit","data":{"actionId":"OPEN_SETTINGS"}},"verticalContentAlignment":"Center","horizontalAlignment":"Left"}]},{"type":"ColumnSet","separator":true,"columns":[{"type":"Column","width":1,"items":[{"type":"TextBlock","text":"Work","spacing":"None"}],"spacing":"Large","verticalContentAlignment":"Center"},{"type":"Column","width":2,"items":[{"type":"TextBlock","text":"101","spacing":"None"}],"verticalContentAlignment":"Center","horizontalAlignment":"Left"},{"type":"Column","width":"auto","items":[{"type":"Image","url":"https://i103studio-test.mynatapp.cc/assets/auth/images/call-icon.png","size":"small","width":"20px","spacing":"None","horizontalAlignment":"Center"}],"horizontalAlignment":"Left","selectAction":{"type":"Action.OpenUrl","title":"Call","url":"http://test-dial-url?number=101"},"altText":"Call using Test Call App phone"}]},{"type":"TextBlock","text":"Please install Test Call App app before you make a call.","color":"Dark","horizontalAlignment":"Left"}],"minHeight":"150px"}

It works on web and desktop client.
Does anyone know the reason?
Thanks
Ruaki.

The card uses properties that are not in the v1.0 schema, like minHeight (added in 1.2) and verticalContentAlignment (added in 1.1).

@RukaiYu I have added few id's and required fields from the json and removed few which are not supported. Please try out this json and let me know if that helps.
{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "ColumnSet",
            "id": "col1",
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "id": "txt1",
                            "spacing": "None",
                            "weight": "Bolder",
                            "text": "John"
                        }
                    ],
                    "width": "stretch"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "id": "img1",
                            "horizontalAlignment": "Right",
                            "selectAction": {
                                "type": "Action.Submit",
                                "id": "sa1",
                                "title": "Test",
                                "data": {
                                    "actionId": "OPEN_SETTINGS"
                                }
                            },
                            "url": "https://i103studio-test.mynatapp.cc/assets/auth/images/settings-icon.png",
                            "size": "Small",
                            "width": "20px",
                            "altText": "Configure your Test Call App Bot"
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "ColumnSet",
            "id": "col2",
            "separator": true,
            "columns": [
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "id": "txt2",
                            "spacing": "None",
                            "text": "Work"
                        }
                    ],
                    "width": "stretch"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "TextBlock",
                            "id": "txt3",
                            "spacing": "None",
                            "text": "101"
                        }
                    ],
                    "width": "stretch"
                },
                {
                    "type": "Column",
                    "items": [
                        {
                            "type": "Image",
                            "id": "img2",
                            "horizontalAlignment": "Center",
                            "spacing": "None",
                            "selectAction": {
                                "type": "Action.OpenUrl",
                                "id": "sa2",
                                "title": "Call",
                                "url": "http://test-dial-url?number=101"
                            },
                            "url": "https://i103studio-test.mynatapp.cc/assets/auth/images/call-icon.png",
                            "size": "Small",
                            "width": "20px",
                            "altText": "Call using Test Call App phone"
                        }
                    ],
                    "width": "stretch"
                }
            ]
        },
        {
            "type": "TextBlock",
            "id": "txt5",
            "horizontalAlignment": "Left",
            "color": "Dark",
            "text": "Please install Test Call App app before you make a call."
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
}

Thank you guys! @aosolis @Gousia-MSFT that fixed me!
I should look at the schemas clearly 👍

@Gousia-MSFT  @aosolis

@RukaiYu - Do you need more help with this? Is your issue not resolved?

@Wajeed-msft oh sorry I should create a new one. About the
"selectAction": {
                                "type": "Action.OpenUrl",
                                "id": "sa2",
                                "title": "Call",
                                "url": "http://test-dial-url?number=101"
                            },

This action can open the url on desktop client, while on mobile client, I need to hold the image to trigger the action.  I'm looking for another Action type...

@Gousia-MSFT @aosolis  Sorry, guys, are there any updates for my question?

I've created a new issue https://github.com/OfficeDev/BotBuilder-MicrosoftTeams/issues/207, and close this one.

authors: Gousia-MSFT RukaiYu Wajeed-msft aosolis

repo: OfficeDev/BotBuilder-MicrosoftTeams


text:
Debugging Office Add in web or direct mode

I am trying to catch console logs with edge://inspect/ by changing the package.json to:
"scripts": {
   ...,
   "start": "office-addin-debugging start manifest.xml --debug-method web",
   ...
}

or
"scripts": {
...,
"start": "office-addin-debugging start manifest.xml --debug-method direct",
...
}

but it does not appear any type of proxy debugger.

Is there any other configuration needed to be done in this matter?
I am trying to debug React components using console logs by running the add-in in Excel Desktop. Console log works on the web, but at the moment I am interested in running add-in on desktop.

Hi @ademkikaj. I don't know the context for your project, but just created a fresh React JavaScript project for Excel from Yo Office and I managed to see the logs by running console.log in the Desktop version.
I just left the start command as normal: "start": "office-addin-debugging start manifest.xml",, which uses the direct method of debugging (as default).
So, answering your question, no additional configuration is needed.
If you could test catching the logs on a fresh project, that would be great, as we would know it is not a problem with your changes.

I will be closing this issue since there hasn't been any response in a while.
Please, reopen if it is still needed.

authors: ademkikaj igor-ribeiiro

repo: OfficeDev/Office-Addin-Scripts


text:
some fixes site provision fixes onprem

Some more fixes for site provisioning engine on-prem

Hi @ivanvagunin, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Thx Ivan

authors: ivanvagunin jansenbe msftclas

repo: OfficeDev/PnP


text:
After deleting champions user list, app content disappear

Hi,
yesterday we have replaced users used to test with official users champion list but immediately app look like corrupted and show a white page instead of content.
Data are all present on SharePoint, list populated with data, but app on Teams doesn't work.
Considering that are simple row and that has not changed structure of SharePoint site, probably there's something that is correlated with deletion but we don't know where.
We have tried also to deploy again app but result is always the same

Hi @faalive,
Ideally the champions should be added using "Add Members" screen in the app.
We would need more information here to know more about the issue.

What is the difference between the test and official accounts.
What do you mean replacing users. Can you please elaborate the steps.
Can you please share screenshots of the "Members List" and the App home page
Did you try logging in with the Tenant admin account that you used to install the app for the first time. Can you please share the screenshot of the view.
If the app works fine for the Tenant Admin try adding a new user through "Add Member" and see if it works for that users.
Can you login with the account which is having issues in a browser and share a screenshot of the browser console logs.
Thanks.

Hi @faalive, Thanks for trying out the App. Ideally the champions should be added using "Add Members" screen in the app. We would need more information here to know more about the issue.

What is the difference between the test and official accounts.
What do you mean replacing users. Can you please elaborate the steps.
Can you please share screenshots of the "Members List" and the App home page
Did you try logging in with the Tenant admin account that you used to install the app for the first time. Can you please share the screenshot of the view.
If the app works fine for the Tenant Admin try adding a new user through "Add Member" and see if it works for that users.
Can you login with the account which is having issues in a browser and share a screenshot of the browser console logs.
Thanks.

Hi @v-saikirang answer below:

there's no difference: to test app cx has inserted a couple of users that has been deleted to have a clean list of Champions
cx has replaced name of column in italian language so Name has been changed with Nome  and so on
Problem is that I cannot see data anymore because look likes that SP site cannot be created and app status is stuck "waiting" also if package has been uploaded, deployed and syncronized on Teams

Hi,
Please do not change the list/column names.
Can you try refreshing the APP first. If it doesn't work please follow the below steps to re install the app.

Delete the App in Teams
Delete the share point site in both "Active sites" and "Deleted Sites" section from the sharepoint admin center.
Delete the WSP from the App catalog
Wait for 15- 20 minutes
Perform fresh install as per Read Me instructions
If you see an error message "Try again after some time", please refresh the app after 15 minutes.

Please let me know if you need more information/help.
Thanks.

It's worked :) Great!!!

Hi @faalive,
Thanks for confirming. I am closing this issue.
Thanks.

authors: faalive v-saikirang


text:
The content is blocked because it isn't signed by a valid security certificate

I have developed an addin for outlook 365 but i can't start then in my desktop outlook, i get the error The content is blocked because it isn't signed by a valid security certificate.

then I am using my add-in in ethernet outlook in chrome it works fine as expected.
i run this command npx office-addin-dev-certs install  as suggested where, but the error still happening.
What I tried

Switching flag in Edge browser to allow not certified certificates to "work"(same thing was done in chrome and it worked there)

As suggested in comments to use office-addin-dev-certs. Well I installed them on my project by using npm install office-addin-dev-certs and then I am trying to verify it by this command office-addin-dev-certs verify it throws error in console see image 3

exported certificates from chrome and imported them in edge browser and also on my machine . It did not helped.

deleting content of folder C:\Users\{username}\.office-addin-dev-certs and npx office-addin-dev-certs install it did not helped .

My specs :

Windows 10 Pro . Version: 21H1 . Os build: 19043.1586. Experience: Windows Feature Experience Pack 120.2212.4170.0

Desktop outlook : Version 2202 Build 16.0.14931.20128) 64-bit

@preethikakiru  - Is it something you can help with?

The reason the verify command didn't work is because you didn't use 'npx" at the beginning.
Note that the certificate is for running the add-in locally (using webpack) and the host being able to access it from there.  It's not affected by browser settings when using desktop apps.
Can you run this in PowerShell and share the results here:
'Get-ChildItem cert:\CurrentUser\Root | Where-Object Issuer -like "CN=Developer CA for Microsoft Office Add-ins" | Where-Object { $_.NotAfter -gt [datetime]::today.AddDays(-1) } | Format-List'
Can you also try loading this URL in the browser after you get the error (when the add-in is supposed to be loaded).
https://localhost:3001/taskpane.html

authors: DVerdins millerds nkkinariwala

repo: OfficeDev/office-js-docs-pr


text:
[Admin] Remove link to RibbonAPI page

Also cleaned up other link references.

Docs Build status updates of commit 72ae760:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/design/disable-add-in-commands.md
:white_check_mark:Succeeded

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


text:
[Outlook] (design) remove recommendation for any design framework

Fixes 2778

Docs Build status updates of commit 30c7d42:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/outlook/outlook-addin-design.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


text:
[admin] Publish

Add parameter size limit

Apply suggestions from code review

Co-authored-by: Elizabeth Samuel elizs@microsoft.com
Co-authored-by: Elizabeth Samuel elizs@microsoft.com

Learn Build status updates of commit a83b505:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/testing/platform-limits.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
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.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

repo: OfficeDev/office-scripts-docs


text:
Which "ExtensionPoint"s supports "SupportsPinning"?

Hey team!
I can't find any clarifications about were "SupportsPinning" is applicable. If "SupportsPinning" is specifyed under "MessageReadCommandSurface" or "MessageComposeCommandSurface" the pin button will appear on the read or draft emails accordingly. Can you, please, clarify whether it make any diffrence for:

AppointmentOrganizerCommandSurface
AppointmentAttendeeCommandSurface
Module (Can only be used in the DesktopFormFactor.)

Thanks,
Aliaksei

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

ID: 8a1ad4b4-0fd1-b2e6-be0e-d300cf8336ed
Version Independent ID: 8895d34e-490a-f836-7e39-2ccd6056d6fc
Content: Implement a pinnable taskpane in an Outlook Add-in
Content Source: docs/add-ins/pinnable-taskpane.md
Product: outlook
GitHub Login: @jasonjoh
Microsoft Alias: jasonjoh

@exextoc: Can you provide this info? I can update the documentation after that.

SupportsPinning is currently only supported in the Mail module. We track Outlook add-in feature requests on our user-voice page. Please add your request there. Feature requests on user-voice are considered when we go through our planning process.

repo: OfficeDev/outlook-dev-docs


text:
Versioning and compatibility

Since many people are going to want to convert over to OE3-CE, would it make sense to allow OGMO to load, identify and convert older versions of OGMO files? On that note, does it make sense to start including the version number in levels created for conversion to future versions once breaking changes are made to the software?

added with https://github.com/Ogmo-Editor-3/ogmo-conv/tree/master


text:
Add deps rust

Is there a way to add deps for evcxr? Essentially use the :deps command on the current root Cargo.toml would be incredibly useful since it would allow for more complete evaluation. Something like :deps {path = $PWD} or something similar. This would allow actually evaluating of functions from the crate (though refreshing would presumably need to happen often to reflect code changes...).
On a related note, is there a way to directly drop into the evcxr repl from neovim? This would let me run :dep ... so I can evaluate pieces of code from the crate I'm working with.
(Really cool project BTW! I think this could be super useful when doing rust dev)

I'm afraid I'm not sure, I didn't write this client and I know nothing about the toolchain other than some Rust basics.
Are these command line arguments? Because I'm sure the config that points to the binary could support that. Either with minimal changes or it may already work.
I'm kinda surprised this Rust REPL doesn't already pick up on your projects dependencies? That seems like a very core feature of a REPL to me. Are you starting the REPL from within your project directory?
And as far as dropping into the REPL goes, no, not right now. The processes Conjure starts for the simple stdio based systems (like this one) are headless. The only frontend is the log buffer. That may change in my future iteration of stdio support, so I'll keep this in mind.

@rafaeldelboni do you think this would be possible? Not asking you to do it of course, just interested in your opinion 🙂

Evcxr has some "limitations" because it's main mind set is to work more like a Jupyter Notebook instead of a project mind set, so I don't think currently it has a way to read the Cargo.toml, that would be a nice feature we could ask to the reply developer.
Issues like this one made me see this:
https://github.com/google/evcxr/issues/70
But what you could do is open a conjure buffer in your nvim session <local leader> l v for example and write a new line on it like :dep rand = { version = "0.7.3" } and evaluate the line or select it and evaluate the selection.
You could even write the above in any file and evaluate the line, like I did in this playground:
https://github.com/Olical/conjure/blob/master/dev/rust/sandbox.rs
You just need to uncomment the :dep before evaluation.

authors: DieracDelta Olical rafaeldelboni

repo: Olical/conjure

license: Unlicense


text:
How to install "rasterize_tris"?

I want to run on the windows. But I cannot install rasterize_tris. Where can I download this?

Hi,
Did you run setup.py as described in the README?


text:
Spelling fixes and bug fixes

The GUI components no longer show in F1 mode
Fire strikers don't delete blocks and can be turned off
Fire strikers render properly in inventory
Bubble columns work in ine block deep water
Many spelling fixes, thanks to @EiyaTheBolb

looks good to me


text:
Create helloworld.nsharp

N# added to languages.

Hey @otsfan203. I'm not sure this repo is being maintained. Want to swing by the Sample Programs repo and make your addition there?

repo: Omkar-Ajnadkar/Hello-World


text:
omnicore-cli "getinfo" method gives error "Warning: unknown new rules activated (versionbit 28)"

omnicore version 0.2.0
when i use rpc method "getinfo", i get error Warning: unknown new rules activated (versionbit 28)
how to solve this?

Hi,
This will be resolved in the next version of Omni Core (the warning is related to miner signalling and can be safely ignored).
Thanks
Z

got it! thanks

Problem is still here
./omnicore-cli -datadir=data getinfo
{
"version": 130200,
"protocolversion": 70015,
"walletversion": 130000,
"balance": 1.01685611,
"blocks": 1413228,
"timeoffset": 0,
"connections": 12,
"proxy": "",
"difficulty": 56234572.68927951,
"testnet": true,
"keypoololdest": 1536576702,
"keypoolsize": 100,
"paytxfee": 0.00000000,
"relayfee": 0.00001000,
"errors": "Warning: unknown new rules activated (versionbit 28)"
}

authors: gggin kylejan zathras-crypto

repo: OmniLayer/omnicore


text:
Use SemaphoreSlim instead of lock object in SharedTextWriter

Did some profiling and noticed a lot of time was spent on ShareTextWriter.WriteLine and SharedTextWriter.WriteLineAsync.
Noticed the lock and figured we could use SemaphoreSlim instead.

Could do some benchmarks to see if there's any actual performance boost.

I just figure if we can avoid blocking a thread at all it would probably be better.

@mholo65 What do you think of implementing this with BlockingCollection? https://docs.microsoft.com/en-us/dotnet/api/system.collections.concurrent.blockingcollection-1?view=netcore-3.0

@rchande I'd be fine with that.
@mholo65 lsp already has this with the output handler https://github.com/OmniSharp/csharp-language-server-protocol/blob/7d8567c09c88d27b4b4a2209959f689df8e9419d/src/JsonRpc/OutputHandler.cs

Actually, blockingCollection blocks a thread, so this is probably better.

A blocking collection will only block it's own thread, not the calling task, assuming you just queue the item up.  For input / output it probably makes more sense to just have the dedicated thread, then we can queue data up for it as fast as we're allowed, but it'll write out at whatever rate it can.
As long as the order is guaranteed (which by default BlockingCollection uses ConcurrentQueue) I think dumping handling the writing in another thread might make sense.
Thoughts? @mholo65 @rchande
As it is I'm fine with this change, but it might almost make more sense to refactor it entirely.

@david-driscoll @rchande I think that BlockingCollection is even better, then we'll dump the IO to another thread, and won't block main thread.

@david-driscoll @rchande @filipw I modified this PR to use BlockingCollection instead, also no need for the Async version anymore.

thanks 👏

authors: david-driscoll filipw mholo65 rchande

repo: OmniSharp/omnisharp-roslyn


text:
[Feat] Allow custom corpus for statistics

Goal
Be able to add/rm corpus with kalamine.
These corpuses will then be available in kalamine watch analyser.
This will allow other languages to use kalamine analyser.
Approach

add/rm corpus from kalamine using CLI as a PoC e.g. kalamine corpus add foo.txt
add a page to kalamine watch server _e.g. /corpus to add/rm corpuses using files
add possibility to paste corpus in text-area in /corpus page

chardict.py stats seems a bit off : all frequency do not add to 100 %
{
   'symbols': 100.002,
   'digrams': 79.7713,
   'trigrams': 60.166000000000004
}

based on this quick script :
#!/usr/bin/env python3
import json
with open('file.json') as handle:
    corpus = json.loads(handle.read())
print(corpus)
count = {}
for n in ["symbols", "digrams", "trigrams"]:
    count[n] = sum(corpus[n].values())

print(count)

I will write a new version of the script that is not standalone but called by kalamine

I plan on using appdirs 1.4.4 to manage the configuration folder location if it is ok with you

I started work on my fork, on the corpus branch
Future steps are

adding proper cli support
adding std corpus to user_config_dir/corpuses by default at install
kalamine watch to look for corpus in user_config_dir/corpuses by default

@fabi1cazenave  wdyt ?

Format change in chardict json output has been implemented to try it out. It simplifies corpus merging and do not remove any feature.
step 1 in §Approache is now done with commits :
8e26a458df4c56204fd9a9092924d79a30832863 0f97d7e921766e59a2274d74a9d5846e446e9c28 a5a5900d79dfcf2ba3b42b1f3f814f4233c32211
Next step is the /corpus page creation.

Hi @Ced-C, sorry for the lag, it’s been wild here.
First thing, please create a first PR if you intend to change the JSON format for our corpora. This format is used by Kalamine of course, but also by DuckTypist and the Ergo‑L analyzer. In other words, it’s a breaking change, and this means we’ll have to publish Kalamine 0.39 before switching to this new file format.
I find it a bit depressing that Python cannot store data to $XDG_CONFIG_DIR without a separate package but if that’s the case… so be it.

repo: OneDeadKey/kalamine


text:
file without extension upload getting fail

trying to upload the file without extension, firstly it is getting upload but finally failing with following error
"json reply: code: pathContainsInvalidCharacters | message: Path is Invalid | innerError:    code: badArgument |  | innerError:    code: invalidPath | "

I don't repro this
PUT https://api.onedrive.com/v1.0/drive/root:/foo2:/content HTTP/1.1
Content-Type: image/jpeg
Content-Length: 33178

HTTP/1.1 201 Created
Content-Length: 1295
Content-Type: application/json; odata.metadata=minimal; odata.streaming=true

{
  ...
  "name":"foo2",
  ...
  "file":{
    "hashes":{
      "sha1Hash":"5A4DDA15D03496240C47FEE1BA949FEADF1CFF2C"
    },"mimeType":"image/jpeg"
  },
  ...
}

Can you show us how you're trying to upload the file? Is it possible that there's an invalid character in it's name?

there is no special character in the file name...

"hello"
"Getting_Things_Done_-_The_Art_Of_Stress-Free_Productivity"

Can you show us how you're trying to upload the files?

PUT /drive/items/{parent-id}/children/{filename}/content
Content-Type: text/plain

the uri contains "."
https://api.onedrive.com/v1.0/drive/items/root/children/Hello./content?%40name.conflictBehavior=rename
Content-Type: text/plain

Ah, that makes sense, thanks!
We currently do not allow file names to end with a trailing "." (nor at the beginning). I've heard people request this before, but I couldn't find anything on uservoice. If you feel strongly about us supporting files like that please create a new idea (or vote up an existing one if you search skills are better than mine) and we'll look into it further.

@ificator documentation for one drive only mention abt folder "Note: Additionally, folder names can't end with a period (.)"
can u update for files also...
can u pls elaborate wht is the use of "." at the end of the file name without extension, because it doesnt have any meaning

Agreed that we should be more clear about the various restrictions that exists on names and paths - I'll see what we can do on that front.
As for scenarios for ending in "." I'm not sure. Windows itself allows you to specify it but ends up removing it, and so at least from a purely Windows perspective files with a trailing . are not treated any differently to those without.

authors: ankit-ankuagrawal ificator

repo: OneDrive/onedrive-api-docs


text:
"optional query string parameters" link error

The link at the bottom of page does not exist and I can't find the related information.
Please fix.

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

ID: 272714c3-6387-1c6c-c57f-3d477ca648bc
Version Independent ID: ec2ca64c-5ddf-c6fb-73a8-9d202b7d7049
Content: List the contents of a folder - OneDrive API - OneDrive dev center
Content Source: docs/rest-api/api/driveitem_list_children.md
Product: onedrive
GitHub Login: @rgregg
Microsoft Alias: rgregg

We'll add this item to our documentation backlog. If you wish, you may also contribute a PR to address this issue.

Sure, how do I go about it?
On Fri, Sep 11, 2020, 16:39 Chris Hackmann notifications@github.com wrote:

We'll add this item to our documentation backlog. If you wish, you may
also contribute a PR to address this issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/OneDrive/onedrive-api-docs/issues/1362#issuecomment-691301721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN2UA5RBBV6ZRUB4XA4ORATSFKDIRANCNFSM4RATZ6QA
.

Click on the "Edit" button on the upper-left of the doc page, which should take you to the source code (markdown format).
Then you should be able to Edit that in GitHub's editor and submit a PR which we can help with reviewing.
Thanks!

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.

authors: chackman onLeserKey patrick-rodgers


text:
Bad Argument error while creating new subscription on onedrive

I am getting
{"error":{"code":"invalidRequest","message":"Bad Argument"}
while creating new subscription
the url i am using to post the json is
https://api.onedrive.com/v1.0/drive/items/{item_id}/subscriptions
also setting this header Content-Type: application/json
and my payload is
{
"notificationUrl": "https://mycallbackurl",
"expirationDateTime": "2016-01-01T11:23:00.000Z"
}
The callback url is getting called for validation successfully and then i get the error message.

Hi @amit-balisana, can you provide us with a copy of the HTTP headers from the response that contains the bad argument message?

I'm having the exact same issue.
The HTTP headers from the response are the following:
{
"Via": ["1.1 DM5SCH102231022 (wls-colorado)"],
"Content-Length": ["60"],
"Content-Type": ["application/json"],
"Server": ["Microsoft-IIS/8.5"],
"P3P": ["CP="BUS CUR CONo FIN IVDo ONL OUR PHY SAMo TELo""],
"X-WLSPROXY": ["DM5SCH102231022"],
"X-MSNSERVER": ["BN2BAP9979800FC"],
"Strict-Transport-Security": ["max-age=31536000; includeSubDomains"],
"X-QosStats": ["{"ApiId":0,"ResultType":2,"SourcePropertyId":0,"TargetPropertyId":42}"],
"X-ThrowSite": ["06bc.2f83"],
"X-AsmVersion": ["UNKNOWN; 21.2.0.0"],
"X-MSEdge-Ref": ["Ref A: FF9043AA5DE3481CA58F4F79A4439467 Ref B: ATH01EDGE0116 Ref C: Thu Mar 23 13:31:07 2017 PST"],
"Date": ["Thu, 23 Mar 2017 20:31:07 GMT"]
}
Any ideas?

@johnlilis your error is due to the expiry being out of range. From memory I believe the limit is 365 days - are you by any chance trying a value larger than that?

@ificator thank you very much for your response. This was indeed the error.
I was trying a value a of a couple of months, but after some testing it seems that the limit is 1 month.

authors: amit-balisana ificator johnlilis


text:
Folder creation fails with HTTP code 403 if body JSON includes "size: 0"

I'm creating folders as described in http://onedrive.github.io/items/create.htm:
POST https://api.onedrive.com/v1.0/drive/items/root/children
Content-Type: application/json

{"folder":{},"name":"e", "size": 0}

As a result I'm getting:
403 Forbidden
{
    error: {
        code: "accessDenied"
        message: "Access Denied"
        innererror: {
            code: "accessDenied"
        }-
    }-
}

Folder creation works fine if "size": 0 is not included in body JSON, but fails if it is.
I'm aware of the limitation with 0-size files which can't be created through the API. But for folders this restriction is kind of strange!
And, I believe, return code 403 is not the right one for such situations.

Hi @igokoro. I agree that the 403 error seems strange in this situation. I'll take a look at getting that fixed.
If you don't specify the size property, you should be fine. In general you should only include the properties that are required to create the item, which for a folder should look like this:
POST https://api.onedrive.com/v1.0/drive/items/root/children
Content-Type: application/json

{"folder":{},"name":"e"}

@rgregg, thank you for acknowledging the issue!
I agree with the fact that in general we should only include the properties that are required, but, say, on android with gson lib, it might be unnecessarily complex task to do. This would involve custom TypeAdapters that should be used only in certain situations - generally quite error prone boilerplate!

In our Android application we used the following formula to create new folders, which I find very light weight:
final Item newItem = new Item();
newItem.Name = newNameTextView.getText().toString();
newItem.Folder = new Folder();

Around posting items back we built up a rudimentary gson exclusion strategy which allows the sample application to perform all of its functionality.

I'm using LoganSquare library to handle JSON, so can't use gson exclusion strategies (in addition to the fact that I specifically avoid them as they harm performance). I've ended up defining specialized DTO that includes only required fields - the simplest and most efficient way of handling this.

authors: igokoro peternied rgregg


text:
Panic occasionally with unsafe version of writeString()

I wrote something like this in my project:
    h := xxhash.New32()
    h.WriteString(param)  // please notice that |param| was passed by value, not pointer

And I got panic occasionally as:
WARN[0141] panic occurred: runtime error: invalid memory address or nil pointer dereference  func=runtime.panicmem line=62
WARN[0141] goroutine 1519 [running]:
framework/logger.GetStacktraces(0xc42052ba40, 0xc4203eebf0)
	/Users/foo/gohome/src/framework/logger/logger.go:29 +0x74
afsserver/user.catchReturnErr(0xc4203ef688)
	/Users/foo/gohome/src/afsserver/user/helpers.go:34 +0x1d9
panic(0x6215c0, 0xc4200140e0)
	/usr/local/Cellar/go/1.7.3/libexec/src/runtime/panic.go:458 +0x243
github.com/OneOfOne/xxhash.writeString(0x9890a0, 0xc420493a70, 0x0, 0x0, 0x699580, 0xc4203eee01, 0xc420493a70)
	/Users/foo/gohome/src/github.com/OneOfOne/xxhash/xxhash_unsafe.go:29 +0x27
github.com/OneOfOne/xxhash.(*XXHash32).WriteString(0xc420493a70, 0x0, 0x0, 0x1, 0xc4202b4248, 0x1)
	/Users/foo/gohome/src/github.com/OneOfOne/xxhash/xxhash.go:79 +0x4b
... omitted stack

If I change the code to:
    h := xxhash.New32()
    h.Write([]byte(param))

then the panic will disappeared.

I'll look into it, is it all the time or random?

@zjx20 I can't reproduce at all, I need more details, maybe the source of the string and the length, if you can give me a reproducible case it would be great.

It crashes if the input is empty, I put a check for that, reopen if this commit doesn't fix your problem.

Thank you for the quick reply and fix! Just curious, how fast it can gain with unsafe? Is it worth to use unsafe (since the implementation looks quite hacking) ?

repo: OneOfOne/xxhash


text:
Implement Settings Page Sidemenu & First Page

https://www.loom.com/share/31104bd17a374c64b92247c1941e9964

This is done and complete

repo: OneUptime/oneuptime


text:
KnowledgeDistillation问题记录

原 pr https://github.com/Oneflow-Inc/models/pull/234 使用的 oneflow 接口最晚出现在 0.4 版本中，0.5 版本中就没有相应接口了，由于需要大量的修改，所以选择使用 oneflow 0.7版本重写该算法，该 issue 记录重写过程中出现的问题。

flowvision 下载 MNIST 数据集出现 Segmentation fault (core dumped)
复现代码：
from flowvision import datasets
datasets.MNIST('.', train=True, download=True)

报错信息：
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz to ./MNIST/raw/train-images-idx3-ubyte.gz
9913344it [00:07, 1402622.21it/s]
Extracting ./MNIST/raw/train-images-idx3-ubyte.gz to ./MNIST/raw
Segmentation fault (core dumped)

运行环境：
onecloud平台，4core-14Gi-P40(1Card)机器。oneflow version: 0.7.0+cu112，python version：3.7.7

flowvision 下载 MNIST 数据集出现 Segmentation fault (core dumped)
复现代码：
from flowvision import datasets
datasets.MNIST('.', train=True, download=True)

报错信息：
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz to ./MNIST/raw/train-images-idx3-ubyte.gz
9913344it [00:07, 1402622.21it/s]
Extracting ./MNIST/raw/train-images-idx3-ubyte.gz to ./MNIST/raw
Segmentation fault (core dumped)

运行环境： onecloud平台，4core-14Gi-P40(1Card)机器。oneflow version: 0.7.0+cu112，python version：3.7.7

问题排查：
flowvision
flowvision.datasets.utils.py 中的439、440行产生上述问题，代码为：
_COMPRESSED_FILE_OPENERS: Dict[str, Callable[..., IO]] = {
    ".gz": gzip.open,
    ".xz": lzma.open,
}
compressed_file_opener = _COMPRESSED_FILE_OPENERS[compression]
with compressed_file_opener(from_path) as rfh, open(to_path, "wb") as wfh:
        wfh.write(rfh.read())

torchvision
在 torchvision 中相应的代码为：
elif _is_gzip(from_path):
        to_path = os.path.join(to_path, os.path.splitext(os.path.basename(from_path))[0])
        with open(to_path, "wb") as out_f, gzip.GzipFile(from_path) as zip_f:
            out_f.write(zip_f.read())

区别在于 flowvision 使用gzip.open.read()而 torchvision 使用gzip.GzipFile.read()进行打开。
将 flowvision 中的 open 替换为 GzipFile 后问题依旧存在！

我这边在23号开发机上测试是正常的，你的flowvision 是通过Pip 安装的是吧，试试git clone 安装

我这边在23号开发机上测试是正常的，你的flowvision 是通过Pip 安装的是吧，试试git clone 安装

好嘞，我试一下。

我这边在23号开发机上测试是正常的，你的flowvision 是通过Pip 安装的是吧，试试git clone 安装

目前我找到另一种解决方案是，更换python的版本。
conda create --name py36 python=3.6 -y
python3 -m pip install -f https://release.oneflow.info oneflow==0.7.0+cu112
pip install flowvision

即将 python 版本由 3.7 更改为 3.6 也可解决该问题。
我再试一下 git clone 安装

oneflow 缺失 Adadelta()  优化器
复现代码：
import oneflow.optim as optim
optimizer = optim.Adadelta()

报错信息：
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_22359/567125676.py in <module>
      1 import oneflow.optim as optim
----> 2 optimizer = optim.Adadelta()

AttributeError: module 'oneflow.optim' has no attribute 'Adadelta'

运行环境：
onecloud平台，4core-14Gi-P40(1Card)机器。oneflow version: 0.8.0+cu112，python version：3.7.7

安装下最新nightly，这两天合并进去了

安装下最新nightly，这两天合并进去了

好嘞，谢谢！

oneflow 缺失 Dropout2d
复现代码
import oneflow.nn as nn
dropout = nn.Dropout2d(0.3)

报错信息
AttributeError                            Traceback (most recent call last)
/tmp/ipykernel_22606/2762091287.py in <module>
      1 import oneflow.nn as nn
----> 2 dropout = nn.Dropout2d(0.3)

AttributeError: module 'oneflow.nn' has no attribute 'Dropout2d'

运行环境：
onecloud平台，4core-14Gi-P40(1Card)机器。oneflow version: 0.8.0+cu112，python version：3.7.7

repo: Oneflow-Inc/models


text:
Short solution needed: "Sending authorization bearer in request" (curl)

Please help us write most modern and shortest code solution for this issue:
Sending authorization bearer in request (technology: curl)
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.

Sending authorization bearer in request

repo: Onelinerhub/onelinerhub


text:
Vergeten p tag aftesluiten

Je bent vergeten p tag aftesluiten
https://github.com/OniWithTheHoodie/the-startup-responsive-interactieve-website/blame/3c83410a23d401891234d582a6847431b3911acd/index.html#L27C9-L27C79

https://github.com/OniWithTheHoodie/the-startup-responsive-interactieve-website/blob/d1ae0bc912317c8ed5fe15035c7b010e2f1e17ec/index.html#L59
Ik heb het aangepast


text:
no (timely) response from API

Latest integration tests run of OpenEO shows quite a few failures that have to do with the prod API not returning a response within the read timeout of 20 seconds.
In particular there are some read timed outs and some disconnects, mostly on search queries but also when creating and updating a job :
r-2401254795584aca8621e4cc3d29dd8d: Read timed out. on POST /jobs/search
r-240125a1f797479398671934b0eefc8e: Remote end closed connection without response on POST /jobs/search
r-24012521290f41868c2d1160ce5b0690: Remote end closed connection without response on POST /jobs/search
r-2401252d438a47b1b4047577e92ce4c1: Remote end closed connection without response on PATCH /jobs/j-240125e5f2ca45e3beb82cc5ee8b992e
r-24012590735346af92b82958f276a230: Read timed out. on POST /jobs
r-24012597482742589057a2ad10d03d6c: Read timed out. on POST /jobs/search
r-240125e457fb4a8893b1379f742ac93d: Remote end closed connection without response on POST /jobs/search
r-2401254c70c443ee83721f0efe19f25a: Read timed out. on POST /jobs/search

OpenEO logs in Kibana contain the details (filter on req_ids from above).
https://kibana-infra.vgt.vito.be/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2024-01-24T23:00:00.000Z',to:'2024-01-25T23:00:00.000Z'))&_a=(columns:!(message),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'907d8590-4f1b-11ed-8cc4-3747d5233c59',key:req_id,negate:!f,params:(query:r-24012590735346af92b82958f276a230),type:phrase),query:(match:(req_id:(query:r-24012590735346af92b82958f276a230,type:phrase))))),index:'907d8590-4f1b-11ed-8cc4-3747d5233c59',interval:auto,query:(language:kuery,query:''),sort:!(!('@timestamp',desc)))

@JanssenBrm did you have a chance to look into this issue yet? It will become a blocker for new OpenEO releases.
We considered a workaround in the form of a retry but deemed it unfeasible because it also happens upon saving a new job and we think that will introduce duplicates.

Yes we are looking into it. First analysis:

There are no clear indications of an error that could indicate no timely response.
There are quite a lot of authentication errors so we've added logging to get more information.
With some testing, I noticed an increasing time to store documents. The code was build to receive jobs in bulk using the ES Bulk API, but the APIs only support storing single documents. After changing to the ES Index API, the storage of the documents seems to be much quicker.

My first guess would be that we are running into limitations outside of the application scope. However, it make sense to run the tests again with the latest improvements.

There are quite a lot of authentication errors so we've added logging to get more information.

These authentication errors don't seem to reach OpenEO so my guess would be that they are being retried in your API; could this account for some delay?

With some testing, I noticed an increasing time to store documents. The code was build to receive jobs in bulk using the ES Bulk API, but the APIs only support storing single documents. After changing to the ES Index API, the storage of the documents seems to be much quicker.

Ok, I suppose that will speed up insert but not search. I ran some queries in the meanwhile (by job_id + backend_id) and they're still in the order of several seconds, with an outlier of more than 7 seconds. With my limited knowledge of ES I can only confirm that mapping type keyword and query filter term are indeed the way to go.

My first guess would be that we are running into limitations outside of the application scope.

As in: ES itself? Or related to authentication perhaps?

An integration test (ran against the jobregistry API without the bulk insert) that attempted to insert a job failed because of a read timed out:
https://kibana-infra.vgt.vito.be/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2024-01-25T23:00:00.000Z',to:'2024-01-26T23:00:00.000Z'))&_a=(columns:!(message),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:'907d8590-4f1b-11ed-8cc4-3747d5233c59',key:req_id,negate:!f,params:(query:r-240126830686471cbce2d4071807f69b),type:phrase),query:(match:(req_id:(query:r-240126830686471cbce2d4071807f69b,type:phrase))))),index:'907d8590-4f1b-11ed-8cc4-3747d5233c59',interval:auto,query:(language:kuery,query:''),sort:!(!('@timestamp',desc)))
The job was inserted in ES:
https://kibana-apps.vgt.vito.be/app/kibana#/discover?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2024-01-25T23:00:00.000Z',to:'2024-01-26T23:00:00.000Z'))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:adb8fca0-bb55-11ee-9c26-3f76720e6a27,key:job_id,negate:!f,params:(query:j-240126323ab843a396fbb118784b3818),type:phrase),query:(match:(job_id:(query:j-240126323ab843a396fbb118784b3818,type:phrase))))),index:adb8fca0-bb55-11ee-9c26-3f76720e6a27,interval:auto,query:(language:lucene,query:''),sort:!(!(created,desc)))
Maybe there's some logging in the API that tells you how long it took ES to insert this document and offer a clue as to where the delay might be (is it also > 20 seconds or much less?).

Sorry to pick this up again here as the issue on the timeouts is probably not related to implementation of the EJR but to throughput issues on the level of the F5. I've checked with the INF team and apparently the throughput of the traffic is reaching the limits of the F5 license. INF has already increased the flow rate for the EJR URL so hopefully this helps in short term. They are in discussion of increasing the license.

And by throughput you mean number of requests per second? Because the payload is still a bit of plain text and therefore not very big.

authors: JanssenBrm bossie

repo: Open-EO/openeo-job-registry-elastic-api


text:
process_datasets should post a comment about new reactions during initial submission

Currently comments are only posted in the second phase of submission, but it would be nice to have a count of the number of new reactions in the first phase. This may require some permissions wrangling; e.g. I think we can only do this on push events.

Double checked and this can't be done since forks only get read-only tokens for actions they trigger on upstream repos.

repo: Open-Reaction-Database/ord-schema


text:
Improve the game logic

add other obstacles like an octopus
other sea creatures
add other scraps

Hey Anjali I'd like to work on this issue 😄

repo: Open-Sourced-Olaf/Olafs-Swim


text:
fix(install): add vs redistributable installation in powershell script

Resolves https://github.com/OpenAdaptAI/OpenAdapt/issues/473
What kind of change does this PR introduce?

Summary

Checklist

[x] My code follows the style guidelines of OpenAdapt
[x] I have performed a self-review of my code
[x] If applicable, I have added tests to prove my fix is functional/effective
[x] I have linted my code locally prior to submission
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation (e.g. README.md, requirements.txt)
[x] New and existing unit tests pass locally with my changes

How can your code be run and tested?

Other information

Next up: Text in a Virtual Machine to check if this fixed DLL Load Error

repo: OpenAdaptAI/OpenAdapt


text:
Supply known entity data to preflight

What
As a manager, I could really do with knowing any data about a new entity up-front in preflight, rather than just its trait set.
Why
Take the scenario of generating a render bundle automatically from a single user/pipeline supplied anchor entity ref (the logical render bundle), the host flow is this (in horrible, unrealistic, unoptimised code):
# Preflight the whole bundle
render_bundle.working_ref = manager.preflight(render_bundle.ref, RenderBundle.kTraitSet)
# Render each layer
for layer in render_layers:
   # Preflight the layer
   layer.working_ref = manager.preflight(layer.ref, RenderLayer.kTraitSet)
   # Render its AOVs and register them
   for aov in layer.aovs:
      aov.working_ref = manager.preflight(layer.working_ref, RenderLayerAOV.kTraitSet)
      render_location = manager.resolve(aov.working_ref, {LocatableContentTrait.kId})
      do_render(aov, render_location)
      manager.register(aov.working_ref, aov.toTraitsData())
  # Now the layer AOVs are done, register the layer to mark the end of AOVs
  manager.register(layer.working_ref, layer.toTraitsData())
# Now the layers are done register the bundle to show we're done.
manager.register(render_bundle.working_ref, render_bundle.toTraitsData())

The layer, and bundle name is in Named trait in the TraitsData passed to register, but I don't get this till after all the work is done. If I wanted the resolve for each AOV to form a path such as /project/.../<render_bundle>/<layer>/<aov>.####.exr then I'm stuck as I don't know the layer or AOV name untill too late! It also means that there is no way to use any data in the formulation of the placeholder entity (eg, it's name etc).
This forces me to generate some suitably unique temporary path and placeholder references, then re-shuffle things later! Some may be OK with this, but it is creating a lot of extra work, and precludes many in-place workflows.
ACs

A manager is able to leverage known trait data for each entity in preflight in it's implementation.

Proposal
Change the traitSet parameter of the preflight method to be an array of TraitsData objects, corresponding exactly with those subsequently passed to register. This would perform the same validation as register to guard against mis-matched trait sets.
Before
virtual void preflight(const EntityReferences&, const trait::TraitSet&, ...);
virtual void register_(const EntityReferences&, const trait::TraitsDatas&, ...);

After
virtual void preflight(const EntityReferences&, const trait::TraitsDatas&, ...);
virtual void register_(const EntityReferences&, const trait::TraitsDatas&, ...);

Example
The above example would then become:
# Preflight the whole bundle
render_bundle.working_ref = manager.preflight(render_bundle.ref, render_bundle.toTraitsData())
# Render each layer
for layer in render_layers:
   # Preflight the layer
   layer.working_ref = manager.preflight(layer.ref, layer.toTraitsData())
   # Render its AOVs and register them
   for aov in layer.aovs:
      aov.working_ref = manager.preflight(layer.working_ref, aov.toTraitsData())
      aov.render_location = manager.resolve(aov.working_ref, {LocatableContentTrait.kId})
      do_render(aov)
      manager.register(aov.working_ref, aov.toTraitsData())
  # Now the layer AOVs are done, register the layer to mark the end of AOVs
  manager.register(layer.working_ref, layer.toTraitsData())
# Now the layers are done register the bundle to show we're done.
manager.register(render_bundle.working_ref, render_bundle.toTraitsData())

Proposal 2 :grin:
register available (incomplete) information as soon as possible using a kTransient context hint.
Example
# Preflight the whole bundle
render_bundle.working_ref = manager.preflight(render_bundle.ref, RenderBundleSpecification.kTraitSet)
# Render each layer
for layer in render_layers:
   # Preflight the layer
   layer.working_ref = manager.preflight(layer.ref, RenderLayer.kTraitSet)
   # Render its AOVs and register them
   for aov in layer.aovs:
      aov.working_ref = manager.preflight(layer.working_ref, RenderLayerAOV.kTraitSet)

      # `register` the data we already know about
      transient_context = manager.createChildContext(context)
      transient_context.retention = kTransient
      aov.transient_ref = manager.register(aov.working_ref, aov.toTraitsData(), transient_context)
      # `preflight` the newly created, partially complete, entity
      aov.working_ref = manager.preflight(aov.transient_ref, RenderLayerAOV.kTraitSet)

      aov.render_location = manager.resolve(aov.working_ref, {LocatableContentTrait.kId})
      do_render(aov)
      manager.register(aov.working_ref, aov.toTraitsData())
  # Now the layer AOVs are done, register the layer to mark the end of AOVs
  manager.register(layer.working_ref, layer.toTraitsData())
# Now the layers are done register the bundle to show we're done.
manager.register(render_bundle.working_ref, render_bundle.toTraitsData())

Pros and Cons
Pros

No API changes necessary.
The manager can use metadata provided up-front to influence any subsequent preflight/resolve behaviour.
The manager only has to implement validation in a single method, register.
A sequence of preflight/register pairs can inform the manager as discrete steps are completed in entity construction.

Cons

It's not clear how the manager should behave if metadata is not registered ahead of time - can it throw an error, or must it handle either case?
Several additional lines of code for the host.
Failure in a later register could leave incomplete entities in the system (though kTransient retention helps).

Intersting idea!

register available (incomplete) information as soon as possible using a kTransient context hint.
and
A sequence of preflight/register pairs can inform the manager as discrete steps are completed in entity construction.

Is the intention that the manager throws away this information in the final register, which will provide all data in one, or that it is being slowly "assembled" through several register calls?
kTransient passed to register is already defined as "I'm not able to keep the ref you give me" nothing will be retained, so perhaps a more first-class support though access or a new field would be beneficial? kPartialWrite or similar?

The manager can use metadata provided up-front to influence any subsequent preflight/resolve behaviour.

Does it still leave the initial preflight being stuck with always having to generate a temporary reference?

Thinking about it though, this is a severe weakness of the multiple-register approach, and to a lesser extent the TraitsData in preflight approach.
I.e. how can the host know if the manager requires some data to be registered (or preflighted) ahead of the final register?
We can say that it's defined in the Trait/Specification, but is that reasonable?  Some managers could support /tmp workflows whereas others want data placed in the final location immediately.  How is that communicated to the host?

Affected as part of #1028

authors: feltech foundrytom

repo: OpenAssetIO/OpenAssetIO


text:
EntityExists has surprising list semantics

What
Came up when working on a browser.
https://github.com/elliotcmorris/OpenAssetIO/blob/c3063786d93579e9da9c77ab9d27b65ae32e450b/src/openassetio-python/package/openassetio/hostApi/Manager.py#L145
EntityExists has a surprising interface without reading the doc. It would more appropriately be called EntitiesExist
Why
Workflows with singular entity references are common, we know this as we have implemented singular conveniences for other methods.
It is natural to write
if manager.EntityExists(my_entity_ref):

which is invalid. A name change would clear this up.
Furthermore though, once the implementor has deciphered the error message, they will likely do a head-slap, and then, being a lazy and falliable human, and especially as you find yourself using this pattern sometimes with other api methods, change their implementation to
if manager.EntityExists([my_entity_ref]):

Which will make the error go away, but will somewhat hilariously, even if the return value is [False], always return True, as that check is simply checking if the list is empty or not.
This is not a bug, nor even neccesarily a design issue, but I put forward the argument that this would be friendlier as an EntitiesExist method with an EntityExists singular convenience.
Acceptance Criteria

Have a look over https://github.com/OpenAssetIO/OpenAssetIO/blob/main/doc/decisions/DR003-ManagerInterface-method-naming.md - we had an awkward naming scenario here. We landed on keeping single names as ultimately all entity related API methods are batch in some axis. However more recently, we no longer have methods such as entityVersions, or entityName so it's less obvious. This probably is the only non-verb method now.

This is clunky, but is a result of a wider decision to use singular terminology, even though this is on its own now, changing this would be a break for not much reason. Probably not going to do this without external feedback on it.

authors: elliotcmorris foundrytom


text:
按照提供的finetune代码，微调loss为0

起始日期 | Start Date
No response
实现PR | Implementation PR
No response
相关Issues | Reference Issues
No response
摘要 | Summary
按照大佬提供的finetune_ds.sh 训练发现loss为0，不知道哪里有问题
基本示例 | Basic Example
按照大佬提供的finetune_ds.sh 训练发现loss为0，不知道哪里有问题
缺陷 | Drawbacks
按照大佬提供的finetune_ds.sh 训练发现loss为0，不知道哪里有问题
未解决问题 | Unresolved questions
No response

[
{
"id": "0",
"image": 'path/to/image_0.jpg',
"conversations": [
{
'role': 'user',
'content': '\n请识别证件照图片中的内容'
},
{
'role': 'assistant',
'content': '1.公司名称：xxxx\n2.公司代码：xxxx\n3.公司地址：xxxx'
}
]
}
]

看看是不是MODEL和LLM_TYPE 没有对应？V-2_5 对应 llama3，V-2 对应 minicpm

看看是不是MODEL和LLM_TYPE 没有对应？V-2_5 对应 llama3，V-2 对应 minicpm

这个检查了没问题

看看是不是MODEL和LLM_TYPE 没有对应？V-2_5 对应 llama3，V-2 对应 minicpm

已解决，感谢大佬

看看是不是MODEL和LLM_TYPE 没有对应？V-2_5 对应 llama3，V-2 对应 minicpm

已解决，感谢大佬

遇到了同样的问题，你是如何解决的

repo: OpenBMB/MiniCPM-V


text:
toolbench key

您好，toolbench key已经申请好几天了，可以处理一下吗，邮箱： zhen.zhang.sdu@gmail.com

您好，toolbench key已经申请好几天了，可以处理一下吗，邮箱： zhen.zhang.sdu@gmail.com

请问你后来收到 api key 了嘛

repo: OpenBMB/ToolBench


text:
I can buy my own product

Brief Description: You can buy your own products
Operating System (OS and version): Debian 64bits
OpenBazaar version (shown on About OpenBazaar page in menu):
Hardware:
Reproducible (Always / Almost Always / Sometimes / Rarely / Couldn't Reproduce):
Steps to reproduce:
1.
2.
3.
Observed Behavior:
Expected Behavior: Buying button shouldn't be even visible if you are at your own store
Additional info (links, images, etc go here):

I was not able to get to a payment QR though just as a caveat @jjeffryes

I agree that you shouldn't be able to purchase your own items. However, I do think that vendors should be able to see their checkout flow on their own store. By being able to see it they may realize their colors choices don't render well in the modal and can also review the moderators that are servicing their store. So basically I think what we have now works well.

I agree the option of buying own items is needed for debugging purposes, however I think a reminder, that the vendor is using his own checkout page should be visible at all times, so he's aware of it.

A reminder to tell the user they're on their own store seems like overkill. What we have in place now should be good enough.

authors: hoffmabc mariodian morebrownies vassilichacal

repo: OpenBazaar/OpenBazaar-Client


text:
Two nefarious IP addresses don't close TCP connections

The two IP addresses 138.68.225.132 and 138.197.221.100 repeatedly establish TCP connections using different peer IDs to other online peers. The problem is that these connections are not teared down; they just accumulate. Maybe it's a crawler of sorts going a bit wild?
The Vintage Fashion 2.0 store (peer ID QmYsPDkREkhWxvmFK33pNekzjwkPk1SecTnfUkZkdHwqKk) is hosted on 138.68.225.132 so I'm assuming these two IP addresses (both on Digital Ocean) are controlled by OB1.
Are these OB1 addresses? What is going on here?

The IP address 165.227.8.166 is also doing something weird.

Vintage Fashion is @drwasho. Not sure about the other but we are having some issues with our hosting infrastructure so it could be a problematic node.

Is this a desktop client issue?

@jjeffryes We're lacking an "openbazaar-misc" issue tracker, for misc issues. See also https://github.com/OpenBazaar/openbazaar-desktop/issues/685

@JustinDrake let's file this under the openbazaar-go repo since it seems to be more related to the backend than the front end. Unless we can/should do something about it on the front-end that's where I think issues like this can go. I do agree it's kind of odd having two different repos with no general OpenBazaar questions/bugs but we'll have to triage them the best we can for now.

Closing as this is not the correct repo for this bug.

authors: JustinDrake hoffmabc jjeffryes rmisio

repo: OpenBazaar/openbazaar-desktop


text:
Feature request: list of all transactions done (including external wallet)

Many users will use their external wallets to pay for his products and after many purchases some will want to know for each purchase which wallet they had spent from.
Currently there is only a history of transactions done with internal wallet and purchases paid with external wallet don't receive any special tag on purchases list.
There could be a history of all transactions done in OB, with filters to internal and external wallets.

@cpacia do we have data on what wallet external payments used?

authors: jjeffryes rhcastilhos


text:
The useCache parameter was missing in the purchase view.

Just adds the paramenter. Good catch, @cpacia

Ok, flipped around so moderators defaults to using cache, unless told otherwise, and does not get told otherwise in purchase.