Better result tables

This pr replaces std::vector<std::array> and std::vector<std::vector> as the data type used by result tables to a new IdTable type. This ensures that the result data is always stored dense and makes the templating of operations easier.

@floriankramer somehow your commits look like GitHub sees two identies for you. You might want to check if you have all your mail addresses in your GitHub profile

@floriankramer any idea what killed the QLever instance during the end-to-end tests with the latest changes?

@floriankramer I was able to reproduce this running under gdb
Fri Mar  8 17:14:42.340 - INFO:  ---------- WAITING FOR QUERY AT PORT "7,001" ...
Fri Mar  8 17:14:45.820 - INFO:  Incoming connection, processing...
Fri Mar  8 17:14:45.822 - INFO:  Query:
SELECT ?x SCORE(?t) TEXT(?t) WHERE {
          ?x <is-a> <Scientist> .
          ?t ql:contains-entity ?x .
          ?t ql:contains-word "relati*"
      }
      ORDER BY DESC(SCORE(?t))
ServerMain: /home/schnelle/projects/QLever/src/engine/../index/../engine/IdTable.h:643: void IdTableStatic<COLS>::insert(const iterator&, const iterator&, const iterator&) [with int COLS = 0; IdTableStatic<COLS>::iterator = IdTableImpl<0>::iterator]: Assertion `begin.cols() == cols()' failed.

Thread 2 "ServerMain" received signal SIGABRT, Aborted.
[Switching to Thread 0x7ffff6395700 (LWP 26864)]
0x00007ffff7a91d7f in raise () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff7a91d7f in raise () from /usr/lib/libc.so.6
#1  0x00007ffff7a7c672 in abort () from /usr/lib/libc.so.6
#2  0x00007ffff7a7c548 in __assert_fail_base.cold.0 () from /usr/lib/libc.so.6
#3  0x00007ffff7a8a396 in __assert_fail () from /usr/lib/libc.so.6
#4  0x0000555555dd73fa in IdTableStatic<0>::insert (this=0x7ffff0007b60, pos=..., begin=..., end=...)
    at /home/schnelle/projects/QLever/src/engine/../index/../engine/IdTable.h:643
#5  0x0000555556044245 in Sort::computeResult (this=0x7ffff000bdd0, result=0x7ffff0007b40)
    at /home/schnelle/projects/QLever/src/engine/Sort.cpp:52
#6  0x0000555555ae81b9 in Operation::getResult (this=0x7ffff000bdd0)
    at /home/schnelle/projects/QLever/src/engine/./././Operation.h:52
#7  0x0000555555ae8b81 in QueryExecutionTree::getResult (this=0x7ffff000d560)
    at /home/schnelle/projects/QLever/src/engine/././QueryExecutionTree.h:81
#8  0x0000555555e80c84 in Join::computeResult (this=0x7ffff000b9c0, result=0x7ffff00067a0)
    at /home/schnelle/projects/QLever/src/engine/Join.cpp:103
#9  0x0000555555ae81b9 in Operation::getResult (this=0x7ffff000b9c0)
    at /home/schnelle/projects/QLever/src/engine/./././Operation.h:52
#10 0x0000555555ae8b81 in QueryExecutionTree::getResult (this=0x7ffff000cf20)
    at /home/schnelle/projects/QLever/src/engine/././QueryExecutionTree.h:81
#11 0x0000555556062fca in OrderBy::computeResult (this=0x7ffff00096a0, result=0x7ffff0006590)
    at /home/schnelle/projects/QLever/src/engine/OrderBy.cpp:54
#12 0x0000555555ae81b9 in Operation::getResult (this=0x7ffff00096a0)
    at /home/schnelle/projects/QLever/src/engine/./././Operation.h:52
#13 0x0000555555ae8b81 in QueryExecutionTree::getResult (this=0x7ffff6394ac0)
    at /home/schnelle/projects/QLever/src/engine/././QueryExecutionTree.h:81
#14 0x0000555555adf919 in Server::composeResponseJson[abi:cxx11](ParsedQuery const&, QueryExecutionTree const&, unsigned long) const (this=0x7fffffffaff0, query=..., qet=..., maxSend=100) at /home/schnelle/projects/QLever/src/engine/Server.cpp:324
#15 0x0000555555adda1e in Server::process (this=0x7fffffffaff0, client=0x7ffff6394db0, qec=0x7fffffffadd0)
    at /home/schnelle/projects/QLever/src/engine/Server.cpp:183
#16 0x0000555555add068 in Server::runAcceptLoop (this=0x7fffffffaff0, qec=0x7fffffffadd0)
    at /home/schnelle/projects/QLever/src/engine/Server.cpp:80
#17 0x0000555555b00762 in std::__invoke_impl<void, void (Server::*)(QueryExecutionContext*), Server*, QueryExecutionContext*> (__f=
    @0x5555569fa4d8: (void (Server::*)(Server * const, QueryExecutionContext *)) 0x555555adcf2e <Server::runAcceptLoop(QueryExecutionContext*)>, __t=@0x5555569fa4d0: 0x7fffffffaff0, __args#0=@0x5555569fa4c8: 0x7fffffffadd0)
    at /usr/include/c++/8.2.1/bits/invoke.h:73
#18 0x0000555555afc732 in std::__invoke<void (Server::*)(QueryExecutionContext*), Server*, QueryExecutionContext*> (__fn=
    @0x5555569fa4d8: (void (Server::*)(Server * const, QueryExecutionContext *)) 0x555555adcf2e <Server::runAcceptLoop(QueryExecutionContext*)>, __args#0=@0x5555569fa4d0: 0x7fffffffaff0, __args#1=@0x5555569fa4c8: 0x7fffffffadd0)
    at /usr/include/c++/8.2.1/bits/invoke.h:95
#19 0x0000555555b09865 in std::thread::_Invoker<std::tuple<void (Server::*)(QueryExecutionContext*), Server*, QueryExecutionContext*> >::_M_invoke<0ul, 1ul, 2ul> (this=0x5555569fa4c8) at /usr/include/c++/8.2.1/thread:244
#20 0x0000555555b09732 in std::thread::_Invoker<std::tuple<void (Server::*)(QueryExecutionContext*), Server*, QueryExecutionContext*> >::operator() (this=0x5555569fa4c8) at /usr/include/c++/8.2.1/thread:253
#21 0x0000555555b094aa in std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (Server::*)(QueryExecutionContext*), Server*, QueryExecutionContext*> > >::_M_run (this=0x5555569fa4c0) at /usr/include/c++/8.2.1/thread:196
#22 0x00007ffff7e79063 in std::execute_native_thread_routine (__p=0x5555569fa4c0)
    at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:80
#23 0x00007ffff7f66a9d in start_thread () from /usr/lib/libpthread.so.0
#24 0x00007ffff7b55b23 in clone () from /usr/lib/libc.so.6


ruby 2.0 and above uses minitest

On ruby 2.2, tests were failing.
2.0 uses minitest, but has a backwards compatible test/unit module.
2.2 no longer has this.
Changed over the minitest references to make the tests pass in ruby 2.2 (and 2.0)
/cc @tenderlove @Fryguy @jrafanie

:+1:

LGTM!

@jvlcek I'll remove the second require for minitest
@brandondunne do we need to have those HACK gemspecs?
If it is a hack, can we simply add those lines in the case that we are testing in SCL linux?
Or add it to Gemfile.dev.rb ?

@kbrock can you link to the HACK gemspecs?  Not sure what that means.

:+1: Looks good though.  I'd still like to understand the hack.

Yeah I'd like to understand the HACK as well before merging (I assume any HACK regarding minitest is because Red Hat SCL extracts the minitest gem from Ruby itself)
On that note, @jvlcek, since we use the Ruby SCL, will this be a packaging problem for CloudForms?

@jrafanie there is the phrase "HACK" in our gemspec for testing SCL: https://github.com/kbrock/manageiq/blob/96185fff7dc1ed7f0217f0a08245e80e2cbc2ea8/lib/Gemfile#L64-L65

Hoping @brandondunne can remember, I believe this is because rpm based rubies ripped out minitest as @Fryguy said.  Probably is a specific version because that's the one that shipped with the specific ruby at that time.

I assume rdoc is a similar thing where rpm based rubies are missing some of stdlib.

Since nothing really changed here as far as the Gemfile goes, I am going to merge as is.  We can figure out the HACK stuff later.


Upgrade plan top next version from old version

We need for as save upgrade into the next version do a complete backup.
My idea is create in the master a folder named backup. In this folder we create another one with the timestamp and extra information. Inside this folder we have a complete backup of the cloud.
Thats allows us to upgrade/migrate some stuff from old version into new version. When something is wrong, we can do easy a complete rollback

Please fix your english. I'm not getting the main point...

It is better when the upgrade works always correctly.
We could inform the users on the Discord Server, that they should do a backup before upgrading, but we can't just copy everything, this suddenly increases the disk space consumption immensely, which could cause the server to run out of disk space


Fix grammtical error in Readme

Signed-off-by: Ivan Uy<EMAIL_ADDRESS>Fixes #161

Codecov Report

Merging #162 into master will increase coverage by 0.12%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #162      +/-   ##
=========================================
+ Coverage   54.77%   54.9%   +0.12%
=========================================
  Files          42      42
  Lines        1581    1581
=========================================
+ Hits          866     868       +2
+ Misses        653     651       -2
  Partials       62      62

Impacted Files
Coverage Δ

cmd/probe/udevprobe.go
62.03% <0%> (+1.85%)
:arrow_up:

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 011acfd...febdf01. Read the comment docs.


Composer 2.0 Deprecation Notices

Installed this package this morning and am seeing this warning:
Deprecation Notice: Class YouTrack\BaseObjectTest located in ./vendor/nepda/youtrack-client/test/BaseObjectTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\ConnectionTest located in ./vendor/nepda/youtrack-client/test/ConnectionTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\RoleTest located in ./vendor/nepda/youtrack-client/test/RoleTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\OwnedFieldBundleTest located in ./vendor/nepda/youtrack-client/test/OwnedFieldBundleTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\AgileBoardSettingTest located in ./vendor/nepda/youtrack-client/test/AgileBoardSettingTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\CurrentUserTest located in ./vendor/nepda/youtrack-client/test/CurrentUserTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\TestConnection located in ./vendor/nepda/youtrack-client/test/testconnection.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\WorkitemTest located in ./vendor/nepda/youtrack-client/test/WorkitemTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\VersionTest located in ./vendor/nepda/youtrack-client/test/VersionTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\AttachmentsTest located in ./vendor/nepda/youtrack-client/test/AttachmentTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\ExceptionTest located in ./vendor/nepda/youtrack-client/test/ExceptionTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\IssueTest located in ./vendor/nepda/youtrack-client/test/IssueTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\AutoloadingTest located in ./vendor/nepda/youtrack-client/test/AutoloadingTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201
Deprecation Notice: Class YouTrack\EnumFieldTest located in ./vendor/nepda/youtrack-client/test/EnumFieldTest.php does not comply with psr-0 autoloading standard. It will not autoload anymore in Composer v2.0. in phar:///usr/local/bin/composer/src/Composer/Autoload/ClassMapGenerator.php:201

These will break in Composer 2.0. Wanted to make you aware.

Disregard, saw this was deprecated. Can you archive the project?


Where the ShortCut should be reside?

I will talk about three places where it will could belong according to my order of preference:

On the TextFormatter and in the View.
On the View only.
On the Menu (This going limit the use case of shortcuts than can be used on multiple views)

Please give me suggestions.

On the TextFormatter there are no sense, sorry.

Related: https://github.com/migueldeicaza/gui.cs/issues/944
Whatever you decide, we need to make sure this works. I'm not sure I have a strong opinion yet.

I can guarantee to you it will work better than before, although in unix some combinations won't work at all, mainly Ctrl+Shift and some functions keystroke.

I can guarantee to you it will work better than before, although in unix some combinations won't work at all, mainly Ctrl+Shift and some functions keystroke.

Can you explain the technical reason Ctrl+Shift won't work via Curses? I'm curious to know.

Can you explain the technical reason Ctrl+Shift won't work via Curses? I'm curious to know.

Because the value is always the same no matter the shift key is pressed or not.

Can you explain the technical reason Ctrl+Shift won't work via Curses? I'm curious to know.

Because the value is always the same no matter the shift key is pressed or not.

That's not a very technical description. What value?
I can't tell if this is a limitation of Curses or an underlying Linux/mac issue. For example, is it possible that building a Linux/Mac ConsoleDriver with some other layer OTHER than Curses, could address this? If so, what are our options.
Note, if you don't know that's ok. But we need to find someone who does because much like mouse not working in Windows Terminal, Terminal.Gui looks pretty silly if fundamental things like chorded-key-presses don't work on Linux/Mac.

There may be new versions of ncurses that can better handle keyboard and mouse processing. Anyway, I can already process many key combinations in Linux. What is really bothering me is the fact that the mouse movement is no longer being detected in linux. That is why I suspect that there may be new features of libncurses that need to be explored but I confess that I am not a specialist in linux or mac. I can promise to try to search for solutions and find patience for it.

That's not a very technical description. What value?

For example, pressing Ctrl+A wch return 1 and pressing Ctrl+Shift+A wch also return 1. So we don't have another variable, unlike Windows which has the modifiers keys, to compare and distinguish the difference. The only certain we have is the code 1 really contains the Ctrl key but not the Shift key. Unfortunately it's not possible. See here https://invisible-island.net/ncurses/ncurses.faq.html#modified_keys. It could be possible with the X11 library which read the keys state, but go beyond the GUI objective as console and not as Windows Forms.


IA-547 modules federation

DONE:

removed 6 unused packages
Upgrade to Node 15.14, NPM 7, WEBPACK 5 and Node sass 5
split package json in two and add workspace in the root one
move eslint, prettier, test and co to application folder + fix import issues
adapt webpack dev and prod to allow a plugin with ModuleFederationPlugin
change docker config to copy the new package json
create a standalone react app using webpack 5 as plugin sample => https://github.com/BLSQ/iaso-sample-plugin
fetch plugin in iaso root applilcation, adapt the routes and the sidebar menu with the plugin entries
fail silently if plugin not found or not in the config

Don't forget to remove docker iaso images and container (except DB) to make it work
Don not install packages in the iaso-root folder, module federation will take care of this.
To launch the tests, remove node-modules from the root of the app and run npm intall  then npm run test or npm run test-coverage
TODO:

find a proper way to include the plugin(s) into webpack.dev.js and webpack.prod.js (from python settings)
Use pythoon settings to display or not link to http://localhost:3001/remoteEntry.js in base.htrml template
maybe fix github action
pass feature flags, mui theme, active locale to children and manage translations

If we are going to reorganise everything, maybe we could move the JS app to a top dir? Not sure such a path still make sense hat/assets/js/apps/Iaso/domains/app/components/MenuItemComponent.js or hat/assets/js/apps/Iaso/css/_leafletCluster.scss?

True, although I'd say it's out of scope for this PR, as I reckon it would require checking if nothing breaks in Django

So the docker file should contain the configs of the plugin(s) and pass it to the settings.py.
A plugin config needs to contain:

the plugin name e.g:"test_app" (used in webpack and in iaso main app to fetch plugin config)
the path to use in dev mode to connect the plugin to Iaso   e.g:"http://localhost:3001/remoteEntry.js" (used in base.html in dev mode)

After that we need to find a way to pass this config to webpack.dev.js and webpack.prod.js and generate env variables with the plugin config name so we can import this config into our main app.
Regarding this, we have this issue => https://github.com/webpack/webpack/issues/12167#issuecomment-742644667
@olethanh if you want to have a look, you are welcome.

Just to be sure , does this mean that in dev mode there is going to be two webpack servers the current one at port 3000 and a new one at port 3001? And for each new plugin we will have another one?


Update our Review Guidelines

Would it be better to suggest amendments to the official style guide?  Then maybe write puppet-lint plugins to enforce the agreed style.

@alexjfisher on a long term, yes. But that needs time. I think collecting our opinions in a central place is a good start.


[BUG]

I tryed activate logging in JSON format.
I expected receive logging records in JSON format.
I received data in TEXT format.

I viewed the source code and in file debug/log/os.go I found lost call of function FORMAT. I think the code must be
func (o *osLog) Write(r Record) error {
	o.buffer.Put(o.format(r))
	return nil
}

If you set your logger correctly there's no problem logging in json. What's your full logger setup code?

Here is example code.
import (
	"go-micro.dev/v4/debug/log"
	"go-micro.dev/v4/logger"
)

func main() {
	log.DefaultLog = log.NewLog(
		log.Format(log.JSONFormat),
	)
	logger.Info("hello")
}

I traced execution of program and noticed that JSONFormat function was never called.

I wouldn't use the v4/debug/log logger, see https://github.com/go-micro/plugins/tree/main/v4/logger for various loggers you can use. You can configure them to use JSON logging

Thank you for your help. Have a good day!


Upgrade to py-evm 0.3.0a17

What was wrong?
Wanted the newest py-trie APIs supported in the latest py-evm, to help with backfilling cold state.
Related to #854
How was it fixed?
Upgrade to latest py-evm, and handle new exception.
To-Do

[x] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

Oops, hadn't added the release notes yet. I'll try to remember to put it into a different PR.

Ah, my bad. I put out a PR to fix that https://github.com/ethereum/trinity/pull/1772


picking the value of a field from a filtered array

How can I get just the value of the field out of a filtered array. In the playground example, I am trying to do this
Posts | filter(.ID == 1) | first() | .Title
and end up with
unexpected token Operator(".") (1:38)
 | Posts | filter(.ID == 1) | first() | .Title
 | .....................................^

(Posts | filter(.ID == 1) | first()).Title

Or
let head = Posts | filter(.ID == 1) | first(); head.Title


[Bug report] ASMB and SMR balances gone after 1.51 upgrade

Platform
Desktop
Version
1.51
Description
I upgraded my Firefly walled to 1.51 and when I signed in my ASMB and SMR balances were WAY less than what I earned from my previous staking.
I had over 7k ASMB and now have only 287+
I had over 2B SMR and now have only 71M+
Even by your own ASMB and SMR calculator my balance of 3.55 Gi should be way more...so WHERE did the rest of my rewards go?
Expected behaviour
I expected to see the correct ASMB and SMR balances from the previous staking period.
Actual behaviour
The balances shown are far less than what I had before.
Can the issue reliably be reproduced?
Yes
Steps to reproduce the issue
N/A
Operating System
Windows
Diagnostics
views.dashboard.security.version.title
Language: en
Currency: USD
Node selection: Automatic
Platform: win32
Platform Version: 10.0.19043
Platform Architecture: x64
CPU Count: 8
Total Memory: 65209.5 MB
Free Memory: 58130.5 MB

Developer Profile
No
Profile Type
Software (Stronghold)
Staking
Actively staking
Crash Status
None of the above
Error Messages
N/A
Error Logs
Sat, 19 Feb 2022 15:24:15 GMT
StrongholdError: `failed to perform action: `Engine Error: Crypto Error: `error in algorithm XCHACHA20-POLY1305`, Unable to read snapshot. Please try another password.``

Sat, 19 Feb 2022 15:24:07 GMT
StrongholdError: `failed to perform action: `Engine Error: Crypto Error: `error in algorithm XCHACHA20-POLY1305`, Unable to read snapshot. Please try another password.``

Duplicate declaration

[X] I have searched the issues tracker this issue and there is none

Code of Conduct

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

Hey, did you check in your additional wallets? The rewards for staking are per wallet.
https://user-images.githubusercontent.com/89913787/164184564-ec03ae01-bb1e-4df0-8c92-fc0ebd85acb0.mp4

How do I move them into a single wallet like I did my mIOTA?
On Wed, Apr 20, 2022, 3:25 AM nicole-obrien @.***>
wrote:

Hey, did you check in your additional wallets? The rewards for staking are
per wallet.
https://user-images.githubusercontent.com/89913787/164184564-ec03ae01-bb1e-4df0-8c92-fc0ebd85acb0.mp4
—
Reply to this email directly, view it on GitHub
https://github.com/iotaledger/firefly/issues/2969#issuecomment-1103611022,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX3GOE6NY75CJW2HOQDNIE3VF65NTANCNFSM5T2UWDGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

You can not move the rewards until the respective networks are launched. Did you find the rewards in the additional wallets?


Add Black to pre-commit hook

Add Black to auto-format the python code on the backend to the husky pre-commit hooks in the repo.  This is a Software Factory standard formatting tool for Python code.

Closed with #54


Add function for mapping string to UPriority

@sophokles73 merging his own PRs after approval :muscle:
We are now in the golden age of the up-rust repo


Integrates an HTTP sink

Initial PR to implement an HTTP sink. Supports configurable backoff & retry for different HTTP status codes, and instrumentation.

@benwheeler : thank you for the PR!
According to Travis, there are some missing license headers. Could you please fix them by copy-pasting the first few lines from https://github.com/benwheeler/flume/blob/7b887e19d526b7d72b594723b75c7839e07d1d53/flume-ng-configuration/src/main/java/org/apache/flume/conf/sink/SinkType.java to the files RAT is complaining about?

@benwheeler : sorry for the super-late response.
I have tried building and running Flume with HTTP sink. I received errors. With some try-and-error changes, the following patch seemed to solve the problems and I was able to run the HTTP sink: https://gist.github.com/bessbd/e95a999ba92678304c89d5ea338ae310
After your response, I'll merge this PR.
Thank you

@bessbd I've merged your patch.

@benwheeler : thank you for that! I'm currently doing a last check to make sure the PR is ready for merging.

Looks good to me, +1
I'm about to commit this

@benwheeler : thank you for the patch!

@meou , @jholoman : thank you for the reviews!

Just for future reference: I was using https://gist.github.com/bessbd/1322f6cca8f2f62d6a15fda2b8e02718 as an echo server and https://gist.github.com/bessbd/031f464a45b4c7f768890267a9f40f4c for config


Ensure that tooltip ID is always unique

We saw a flaky test in dotcom that complained that a tooltip with the same ID appeared twice.
(Related: https://github.com/github/github/issues/250695)
We think it's possible the logic in tool-tip.ts that generates "unique" id when it's not explicitly set, isn't duplicate proof:
      this.id = `tooltip-${Date.now()}-${(Math.random() * 10000).toFixed(0)}`

Could we make strengthen this logic?
Related: https://github.com/github/github/issues/250695

When looking into this, let's verify that unique ID generation matches in our other components

@neall this bug came up while we were triaging new issues in Primer ViewComponents. Are you interested in taking a closer look as a breather between some of the forms framework efforts? Feel free to reach out to @camertron when you pick this up if you want a pairing partner!


Warning

Thanks for your works，in practice，I meet the warning
“The entity in the other sentence is mentioned. This argument will be ignored”
Can you help me out

I also have this problem

same problem

same problem

This warning appears when event arguments are in the different sentences from the trigger's. If you want to recall those arguments, you can use your own sentence splitting method.
Since those discarded arguments are no longer considered as the ground truth arguments, this should not affect the training and evaluation.


TypeScript decorators not recognized

VSCode Version: 1.5.3
OS Version: Ubuntu 16.04

Steps to Reproduce:

Install angular-cli
Run ng new myproject
Create a new service: cd myproject && ng g service myservice
Open the generated project in VSCode and open the myservice.service.ts file

Decorated service not recognized (see img, two examples of decorators not recognized: @Injectable and @Inject)

Check list:

"experimentalDecorators": true in tsconfig.json

@jorgeas80 thank you for opening this issue (clearly we're not working well with angular-cli :) ).
@dbaeumer could use your thought on this. Is this a TS Server bug or is there something unique we do for decorators?

@waderyan decorators are a TS feature and therefore a tsserver problem. However in this specific case I am pretty sure that the reason is a missing tsdk setting. Angular cli requires TS 2.0.x and VS Code 1.5.3 still ships with 1.8.10.

Thanks @dbaeumer.
@jorgeas80 can you try with the daily build of VS Code called Insiders? You can download it here.

Hi @waderyan,
It's working with the insider version. Great work! And sorry for the delay.

Great thank you.


Cache Changes to Improve Overall PushPull/MongoDB Performance

Description:
Currently, PushPull RPC always queries MongoDB, resulting in overhead. To reduce this overhead and improve the response time of PushPull RPC, we can consider implementing a caching mechanism for Changes or Snapshot data used in PushPull operations. These data have high locality due to the nature of CRDT use cases and are immutable, making them suitable for caching.
Why:
Implementing a cache for Changes or Snapshot data will optimize MongoDB performance and reduce response time for PushPull RPC operations. It will help improve overall system efficiency and user experience while working with PushPull functionalities.

@krapie
Kevin, I'm interested in this issue
so, i want to conversation with you. do you have any idea in caching strategies?

What is the primary goal?

Reducing user response time
Reducing the load on MongoDB

What exactly are you caching?

Changes and Snapshots?

When does caching occur?

I think caching could be based on WatchDoc (deleting documents after they are no longer watched).
However, to prevent immediate deletion even if the gRPC connection is temporarily lost, I believe a basic TTL (Time-to-Live) would be necessary.
Similar to GC, unnecessary change caches could be removed using min_synced_seq.
If the cache size exceeds its limit, we would need a more thoughtful expiration strategy. However, I believe a strategy that favors documents frequently used by a large number of users would be beneficial.
I think the real-time performance of the cache is crucial. As far as I know, locking is based on the API, so if caching occurs after the first WatchDoc request, subsequent requests should receive the cached results, which should prevent any issues.

What strategies are you considering? Briefly, if the goal is to reduce user response time, a local cache might be more suitable.

Global Cache:

This could reduce the load on MongoDB or the time spent retrieving data from the server where the data is stored.
However, the communication time between servers would likely remain similar.
Storing all Changes and Snapshots in a single server's memory could consume a lot of memory.
If the main bottleneck is communication time, caching might be ineffective.
Nevertheless, this could be easier to implement and might be suitable if the primary goal is to reduce the load on the MongoDB application.

Local Cache:

With no external IO, user response time could be significantly faster.
Data is stored in the cache and periodically pushed to the database. (In this design, some changes could be lost if the server unexpectedly shuts down.)
If based on WatchDoc, a Thundering Herd problem could occur during server additions or downs, leading to split-brain scenarios. (However, this may not be a critical issue depending on the number of users.)

@binary-ho Well, this issue is just a conceptual thought that I have, and I think we need to discuss about the necessity and the benefits of this feature. But this is a very fun issue to discuss, so maybe starting with PoC might do.
For your questions:

What is the primary goal?

Reducing the load of MongoDB is the primary goal, but I'm expecting reduced response time as well.

What exactly are you caching?

Primary Changes, but need to check MongoDB query pattern.

When does caching occur?

About the caching strategy, we need to brainstorm about it. I do not have any ideas for now.

What strategies are you considering? if the goal is to reduce user response time, a local cache might be better

I'm considering local in-memory caching because we do not need global caching in cluster mode, which do not share document workload across the servers.


Reduce ui coupling

There were a couple things that actually matched the PR name, but the I got distracted :)


[Feature Request] Add double page in reader (from J2K)

When its bug free, yoink it
What/Requirements
As is Sy tradition

Addressed with https://github.com/jobobby04/TachiyomiSY/commit/3053bf9d5dc189e871cec1653ddc2f1ea113ab7f


UpdateWindow readjustments

-Update window now looks a bit better and text should no longer get clipped.

Fixes were moved to another pull request that had no merge conflicts.


Allow more flexibility with version of NumPy

tellurium requires a specific version of NumPy. If this isn't strictly necessary, it would be helpful to make this more flexible (e.g, numpy>=1.19.3 so tellurium can be composed with a wider range of packages.

Fixed!


Use 'is' or 'is not' for comparisons to None

(cherry picked from commit 124f130)

Comparisons to singletons like None should always be done with is or is not, never the equality operators.

@delirious-lettuce - Thanks you for the pull request. When I try running the unit tests, with these changes, I get nine failures. I suspect this is due to the fact that == can be overridden by a magic method where is can not.

@TobyRoseman ,
Hmm, I'll go and take a look and see if I can figure out which ones are causing this issue.

Thanks for the commit @delirious-lettuce! I think @TobyRoseman is right and the problem is for cases where SFrame overloads the == operator. I will run the tests...

@gustavla ,
No problem! Thanks for pointing them out!
Sorry for the delay, I've been setting up a new computer and was having trouble getting the project setup properly on Windows. Should have my Ubuntu virtual machine ready in a few minutes.

Thanks @delirious-lettuce! I ran the full test suite and I'm finding a few more places that need to be reverted. I'll add comments to the lines as I find them.

Sure, sounds good! I'll fix them ASAP.
On Tue, Dec 12, 2017 at 10:55 AM, Gustav Larsson<EMAIL_ADDRESS>wrote:

Thanks @delirious-lettuce https://github.com/delirious-lettuce! I ran
the full test suite and I'm finding a few more places that need to be
reverted. I'll add comments to the lines as I find them.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apple/turicreate/pull/49#issuecomment-351131664, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AXXfJUCynu5B-O0k29wRuw7ynNtHGHYyks5s_r38gaJpZM4Q8l1V
.

@gustavla ,
Thanks again for all your help!


update the changelog for 0.2.1 release

Fix syntax issue in copyright workflow

Current dependencies on/for this PR:

main

PR #167   👈

This comment was auto-generated by Graphite.


[shardformer] update opt and llama to use coloattention.

📌 Checklist before creating the PR

[x] I have created an issue for this PR for traceability
[x] The title follows the standard format: [doc/gemini/tensor/...]: A concise description
[x] I have added relevant tags if possible for us to better distinguish different PRs

🚨 Issue number

Link this PR to your issue with words like fixed to automatically close the linked issue upon merge
e.g. fixed #1234, closed #1234, resolved #1234

#4184
📝 What does this PR do?

Summarize your work here.
if you have any plots/diagrams/screenshots/tables, please attach them here.

update opt to use coloattention.
💥 Checklist before requesting a review

[x] I have linked my PR to an issue (instruction)
[x] My issue clearly describes the problem/feature/proposal, with diagrams/charts/table/code if possible
[x] I have performed a self-review of my code
[x] I have added thorough tests.
[x] I have added docstrings for all the functions/methods I implemented

⭐ Do you enjoy contributing to Colossal-AI?

[ ] 🌝 Yes, I do.
[ ] 🌚 No, I don't.

Tell us more if you don't enjoy contributing to Colossal-AI.

All tests have passed.


New Handler:ChatWork, chatwork.rb and chatwork.json add

This is the handler of chatwork. The chatwork is chat service .
https://www.chatwork.com

I'm sorry. Procedure method was incorrect .


One line fix for Intel 19.1.2

I built the infrastructure directory as part of another project using Intel 19.1.2 and that compiler could not deal with partial struct initialization when a non-POD datatype was involved. This small change seemed to placate the compiler.

Codecov Report

Merging #956 (2af8fd2) into develop (6b8c563) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff            @@
##           develop     #956   +/-   ##
========================================
  Coverage    89.23%   89.23%
========================================
  Files          141      141
  Lines        10554    10554
========================================
  Hits          9418     9418
  Misses        1136     1136

Impacted Files
Coverage Δ

src/serac/infrastructure/input.cpp
81.93% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


SVG spritesheet cleanup

Most of our SVG graphics have been switched over to symbols, which are more flexible because you can <use> them anywhere in the code, and you don't have to keep track of their exact positions in the spritesheet, and you can change their styling on the fly, etc.
A few SVG graphics still use the old-style background image trick, and it's mostly the graphics in the walkthrough and some of the modal and social buttons.
Tracking here that I should:

[x] switch the remaining graphics to symbols and change the parts of the code to <use> them
[ ] which lets us split all the svg source images into separate files and do away with the brittle spritesheet and idraw file

This was done for the poi- icons.. They're here now:  https://github.com/bhousel/temaki


container-selinux

What happened:
On latest version of AMI creation SELinux is no longer working.
What you expected to happen:
SELinux to operate as previous versions have worked with SELinux enabled. It appears the package container-selinux is missing from the system and repos.
How to reproduce it (as minimally and precisely as possible):
Create worker nodes with SELinux in an enforcing state. I.e. seconfig
vi /etc/selinux/config
SELINUX=enforcing
SELINUXTYPE=targeted
Anything else we need to know?:
Workaround:
sudo yum -y install selinux-policy-devel policycoreutils
cat << EOF > local_runc.te
module local_runc 1.0;
require {
type unlabeled_t;
type unconfined_service_t;
class key create;
}
allow unconfined_service_t unlabeled_t:key create;
EOF
make -f /usr/share/selinux/devel/Makefile local_runc.pp
sudo semodule -i local_runc.pp

Environment:

AWS Region: us-east-1
Instance Type(s): m5.large
EKS Platform version: eks.1
Kubernetes version : 1.16
AMI Version: amazon/amazon-eks-node-1.16-v20200507

My understanding is this should be resolved; If this is still an issue on the latest AMI's, please open a new issue with updated Environment.


[ISSUE] State of entity lost when HA restart

Hello,
Like I said on my previous issue thanks for your works it's help me to remove mqtt and use direct integration. I have just an issue it's lost state of entity when home assistant restart. I known home assistant did not handle well that on restart but I thinks it's possible to keep value (I don't known how but I'am pretty sure some integration do that).
Thanks in advance if you can add this.

This issue has been resolved in release v1.0.0. 🎉
Please refer to the release notes for detailed information on the updates and improvements.
Feel free to test the latest version and share your feedback!


Add Support for Pendle Assets as Collateral in CDPVaults

Summary:
This pull request introduces support for Pendle assets as collateral within our CDPVaults. The following new contracts and updates have been added to the scope of the audit:

New Contracts:

PositionActionPendle: A contract enabling interactions with Pendle assets, allowing them to be used as collateral.
PendleLPOracle: An oracle contract to fetch and validate the price of Pendle Liquidity Pool (LP) tokens.

Test Contracts:

Added new test contracts to ensure the proper functioning of the newly integrated Pendle assets and the associated logic.

Auxiliary Contract Updates:

Minor updates have been made to existing auxiliary contracts to support the integration of Pendle assets.
Affected contracts: PoolAction, SwapAction

Please run this command to install the newly added dependencies.
forge install

@amarcu a few tests are failing (all dependencies are up to date), they all have "Pendle" in their name
Is a setup instruction missing besides forge install? I'm using my Alchemy account's MAINNET_RPC_URL

@amarcu a few tests are failing (all dependencies are up to date), they all have "Pendle" in their name
Is a setup instruction missing besides forge install? I'm using my Alchemy account's MAINNET_RPC_URL

Alright, I was using my Infura RPC instead of Alchemy and it seems like it didn't agree
Everything is passing now 👍


Dist files are using export * ... fails to compile with webpack 4

Error from: @streamparser/json/dist/mjs/index.js 4:9

Hi @zibra ,
There are plenty of people out there using this package with webpack.
As the error says, it looks like your compiler is doing misconfigured somehow.
If you are using es6 modules, then it's expected that dist/mjs modules are used.
If you are using commonjs modules, then it's expected that dist/cjs modules are used.
I don't see any issue based on the info that you have provided.

webpack 4 not support "export * as..." syntax; webpack 5 support it
https://stackoverflow.com/questions/74717884/webpack-cannot-compile-file-that-uses-export-as-something

if you use vue-cli-service, this is solution

use this babel plugin
https://babeljs.io/docs/babel-plugin-transform-export-namespace-from
compile node_modules

// vue.config.js
{
...
 transpileDependencies: [/@streamparser\/json/],
}


feat(#100): remove 'prints' method from AstNode

Remove 'prints' method from AstNode since we don't use it anymore.
Closes: #100.

History:

feat(#100): remove old decompilation to pseudo-code
feat(#100): simplify most of the unit tests
feat(#100): optimize imports

PR-Codex overview
This PR focuses on removing the print() method from several classes and updating the code to use the toXmir() method instead.
Detailed summary

Removed print() method from Reference, Label, ClassField, StoreArray, Mul, Add, Opcode, InstanceField, WriteField, This, StoreLocal, ArrayConstructor, StaticInvocation, Variable, Literal, Substraction, Invocation, and Constructor classes.
Updated code to use the toXmir() method instead of print() method in the above classes.

The following files were skipped due to too many changes: src/main/java/org/eolang/opeo/ast/Constructor.java, src/main/java/org/eolang/opeo/ast/Super.java, src/test/java/org/eolang/opeo/ast/OpcodeTest.java, src/main/java/org/eolang/opeo/ast/AstNode.java, src/test/java/org/eolang/opeo/decompilation/DecompilerMachineTest.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 4min)


getting dark theme toggling working

The only thing I was unsure about was how to wire everything up in the containers/App component so the "dark" class was toggled on and off. I referenced some of the other components that were connected to the redux store and did the same to the app component. Everything seems to be working nicely now when you press ctrl+t for the theme change 🙂
#3

Quite perfect, thank you!


Point to right directory where Hycom data is stored

Do not merge yet.
There are a couple of things that need fixing:

Data for testing I can provide with a test file with HyCOM data output, and a test for opening / creating the ospy object with such data.

Decode variables. This is an issue that I have been having with this dataset when trying to make simple plots. Right now, the dataset is created with the xarray argument decode_cf=False (see intake catalog). As a result, both the time and variables do not have the proper format, e.g. salinity and temperature are not corrected for scale_factor, offset_value and missing_value . The problem with decode_cf=True when creating the dataset (it usually corrects this scale and offset vals) is that it gives an error because the time has 'encoding' that xarray doesn't like...

setting decode_cf=True when creating the dataset yields
ValueError: Unable to parse date string 'analysis'
During handling of the above exception, another exception occurred:

ValueError: unable to decode time units 'hours since analysis' with 'the default calendar'.
Try opening your dataset with decode_times=False or installing cftime if it is not installed.

if I manually create the dataset with decode_cf=False and then do
ds = xr.decode_cf(ds, use_cftime=True)

I get the same error
ValueError: unable to decode time units 'hours since analysis' with 'the default calendar'.
Try opening your dataset with decode_times=False or installing cftime if it is not installed.

If we leave decode_cf=False, the time variable is an array of floats64
time 1.731e+05 1.731e+05 ... 1.741e+05

I think this error is related to that in https://github.com/pydata/xarray/issues/521
do you have a suggestion for decoding the dataset correctly when reading from intake catalog?
Reading the dataset with decode_cf=False and doing ds.time yields
long_name :    Valid Time
units :    hours since 2000-01-01 00:00:00
time_origin :    2000-01-01 00:00:00
calendar :    gregorian
axis :    T

Thanks Miguel. @malmans2 can you comment on the data formatting issue?

I don't think the time coordinate is the issue. Maybe there's another variable with attributes that are not CF compliant? The attributes of time look in good shape, so there should be another variable with attribute hours since analysis.
If that's the case, you have a few options:

If the variables creating issues are not useful, ignore them using the drop_variables argument of open_dataset
Edit the file attributes and make them CF-compliant (i.e., replace hours since analysis with hours since YYYY-MM-DD hh:mm:ss)
If you don't want to edit the raw files, use the preprocess argument of open_dataset and update the attributes while reading
If there's no way to make the attributes CF-compliant, use preprocess to decide which variable decode (i.e., apply decode_cf only to a subset of variables

BTW, I don't think it would work in your case, but I often use the argument decode_timedelta=False to avoid problems with variables such as ice age. It's easy to test though!

All good suggestions. I'll work on these and report back.

Ok, figured out what variable was causing trouble (tau, which only has dimensions of time). Dropped it and now I can load the dataset while setting Decode_cf=True.
@malmans2 Now that we can proceed with this pull request, I need to send you a test dataset (nc) along with its intake file, right? This in order to add a test that it can open and create the ospy object.
The location and format (e.g. single zarr file) will likely change, but this should be merged in the next couple of days after the changes are done...

@malmans2 Now that we can proceed with this pull request, I need to send you a test dataset (nc) along with its intake file, right? This in order to add a test that it can open and create the ospy object.

Yes, but maybe it's better if we move the data in yours (or @asiddi24 @ThomasHaine @renskegelderloos ) onedrive? So basically add your data, move to another onedrive, and change the url here: https://github.com/hainegroup/oceanspy/blob/master/oceanspy/tests/conftest.py

Yes, but maybe it's better if we move the data in yours (or @asiddi24 @ThomasHaine @renskegelderloos ) onedrive? So basically add your data, move to another onedrive, and change the url here: https://github.com/hainegroup/oceanspy/blob/master/oceanspy/tests/conftest.py

I agree. For the time being we can move it to my onedrive and figure out later a more stable long-term location.

@malmans2 I am getting this error where during testing oceanspy can't find the hycom_test.nc file. The error is in the .yaml file I sent you. I think the correct location should be
urlpath: ./oceanspy/tests/Data/hycom_test.nc

could you fixed it on the hycom_test.yaml file?

@Mikejmnez Done!

@Mikejmnez Done!

Awesome! If everything looks good, you can merge now. I figured what was causing trouble with decode_cf=True, the variable tau which is only time dependent and now important  for now so it has been removed.

Great! Merging...


upgrade dbeaver-community to 3.8.1 version

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for your contribution.

Thanks


Feature Request: An option to remove transition animation

Hi,
I was reviewing your latest changes and it's going good. Can you consider adding an option to disable pop up animation for bottom-sheet?

Now you can just pass empty arrow functions to disable or customize animation
example:
<Sheet
    v-model:visible="second"
    :handle-animation-enter="() => { }"
    :handle-animation-leave="() => { }"
>
     a sheet without animation
</Sheet>


[Feature request] Filter by Perceived File Type

menu(type='file' title="Menu")
{
  item(perceived='text' title="Item")
}

default list: image, audio, video, compressed, document, system, application, gamemedia, contacts

You can create a variable for each type and use it like this:
var
{
    images='.png|.jpg|.ico'
    videos='.mp4|.avi|.wmv'
}

dynamic
{
    // This item will only appear for image files of the specified type
    item(type='file' find=images title='open image')

    // This item will only appear for videos files of the specified type
    item(type='file' find=videos title='open video')
}

very well done! i was looking to take advantage of the PerceivedType registry value but that works too


Non-virtual destructor

Add virtual here:
https://github.com/mherb/kalman/blob/master/include/kalman/LinearizedMeasurementModel.hpp#L75
https://github.com/mherb/kalman/blob/master/include/kalman/LinearizedSystemModel.hpp#L76

Thanks for pointing this out! I have added virtual base constructors.


App periodically stops working

I have two Android devices, one Nokia 8.1 and one Samsung S20 FE 4G. On the Nokia Smittestopp works flawlessly, but on the Samsung the app periodically stops working and "Smittestopp har stoppet å virke, trykk for å reaktivere" shows up in the notifications. I have tried disabling battery optimisation for the app, but the problem still remains. Looking at the reviews on Google Play it also seems like a few other people are experiencing the same issue, notably those with OnePlus phones.

Experiencing this myself on Android 10 Huawei P30 Pro.
However each time I open the app it seems to still be running if not opening the app is enough to re-enable it.
I'm getting this maybe 1-2 times every 2 days or so.

This could be a Huawei thing for me at least as their battery manager is know to break stuff as it is really intense.

Experiencing this myself on Android 10 Huawei P30 Pro.
However each time I open the app it seems to still be running if not opening the app is enough to re-enable it.
I'm getting this maybe 1-2 times every 2 days or so.

This could be a Huawei thing for me at least as their battery manager is know to break stuff as it is really intense.

@nc-kano Hi have you registered this bug in Azure devops yet?
@joveice @huaracheguarache Hi thanks for your report. We will investigating it further.

@nc-kano Hi have you registered this bug in Azure devops yet?
@joveice @huaracheguarache Hi thanks for your report. We will investigating it further.

@CUSL78 There is toolkit issue for it

@CUSL78 There is toolkit issue for it

Hello, according to this blog-post for German team,

When you switch on the prioritized background activity on some Android devices, the battery optimization for the Corona-Warn-App is not turned off on OS level. This is a known limitation for a limited number of Android devices. To turn off the battery optimization accordingly, restart your device.

Can you see restart will resolve the issue on the devices you have @joveice, @huaracheguarache
We are following closely on this issue that is a known "trouble area" for ENF apps on Android due to diversity of OEMs.
Thank you.

Hello, according to this blog-post for German team,

When you switch on the prioritized background activity on some Android devices, the battery optimization for the Corona-Warn-App is not turned off on OS level. This is a known limitation for a limited number of Android devices. To turn off the battery optimization accordingly, restart your device.

Can you see restart will resolve the issue on the devices you have @joveice, @huaracheguarache
We are following closely on this issue that is a known "trouble area" for ENF apps on Android due to diversity of OEMs.
Thank you.

@pavshr Ok, just rebooted the Samsung and double checked that battery optimisation is disabled for Smittestopp. Will get back to you if the app stops again.

@pavshr Ok, just rebooted the Samsung and double checked that battery optimisation is disabled for Smittestopp. Will get back to you if the app stops again.

@pavshr Unfortunately the app stopped working again during the night, and I had to tap the notification to reactivate it.

@pavshr Unfortunately the app stopped working again during the night, and I had to tap the notification to reactivate it.

@huaracheguarache
Can you please verify that you have done all of these steps?

Disable Put unused apps to sleep
Disable Auto-disable unused apps
Remove Smittestopp from the list of sleeping apps
Disable background restrictions for Smittestopp

@huaracheguarache
Can you please verify that you have done all of these steps?

Disable Put unused apps to sleep
Disable Auto-disable unused apps
Remove Smittestopp from the list of sleeping apps
Disable background restrictions for Smittestopp

@huaracheguarache
I had done all this and rebooted before I commented, but for my end I think maybe 2 days after I commented here the problem was gone. I have not had it since.

@huaracheguarache
I had done all this and rebooted before I commented, but for my end I think maybe 2 days after I commented here the problem was gone. I have not had it since.

@huaracheguarache
I had done all this and rebooted before I commented, but for my end I think maybe 2 days after I commented here the problem was gone. I have not had it since.

@huaracheguarache
I had done all this and rebooted before I commented, but for my end I think maybe 2 days after I commented here the problem was gone. I have not had it since.

@jonasofrich

Can you please verify that you have done all of these steps?
* Disable Put unused apps to sleep

Ok, I hadn't done this, but it's disabled now.

* Disable Auto-disable unused apps

This option is not available on Android 11 as far as I know.

* Remove Smittestopp from the list of sleeping apps

I've previously added Smittestopp to the list of apps that never sleep, and it's staying there unless you say that I should remove it.

* Disable background restrictions for Smittestopp

The app is already allowed to work in the background.
I rebooted the phone and opened the app to make sure that it's working. You'll hear from me again if it stops working or if this solves the issue.

@jonasofrich

Can you please verify that you have done all of these steps?
* Disable Put unused apps to sleep

Ok, I hadn't done this, but it's disabled now.

* Disable Auto-disable unused apps

This option is not available on Android 11 as far as I know.

* Remove Smittestopp from the list of sleeping apps

I've previously added Smittestopp to the list of apps that never sleep, and it's staying there unless you say that I should remove it.

* Disable background restrictions for Smittestopp

The app is already allowed to work in the background.
I rebooted the phone and opened the app to make sure that it's working. You'll hear from me again if it stops working or if this solves the issue.

@jonasofrich Unfortunately I got a notification today that Smittestopp has stopped. While the notification was active I noticed that Smittestopp was performing an exposure check. I don't know if this is useful info, but I thought I should add it.

@jonasofrich Unfortunately I got a notification today that Smittestopp has stopped. While the notification was active I noticed that Smittestopp was performing an exposure check. I don't know if this is useful info, but I thought I should add it.

This is being handled as a bug by the app development team.
Resolving the bug is in progress.

This is being handled as a bug by the app development team.
Resolving the bug is in progress.

Closing this, as it should be resolved by #269
@huaracheguarache Please feel free to verify this and report back if you still experience this.

Closing this, as it should be resolved by #269
@huaracheguarache Please feel free to verify this and report back if you still experience this.

I can confirm that everything appears to be working as it should now. Thanks!

I can confirm that everything appears to be working as it should now. Thanks!

I seem to still get this every once in awhile.

I seem to still get this every once in awhile.


Why the loss is very big

When I training icnet, why the loss is very big.

did u fix the problem yet？

did u fix the problem yet？
I met the same problem, did u fix it?

did u fix the problem yet？
I met the same problem, did u fix it?

loss:
    name: 'cross_entropy'
    size_average: True

change the size_average into True.


Can you add CIS Benchmark Version 1.4 related test cases ?

Is your feature request related to a problem? Please describe.
Current version  of Prowler is CIS benchmark is 1.2  which is outdated. Can we have a plan to integrate 1.4 ?
Describe the solution you'd like
Update new test cases as part of CIS Foundation benchmark version 1.4.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Hi @ankitloud, actually Prowler covers CIS v1.3 but we don't have updated or documentation yet.
The only change I've noticed in CIS v1.4  is that 1.12 Ensure credentials unused for 45 days or greater are disabled has changed from 90 days to 45 days. We are going to modify this in Prowler soon.
Do you have noticed any other CIS check that is not included in Prowler?
CIS_Amazon_Web_Services_Foundations_Benchmark_v1.4.0.pdf


Implement a dedicated swift test codecov command

Tracks work to implement a dedicated code coverage subcommand of swift test that can:

Show the path to code coverage files (existing --show-codecov-path option)
Collate .profraw files on demand
Present insights from code coverage (e.g. percentages of modules/files covered) in a human-readable form

@Sajjon has done some work in #7497 in this direction.


Add KNN and approx KNN to gnn_link.py

Hi @Kh4L, we have now added guidelines to contribute tasks to RelBench. If you are interested in contributing the task from this PR, please open a new PR following the steps here: https://github.com/snap-stanford/relbench/blob/main/CONTRIBUTING.md


Only fetch unresolved issues

When fetching issues from SonarQube, we should only fetch unresolved issues. This will avoid showing issues which were discovered in previous runs with the same "PR" ID but have since been resolved and are no longer issues.

Testing done

Tested manually in our local environment.
Submitter checklist

[x] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[x] Ensure that the pull request title represents the desired changelog entry
[x] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[x] Ensure you have provided tests - that demonstrates feature works or fixes the issue

Actually, this PR may still have some issues. Working through them now. Please do not merge yet.

@reda-alaoui, this has been fully tested locally now and resolves our issue nicely. I've also added an automated test to verify the requests that are being sent to SonarQube. Please review when you are able.

@mtughan , unit tests have low value in this case. Please write an integration test instead.

@mtughan , unit tests have low value in this case. Please write an integration test instead.

Testing an integration test now. Will request review again when I've confirmed it as working (am having issues running it locally).

@reda-alaoui, PullRequestAnalysisTest doesn't seem to be getting executed in the PR runs, either on Linux or on Windows. Any idea why that would be?
12:48:56  [INFO] Running org.jenkinsci.plugins.sonargerrit.sonar.pull_request_analysis.PullRequestAnalysisTest
12:50:12  [INFO] Tests run: 0, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 75.834 s - in org.jenkinsci.plugins.sonargerrit.sonar.pull_request_analysis.PullRequestAnalysisTest

@mtughan , I am currently investigating this.

@mtughan please rebase on master to retrieve https://github.com/jenkinsci/sonar-gerrit-plugin/commit/d12b9889389d19599e1635ea4c6c86ead376d0da .

@mtughan please rebase on master to retrieve d12b988 .

Will do, thanks.

As a user of this plugin, I'd like to pledge my support for this PR. It would be great to avoid it posting resolved comments. :)

@reda-alaoui, the integration test is fixed and demonstrating that the change works as expected now. Please review when you are able.


Regression in PowerShell 7.4.2 on macOS prevents starting due to incorrect capitalization of file names on case sensitive file systems

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Reproduction requires a case-sensitive file system.
I'm experiencing this issue on macOS 14.4.1 (23E224) on ARM.
This is a regression since 7.4.1, reinstalling 7.4.1 via Homebrew works fine:
brew install --cask https://github.com/Homebrew/homebrew-cask/raw/5d03ce3401e2e5c606d1c7f499ddbc1799455aea/Casks/p/powershell.rb

On 7.4.1, /usr/local/microsoft/powershell/7/libsystem.native.dylib does not exist, but /usr/local/microsoft/powershell/7/libSystem.Native.dylib does.
Diff of files in /usr/local/microsoft/powershell/7
diff --git a/ps-7.4.1 b/ps-7.4.2
index d0f3a8b..5009c97 100644
--- a/ps-7.4.1
+++ b/ps-7.4.2
@@ -40,10 +40,6 @@
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/Microsoft.PowerShell.PSResourceGet.psm1
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/Notice.txt
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/PSGet.Format.ps1xml
-/usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/_manifest/spdx_2.2/bsi.json
-/usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/_manifest/spdx_2.2/manifest.cat
-/usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/_manifest/spdx_2.2/manifest.spdx.json
-/usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/_manifest/spdx_2.2/manifest.spdx.json.sha256
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/dependencies/Microsoft.Bcl.AsyncInterfaces.dll
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/dependencies/Newtonsoft.Json.dll
 /usr/local/microsoft/powershell/7/Modules/Microsoft.PowerShell.PSResourceGet/dependencies/NuGet.Commands.dll
@@ -406,13 +402,6 @@
 /usr/local/microsoft/powershell/7/ko/Microsoft.CodeAnalysis.resources.dll
 /usr/local/microsoft/powershell/7/ko/System.Private.ServiceModel.resources.dll
 /usr/local/microsoft/powershell/7/ko/System.Web.Services.Description.resources.dll
-/usr/local/microsoft/powershell/7/libSystem.Globalization.Native.dylib
-/usr/local/microsoft/powershell/7/libSystem.IO.Compression.Native.dylib
-/usr/local/microsoft/powershell/7/libSystem.IO.Ports.Native.dylib
-/usr/local/microsoft/powershell/7/libSystem.Native.dylib
-/usr/local/microsoft/powershell/7/libSystem.Net.Security.Native.dylib
-/usr/local/microsoft/powershell/7/libSystem.Security.Cryptography.Native.Apple.dylib
-/usr/local/microsoft/powershell/7/libSystem.Security.Cryptography.Native.OpenSsl.dylib
 /usr/local/microsoft/powershell/7/libclrgc.dylib
 /usr/local/microsoft/powershell/7/libclrjit.dylib
 /usr/local/microsoft/powershell/7/libcoreclr.dylib
@@ -421,6 +410,13 @@
 /usr/local/microsoft/powershell/7/libmscordaccore.dylib
 /usr/local/microsoft/powershell/7/libmscordbi.dylib
 /usr/local/microsoft/powershell/7/libpsl-native.dylib
+/usr/local/microsoft/powershell/7/libsystem.globalization.native.dylib
+/usr/local/microsoft/powershell/7/libsystem.io.compression.native.dylib
+/usr/local/microsoft/powershell/7/libsystem.io.ports.native.dylib
+/usr/local/microsoft/powershell/7/libsystem.native.dylib
+/usr/local/microsoft/powershell/7/libsystem.net.security.native.dylib
+/usr/local/microsoft/powershell/7/libsystem.security.cryptography.native.apple.dylib
+/usr/local/microsoft/powershell/7/libsystem.security.cryptography.native.openssl.dylib
 /usr/local/microsoft/powershell/7/mscorlib.dll
 /usr/local/microsoft/powershell/7/netstandard.dll
 /usr/local/microsoft/powershell/7/pl/Microsoft.CodeAnalysis.CSharp.resources.dll

Expected behavior
PowerShell 7.4.2
PS /Users/myuser>

Actual behavior
Error message: Unable to load shared library 'libSystem.Native' or one of its dependencies. In order to help diagnose loading problems, consider setting the DYLD_PRINT_LIBRARIES environment variable:
dlopen(/usr/local/microsoft/powershell/7/libSystem.Native.dylib, 0x0001): tried: '/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file), '/usr/local/microsoft/powershell/7/libSystem.Native.dylib' (no such file)
dlopen(libSystem.Native.dylib, 0x0001): tried: 'libSystem.Native.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibSystem.Native.dylib' (no such file), '/usr/lib/libSystem.Native.dylib' (no such file, not in dyld cache), 'libSystem.Native.dylib' (no such file), '/usr/local/lib/libSystem.Native.dylib' (no such file), '/usr/lib/libSystem.Native.dylib' (no such file, not in dyld cache)
dlopen(/usr/local/microsoft/powershell/7/liblibSystem.Native.dylib, 0x0001): tried
Failed to create CoreCLR, HRESULT: 0x80131524

Error details
No response
Environment data
PS /Users/myuser> $PSVersionTable  # something like this

Name                           Value
----                           -----
PSVersion                      7.4.2
PSEdition                      Core
GitCommitId                    7.4.2
OS                             Darwin 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:10:42 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6000
Platform                       Unix

Visuals
No response

This looks like a problem with the tar
% gunzip < powershell-7.4.2-osx-arm64.tar.gz | tar tvf - | grep libsystem.native.dylib
-rw-r--r--  0 runner staff  159600 10 Apr 00:31 libsystem.native.dylib

Also looks like a problem with the pkg
% xar -xf powershell-7.4.2-osx-arm64.pkg
% gunzip < powershell-7.4.2.pkg/Payload | cpio -I
% ls -l usr/local/microsoft/powershell/7/libsystem.native.dylib
-rw-r--r--  1 foobar  staff  159600 23 Apr 17:58 usr/local/microsoft/powershell/7/libsystem.native.dylib

Doing a build of 7.4.2 results in the correct naming of the library, so it does seem like the casing is being changed during packaging.

Homebrew uses the pkg:
https://github.com/Homebrew/homebrew-cask/blob/07c74f3ce9dfbfa51fb913ba8f542addef753d04/Casks/p/powershell.rb#L8
Taking the build from https://github.com/PowerShell/PowerShell/releases/download/v7.4.2/powershell-7.4.2-osx-arm64.pkg, I'm seeing the same result that @rhubarb-geek-nz already mentioned:
$ xar -xf powershell-7.4.2-osx-arm64.pkg
$ gunzip < powershell-7.4.2.pkg/Payload | cpio -t | grep -Fi libsystem.native.dylib
./usr/local/microsoft/powershell/7/libsystem.native.dylib
385013 blocks

If your local build has the correct naming, that suggests there is something different between your local build and the release publishing pipeline?

The mac tgz package is built here which simply relies the packaging module.  The copying of the files is done here and I don't see anything that would have changed the casing.
If you are using a case-sensitive filesystem on macOS, if you just copy-item -recurse a folder, does that somehow change the casing?  Maybe it's something in the FileSystemProvider and we've been looking in the wrong place?

➜  test mkdir folder
➜  test touch folder/{fileA,fileb,FILEC}
➜  test ls folder
FILEC fileA fileb
➜  test pwsh
PowerShell 7.4.1

PS .../test> Copy-Item -Recurse folder folder2
PS .../test>
➜  test ls  folder2
FILEC fileA fileb

that works just fine

Whatever the issue was, in 7.4.3 and 7.4.4 this is no longer an issue.


error: Could not find latest nixpkgs version

I just wanted to try using snow, but when I try to install a package, I get an error:
$ nix run github:snowflakelinux/snow -- install lolcat
error: Could not find latest nixpkgs version

NixOS version: 22.11
Nix version: 2.11.1

Do you have a flake with nixpkgs as an input?

I do have a flake with nixpkgs as an input. However I was using the command from my home folder. I think there needs some documentation on how to use snow.

weird

Should be supported now in the latest version


installation problem (version `GLIBC_2.14' not found)

Hello,
I tried to install tensorflow using pip.
It has been installed without any error.
When I am trying to use it:
import tensorflow as tf
it gives me the following error, but the requested library exists at the /lib64/.
What should I do?!
Thanks

Traceback (most recent call last):
File "", line 1, in
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/init.py", line 23, in
from tensorflow.python import *
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/init.py", line 48, in
from tensorflow.python import pywrap_tensorflow
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)

Environment info
Operating System:
Linux mmmlog2 2.6.32-573.26.1.el6.x86_64 #1 SMP Tue Apr 12 01:47:01 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux Red Hat
Installed version of CUDA and cuDNN: 7.5 & 5

-rw-rw-r-- 1 jbaker2 jbaker2 189170 May 31 08:11 /apps/CUDA/cuda-7.5/lib/libcudadevrt.a
lrwxrwxrwx 1 jbaker2 jbaker2     16 May 31 08:11 /apps/CUDA/cuda-7.5/lib/libcudart.so -> libcudart.so.7.5
lrwxrwxrwx 1 jbaker2 jbaker2     19 May 31 08:11 /apps/CUDA/cuda-7.5/lib/libcudart.so.7.5 -> libcudart.so.7.5.18
-rwxrwxr-x 1 jbaker2 jbaker2 311596 May 31 08:11 /apps/CUDA/cuda-7.5/lib/libcudart.so.7.5.18
-rw-rw-r-- 1 jbaker2 jbaker2 558020 May 31 08:11 /apps/CUDA/cuda-7.5/lib/libcudart_static.a

If installed from binary pip package, provide:
I am using conda, https://storage.googleapis.com/tensorflow/linux/gpu/tensorflow-0.9.0-cp27-none-linux_x86_64.whl
The output from python -c "import tensorflow; print(tensorflow.__version__)":

Traceback (most recent call last):
File "", line 1, in
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/init.py", line 23, in
from tensorflow.python import *
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/init.py", line 48, in
from tensorflow.python import pywrap_tensorflow
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 28, in
_pywrap_tensorflow = swig_import_helper()
File "/project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/pywrap_tensorflow.py", line 24, in swig_import_helper
_mod = imp.load_module('_pywrap_tensorflow', fp, pathname, description)
ImportError: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /project/EvolvingAI/mnorouzz/anaconda/lib/python2.7/site-packages/tensorflow/python/_pywrap_tensorflow.so)

This seems to be a CentOS 6 system. Its glibc is too old for the pre-built TensorFlow packages. You may be able to install from source.

But installation from source needs Bazel
Bazel needs GLIBC_2.14
What Should I do?
@martinwicke

That's why I wrote "may be able to" :(
For C++ only, you can build using the cmake or makefile in contrib. But that doesn't give you the python (as of now).
Do you have the ability to install things (like a new glibc) on these machines?

@zh19970205 Did you solve your problem? I have the same issue...

@faruihuihui  I have not solve it yet :(, I just run tensorflow in another machine :|

If anyone is still running into the same problem (like I did few days ago) - it turns out to be perfectly possible to build bazel-0.4.1 and then build tensorflow 0.12rc0 from source on CentOS6.5, with glibc-2.12. However, some tricks are needed.

I had the same problem while using the mini condo, I think it might be due to not updated version. I installed Anaconda to replace mini condo and it worked. So the best way is to update your IDE.


Matrixsorting issue825

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Matrix sorting aims to sort the elements of the given matrix without affecting the matrix structure.
The algorithm takes as input a 2D array of elements and sorts it in the desired order. The elements are present in the desired order once the algorithm stops.
Checklist

[Y ] I've read the contribution guidelines.
[ Y] I've checked the issue list before deciding what to submit.
[ Y] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#825

Kindly review this PR @SKAUL05 @iamrajiv @plazzy99 @atarax665

I Updated the required changes @plazzy99

@narayan2111 remove unnecessary line breaks and indentations

Done Sir


Fixed client internal (but public) type aliases of the packets

documents.
Updated the version to 9.0.1.

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

Project coverage is 97.27%. Comparing base (01003b5) to head (aceece6).

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #348      +/-   ##
==========================================
- Coverage   97.30%   97.27%   -0.04%
==========================================
  Files         153      153
  Lines        9435     9435
==========================================
- Hits         9181     9178       -3
- Misses        254      257       +3

see 1 file with indirect coverage changes


Support for Pendulum

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Attempting to use datetime sources other than (and better than) stdlib results in errors under pydantic 2.0
This is a regression from 1.x
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'pendulum.datetime.DateTime'>. Set `arbitrary_types_allowed=True` in the model_config to ignore this error or implement `__get_pydantic_core_schema__` on your type to fully support it.

Example Code
from pydantic import BaseModel
from pendulum import DateTime

class Example(BaseModel):
    last_modified: DateTime

Python, Pydantic & OS Version
python -c "import pydantic.version; print(pydantic.version.version_info())"
             pydantic version: 2.4.2
        pydantic-core version: 2.10.1
          pydantic-core build: profile=release pgo=true
                 install path: /home/REDACTED/.cache/pypoetry/virtualenvs/REDACTED-XAw2sOhv-py3.10/lib/python3.10/site-packages/pydantic
               python version: 3.10.11 (main, Apr 20 2023, 14:14:57) [GCC 9.4.0]
                     platform: Linux-5.15.0-84-generic-x86_64-with-glibc2.35
             related packages: typing_extensions-4.8.0 pydantic-settings-2.0.

Hi @theunkn0wn1,
Thanks for reporting this. I think this might make sense as an addition to pydantic-extra-types. We'd certainly consider any PRs supporting this change 👍.

@sydney-runkle opened a PR to add this to pydantic-extra-types.

@theunkn0wn1,
Fantastic! I'm going to move this issue over there :).


Fix big file uploads

Sorry for the broken 2.2.0 release, I've now tested this change with actual big file uploads at my testing ground repo with successful test run here.
@chenrui333: please tag a 2.2.1 release after this, thanks!

Thanks for the fix!
@softprops any plans to get it merged soon?

Hi @softprops
I've tested the PR and it worked for my case as reported in https://github.com/softprops/action-gh-release/pull/552#issuecomment-2566352546.
I would need a proper release for my workflow though.

Hi @softprops
I've tested the PR and it worked for my case as reported in #552 (comment). I would need a proper release for my workflow though.

Good to hear and Happy New Year :tada:!
I would have to wait for either @softprops or @chenrui333 to make the release though... I'm new to the project so I don't have the permission to tag the release yet. (Or I would have merged this the day I submitted it.)


Card should have variables border and box-shadow

Card needs a variable to set a box-shadow. Currently we have to create a custom _card.scss only for the box-shadow.
Card may needs a variable to show border by true/false. Currently we have to set $card-border-width to 0 and $card-border-color to transparent.

Card needs a variable to set a box-shadow

Cards don't have box-shadows to start, so there's no reason to provide a variable for that.

Card may needs a variable to show border by true/false

We don't toggle borders by variable like that.


Implement Grid stencil in HPCG benchmark

The current implementation(s) of the HPCG benchmark are in the local spack repo. The three implementations there are
hpcg_original: Standard HPCG benchmark solving Poisson's equation in 3D with a 27pt stencil using CSR sparse matrix
hpcg_stencil: Modified matrix-free implementation of HPCG benchmark solving Poisson's equation in 3D with a hard-coded 27pt stencil
hpcg_lfric: Modified (?) implementation of HPCG benchmark solving a different problem with an LFric stencil.
TODO: @christophermaynard to contact Grid developers and add references/code for Grid stencil

Closing this due to lack of time on both our and Chris's side.


Design and implement the Tauri application window and user interface.

This needs a lot of work I would like to see a UI not dis-simililar to OpenAi's or Vercels AgentAI bear in mind that the ui will also need to be coherent across the two states, spotlight and chat... See this this repo for a demo of the functionality w hotkeys.
Please feel free to add tailwind to the project and submit layout ideas. Can be as simple as an excalidraw sketch.

Initial UI for the spotlight view has been implemented and merged to main. Will prepare some designs for the chat view to align with this for discussion.


modify an array mistake for python SEZ policy

The return array format is different between Python and C++ action returns, which causes broken pipe errors in Python SEZ training.

Thank you for your attention. I have run the cartpole_sampled_efficientzero_config.py file from the main branch of LightZero repository on my local environment. During my tests, I didn't encounter any errors regardless of whether the mcts_ctree parameter was set to True or False.

My testing environment consists of the macOS system, Python version 3.8.8, and Numpy library version 1.24.4. To accurately identify the issue you're facing, I need to understand your system environment, including the operating system version, Python version, and Numpy version. Also, please provide the specific configuration you used when running this script.

Thank you again for your interest in our project. Best Wishes.

Thanks for your response, I am able to run successfully in the CartPole environment, but encounter errors when running in the Atari environment using the "atari_sampled_efficientzero_config.py" code (mcts_ctree = False). Could you please try running it on your end to see if you can successfully train? The bug seems to appear after training for a certain period of time. The error message states: "setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (256, 6) + inhomogeneous part." The operating system version, Python version, and Numpy version are ubuntu 24.04, 3.8.5, 1.24.4 respectively. Thanks a lot.

Thanks for your response, I am able to run successfully in the CartPole environment, but encounter errors when running in the Atari environment using the "atari_sampled_efficientzero_config.py" code (mcts_ctree = False). Could you please try running it on your end to see if you can successfully train? The bug seems to appear after training for a certain period of time. The error message states: "setting an array element with a sequence. The requested array has an inhomogeneous shape after 2 dimensions. The detected shape was (256, 6) + inhomogeneous part." The operating system version, Python version, and Numpy version are ubuntu 24.04, 3.8.5, 1.24.4 respectively. Thanks a lot.

Hello, my apologies for the late response. Thank you for your meticulous observation; indeed, there was an issue under the sampled ez ptree setup. We have now addressed this problem in a recent commit, and tests under this setting have confirmed that the issue has been resolved. Once again, thank you for your attentive suggestion.


Hide line series price and circles

Take the given screenshot, I can't seem to locate in the docs a way in getting rid of the y-axis price labels for the drawn lines (using line series). Additionally, is it possible to hide the circles on each line shown when hovering?

You can hide the price label for the last value of each series with this option: https://tradingview.github.io/lightweight-charts/docs/api/interfaces/SeriesOptionsCommon#lastvaluevisible
and you can hide the crosshair markers for each line with this option: https://tradingview.github.io/lightweight-charts/docs/api/interfaces/LineStyleOptions#crosshairmarkervisible
if you are creating price lines then you can hide the price labels using this option: https://tradingview.github.io/lightweight-charts/docs/api/interfaces/PriceLineOptions#axislabelvisible

FYI: https://tradingview.github.io/lightweight-charts/tutorials/customization/chart-colors#applying-options

Legend, how I missed those, I don't know.


[YouTube Downloader] ...: Encorder failed spawn eacces

Extension
https://www.raycast.com/vimtor/youtube-downloader
Description
When i download the video

Steps To Reproduce
no matter what link a send , always failed
Current Behaviour
No response
Expected Behaviour
No response

Hi @Mapa404!
I'm sorry you are facing this issue. Could you please share the output of running which ffmpeg and which ffprobe on the terminal? Also, make sure the output values match the ones that appear in the extension settings.


Updated dependencies for bay_trimesh

This PR updates the bay_trimesh notebook to work with the current stack (including dask dataframes if using the workaround in https://github.com/holoviz/holoviews/issues/4927).

@jbednar Ready to merge.


ReferenceError: regeneratorRuntime is not defined

Describe the bug
Followed the instructions, and receive:

webpack:///C:/_development/TFS/Web/react-ssrtest/src/store/detail.js?:121
regeneratorRuntime.mark(function _callee(state, _ref) {
^
ReferenceError: regeneratorRuntime is not defined

I'm using the following instead of Redux: https://github.com/storeon/storeon
The line that freaks out is line 62 in their index.js file at the Array.forEach:
modules.forEach(function (i) {
    if (i) i(store)
  })

createStore's code
var createStore = function (modules) {
  var events = { }
  var state = { }

  var on = function (event, cb) {
    (events[event] || (events[event] = [])).push(cb)

    return function () {
      events[event] = events[event].filter(function (i) {
        return i !== cb
      })
    }
  }

  var dispatch = function (event, data) {
    if (event !== '@dispatch') {
      dispatch('@dispatch', [event, data, events[event]])
    }

    if (events[event]) {
      var changes = { }
      var changed
      events[event].forEach(function (i) {
        var diff = i(state, data)
        if (diff && typeof diff.then !== 'function') {
          changed = Object.assign({ }, state, diff)
          Object.assign(changes, diff)
          state = changed
        }
      })
      if (changed) dispatch('@changed', changes)
    }
  }

  var get = function () {
    return state
  }

  var store = { dispatch: dispatch, get: get, on: on }

  modules.forEach(function (i) {
    if (i) i(store)
  })
  dispatch('@init')

  return store
}

module.exports = createStore

Hi, can you open the issue on StackOverflow instead? I don't support/maintain storeon library.

Actually. I don't think it's storeon. I'm using async/await in my code when doing my API calls. It appears a polyfill is required for some reason?

polyfill should be included on app instead of library (cra-universal)

For now I've just removed async/await.
The CRA Server started up, but whenever I try to visit port 3001 (while client is started on port 3000), I get this:
Invariant Violation: Browser history needs a DOM
Perhaps some other issue with BrowserRouter that I use. Think it's because of this:
https://stackoverflow.com/questions/43058684/react-router-4-browser-history-needs-a-dom

Please read https://antonybudianto.github.io/cra-universal/docs/integrate-react-router.html for react-router integration

Sorry for adding onto this. I created the server/app,js with the function, took my browser router out of App.js for client and wrapped it in index.js
I get "Invariant Violation: You should not use  or withRouter() outside a " error, so there is clearly something wrong with how I put my react app together.
I'll try something else. Thank you for the help.


Abseil flags are not parsed

I was running the libc benchmark, where the cache size could not be detected. The error suggested specifying the cache size manually using --L1_data_size . This didn't work because the flags were not parsed.
Adding
absl::ParseCommandLine(argc, argv);

after the benchmark::Initialize(&argc, argv) in benchmark_main.cc and adding the necessary headers fixed the problem for me.

Thanks for reporting this!
Fixed in https://github.com/google/fleetbench/commit/930d112fb3124c172feaa1fc81b26d2bf0ae298d


feat: Added support for LuckPerms

Hi, I tested out your addition and it all seems to work fine (running the command etc) but when trying to assign a permission to a user that hasn't joined the server, luckperms will not assign the permission and output this to the console:
[pool-8-thread-1/INFO]: [LP] A user for test could not be found.
I have only installed luckperms to test out this out so I don't know if it's an issue with me not setting it up correctly? From what I found it seems like the user has to join the server first to allow permissions to be assigned, through this commands at least. Did you get a different result?

Hi!
Yeah that required this flag in luckperms config.yml
# If the servers own UUID cache/lookup facility should be used when there is no record for a player
# already in LuckPerms.
#
# - When this is set to 'false', commands using a player's username will not work unless the player
#   has joined since LuckPerms was first installed.
# - To get around this, you can use a player's uuid directly in the command, or enable this option.
# - When this is set to 'true', the server facility is used. This may use a number of methods,
#   including checking the servers local cache, or making a request to the Mojang API.
use-server-uuid-cache: true

it defaults to false

Oh thanks for clearing that up, maybe a check can be implemented at some point for this.