[VL] Remove Arrow from gluten

(Done)Change native row to column to velox row to column
(Done)Change RangePartitioning rdd sample from ArrowWritableVector to native ColumnarToRow, compute pid change from ArrowWritableVector to native ColumnarToRow and concat pid ArrowBatch with VeloxColumnarBatch
(Done)Remove CoalesceBatchesExec or implement velox CoalesceBatchesExec
Arrow convert by netty to generate broadcast relation
(Temp done)Remove some unused Arrow relevant class
(WIP)Change velox input from ArrowStreamNode to velox new add ValueStreamNode

Support all the spark data type in native ColumnarToRow to avoid fallback to valilla spark ColumnarToRow which will convert velox to arrow and then convert arrow to row

Shuffle velox to velox, removeArrow IPC

Temporarily use static velox pool to convert arrow to velox, after split velox to velox, this static pool is not needed


scalapb_proto_library additional scala sources

Now it is impossible to add some custom scala sources into scalapb library. So i could not do something like this:
trait TagRecordCompanionTrait {
    implicit val ordering: Ordering[TagRecord] = (x: TagRecord, y: TagRecord) => {
     if (x.count < y.count) 1
     else if (x.count > y.count) -1
     else x.name compareTo y.name
   }
}

message TagRecord {
    option (scalapb.message).companion_extends = "TagRecordCompanionTrait";

    required string name = 1;
    required int64 count = 2;
}

The only way to do this is to use preamble in proto file

This appears to be a duplicate of https://github.com/bazelbuild/rules_scala/issues/751
If you want to weigh in there around the discussion that would be great

No. That issue is about adding some external dep. In my case i need to add some scala sources into scalapb_library. I need to create base trait for message/message companion and set sef-type to message (so i could not compile my scala files and flies from protobuf in same scala library because of cyclic dependency)

Interesting, scalapb and its many options around this really make the aspect like stuff quite tricky.
OOC have you managed to use any of the scalapb rules since/if so any change/improvement in performance? (it was huge for us, but we probably have more proto's than most).
On this, if you have any thoughts on how/what an API should look like here or how generic/often you need to do this would love to hear it. Some thoughts of ways we could try do it:

Use the experimental (new) api around adding another printer and emit the scala to do ordering or other things dynamically from that. (this is on master today so it would be usable -- just needs more docs written, and as more people use it we may update the API's to bake it in more too).
Use a manual scalapb rule and not use the aspects at all. We could just share some of the generation steps but have a non-aspect set of rules here too. Mixing the two would be odd in terms of duplicate classes. But if folks aren't getting a win and it makes stuff too complex then thats maybe not worth forcing everything down one path here.
It feels maybe a bit iffy of a plot. But we could specify in the toolchain a per target filegroup to inject similar to the dependencies discussed in #751. The two could probably be designed to compliment each other reasonably well

I use this option all most every time i use scalapb. (it allows to extend generated messages/companions with methods and implicits)
When i'm thinking about api i think of it as

proto_library(
    name = "common_proto",
    srcs = [ "common.proto" ],
    visibility = ["//visibility:public"],
    proto_source_root = "proto",
)

proto_library(
    name = "tags_proto",
    deps = [
        ":common_proto",
        "@com_google_protobuf//:any_proto"
    ],
    srcs = [ "tags.proto" ],
    visibility = ["//visibility:public"],
)

scalapb_proto_library(
    name = "proto_models",
    visibility = ["//visibility:public"],
    srcs = [ "BaseTraits.scala" ],
    deps = [
        ":protobuff_commons",
        ":tags_proto",
    ],
)

So srcs in scalapb_proto_library just appends all files passed to it to protobuf-generated sources and compiles them together

That sort of API would block the use of aspects, since aspects do their own shadow graph of compiling/building of things. So that sounds like you'd favor (2) here, manual protobuf-scala libraries than the aspect.
@ittaiz @simuons I know Wix had some issues/concerns with the aspects stuff too, not sure if these are the similar sorts of challenges. Would love if you guys have any thoughts on this ^^ to weigh in too

maybe you could point me at some kind ow workaround?
i'm eager to switch to bazel and this issue is only thing that blocks me.
maybe you could show me some ''legacy" code that i could use to implement such rule? (i'm totaly new to bazel)

@holinov what we did is copy over some of the code before the aspects change.
Take a look at the diff to see the previous rule.
This can get you unstuck.
On #763 we're trying to think how to proceed in a more structured form

I did a little work to try out bazel at my current job and Im stuck on this issue presently. We've got scalapb.field references in our protos to types from other .scala files, so we need to compile them together. Unfortunately since we're also using google's {wrapper,descriptor}.proto and scalapb.proto I can't define a toolchain that includes our scala sources by default because the scala sources also depend on importing the generated types from the google/scalapb protos, so we'd wind up with a circular dependency. (Unless there's some way to force the use of a toolchain for a particular scalapb_proto_library rule that I'm not aware of.)


Benchmark of Precompile executed code

Question
Hello,
I would like to know if there is a way to benchmark code executed in a precompile prior to the pallet dispatch call.
For example in this code it first:

ensure that the caller matches the public key
derive the accountId from this public key

to finally dispatch the call on behalf of this AccountId.
However only the Weight from the dispatched call will be charged, not the weight for this pre-execution.
As a DoS protection we are charging a overestimated ref_time amount.
Is there a way to properly benchmark this piece of code ?

I think the gas fee has been handled in the try_dispatch,  no need to record_gas manually before try_dispatch.

Hi @boundless-forest,
In try_dispatch only the weight of the RuntimeCall is recorded. See here.
Also in this test that the expect_cost charged is equal to the weight of the call (prior calling dispatch, the weight of the call calculated by benchmarking) and the const gas that is charged at the beginning of the precompile.
But all the execution in the precompile prior to dispatch the call is not automatically charged, hence will need proper benchmarking

I'm facing the same problem; I need to benchmark the precompiles properly. Any updates on that?


Fix load time on profile page

Changes

User Authentication Check: Added a check to ensure the user is authenticated before fetching user data.
Journal Entries Handling: Separated the logic for calculating stats from fetching user data.
Loading State: Improved the loading state handling to prevent getting stuck.
Error Handling: Added error handling for user data fetching.

After the fix
https://github.com/user-attachments/assets/ae75ee40-4c59-4024-9c85-f6535cdafc10
Before the fix
https://github.com/user-attachments/assets/d6e4f0ac-35c1-4703-92b5-32f14059ad46

fixes #125

@AshuKr22 : original issue #125 had level3 tag.

Either add level2 in issue or level3 in this pr to match both


Portal removal for RN0.26+

Removes portal.js dependency as it's not included in RN0.26+

I would like to have a new release with this change, but I'm afraid that I have to fork to use it.

Need this to be merged please!!

@rajkissu did you have a fork with these changes?

@rajkissu Thanks a lot 👍


Setup myget

Hi @xoofx,
Can you setup myget server then I can push PR with nightly myget packages build?
You can take look at my engine repo (https://github.com/amerkoleci/vortice/blob/master/.appveyor.yml)
I have my own sharpdx myget but probably need yours one.
Thanks

Not sure I would like to use myget, appveyor is supposed to provide this no? I saw in appveyor documentation something like this:
nuget:
  project_feed: true

that might be just enough?

I see, can you do setup for that? Not sure I can do that from external

Not sure my changes did something, but I think packages are available at: https://ci.appveyor.com/nuget/sharpdx
Let me know if you are not able to use this

Nice one, it works, let me submit PR with README.md update to show how to use nightly pckages.
Thanks

PR #1099 added


Bluetooth With version 0.7.7 Monterey Intel BT

Hi, i have setup the new version of EFI but bluetooth is not works yet with monterey and opencore 0.7.7?
In 0.7.6 ot's write that is fixed for bluetooth but for me with intel wifi driver it's nor works
Thanks you very much!

Hi, i have setup the new version of EFI but bluetooth is not works yet with monterey and opencore 0.7.7? In 0.7.6 ot's write that is fixed for bluetooth but for me with intel wifi driver it's nor works
Thanks you very much!

Download the corresponding version on this page.
https://github.com/CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/releases

Hi. Yes it was this one but only wifi works. Bluetooth is enabled in bios
Le mar. 18 janv. 2022 à 06:40, 辨识 @.***> a écrit :

Hi, i have setup the new version of EFI but bluetooth is not works yet
with monterey and opencore 0.7.7? In 0.7.6 ot's write that is fixed for
bluetooth but for me with intel wifi driver it's nor works
Thanks you very much!
Download the corresponding version on this page.
https://github.com/CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/releases
—
Reply to this email directly, view it on GitHub
https://github.com/CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/issues/89#issuecomment-1015087921,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWIE44MYGX7KWJI7U6NIRSLUWT4M3ANCNFSM5MF2E2KA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
<CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/issues/89/1015087921@
github.com>

Hi. Yes it was this one but only wifi works. Bluetooth is enabled in bios Le mar. 18 janv. 2022 à 06:40, 辨识 @.***> a écrit :
…

I fixed the bug, please download and test again.

Hi i have retry when re-download ( the 4st time) but BT not works

I have try with files from 0.7.6 and before but no one works.
If I take BCM file, wifi not works and bluetooth not works
If I Take Intel wifi files, wifi is ok but no bluetooth

i have check with oc configurator and it's seems ok, with windows on other hard drive, the Bluetooth works perfectly, (driver intel)
I don't know why it's don't works with macOS

Enable BlueToolFixup.kext and disable IntelBluetoothInjector.kext

hi, i have try but it's the same results:

hi, i have try but it's the same results:

Check whether Bluetooth can be used normally in win10.

it's works on w10

我12.2的系统，使用0.7.7的EFI，同样遇到了这个问题

it's works on w10

I`ve the same problem.
Keep in 0.7.8 :-(
All works except bluetooth.

Yes me too. I have try with 0.78 and its the same.
Le mar. 8 mars 2022 à 04:24, hlbomfim @.***> a écrit :

[image: image]
https://user-images.githubusercontent.com/93343345/150323939-43842bb6-bf75-422f-9ae9-684873333f93.png
it's works on w10
I`ve the same problem.
Keep in 0.7.8 :-(
All works except bluetooth.
—
Reply to this email directly, view it on GitHub
https://github.com/CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/issues/89#issuecomment-1061366961,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWIE44POPM2FF5C25KDP4C3U63B6TANCNFSM5MF2E2KA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
<CLAY-BIOS/Lenovo-ThinkPad-T450s-Hackintosh-OpenCore/issues/89/1061366961@
github.com>

Has anyone found a fix for bluetooth to make it work on Monterey ? I got same problem, everything works except bluetooth.

Sorry just looked around and i found a soluton. You just have to turn on Bluetoothfixup and turn off IntelBluetoothInjector.

Found solution. You just have to turn on Blueetoothfixup and turn off Intelbluetoothinjector.  .

@peace-division , are you using this EFI?
This already did it.
Thank's

@peace-division , are you using this EFI? This already did it.
Yes, I am using EFI version 0.7.8.

@peace-division , are you using this EFI? This already did it.
Yes, I am using EFI version 0.7.8.

Can you zip your EFI folder ?
I wish to try with it.

Can you zip your EFI folder ? I wish to try with it.
There you go, make sure you change the serial numbers and stuff.

Can you zip your EFI folder ? I wish to try with it.
There you go, make sure you change the serial numbers and stuff.
https://www.mediafire.com/file/n0uzv0bhp6gqypu/Archive.zip/file

I'll do this. Thank's

Hi every one, have you make test with efi folder zip? it's works now or it's she same?
For me with 0.7.9 it's  not works


Does this repository have the same security issue as CBOR C#

Does the same security issue exist here that is in the C# version for dealing with referenced objects while decoding?

Yes, the security issue applies to this repository just as it does to the C# repository.  See the advisory I published.

Apparently, you might not have received automatic updates from this repository, presumably because the way the advisory ought to reference the package and package ecosystem is incorrect (is "com.upokecenter/cbor" the correct name for this package? is "Central Repository" the correct name for the ecosystem? what about "Maven"?).


Example irradiance_volumes crashing

Bevy version
latest commit on main 4da449344911f9eb83d393eb06ff1cb08f5d8035
[Optional] Relevant system information
SystemInfo { os: "Linux  Arch Linux", kernel: "6.8.2-arch2-1", cpu: "AMD Ryzen 9 3900X 12-Core Processor", core_count: "12", memory: "62.7 GiB" }

AdapterInfo { name: "AMD Radeon RX 6900 XT (RADV NAVI21)", vendor: 4098, device: 29631, device_type: DiscreteGpu, driver: "radv", driver_info: "Mesa 24.0.4-arch1.2", backend: Vulkan }

What you did
Try running the irradiance_volumes example.
What went wrong
The window and something is visible for a short amount of time, but then terminates with:
wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `main_opaque_pass_3d_command_encoder`
    In a set_pipeline command
      note: render pipeline = `pbr_opaque_mesh_pipeline`
    Render pipeline targets are incompatible with render pass
    Incompatible sample count: the RenderPass uses textures with sample count 4 but the RenderPipeline uses attachments with format 8

Additional information
wgpu-info.json

will be fixed by https://github.com/bevyengine/bevy/pull/12845


Recode S3 metadata using ASCII \u{CODEPOINT} sequences

The motivation for doing this is to ensure that people with non-ASCII names in their Git configuration is able to release artifacts to S3.
With the current state of affairs, the release fails with a rather cryptic Aws::S3::Errors::SignatureDoesNotMatch. This turns out to be because AWS changes any non-ASCII bytes to a literal question mark ?, when creating the canonical request. The documentation says nothing about this, so perhaps it should not come as a surprise that Amazon's own tooling doesn't do this.
By fixing the signature calculation, putting UTF-8 data to S3 actually works, but when retrieving the data it is returned in MIME Encoded-Word format, which is typically not handled by HTTP clients (awscli being an important example).
The proposed encoding is a bit easier on the eyes than the MIME option, for clients with no support for encoded headers, and where the value is mostly ASCII.

Just tried this out and it appears as if aws-sdk-core was nice enough to strip newlines before but not when using \u{CODEPOINT} sequences. Will push a fix shortly.


Custom Sensor causes seg fault after listen /source/carla/client/detail/EpisodeProxy.h:28

I am having issues implementing a custom sensor. I have implemented a dead-simple sensor, that simply sends a carla::geom::Vector2D every Tick.
CARLA version: 0.9.12
Platform/OS: Ubuntu 20.04 LTS
Problem you have experienced: Creating a simple custom sensor causes the client to crash after listener registration. (presumably sometime during the receipt of the first message). The client-side seg fault also causes the server to hang.
What you expected to happen: The listen callback to fire and data to be received.
Steps to reproduce: 1.) Clone CARLA v0.9.12 2.) Add/merge provided sensor source. 3.) make PythonAPI and make launch 4.) run provided client script
Other information (documentation you consulted, workarounds you tried): I have re-read the Create a sensor tutorial, and reviewed all of the existing Sensor implementations. I'm not sure exactly what is going on here/what I am missing... Some insight from a developer would be greatly appreciated.
Included GDB dump of client python script:
`
GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Registered pretty printers for UE4 classes
Reading symbols from python3...
(No debugging symbols found in python3)
(gdb) run create_simple_sensor.py
Starting program: /usr/bin/python3 create_simple_sensor.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7ffff4a90700 (LWP 12690)]
[New Thread 0x7fffeffff700 (LWP 12691)]
[New Thread 0x7fffe77fe700 (LWP 12692)]
[New Thread 0x7fffef7fe700 (LWP 12693)]
[New Thread 0x7fffeeffd700 (LWP 12694)]
[New Thread 0x7fffee7fc700 (LWP 12695)]
[New Thread 0x7fffedffb700 (LWP 12696)]
[New Thread 0x7fffed7fa700 (LWP 12697)]
[New Thread 0x7fffecff9700 (LWP 12698)]
[New Thread 0x7fffe7fff700 (LWP 12699)]
[New Thread 0x7fffe6ffd700 (LWP 12700)]
[New Thread 0x7fffe67fc700 (LWP 12701)]
[New Thread 0x7fffe5ffb700 (LWP 12702)]
[New Thread 0x7fffe57fa700 (LWP 12703)]
[New Thread 0x7fffe4ff9700 (LWP 12704)]
[New Thread 0x7fffb7fff700 (LWP 12705)]
[New Thread 0x7fffb77fe700 (LWP 12706)]
WARNING: Version mismatch detected: You are trying to connect to a simulator that might be incompatible with this API
WARNING: Client API version     = 0.9.12-1-gbb4b95e0
WARNING: Simulator API version  = 0.9.12-1-gbb4b95e0-dirty
[New Thread 0x7fffb6ffd700 (LWP 12707)]
[New Thread 0x7fffb67fc700 (LWP 12708)]
[Thread 0x7fffb6ffd700 (LWP 12707) exited]
[Thread 0x7fffb67fc700 (LWP 12708) exited]
[New Thread 0x7fffb6ffd700 (LWP 12710)]
[New Thread 0x7fffb67fc700 (LWP 12711)]
FPS: 29.549081023580168
Thread 8 "python3" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffedffb700 (LWP 12696)]
0x00007ffff5c35de8 in carla::client::detail::EpisodeProxyImpl<std::weak_ptrcarla::client::detail::Simulator >::operator= (this=0x18) at ../../LibCarla/cmake/../source/carla/client/detail/EpisodeProxy.h:28
28	  class EpisodeProxyImpl {
(gdb) c
Continuing.
Couldn't get registers: No such process.
Couldn't get registers: No such process.
(gdb) [Thread 0x7fffb67fc700 (LWP 12711) exited]
[Thread 0x7fffb6ffd700 (LWP 12710) exited]
[Thread 0x7fffb77fe700 (LWP 12706) exited]
[Thread 0x7fffb7fff700 (LWP 12705) exited]
[Thread 0x7fffe4ff9700 (LWP 12704) exited]
[Thread 0x7fffe57fa700 (LWP 12703) exited]
[Thread 0x7fffe5ffb700 (LWP 12702) exited]
[Thread 0x7fffe67fc700 (LWP 12701) exited]
[Thread 0x7fffe6ffd700 (LWP 12700) exited]
[Thread 0x7fffe7fff700 (LWP 12699) exited]
[Thread 0x7fffecff9700 (LWP 12698) exited]
[Thread 0x7fffed7fa700 (LWP 12697) exited]
[Thread 0x7fffedffb700 (LWP 12696) exited]
[Thread 0x7fffee7fc700 (LWP 12695) exited]
[Thread 0x7fffeeffd700 (LWP 12694) exited]
[Thread 0x7fffef7fe700 (LWP 12693) exited]
[Thread 0x7fffe77fe700 (LWP 12692) exited]
[Thread 0x7fffeffff700 (LWP 12691) exited]
[Thread 0x7ffff4a90700 (LWP 12690) exited]
Program terminated with signal SIGSEGV, Segmentation fault.
`
Attached is a .zip with the source code for the custom sensor, as well as the requisite SensorRegistry.h and SensorData.cpp files.
test_sensor.zip

Sorry for commenting on this closed issue but it seems to me that you were able to build Carla with Ubuntu 20.04 and are developing in C++.
How did you enable header visibility across all files? I get error messages that clang doesn't find header files and, therefore, I cannot create a custom sensor such as in that guide you mention.

Thanks in advance!

@thbake , I have not encountered the same issue that you are describing.
It's not clear to me if that is an IDE issue, or an actual compiler issue. I do not use any fancy intellisense addons or anything like that, and I build from the command line.
My best guess would be to check your $UE4_ROOT environment variable, and make sure it's pointing to the Unreal 4.26 repo you cloned. Sorry I can't be more help.

So you are not using Visual Studio or something similar? You just rebuild the engine/Carla and it works? If that's the case I will do that as well. I launch Carla successfully, but I have those warnings more or less telling me that the files are not found.
Thanks a lot for your answer!


Cannot replace schema definitions in AAI documents

When editing the source of a schema definition from an aai document in the studio we cannot save because a Document type not supported by this command. error is thrown.
    public static final ICommand createReplaceSchemaDefinitionCommand(DocumentType docType,
            IDefinition old, IDefinition replacement) {
        if (docType == DocumentType.openapi2) {
            return new ReplaceSchemaDefinitionCommand_20((Oas20SchemaDefinition) old, (Oas20SchemaDefinition) replacement);
        }
        if (docType == DocumentType.openapi3) {
            return new ReplaceSchemaDefinitionCommand_30((Oas30SchemaDefinition) old, (Oas30SchemaDefinition) replacement);
        }
        throw new RuntimeException("Document type not supported by this command.");
    }

Thanks for the report.


Remove isPlainObject checking in dispatch method

I'm writing a react/redux project in TypeScript and I would like to have a little different structure of actions and reducers.
Here is the example:
abstract class Action {
	type: string;
}

class ActionOne extends Action {
	 constructor(public one: string) {
            super();
			this.type = "TypeOne";
        }
}

class ActionTwo extends Action {
	 constructor(public two: number) {
            super();
			this.type = "TypeTwo";
        }
}

and my reducer method
function reducer(state, action: Action) {
	if(action instanceof ActionOne) {
		action.one; // works
                action.two; // error
	} else if (action instanceof ActionTwo) {
		action.one; // error
                action.two; // works
	} else {
		return state;
	}
}

Thank to these changes and to type guard feature I have intellisense and type checking inside of each if/else body.
The only problem with this solution is that dispatch method checks if the action object is the plain object which in my case is not true.

Please see the discussion in #992.

Nice workaround for TypeScript 1.6: https://github.com/rackt/redux/issues/992#issuecomment-156579500

@gaearon Awesome! Thanks!


Add support for mouse scroll wheel, middle click, and Xbutton1/Xbutton2

Adds a new method to the API, MouseWheel, that returns an integer value that reflects how much the scroll wheel has moved since the last frame. Also adds an enum, ScrollDirection (Vertical and Horizontal), that can be passed to MouseWheel to indicate the scroll axis to poll. Default is Vertical. Horizontal scrolling support is especially useful for gesture-based scrolling on, say, a Mac.
Also adds support to MouseButton for middle (3), button1/back (4) and button2/forward (5).

Since ScrollDirection.Horizontal is a bit of a mouthful, you might consider changing that

I took a look at your pull request but simplified it and put it in by hand. MouseWheel() just returns a point with the change in x,y value since the last frame. No need for the new scroll enum.
I've added this to the 1.9.8 branch.


ummmm

first of all i had tested the war config and how to i get rid of the cars and npcs. second of all im using the harry potter config and when i use hagrid to go to hogwarts he says "sorry something went wrong" help please

/mnpc select
/mnpc remove

In the future please try /mhelp first, it probably could've answered your first question.
"Something went wrong" is usually a hard error and there should be a stack trace in your logs when you do it, can you please check?


Voltage calculator

It will calculate the voltage when current and resistance is given.
I would like to work on this under jwoc

@Saishreekouda go for it.

@Srijita-Mandal
I would like to work on this under JWOC


Package update information text seems borked upon todays VScode update

Getting some funky text distortion on npm outdated's update information after updating VSCode today:

All other plugins seem to be operating normally.
No other plugins provide update text for npm packages that could be clashing.
macOS 13.4.1
VSCode 1.80.0

Is this a known issue?

Is this happening consistently? The vscode has some difficulty handling colored text like this, and I had reported it to them, but they simply ignored it and said it's intended behavior.
As an alternative, there is an option in the extension to disable the color system (search for npm-outdated.decorations in the settings). However, the recent changes in PR #22 may potentially solve this issue.
Since it hasn't been reviewed and approved yet, I'll provide an option here to download it and manually install it in vscode.
https://drive.google.com/file/d/1AxQFX09m_eD86_dWuF0mHN4EZ3g3afAc/view?usp=sharing

Yeah it is consistent and reproducible.
I wouldn't be surprised if it clashed with one of the many other VSCode extensions that format text - but haven't been able to pin down which one if so (and haven't added any new extensions).
Thanks for alerting me to npm-outdated.decorations - setting that to disabled resolves the issue for me - not ideal but at least I can read it now!

@sammcj Do you think you can create a reduced test package? I believe package.json, package-lock.json (or similar) might be reproducible.

Sure thing, here's a zip with package.json, package-lock.json where the text gets overlapped.
Archive.zip

Enabled VScode packages:

NPM Outdated
NPM Intellisense
Error Lens
Better Comments
ESLint

Unfortunately, I couldn't reproduce it in either the current version or the PR #22 version. Both worked perfectly. It seems that there is a conflict with the Error Lens extension.

I believe this bug should be reported directly to the vscode team (I've never had much luck with them, but who knows...). In the meantime, perhaps you can keep the "npm-outdated.decorations": "disabled" configuration or temporarily configure Error Lens to exclude ^Newer version of at settings.

Additionally, thank you, I didn't know about Error Lens, and it seems quite useful.

ahhhh, so npm-outdated is showing those messages as a type of error, and ErrorLens will be those errors up (again)?
If so - I agree, it sounds like it's a core vscode issue where multiple error annotations shouldn't overlap.
ErrorLens is so, so useful - just perhaps not in this specific case 😄.
Sorry for wasting your time on this one! I'll close this off and might log a bug with VScode (at which point I'll link to this).

Oh and a little tip with ErrorLens - I'd highly recommend setting it to show just warn and error level otherwise it can be pretty noisy.


Migration Large-Singlish-Conformer pretrained checkpoint from TF1 to TF2

Hi~~
Given the current Large-Singlish-Conformer pretrained checkpoint is written in TF1, and the model LSTM path has changed in TF2, I tried to rewrite the checkpoint variable name paths related to LSTM. We can use TF2 to restore the new checkpoint. I attached the colab link below. Feel free to read it.
https://colab.research.google.com/drive/1AtiC5rz7ZzMMtXfKmcMKA7mHZZWMVvkW?usp=sharing

noicaaaahhhhhhhh


response error load missing

If telegram API replies with an error an exception is launched because the ResponseError file is never included.

I'm going to test this out on my end, I'm guessing this is to rectify NameError: uninitialized constant TelegramBot::ApiResponse::ResponseError

Okay, so here's the use case I've put together to test this PR. You can fail it on the existing master with setting up a breaking API request:
@bot = TelegramBot.new(token: ENV['mara_bot_key'])
channel = TelegramBot::Channel.new(username: 'schwadererer')
out_message = TelegramBot::OutMessage.new(chat: channel, text: 'wut it is')
@bot.send_message(out_message)

Failing output should be:
NameError: uninitialized constant TelegramBot::ApiResponse::ResponseError

After running this PR in, the passing output will become:
TelegramBot::ResponseError: An error has occurred: {"ok"=>false, "error_code"=>400, "description"=>"Bad Request: chat_id is empty"}

Anyway, that's my two cents on this review. Defer to @eljojo for his thoughts on this PR. Thanks for the contribution!


Responsive design: work on mobile

Homepage
Task feed
Requested status
Worker status
Results/Rating
Profile

min-width: 768px seems to work as expected :D


exemplary docker-compose from README not working.

Hi,
I tried to use your images with docker-compose you provide in README.
It seems to me that is it not enough to make containers dependent on each other, they must also link each other. Also, I had to change "nimbus.host" and "storm.zookeeper.servers" to the names of containers (which, in my case, are networkname_nimbus_1, networkname_supervisor_1 etc. and not the names of entries from docker-compose). Using docker-compose 1.7.0 and Docker 1.11.1 on Windows 7 host. I wonder if the naming convention depends on Docker version?
I got it working with sth like (docker-compose.yml placed in 'storm' directory):
version: '2'
services:
    zookeeper:
        image: 31z4/zookeeper:3.4.8
        restart: always

    nimbus:
        image: 31z4/storm:1.0.2
        command: storm nimbus -c storm.zookeeper.servers="[\"storm_zookeeper_1\"]" -c nimbus.host="storm_nimbus_1"
        links:
            - zookeeper
        depends_on:
            - zookeeper
        restart: always
        ports:
            - 6627:6627

    supervisor:
        image: 31z4/storm:1.0.2
        command: storm supervisor -c storm.zookeeper.servers="[\"storm_zookeeper_1\"]" -c nimbus.host="storm_nimbus_1"
        links:
            - nimbus
            - zookeeper
        depends_on:
            - nimbus
            - zookeeper
        restart: always

Those images are needed, I hope they will soon become official ones :)
Edit: just learned that container names can be set with "container_name". That solves the problem with names dependent on parent directory.

Thank you for your report @marta-tatiana! I guess it may depend not only on Docker version but also on Docker Compose version and a host platform. I test everything on the latest stable version of Docker and Docker Compose on Mac OS X.


ci(pyright): specify usage platform

Codecov Report

Merging #126 (c99525c) into master (d513f52) will decrease coverage by 61.87%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #126       +/-   ##
===========================================
- Coverage   98.33%   36.45%   -61.88%
===========================================
  Files          59       57        -2
  Lines        3116     3078       -38
===========================================
- Hits         3064     1122     -1942
- Misses         52     1956     +1904

Flag
Coverage Δ

network
36.45% <ø> (ø)

unit
?

Flags with carried forward coverage won't be shown. Click here to find out more.


Create and publish docker image for php-v8

This should be a basic image with PHP 7.2 and libv8 (without debug, probably,) and php-v8 compiled. The purpose of this image to be able to evaluate php-v8 and what it could be good for and to demonstrate how to compile it and use in custom docker images.

It probably has to have php-ref too to let https://github.com/pinepain/js-sandbox work out of the box

Docker image with php, composer, php-ref and php-v8 is available under pinepain/php-v8 name - https://hub.docker.com/r/pinepain/php-v8/tags/


Validate all sql expressions in yaml with sqlglot

Yep, running the validator on my generated YAML without filling in the placeholders, I now see the following error (which is good and intended):
strictyaml.exceptions.YAMLValidationError:
invalid SQL expression
  in "semantic model", line 15, column 1:
        expr: '  '     # <FILL-OUT>

I think there's just quick fix needed in a unit test reflecting this!


API error Interface is linked to item Number of processes

Any ideas to why this would be happening on version 1.7.0 of puppet-zabbix
Error: Could not set 'present' on ensure: Server answer API error:
{
"code": -32602,
"message": "Invalid params.",
"data": "Interface is linked to item "Number of processes" on "swift-01.example.com"."
}
on request:
{
"method": "host.update",
"params": [
{
"host": "swift-01.example.com",
"interfaces": [
{
"type": 1,
"main": 1,
"ip": "<IP_ADDRESS>",
"dns": "swift-01.example.com",
"port": "10050",
"useip": 1
}
],
"templates": [
10001,
10102,
10105
],
"groups": [
{
"groupid": 9
}
],
"hostid": 10106
}
],
"id": 61542,
"jsonrpc": "2.0",
"auth": "650d91c0a89d39cf1c42dc0a28808ca9"
}

Hi @davideagle
Could you please give some more information, like is it creating a new hosts or is it updating the host. On what OS is this, which Zabbix/Puppet version.
Thank you.
Kind regards,
Werner

Zabbix 2.4.7
Puppet 3.8.4
Ubuntu 14.04.3
"method": "host.update"
On Mon, Dec 21, 2015 at 6:49 PM, Werner Dijkerman<EMAIL_ADDRESS>wrote:

Hi @davideagle https://github.com/davideagle
Could you please give some more information, like is it creating a new
hosts or is it updating the host. On what OS is this, which Zabbix/Puppet
version.
Thank you.
Kind regards,
Werner
—
Reply to this email directly or view it on GitHub
https://github.com/dj-wasabi/puppet-zabbix/issues/143#issuecomment-166387751
.

By the looks of it, I guess if I add a zbx_template to the zabbix::agent class on a host already defined this error occurs. Is there any thing I can do to help to fix this?

I just accepted an PR which allow you to use this:
  zabbix_template_host{"mysql_template@db1":
      ensure => present
  }

in your site manifest. It is not the fix, but workaround.
I'll have some issues with my development setup, so I try to find an solution for this.

Cool thanks!
On Saturday, 30 January 2016, Werner Dijkerman<EMAIL_ADDRESS>wrote:

I just accepted an PR which allow you to use this:
zabbix_template_host{"mysql_template@db1":
ensure => present
}
in your site manifest. It is not the fix, but workaround.
I'll have some issues with my development setup, so I try to find an
solution for this.
—
Reply to this email directly or view it on GitHub
https://github.com/dj-wasabi/puppet-zabbix/issues/143#issuecomment-177295601
.

Quick question, is this supposed to be in the server manifest or in the
client manifest?
On Sat, Jan 30, 2016 at 8:40 PM, Davíð Örn Jóhannsson <
<EMAIL_ADDRESS>wrote:

Cool thanks!
On Saturday, 30 January 2016, Werner Dijkerman<EMAIL_ADDRESS>wrote:

I just accepted an PR which allow you to use this:
zabbix_template_host{"mysql_template@db1":
ensure => present
}
in your site manifest. It is not the fix, but workaround.
I'll have some issues with my development setup, so I try to find an
solution for this.
—
Reply to this email directly or view it on GitHub
https://github.com/dj-wasabi/puppet-zabbix/issues/143#issuecomment-177295601
.

On the zabbix server I add this to the manifest:
zabbix_template_host{"Template_MdRAID@compute-02":
ensure => present
}
But that results in the following using the master branch (commit 75325e4) zabbix_server (Zabbix) 3.0.1
Error: /Stage[main]/Profiles::Zabbix::Server/Zabbix_template_host[Template_MdRAID@compute-02]: Could not evaluate: undefined method `+' for nil:NilClass


feat: Product page: notify when there are pending operations

Hi everyone!
To make users' experience less confusing, there's now a banner on the product page when there are pending edits.
🎥 Video: https://github.com/user-attachments/assets/b1bd365b-3542-44ba-bf27-5531a9d56154

Improvement 1: reduce the size of "Compatible"
The translation for "Compatible" in French was incorrect, which allowed me to implement a naive algorithm to reduce the size.

Improvement 2: product page title
Sometimes, the product name was vertically cropped on the product page (fixed ✅)

Improvement 3: picture background has a darker opacity in light mode

Codecov Report
Attention: Patch coverage is 1.51515% with 65 lines in your changes missing coverage. Please review.

Project coverage is 6.53%. Comparing base (4d9c7fc) to head (0ef8ecc).
Report is 527 commits behind head on develop.

Files with missing lines
Patch %
Lines

...oduct_page/new_product_page_loading_indicator.dart
7.69%
12 Missing :warning:

packages/smooth_app/lib/widgets/smooth_banner.dart
0.00%
12 Missing :warning:

...ckages/smooth_app/lib/helpers/color_extension.dart
0.00%
10 Missing :warning:

...pages/product/product_page/new_product_header.dart
0.00%
10 Missing :warning:

...b/pages/product/product_page/new_product_page.dart
0.00%
10 Missing :warning:

...kages/smooth_app/lib/resources/app_animations.dart
0.00%
8 Missing :warning:

...ib/pages/input/smooth_autocomplete_text_field.dart
0.00%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5947      +/-   ##
==========================================
- Coverage     9.54%   6.53%   -3.01%
==========================================
  Files          325     440     +115
  Lines        16411   24851    +8440
==========================================
+ Hits          1567    1625      +58
- Misses       14844   23226    +8382

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Gitlab line anchors don't work because of invalid range format

Describe the bug
When right-clicking and choosing "Copy GitHub link" the link that is copied will include a hashtag anchor link to a range (Ex: #L30-L35. This anchor works fine for GitHub but for GitLab the closing line number for the range should NOT include the L character. The proper anchor for GitLab would be #L30-35. Note even a single line link is treated as a range so this effects those as well.
To Reproduce
Steps to reproduce the behavior:

Go to any file hosted on a GitLab repository, right-click and choose "Copy GitHub link"
Paste this link into a browser and notice the line anchor does NOT work as intended to highlight and scroll your viewport to the specific lines.
Modify URL to remove the 2nd L character in the range and re-request the page.
Note the anchor DOES work as intended.

Expected behavior
Anchors to line ranges should be respected within GitLab as well as GitHub
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: MacOS
Browser Chrome
Version 90

Additional context
Example link with broken anchor: https://gitlab.com/pgjones/quart/-/blob/master/setup.py#L50-L50
Example link with working anchor: https://gitlab.com/pgjones/quart/-/blob/master/setup.py#L50-50

@hexarobi Go to Editor's Preferences -> GitLink Settings -> Host & make it GitLab (default is gitHub, so it follows Lx-Ly pattern)

Thanks! I didn't even know that settings panel existed, that totally worked! 😄 🙏


Fix #181

Instead of using just words in the substring, prefix with $ since we're targeting usage of the variable, not just anything with that string in it.

No worries, I need to refresh myself why this wasn't quite right.


Component path brokes when set a namespace that is not included in the identifier

When setting a component with a namespace that is not present in the identifier the path get mess up
# Wrong
Dry::System::Component.new(:mailer, namespace: "mail")
#<Dry::System::Component identifier="mailer" path="mailer">

# Right
Dry::System::Component.new("mail/mailer", namespace: "mail")
#<Dry::System::Component identifier="mailer" path="mail/mailer">

# Right
 Dry::System::Component.new("mail.mailer", namespace: "mail")
#<Dry::System::Component identifier="mailer" path="mail/mailer">

This is a legit use case, it's just that components are used in different contexts. It's a clear sign that this class is a bit too big. See https://github.com/dry-rb/dry-system/pull/79#issuecomment-364063937


Add model server

Add a simple GRPC server for supporting batch transcription. Lay groundwork for future streaming server.

Batch transcription now supported (not optimized).


[morpheus-refactor] Move morpheus source to python/morpheus

Description
This is the first PR to update the source layout. It moves the morpheus source code to a new sub-tree that will allow breaking out morpheus functional blocks from the morpheus-base -
.
|___ CMakeLists.txt
|___ python
|    |___ CMakeLists.txt
|    |___ morpheus
|    |    |___ CMakeLists.txt
|    |    |___ setup.py
|    |    |___ setup.cfg
|    |    |___ MANIFEST.in
|    |    |___ morpheus
|    |    |    |___ __init__.py
|    |    |    |___ _lib
|    |    |    |___ etc.
|    |___ morpheus_N

By Submitting this PR I confirm:

I am familiar with the Contributing Guidelines.
When the PR is ready for review, new or existing tests cover these changes.
When the PR is ready for review, the documentation is up to date with these changes.

/ok to test

LGTM, my main question is, are in-place python installs still supported? How does it work?

That is a  good question. The install is per-functional block. For eg. if you were setting up a dev env it would look something like this -
cd $MORPHEUS_ROOT
pip install -e python/morpheus
pip install -e python/morpheus_N  # hypothetical functional block

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/ok to test

/merge


[FEAT] dual CPU support

Be sure to read FAQ before submitting a new issue.
Wanted features:
I want fastfetch to differentiate if there's multiple physical CPUs on the system.
Motivation:
I have no hard numbers to back me up, but I assume there's plenty of people using fastfetch on their dual Xeon workstations running Windows/macOS/Linux.
I have came up with the following macOS only implementation https://github.com/AzimovParviz/fastfetch/commit/d3e8416f73f55ea40bd7dc53934d6b554f11a895 in my fork.
This is how it looks on my MacPro5,1 with dual quad core Xeons

I also did https://github.com/AzimovParviz/fastfetch/commit/3355cd505d6c2f2a2b85aef4d0cf8f3dd807a928 to account for the "2 x" string to the output more clear, but I am not confident in whether this is the correct way to go about it
I did not find any contribution guidelines outside of line 206 of README.md so I am doing a feature request before doing a PR

Well, fastfetch shows 16 threads. Seems that it already takes dual CPU into account.
Another question: What if user installs 2 different CPU in 1 machine. Is it possible?

Well, fastfetch shows 16 threads. Seems that it already takes dual CPU into account.
Yeah but wouldn't it be better if outright stated the number of CPUs like on the screenshot?

Another question: What if user installs 2 different CPU in 1 machine. Is it possible?
I definitely know that you need to have a matching pair on MacOS. I cannot say for sure for other systems. Cursory google search tells that most motherboards won't even post but some systems seem to work when mixing CPUs. But I never seen it and can't seem to find a video of someone doing it

If you can figger out how to detect it in Linux and Windows, I am happy to have it supported in fastfetch.

If you can figger out how to detect the CPU count in Linux and Windows, I am happy to have it supported in fastfetch.

I'll take a shot at it. I never developed on Windows, I spent the entire evening yesterday trying to just build the project. It fails to find vulkan headers whenever I try building. It also won't build unless I do cmake -G Ninja
Here's how it looks like
$ cmake .. -G Ninja
-- The C compiler identification is Clang 19.1.4
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/msys64/clang64/bin/cc.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Found PkgConfig: C:/msys64/clang64/bin/pkg-config.exe (found version "2.3.0")
-- Build type: RelWithDebInfo
-- Threads type: Win32 thread
-- The CXX compiler identification is Clang 19.1.4
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/msys64/clang64/bin/c++.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Enabling LTO
-- Target dirs: ROOT="" USR="/usr" HOME="/home" ETC="/etc"
-- Could NOT find Python (missing: Python_EXECUTABLE Interpreter)
CMake Warning at CMakeLists.txt:265 (message):
  Python3 is not found, 'help.json' will not be minified

CMake Warning at CMakeLists.txt:293 (message):
  Python3 is not found, use basic 'fastfetch.1.in' instead

-- Looking for wcwidth
-- Looking for wcwidth - not found
-- Library: found VULKAN
-- Library: missing: IMAGEMAGICK7
-- Library: found ZLIB
-- Library: missing: CHAFA
-- Library: missing: EGL
-- Library: missing: OPENCL
-- Looking for C++ include winrt/Windows.Foundation.h
-- Looking for C++ include winrt/Windows.Foundation.h - not found
-- Disabled package managers: WINGET
-- Configuring done (26.4s)
-- Generating done (0.5s)
-- Build files have been written to: C:/projects/fastfetch/build

$ cmake --build . --target fastfetch --target flashfetch
[24/211] Building C object CMakeFiles/libfastfetch.dir/src/detection/vulkan/vulkan.c.obj
FAILED: CMakeFiles/libfastfetch.dir/src/detection/vulkan/vulkan.c.obj
C:\msys64\clang64\bin\cc.exe -DFF_HAVE_THREADS=1 -DFF_HAVE_VULKAN=1 -DFF_HAVE_ZLIB=1 -DFF_PACKAGES_DISABLE_LIST=FF_PACKAGES_FLAG_WINGET_BIT -DNOMINMA
X -DUNICODE -DWIN32_LEAN_AND_MEAN -D_GNU_SOURCE -D_WIN32_WINNT=0x0A00 -IC:/projects/fastfetch/build -IC:/projects/fastfetch/src -Wall -Wextra -Wconve
rsion -Werror=uninitialized -Werror=return-type -Werror=incompatible-pointer-types -Werror=implicit-function-declaration -Werror=int-conversion -O2 -
g -DNDEBUG -std=gnu11 -flto=thin -pthread -MD -MT CMakeFiles/libfastfetch.dir/src/detection/vulkan/vulkan.c.obj -MF CMakeFiles\libfastfetch.dir\src\d
etection\vulkan\vulkan.c.obj.d -o CMakeFiles/libfastfetch.dir/src/detection/vulkan/vulkan.c.obj -c C:/projects/fastfetch/src/detection/vulkan/vulkan.
c
C:/projects/fastfetch/src/detection/vulkan/vulkan.c:12:10: fatal error: 'vulkan/vulkan.h' file not found
   12 | #include <vulkan/vulkan.h>
      |          ^~~~~~~~~~~~~~~~~
1 error generated.
[41/211] Building C object CMakeFiles/libfastfetch.dir/src/common/jsonconfig.c.obj
ninja: build stopped: subcommand failed.

$ which vulkan which: no vulkan in (/clang64/bin:/usr/local/bin:/usr/bin:/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl)
$ whereis vulkan vulkan: /usr/include/vulkan

You need both vulkan-loader and vulkan-headers. See https://github.com/fastfetch-cli/fastfetch/wiki/Dependencies
Or you can just disable it with -DENABLE_VULKAN=OFF

You need both vulkan-loader and vulkan-headers. See https://github.com/fastfetch-cli/fastfetch/wiki/Dependencies
Or you can just disable it with -DENABLE_VULKAN=OFF

both are already installed. All done from CLANG64.
mingw-w64-clang-x86_64-vulkan-loader 1.3.296.0-1
mingw-w64-x86_64-vulkan-headers 1.3.296.0-1
mingw-w64-x86_64-vulkan-loader 1.3.296.0-1
mingw-w64-x86_64-vulkan-utility-libraries 1.3.296.0-1
mingw-w64-x86_64-vulkan-validation-layers 1.3.296.0-1

You need to install mingw-w64-clang-x86_64-*
They are different. mingw-w64-x86_64-* is MINGW64

Thanks, instaleld $ pacman -S mingw-w64-clang-x86_64-vulkan-headers and now it builds.
Any chance you could add these to the wiki? https://github.com/fastfetch-cli/fastfetch/wiki/Building

Done.

If you can figger out how to detect the CPU count in Linux and Windows, I am happy to have it supported in fastfetch.

For Linux, just read the physical id field in the /proc/cpuinfo file.
For example, in my workstation, which has 2 xeon silver 4216 processors, you can see that the first 16 physical cores are 0 and the 17-32 physical cores are 1, indicating CPU0 and CPU1 respectively.

I can submit a PR for Linux if necessary.

@xiaoran007 https://github.com/fastfetch-cli/fastfetch/pull/1417 I have already started working on Linux so you don't have to. But after I make the necessary commits, I would be happy if you took a look.

If you can figger out how to detect the CPU count in Linux and Windows, I am happy to have it supported in fastfetch.

For Linux, just read the physical id field in the /proc/cpuinfo file. For example, in my workstation, which has 2 xeon silver 4216 processors, you can see that the first 16 physical cores are 0 and the 17-32 physical cores are 1, indicating CPU0 and CPU1 respectively.  I can submit a PR for Linux if necessary.

Would you mind to upload your /proc/cpuinfo file for testing?

Mine looks like this interestingly enough

Here is the /proc/cpuinfo file for two Xeon Silver 4216 CPU (Hyper-Threading is enabled) Xeon.txt Because hyper-threading is enabled, cpuinfo displays information for all logical cores. That is, the first 32 cores are physical cores, and the last 32 cores are logical cores for hyper-threading. The order of the reports on macOS may be different from that on Linux, but the actual information is the same. If you need AMD epyc files, please let me know.

the screenshot and cpuinfo i provided are from Linux, but that's interesting about hyperthreading.

Please test the dev build. BTW I removed the useless white spaces in CPU name.

Oh yeah, that was bothering me too. I noticed that it's a thing on Macs, I saw someone on reddit with a MacBook have a similar whitespace in cpu vendor name but I didn't have it on my 2017 mbp with i5.
I will take a look on all 3 OSs on my MP when I have a moment

my windows's EFI broke after installing Mint, but the dev branch builds and runs fine on MacOS and Linux. correct output, detects dual CPUs and removes the whitelines


add config flow

This PR add support for the config flow and deprecated the configuration in yaml.
On startup the yaml config will be imported and the user will be advised to delete the yaml config.
As this is not a breaking change I will suggest version 2.1.0
Minimum required HA version is 2022.04, but hacs will only show the update if you are running at least this version. If someone has installed it manually, he will get an error message, if his HA version is not supported.
Also updated the dependencies, so the PR of the dependabot will be closed automatically after this is merged.
Fixes #39

@dckiller51 Can you please setup https://github.com/marketplace/pre-commit-ci It's free for public repos and will automatically checks the pre-commit checks on each push. Thanks :)

pre-commit-ci

Hello, I can't wait to test your update. I think I installed pre-commit-ci here and on the card. Can you check ? This allows you to access and automatically push updates? Sorry I'm new to github. I did everything on self-taught.

I have added the pre-commit file in the last PR. You only need to activate the action, that it will be runned automatically on github 😊

Forgotten to answer the first question: @dckiller51 It not installed yet

J'ai oublié de répondre à la première question : @dckiller51 Il n'est pas encore installé

Ah okay, I validate in the minutes.😉


[FEA] Add Spark 3.4.0 to regular premerge/nightly build in 23.06

Is your feature request related to a problem? Please describe.
For 22.08 we are removing the Spark 3.4.0 build from the regular premerge and nightly and going to build it separately. For 22.12 we want to add that back.
https://github.com/NVIDIA/spark-rapids/pull/6999
### Tasks
- [x] Enable Spark 3.4 build in pre-merge making it optional(i.e this build should not block merging a PR) - https://github.com/NVIDIA/spark-rapids/pull/6999
- [x] Enable Spark-3.4 build & unit test in pre-merge - https://github.com/NVIDIA/spark-rapids/pull/8218
- [x] Enable Spark-3.4 in regular nightlies instead of a separate pipeline

Confirmed the integration tests are now running in regular nightly pipeline. Closing this issue now.


Failed to generate a valid skeleton for 'base'.

Hi,
I am quite a newby in this. In PyCharm Community 2017.1.2 I last week installed your R-plugin. Today I imported a python project from github (wisecondor) and got two errors / remarks on not finding R. I re-entered the path. A lot went fine, until this remark. Which I do not understand, perhaps you do. And it could be unimportant.
Best regards, Jasper
1- Failed to generate skeleton for 'translations'. The error was: Error in library(package = pName, character.only = TRUE) :
package 'translations' does not have a namespace and should be re-installed
Execution halted
If you think this issue with plugin and not your R installation, please file a ticket under https://github.com/holgerbrandl/r4intellij/issues
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2- Failed to generate a valid skeleton for 'base'. Please file a ticket under https://github.com/holgerbrandl/r4intellij/issues
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

failing to index translations is a known problem. We'll exclude it from indexing with the next patch release.
Failing to index base should not happen. Could your run
wget https://raw.githubusercontent.com/holgerbrandl/r4intellij/master/r-helpers/skeletonize_package.R

pckgName=tcltk ## your index-failing package here!!
R -f skeletonize_package.R --args  ${pckgName} ${pckgName}.skeleton.R

and attach the output/error to this ticket?

Similar to this I got the error:
`Failed to generate a valid skeleton for 'tools'. Please file a ticket under https://github.com/holgerbrandl/r4intellij/issues
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:247)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:132)
at com.r4intellij.packages.RSkeletonGenerator.lambda$updateSkeletons$1(RSkeletonGenerator.java:234)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)`

translations is now excluded from indexing.


Shutter

@siong1987 @kylebrowning @hapiben @bluesuedesw @djbe  How can I make this project so that if you click and hold on the camera button, a shutter or burst of images will be taken at my own desired rate. Or a continuous amount of images will be taken.

Hi @jackpaster , have you got any luck, i have to implement the same functionality as yours!
Please help if you got any solution.


Cop idea: Detection of date comparison in where scopes

I discovered recently I could rewrite a manual scope comparing dates using Rails power directly.
For example:
Before
Event.where('at >= ?', Time.current)
# => "SELECT \"events\".* FROM \"events\" WHERE (at >= '2023-01-22 20:14:34.878368')"

Event.where('at < ?', Time.current)
# => "SELECT \"events\".* FROM \"events\" WHERE (at < '2023-01-22 20:14:34.878368')"

After
Event.where(at: Time.current..)
# =>  "SELECT \"events\".* FROM \"events\" WHERE \"events\".\"at\" >= '2023-01-22 20:14:34.878368'"

Event.where(at: ...Time.current)
# => "SELECT \"events\".* FROM \"events\" WHERE \"events\".\"at\" < '2023-01-22 20:14:34.878368'"

In the same way, the cop should handle:
- `<` : `…Time.current`
- `<=` : `..Time.current`
- `>=` : `Time.current..`
- `>` : `Time.current…` # seems to behave as `>=`

I haven’t seen any cop that could detect this, what do you think about adding a new rule to the gem ?
Thank you :)
Some related context from Rails repo: https://github.com/rails/rails/pull/47054#issuecomment-1399553958

Duplicate - https://github.com/rubocop/rubocop-rails/issues/689 ?

Indeed, it seems a duplicate of #689
Thanks for the catch, will close this one 👍


[Idea] Databases

Detect if the dialect is mysql, if it is, check the permissions of the mysql user, if the user can create accounts and databases, add a separate section in categories to create databases, and put in config file the limit of databases to create.

im really not sure what you want there, heres a guid to change the database pufferpanel uses https://docs.pufferpanel.com/en/2.x/guides/database.html

Oh, no, it's an idea to implement database system on server menu :D

im not sure if that feature has that much usecases, but you can implement it yourself and here's a guide to it https://docs.pufferpanel.com/en/latest/guides/contributing.html


Pantheon poc

Install JRE dependency via package manager

[ ] homebrew

[ ] apt-get

[ ] yum

[ ] chocolatey

[ ] settings

[ ] download from bintray

Plugin: https://github.com/PhilippLgh/grid-pantheon-plugin


Add Vietnam Innovative Educator Foundation

@domnht Hello!
This domain does not belong to a university, nor to a college. I have to close the request without merging. Please ensure that you are familiar with this repository rules located at the bottom of this page before submitting a new request.
Thank you!


Do ARL forms need to be ADA compliant?

ARL uses PDF forms because they are the Army standard.  However, I don't know if they comply with the Americans with Disabilities Act.  Is it possible to create PDF forms that comply with the act?

Don't tell me they need a OBM number and impact statement too!

Hope not!  That said, we do have one person that is visually impaired at work, so being considerate of his needs would be a good idea.  I'm going to ask him to help out with this issue as he'll know what he needs best.


Modify setAccessMessageInMemoryMaxRatio location in BrokerStartup

Make sure set the target branch to develop
What is the purpose of the change
The judgement is always false,
if(BrokerRole.SLAVE == messageStoreConfig.getBrokerRole())
after
final MessageStoreConfig messageStoreConfig = new MessageStoreConfig()
Brief changelog
XX
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.01%) to 51.939% when pulling 1182d2c521baa3f28d69c6ae794b8fdafe803001 on lionhuo:develop into 7680063f89a2aa5ae003f5d19ebd3343e828b94f on apache:develop.

Coverage increased (+0.01%) to 51.939% when pulling 1182d2c521baa3f28d69c6ae794b8fdafe803001 on lionhuo:develop into 7680063f89a2aa5ae003f5d19ebd3343e828b94f on apache:develop.


Add code coverage reporting

ci: add GitHub Actions to Dependabot
docs: add badges to README.md
ci: add code coverage reporting

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6f47057). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #26   +/-   ##
=========================================
  Coverage          ?   47.05%
=========================================
  Files             ?        7
  Lines             ?       85
  Branches          ?        0
=========================================
  Hits              ?       40
  Misses            ?       38
  Partials          ?        7

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6f47057). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #26   +/-   ##
=========================================
  Coverage          ?   47.05%
=========================================
  Files             ?        7
  Lines             ?       85
  Branches          ?        0
=========================================
  Hits              ?       40
  Misses            ?       38
  Partials          ?        7


Rename repo

For consistency, probably using DSS-Python would be better.
The original name was dss_python in case we needed to use the Python module name as dss_python. But, unfortunately, the underline is converted to hyphen when used in the Python package for PyPI.
Since GitHub redirects the repo, it should be fine, but ideally we should do it at once when updated all docs/links.

Done, let's see what breaks (expecting GitHub Pages)


Add unit tests to spring security pac4j

This pull request is sample of unit test cases that we plan to contribute in order to raise the overall coverage to 80%. Code coverage is measured using Intellij Idea. This pull request increases code coverage of library from 0% to 25%.

Metric
Before
After

Coverage %
0%
25%

Lines Covered
0
37

Total Lines
146
146

Please let me know if you have any questions.
Mohd Farid
DevFactory - Code Quality Team

Great! I have a few small comments to address before the merge.

Hi @leleuj
I have made the suggested changes. Please review it again.

Perfect. Let's merge.


Investigation: Allow HEDA Relationship Reciprocal Settings to use hed__Gender__c

Power of US Idea owner: Tom Neuburger
Power of US Idea
Idea: Allow HEDA Relationship Reciprocal Settings to use hed__Gender__c
Investigation is needed
User is stating that even when a Gender is known that HEDA's Reciprocal Relationship Settings are overriding the Type value with the gender neutral value. Example provided by user: This is particularly problematic when HEDA chooses "Siblings's Child" instead of Niece/ Nephew, or "Parent's Sibling" instead of Aunt/Uncle.
Note:
The steps below were captured by Jace in order to identify cause as well as to validate Idea request. There were a few things I came across that need to be investigated further by David Ray to ensure accuracy in attempting to recreate issue identified by Tom vs. expected outcome of HEDA Reciprocal Settings.
Create Relationship: Jane Doe (Aunt) to John Doe

Jane Doe does not have a salutation assigned on the Contact record
Jane Doe is gender neutral on the Contact record
Create a relationship between Jane Doe and John Doe (from John's Contact record) identifying Jane as the Aunt to John Doe
From Jane Doe's Contact record the Related Contact for John Doe shows a Type value of “Sibling’s Child”
From John Doe's Contact record the Related Contact for Jane Does shows a Type value of "Aunt"

Create Relationship: Jimmy Doe (Uncle) to John Doe

Jimmy Doe does not have a salutation assigned on the Contact record
Jimmy Doe is gender neutral on the Contact record
Create a relationship between Jimmy Doe and John Doe (from John's Contact record) identifying Jimmy as the Uncle to John Doe
From Jimmy Doe's Contact record the Related Contact for John Doe shows a Type value of "Sibling's Child"
From John Doe's Contact record the Related Contact for Jimmy Doe shows a Type value of "Uncle"

Assign a Gender value after Relationship has been created between 2 non-gender Contacts (INVESTIGATE)

Update the gender to “Female” for Jane Doe and refresh John Doe’s Contact record and the Type value of “Aunt” has been replaced with “Sibling’s Child”
Update the gender to “Male” for Jimmy Doe and refresh John Doe's Contact record and the Type value of “Uncle” has been replaced with “Sibling’s Child”

Create Relationship: Jenny Doe (Aunt) to John Doe (INVESTIGATE)

Jenny Doe was created with a salutation value of “Prof"
Jenny Doe was assigned the value of “Female” for gender
Create a relationship between Jenny Doe and John Doe (from John's Contact record) identifying Jenny as the Aunt to John Doe
From John Doe's Contact record the Related Contact for Jenny Doe shows a Type value of "Aunt"
Notice that because Gender was set before the relationship was established the Type value of "Aunt" stayed and did not update to "Sibling's Child" like it did for Jane Doe and Jimmy Doe.
From Jenny Doe's Contact record the Related List for John Doe shows a Type value of “Sibling’s Child”

Assign Gender value to John Doe (INVESTIGATE)
When I set the Gender value of "Male" for John Doe's Contact record then the following occurs...

John Doe's Type value changed from "Sibling's Child" to "Nephew" on both Jenny's and John's Contact Records.
No change in Type value for the John Doe's relationships with Jane Doe and Jimmy Doe. Type values still show "Sibling's Child"

**lurch: add

Tracking W-018184

Included in beta release 1.36 (Beta 3)

Included in production release rel/1.36


Remove the ability to pass a scale parameter in the (optional) args object parameter of PDFViewerApplication.open(file, args)

Since the very early days of the viewer, it's been possible to pass in a scale when opening a PDF file. However, most of the time it was/is actually being ignored, which limits its usefulness considerably.
In older versions of the viewer, if a document hash was present (i.e. PDFViewerApplication.initialBookmark being set) or if the document existed in the ViewHistory, the scale passed to PDFViewerApplication.open would thus always be ignored.
In addition to the above, in the current viewer there's even more cases where the scale parameter will be ignored: if a (valid) browser history entry exists on document load, or if the defaultZoomValue preference is set to a non-default value.
Hence the result is that in most situation, a scale passed to PDFViewerApplication.open will be completely ignored.
A much better, not to mention supported, way of setting the initial scale is by using the defaultZoomLevel preference. In comparision, this also has the advantage of being used in situations where the scale would be ignored.
All in all this leads to the current situation where we have code which is essentially dead, since no part of the viewer (by default) relies on it.
To clean up this code, and to avoid having to pass (basically) unused parameters around, I'd thus like to remove the ability to pass a scale to PDFViewerApplication.open.

/botio-linux preview

I agree completely with the reasoning here. Thank you for cleaning this up!


OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'warpAffine'

With recent comfyui commits :
Error occurred when executing CropFaces:

OpenCV(4.7.0) :-1: error: (-5:Bad argument) in function 'warpAffine'
> Overload resolution failed:
>  - src data type = 23 is not supported
>  - Expected Ptr for argument 'src'

  File "/media/comfyui/ComfyUI/execution.py", line 151, in recursive_execute
    output_data, output_ui = get_output_data(obj, input_data_all)
  File "/media/comfyui/ComfyUI/execution.py", line 81, in get_output_data
    return_values = map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True)
  File "/media/comfyui/ComfyUI/execution.py", line 74, in map_node_over_list
    results.append(getattr(obj, func)(**slice_dict(input_data_all, i)))
  File "/media/comfyui/ComfyUI/custom_nodes/comfyui_facetools/nodes.py", line 135, in run
    M, crop = face.crop(crop_size, crop_factor)
  File "/media/comfyui/ComfyUI/custom_nodes/comfyui_facetools/utils.py", line 97, in crop
    crop = cv2.warpAffine(self.img.numpy(), N, (size, size))

it's the latest updates of VHS load image from path, not facetools.


[BUG] MT4 to USB MIDI 1.0 message conversion issue.

Describe the bug
MT4 messages sent to USB MIDI 1.0 devices that work with the USB MIDI 2.0 driver have several message conversion issues.

Note On/Off velocity value is always zero.

RPN/NRPN Data Entry value converted to 14bits value is incorrect.

To Reproduce

Set the Roland UM-ONE mk2 to class-compliant mode and short INPUPT and OUTPUT to loop back messages.
Attach the UM-ONE to PC.
Update the driver to the USB MIDI 2.0 driver (UsbMidi2.sys).
Open midi.exe in two windows.
From one, monitor UM-ONE.
From the other, send following messages to UM-ONE.

0x40804000 0x02000000
0x40904000 0xFFFF0000
0x40201357 0x55555555
0x40302468 0xCDCDCDCD

Verify received messages.

Installer Name or Version

Service: [interim preview build] Windows MIDI Services Developer Preview 6 1.0.24110.1753-x64.exe
Driver: Updated_USBMIDI2_<IP_ADDRESS>.zip (DP5)

Desktop (please complete the following information):

OS: Windows 11
OS Build: 26200.5001

Device information, if this is with an external MIDI device:

Device: Roland UM-ONE mk2 (Any USB MIDI 1.0 device)

Thank you for this test and report.

On this one, the MIDI 1.0 velocity will need to be 7 bits, not 8.
09 90 40 FF should actually be 09 90 40 7F
In either case, 00 is not correct, but it shouldn't be FF

In either case, 00 is not correct, but it shouldn't be FF

Yes, it was my miswriting.
Thank you.

Found a casting bug which caused the FFFF to become zero. Thanks.

Also: Velocity 0 for Note off (0x8) is valid. It's only the Note On message (0x9) where a 0 velocity in MIDI 2.0 protocol is translated to 1 when in MIDI 1.0 protocol.

Hmm, there is still something wrong with the translator.
First, I would like to make sure the expected result.
Following is the expected result based on my understanding.

Is this right?
If so, Note ON velocity and Data Entry seem not translated correctly.

I sent Test328.txt to verify.

Service: Windows.MIDI.Services.In-Box.Service.-.Developer.Preview.<IP_ADDRESS>94.2233-x64.exe
Driver: [interim preview build] 240713-USBMidi2-x86-TESTSIGNED.zip (DriverVer = 07/13/2024,<IP_ADDRESS>4)
OS: Windows 11 24H2 (OS Build 26100.1150)

Looking into this.

Verified this works with DP7.
Results sending Test328.txt to a MIDI 1.0 hardware loopback

Edit: Actually, that's the down-scaling of the 0x0200 velocity in the second MT4 word of the note off message, which also happens to be the example in the spec. "MIDI Velocity = 0x01: translates to 0x0200"

My apologies, the table I shared should be as below:


add "glBindVertexArray(vao)"

Maybe it's better to point out that we need bound "vao" for old usage, and in OpenGL > 4.5 with DSA we pass "vao" directly.

Thanks for bringing this to my attention, it's been fixed.


Implement Correct Date Conversion Across All Date Types fixes #154

Implement Correct Date Conversion Across All Date Types
fixes #154
Summary
The PR corrects date conversions across Date, Date32, DateTime, and DateTime64. Previously, milliseconds were incorrectly used for date conversion instead of days. This adjustment aligns with Avro's standard 'date' logical type representation that uses days.
In addition, the PR introduces the conversion logic to all date types where it was missing. This ensures consistency and data integrity, preventing potential errors due to datatype mismatch.
Your feedback is appreciated.
Checklist
Delete items not relevant to your PR:

[x] Unit and integration tests covering the common scenarios were added
[ ] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@mzitnik Does this replicate that other PR that was submitted before (#151 ) ? In other words, does the latest release already incorporate a date bug fix?
If so, we should probably close as duplicated.

It appears that the DateTime64 and Date32 issues were addressed in #151. However, Date and DateTime data types still have a similar issue. Furthermore, it appears that seconds were used instead of milliseconds for the Date32 type.
I thought it would be helpful to mention this for clarity. :) Thank you!

@raphala Did you updated it with my latest PR

@raphala Did you updated it with my latest PR Can you also apply some tests to verify

Yes, I actually borrowed some of your changes in #151 for parts of the code.
About adding tests, I'm gonna try to get to it when I can. I'll keep you posted!

@mzitnik I've included the tests, building on the existing date testing infrastructure. Please have a look.

@raphala thanks for the contribution.


Remove setproctitle

pkill -f uploader to stop a process no longer works

An alternative is to launch Python processes the same way we launch the other processes: https://github.com/commaai/openpilot/blob/6552d4ecb87211b91310ca5d7a7bcb918df36021/system/manager/process.py#L50


fonts are not loaded via asset

AssetBundle only adds css to result page. Fonts are not loaded, so icons doesn't work.
one way to avoid this problem - is to copy fonts to web dir, and make own css with fonts description.
Yii2 doesn't allow publish any files except css and js via assets mechanism, so, it's necessary to find a way to publish this files.

is possible to solve this?

@alexgivi @mirkhamidov show your app configuration

@rmrevin I just added as dependency to main AppAaset

@mirkhamidov  Good. But I do not know how your assets are published. Open the debug panel of your browser and see where the font files are trying to load. If the location is incorrect, try to find the cause in the configuration of your web directory and assetManager component.

font is loaded by browser, but on page i see

maybe it's wrong font files... why don't you use https://github.com/FortAwesome/Font-Awesome repo as required dependency of your repo?

interesting, that FAS is working correct. FAR and FAL - icons doesn't show.

@alexgivi @mirkhamidov , guys you are probably mixing CSS rules. Be sure not to duplicate Fontawesome in your old style sheets. @rmrevin vendor works fine for me.

Can't reproduce bug.


xshell 6 solarized dark theme

Does any one had a xhell 6 solarized dark config file?
i use this config:
[Solarized Dark]
text(bold)=839496
magenta(bold)=6c71c4
text=839496
white(bold)=fdf6e3
green=859900
red(bold)=cb4b16
green(bold)=586e75
black(bold)=073642
red=dc322f
blue=268bd2
black=002b36
blue(bold)=839496
yellow(bold)=657b83
cyan(bold)=93a1a1
yellow=b58900
magenta=dd3682
background=042028
white=eee8d5
cyan=2aa198
[Names]
count=1
name0=Solarized Dark

but seems dosn't work well...

i use let g:solarized_termtrans=1 and works well...


Clarify that gene/transcript IDs are Ensembl IDs

Genes and transcripts currently have generically named ID fields gene_id and transcript_id. ensembl_gene_id and ensembl_transcript_id fields should be added to clarify that these are Ensembl genes/transcripts.

We want to be able to use the same GraphQL types for both Ensembl and RefSeq genes/transcripts.
Genes should have both ensembl_id and refseq_id fields. The generic gene_id should reflect whichever type is requested.
Transcripts can have just the generic transcript_id field, which would be either Ensembl or RefSeq based on which type was requested.


Cow

Dealing with nested Cows is very difficult, and something like Into<Cow<'a, [Cow<'a, [InlineKeyboardButton]>]>> is very difficult to understand and maintain. We'd better just clone data, it's not the performance bottleneck.


support reserved words in validation and filters

When a reserved word is detected the user is warned during IDL validation.
The filters will replace the var name with name_ to ensure there are no naming conflicts.
In the beginning we start with a global list of reserved words (.e.g int, switch, for, ...)

Add a test case api with all reserved words and ensure all templates compile fine.


Review UI components

Accordion
Alert
Avatar
Badge
Browse
Button
Card
Confirm
DataTable
Divider
Dropdown
Form (and their components)
Grid
Icon
Modal
Page (should be removed)
Pagination
Spacer
Spinner
Stack
Stepper
Table (should be removed)
Tabs
Toast
Tooltip
Typography (should be removed)


Global variables for lambda functions

Is this related to a new or existing Amplify category?
function
Is this related to another service?
Lambda function
Describe the feature you'd like to request
Cloudformation has https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-specification-template-anatomy-globals.html where you can define environment variables for ALL your functions rather than having to attach them to the individual functions one-by-one
Describe the solution you'd like
We should be able to configure a globals as well.
Describe alternatives you've considered
None.
Additional context
No response
Is this something that you'd be interested in working on?

[ ] 👋 I may be able to implement this feature request
[ ] ⚠ This feature might incur a breaking change

I created the ticket #9456, and recently ran into this problem as I have numerous lambda functions utilizing the same parmaters. Its super redundant when these keys need to be updated when they cannot be shared globally.


Test miri on CI

Last time I tried miri I had to disable a few tests:

test_lots_of_insertions (takes too long)
test_index_nonexistent (#[should_panic] doesn't work in miri)
test_entry_take_doesnt_corrupt (uses random numbers)
test_try_reserve (tries to allocate too much memory)

@Amanieu

test_entry_take_doesnt_corrupt (uses random numbers)

I fixed this one, but I had to disable the #[should_panic] one. I was waiting for all tests to pass before committing, but miri is indeed stuck on test_lots_of_insertions, so I'll disable that one too.

Rust 1.29 error:
error[E0658]: access to extern crates through prelude is experimental (see issue #44660)
    --> src/map.rs:3272:13
     |
3272 |             rand::rngs::SmallRng::from_seed(seed)
     |             ^^^^

CI is green, i've squashed everything.

bors r+


DataApiBuilderException: Cannot obtain Schema for entity with underlying database object source: due to: Connection Timeout Expired.

What happened?
Single Web Aapp - hosted Blazor WASM
DAB - hosted on Container App - one container, one single revision.

Everything connected and setup, scaled to 1 revision running.

Wait some time until scaled back to 0 - no traffic.

Make call from SWA - revision failed to scale to 1 - timeout error.

After next few calls from SWA, revision scaled to 1 and response received.

Version
0.10.21
What database are you using?
Azure SQL
What hosting model are you using?
Container Apps
Which API approach are you accessing DAB through?
REST
Relevant log output
[41m[30mfail[39m[22m[49m: Azure.DataApiBuilder.Service.Startup[0]
12.04.2024, 12:49:51.964
Unable to complete runtime initialization. Refer to exception for error details.
12.04.2024, 12:49:51.964
Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Cannot obtain Schema for entity Customer with underlying database object source: SalesLT.Customer due to: Connection Timeout Expired. The timeout period elapsed during the post-login phase. The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections. The duration spent while attempting to connect to this server was - [Pre-Login] initialization=114; handshake=575; [Login] initialization=1; authentication=6; [Post-Login] complete=14231;
12.04.2024, 12:49:51.964
at Azure.DataApiBuilder.Core.Services.SqlMetadataProvider`3.HandleOrRecordException(Exception e) in /src/src/Core/Services/MetadataProviders/SqlMetadataProvider.cs:line 90
12.04.2024, 12:49:51.964
at Azure.DataApiBuilder.Core.Services.SqlMetadataProvider`3.PopulateObjectDefinitionForEntities() in /src/src/Core/Services/MetadataProviders/SqlMetadataProvider.cs:line 919
12.04.2024, 12:49:51.964
at Azure.DataApiBuilder.Core.Services.SqlMetadataProvider`3.InitializeAsync() in /src/src/Core/Services/MetadataProviders/SqlMetadataProvider.cs:line 273
12.04.2024, 12:49:51.964
at Azure.DataApiBuilder.Core.Services.MetadataProviders.MetadataProviderFactory.InitializeAsync() in /src/src/Core/Services/MetadataProviders/MetadataProviderFactory.cs:line 64
12.04.2024, 12:49:51.964
at Azure.DataApiBuilder.Service.Startup.PerformOnConfigChangeAsync(IApplicationBuilder app) in /src/src/Service/Startup.cs:line 599
12.04.2024, 12:49:51.964
[41m[30mfail[39m[22m[49m: Azure.DataApiBuilder.Service.Startup[0]
12.04.2024, 12:49:51.964
Could not initialize the engine with the runtime config file: ./swa-db-connections/dab.config.json
12.04.2024, 12:49:51.964
[40m[32minfo[39m[22m[49m: Microsoft.Hosting.Lifetime[0]
12.04.2024, 12:49:51.964
Application is shutting down...

Code of Conduct

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

Some other timeout.
fail: Azure.DataApiBuilder.Core.Resolvers.IQueryExecutor[0]
      2b3adbf5-2e11-4a9e-9d05-226968ad4824 Query execution error due to:
      Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=282; handshake=193; [Login] initialization=0; authentication=0; [Post-Login] complete=29432;
      Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=282; handshake=193; [Login] initialization=0; authentication=0; [Post-Login] complete=29432;
       ---> System.ComponentModel.Win32Exception (258): Unknown error 258
         at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
         at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
         at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
         at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
         at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
      --- End of stack trace from previous location ---
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.ExecuteQueryAgainstDbAsync[TResult](TConnection conn, String sqltext, IDictionary`2 parameters, Func`3 dataReaderHandler, HttpContext httpContext, String dataSourceName, List`1 args) in /src/src/Core/Resolvers/QueryExecutor.cs:line 155
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.<>c__DisplayClass19_0`1.<<ExecuteQueryAsync>b__0>d.MoveNext() in /src/src/Core/Resolvers/QueryExecutor.cs:line 102
      ClientConnectionId:0a714fa6-f6f3-4c4d-996d-b9f023ce5a0c
      Error Number:-2,State:0,Class:11
fail: Azure.DataApiBuilder.Service.Controllers.RestController[0]
      2b3adbf5-2e11-4a9e-9d05-226968ad4824 Error handling REST request.
      Azure.DataApiBuilder.Service.Exceptions.DataApiBuilderException: Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=282; handshake=193; [Login] initialization=0; authentication=0; [Post-Login] complete=29432;
       ---> Microsoft.Data.SqlClient.SqlException (0x80131904): Connection Timeout Expired.  The timeout period elapsed during the post-login phase.  The connection could have timed out while waiting for server to complete the login process and respond; Or it could have timed out while attempting to create multiple active connections.  The duration spent while attempting to connect to this server was - [Pre-Login] initialization=282; handshake=193; [Login] initialization=0; authentication=0; [Post-Login] complete=29432;
       ---> System.ComponentModel.Win32Exception (258): Unknown error 258
         at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
         at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
         at Microsoft.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
         at Microsoft.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.CompleteLogin(Boolean enlistOK)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
         at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.WaitForPendingOpen()
      --- End of stack trace from previous location ---
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.ExecuteQueryAgainstDbAsync[TResult](TConnection conn, String sqltext, IDictionary`2 parameters, Func`3 dataReaderHandler, HttpContext httpContext, String dataSourceName, List`1 args) in /src/src/Core/Resolvers/QueryExecutor.cs:line 155
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.<>c__DisplayClass19_0`1.<<ExecuteQueryAsync>b__0>d.MoveNext() in /src/src/Core/Resolvers/QueryExecutor.cs:line 102
      ClientConnectionId:0a714fa6-f6f3-4c4d-996d-b9f023ce5a0c
      Error Number:-2,State:0,Class:11
         --- End of inner exception stack trace ---
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.<>c__DisplayClass19_0`1.<<ExecuteQueryAsync>b__0>d.MoveNext() in /src/src/Core/Resolvers/QueryExecutor.cs:line 129
      --- End of stack trace from previous location ---
         at Polly.Retry.AsyncRetryEngine.ImplementationAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, ExceptionPredicates shouldRetryExceptionPredicates, ResultPredicates`1 shouldRetryResultPredicates, Func`5 onRetryAsync, Int32 permittedRetryCount, IEnumerable`1 sleepDurationsEnumerable, Func`4 sleepDurationProvider, Boolean continueOnCapturedContext)
         at Polly.AsyncPolicy.ExecuteAsync[TResult](Func`3 action, Context context, CancellationToken cancellationToken, Boolean continueOnCapturedContext)
         at Azure.DataApiBuilder.Core.Resolvers.QueryExecutor`1.ExecuteQueryAsync[TResult](String sqltext, IDictionary`2 parameters, Func`3 dataReaderHandler, HttpContext httpContext, List`1 args, String dataSourceName) in /src/src/Core/Resolvers/QueryExecutor.cs:line 90
         at Azure.DataApiBuilder.Core.Resolvers.SqlQueryEngine.ExecuteAsync(SqlQueryStructure structure, String dataSourceName) in /src/src/Core/Resolvers/SqlQueryEngine.cs:line 228
         at Azure.DataApiBuilder.Core.Resolvers.SqlQueryEngine.ExecuteAsync(FindRequestContext context) in /src/src/Core/Resolvers/SqlQueryEngine.cs:line 150
         at Azure.DataApiBuilder.Core.Services.RestService.DispatchQuery(RestRequestContext context, DatabaseType databaseType) in /src/src/Core/Services/RestService.cs:line 219
         at Azure.DataApiBuilder.Core.Services.RestService.ExecuteAsync(String entityName, EntityActionOperation operationType, String primaryKeyRoute) in /src/src/Core/Services/RestService.cs:line 195
         at Azure.DataApiBuilder.Service.Controllers.RestController.HandleOperation(String route, EntityActionOperation operationType) in /src/src/Service/Controllers/RestController.cs:line 214