System.EntryPointNotFoundException of LLVM.InitializeNativeAsmPrinter()

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>net7.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <RuntimeIdentifier Condition="'$(RuntimeIdentifier)' == ''">$(NETCoreSdkRuntimeIdentifier)</RuntimeIdentifier>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="libLLVM" Version="15.0.0" />
    <PackageReference Include="LLVMSharp" Version="5.0.0" />
  </ItemGroup>

</Project>

LLVM.InitializeNativeAsmPrinter();
LLVM.InitializeNativeTarget();

System.EntryPointNotFoundException: 'Unable to find an entry point named 'LLVMInitializeNativeAsmPrinter' in DLL 'libLLVM'.'

Hmmm, this does appear to be missing from the exports in the official LLVM-C.dll binary.

@CWKSC, just noticed but you're referencing LLVMSharp 5.0.0. Can you please update to v15.0.0

Do you mean changing LLVMSharp from 5.0.0 to 15.0.0
<ItemGroup>
    <PackageReference Include="libLLVM" Version="15.0.0" />
-   <PackageReference Include="LLVMSharp" Version="5.0.0" />
+   <PackageReference Include="LLVMSharp" Version="15.0.0" />
</ItemGroup>

But the latest version of LLVMSharp is 5.0.0 in NuGet.

This will produce NU1102 Unable to find package if I directly change it.
If I understand correctly, the library works when both libLLVM and LLVMSharp are installed.
If I only install LLVMSharp

This will be using outdated LibLLVM (5.0.1)
When I install both,

The dependency inside LLVMSharp is changed.
Sorry if any misunderstanding.

The latest version  is 15.0.0-beta1: https://www.nuget.org/packages/LLVMSharp/15.0.0-beta1
It's not visible because you don't have the include pre-release check box checked.
The 5.0.0 version is over 5 years old and significantly out of date and while the new version is still marked "pre-release" it is generally better and overall more stable.

Yes. The entire API surface was redone to be more correct, have fewer breaking changes, and to be blittable.


Investigate parsing

snowplow-referer-parser/referer-parser#188
snowplow-referer-parser/referer-parser#36

Following page_referrer string from referer-parser#188 goes to a yandex search whose query is a redirect page url, and that's extracted. The query from referer-parser#36 is extracted as "g star". I'm not sure how a search for the redirect page became the referer, but I think referer-parser it's behaving as expected.

Thanks, closing


Add missing API doc for spaceship::portal

I think it's better to add details to let user know that this is the way to get real app details.

I signed it!


Added "fishverse" to showcase

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[x] You have updated the .github/CODEOWNERS file according to your changes.
[x] You have registered new documents to /sidebars.js if any.

Hi @onetwothreeswap , please resolve the conflict file. Thank you!


Dev/ianhu/update widget output params

For #5195

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

@DonJayamanne Is there a way to test this in stable as well? Can't just build and debug in stable as the stable engine isn't 1.55. With the renderers I copied over the client_renderer to the jupyter extension installed in stable to test. Can I just dump my out dir into the stable extension folder?
I did check manualTestFiles (which has rich outputs + a few widgets) on insiders both with the old renderer code and my new updated renderer code and it looked legit to me.

Can't just build and debug in stable as the stable engine isn't 1.55. With the renderers I copied over the client_renderer to the jupyter extension installed in stable to test. Can I just dump my out dir into the stable extension folder?

When we create a new release, we'll pin against the next version of VS Code (which is the current insider).
Hence no need to test in Stable at all.


Formal concept of foreign key relationships between documents

Partially to make the Include() feature more efficient (GH-146), but also to take advantage of relational integrity checks in the database, let's support foreign key relationships between documents. Implementation wise, this would probably mean a special kind of "Searchable"/duplicated field that also has a foreign key constraint generated by the DDL. Hopefully we'd be able to take advantage of this foreign key in making the joins when doing Include.

To add to this, I think we could either allow users to just refer to the key of another document:
public Guid DocumentId {get; set;}

and configure that via something like:
For<SomeDocument>().ForeignKey<TOtherDoc>(x => x.Other.Id, CanBeNull = true/false);

That would just end up creating a searchable field with a foreign key relationship to the other document type. Easy enough.
We could also do this:
public OtherDocType Other {get;set;}

and assuming that OtherDocType is a document type with an Id in the Marten store, we could also do the foreign key + searchable field for Other.Id.
That begs a couple new questions though,
Do we want to make loading and attaching the OtherDocType reference automatic that obviates the need for doing Include() on that relationship? Or do we make that configurable? Or do we say that the load with an Include() has to be explicit?

Perhaps these could be configurable options on the DocumentStore when it is spun up, and the overridable on a per document basis? Although I lean toward the sensible default being that the relationships are not included by default, but others may feel differently.

Absolutely, yes to having it be done per document/relationship.


Automatic PyPi Upload Patch #2

The automatic PyPi upload workflow uses setup.py to build both distribution and wheel, and assigns the version number as given by setup.py to the upload file name. As the version number in setup.py is controlled by the ISOFIT __init__, the workflow failed due to an outdated version number in the __init__, producing the following error:
Uploading isofit-2.9.8-py3-none-any.whl
HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
File already exists.
To ensure a successful upload, we have to update the version number in the ISOFIT __init__ manually before publishing a new release.
@pgbrodrick Could you merge this in and then publish a new release with the tag v<IP_ADDRESS>? This PR updates the version number in the __init__ to <IP_ADDRESS>, so that the workflow should then upload a distribution to PyPi that doesn't exist yet.
This is also linked to #340.

Thanks Niklas. Just to note, the current maintainer release sequence would then be:

submit dev version number change
initiate PR from dev to main
accept PR on main
initiate release

Yes, exactly, that's the required release sequence.


[WIP] Add a "output-module-groups" command

Description
Fixes #2016 .

This PR introduces the terragrunt groups-json command which outputs as JSON the groups of modules
(as an array of array) of the current stack.
TODOs
Read the Gruntwork contribution guidelines.

[ ] Update the docs.
[ ] Run the relevant tests successfully, including pre-commit checks.
[x] Include release notes. If this PR is backward incompatible, include a migration guide.

Release Notes (draft)

Added the "groups-json" command.

[ ]  Update the docs.

@denis256 before updating docs, do you have a suggestion that is better than "groups-json" for the command name ?

[ ] Run the relevant tests successfully, including pre-commit checks.

The PR doesn't modify any code, though, I should probably add some tests ?

Hi,
since is related to reading output, I was thinking about something output-xxx

Hi,
since is related to reading output, I was thinking about something output-xxx

@smaftoul thank you for the PR! I am very excited to see it might be implemented soon 🤞 🙏

@CarterSheehan Hi ! Thanks for pinging, I stopped working on this because I have been fired (like a lot of startups are laying off) and took some holidays ...
I should definitely finish this feature, as it almost already works !

@smaftoul I like this feature a lot for cicd, but I am not clear exactly how it is intended to be used. When I run it, I just get the same module list as normal, except it is in json (which is useable, but takes a lot of additional work). What I was thinking would be most useful and applicable to cicd would be to run a command at the root that will automatically

get module groups
for Group1, run a plan for all modules and check if there are any changes
if there are changes, output a plan file and exit (ci tools can then post this for human review, which will then get ingested into an apply
if there are no changes to Group1, then move on to Group2

This nicely separates each dependency layer in your stack, and ensures that you have as much knowledge as possible about each deployment's consequences. No more having to fiddle around with "mock outputs", because modules only have a plan attempted when all previous-order modules have no pending changes.
Wish I could help, but I am still learning Go

Would love to see this @smaftoul ! I believe that this output can enable you to code what you are describing @phillip-constantine, but I don't think the whole process should be managed by Terragrunt.

I've added the documentation requried :)

Thanks @Laudenlaruto, getting this PR out of WIP ... after 9 month waiting for a bit of doc ;)

@denis256 can I request a review on this ?

[INFO] Initializing environment for https://github.com/gruntwork-io/pre-commit.
Terraform fmt............................................................Passed
goimports................................................................Failed
- hook id: goimports
- files were modified by this hook

cli/cli_app.go
configstack/module.go
configstack/module.go
cli/cli_app.go
configstack/module.go

Up on the review @denis256  :)

Also, there are no tests in this pull request, how we will know in the future that this feature will continue to work without it?
Some examples can be found in integration_test.go, TestRenderJsonAttributesMetadata

I've implemented a test close to the TestTerragruntOutputFromDependency test. WDYT ?

Stderr: # github.com/gruntwork-io/terragrunt/cli
cli/cli_app.go:643:50: not enough arguments in call to configstack.FindStackInSubfolders
	have (*options.TerragruntOptions)
	want (*options.TerragruntOptions, *config.TerragruntConfig)

Looks like CI build is failing:
Stderr: # github.com/gruntwork-io/terragrunt/cli
cli/cli_app.go:643:50: not enough arguments in call to configstack.FindStackInSubfolders
	have (*options.TerragruntOptions)
	want (*options.TerragruntOptions, *config.TerragruntConfig)

Fixed 🔨


The reference value for the one covariate is supposed to be 0, otherw…

…ise it has no effect.

One line change is not worth reviewing

One line change is not worth reviewing


[Cython][FFI] Fix crash when call del operator for handle

In case of cython when we create a set function for property then the following code will be generated:
static int __pyx_setprop_4test_9TestClass_handle(PyObject *o, PyObject *v, CYTHON_UNUSED void *x) {
  if (v) {
    return __pyx_pw_4test_9TestClass_6handle_3__set__(o, v);
  }
  else {
    PyErr_SetString(PyExc_NotImplementedError, "__del__");
    return -1;
  }
}

And when we call operator del for this handler, then the memory will be released and operator __set__ will be called for NULL object. In this case an exception that operator __del__ is not implemented will be generated. To avoid this problem we need to declare __del__ function for each property where we define operator __set__.

cc: @tqchen, @vinx13, @Lunderberg, @masahi

can you show a test case that would trigger the error?
One thing we need to be very careful about is whethere there would be double free issue, since the free function was called in dealloc as well

@tqchen thank you for your review! I'll work on your comments tomorrow. About the test case. Originally, problem appeared in disco. When we run model on multiple GPU and TVM was compiled with cython, then we have such crash:
Traceback (most recent call last):
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/engine/staging_engine_worker.py", line 421, in run_generation_loop_worker
    model_module = model_module_loader(**model_module_loader_kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/paged_cache_model.py", line 136, in __init__
    model, cache_manager = init_tvm_model(model_artifact_config, engine_config)
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/tvm_model.py", line 922, in init_tvm_model
    model = Model(model_artifact_config, dev)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/tvm_model.py", line 112, in __init__
    self.mod, self.params, self.disco_session = get_tvm_model(config, dev)
                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/tvm_model_utils.py", line 275, in get_tvm_model
    return load_disco_module(config.model_artifact_path, lib_path, config.num_shards)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/tvm_model_utils.py", line 93, in load_disco_module
    module, params = load_disco_weights_through_shard_loader(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/mlc-serve/mlc_serve/model/tvm_model_utils.py", line 39, in load_disco_weights_through_shard_loader
    module = sess.load_vm_module(lib_path)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/deps/tvm/python/tvm/runtime/disco/session.py", line 309, in load_vm_module
    return DModule(func(path, device, alloc_type), self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/dlami/nvme/echuraev/Workspace/OctoML/ollm-lora/deps/tvm/python/tvm/runtime/disco/session.py", line 94, in __init__
    del dref.handle
        ^^^^^^^^^^^
NotImplementedError: __del__

The crash happen here when we try to delete dref.handle.
I simplified the problem and we can create a simple test.pyx without any TVM specific:
cdef class TestClass:
    property handle:
        def __get__(self):
            print("Getter")
            return None

        def __set__(self, value):
            print("Setter")
            return

The property in the code above has the same methods as exists in packed_func.pxi.
Next, create a setup.py file:
from setuptools import setup
from Cython.Build import cythonize

setup(
    ext_modules=cythonize("test.pyx"),
)

And build it by the following command:
python setup.py build_ext --inplace

After that, we can reproduce original issue:
$ python3
>>> import test
>>> t = test.TestClass()
>>> del t.handle
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
NotImplementedError: __del__
>>>

If we add an implementation of __del__ method to test.pyx than we won't have this exception:

Add this method to TestClass:

        def __del__(self):
            print("Dtor")
            return

Recompile the code and run the reproducer once again:

$ python3
>>> import test
>>> t = test.TestClass()
>>> del t.handle
Dtor
>>>

And after adding implementation of __del__ methods to the ffi files, the crash in disco also was fixed. If it is necessary, I can try to create a simple unit test tomorrow, but not sure how to integrate cython tests to the TVM infrastructure.

@tqchen I modified __del__ functions only to set NULL to handle.  Looking at the code in disco/session.py, it looks like we shouldn't release memory after calling del operator, we just need to set NULL to handle of dref object and memory should be released by the last instance of this handle.
As a test for these changes, we can use two tests from disco/test_session.py. Without this fix, these tests are crashed when we use cython.

@echuraev thank you! I think in this particular case we should change https://github.com/apache/tvm/blob/main/python/tvm/runtime/disco/session.py#L95 to
 dref.handle = None

as in https://github.com/apache/tvm/blob/main/python/tvm/runtime/disco/session.py#L83
So we don't have to add del function.

I think I agree with @tqchen here.  The TVMObjectFree function internally checks whether the handle is a nullptr, so setting dref.handle = None would not cause a segfault.  Since no C++ object would have its reference count decremented, setting dref.handle = None would have the same desired result of removing the ownership of dref.handle from dref.
If there are other use cases of del my_obj.handle, then we probably should still add it to the cython definition, but it could be just a wrapper for my_obj.handle = None.

@tqchen, @Lunderberg thank you for your review. Removed implementation of __del__ methods and set dref.handle to None instead.

@tvm-bot rerun


Unable to clone this project !

Unable to clone this project !

Hello,
Indeed I had the same issue. This is due to that filename: design-inspiration:the-best-projects-from-November.md. The colons character is invalid on Windows OS. If you rename this file in your cloned repository on GitHub it will solve the issue.

Renamed the file name as @sizious suggested. Hope the issue is fixed by now.


TypeScript includes declaration merges from declaration file in typeRoots without import

TypeScript Version:  2.7.0-dev.201xxxxx
Context
I am trying to create a local type declaration file for winston-papertrail that adds a new property to winston.transports.Papertrail. There is a @types/winston but no @types/winston-papertrail. Requiring "winston-papertrail" should augment winston.transports to also contain this additional Papertrail property. My assumption was that types inside of 'typeRoots' do not take effect until after the corresponding import statement has been made.
I am able to make it work by doing the following:
Code
The main file is index.ts:
import * as winston from 'winston'
// import 'winston-papertrail'

winston.transports.

tsconfig.json:
{
  "compilerOptions": {
    "target": "es5",                          /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
    "module": "commonjs",                     /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
    "strict": true,                            /* Enable all strict type-checking options. */
    "typeRoots": [ "node_modules/@types", "types" ]                       /* List of folders to include type definitions from. */
  },
  "include": [ "index.ts" ]
}

types/winston-papertrail/index.d.ts:
import * as winston from 'winston'

declare module "winston" {
    interface Transports {
        Papertrail: any
    }
}

export { }

Expected behavior:
The expected behavior is that the Papertrail property is NOT showing up in the autocompletion suggestions for properties on the winston.transports value since I haven't imported "winston-papertrail" yet.
Actual behavior:
The Papertrail property is showing up in the autocompletion suggestions.

typeRoots are used for including global definitions automatically without needing an explicit reference.
If you don't want that you could simply use "typeRoots": [].

I see, then everything is as expected. Is this behavior documented somewhere, though? Personally I found it a bit unituitive.

There is http://www.typescriptlang.org/docs/handbook/tsconfig-json.html#types-typeroots-and-types although we aren't doing a good job of specifying what "included" means. Imported modules don't need to be included, just global definitions.

So does it then mean that the structure of the @types folder is irrelevant? By default every<EMAIL_ADDRESS>is included? I fooled myself into thinking that whether they are included or not would be controller by the import statements in your code, because the @types structure reflects the actual package names that you import.

We normally automatically look through @types in case anything contains global definitions (such as @types/node or @types/jquery). It is possible to explicitly choose which ones are determined by specifying types in your tsconfig.json, as well as by using /// <reference types="foo" /> comments.

Gotcha, thanks


Update aruco.h regarding latest changes opencv_contrib

Recently cv::aruco::drawAxis was removed from code on opencv_contrib.
https://github.com/opencv/opencv_contrib/commit/56d492cfecb7aadaca79a9494a33ad1c12798e5e
So my suggestion is to keep the previous logic as it's a change in the minor release (still 4.*).

Sorry for the late reply. Thanks!


Allow per line configuration for multiline axes labels

Admittedly, I might be missing something, and this is already possible (see my question posted to StackOverflow here).
Assuming that what I want to attempt is currently not possible (via existing configuration, or through the current plugin architecture), I am asking for consideration of how the font for a given axes label is configured. Today, returning an array of font objects is possible (within scales > x|y > ticks > font) - but when an array is returned, it is assumed that each item in the array corresponds with a given item in the dataset (allowing the developer to do things like have each label be a different color, either by having the size of the font array match the dataset array size, or by looping over config.tick.label). Since a given label may be a string or an array of strings (the latter of which allows for multiline labels), could the corresponding font configuration follow the same pattern (return a font object, or an array of font objects)?
Specifically, this would help with use cases where the label for a given axes is not only multiline, but also visually should show some semblance of hierarchy (e.g., the primary label is size 22 and bolded, while the secondary portion of the label is displayed on the next line in size 12 and normal weight).
To be fair, I have an immediate need, so a push in the right direction on how to appropriately use the plugin architecture to solve this problem would be best suited for my use case (versus the turn-around time of an enhancement to the core project) - but I am also curious if there is a bigger need, possibly leading to inclusion of this feature alongside the existing ability to generate multiline labels.

You can use a custom plugin to achieve this for now: https://jsfiddle.net/Leelenaleee/3d50fkL9/26/

Thank you! I will give this a go, and see how far I get.


build_visit run from 3.4RC checkout builds develop branch instead of default of 3.4.1

Describe the bug
From a 3.4RC checkout...
[scratlantis:~/visit/visit/34rc] miller86% git branch | grep ^\*
* 3.4RC
[scratlantis:~/visit/visit/34rc] miller86% ./src/tools/dev/scripts/build_visit --help | grep version
setting up vtk for version 9
--version <version>  The VisIt version to build [3.4.1]

Note the echoed default for --version is 3.4.1. Nonetheless, it winds up building develop and producing a 3.4.9
I suspect adding --version 3.4 will do the right thing but I don't honestly know.
This was reported by @iulian787

I think this was pilot error. The user now reports it is building the head of 3.4RC


Check out any other software that might be worth supporting

See here for list of software: https://fedidb.org/software

The following are the most commonly encountered ons by myself

GoToSocial
Friendica
WordPress

I found a friendica post that seems to properly fetch when I search for it in masto web (doesn't work in Ivory however):
https://friendica.myportal.social/display/e65e1095-2066-778e-a9b1-719897452963
Not sure why friendica is so hard to explore / seems so locked down, not sure if that's just an instance configuration thing or what.

Thanks @colinstu12
I did try this. According to the docs, the API to get context should be the same as Mastodon: GET /api/v1/statuses/:id/context. However, when I try to get https://friendica.myportal.social/api/v1/statuses/e65e1095-2066-778e-a9b1-719897452963/context I only get back a 404. So I'm not sure if I need to convert that UUID into a different ID, or if the docs are wring, or if the endpoint requires auth, and the 404 is just a masked 403.
All very confusing 🤔

OK, so I'm a little bit closer here: Looking at the source code I find a reference to a numeric ID for this post, and if I use that it works:
https://friendica.myportal.social/api/v1/statuses/45055616/context
But how can I convert the UUID to a numeric ID?

For WordPress, are you looking at ActivityPub powered ones, or just regular blogs?

@edent Yes, ActivityPub ones. Here is a node info example response:
{
  "version": "2.0",
  "software": {
    "name": "wordpress",
    "version": "6.5"
  },
  "usage": {
    "users": {
      "total": 1,
      "activeMonth": 1,
      "activeHalfyear": 1
    },
    "localPosts": 340,
    "localComments": 11
  },
  "openRegistrations": true,
  "services": {
    "inbound": [
      "atom1.0",
      "rss2.0",
      "pop3"
    ],
    "outbound": [
      "atom1.0",
      "rss2.0",
      "wordpress",
      "smtp"
    ]
  },
  "protocols": [
    "activitypub"
  ],
  "metadata": {
    "generator": {
      "name": "NodeInfo WordPress-Plugin",
      "version": "2.3.1",
      "repository": "https://github.com/pfefferle/wordpress-nodeinfo/"
    },
    "nodeName": "Symfony Station / The Payload Newsletter",
    "nodeDescription": "The Symfony Station Fediverse Account and Newsletter",
    "nodeIcon": "https://newsletter.mobileatom.net/wp-content/uploads/2023/12/cropped-Symfony-Station-No-Text-Astronaught-2C.png"
  }
}

Sorry if I've misunderstood this, but I think this is the way to do it.
If you look at my blog's WebFinger -<EMAIL_ADDRESS>- that points to https://shkspr.mobi/blog/@blog
If you request that with Accept: application/activity+json, you'll get back a standard AP document which says the outbox is https://shkspr.mobi/blog/wp-json/activitypub/1.0/actors/0/outbox
That's paginated, so should let you backfill all the contents.

Any chance you can add partial support for the iceshrimp.net beta? It has mastodon compatible api but is missing features currently.
https://is.ready.social/swagger/ for a list of the api. You can select mastodon from the dropdown in the top right.

FediFetcher does already support ice shrimp. Is there any specific issue you’ve encountered?

FediFetcher does already support ice shrimp. Is there any specific issue you’ve encountered?

I wasn’t able to get it to work with iceshrimp.net but could with mastodon. Are you talking about iceshrimp.js? I’m talking about their new codebase on the beta/dev channel at iceshrimp.net. The software isn’t finished yet.

@SimplyCorbett I'm talking about the software IceShrimp, rather than about a specific server.
As of today, iceshrimp.net doesn't appear to be hosting a Fediverse instance. The .well-known/nodeinfo endpoint is a simple redirect to a code repo, as is host-meta
curl -i https://iceshrimp.net/.well-known/nodeinfo
HTTP/2 301
alt-svc: h3=":443"; ma=2592000
location: https://iceshrimp.dev/iceshrimp/iceshrimp.net
server: Caddy

What about https://next.iceshrimp.dev ?

Thanks @colinstu12
if they do support the mastodon api then it should be really straightforward to implement. I’ll have a look at it some time next week

@SimplyCorbett @colinstu12 can one of you test if #153 works correctly with Iceshrimp.NET?

@SimplyCorbett @colinstu12 can one of you test if #153 works correctly with Iceshrimp.NET?

They appear to still be in closed beta/alpha stage. But it sounded like late 2024 or early 2025 there'd be a release. All of the Iceshrimp.js team has swapped over to the .net one it sounds like so it's good to support it, but can't quite test yet. If those iceshrimp.net folks run across this or if they're reached out to on fedi maybe they can assist further.

They appear to still be in closed beta stage.

then why did @SimplyCorbett ask for support? 🤔😁

It’s open beta. They are targeting an official release by the end of 2024.
I’m asking for support because I use iceshrimp.net as my daily driver.
I will give #153 a shot, thanks!

Thanks  for the clear @SimplyCorbett
if your feedback is positive I’ll be happy to merge.

Thanks for the clarification @SimplyCorbett
if your feedback is positive I’ll be happy to merge.

I didn’t run into any issues and it finished successfully, but I also dont have a lot of things setup in the config.
So it appears to work, thanks!

Great, thanks for the feedback @SimplyCorbett

Hello @nanos , why exactly can GoToSocial not be supported? I have a friend on a GTS instance now and I notice in my fedifetcher logs this now: unknown server api for social.bateleur.org
I seem to be able to pull up context just fine from Masto Web UI and from Ivory client (when using both the gotosocial post link or my instance's local copy of the post too)? Why can't fedifetcher perform the same context retrieves etc?
Thank you

@colinstu12 see the 2nd comment in this thread: GTS requires authentication for their api, so we cannot support them. In the linked issue the maintainer explains their rationale..

Would #183 help at all with this?

No, sadly not. #183 means that you can run (some parts of) FediFetcher if your home instance is GoToSocial.
But it does nothing for fetching stuff from remote instances.


SA1210 Should ignore "global::" prefix

Analyzer reports that fallowing namespaces are in incorrect order
using System.Web.UI;
using System.Web.UI.WebControls;
using Microsoft.SharePoint.Publishing.WebControls;
using global::Runner.Controls;

Currently analyzer treats global:: prefix as namespace name and this is wrong. Analyzer should ignore global:: prefix and treat global::Runner.Controls namespace as Runner.Controls when checking this rule

Hi @sako19 and welcome to the project. :smile:
This is a duplicate of #1092. The change was intentional; you can read more about it in that issue and the one it links to. :+1:


Header underline blocking text

My headers (with the exception of H1) seem to be clipping with the underline beneath. This is not an issue in edit mode, but in preview, is quite annoying.

Ok I will take a look at this issue.

@mrmagic113 Can you provide the document content for me to text this issue?


cwp-import bug with descriptions

cwp-import panicking on no description going to description

Resolved in 3a75a0e21cd1622e35785a63f09d82b3fb60c541


Pull request testing for multiple python versions

Description of the feature
Right now the CI tests only run for Python 3.11 on multiple platforms for pull requests, is it necessary to test on multiple Python versions for pull requests?
Main challenges in adding the feature (if any)
CI Build Time
It is really slow to build all python versions for all platforms on each pull request, around ~2 hours.
Maybe we could test all Python versions just on linux, and then do only the latest python version on all platforms?

Now that the CI/CD system has switched to mamba from #20, the CI is a lot faster, and maybe we can do this


Small display issue when using it with Cmder on Windows 10....

Environment

tsrc version 2.0.0
Operating system: ...

I am using a stock install of Cmder (https://cmder.net/) with following version info:
ls %CMDER_ROOT% | grep Version*
Version <IP_ADDRESS>2

Command you ran
tsrc status

Actual output

Expected result
Pink area (designated with arrow) should show the output instead of being blank.

This project has moved.
Your issue can be found at: https://gitlab.com/tsrc2/tsrc/-/issues/255

This project has moved.
Your issue can be found at: https://gitlab.com/tsrc2/tsrc/-/issues/255

@natiki Just a hypothesis from https://github.com/dmerejkowsky/tsrc/issues/349 is @echo off helps ?


swift: 4.2.2 -> 4.2.3

Update Swift to current version 4.2.3.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

changes: https://forums.swift.org/t/swift-4-2-3/21089
LGTM, building now ... :)


Baun installed on subdomain - CSS does not show

Hello Sir developer of Baun CMS,
I almost installed it specifically on a subdomain with SSL under https://bauncms.liebrecht-projekte.de
The real problem is that CSS and design are not displayed. What make it so I can fix it I need?
This Baun installation is with me in the FTP account, and in the case of Plesk under /bauncms.liebrecht-projekte.de/baun/public/index.php
Something is probably not linked correctly. Can you help me with this?
Thanks in advance.

I had this problem and noticed that if you load page with https, css is still loaded with http, so browser blocks it (mixed-content).
I'm using CloudFlare so I can change one setting in CF to make all http requests through https. That solved my problem. Without CF maybe you can make some rewrite rules to point css files to use https.
I hope this can point somewhere to find a real solution.

This is odd as the {{ theme_url }} should output https:// if that is your site URL. @xatlas can you link to the site you were having issues with? Is the HTML outputting http:// still?
I might update to strip out the http so that the asset files are loaded properly regardless of SSL.

Yes @marksouthard , you can check it at https://blog.atlas.sx/

In your layout.html file are you using {{ theme_url }} to load the stylesheet?
<link rel="stylesheet" href="{{ theme_url }}/style.css">

Yes, I have this:
<link rel="stylesheet" href="{{ theme_url }}/bower_components/skeleton/css/normalize.css">
<link rel="stylesheet" href="{{ theme_url }}/bower_components/skeleton/css/skeleton.css">
<link rel="stylesheet" href="{{ theme_url }}/style.css">

Have you set a base_url in the config/app.php file? If not, can you try setting that with https://

If I set this
         // Path to the themes folder
         'themes_path' => BASE_PATH . 'public/themes/',
         // The currently active theme
         'theme' => 'baun',
         'base_url' => 'https://',

I get this:
<link rel="stylesheet" href="https:///themes/baun/bower_components/skeleton/css/normalize.css">
<link rel="stylesheet" href="https:///themes/baun/bower_components/skeleton/css/skeleton.css">
<link rel="stylesheet" href="https:///themes/baun/style.css">

Sorry, I meant https://blog.atlas.sx for your site.

Yes, this works for me


Suggestion on cross-link

Description
Wade, you might consider a different link for ...
/dotnet/framework/data/adonet/ef/language-reference/query-execution

... because that's an ADO.NET source. There's similar info in the LINQ docs at ...
https://learn.microsoft.com/en-us/dotnet/csharp/linq/get-started/introduction-to-linq-queries#deferred
I just noticed it in passing while working on the Blazor tutorial. If you prefer the ADO.NET link, no worries ... it's just a passing thought. Please close this in that case.
Page URL
https://learn.microsoft.com/en-us/aspnet/core/tutorials/razor-pages/search?view=aspnetcore-8.0
Content source URL
https://github.com/dotnet/AspNetCore.Docs/blob/main/aspnetcore/tutorials/razor-pages/search.md
Document ID
b96b0b44-3e3a-a6c2-6b2b-c7bab4b78f0d
Article author
@wadepickett

Thanks @guardrex, will fix!


[ng-dev] Make sure AngularContext.current is always cleaned up

If a context throws an error during cleanup, it can leave .current defined and cause all remaining tests to fail.

An old TODO in ComponentContext.constructor:
    // TODO: once cleanup of contexts is not so touchy, move this below super() and use shortcut `private` declarations on constructor params


Why should cordova.js and verdor.js be imported two times in src/index.html?

show information
objc[3136]: Class Polyline is implemented in both /System/Library/Frameworks/CoreImage.framework/CoreImage (0x1b13be738) and /var/containers/Bundle/Application/CFB33900-1C90-48FA-9E07-B8484DFCBE68/my.app/my (0x1059cfbe8). One of the two will be used. Which one is undefined.

build and run app in iPhone for xCode .


Application only working when bankai is serving

Hello!
I really like choo and think this project is a great idea and opportunity to make my first contact with electron. 😄
I ran the generator with npx, as suggested, and then ran npm run build inside the generated folder. After opening the generated application inside dist, it only showed up a blank window.
I read the codebase to try to figure out what was happening and the findings/fixes resulted in this PR.
Now if I run npm run dev I can see the "Choo choo!" text, but if I open the generated app I can only see a blank page (unless I am serving the page with npm run dev). Is that expected?
I'm running on node v6.11.2 and osx 10.12.4.

Hey! — sorry for my slow reply. Yeah, the build step not working is a known issue. We've been working on a new version of bankai over the last month; and we'd very much like to have the bankai build command work for Electron out of the box. It's rather hard tho, which is why this isn't working quite yet — but we're fully with you on this idea!
Probably a first step would be to get the electron-builder command linked into Bankai, and then start detecting if electron is a dependency in package.json. From there we could move to include it into bankai start for serving, and bankai build to statically compile it.
Hope this makes sense, and sorry this isn't working quite yet!

It does make sense. Thanks for your reply!
Should we close this issue then?

@delaguilaluis I think it's fair to keep this open — it's not resolved at the moment, and might serve us as a reminder we should get around to this (eventually) :D

For a quick solution here's what I currently have in the build in package.json:
"build": {
    "appId": "app",
    "files": [
      "dist/**/*",
      "!dist/mac/*",
      "lib/**/*",
      "main.js"
    ],
    "linux": {
      "category": "Office"
    },
    "mac": {
      "category": "public.app-category.productivity"
    },
    "win": {
      "target": [
        "squirrel"
      ]
    }
  }

This issue still occurs, not sure if development stopped on this repo.


azure: Add the correct JSON tag to GatewayIP field in CiliumNode CRD

Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Thanks for contributing!

The incorrect JSON tag "-" was added to GatewayIP field in commit 8de6dc5
that was causing GatewayIP field to not get populated in CiliumNode CRD.
Since GatewayIP field was not populated, Cilium CNI was creating incorrect
ip rules and routes that was affecting pod-to-pod connectivity.
Fix a bug that was causing Azure IPAM with multiple pod subnets to not work.

Adding DO NOT MERGE tag because I haven't got chance to test the second commit on my Azure cluster.

Adding DO NOT MERGE tag because I haven't got chance to test the second commit on my Azure cluster.

You can convert the PR into draft mode to indicate that it's WIP.

Tested it on my cluster that this works

test-me-please

test-1.13-netnext


State diff tracer

Component
Anvil
Describe the feature you would like
Anvil is an extremely useful tool for simulating a sequence of unsigned transactions and determining if any will revert. The eth_sendUnsignedTransaction appears to be without analogy in any other client/tool and is awesome! However, being able to simulate state diffs is important to many workflows as well.
Geth has several built in tracers, including one that is exceedingly useful called the prestateTracer.
It would be great if Anvil could incorporate a similar tracer to provide state diffs for simulated, unsigned transactions.
Additional context
No response

This would be really awesome

Having support for prestateTracer as a tracer argument would be really useful

+1, would really like to see this!

going to track prestateTracer (and other tracers built in Reth) support in https://github.com/foundry-rs/foundry/issues/5855 and close this one as dupe


Handle xml header

Hi how can I handle this header?
<?xml version="1.0" encoding="UTF-8"?> If I dont comment it out it crashes with a runtime error when parsing.

Sorry for the delay. I just updated a commit 3b27b9b4d61cdfc4664aaa994c67cefb16de9137 which adds a test suite for this. xml header will be now ignored when parsing. If you want to prepend the xml header, just use write!(&writer, "<?xml version="1.0" encoding="UTF-8"?>")?;.


Honda ACC faulted with OP Long enabled

Describe the bug
#24806 is causing ACC faulted. Error message: https://gyazo.com/21938e46df920bd64ee258641163c560
Which car does this affect?
20' Civic Hatchback Sport
Provide a route where the issue occurs
f1055ddb93ff2d3b|2022-06-12--09-09-40--0
openpilot version
master
Additional info
No response

Will be fixed in #24850


Newer versions on npm registry

Latest version on npm is 1.1.1.

I will look into what has gone wrong there @dbtek and comment back. Thanks for the heads up.

@dbtek the library you are thinking of is actually another you will find here: https://github.com/twhitbeck/angular-click-outside


updated v0.7.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

noarch: python recipes are required to have a lower bound on the python version. Typically this means putting python >=3.6 in both host and run but you should check upstream for the package's Python compatibility.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

The reason is I could not find the source from https://pypi.io -it was not uploaded for this version.  Maybe we could ask the pypi package maintainer why...

Ah, yes, you are right, I have checked that the 0.7 release was on pypi, but there is only the wheel and not the tarball. This may explain why the bot didn't make a PR!
Yes, it would good to ask the maintainer, it may be simply that they forgot to upload it. Shall we wait to get an answer from the maintainer?

Shall we wait to get an answer from the maintainer?

Sure. Did you contact him, or shall I do it?

Let's merge this PR; once we get an update from @mgaitan in https://github.com/mgaitan/sphinxcontrib-mermaid/issues/75 and the source distribution are available on pypi, we can switch back to pypi.


The inference time is 8 ms for cpm model on iPhone 11 Pro

It's really fast.

why？

why it's so fast?

Hi, I converted the Pb file from trained from src/network_mv2_hourglass.py  to coreml, but I found that the inference time on single image with iPhoneXSMax >40ms; so I converted the Pb file you provided to coreml in the same way, and the time per frame was only 5-6ms; why?

IPhoneXsMax
tensorflow 1.4
input 192x192


ARROW-16692: [C++] StackOverflow in merge generator causes segmentation fault in scan

Fix for the merged generator to avoid a potential stack overflow

There is some high level description of the problem & the fix in https://issues.apache.org/jira/browse/ARROW-16692

The longer term plan is to replace all this with the push-based plan, right? Or does this have to stay for dataset?

Yes, as part of ARROW-16072.

Hmm, sadly https://github.com/apache/arrow/runs/7477126709?check_suite_focus=true seems relevant.  Perhaps this is leading the merge generator to not properly discard its state.

I investigated the failing ASAN run further today.  I'm able to reproduce it on master so it is unrelated to this change.  The root problem is the same one that motivates ARROW-16072.  From the JIRA:

We've hit a bit of a wall with the merged generator. The current behavior is: If one subscription encounters an error we simply stop pulling from the other subscriptions. Once everything has settled down we return the error and end the stream.
In reality, we should be sending some kind of cancel signal down to the other generators. Otherwise, we are not respecting the rule for AsyncGenerator that we recently defined which is "An AsyncGenerator should always be fully consumed".

The end result of this is that some bits of the scanner keep running in the event of a failure or an abort.  These pieces keep their state alive via shared_ptr so it doesn't actually cause any exceptions.  However, it can lead to cases like this memory leak.
The last test in ScannerTest will test a failed scan.  This causes some bits to be left running.  Then the test ends and the process shuts down and the thread pool shuts down immediately.  This causes some cleanup thread tasks to fail to get scheduled or not run.  As a result there is some leakage at shutdown.
This is only a shutdown leak and so pretty minor.  ARROW-16072 will tie cancellation into the scanner so that once a plan is aborted and the user waits for it to finish then nothing will be left running and there will be no possibility for this.
Long story short, I think we can proceed with merging this PR.

I've filed ARROW-17198 for the memory leak.

Can we add an ASAN suppression temporarily before merging?

(Also probably worth doing the same for Valgrind)

Can we add an ASAN suppression temporarily before merging?

I added a WaitForIdle at the end of the test.  This should prevent any possible leak, from this test at least.

Failure seems unrelated.  I'm going to merge.


Add Mariocube packages to require additional scrutiny

Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/109852&drop=dogfoodAlpha

[Policy] Needs-Attention

https://github.com/microsoft/winget-pkgs/issues/109796


Rviz does not display meshes with GPU enabled

Environment
Windows build number: 10.0.22000.0
Your Distribution version: Ubuntu 18.04
Your WSLg version: 1.0.26
ROS version: Melodic

Steps to reproduce
Launch any MoveIt demo launchfiles. Open Rviz, load the RobotModel plug-in.

WSL logs:
pulseaudio.log
weston.log
versions.txt
Expected behavior
Rviz would display the 3D meshes.
Actual behavior
Rviz opens up using the Nvidia GPU. See below for the logs from Rviz. I then load the RobotModel and TF plug-ins. As seen in the screenshot, the coordinate frames get displayed correctly, but the meshes from the robot model do not.

[ INFO] [1635847601.963606500]: rviz version 1.13.19
[ INFO] [1635847601.963664900]: compiled against Qt version 5.9.5
[ INFO] [1635847601.963704800]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1635847601.973562500]: Forcing OpenGl version 0.
[ INFO] [1635847604.867335000]: Stereo is NOT SUPPORTED
[ INFO] [1635847604.867490400]: OpenGL device: D3D12 (NVIDIA GeForce GTX 1050 Ti with Max-Q Design)
[ INFO] [1635847604.867577100]: OpenGl version: 3.1 (GLSL 1.4).```

@tgaspar, thanks for reporting the issue, just for diagnostics purpose, would you please disable GPU and see if it works fine with software emulation? Thanks!

Thanks for the pointers! I went into the Device Manager and disabled the Nvidia GPU. Indeed, the meshes are now show (see image and the logs from Rviz).

[ INFO] [1635874735.597735100]: rviz version 1.13.19
[ INFO] [1635874735.597817400]: compiled against Qt version 5.9.5
[ INFO] [1635874735.597872500]: compiled against OGRE version 1.9.0 (Ghadamon)
[ INFO] [1635874735.617330500]: Forcing OpenGl version 0.
[ INFO] [1635874735.872805900]: Stereo is NOT SUPPORTED
[ INFO] [1635874735.873010000]: OpenGL device: llvmpipe (LLVM 13.0.0, 256 bits)
[ INFO] [1635874735.873105900]: OpenGl version: 3.1 (GLSL 1.4).

However, this means that the rendering is now done by the CPU, which is not really the desired behavior. Displaying scenes with more meshes basically slows down the whole PC because of the load on the CPU. See screenshot from the task manager - the moment I turn on Rviz the load increases significantly.

can confirm this bug is also present in rviz2, which also uses ogre3d with gl fixed functions for rendering

Same bug here :
windows 11 build 22000.613
wsl ubuntu 20, kernel version <IP_ADDRESS>
dell
nvidia-smi info  :  NVIDIA-SMI 510.60.02    Driver Version: 512.15       CUDA Version: 11.6
Bug :
rviz don't display robot meshes
Setting LIBGL_ALWAYS_SOFTWARE=true   shows the meshes, but rendered using CPU instead of GPU which is slow and is not a proper solution.

Same issue on win11 Pro build 22000.795
WSL2 Ubuntu 20.04.4 LTS (focal)
NVIDIA-SMI 510.68.01    Driver Version: 512.59       CUDA Version: 11.6

Pb: rviz won't display any textured mesh (robots, environment, etc) using dae file format in my case.

-Workaround: must disable GPU hardware rendering using LIBGL_ALWAYS_SOFTWARE=1
Has there been any fix on this so GPU rendering can be used?
Can anyone point me to further info or a resolution of the issue?

This issue is still persistent.

Issue persistent with ROS Noetic and WSL2 Ubuntu 20.04

@KaneLindsay, thanks for checking out, yes, this is the issue in Linux graphics driver provided via WSL, graphics vendor develops the special Linux graphics driver for WSL and we will need to have them to address it, but unfortunately it has not been address. If you don't mind, what version of graphics driver do you have? thanks!

@hideyukn88 I see, I am using Nvidia graphics driver version 536.40.

This issue is still persistent.Please tell me if anyone has the solutions.

yeah still an issue up to this day sadly

For me, the solution was to update the Mesa drivers using a PPA like here: https://github.com/microsoft/WSL/discussions/6154#discussioncomment-113280
Check your OpenGL version via glxinfo -B. If it is only 3.x, the meshes will probably not work. After updating it should look like:
❯ glxinfo -B
name of display: :0
display: :0  screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Microsoft Corporation (0xffffffff)
    Device: D3D12 (Intel(R) Iris(R) Xe Graphics) (0xffffffff)
    Version: 23.2.1
    Accelerated: yes
    Video memory: 32724MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.1
    Max compat profile version: 4.1
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.0
OpenGL vendor string: Microsoft Corporation
OpenGL renderer string: D3D12 (Intel(R) Iris(R) Xe Graphics)
OpenGL core profile version string: 4.1 (Core Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
OpenGL core profile shading language version string: 4.10
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile

...

It should use the GPU via D3D12 and  a core profile version of 4.x

upgrade your opengl version,
sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update && sudo apt upgrade

then try it again


For multilayer medium with frequency-dependent dielectric properties, how to modify the time delay and image domain?

Recently I've been doing work on brain imaging, the imaging area is circular and from the outside to the inside are 6 layers of materials with different dielectric constants and conductivities, I've modified the model of MERIT but it has been running incorrectly so I'd like to ask for some advice on making changes to the code.

I think the codes are not fit for your complex problem. And, I suggest you to find an open source for CSI.
Good luck!

----------原邮件信息----------
发件人："Kirin_LaLaLa" @.>
收件人："EMFMed/MERIT" @.>
抄送人："Subscribed" @.***>
主题：[EMFMed/MERIT] For multilayer medium with frequency-dependentdielectric properties, how to modify the time delay and image domain? (Issue#13)
发送时间：2024-09-30 17:42:43
Recently I've been doing work on brain imaging, the imaging area is circular and from the outside to the inside are 6 layers of materials with different dielectric constants and conductivities, I've modified the model of MERIT but it has been running incorrectly so I'd like to ask for some advice on making changes to the code.
--
Reply to this email directly or view it on GitHub:
https://github.com/EMFMed/MERIT/issues/13
You are receiving this because you are subscribed to this thread.
Message ID: @.***>

I think the codes are not fit for your complex problem. And, I suggest you to find an open source for CSI. Good luck!
…
----------原邮件信息---------- 发件人："Kirin_LaLaLa" @.> 收件人："EMFMed/MERIT" @.> 抄送人："Subscribed" @.> 主题：[EMFMed/MERIT] For multilayer medium with frequency-dependentdielectric properties, how to modify the time delay and image domain? (Issue#13) 发送时间：2024-09-30 17:42:43 Recently I've been doing work on brain imaging, the imaging area is circular and from the outside to the inside are 6 layers of materials with different dielectric constants and conductivities, I've modified the model of MERIT but it has been running incorrectly so I'd like to ask for some advice on making changes to the code.
-- Reply to this email directly or view it on GitHub: #13 You are receiving this because you are subscribed to this thread. Message ID: @.>

I think the codes are not fit for your complex problem. And, I suggest you to find an open source for CSI. Good luck!
…
----------原邮件信息---------- 发件人："Kirin_LaLaLa" @.> 收件人："EMFMed/MERIT" @.> 抄送人："Subscribed" @.> 主题：[EMFMed/MERIT] For multilayer medium with frequency-dependentdielectric properties, how to modify the time delay and image domain? (Issue#13) 发送时间：2024-09-30 17:42:43 Recently I've been doing work on brain imaging, the imaging area is circular and from the outside to the inside are 6 layers of materials with different dielectric constants and conductivities, I've modified the model of MERIT but it has been running incorrectly so I'd like to ask for some advice on making changes to the code.
-- Reply to this email directly or view it on GitHub: #13 You are receiving this because you are subscribed to this thread. Message ID: @.>

In fact, I saw some related papers that also used DAS or DMAS algorithms, with imaging regions that also contain multiple layers of different media. So a modification to the code of MERIT should be able to realize the imaging in multi-layer media.Besides, the conference paper "Open-source Software for Microwave Radar-based  Image Reconstruction" also show that MERIT provides a number of means of synthetic focusing including assuming a finite number of media in the imaging domain each with different dielectric properties; or frequency-dependent dielectric properties


Severity of issues raised by Mythril

I couldn't seem to find good documentation which explains the severity of issues currently raised by Mythril.
I see that issues currently are annotated with a type which can read either as a warning or information.
Can we have this more well defined? And added to the Wiki?
Thanks.

hi @shashank-srikant , it's kind of in progress currently, https://github.com/ConsenSys/mythril/wiki/Vulnerabilities is the wiki page related to that.
or you can also check this where there are references to the corresponding problems.

i see. sure
my concern is not much with understanding what the nature of these vulnerabilities are - i think they've been decently documented.
i'd specifically like to understand the significance of the type field in the output reports, and want to understand the basis of classifying something as information versus a warning.
i want to understand the different types and map them to the list of vulnerabilities.

This issue seems finished with work going on in a different repository, therefore I'm closing this issue


Project Status

Hey great job on this! I hope it gets as popular as your Flutter Twitter Clone :) I don't see any license on this repo and was wondering if you are actively developing or encouraging people to contribute to this?
Thanks
JT

Hello @jtkeyva, Thanks for the appreciation. I'll add licence and a proper readme file in this project very soon. Now day's I am busy with other stuffs so didn't get time to work on this. I'll start work on this project once I am free.

@TheAlphamerc thanks for the quick reply! Look forward to the license update and hope to be able to contribute at some point. Cheers!

@jtkeyva, License is added. Feel free to contribute to project and create PR once sone.

thanks @TheAlphamerc i'll see what i can do to contribute :)


Re-using resources to save time and storage space

Hi @ckcollab and @madclam,
Do you think it would be possible to re-use already uploaded resources during further submissions.
This would make sense to optimize the storage.
What are your thoughts about this?

Maybe linked to:

#596

This is even more interesting with dataset submissions


Adding important results in trigonometry

I would like to add some important trigonometry results
Eg: sinx sin(60-x)sin(60+x)=1\4sin3x and many more
Please assign me this issue

Go ahead!
Deadline 27 March,2021 (11:59 PM IST)


Remove references to dial func in README

The documentation for postgres mentions cloudsqlconn.Dial(ctx, "project:region:instance") without explaining how to get one.
// Configure the driver to connect to the database
dsn := fmt.Sprintf("user=%s password=%s dbname=%s sslmode=disable", pgUser, pgPass, pgDB)
config, err := pgx.ParseConfig(dsn)
if err != nil {
    log.Fatalf("failed to parse pgx config: %v", err)
}

// Tell the driver to use the Cloud SQL Go Connector to create connections
config.DialFunc = func(ctx context.Context, network string, instance string) (net.Conn, error) {
    return cloudsqlconn.Dial(ctx, "project:region:instance")
}

// Interact with the driver directly as you normally would
conn, connErr := pgx.ConnectConfig(ctx, config)
if connErr != nil {
    log.Fatalf("failed to connect: %s", connErr)
}
defer conn.Close(ctx)

Thanks!

Thanks for the report! We're eager to hear what people think of this project. So feel free to send along any other issues.


Fix how numbers with decimals are being rounded

This issue relates to how if the answer/any number inputted has decimals, then it'll be rounded. Same issue with the normal Calculator program

Should be fixed. The normal Calculator program now uses a template struct, which in the code uses floats


Improving README file

Can the README file be further improved by adding Table of Contents for a better navigation and Contributing guidelines for a more standardized process.

on it

I can do it


Use --version to gather the package_manager fact

This way tmt is not affected by https://fedoraproject.org/wiki/Changes/ReplaceDnfWithDnf5
released 1.24.1 suffers from this bug so testing fedora-rawhide is not possible

Making a draft for now. Need to check if all dnf options are supported.
At least we will need to reorder options:
# dnf --skip-broken install  beakerlib
Unknown argument "--skip-broken" for command "dnf5". Add "--help" for more information about the arguments.

but dnf  install --skip-broken works

@happz once again. The change was surprisingly easy.

The failing test on rawhide seems to be a broken --skip-broken option in dnf5, filed as:
https://bugzilla.redhat.com/show_bug.cgi?id=2216660

The failing test on rawhide seems to be a broken --skip-broken option in dnf5, filed as: https://bugzilla.redhat.com/show_bug.cgi?id=2216660

Eh, we got reply in the bug and for dnf5 we need to use --skip-unavailable instead (and yes, that option doesn't exist in dnf4). Will be adjusted in different PR

Follow-up PR is #2162


Fix doc global declaration

Fixes an issue when style tag is minified and imported into Angular 2
ReferenceError: doc is not defined

Coverage decreased (-0.01%) to 94.211% when pulling a381b7f98ddb3a0ebe999369611438a9efc075d1 on bug/doc-declaration-fix into 58dba937dbb45eeadf857bbf939ff7b496f6f952 on master.


stp: fix setuptools dependency

Description of changes

Fixing breakage due to setuptools removal in #320924.
Partially resolves #326927.
Update to next stp version will be in a separate PR.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks. I was going to add a checkPhase/installCheckPhase when I bump the version so we catch things like this.

Thanks Sandro, I appreciate the review.


Access accounts and validators via @DTag

Duplicate of #133 and #132

@Rooty2020 Can you assign someone to design this new page?

@ryuash
Sure.
I need to arrange design recourses next week

@yayay927
Task 1:
We will be displaying profile pages as /@forbole /@kwun and so on. Create a new page that will load this page if the parameter given starts with @. Return to / if profiles is not enabled or the parameter does not start with @.
Task 2:
Enable search by dtag in the global search bar that directs to the profile screen. Throw an error profiles not enabled for this explorer if search starts with @ but profile is not enabled.

@ryuash Okay.


httproute: implement RequestMirror filter

Note for reviewers
Please review the last commit only. The other commit is the commit in #249

This overrides #185.

/assign @robscott

Thanks @hbagdi!
/lgtm
/approve


README.md

Added important feature of DuckDuckGo.

Task/Issue URL:
Tech Design URL:
CC:
Description:
Steps to test this PR:
1.
1.

Internal references:
Software Engineering Expectations
Technical Design Template

Please read the contributing guidelines.


Update base images for git vulnerability CVE 2018-11235

Stratos base images are based on opensuse:42.3, that image still only has git 2.13 which doesn't have the fix.
The required version is currently available in opensuse:tumbleweed only.
https://hub.docker.com/r/library/opensuse/tags/

We can install git 2.17.1 with:
zypper ar http://download.opensuse.org/repositories/devel:/tools:/scm/openSUSE_Leap_42.3/devel:tools:scm.repo
zypper --no-gpg-checks in -y git

Re-openign to fix the base image script


Added hyper-cat to Fun section

From the repository at https://github.com/Aaronius/hyper-cat.

Checklist for submitting an awesome plugin, theme, or resource:

[X] The title for my package or theme uses its npm title (hyper-plugin-example)
[X] The link for my package or theme uses the npmjs.com link (https://www.npmjs.com/package/hyper-plugin-example)
[X] There is a visual representation of what my plugin or theme does in the repo. (Plugin: screenshot or gif || Theme: screenshot of the theme applied to Hyper)
[X] Put your awesome item at the BOTTOM of the correct (plugin, theme, or resource) list.
[X] VERY IMPORTANT: I've written a short (one sentence) description for my package or theme as the description of the awesome plugin, theme, or resource in the README.md file I'm submitting in the PR.

 I forgot there was a fun category. I'll move it there and add a license file to my repo. Thanks for the tips.

Okay, updated!

@Aaronius love your plugin

Thanks! Pretty impractical but a lot of fun.

@Aaronius I think I love you and your plugin! 😍


How to let apollo running over 100km/h in lgsvl

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.
System information

Linux Ubuntu 20.04:

Apollo installed from source:

Apollo version 7.0:

Output of apollo.sh config if on master branch:
[INFO] Apollo Environment Settings:
[INFO]     APOLLO_ROOT_DIR: /apollo
[INFO]     APOLLO_CACHE_DIR: /apollo/.cache
[INFO]     APOLLO_IN_DOCKER: true
[INFO]     APOLLO_VERSION: master-2021-12-28-463fb82f9e
[INFO]     DOCKER_IMG: dev-x86_64-18.04-20210914_1336
[INFO]     APOLLO_ENV:  STAGE=dev USE_ESD_CAN=false
[INFO]     USE_GPU: USE_GPU_HOST=1 USE_GPU_TARGET=1
[INFO] Usage: /apollo/scripts/apollo_config.sh [Options]
[INFO] Options:
[INFO]     -i|--interactive      Run in interactive mode
[INFO]     -n|--noninteractive   Run in non-interactive mode
[INFO]     -h|--help             Show this message and exit

Map:
Highway101GLE

Vehicle:
Lincoln2017mkz

Hello, I set --planning_upper_speed_limit=34.0 and --default_cruise_speed=33.0 in the modules/planning/conf/planning.conf. But apollo can only run at 68km/h in a stringht road. Is there a way to increase  the apollo running speed further. And the map's speed_limit is 31.29m/s.

Considering there may be acceleration limits, Is your road long enough to accelerate

you should also check the speed limit from map

He has confirmed that the speed of the map is 31.29m/s.

Closed due to inactivity. If the problem persists, pls feel free to reopen it or create a new one and refer to it.


Fixing an undeclared variable in epaper2in7.

LUT_BW isn't declared yet on L93, so the driver can't work. I replaced it with LUT_WW  and the screen works.

Closing as there was no activity for 1+ year. Feel free to re-open if needed.


Support for firing Sponge events that quack like Forge events

Currently we have no way to fire Sponge events in a way that also activates handlers listening to the equivalent Forge event. For example, the "PlayerBreakBlockEvent" has an equivalent in Forge and so it should trigger both Forge and Sponge event handlers.
Requirements:

The event handlers must called in the right order, interweaving Sponge and Forge event handlers.
Raising the Forge event must also raise the Sponge-equivalent event.
Raising the Sponge event must also raise the Forge-equivalent event.
It should be possible for developers to extend Sponge events and raise them, while also raising equivalent Forge events if relevant.

The following solutions have been on the table for the past few months, but none are satisfactory:

Generate monolithic classes at runtime that implement both the Sponge and Forge event interfaces (as Forge intends to switch to interfaces for events). This has the downside of runtime conflict involving method signatures.
Modify the event bus code to handle firing "paired" events. Firing the Sponge event would, for example, also trigger the equivalent Forge event handlers who would receive a Forge event version of the Sponge event.

@sk89q @bloodmc
From what I can tell, this has been solved? Can we close this issue?


Add utility function and tests

Hi @skmgoldin , I'm all done editing this PR. Thanks for the code review!

Once you make that fix, could you start a develop branch and remake this PR to develop? This will make our tests fail and give us a red badge on master. Which we deserve. But I don't want it.

Sure thing. Please find #8.


Add sql: command to model

Parser support is in, we will CERTAINLY be changing the syntax, consider this a placeholder.
Current syntax:
// All sql strings start with || and end with ;;
// There is no quoting, waiting to see how it is used before I go all in

// This would have a run button ..
sql:
  || DROP TABLE myComputation ;;
  || CREATE TABLE myComputation AS
      SELECT
        a,
        b
      FROM someWhere
    ;;
    on "connectionName"

// This would define a name usable as an explore ...
sql: myComputation is
  || SELECT a,b FROM someWhere ;;
  on "connectionName"

The parser works, and generates "need the Schema for this construct" response if you write these and use it in an explore. Lots to do before it works:

[x] What are going to do about connections
[ ] What does a StructDef with SQL in it look like
[ ] What is the call to ask the database to fill in that information.
[ ] Named SQL statements stored in model.
[ ] Un-named SQL statements collected and available in translator
[ ] IDE needs hover buttons and run actions

👀  I'm intrigued... is this what it sounds like??

I'll express my vote for syntax that begins with explore: thing_from_sql is .... Not sure what the ... looks like.

@christopherswenson the syntax you mention would be something like
explore: anExploreBasedOnSQL is from_sql(symbolDefinedByAnSQLStatement) {
  ...
}

Okay, so many thoughts.
I strongly disagree with making SQL blocks be in a different namespace. That means you can write
sql: flights is ...
explore: flights is ...

And then if you refer to flights later, it's not obvious which one you mean.
Can we allow also writing the following?
explore: sql_based_explore is from_sql(||
  SELECT * FROM WHATEVER
  ;;
  on "some-connection"
)

Putting sql: at the top level makes me also want to put
string: MY_STR_CONSTANT is 'foo'
number: MY_NUMBER_CONSTANT is 42
timestamp: TOMORROW is now + 1 day


[FEATURE] Alter button of setting page

Description
Instead of this simple enable button I want to add a toggle switch here (on/off). I think that would look more good.
Screenshots

Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

alright, you can work on this!


Support unions

I think this will be as easy as copy pasting the struct parsing code and replacing the struct keyword with union.

It was a pretty short commit.


chore: Bump version to 3.6.0

Detail

Preparing release 3.6.0

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

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: a209f8a8a27076009c5325855fbff8825a668ec5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: a209f8a8a27076009c5325855fbff8825a668ec5
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: acaadf6aa1417e17894f46ed0bab74f9f7b036b4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: acaadf6aa1417e17894f46ed0bab74f9f7b036b4
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Cursor jumping to the beginning of the line on save

VSCode Version: 1.2.0
OS Version: OS X 10.11.5 (15F34)

Steps to Reproduce:

Create empty file with such content:
code { some code {    another code {    } } }
Save your file, and place cursor just after last opening bracket.
Press 'return' to make newline and press cmd+s to save your file.
Notice, how cursor is jumping to the beginning of the new line ignoring indentation

gif:
Thanks and sorry for bad english!

@josser That is because you have enabled files.trimTrailingWhitespace and you are doing an explicit save. The whitespace on line 4 gets removed when saving.

@alexandrudima No, files.trimTrailingWhitespace controls removing spaces at the end of the file but not in the middle of the file.
However I've tried to set  files.trimTrailingWhitespace and editor.trimAutoWhitespace with no luck :(
It looks like we can't control this behavior at all.

I think the best possible solution here is to 'leave cursor where it is'  during whitespace trimming.

Maybe it's possible to allow user to choose with three options, like
Trim trailing whitespace on save:

no
all except line with cursor
all

@josser

No, files.trimTrailingWhitespace controls removing spaces at the end of the file but not in the middle of the file.

Having written that code, I am pretty sure that files.trimTrailingWhitespace trims trailing whitespace on every line. Code for proof: https://github.com/Microsoft/vscode/blob/master/src/vs/editor/common/commands/trimTrailingWhitespaceCommand.ts#L41
Here is the current behaviour:

none if files.trimTrailingWhitespace is set to false
all except line with cursor if files.trimTrailingWhitespace is set to true and save is caused by auto-save
all if files.trimTrailingWhitespace is set to true and save is explicit (i.e. ctrl+s)

I agree that the last bullet point needs additional configuration, perhaps we could change files.trimTrailingWhitespace to be true|false|"polite" where "polite" would make an explicit save skip lines with cursors on them.
@bpasero thoughts?

Yes, I like that. Also its not a breaking change.

@alexandrudima
I've found the reason why when I've tried to change files.trimTrailingWhitespace = false it doesn't actually change anything.
Everything is because I have editorconfig and specific settings for my project.
So, when I disabled editorconfig everything became to work.

Any update on this? Some languages (like go for instance) are dependent on file saves to run static analysis tools on the code.

Tracking the same in editorconfig-vscode https://github.com/editorconfig/editorconfig-vscode/issues/47


Persist quickpicks for adding a new server when the user navigates away

It would be nice if the quickpicks for adding a new server definition stuck around upon losing focus.

@gjsjohnmurray thanks for the super quick turnaround!


avoid swallowing connection errors

It took me quite a while to figure out why the provider wouldn't connect; and in the end it was a few different issues that also required printing the response body to debug.
This is a step in the right direction, though ideally eventually more information could be provided with the error.
Thanks so much for the provider!

@techBeck03 would be nice to have this merged as it helps alot in troubleshooting connectivity to api

Sorry for the delay, I will push this out today. Thank you for contributing!


eyeglass import is not consistent with rails/bower/node/etc

In #1007, Eyeglass support was added. This was a great improvement for us as it allowed us to pull more dependencies in through npm.
We have a sass library that works both in Rails's asset pipeline and in other ecosystems. The eyeglass import having a different name in Eyeglass unfortunately makes us choose between only supporting building through eyeglass, or not having eyeglass support and having everything else work.
For example, in Rails:
@import "bootstrap";

But in eyeglass:
@import "bootstrap-sass/bootstrap";

If you look at the README in its current state you can see how consistent it is until you get down to the Eyeglass section.
This could be fixed by adding a name field to the eyeglass section package.json for bootstrap-sass:
{
  "name": "bootstrap-sass",
  "version": "1.1.0",
  "eyeglass": {
    "name": "bootstrap",
    "needs": "^0.6.7",
    "exports": "eyeglass-exports.js"
  }

For consistency, I think it would be great if you could @import "bootstrap" in any ecosystem and have it work.
This would be a breaking change for anybody currently using eyeglass, but an easy fix to implement (change your import statements to "@import bootstrap").

@iammikecohen I'd love to hear your input here as you championed the first pull request. There may be a historical reason for the name difference that I'm missing.

Yes, this should absolutely be done.

@glebm I assume this is out of the question due to SemVer?


Content-Encoding header is usually lowercase

I tried downloading, with a script, the JSON file created by npm run index but the header content-encoding is set to GZIP instead of the usual gzip.
I'm not sure if it can be uppercase but the RFC is too much for me ahah; browsers obviously support both but some scripts/packages do not expect uppercase value.

Thanks!

This is now in production, so you'll see the fix in about half an hour if there are no publishes triggered before then.

thanks a lot 🙏


fix: Revert broken xterm css import

Hey, I just made a Pull Request!
Fixes #21856
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

I did add some padding to the terminal so the text is not just cratching the borders.

Has the E2E dep issue been fixed yet?

Has the E2E dep issue been fixed yet?

I believe it was fixed by #22297; if you are able, a rebase should get this PR green.


diodes were soldered wrong direction

Hi,
i finished the left side (work perfectly)
but I am facing issues with the right side.
I'm assuming that the diodes were soldered wrongly, but before I cut them all out I want to be sure that this is the issue.
all of them are soldered with a little black mark on the right side.
when I started uploading the firmware, it finished successfully but non of the keys were working.
so am I doomed to remove them all?

Hi there,
if you could upload a picture it would help.
Diodes need to be installed following the symbols that are printed on the PCBs like in the image below:

Anyway you can also refer to the images in this repo for reference.

so its definitely the issue

ill start cutting them off.
hope I did not damage the controller when I desoldered it.
Thanks a lot


ROCm wrongly works with the pinned memory for a specific access pattern

Rel #4923.
We are facing some weird testing failures with ROCm 4.0.1 (on MI50) as described in the ROCm limitations. Among them, I've confirmed that the failures of __getitem__, ix_, broadcast and einsum are going away if I make CuPy's pinned memory pool disabled.
I tried to make a similar situation in HIP and have successfully reproduced the case with the specific access pattern (with ROCm 4.0.1 and MI50/MI100):

source
// hipcc -o test test.cc

#include <cassert>
#include <cstdlib>
#include <iostream>
#include "hip/hip_runtime.h"

using namespace std;

constexpr size_t size = 12;
constexpr size_t nbytes = size * sizeof(double);

void f(bool use_pinned, unsigned int coherence_flag = 0)
{
  char *mem_cpu1, *mem_gpu, *mem_cpu2;

  cout << endl;
  cout << "use_pinned: " << boolalpha << use_pinned << endl;
  if (use_pinned && coherence_flag) {
    cout << "coherent: " << boolalpha << (coherence_flag == hipHostMallocCoherent) << endl;
  }

  // Allocate host memory from which copy
  if (use_pinned) {
    hipHostMalloc((void**)&mem_cpu1, nbytes, hipHostMallocPortable | hipHostMallocMapped | coherence_flag);
  } else {
    mem_cpu1 = (char*)malloc(nbytes);
  }
  assert(mem_cpu1);

  // Allocate GPU memory
  hipMalloc((void**)&mem_gpu, nbytes);
  assert(mem_gpu);

  // Allocate host memory to which copy
  mem_cpu2 = (char*)malloc(sizeof(double));
  assert(mem_cpu2);

  for (int n = 0; n < size; ++n) {
    // Fill the memory with double; copy from host; copy to host; get the n-th element
    for(int i = 0; i < size; ++i)
      ((double*)mem_cpu1)[i] = i + 1;
    hipMemcpy((void*)mem_gpu, (void*)mem_cpu1, size * sizeof(double), hipMemcpyDefault);
    hipMemcpy((void*)mem_cpu2, (void*)(mem_gpu + n * sizeof(double)), sizeof(double), hipMemcpyDefault);
    cout << ((double*)mem_cpu2)[0] << " == " ;

    // Fill the memory with float; copy from host; copy to host; get the n-th element
    for(int i = 0; i < size; ++i)
      ((float*)mem_cpu1)[i] = i + 1;
    hipMemcpy((void*)mem_gpu, (void*)mem_cpu1, size * sizeof(float), hipMemcpyDefault);
    hipMemcpy((void*)mem_cpu2, (void*)(mem_gpu + n * sizeof(float)), sizeof(float), hipMemcpyDefault);
    cout << ((float*)mem_cpu2)[0] << endl;
  }

  free(mem_cpu2);
  hipFree(mem_gpu);
  if (use_pinned)
    hipHostFree(mem_cpu1);
  else
    free(mem_cpu1);
}

int main(int argc, char* argv[])
{
  f(true);   // use pinned memory
  //f(true, hipHostMallocCoherent);
  //f(true, hipHostMallocNonCoherent);
  f(false);  // doesn't use pinned memory
  return 0;
}

result
use_pinned: true
1 == 1
2 == 1.875
3 == 0
4 == 2
5 == 0
6 == 2.125
7 == 0
8 == 2.25
9 == 0
10 == 2.3125
11 == 0
12 == 2.375

use_pinned: false
1 == 1
2 == 2
3 == 3
4 == 4
5 == 5
6 == 6
7 == 7
8 == 8
9 == 9
10 == 10
11 == 11
12 == 12

I also checked the coherency options for host memory, but it didn't make any difference.
With ROCm 4.1.1, I've observed that MI50 works fine with the same code even if the pinned memory is used, but MI100 still has the same wrong result.

I'll also report this to HIP repo.

cc: @amathews-amd for vis

Thanks for the reproducer. I tried it out. However, I could not replicate issue on MI100 on ROCm 4.0.1, 4.1.0, 4.1.1.
I will check internally with the team.

Thanks for trying it out. As you couldn't replicate it in your environment, there may be something wrong with the setup of the nodes of AMD Accelerator Cloud we use. I'll contact its administrator about this.

I just tested with my Radeon VII + ROCm 3.5.0 and Accelerator Cloud's MI50/MI100 + ROCm 4.2.0. None of these configs could reproduce the issue.

Also confirmed it no longer reproduces with MI50/MI100 + ROCm 4.2.0.

FYI, https://github.com/kmaehashi/cupy-rocm-ci-report/commits/gh-pages now configured to use MI100 (gfx908).
Jenkins can only cover MI50 / single-GPU unit tests, so I keep running the repo to cover MI100 / multi-gpu tests.

Now let me close this. Also, I'm going to check the tests once failed related to this situation.


Customizable Rollups: Force Certain Records to run in Skew Mode

We use key fields (i.e. Total Number of Gifts on Account/Contact) to determine whether a record should be processed in the skew vs. non-skew version of our Customizable Rollups batch jobs. This works great in most cases, with the following exceptions:
1. Account Soft Credits
We use the Total Number of Gifts (i.e. # of Closed/Won Opportunities) to determine skew vs. non-skew mode because we have no packaged Account Soft Credit rollups/fields out of the box. However, a record may have thousands of Account Soft Credits but less than 250 Closed/Won Gifts. It would then be picked up in non-skew mode and likely hit heap size and other limits.
2. If a customer modifies the attributes of a key field
There is nothing preventing a customer from modifying (or disabling entirely) the Filter Group or Filter Rules associated with the key fields (Total Number of Gifts, for instance). I've seen several instances where these rollups have been modified, thereby producing a smaller value in the key field which then pulls the record into the non-skew mode. Again, this can cause heap size and other limits to be hit if the non-skew job then has to process a large volume of related records.
3. Initial import of data into LDV org
When large amounts of data are imported in an LDV org (or an org with data skew), our key fields determining skew vs. non-skew modes will be null until the first time the rollups jobs runs. As a result, we will attempt to calculate all records in non-skew mode and many records will never be updated and properly moved to skew mode unless they are identified through other means and backfilled manually to a value more than the skew mode threshold.

I will link my full investigations and potential solutions to the Work Item.

**lurch: add

Tracking W-034484

W-7783082

W-7783082


Build process of WinUI3 project causes bluescreen error

Describe the bug
When building a WinUI 3 project, the system sometimes crashes and displays a blue screen error . The system goes to a blue screen as soon as the build process starts.

The dump file of Memory details is given below:

Steps to reproduce the bug

Create a WinUI 3 project in VS 2022.
Build the project.
The issue is not reproducible every time, but it is not rare.

Expected behavior
No response
Screenshots
No response
NuGet package version
Windows App SDK 1.6.3: 1.6.241114003
Packaging type
Packaged (MSIX), Unpackaged
Windows version
Windows 10 version 22H2 (19045, 2022 Update)
IDE
Visual Studio 2022
Additional context
OS Version: 22H2 (OS Build 19045.5131)
Visual Studio Version: 17.12.3

How is the general health of the build system?
There are two major types of issues that can cause unexpected bug checks, regularly too. The first is if the Windows install is subtly broken and the second is hardware problems.
Commands like
dism /online /cleanup-image /scanhealth
sfc /scannow
can allow you to check if there is anything majorly problematic. The dism command checks the winsxs directory, where sfc checks the rest.
Hardware is also not an all or nothing situation. Hardware can be working well enough that it will keep working seemingly correctly for ages, but then suddenly just fail. In fact, with the MEMORY_MANAGEMENT bug check code, I would immediately be checking the system RAM for errors. But remember that storage errors, due to the page file, and power errors can also cause this type of bug check.
RAM errors are pretty interesting in this situation. It is easy to believe that the firmware and Windows will know if RAM is bad, but it is very possible for circumstances to result in some RAM issues not being detected. While I admit this will be anecdotal, but one system of mine ended up with one module from the second set of RAM on a channel failing while in the system. The firmware had no issues at all, and Windows kept working. The only sign I had of something not being quite right was when was under pressure in RAM. As soon as Windows went past 32GiB (the system had 64GiB total) allocated, anything allocated would only ever read 0s. It became obvious very quickly that RAM was the problem. Interestingly, at this point I removed second set of RAM, booted the system into the firmware, shut the system down and put the RAM back in and all of the sudden the firmware was indicating that there was a RAM error. It is very possible for RAM to fail while in use and the system just doesn't notice it.
Because of how C++ works, and especially C++/WinRT, the precompiled headers and template expansion can take up a huge amount of address space, which can correspond to a huge amount of RAM if your build system has enough so that it doesn't have to page. What's more, Visual Studio has parallel build set by default. To use my system as an example, it is possible for Visual Studio to run 48 instances of cl.exe which each can take 4GiB+ of address space each. So depending on the project type, amount of physical RAM and the fact that Windows seems to prefer allocating RAM linealry, then it is very possible that this issue is only happening in Visual Studio and only with a WinUI 3 build due to how much memory it can eat up.
If you really believe that this isn't a hardware issue, then I suggest you report this through the feedback hub and be sure to provide the minidumps that you have captured. This could be a Windows issue and that is the best place to report it. If you don't want to try your luck with the feedback hub, then a paid incident for Windows Professional Support or Windows Developer Support would be a better course of action. This will allow a Windows engineer to look at the issue in a relatively short period of time and help you through the problem.

I would like to add a couple of things also,
We have observed the blue screen issue on multiple machines.
Notably, all these machines were recently upgraded to the latest version of Visual Studio. The issue did not occur with version 17.9.6 or earlier, but it started appearing after upgrading to version 17.11.5. Even with the current version, 17.12.3, the issue persists.
@DarranRowe as you suggested, I will run the scan command and share the results.

@DarranRowe Scan commands results:
Also C drive has ~40 GB free space and RAM is 32 GB

Well, at this point there isn't much more that I can personally add to this without more information.
I actually pulled some old AMD Threadripper hardware out of storage to test things out. But Visual Studio 2022 17.12.3 has no issues building WinUI 3 projects. I even took out half of the RAM to bring it down to 32GiB to be sure. I'm currently not happy with these tests though because I'm seeing video driver resets occasionally, even when Visual Studio isn't running. So the GPU seems to have gone bad. I can't do much more until after the New Year, but I should be able to get ahold of an Intel A770 for a little while.
The only thing I will point out is that your screenshots names the device which has the ID of a Realtek audio device. Have you checked to see if those drivers are up to date?


Scroll not working in iOS 16

You really should be more specific. :)
Not seeing anything like this in iOS 16, but I did see that if my LegacyScrollView contains Text elements with .frame(maxWidth: .infinity), then LegacyScrollView was having a hard time figuring out the correct height of inner content (leading to some of the content being truncated in the view, but not in a standard SwiftUI ... way).
Once I specified the width (you can use GeometryReader-provided width too), this issue was resolved.

Guess you should close it. I moved on to another library that worked out of
the box.
I really couldn't be more specific. There were no errors, stuff just didn't
scroll, tried with many different base cases.
Who know what it was
On Tue, Dec 20, 2022 at 11:43 AM Anthony V @.***> wrote:

You really should be more specific. :)
Not seeing anything like this in iOS 16, but I did see that if my
LegacyScrollView contains Text elements with .frame(maxWidth: .infinity),
then LegacyScrollView was having a hard time figuring out the correct
height of inner content (leading to some of the content being truncated in
the view, but not in a standard SwiftUI ... way).
Once I specified the width (you can use GeometryReader-provided width
too), this issue was resolved.
—
Reply to this email directly, view it on GitHub
https://github.com/perimeter-inc/LegacyScrollView/issues/5#issuecomment-1359975361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AC7IK43ZHBUYKLWLCWI7D2DWOH44DANCNFSM6AAAAAASO35YVA
.
You are receiving this because you authored the thread.Message ID:
@.***>

@pacosw1 hey which other library did you use?


opn is deprecated, switch to open

opn was recenetly deprecated and renamed to open.

I shall go ahead and shoot up a PR if someone could show a green signal here :+1:

Please go ahead and submit your PR. We appreciate your cooperation.


Update icons for visibility on light/dark chrome themes

Thank you so much for the PR @krishnakireeti! 😀
Can you please raise again after adding an appropriate emoji (:bento:) to your commit from https://gitmoji.carloscuesta.me/?


Adding school tour policy

Description
Added html.
What
Html.
Why
So that when you press 'read me' button a pop up comes up with all the information.
How
By adding html.
Verification Steps
What steps should be taken to verify that the change is working correctly
Checklist:

[x] This pr is linked to the related trello card
[x] My code follows the style guidelines of this project
[x] I have requested a code review from (at least) two team members
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] This change has been verified by another team member

@laurafitzgerald @evanhearne can you check this for me? please


Update deprecated GitHub actions

Issue link

https://issues.redhat.com/browse/RHOAIENG-2615
What changes have been made

Updated versions of all GitHub actions to use Node 20.
Verification steps

N/A
Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

/lgtm

/approve


Add support for yarn

yarn has significantly reduced the time it takes to install npm packages. Given the benefits of yarn, I've added opt-in support for using yarn install instead of npm install.
Enabling yarn can be done by either:

Specifying the yarn option:

EmberCli.configure do |c|
  c.app :frontend, yarn: true
end

Specifying the yarn_path:

EmberCli.configure do |c|
  c.app :frontend, yarn_path: "/home/app/bin/yarn"
end

Closing in favor of https://github.com/thoughtbot/ember-cli-rails/pull/501 (so that CI can run)

Merged in https://github.com/thoughtbot/ember-cli-rails/commit/7fc1b3ee92b045971ad867344a13579089ebcc7c.
Thanks!


Unable to access admin page for influxdb

I am using macOS Sierra for running docker image of influxdb (downloaded from https://store.docker.com/images/influxdb?tab=description) but I am unable to access admin page from my system. I tried to update config file also, but it did not use the config file I provided. Can someone please help me with the issue?

I'll update that documentation. The admin interface is disabled by default in 1.2 and will be removed in 1.3 so I should just remove mentions of it from the documentation.
If you're still trying to use it, setting INFLUXDB_ADMIN_ENABLED=true should work.


Setup CI for this repo

GitHub code actions for:

linting
tests (placeholder for now)
etc

#93 and #95 added github workflow to build and run linter. No test cases exist at them moment


ci(deps): fix git push during yarn.lock deduplication for Dependabot PRs

Fixes https://github.com/argoproj/argo-workflows/pull/12234#discussion_r1552552191, https://github.com/argoproj/argo-workflows/pull/12891#issuecomment-2038408649
Motivation

actions/checkout runs git checkout on a specific commit SHA, meaning there is no "branch" by default, it's on a detached HEAD

so without a branch specified, git push would error out

Modifications

specify a branch for git push using GH Actions env vars

note that $GITHUB_HEAD_REF should exist for PRs, and dependabot makes PRs (vs. direct pushes)
use origin as the remote name which is the default and also was mentioned in the error message

add permissions.contents: write to allow for this GHA job to push

add fetch-depth to actions/checkout so that it doesn't fail to push due to not having fetched (i.e. not knowing the state of the branch being pushed to)

also add if git diff --quiet -- ui/yarn.lock check to short-circuit the logic if there are no changes to yarn.lock (i.e. no deduplication necessary)

this should also be less buggy as the later code will only execute when strictly necessary now (basically, when not needed, returns to the previous behavior prior to https://github.com/argoproj/argo-workflows/pull/12234)

Verification

I tested the short-circuit logic locally:

With no changes, exits properly:
❯ bash
bash-5.1$ if ! git diff --exit-code -- ui/yarn.lock ; then
            exit 0
          fi
exit
❯

With changes, does not exit:
❯ bash
bash-5.1$ if ! git diff --exit-code -- ui/yarn.lock ; then
            exit 0
          fi
bash-5.1$

Otherwise using this very PR in my own fork for testing purposes

As can be seen in this PR and per https://github.com/argoproj/argo-workflows/pull/12234#discussion_r1552636495, checks don't run on commits made by GH Actions (in order to prevent an infinite loop, see GH docs). That means that the git push from this script will never pass branch protections and so will never be mergeable as a result.
As such, I will not be making a PR for this upstream and will instead follow-up upstream with a revert of https://github.com/argoproj/argo-workflows/pull/12234 entirely, since it is not workable.
Tbh, I'm not really sure how to get around these limitations, it would be great if dependabot automatically deduplicated itself per https://github.com/dependabot/dependabot-core/issues/5830. Otherwise we might be stuck with manual deduplication necessary 😕


Packaging Request: scli

Project description
scli is a simple terminal user interface for Signal.
Metadata

homepage URL: https://github.com/isamert/scli
source URL: https://github.com/isamert/scli
license: gpl3
platforms: linux

i guess this can be closed because of #122315

I am not sure where the issue is, but scli immediately segfaults whenever I run it with any combination of subcommands:
> scli
fish: “scli” terminated by signal SIGSEGV (Address boundary error)

The same thing also happens with scli's dependency, signal-cli.
NB: I am using the hardened Linux kernel.