[error]dlopen failed trying to load: steamclient.so with error: steamclient.so: cannot open shared object file: No such file or directory

2023-01-04 14:13:27 � Log     �                                     �     ____             __      _____             __        _____
2023-01-04 14:13:27 � Log     �                                     �    / __ ____ / /   / /  __  / /   |_  /
2023-01-04 14:13:27 � Log     �                                     �   / / / / __ `/ / ///   _ / __ / / / / / /    / <
2023-01-04 14:13:27 � Log     �                                     �  / // / // / /  / ,<     / / // / // / (  )   / /
2023-01-04 14:13:27 � Log     �                                     � //_,//  //||   //_/_,///   //
2023-01-04 14:13:27 � Log     �                                     �   / __ _  ___  ____     / /  ______   _____  _____
2023-01-04 14:13:27 � Log     �                                     �  / / / / __ / _ / __ \    __ / _ / / | / / _ / /
2023-01-04 14:13:27 � Log     �                                     � / // / // /  _/ / / /   / /  / /   | |/ /  / /
2023-01-04 14:13:27 � Log     �                                     � _/ ./_// //   //___//    |/_//
2023-01-04 14:13:27 � Log     �                                     �     //
2023-01-04 14:13:27 � Log     �                                     �
2023-01-04 14:13:27 � Log     �                                     � https://github.com/tleonarduk/ds3os
2023-01-04 14:13:27 � Log     �                                     �
dlopen failed trying to load:
steamclient.so
with error:
steamclient.so: cannot open shared object file: No such file or directory
[S_API] SteamAPI_Init(): Loaded '/root/.steam/sdk64/steamclient.so' OK.  (First tried local 'steamclient.so')
CAppInfoCacheReadFromDiskThread took 31 milliseconds to initialize
Setting breakpad minidump AppID = 374320
2023-01-04 14:13:27 � Log     �                                     � Initializing server ...
2023-01-04 14:13:27 � Log     �                                     � Loaded rsa key pair successfully.
2023-01-04 14:13:27 � Log     �                                     � Public ip address: <IP_ADDRESS>
2023-01-04 14:13:27 � Log     �                                     � Private ip address: <IP_ADDRESS>
2023-01-04 14:13:27 � Log     �                                     � Opened sqlite database succesfully.
2023-01-04 14:13:27 � Log     �                                     � Login service is now listening on port 50050.
2023-01-04 14:13:27 � Log     �                                     � Auth service is now listening on port 50000.
2023-01-04 14:13:27 � Log     �                                     � Game service is now listening on port 50010.
2023-01-04 14:13:27 � Log     �                                     � Trimming database entries.
2023-01-04 14:13:27 � Log     �                                     � WebUI service is now listening at http://localhost:50005/
2023-01-04 14:13:27 � Log     �                                     � Blood Messages           : Enabled
2023-01-04 14:13:27 � Log     �                                     � Blood Stains             : Enabled
2023-01-04 14:13:27 � Log     �                                     � Blood Ghosts             : Enabled
2023-01-04 14:13:27 � Log     �                                     � Invasions (Auto Summon)  : Enabled
2023-01-04 14:13:27 � Log     �                                     � Invasions                : Enabled
2023-01-04 14:13:27 � Log     �                                     � Coop (Auto Summon)       : Enabled
2023-01-04 14:13:27 � Log     �                                     � Coop                     : Enabled
2023-01-04 14:13:27 � Success �                                     � Server is now running.
http://<IP_ADDRESS>:50005/2023-01-04 14:19:22 � Log     � WebUI                               � User has logged in to webui.
^C2023-01-04 14:29:08 � Warning �                                     � Quit signal recieved, starting shutdown.
2023-01-04 14:29:08 � Log     �                                     � Terminating server ...
2023-01-04 14:29:08 � Log     �                                     � Canceling advertisement on master server.

I built the server on a ubuntu22.10 virtual machine

Thats not an error, it part of the steam-api, you can see on the next line it immediately trys and succeeds to load the dll from another location.
Nothing I can do about this, its just steam-api logging.


Workspaces?

Hello,
Thanks for sharing your idea and implementation.
Just curious on how one can simulate workspaces when using no-wm?
Thanks

Workspaces are just groups of windows that are mapped.
So you just need to write a script to handle adding/removing a group, and adding/removing windows to that group.

Thanks


Improve the default templates (at least the cpp template)

Which branch your pull-request should merge into?

dev: Current 2.x BugFixs or Features

Describe your changes
see #1493 and diff
Issue ticket number and link
#1493
Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[x] I have checked readme and add important infos to this PR (if it needed).
[ ] I have added/adapted some tests too.

@halx99 ,
Merging this PR can be the startpoint for a one template for Lua/CPP

To me this PR make sense, but the name CPPTemplate is horrible to me. You put CPPTemplate everywhere.
Other problem is that changing only this package/bundle dont work, because org.axmol.hellocpp is replaced in other places in axproj-template.json.

To me this PR make sense, but the name CPPTemplate is horrible to me. You put CPPTemplate everywhere.
Other problem is that changing only this package/bundle dont work, because org.axmol.hellocpp is replaced in other places in axproj-template.json.
Between CPPTemplate and hellocpp i prefer hellocpp.
Other thing is that you need follow the cases where it is lowecase and uppercase.

Why is 'hellocpp' better?

@aismann As @paulocoutinhox mentioned in his post, the "HelloCpp" is used as a placeholder that is replaced when a new Asxmol project is created.  If you're going to update the name of the project to "CPPTemplate", then you must also change this file to make sure it can look up the correct string for replacement:
https://github.com/axmolengine/axmol/blob/dev/templates/cpp-template-default/axproj-template.json

And if you want to change HelloCpp, I suggest you use a better and more definitive name then, like "AxmolCpp". Something that doesn't look like a hello world or template. I think it's strange to have something written "template" in my project right away.

Also, you need do a simple search in axmol source code, there is other places with bundle

And if you want to change HelloCpp, I suggest you use a better and more definitive name then, like "AxmolCpp". Something that doesn't look like a hello world or template. I think it's strange to have something written "template" in my project right away.

Please avoid using the word "Axmol" in the project name, or anything that needs to be replaced, as it makes it more difficult to search for that string, since so much has "Axmol" in it already.

And if you want to change HelloCpp, I suggest you use a better and more definitive name then, like "AxmolCpp". Something that doesn't look like a hello world or template. I think it's strange to have something written "template" in my project right away.

'CPPTemplate/HelloCpp' will be replaced on axmol new...
'CPPTemplate/HelloCpp' are only placeholders and will add cpp-template-default into project(axmol) for tmp test on e.g.: VSStudio.

Cannot be "CppProject", "MyProject", "MyApp", "CppApp", something more beautiful?

Cannot be "CppProject", "MyProject", "MyApp", "CppApp", something more beautiful?

No.

The problem is that you are changing everything for CPP, you need do like me on latests PR, that is change for BOTH templates.
You changing all for this, but lua template follow the same pattern, ex: HelloLua, org.axmol.hellolua.
The more you keep messing with it, the harder it is to maintain two templates. I've already spent a lot of time adjusting both projects and now you're going to make them different again.

And if you want to change HelloCpp, I suggest you use a better and more definitive name then, like "AxmolCpp". Something that doesn't look like a hello world or template. I think it's strange to have something written "template" in my project right away.

Please avoid using the word "Axmol" in the project name, or anything that needs to be replaced, as it makes it more difficult to search for that string, since so much has "Axmol" in it already.
In fact, there is nothing wrong with HelloCpp at all. It's a placeholder, and as such, it is always going to be replaced by the developer, so all it needs to be is unique enough to notice, and easy enough to search for.
Also, has anyone ever actually logged an issue related to "HelloCpp", and I don't mean an issue related to personal preference, but a specific concern or technical issue about its usage? If not, then perhaps putting much focus on changing it is of no real benefit to developers using Axmol.

The problem is that you are changing everything for CPP, you need do like me on latests PR, that is change for BOTH templates.
You changing all for this, but lua template follow the same pattern, ex: HelloLua, org.axmol.hellolua.
The more you keep messing with it, the harder it is to maintain two templates. I've already spent a lot of time adjusting both projects and now you're going to make them different again.

The problem is that you are changing everything for CPP, you need do like me on latests PR, that is change for BOTH templates.
You changing all for this, but lua template follow the same pattern, ex: HelloLua, org.axmol.hellolua.
The more you keep messing with it, the harder it is to maintain two templates. I've already spent a lot of time adjusting both projects and now you're going to make them different again.

The problem is that you are changing everything for CPP, you need do like me on latests PR, that is change for BOTH templates.
You changing all for this, but lua template follow the same pattern, ex: HelloLua, org.axmol.hellolua.
The more you keep messing with it, the harder it is to maintain two templates. I've already spent a lot of time adjusting both projects and now you're going to make them different again.

Sorry. you should not using axmol which is contininus improving ;)

Sorry. you should not using axmol which is contininus improving ;)

Improvements to Axmol are great, but, in order for developers to use Axmol, it needs to be relatively stable, in terms of frequency of changes, or the impact that the changes have.  Stating that a developer should not be using Axmol, because it's continuously improving is actually a negative, not a positive, and perhaps a little inappropriate too, don't you think?

Sorry. you should not using axmol which is contininus improving ;)

Improvements to Axmol are great, but, in order for developers to use Axmol, it needs to be relatively stable, in terms of frequency of changes, and the impact that the changes have. Stating that a developer should not be using Axmol, because it's continuously improving is actually a negative, not a positive, and perhaps a little inappropriate too, don't you think?

No I think not. Everybody can use own projects which was created before whithout an effect there.
A new template is part of the improvement of axmol. A sentence like I've already spent a lot of time adjusting both projects and now you're going to make them different again is funny

@halx99
Im finished, Can be merged.

Ok. I see neverone understand what 'HelloCpp' realy is:
Its not an one project!
Its always using the sources of cpp-default-template.
So CPPTemplate i more correct.
Btw  changing anything on 'HelloCpp' was always changing the cpp-default-template content not a 'HelloCpp' stuff.

I perfer HelloCpp, a real project name can be build & test

From: aismann @.>
Sent: Sunday, December 10, 2023 9:19:22 PM
To: axmolengine/axmol @.>
Cc: Deal @.>; Mention @.>
Subject: Re: [axmolengine/axmol] Improve the default templates (at least the cpp template) (PR #1494)
@halx99https://github.com/halx99
Im finished, Can be merged.
—
Reply to this email directly, view it on GitHubhttps://github.com/axmolengine/axmol/pull/1494#issuecomment-1848963681, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ABVHOJ2UKBRXQX4IK2AHXW3YIWZFVAVCNFSM6AAAAABAOGDWZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNBYHE3DGNRYGE.
You are receiving this because you were mentioned.Message ID: @.***>

HelloCpp lets developer meaning thats an own project  and not the template itself.
HelloCpp should never used as a full project.
See the comment on CMakeList too:
add cpp-template-default into project(axmol) for tmp test

@aismann I'm sure everyone understands that it is just a temporary project name for the template and nothing more.  There is no need to force the issue.
There are a number of items in this PR that are actual good to change, such as the HelloWorldScene change to MainScene etc., so best to enable them to be merged in sooner rather than later by limiting this PR to only those useful changes for now.
The project name change can be given more consideration, and can always be changed in a future PR if the need arises.

Should be ready for merge now


mpv: Add to path instead of shimming & Use sourceforge checkver

See #9662

[x] I have read the Contributing Guide.

/verify

Hash extraction fix: https://github.com/ScoopInstaller/Scoop/pull/5189

/verify

Merged with #9662


Searchable Dropdown: Not working in release mode

It's working fine is debugging mode but when i try to run in release mode the search value seem to be not working

It's working fine is debugging mode but when i try to run in release mode the search value seem to be not working

Ohh i found the solution :
i currently use DropdownButton2 with Model (Not a String)
so in the : searchMatchFn return
(item.value.[YOUR SEARCH VALUE]
.toString()
.toLowerCase()
.contains(searchValue.toLowerCase()))

I have done same and debug as well , working  while debugging but not working in release mode


Handle leading slashes in the directory field in MUD config

Related comment here.

closing for now as I think this is resolved or has changed enough that it's prob not relevant


Added reference video on conference speaking

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks! I updated my reference per your corrections.


Typo in equinoctial elements documentation

https://github.com/poliastro/poliastro/blob/d8ff14980ff2b2bd6790aa6eb709a521f2a52daa/src/poliastro/core/elements.py#L390-L391

Hello Juan, I am Abdallah Salia, I am new to the poliastro community and I would like to resolve this issue

Thanks @asalia-1 for this first contribution! Please don't hesitate to join our chat and ask around if you want to keep working in the project :tada:


Non-real-time execution support of Apollo

Hi Apollo team, thanks for making this awesome software!
I tried to run Apollo 5.0 with LGSVL in a non-real-time simulation mode. I found that the control module can not correctly control the car to follow the trajectory. I want to know is there any support to run Apollo along with a non-real-time simulation (slower than the real-time)? If not, can you give some instructions about how to change the clock function to support it?
System information

OS Platform and Distribution Linux 14.04 (inside the container):
Apollo installed from source and cloned from LGSVL repo https://github.com/lgsvl/apollo-5.0:
Apollo version 5.0:

Steps to reproduce the issue:
Modifications I made in Apollo:

Change the clock in all modules to be MOCK
Update the time based on the localization or GPS timestamp for all the modules
Change the related configuration in the control module: e.g., control period.

Supporting materials (screenshots, command lines, code/script snippets):
Observation: The planning result is correct based on the dreamview's visualization result. The control module can not follow the planning trajectory, especially the steering control is wrong.
Also, I can not find some detailed information about the control configuration. That could be helpful if you can tell me the details of the control configuration, fox example, control period.
Thanks for your time!

I am facing the same problem. Anyone can give some suggestions on this?

The control period can be easily changed in the config file for either lateral controller or longitudinal controller.
Take a look of source code of LGSVL about how steering cmd is parsed out and how they are actually applied to the simulation model. It might help the debugging.


BaseFileHelper::unlink() delete folder

I have a question if it normal behavior when method BaseFileHelper::unlink() don`t check existing file and clear whole directory instead?
How to reproduce?
Just put few files in some folder and try to run next command

DEL /F/Q "C:/YOUR_DIRECTORY/"

Additional info

Q
A

Yii version
2.0.14

PHP version
5.6

Operating system
Win 7x64

What would you expect?

Emmm false or someelse but not clearing directory with other files.
Maybe before deleting dir, check if it empty or not?

What is worst is you assume exec is available everywhere and you call it at https://github.com/yiisoft/yii2/blob/master/framework/helpers/BaseFileHelper.php#L419
I think the framework should never use these functions. Same goes for eval which now should be avoidable.

Well, that's last-last resort measure if anything else didn't work. That's know issue that this is the only way to remove a symlink in non-pro versions of Windows 10 but yes, that's a good idea to check availablity first.


Updating useConfigMap & customAgentConfig param desc

Updates the description of two parameters to make it more obvious that they need to be setup together

It also lint the README file to make it prettier

/ok-to-test

/lgtm
👍


Easy setting of endpoint

AS A user
I WANT to be able to easily provide the endpoint as configuration setting when creating a new file system. E.g.:
FileSystems.newFileSystem(myuri, Map.of(
    AWS_ACCESS_KEY_PROPERTY, "access-key",
    AWS_SECRET_ACCESS_KEY_PROPERTY, "secret-key",
    S3_SPI_ENDPOINT_PROTOCOL_PROPERTY, "http"
));

SO THAT I can not provide it in the URI
NOTES

Use S3NioSpiConfigurationBuilder. E.g. :

FileSystems.newFileSystem(myuri, new S3NioSpiConfigurationBuilder()
    .withAccessKey("access-key")
    .withSecretKey("secret-key")
    .withEndpointProtocol("http")
);

propery name: s3.spi.endpoint
no env var/sys prop overriding because not a good pattern with FileSystems where multiple instances of a file system can be created and are supposed to have their own env, while envvars and sysprops are global to the JVM.

Working on ti https://github.com/stefanofornari/aws-java-nio-spi-for-s3/tree/main%232

Implemented with commit #b3d95fe542cbad2ee24ae438819116c2538190cb and merged into main


Need to add links to templates in the Solutions Pages

For each of the toolboxes that is used in a template there should be a link to the template in the Esri Solution pages. Currently we link some of the templates to their AGOL templates. But these links can change as the old templates are dropped for newer versions and the links are broken.

OK. Zero updates to the solutions pages, meaning links are all broken. Can't find template pages if links are busted or are pointing to out-of-date AGOL portal items.
Pushing this back to next release.

Fixed today.


[Bug]: ConcatenateModules optimization affect on sourcemaps

System Info
System:
OS: Windows 10 10.0.19044
CPU: (8) x64 AMD Ryzen 7 5700G with Radeon Graphics
Memory: 8.30 GB / 19.52 GB
Binaries:
Node: 18.19.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.2.3 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (123.0.2420.97)
Internet Explorer: 11.0.19041.1566
npmPackages:
@rspack/cli: 0.6.5 => 0.6.5
@rspack/core: 0.6.5 => 0.6.5
@rspack/plugin-minify: 0.6.5 => 0.6.5
@rspack/plugin-react-refresh: 0.6.5 => 0.6.5
Details
When enabled "concatenateModules" optimization "sourcemaps" are broken
(offsets of original sourcemaps of concatenated js-modules are not recalculated).
When disabling this optimization, the sourcemaps are generated correctly (I checked it through the sourcemaps visualizer - https://sokra.github.io/source-map-visualization/#custom)
Reproduce link
No response
Reproduce Steps

In the source code where you can check the operation of the "concatenateModules" optimization, try to enable/disable this option, and make sure that in one case the "sourcemaps" are formed correctly, and in the other they are not (including the impossibility of setting a breakpoint)

Moreover, even if the "concatenation" is performed on one module (out of many existing ones), the source maps are broken for all subsequent code in the bundle.

Can you give me a reproduce repo ? I tried a easy demo seems fine here:

@mrakobes27 @JSerFeng Maybe fixed in https://github.com/web-infra-dev/rspack/issues/6793


[expat] Update the version to 2.2.9 (add support for uwp)

Update to 2.2.9

Add support for uwp
Supportfind_package()by expat-config.cmake instead of Findexpat.cmake(Remove usage in ports/expat/usage)

Fix #3174,  #11840

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

/azp run

@NancyLi1013 @JackBoosY what needs to be done to get this merged? Anything I could help with? I would love to get expat v2.2.9, thanks.

/azp run

@ray42 we are trying to solve the baseline error, then we will handle this PR.

@JackBoosY Thank you.
@NancyLi1013 - let me know if there is anything I can help out with, thank you.

/azp run

/azp run

The same tests have been failing for quite a while. Are they expected to fail? If so, should we add them to ci.baseline.txt ?
If not, is there anything I can do to help push this along? Thank you for everything you're doing, I appreciate it a lot.

@ray42
Thanks for paying attention to this PR.
I will continue solving the regressions on this PR.
I will ask for your help if there is something need to be done from you.

/azp run

I also just want to thank anyone working on this. Keep up the good work 👍

It should work now.
@ray42
Could you please help review this PR?
Any suggestions are welcomed.

This seems like it should be merged; should we resolve conflicts and do so @NancyLi1013 ?

/azp run

Thank you @NancyLi1013 for all your hard work. Does it look like this can be merged now?

@ray42
Thanks for your kindly reminder.
It should be fine on my sides. But since these features are blocked by other ports.
I'm not sure if all features can work well now.

All features have finished testing.

skia[metal] failed on x64-windows and x64-windows-static. (Also failed on master branch)

poco[mariadb,postgresql,pdf] have passed on x64-windows.

poco[mysql]  failed on x64-windows. (Also failed on master branch)

poco[mariadb,postgresql] failed on x64-windows-static. (Also failed on master branch)

poco[pdf] has passed on x64-windows-static

exiv2[unicode,xmp] have passed on x86-windows and x64-windows-static.

gdal[mysql-libmariadb,libspatialite] have passed on x64-windows.

gdal[mysql-libmariadb,libspatialite] failed on x64-windows-static. (Also failed on master branch)

/azp run

/azp run

/azp run

The regression on x64-osx for itk is due to the following cause, which will be fixed in PR #11208.
Undefined symbols for architecture x86_64:
  "gdcm::Rescaler::SetMinMaxForPixelType(double, double)", referenced from:
      itk::GDCMImageIO::Write(void const*) in libITKIOGDCM-5.0.a(itkGDCMImageIO.cxx.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

@NancyLi1013 is this itk failure going to happen regardless, or should we wait for #11208 to be merged?

The itk failure will happen regardless, which has existed for long time . It seems that this issue appeared in this PR https://github.com/microsoft/vcpkg/pull/10767#issuecomment-629959205 for the first time and the failure code was removed from ci.baseline.txt in #11513. It appeared again in #https://github.com/microsoft/vcpkg/pull/12067#issuecomment-649738044 and https://github.com/microsoft/vcpkg/pull/12133.
It should not block this PR. But we can also wait for #11208 merged and then try to rerun this PR. There are also many changes in this PR. We may wait for all CI checks have passed.

/azp run

@NancyLi1013 what's going on with itk and cmake on windows, do you know?

@strega-nil
For the regressions caused by itk, I'm in investigation now.
For cmake, I don't know why it will fail.
I resolved the conflicts for wxwidgets just now. Let's wait for the new results.

/azp run

The regressions for itk have been fixed now.
But for cmake, I have no idea.
[503/504] cmd.exe /C "cd /D D:\buildtrees\cmake\x64-windows-dbg && D:\buildtrees\cmake\x64-windows-dbg\bin\cmake.exe -P cmake_install.cmake"
FAILED: CMakeFiles/install.util
cmd.exe /C "cd /D D:\buildtrees\cmake\x64-windows-dbg && D:\buildtrees\cmake\x64-windows-dbg\bin\cmake.exe -P cmake_install.cmake"
ninja: build stopped: subcommand failed.

@strega-nil
Thanks for your help to fix cmake issue.
I noticed that you updated cmake to 3.18.1 and also disable -DCMAKE_USE_SYSTEM_EXPAT=OFF.
I tried to install cmake 3.17.2 via  .\vcpkg.exe install cmake --overlay-ports=scripts/test_ports on my local on both master branch and expat branch, it failed with the same error, which is different from CI results.
The results from expat branch:
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(39): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(39): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(55): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(55): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(57): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(57): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(217): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(217): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\expet\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'

The results from master branch:
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(39): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(39): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(55): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(55): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(57): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(57): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(217): error C2672: 'cm::static_reference_cast': no matching overloaded function found
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Source\cmGeneratorExpressionParser.cxx(217): error C2783: 'T &cm::static_reference_cast(O &)': could not deduce template argument for '__formal'
F:\new\vcpkg\buildtrees\cmake\src\7fc4616c28-392dff6306.clean\Utilities\std\cmext/memory(19): note: see declaration of 'cm::static_reference_cast'

So I'm not sure if the regressions on CI are related with the changes in this PR. I also have a doubt that why you update cmake to 3.18.1?

@NancyLi1013 yeah, that was a thing that was broken in that version of CMake with the latest version of VC++.

@strega-nil thanks for your help.

Thanks to everyone, especially @NancyLi1013 , for the awesome work :)


Installer Ubuntu 20.04

failed: [fworch-srv] (item=libpq-dev) => changed=false
ansible_loop_var: item
cache_update_time:<PHONE_NUMBER>
cache_updated: false
item: libpq-dev
msg: |-
'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o "Dpkg::Options::=--force-confold"      install 'libpq-dev'' failed: E: Unable to correct problems, you have held broken packages.
rc: 100
stderr: |-
E: Unable to correct problems, you have held broken packages.
stderr_lines:
stdout: |-
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libpq-dev : Depends: libpq5 (= 12.9-0ubuntu<IP_ADDRESS>) but 14.2-1.pgdg20.04+1+b1 is to be installed

stdout_lines:

only occurs when pgadmin4 source are included in apt on target system - closing as rare case


Update Readme

Explain (1) how to iteratively build out cognition graphs using the central_config file, and (2) how to read those graphs--what the various colors and elements mean. Also, note Neuronpedia, to let people direct their search for circuitry.

Expanded readme, but adding an interpretability guide remains to be done.


Sorting and Searching in Data Structures and Algorithms.

Proposed title of article
Sorting and Searching in Data Structures and Algorithms.
Introduction paragraph (2-3 paragraphs):
Searching is the process of identifying a certain value location in a list of values  . It determines whether or not a search key exists in the data. It is the mathematical process of locating a certain object within a set of elements.  It can be performed on either an internal or external data structure.
Sorting on the other hand is the operation or technique of ordering and rearranging groups of data in a specified order. These two data structures algorithms are very crucial when it comes to issues of data manipulation. In this article, we shall deeply look at the various searching and sorting techniques.
Key takeaways:

Definitions
Various searching techniques and implementation
Various sorting techniques and implementation

References:
N/A

@Jairusonkundi
Good afternoon and thank you for submitting your topic suggestion.
Your topic form has been entered into our queue and should be reviewed (for approval) as soon as a content moderator is finished reviewing the ones in the queue before it.

👀
Is this similar to this topic #3039
?

I'm writing to  confirm that this topic is not similar to topic #3039.My
topic is searching and sorting in data structures while topic #3039 is on
searching and sorting in Matlab.
On Tue, Aug 3, 2021, 11:10 PM hectorkambow @.***> wrote:

👀
Is this similar to this topic #3039
https://github.com/section-engineering-education/engineering-education/issues/3039
?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/3057#issuecomment-892132043,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR7DWSXGWR7MMGFAWFTFQGTT3BEJ3ANCNFSM5BERXOWA
.
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&utm_campaign=notification-email
.

Thanks, @Jairusonkundi. Topic approved 🚀 Be sure to cover your outlined points in sufficient detail to provie value to our readers.


Huge jump in cpu/memory usage.

Updated to the latest version and my cpu went from 2% to 67% memory has increased too. Had to uninstall as I don’t have a cooling solution yet. Thought I’d flag it just incase.
Edit seems to be related to live view, I’ve reinstalled and disabled it for now and cpu  everything is back to normal.
I’m using the new outdoor cam, I don’t need live view I was just testing it as the plug-in updated. Perhaps this is normal.
Sorry for my lack of technical ability

Same here. I had to turn off the power to the pi.

Interesting. What configuration are you running? What version of homebridge? node? npm? To confirm, you updated and restarted homebridge and saw the increase in memory? Is it stable or does it drop?

Using homebridge 1.2.3 and node 14, the active memory decreased ~10MB (read: within error bars) between 3.5.18 and 3.6.1. The big difference in this release is that I'm now using the HTTP/2 TLS socket APIs instead of H1. But that's a function of Node primarily.

I'm using homebridge 1.2.3 on a pi4 2gb with node 14.15.0
As soon as I enabled the live view memory/cpu usage went crazy and stayed at 67-73%.
Turning it off didn't help return it to normal. Plugin had to be uninstalled and reinstalled to fix.
Plugin without liveview has been absolutely flawless, I just got curious.

Node.js Version	v14.15.0
Npm Version	v6.14.8
Homebridge 1.1.6

the re-install fixed the memory usage? After you did the update, did you restart homebridge?

yes, the Homebridge has been restarted.  The Pi also had to be restarted.  Then reinstall the plugin.  The same problem after a while.  Didn't reinstall the plugin.

oh you mean the cpu + ram didn't spike immediately, but grew after a period of time?

Yes exactly.  It ran for a few minutes and suddenly the homebridge was unreachable, not even via ssh

Oh. I think I misunderstood. You are using live view and found the cpu and memory go up. Is this correct? But under normal operation it doesn't?
Live view uses ffmpeg to transcode the stream and so requires a high amount of cpu and memory to transcode and encrypt to meet HomeKit camera requirements.
Can you confirm the use case you are finding this?
If you are finding the high cpu/memory when not in live view, can you tell me if you are using a higher thumbnail refresh rate? Or the standard 10min when armed?

Exactly. This was a live view specific situation.
If it’s normal behaviour then fine. But should it ramp up even when the
stream is exited?
On Mon, 16 Nov 2020 at 23:01, Colin Bendell<EMAIL_ADDRESS>wrote:

Oh. I think I misunderstood. You are using live view and found the cpu and
memory go up. Is this correct? But under normal operation it doesn't?
Live view uses ffmpeg to transcode the stream and so requires a high
amount of cpu and memory to transcode and encrypt to meet HomeKit camera
requirements.
Can you confirm the use case you are finding this?
If you are finding the high cpu/memory when not in live view, can you tell
me if you are using a higher thumbnail refresh rate? Or the standard 10min
when armed?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/colinbendell/homebridge-blink-for-home/issues/25#issuecomment-728381842,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANWINUR75IP2IUNNESOMFZDSQGVNZANCNFSM4TW36OLA
.

It might take a bit. But not long. Check the logs id it persists.

So for me the Pi is frozen twice in the default settings.  Before, all versions ran without problems.  I have now removed the plugin.

So for me the Pi is frozen twice in the default settings. Before, all versions ran without problems. I have now removed the plugin.

Same situation here. Since the last update to 3.6.1 with no config changes this happens.

same here:

I'm having the same issue and was able to get the CPU back down to normal levels by manually killing the ffmpeg process. From the behavior I noticed, it looks like ffmpeg starts when you click on a camera in the Home app for live view (even if you've disabled it) but it doesn't kill the ffmpeg process automatically once live view is exited.

Thanks. I probably need to add a watcher to make sure the SIGINT/SIGKILL is properly sent. (PRs are always welcome ;)

Is there something new? I have this problem too.

Tried this plugin today and seeing the same. CPU usage was around 4%, now it's around 50%. Could it be it's trying to stream the camera feeds in the background?

The root cause is that the single frame image is being looped in ffmpeg and this process isn't getting killed gracefully. I haven't had time yet to add a timeout mechanism to clean up these events. (Usually happens when you go into the camera and then to settings). I'm planning to come back to this in the next week or so.

The root cause is that the single frame image is being looped in ffmpeg and this process isn't getting killed gracefully. I haven't had time yet to add a timeout mechanism to clean up these events. (Usually happens when you go into the camera and then to settings). I'm planning to come back to this in the next week or so.

@colinbendell No worries. This is awesome. If I had time I could help as well.

I am also having the same issue.
 Like OP, whenever I restart the machine it gets within normal range but within 30 min the entire Pi is at 100% CPU and nearly 100% RAM. Reinstalls and reconfigurations did nothing.
Ultimately had to uninstall the plugin.
Let me know if I can provide further information to help you debug.

Same issue here, installed the plugin, when configured saw an increase to 100% of CPU Usage and 1.2 Gb or ram used by ffmpeg, I use a RPI 4 2Gb with node v12.20.0 and latest version of Homebridge.
I had to remove the plugin to get CPU and RAM to normal level, removing only the plugin configuration did not work.

Exactly the same issue for me too. CPU maxed out and the batteries in the camera got drained. Looks like a bug is keeping the live feed open

Exactly the same issue for me too. CPU maxed out and the batteries in the camera got drained. Looks like a bug is keeping the live feed open

Any update on this?

Yeah, Any update? Unable to use as CPU shoots to 97% and will not go down until FFMPEG zombie process are killed.

should be resolved in v3.7


Bug: Register existing loggers function should use module logging, not source logger

Expected Behaviour
I would expect that the logging levels for code in aws_lambda_powertools library can be adjusted independently of the main application code.
For example, if I explicitly configure the aws_lambda_powertools module to have an INFO level, I wouldn't get messages from the library higher than info, e.g.:
logging.getLogger('aws_lambda_powertools').setLevel(logging.INFO)
I would also expect the name attribute of the log messages to be the module, not the service name.
Current Behaviour
Currently the copy_config_to_registered_loggers uses the passed in source logger (the logger configured for the top level application) to log its own configuration messages, so if my source logger is set to DEBUG, I get a bunch of debug messages from this code:
 source_logger.debug(f"Logger {logger} reconfigured to use {source_handler}")
e.g.
{"level":"DEBUG","location":"_configure_logger:102","message":"Logger <Logger concurrent (WARNING)> reconfigured to use <StreamHandler <_io.FileIO name=6 mode='rb+' closefd=True> (NOTSET)>","timestamp":"2024-07-08T19:55:26.427-0400","service":"publisher","name":"publisher"}
{"level":"DEBUG","location":"_configure_logger:102","message":"Logger <Logger asyncio (WARNING)> reconfigured to use <StreamHandler <_io.FileIO name=6 mode='rb+' closefd=True> (NOTSET)>","timestamp":"2024-07-08T19:55:26.427-0400","service":"publisher","name":"publisher"}

This is problematic because:
a) I have no way to adjust the verbosity of this function short of setting my entire application log level
b) It shows the log messages as originating from my application and not from the powertools modules.
Ideally, the module should configure a regular Python logger and use that for its own internal logging.
Code snippet
See above

Possible Solution
No response
Steps to Reproduce
See above
Powertools for AWS Lambda (Python) version
latest
AWS Lambda function runtime
3.11
Packaging format used
PyPi
Debugging logs
No response

Hello @heitorlessa! Can you help with this when you get back from PTO?

@plondino thanks a lot for submitting it!
yup, I've changed to not-a-bug as IIRC this was intentional (a disagree & commit situation) back then from the community.

b) It shows the log messages as originating from my application and not from the powertools modules.

This was the original argument back then but it got lost in between calls and PRs. I agree ^ and it's a quick change that we can include this Thursday's release.

talked to @leandrodamascena, this will be this Thursday's release. We also publish alpha releases every morning (UTC)

Thanks for working on this @heitorlessa!
Closing as completed! #4793


support MarkDown

Will you support MarkDown in the future?

I recently started to implement MarkDown in the latest version here -> https://github.com/desjarlais/Notepad-Light/releases/tag/v<IP_ADDRESS>
If you have any feedback about how it is implemented, please let me know how I can improve it.

Chinese is not supported: Chinese characters will display garbled code, and an error will occur when selecting all characters.

Can you provide some repro steps?  I think the Chinese characters not working is a product of the textbox I'm using, which is not Unicode based, it is ASCII based and that problem should be for markdown as well as other file formats.

When the batch is not in the MarkDown state, the Chinese display of garbled code is the same when the ordinary text file is opened.
An error occurs whenever you select text.

Do you have an example markdown file you can provide so that I can test the repro?

The second line is Chinese. Let's see if you can display it normally. When I open it, the display is garbled.
README.md

I do repro that, I'll take a look and see what is going on, more than likely this is a bug somewhere in my app.

can you try the latest version and see if it still reproduces?
https://github.com/desjarlais/Notepad-Light/releases/tag/v<IP_ADDRESS>

Thank you for your reply. The problem has been solved.

I can give it a try

I've added the synchronization of the scrollbar as a new feature request here:
https://github.com/desjarlais/Notepad-Light/issues/20
I'm glad the character issue is resolved, thank you for reporting it.  I will close this issue out, but if you have any other requests or questions, open another new issue and I'll do what I can to help out.


How to pass value, from, gasPrice to the contract method call?

Overview
How to pass value, from, gasPrice to the contract method call?
The web3.js API do not seem to work for me.
        await splitterContractInstance.Split(
            firstStranger,
            secondStranger,
         {
             from    : samePerson ,
             value   : weiToSplit ,
             gasPrice: gasPriceWei
         });

This code works for my contract under truffle but I'm getting test failures under embark since no ether is being sent.
Extra Detail
Initialization in embark test :
      const AdkSplitterForTwo = embark.require("Embark/contracts/AdkSplitterForTwo");
      splitterContractInstance.Split = AdkSplitterForTwo;

Initialization in truffle test
const AdkSplitterForTwo = artifacts.require("./AdkSplitterForTwo.sol");
var splitterContractInstance = await AdkSplitterForTwo.deployed();

My embark project https://github.com/dodikk/eth-splitter-contract-exercise-embark
My truffle project https://github.com/dodikk/eth-splitter-contract-exercise
Steps to reproduce

git clone https://github.com/dodikk/eth-splitter-contract-exercise-embark
embark test

Expected result : all tests pass
Actual result : 4 tests fail due to an exception in sendTransaction. The contract gets reverted due to insufficient ether amount even though I am trying to send some wei.
Screenshots
N/A
Logs
--logfile log.txt for some reason this option does not work for me when I invoke embark test. Any suggestions appreciated
Context (Environment)

OS:

Linux adk-VirtualBox 4.15.0-36-generic #39-Ubuntu SMP Mon Sep 24 16:19:09 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Embark Version:

embark version
3.2.2

Node Version:

 node -v
v8.12.0

NPM Version:

 npm version
{ npm: '6.4.1',
  ares: '1.10.1-DEV',
  cldr: '32.0',
  http_parser: '2.8.0',
  icu: '60.1',
  modules: '57',
  napi: '3',
  nghttp2: '1.32.0',
  node: '8.12.0',
  openssl: '1.0.2p',
  tz: '2017c',
  unicode: '10.0',
  uv: '1.19.2',
  v8: '6.2.414.66',
  zlib: '1.2.11' }

Hi. Embark uses Web3 1.0 (currently uses beta 34), so the syntax that you used above doesn't work anymore.
You need to use .call() and .send() and it's in those that you can pass the parameters.
Here is the documentation on how the new way of calling methods is done: https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#id12
For your example, it would be something like so (assuming Split to be a transaction):
await splitterContractInstance.Split(firstStranger, secondStranger).send({
             from    : samePerson ,
             value   : weiToSplit ,
             gasPrice: gasPriceWei
         });

@jrainville , thanks for fast reply.

TypeError: Cannot read property 'gasUsed' of undefined

Now I am getting this. What else am I missing?
    var splitTransactionReceipt = null;
    try
    {
        // https://embark.status.im/tutorials/token_factory_1.html
        //

        splitTransactionReceipt =
        await splitterContractInstance.methods
                                      .Split(firstStranger, secondStranger)
                                      .send(
         {
             from    : samePerson ,
             value   : weiToSplit ,
             gasPrice: gasPriceWei
         });

    }
    catch (ex)
    {
        console.log(ex);
        assert.fail("unexpected exception generated by the contract" + ex);

        return;
    }

    var splitTransactionHash = splitTransactionReceipt.tx;
    var splitTransaction = await web3.eth.getTransaction(splitTransactionHash);

    // the returned object of .send() does not seem to be a valid transaction ((
    //
    var gasUsed_bn  = new BigNumber(splitTransactionReceipt.receipt.gasUsed);

    var gasPrice_bn = new BigNumber(gasPriceWei);

I also wonder : "How to trigger a fallback function of the contract?"
With truffle I was invoking a sendTransaction() method right on a contract instance. What is the embark way of doing that?
            await splitterContractInstance.sendTransaction(
            {
                from    : samePerson,
                value   : 2000      ,
                gasPrice: 0
            });

For your first question, it is because splitTransactionReceipt is the receipt in itself. No need to call splitTransactionReceipt.receipt, you can just do splitTransactionReceipt.gasUsed
For the second one, I'm not sure what you mean. I am not that good in Solidity. You want to make a bad transaction on the contract?

Thanks. I'll take a look at the newer docs of web3.js. That was a bit confusing for a beginner like me.

For the second one, I'm not sure what you mean. I am not that good in Solidity. You want to make a bad transaction on the contract?

Yeah, sort of.
That's an "unhappy path" of my unit test.

@jrainville , one final question if you don't mind...

    const AdkSplitterForTwo = embark.require("Embark/contracts/AdkSplitterForTwo");

    var splitterContractInstance =
        await AdkSplitterForTwo.deploy({ arguments: [] }).send();

I am trying to deploy the contract instance explicitly in a test. For some reason, I am getting a different behaviour comparing to the case when I use a global contract deployed by embark var splitterContractInstance = AdkSplitterForTwo;
Could you please suggest a piece of documentation I can look at to resolve this kind of errors?
P.S. Sorry if this entire thread was irrelevant and it was a wrong place to ask. And thank you for your time and patience.

If you wish to execute the fallback function for a contract with web3js, you could do something like this:
web3.eth.sendTransaction({to: your_contract_address, from: samePerson, value: 2000, gasPrice: 0 });

For the contract deploy, here is the exact Embark doc for that:
https://embark.status.im/docs/contracts_testing.html#Creating-contract-instances-in-your-tests
The entire page explains to you what you can do with the tests

The entire page explains to you what you can do with the tests

@jrainville , thank you for the link.
I've seen the page mentioned by you and tried to follow the instructions but ...
For some reason, I am getting a different behaviour comparing to the case when I use a global contract deployed by embark

@richard-ramos , thanks I'll give that API a try.

@jrainville , @richard-ramos so I have applied your suggestions. My tests do compile and run properly. Still, the balance bookkeeping fails since
Some ether is consumed despite the gasPrice is set to zero

Here are my logs :
https://gist.github.com/dodikk/9b9e671fbb9fef1c466d759ffa0250e1
Any suggestions, please?
P.S. The same contract and the same set of tests succeeds for truffle.

Can you try this workaround ethereum/web3.js#1458 (comment)?
Setting gasPrice to '0' (a string). Hopefully, web3 fixes that problem soon.

Yeah. It works.
P.S. I thought I had a follow-up comment mentioning that. My bad.
I also had an issue with event log assertions since the logs array has turned out to be a dictionary. But I've figured things out using the web3.js docs : https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#methods-mymethod-send

A brief summary of porting the contract to web3.js v1.0
1). Transaction options are now passed to .send() part of the contract method call.
Contract args are passd to the JS method with the same name the contract has.
await splitterContractInstance.Split(firstStranger, secondStranger).send({
             from    : samePerson ,
             value   : weiToSplit ,
             gasPrice: gasPriceWei
         });

2). web3.eth.sendTransaction is the only way to invoke the fallback function as of web3.js v1.0
3). gasPrice zero must be a string constant. Numbers are misinterpreted.
https://github.com/ethereum/web3.js/issues/1458
4). Contract method call produces transaction receipt only in web3.js v1.0.
It has nologs array.
The name has been changed to events. And now it is a dictionary.
https://web3js.readthedocs.io/en/1.0/web3-eth-contract.html#methods-mymethod-send

Sorry to add to this closed thread, but I didn't find anything related elsewhere.
From the yellowpaper, a Call function should accept the "value" parameter as well, but it seems that the current implementation of Web3js does not take it as a parameter. Is that correct? Anyone could explain why so?  It would be great to test functions that use "msg.value" within a call, not requiring to use send.


Examples in subfoler + relocatable sdl3-mixer.pc + fix SDL_strtok_r

strtok_r stuff had already been done: you need to git pull..

I bumped mpg123 to 1.31.3 (from 1.29.3).

Re: Bump mpg123: the branch field in .gitmodules need updating too.

I bumped mpg123 to 1.31.3 (from 1.29.3).

Seems to have fixed MSVC builds

I bumped mpg123 to 1.31.3 (from 1.29.3).

Seems to have fixed MSVC builds

Curious that the SDL2 branch didn't have issues with old version..

I bumped mpg123 to 1.31.3 (from 1.29.3).

Seems to have fixed MSVC builds

Curious that the SDL2 branch didn't have issues with old version..

In 90b3167133e9eeb6f86919969c8678f5d40121f7, I accidentally removed the execution of .github/fetch_yasm.ps1.
I knew mpg123 recently did some work to be able to build without yasm.
I re-added it in a later patch.

This patchset should be good. And maybe we can apply b673159 to SDL2 branch too.

Applied in 293bc302


Lost dependency

When I open the files  in idea, the com.zaxer and other dependency can't find, should I download them by myself?
How can I solve this problem.

Please try using aliyun mirror for maven.


2 group based collection àla twacapic

This feature-PR adds the ability to collect posts and update the collection on a rolling basis from a account list.

Also, heaps of deprecation warnings when testing and a loguru error


Update Title to contain non-alphanumeric

Currently Title only allows alphanumeric characters
This PR change Title so that it can accept all inputs that are not just an empty space " ".
The PR also changed the message format of add to align with the newly optional fields

Good to merge :D

Good to merge :D


Set minimum lighthouse score threshold

Codecov Report

Merging #152 (a98ef01) into main (ec4f018) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #152   +/-   ##
=======================================
  Coverage   85.23%   85.23%
=======================================
  Files          22       22
  Lines         210      210
  Branches       33       33
=======================================
  Hits          179      179
  Misses         31       31

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ec4f018...a98ef01. Read the comment docs.


Fix typo in readme

:octocat:

Thanks! :+1:

Your welcome. Thanks for sharing. It was a good read :ok_hand:


DS-4277: Layout of search results in MyDSpace

This is a duplicate of DS-4277
Estimate from release plan: none
Expressing interest: none
The MyDSpace page contains a search for items submitted by the current user, or in the user's task pool.
The layout of the items in this list doesn't seem to use the discovery component for item lists.
This implies that changes applied to the displayed metadata in discovery are not applied to the MyDSpace page
For consistency reasons, it's best to use the same component, and add the applicable buttons underneath, instead of creating a duplicate component for rendering the item list

@tdonohue this is in the scope of https://github.com/DSpace/dspace-angular/issues/1044 and should be closed

Thanks @abollini .  Closing this in favor of #1044 then, which is already assigned & in progress.


Feature Request: Acrylic Effect on PowerToys Shortcut Guide

Adding an acrylic effect to the shortcut guide would greatly increase readability on busy screens

If you'd like to see this feature implemented, add a 👍 reaction to this post.

We are redesigning SG from scratch, no change to the current implementation bill be made.


qremotecontrol-server: 2.4.1 -> unstable-2014-11-05, use Qt5

Description of changes

Qt4 is going to be removed: https://github.com/NixOS/nixpkgs/pull/174634
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

I'd rather link to he sourceforge page then. done.

Ping

@GrahamcOfBorg build qremotecontrol-server


Usable with tokens on pancakeswap?

Hi, van we use this tradingbot with tokens which are on pancakeswap only?
thanks
T

No, this bot is only compatible with Binance and their API.
Please close the issue if you have no other question.
Thanks!

ok, thanks


Alternative OCR Libraries

It may be worth trying some alternative OCR libraries, as discussed in this article: https://www.statcan.gc.ca/en/data-science/network/character-recognition
Might be a good idea to have these alternatives be available options in this library.

Based on my understanding, Tesseract (the current OCR library) excels for documents while CRAFT (the model mentioned in the link) is for text-detection in more complicated images. They work well in conjunction
Another option is EasyOCR which does not require any external dependencies (Issue #4). It uses CRAFT for text-detection and then its own OCR engine so it's essentially Tesseract+CRAFT in a single library, but potentially less powerful due to it being more light-weight

Based on my understanding, Tesseract (the current OCR library) excels for documents while CRAFT (the model mentioned in the link) is for text-detection in more complicated images. They work well in conjunction
Another option is EasyOCR which does not require any external dependencies (Issue #4). It uses CRAFT for text-detection and then its own OCR engine so it's essentially Tesseract+CRAFT in a single library, but potentially less powerful due to it being more light-weight

Good insight here, thanks. I wonder if we could quantify the performance difference between these options with a simple test of some sort?

This may become more relevant in the near future as multi-model LLMs become more effective and available for OCR purposes.
For example, personal experimentation with GPT-4V shows promising results for table extraction.


libuv cant get uv_threadpool_size i put on windows 10

hi,
the following program wont mix character 'm' and 'Q' if putenv works.
calling putenv directly doesnot work in my program,
loadlibrary and getprocaddress and then calling putenv works.
on my machine,
libuv is built with ms visual studio 2012 as a dynamic library(dll),the following piece of code is compile and built with ms visual studio 2017. for both of them ,i selected Multi-threaded (Debug) DLL for run time library.i believe if u build libuv and the following code with different version of ms visual studio ,this issue appears. see here http://siomsystems.com/mixing-visual-studio-versions/
#include<iostream>
#include<uv.h>
#include<Windows.h>

#pragma comment(lib,"C:\\apis\\libuv-1.18.0\\Debug\\libuv.lib")
void uv_work_cb_test(uv_work_t* req)
{
	char c = (char)req->data;
	for (int i = 0; i < 100; i++)
		std::cout << c;
}

int main(int c,char *v[])
{
	putenv("UV_THREADPOOL_SIZE=1");
	HMODULE hdll = LoadLibraryA(
#ifdef _DEBUG
		"msvcr110d.dll"
#else
		"msvcr110.dll"
#endif
	);
	FARPROC proc = GetProcAddress(hdll, "_putenv");
	typedef int(*pf)(const char *);
	pf _pf = (pf)proc;
	//comment next line,character 'm' mixed with character 'Q'
	//_pf("UV_THREADPOOL_SIZE=1");

	uv_work_t vts[2];
	vts[0].data = (void *)'m';
	vts[1].data = (void *)'Q';
	for (auto &a : vts)
	{
		uv_queue_work(uv_default_loop(), &a, uv_work_cb_test, nullptr);
	}
	uv_run(uv_default_loop(), UV_RUN_DEFAULT);
	FreeLibrary(hdll);
	return 0;
}

i have opened  issue https://github.com/libuv/libuv/issues/1977   for this

This is the code snippet I'm using in my Node-land plugged-in threadpool:
    // Check UV_THREADPOOL_SIZE
    char buf[32];
    size_t buf_size = sizeof(buf);
    if (uv_os_getenv("UV_THREADPOOL_SIZE", buf, &buf_size) == 0) {
      threadpool_size_ = atoi(buf);
    }

thanks for reply.
i googled several hours to find out why putenv doesnot work, tho i enjoy the progress.
right, using a  stack-allocated buffer is better,and return value should be checked carefully.commits edited using   code snippet davisjam   using in his  Node-land plugged-in threadpool.


feat: remove editor from bundle

Type

[x] Bugfix 🐛
[ ] New feature 🌈
[ ] Change request 🤓
[ ] Documentation 📚
[ ] Tech debt 👩💻

Changes proposed ✔
<EMAIL_ADDRESS>💡 Others

Remove Editor component from bundle until lexical supports SSR to prevent erros with server-side rendering projects. (#86 by @juanchigallego)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (495f055) 90.20% compared to head (8e2412b) 90.20%.
 Consider uploading reports for the commit 9f2d804 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #86   +/-   ##
=======================================
  Coverage   90.20%   90.20%
=======================================
  Files         106      106
  Lines         694      694
  Branches      115      115
=======================================
  Hits          626      626
  Misses         64       64
  Partials        4        4

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


File System dependencies not externalized

While reviewing the solution for code that needs unit tests, I noticed that file system access has not been externalized (IE, file system is accessed directly in code via calls to static methods instead of abstracted through an interface).  This makes it very difficult to write unit tests for many methods, as there is no way to mock these static calls.   I'd like to externalize these dependencies by writing a simple FileSystem class / IFIleSystem interface that wraps calls like Directory.DirectoryExists and File.ReadAllText, etc, and then leverage that interface to add unit tests for currently untested code.

We could consider extending the existing Stratis.Bitcoin.Utilities.FileStorage to form the basis for handling all file storage requirements.

@seanmobrien If you ever get around to do this, please submit a PR 👍


some fixes to the python typing

fixes the specific complaints in #4120
if there are others then I leave it to you / other contributors to find and fix them
wibni CI pipelines executed typechecking so as to find such things automatically, but that's figuring out how that all would fit together is more than I am willing to offer

oh a CLA.  Sorry, I won't be getting into that.
Feel free to take these fixes, or not.

Thanks


DatePicker - Internationalization server client mismatch [NextJS 14.1.0 App Router]

Provide a general summary of the issue here
NextJS  14.1.0 using App Router
When using DatePicker as instructed in documentation server client mismatch occurs.
To mitigate a rerender on client (adapting language) for some of the components we need to provide language information on server
I've followed the steps provided here

🤔 Expected Behavior?
The component should get correct language on SSR and not need to correct it on client.
😯 Current Behavior
The component doesn't render correct language on SSR, corrects on client resulting in a server client mismatch
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce
https://stackblitz.com/edit/nextjs-arbvzx?file=components%2FDatePicker.tsx
Version
react-aria-components 1.1.1
What browsers are you seeing the problem on?
Chrome
If other, please specify.
No response
What operating system are you using?
Windows 10
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

I can't seem to get your stackblitz to work, but I noticed you don't have a wrapping I18nProvider, does that help?

Thanks for taking the time @LFDanLu. Did you add routing locale? eg "en-US". I'm using /sv (swedish).
And there's a string in the datesegment component yielding "app-index.js:35 Warning: Prop aria-valuetext did not match. Server: "Empty" Client: "Tomt""
I can't set the text manually either. That would work for me. Not sure if I would stumble into more strings that needs translation though. As for wrapping the app with I18nProvider - Since I'm using NextJS Im following the NextJS specific docs:
 // app/[lang]/layout.tsx
import {LocalizedStringProvider} from 'react-aria-components/i18n';
export default function RootLayout(
  {children, params: {lang}}:
  {children: React.ReactNode, params: {lang: string}}
) {
  return (
    <html lang={lang}>
      <body>
        <LocalizedStringProvider locale={lang} />
        {children}
      </body>
    </html>
  );
}

I might be having a brain fart, but when I open the stackblitz it just 404's after the packages are installed and next dev finishes. My understanding here is that you still need to have a wrapping i18nProvider with the locale set to whatever locale will be used on the client so that localized strings like the aria-valuetext will match between server and client. I do see what you are referring to in the docs here where it states
Render React Aria's LocalizedStringProvider component at the root of your app. This includes the strings for the user's language in the initial HTML so that the client can access them. It also passes the locale to the client, so an I18nProvider is not needed.

but looking at the code it doesn't look like LocalizedStringProvider does this in time, it sets a localeSymbol on the window which doesn't exist on the server if I'm not mistaken hence why the i18nProvider is still necessary.

You need to add the locale in the url. In my case I'm adding "/sv" (swedish). NextJS router gets the params in the RootLayout and provides the locale to html tag and LocalizedStringProvider on the server.
As for wrapping the app in i18nProvider I'm not convinced it's the right approach when it comes to NextJS but I might be missing something. I've tried to apply it in the code but I can't really figure out where I would put it.

Yeah, the setup required isn't ideal here (probably a bug tbh), we'll probably want to change LocalizedStringProvider on our end to handle this for you. For now you'd have to make a client component to render the i18nProvider like so: https://stackblitz.com/edit/nextjs-tep8sy?file=app%2F[lang]%2Flayout.tsx,app%2F[lang]%2FLocaleProvider.tsx,app%2F[lang]%2Fpage.tsx

Thank you for sharing your thoughts about this! @LFDanLu


SMO priority execution

I have a system which works as expected when testing the subsystems, but when it's called by the full program the execution sometimes get delayed.
Aquisiton loop runs at 100 ms and send messages to control and UI. Control implements a simple P.I.. Without UI the Control loop runs correctly at max 102ms, but when UI is running together it runs from 100ms to 300ms, and this makes the control response too slow.
I believe LabVIEW is priorizing the UI updates, that are less important then the control.
How can I configure execution & messaging priorities in SMO?

Hi Ricardo,
That's a great question. As you probably found out, you cannot change the priority settings of the Process.vi itself without changing the whole hierarchy.
Starting with SMO 1.1.9+, it is possible to encapsulate the process parallel loop into a subVI and have the Process Sync work correctly. Therefore, you can then make that subVI be high priority (VI Execution Settings) and even replace the JKI State Machine with a Timed Loop.
Look at the template that comes with package "JKI SMO Template (DAQmx)" which shows which nodes are mandatory to keep for process synchronization.
Wrap the bottom loops in a subVI, make it preallocated clone with high priority. That should

which becomes:


fix: Adjust node_type check for get ami

Summary
The goal of this PR is to resolve the node_type issue missing windows comparison for various distributions.
Resolves: #100
Changes
Modifies the node_type check to match on varying windows distributions versus explicitly == windows
User experience
Resolves failure to determine AMI.
Checklist
If your change doesn't seem to apply, please leave them unchecked.

[x] I have performed a self-review of this change
[x] Changes have been tested
[ ] Changes are documented

Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

Codecov Report
Patch coverage: 20.00% and no project coverage change.

Comparison is base (c5e406b) 27.55% compared to head (cebf696) 27.55%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #101   +/-   ##
=======================================
  Coverage   27.55%   27.55%
=======================================
  Files          14       14
  Lines        1938     1938
=======================================
  Hits          534      534
  Misses       1404     1404

Impacted Files
Coverage Δ

eksupgrade/src/eks_get_image_type.py
14.28% <0.00%> (ø)

eksupgrade/__init__.py
100.00% <100.00%> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Add Korean Language Support in Documentation

/area documentation
What would you like to be added:
Add Korean as a supported language for falco documentations.
Why is this needed:
To help Korean users understand falco better.

I want to take initiative and kick off the Korean Doc translation.

/assign

/pony party

Hi @leodido @kris-nova
For korean l10n, I have two questions.

Would it be possible to make korean branch in this repo?

e.g. name of branch : dev-0.21-ko.1
This will work for managing outdated ko docs from upstream en docs.

Could Some of korean contributer be maintainer?

reviewer : can review korean docs pr. They could fix wrong translation or typos in Korean.
approver : can approve korean docs pr and merge korean branch to master.

Hello @onesolpark,
please open a PR that creates content/ko/docs directory and initial skeleton for Korean docs.
In that directory, we can and we'll totally create a sub OWNER file containing korean docs contributors :)

I'll open a PR that holds the skeleton for Korean docs and an initial page asap
(Tomorrow at the latest in KST time).


ReactJS (other?) demo

I think it maybe useful to people that are starting using the framework to have a complete webapp demo or even a maven archetype that have all things wired.

I can help with that.
Are we going for the classic "TO DO" app or a more complicated example?

I think that the TODO would be nice. Any other ideas?


Ability to use snmpwalk.py from other python programs

I'd like to suggest a change to snmpwalk.py to allow it to be used from other programs.
I propose putting everything from snmpEngine = engine.SnmpEngine() to the end of the program in a function called "run()".
e.g.
def run(arg_vector):
    snmpEngine = engine.SnmpEngine()

    ctx = {}

    try:
        # Parse c/l into AST
        ast = Parser().parse(
            Scanner().tokenize(' '.join(arg_vector))
        )

    main.generator((snmpEngine, ctx), ast)
    # etc....

then, at the end,
if __name__ == '__main__':
    run(sys.argv[1:])

this allows me to from snmpwalk.py import run in my own code, and use it,
I don't have to make my python code run a subshell to run your python code :-)
e.g.
from snmpwalk import run

run('-v3', '-l', 'authPriv', '-u', 'myuser',
         '-a', 'SHA', '-A', 'apasswd12345', '-x', 'AES', '-X', 'prvpass12345',
         '<IP_ADDRESS>', '.<IP_ADDRESS>.<IP_ADDRESS>.1.2'])

it might be necessary to return data rather than sending it to stdout/stderr as well, but I hope you get the idea


Remove new line character before setting accessibility text to avoid repetition of voice over for same text.

Remove new line character before setting accessibility text to avoid repetition of voice over for same text.

You messed up your pull request by changing files not related to it ("Revert stale config") and reverting them shortly after. Thus, the PR can not be merged as long as those commits are in the history.


Demo doesn't work anymore with latest grafana agent (0.35.0)

Description
Since the release of grafana agent 0.35. The agent doesn't start anymore. The agent logs print the following:
msg="error creating the agent server entrypoint" err="failed to construct app_agent_receiver integration \"@grafana/faro-demo\": push receiver factory not found for traces instance \"@grafana/faro-demo\""

Steps to reproduce

docker compose pull
docker compose up

Hi @mxab thanks for reporting the issue.
In this case it seem to be related to an agent upgrade.
We opened an issue in Grafana Agent repository.
Cheers,
Marco

Looks good, thanks!


OS1-64 IMU Parameters

Hello,
Thank you for the great work.
I was wondering if you could share the IMU configuration for the InvenSense ICM-20948 (Built-in OS1-64 IMU) used in driving sequences. Perhaps this was used in the estimation of the extrinsics?
i.e.
#Accelerometers
accelerometer_noise_density: 1.86e-03   #Noise density (continuous-time)
accelerometer_random_walk:   4.33e-04   #Bias random walk

#Gyroscopes
gyroscope_noise_density:     1.87e-04   #Noise density (continuous-time)
gyroscope_random_walk:       2.66e-05   #Bias random walk

rostopic:                    /imu0      #the IMU ROS topic
update_rate:                 200.0      #Hz (for discretization of the values above)

Hi!
Thanks for paying attention to our dataset.
It's been quite a long after this study, so I am not very sure of the specific parameter. However, you can find the parameters from the spec sheet of the sensor ICM-20948.
Reading from the spec sheet shows as follows:
accelerometer_noise_density: 2.3e-04 (230 ug)
accelerometer_random_walk: 2.5e-02 (25 mg)
gyroscope_noise_density: 1.5e-02 (0.015 dps/√Hz)
gyroscope_random_walk:  5e-00 (5 dps)
The value from the spec sheet seems to have quite a different tendency to the elaborative IMUs, so you can use your own calibration by IMU instrinsic calibration tools instead.
Thanks!

Thank you for the information and helpful resources!


added the feedback form in it

Hello PA
I have added the feedback form to provide the valuable review.
Screenshot 1 -

Screenshot 2-

I have done the task . I request you to assign the gssoc levels / labels to it. @sk66641
https://github.com/sk66641/Random-Disco-Light-Simulator/issues/106
Issue no #106
@sk66641

@shivathmikavemula
I think you've copied it from gfg but no worries i'll merge it once you make the "feedback" form responsive and place the "feedback" button sideby reset button with it's UI fits the UI of the webpage.


META microdata in content breaks loading

Hello,
I have content that contains the following microdata:

<meta itemprop='name' content=''>
<meta itemprop='description' content=''>
<meta itemprop='duration' content=''>
<meta itemprop='thumbnailURL' content=''>
<meta itemprop='embedURL' content=''>

the rest of my content...

When smoothState loads these pages, only the div with the first meta tag loads:

<meta itemprop='name' content='$title'>

If I remove the meta tags, then the content loads fine. Any ideas?
Thanks

@kiogo has @johanneslamers's suggestion work out for you? Let me know.

This is by far the most bizarre bug I've ever seen, ever. lol. It comes down to this, if the document body has two meta tags, like so:
<meta />
<meta />

The thing just chokes and dies. I'll keep working on it and try to find the root cause. Thanks for the report.

So I replaced a bunch of jQuery nonsense with some vanilla js and saved us about 150 lines of code and some speed. Most importantly, this bug should be fixed.
@kiogo,  @johanneslamers, please let me know if this works out. Closing for now, but let me know if you see anything odd and I'll open it back up.


ollama llama3.2 on various Apple Silicon M1 to M4 Max and NVidia RTX-3500 ada RTX-A6000 and RTX-4090

M4 Max 40 core Macbook pro 16
michaelobrien@mbp8 eks % ollama run llama3.2 --verbose
>>> detail how gold is created during the collapse of a star
The creation of gold during the collapse of a massive star is a complex process involving nuclear reactions and the transformation of atomic nuclei. Here's a step-by-step explanation:

**Step 1: Core Collapse**

A massive star (at least 8-10 times more massive than our sun) undergoes a supernova explosion, causing its core to collapse. This collapse leads to an intense gravitational pressure that compresses matter into an extremely small
space.

**Step 2: Neutron Star Formation**

As the core collapses, it forms a neutron star. The density of this object is so high that atomic nuclei are no longer stable, and they begin to break down into more fundamental particles like neutrons and protons.

**Step 3: Nuclear Reactions**

Within the collapsing core, nuclear reactions occur due to the immense energy released by the gravitational collapse. These reactions involve the fusion of atomic nuclei to form heavier elements. The most common reaction is:

p + p → d (deuterium)

This reaction releases a small amount of energy, but it's just the beginning.

**Step 4: Proton-Neutron Capture**

As the core continues to collapse, protons from the star's mantle capture onto atomic nuclei, leading to an increase in atomic mass. This process is known as proton-neutron capture (PNC). The reaction can be represented as:

p + n → d

**Step 5: Alpha Processes**

In a separate process, alpha particles (helium-4 nuclei) are accelerated through the core and collide with atomic nuclei, leading to further nuclear reactions. One of these reactions is:

d + p → α + n

This reaction releases even more energy, contributing to the growth of the star's core.

**Step 6: Neutron Capture**

As the core continues to collapse, neutrons from the neutron star's interior capture onto atomic nuclei, leading to a further increase in atomic mass. This process is known as neutron capture (NC). The reaction can be represented
as:

n + n → d

**Step 7: Beta Decays and Nuclear Transmutations**

As the core continues to collapse, beta decays and nuclear transmutations occur. These processes involve the transformation of unstable nuclei into more stable ones through a series of radioactive decays.

One example is the decay of cobalt-56 (Co-56) into nickel-56 (Ni-56):

Co-56 → Ni-56 + e-

**Step 8: Formation of Heavy Elements**

Through these nuclear reactions and transmutations, heavier elements like iron, chromium, and molybdenum are formed. However, to create even heavier elements like gold, more complex reactions involving multiple particles are
required.

One such reaction is the capture of a neutron onto an atomic nucleus:

n + n → Au-197 (gold-197)

This process releases significant energy, contributing to the growth of the star's core.

**Step 9: The Birth of Gold**

Through these nuclear reactions and transmutations, gold is ultimately formed within the collapsing core. The resulting gold nuclei are incredibly dense and unstable, but they can be sustained for a short period through the intense
gravitational pressure.

The creation of gold during the collapse of a massive star is a complex process that involves multiple nuclear reactions and transmutations. While this process is still not fully understood, it provides valuable insights into the
extreme physics that governs these celestial events.

total duration:       6.542520083s
load duration:        32.420625ms
prompt eval count:    601 token(s)
prompt eval duration: 111ms
prompt eval rate:     5414.41 tokens/s
eval count:           691 token(s)
eval duration:        6.171s
eval rate:            111.98 tokens/s

M1 Max 32 core Macbook pro 16
ichaelobrien@mbp7 magellan-nbi % ollama run llama3.2 --verbose
>>> detail how gold is created during the collapse of a star
The formation of gold in the universe is a fascinating process that occurs when massive stars undergo nuclear reactions. Here's a step-by-step explanation of how gold
is created during the collapse of a star:

**Step 1: Protostar Formation**

A massive star (typically with a mass between 8-25 times that of the sun) forms from the collapse of a giant molecular cloud. As the cloud collapses, it begins to spin
faster and flatten into a disk shape.

**Step 2: Main Sequence Life**

The protostar continues to collapse and heat up, eventually reaching the main sequence stage. During this phase, the star undergoes nuclear reactions in its core,
where hydrogen atoms are fused into helium through the proton-proton chain reaction or the CNO cycle. This process releases a vast amount of energy in the form of
light and heat.

**Step 3: Helium Fusion**

As the star ages, it begins to run out of hydrogen fuel in its core. At this point, the star undergoes a significant transformation, becoming a helium-burning giant.
The core contracts and heats up, causing the surrounding layers to expand and cool.

**Step 4: Helium Shell Burning**

The helium shell that surrounds the core is hot enough to sustain nuclear reactions, primarily through the triple-alpha process (3He + 3He → 4He). This process
releases a significant amount of energy, which heats up the helium shell further.

**Step 5: Carbon-Nitrogen-Oxygen (CNO) Cycle**

As the helium shell continues to burn, it also undergoes nuclear reactions involving carbon, nitrogen, and oxygen. These reactions are driven by the triple-alpha
process, but they also involve other processes like proton capture and the CNO cycle.

**Step 6: Neutron-Capture Process**

During the final stages of the star's life, the helium shell contracts and heats up, causing the surrounding layers to expand and cool. At this point, the star begins
to experience a dramatic increase in density and temperature, leading to the formation of neutron-rich nuclei.

The neutron-capture process involves the capture of neutrons by atomic nuclei, which increases their mass number without changing their composition. This process
creates a variety of heavier elements, including gold.

**Step 7: Silicon Burning**

As the star continues to contract, it eventually reaches a point where the core becomes hot enough to initiate silicon-burning reactions. These reactions involve the
fusion of silicon with helium, producing heavier elements like magnesium and aluminum.

**Step 8: Final Collapse**

The final stage of the star's life involves a catastrophic collapse, often resulting in a supernova explosion. During this event, the star's core is compressed to
incredibly high densities, causing it to release an enormous amount of energy.

**Gold Formation**

As the star collapses, the neutron-capture process reaches its peak, creating a vast array of heavy elements, including gold. The conditions required for gold
formation are extremely rare and usually occur in the final stages of a massive star's life.

The gold formed during this process is called "solar gold" or "stellar gold," as it is produced within the core of a massive star. This gold is thought to be composed
of two main isotopes: 197Au and 198Au, with the latter being slightly more abundant due to its shorter half-life.

**Distribution of Gold**

After the supernova explosion, the gold-rich material is dispersed into space through various means, including:

* Supernovae remnants
* Stellar winds
* Planetary collisions

This dispersion process allows the gold to be incorporated into new stars, planets, and other celestial objects, making it a vital component of our universe's chemical
evolution.

In summary, the formation of gold in the universe is a complex process that involves the collapse of massive stars, nuclear reactions, and the neutron-capture process.
The resulting gold is created through the final stages of these processes, which release an enormous amount of energy and create new elements with unique properties.

total duration:       11.050703334s
load duration:        44.606167ms
prompt eval count:    36 token(s)
prompt eval duration: 310ms
prompt eval rate:     116.13 tokens/s
eval count:           813 token(s)
eval duration:        10.692s
eval rate:            76.04 tokens/s

Hyperv VM on 14900k (using CPU not RTX-A6000 48GB GPU)
total duration:       27.716228793s
load duration:        16.164819ms
prompt eval count:    36 token(s)
prompt eval duration: 411ms
prompt eval rate:     87.59 tokens/s
eval count:           646 token(s)
eval duration:        27.287s
eval rate:            23.67 tokens/s


Migrate away from gatsby-images

gatsby-image is deprecated. the new kid in town as of now is gatsby-plugin-image.
Migration guide: https://www.gatsbyjs.com/docs/reference/release-notes/image-migration-guide/

closed with latest commit that migrates away from gatsby


Feature/tab persistence

Reviewer: Caine
Asana: https://app.asana.com/0/361428290920652/377272475937399
Description:
Split out tab manager and tab model logic to allow for persistence. Added simple tab persistence.
Steps to test this PR:

Open app
open some tabs
move around
kill and reopen apps - tabs should still be there

Note: The full navigation stack could not be persisted (just the current page) due to webkit limitations (navigation is read only so there is no way to set it). In the future we could create our own nav stack.
Reviewer Checklist:

[x] Ensure the PR solves the problem
[x] Review every line of code
[x] Ensure the PR does no harm by testing the changes thoroughly
[x] Get help if you're uncomfortable with any of the above!
[ ] Determine if there are any quick wins that improve the implementation

PR DRI Checklist:

[ ] Get advice or leverage existing code
[ ] Agree on technical approach with reviewer (if the changes are nuanced)
[ ] Ensure that there is a testing strategy (and documented non-automated tests)
[ ] Ensure there is a documented monitoring strategy (if necessary)
[ ] Consider systems implications (Database connections, Grafana stats, CPU)

Merge at will.


harmonize client/server/peer concept naming

reading through the Generate self-signed certificates documentation, the concept of client-server certificates was clear after thinking about it for a while, but got easier to grasp and more consistent once I've replaced client-server by peer in my mind. As the concept peer is used throughout etcd already, I suggest adopting it here, too.

@zined This looks good to me, I don't think there's any conflicts with moving client-server to peer, and consistency is always good.
@joshix any thoughts on this change?  Unless it was called client-server for a reason I think this is ready to merge.

@zined Thanks for the contrib!


add new /checksum endpoint

this would return the checksum for the logical path of a data object, similar to ichksum.
should probably contextualize the return value with the name of the algorithm - maybe even returning the raw sha256 string rather than what's stored in the catalog...

This will not be implemented in this repository.
Please see the new HTTP API:
https://github.com/irods/irods_client_http_api


[BUG] TS errors after updating to v.0.68.0: A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled.

What happened?
Getting TS errors after updating to v.0.68.0:
A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled.

ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled.

tsconfig.json:
{
  "extends": "plasmo/templates/tsconfig.base",
  "exclude": ["node_modules"],
  "include": [".plasmo/index.d.ts", "./**/*.ts", "./**/*.tsx"],
  "compilerOptions": {
    "ignoreDeprecations": "5.0",
    "module": "CommonJS",
    "strict": true,
    "suppressImplicitAnyIndexErrors": true,
    "jsx": "react",
    "paths": {
      "~*": ["./*"]
    },
    "baseUrl": "."
  }
}

Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
No response
Relevant log output
A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled.

ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled.

(OPTIONAL) Contact Details
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate problems.

I think this is the case for TS5.x and Plasmo 0.68.0 - you will need to switch to ESM instead of CommonJS

that worked.


Incorrect "Total memory" value

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
The Total memory value is incorrect in Host Details
Expected Behavior
It should show the same value as the free --giga command shows on the server console.
Actual Behavior
It shows 16,7GB instead of 16GB.

I have checked the same issue on an another server, where it has 14GB memory, and the portainer shows 14,7GB.
One more server checked, where the server has 18GB memory, and the portainer shows 18,9GB.
Steps to Reproduce

Open portainer
Select one environment
Click on Host
Check the "Total Memory"
Open the server with SSH
Run the free --giga command.
Compare values

Portainer logs or screenshots

Portainer version
2.19.4
Portainer Edition
Business Edition (BE/EE) with 5NF / 3NF license
Platform and Version
Docker 24.0.7
OS and Architecture
Debian 12, AMD64
Browser
Google Chrome 120
What command did you use to deploy Portainer?
No response
Additional Information
No response

This value is populated from the output of the Docker API's /info endpoint (docs), specifically the MemTotal value, which is expressed in bytes. I believe we do some conversion in the frontend to this value to show it in GB, and it may be a rounding issue.

@jamescarppe Which version will fix this bug?
Thanks!


[FLINK-31664][Table SQL/API] Add ARRAY_INTERSECT supported in SQL & Table API

What is the purpose of the change
Add array_intersect(array1, array2) SQL function.

array1: An ARRAY of any type with comparable elements.
array2: n ARRAY of elements sharing a least common type with the elements of array1.

Returns an ARRAY of matching type to array1 with no duplicates and elements contained in both array1 and array2.
Examples:
SELECT array_intersect(array(1, 2, 3), array(1, 3, 3, 5));
[1,3]

See also
https://spark.apache.org/docs/latest/api/sql/index.html#array_intersect
Brief change log
Add ARRAY_INTERSECT supported in SQL & Table API
Verifying this change
This change is already covered by existing tests, such as CollectionFunctionsITCase#arrayIntersectTestCases.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (yes)
If yes, how is the feature documented? (docs)

sorry for being late  here
probably you need to rebase the PR.
Also it seems the test is failed because you also need to update python related part for new function. Have a look at other similar implementations e.g. ARRAY_CONTAINS

hi @zzzzzzzs @snuyanzin  do you still does it? if not , i will go on

hi @zzzzzzzs @snuyanzin do you still does it? if not , i will go on

I will continue in the near future

@zzzzzzzs Are you still working on this PR, or should someone take this over?

Since we have not heard in a while from the contributor and we have more advanced solutions, I'll close this PR.

https://github.com/apache/flink/pull/23171
https://github.com/apache/flink/pull/22629


ERROR: UndefVarError: j not defined

julia> using HDF5,JLD;
julia> let
       data =Dict{ASCIIString,Float64}();
       for i =1:4
            setindex!(data,i+100,string(i))
       end
       ks = collect(keys(data))
       for key in ks
             @time  @save string("C:\\Users\\Administrator\\Desktop\\",key,".jld")  data
       end
       end

  1.387835 seconds (579.08 k allocations: 26.744 MB, 0.56% gc time)
  0.003169 seconds (317 allocations: 16.156 KB)
  0.003245 seconds (317 allocations: 16.156 KB)
  0.005763 seconds (317 allocations: 16.156 KB)

but i run these codes,
julia> for j =1:2
             @time @load string("C:\\Users\\Administrator\\Desktop\\",j,".jld")
       end
ERROR: UndefVarError: j not defined

julia> versioninfo()
Julia Version 0.4.0
Commit 0ff703b* (2015-10-08 06:20 UTC)
Platform Info:
  System: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Xeon(R) CPU E5-2630 v2 @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Sandybridge)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.3

thank you very much!

Try generating the filename as a variable outside the loop and then
@eval @load $filename

The @save and @load macros are finicky and, upon my last investigation, seem to actually be impossible to make work as you'd really want them to.
The save and load functions work much more robustly.

thanks!


Pipeable operators.md code sample causing TS compliation errors out of the box

Documentation Related To Component:
pipeableOperators.md
npm list rxjs
+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| | `--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>`--<EMAIL_ADDRESS>
Please check those that apply

[ ] typo
[ ] documentation doesn't exist
[x] documentation needs clarification
[ ] error(s) in example
[ ] needs example

Description Of The Issue
Current example is causing Typescript errors:
const starter = of(1);

const takeEveryNthSimplest = (n: number) => filter((value, index) => index % n === 0);

const takeEveryNthSimple = (n: number) => <T>(source: Observable<T>) =>
  source.pipe(filter((value, index) => index % n === 0 ));

starter.pipe(
  takeEveryNthSimplest(1),
  takeEveryNthSimple(2)
);

result:

simplest doesn't work in my case because i'm try to create a superset operator that encapsulates a few sub-operators

Might be missing something but this seems to work ok to me in stackblitz:
https://stackblitz.com/edit/rxjs-kk8bq1
Are you able to post a stackblitz that reproduces the issue?
Failing that I'm guessing this could be Typescript version related... What version of TS are you on?

@cmeyertons Can you share the code where you tried this? It looks like you have just wrong imports.

May you check in tsconfig if the noStrictGenericChecks flag is set?
We experienced a similar issue and traced it down to this. While this flag was set, TypeScript was not able to infer the typings, instead the return type was an empty object, { }.
We are using typescript 2.9.2